@twintag/twintag-form 0.4.1 → 0.5.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.
- package/.turbo/turbo-build.log +10 -54
- package/CHANGELOG.md +23 -0
- package/README.md +9 -5
- package/dist/components/Category/__styles.d.ts +19 -0
- package/dist/{lib/components → components}/Category/index.d.ts +2 -3
- package/dist/components/Form/index.d.ts +12 -0
- package/dist/{lib/types/index.d.ts → components/Input/__props.d.ts} +0 -6
- package/dist/components/Input/__styles.d.ts +245 -0
- package/dist/{lib/components → components}/Input/checkbox.d.ts +2 -3
- package/dist/{lib/components → components}/Input/file.d.ts +2 -3
- package/dist/{lib/components → components}/Input/index.d.ts +0 -1
- package/dist/{lib/components → components}/Input/simple.d.ts +2 -3
- package/dist/{lib/components → components}/Input/submit.d.ts +2 -3
- package/dist/{lib/components → components}/Input/textarea.d.ts +2 -3
- package/dist/{lib/components → components}/Input/toggle.d.ts +2 -3
- package/dist/{lib/components → components}/Label/index.d.ts +0 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/index.d.ts +14 -0
- package/dist/react.d.ts +1 -0
- package/dist/styles.d.ts +262 -0
- package/dist/twintag-form.react.js +8658 -0
- package/dist/twintag-form.webcomponent.js +4503 -0
- package/dist/webcomponent.d.ts +1 -0
- package/lib/__stories__/Form.stories.tsx +102 -10
- package/lib/components/Category/__styles.ts +12 -0
- package/lib/components/Category/index.tsx +5 -8
- package/lib/components/Form/index.tsx +33 -34
- package/lib/{types/index.ts → components/Input/__props.ts} +0 -6
- package/lib/components/Input/__styles.ts +132 -0
- package/lib/components/Input/checkbox.tsx +8 -11
- package/lib/components/Input/file.tsx +9 -12
- package/lib/components/Input/simple.tsx +8 -10
- package/lib/components/Input/submit.tsx +3 -9
- package/lib/components/Input/textarea.tsx +8 -10
- package/lib/components/Input/toggle.tsx +10 -11
- package/lib/components/Label/index.tsx +2 -1
- package/lib/components/index.tsx +4 -6
- package/lib/index.tsx +35 -157
- package/lib/styles.ts +2 -1
- package/lib/webcomponent.ts +1 -1
- package/package.json +11 -14
- package/tsconfig.json +3 -2
- package/vite.config.ts +47 -0
- package/dist/index.es.js +0 -27362
- package/dist/index.umd.js +0 -196
- package/dist/lib/__stories__/Form.stories.d.ts +0 -7
- package/dist/lib/__stories__/Form.stories.d.ts.map +0 -1
- package/dist/lib/components/Category/index.d.ts.map +0 -1
- package/dist/lib/components/Form/index.d.ts +0 -10
- package/dist/lib/components/Form/index.d.ts.map +0 -1
- package/dist/lib/components/Form/register.d.ts +0 -12
- package/dist/lib/components/Form/register.d.ts.map +0 -1
- package/dist/lib/components/Input/checkbox.d.ts.map +0 -1
- package/dist/lib/components/Input/file.d.ts.map +0 -1
- package/dist/lib/components/Input/index.d.ts.map +0 -1
- package/dist/lib/components/Input/simple.d.ts.map +0 -1
- package/dist/lib/components/Input/submit.d.ts.map +0 -1
- package/dist/lib/components/Input/textarea.d.ts.map +0 -1
- package/dist/lib/components/Input/toggle.d.ts.map +0 -1
- package/dist/lib/components/Label/index.d.ts.map +0 -1
- package/dist/lib/components/index.d.ts +0 -6
- package/dist/lib/components/index.d.ts.map +0 -1
- package/dist/lib/index.d.ts +0 -20
- package/dist/lib/index.d.ts.map +0 -1
- package/dist/lib/styles.d.ts +0 -131
- package/dist/lib/styles.d.ts.map +0 -1
- package/dist/lib/types/index.d.ts.map +0 -1
- package/dist/lib/webcomponent.d.ts +0 -2
- package/dist/lib/webcomponent.d.ts.map +0 -1
- package/dist/twind.config.d.ts +0 -5
- package/dist/twind.config.d.ts.map +0 -1
- package/dist/webcomponent.es.js +0 -31726
- package/dist/webcomponent.umd.js +0 -196
- package/lib/components/Form/register.tsx +0 -69
- package/scripts/build.js +0 -60
package/dist/webcomponent.umd.js
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
(function(I,cs){typeof exports=="object"&&typeof module<"u"?cs(require("react")):typeof define=="function"&&define.amd?define(["react"],cs):(I=typeof globalThis<"u"?globalThis:I||self,cs(I.react))})(this,function(I){"use strict";function cs(i){return[...i.v,(i.i?"!":"")+i.n].join(":")}function p_(i,u=","){return i.map(cs).join(u)}let Ox=typeof CSS<"u"&&CSS.escape||(i=>i.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function wh(i){for(var u=9,c=i.length;c--;)u=Math.imul(u^i.charCodeAt(c),1597334677);return"#"+((u^u>>>9)>>>0).toString(36)}function a0(i,u="@media "){return u+Sn(i).map(c=>(typeof c=="string"&&(c={min:c}),c.raw||Object.keys(c).map(p=>`(${p}-width:${c[p]})`).join(" and "))).join(",")}function Sn(i=[]){return Array.isArray(i)?i:i==null?[]:[i]}function Mx(i){return i}function i0(){}let pr={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function Nx(i){var u;return((u=i.match(/[-=:;]/g))==null?void 0:u.length)||0}function o0(i){return Math.min(/(?:^|width[^\d]+)(\d+(?:.\d+)?)(p)?/.test(i)?Math.max(0,29.63*(+RegExp.$1/(RegExp.$2?15:1))**.137-43):0,15)<<22|Math.min(Nx(i),15)<<18}let v_=["rst-c","st-ch","h-chi","y-lin","nk","sited","ecked","pty","ad-on","cus-w","ver","cus","cus-v","tive","sable","tiona","quire"];function l0({n:i,i:u,v:c=[]},p,v,g){i&&(i=cs({n:i,i:u,v:c})),g=[...Sn(g)];for(let x of c){let E=p.theme("screens",x);for(let T of Sn(E&&a0(E)||p.v(x))){var m;g.push(T),v|=E?67108864|o0(T):x=="dark"?1073741824:T[0]=="@"?o0(T):(m=T,1<<~(/:([a-z-]+)/.test(m)&&~v_.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:i,p:v,r:g,i:u}}let Ax=new Map;function u0(i){if(i.d){let u=[],c=s0(i.r.reduce((p,v)=>v[0]=="@"?(u.push(v),p):v?s0(p,g=>s0(v,m=>{let x=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(m);if(x){let E=g.indexOf(x[1]);return~E?g.slice(0,E)+x[0]+g.slice(E+x[1].length):c0(g,m)}return c0(m,g)})):p,"&"),p=>c0(p,i.n?"."+Ox(i.n):""));return c&&u.push(c.replace(/:merge\((.+?)\)/g,"$1")),u.reduceRight((p,v)=>v+"{"+p+"}",i.d)}}function s0(i,u){return i.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(c,p,v)=>u(p)+v)}function c0(i,u){return i.replace(/&/g,u)}let Lx=new Intl.Collator("en",{numeric:!0});function zx(i,u){for(var c=0,p=i.length;c<p;){let v=p+c>>1;0>=Ux(i[v],u)?c=v+1:p=v}return p}function Ux(i,u){let c=i.p&pr.o;return c==(u.p&pr.o)&&(c==pr.b||c==pr.o)?0:i.p-u.p||i.o-u.o||Lx.compare(jx(i.n),jx(u.n))||Lx.compare(Fx(i.n),Fx(u.n))}function jx(i){return(i||"").split(/:/).pop().split("/").pop()||"\0"}function Fx(i){return(i||"").replace(/\W/g,u=>String.fromCharCode(127+u.charCodeAt(0)))+"\0"}function f0(i,u){return Math.round(parseInt(i,16)*u)}function _r(i,u={}){if(typeof i=="function")return i(u);let{opacityValue:c="1",opacityVariable:p}=u,v=p?`var(${p})`:c;if(i.includes("<alpha-value>"))return i.replace("<alpha-value>",v);if(i[0]=="#"&&(i.length==4||i.length==7)){let g=(i.length-1)/3,m=[17,1,.062272][g-1];return`rgba(${[f0(i.substr(1,g),m),f0(i.substr(1+g,g),m),f0(i.substr(1+2*g,g),m),v]})`}return v=="1"?i:v=="0"?"#0000":i.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${v})`)}function Vx(i,u,c,p,v=[]){return function g(m,{n:x,p:E,r:T=[],i:M},R){let j=[],F="",K=0,ce=0;for(let J in m||{}){var ve,Xe;let de=m[J];if(J[0]=="@"){if(!de)continue;if(J[1]=="a"){j.push(...p0(x,E,Eh(""+de),R,E,T,M,!0));continue}if(J[1]=="l"){for(let Se of Sn(de))j.push(...g(Se,{n:x,p:(ve=pr[J[7]],E&~pr.o|ve),r:J[7]=="d"?[]:T,i:M},R));continue}if(J[1]=="i"){j.push(...Sn(de).map(Se=>({p:-1,o:0,r:[],d:J+" "+Se})));continue}if(J[1]=="k"){j.push({p:pr.d,o:0,r:[J],d:g(de,{p:pr.d},R).map(u0).join("")});continue}if(J[1]=="f"){j.push(...Sn(de).map(Se=>({p:pr.d,o:0,r:[J],d:g(Se,{p:pr.d},R).map(u0).join("")})));continue}}if(typeof de!="object"||Array.isArray(de))J=="label"&&de?x=de+wh(JSON.stringify([E,M,m])):(de||de===0)&&(J=J.replace(/[A-Z]/g,Se=>"-"+Se.toLowerCase()),ce+=1,K=Math.max(K,(Xe=J)[0]=="-"?0:Nx(Xe)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test(Xe)?+!!RegExp.$1||-!!RegExp.$2:0)+1),F+=(F?";":"")+Sn(de).map(Se=>R.s(J,d0(""+Se,R.theme)+(M?" !important":""))).join(";"));else if(J[0]=="@"||J.includes("&")){let Se=E;J[0]=="@"&&(J=J.replace(/\bscreen\(([^)]+)\)/g,(ze,gt)=>{let He=R.theme("screens",gt);return He?(Se|=67108864,a0(He,"")):ze}),Se|=o0(J)),j.push(...g(de,{n:x,p:Se,r:[...T,J],i:M},R))}else j.push(...g(de,{p:E,r:[...T,J]},R))}return j.unshift({n:x,p:E,o:Math.max(0,15-ce)+1.5*Math.min(K||15,15),r:T,d:F}),j.sort(Ux)}(i,l0(u,c,p,v),c)}function d0(i,u){return i.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(c,p,v,g,m="")=>{let x=u(v,m);return typeof x=="function"&&/color|fill|stroke/i.test(v)?_r(x):""+Sn(x).filter(E=>Object(E)!==E)})}function Hx(i,u){let c,p=[];for(let v of i)v.d&&v.n?(c==null?void 0:c.p)==v.p&&""+c.r==""+v.r?(c.c=[c.c,v.c].filter(Boolean).join(" "),c.d=c.d+";"+v.d):p.push(c={...v,n:v.n&&u}):p.push({...v,n:v.n&&u});return p}function Ch(i,u,c=pr.u,p,v){let g=[];for(let m of i)for(let x of function(E,T,M,R,j){E={...E,i:E.i||j};let F=function(K,ce){let ve=Ax.get(K.n);return ve?ve(K,ce):ce.r(K.n,K.v[0]=="dark")}(E,T);return F?typeof F=="string"?({r:R,p:M}=l0(E,T,M,R),Hx(Ch(Eh(F),T,M,R,E.i),E.n)):Array.isArray(F)?F.map(K=>{var ce,ve;return{o:0,...K,r:[...Sn(R),...Sn(K.r)],p:(ce=M,ve=K.p??M,ce&~pr.o|ve)}}):Vx(F,E,T,M,R):[{c:cs(E),p:0,o:0,r:[]}]}(m,u,c,p,v))g.splice(zx(g,x),0,x);return g}function p0(i,u,c,p,v,g,m,x){return Hx((x?c.flatMap(E=>Ch([E],p,v,g,m)):Ch(c,p,v,g,m)).map(E=>E.p&pr.o&&(E.n||u==pr.b)?{...E,p:E.p&~pr.o|u,o:0}:E),i)}function h_(i,u,c,p){var v;return v=(g,m)=>{let{n:x,p:E,r:T,i:M}=l0(g,m,u);return c&&p0(x,u,c,m,E,T,M,p)},Ax.set(i,v),i}function v0(i,u,c){if(i[i.length-1]!="("){let p=[],v=!1,g=!1,m="";for(let x of i)if(!(x=="("||/[~@]$/.test(x))){if(x[0]=="!"&&(x=x.slice(1),v=!v),x.endsWith(":")){p[x=="dark:"?"unshift":"push"](x.slice(0,-1));continue}x[0]=="-"&&(x=x.slice(1),g=!g),x.endsWith("-")&&(x=x.slice(0,-1)),x&&x!="&"&&(m+=(m&&"-")+x)}m&&(g&&(m="-"+m),u[0].push({n:m,v:p.filter(m_),i:v}))}}function m_(i,u,c){return c.indexOf(i)==u}let Px=new Map;function Eh(i){let u=Px.get(i);if(!u){let c=[],p=[[]],v=0,g=0,m=null,x=0,E=(T,M=0)=>{v!=x&&(c.push(i.slice(v,x+M)),T&&v0(c,p)),v=x+1};for(;x<i.length;x++){let T=i[x];if(g)i[x-1]!="\\"&&(g+=+(T=="[")||-(T=="]"));else if(T=="[")g+=1;else if(m)i[x-1]!="\\"&&m.test(i.slice(x))&&(m=null,v=x+RegExp.lastMatch.length);else if(T=="/"&&i[x-1]!="\\"&&(i[x+1]=="*"||i[x+1]=="/"))m=i[x+1]=="*"?/^\*\//:/^[\r\n]/;else if(T=="(")E(),c.push(T);else if(T==":")i[x+1]!=":"&&E(!1,1);else if(/[\s,)]/.test(T)){E(!0);let M=c.lastIndexOf("(");if(T==")"){let R=c[M-1];if(/[~@]$/.test(R)){let j=p.shift();c.length=M,v0([...c,"#"],p);let{v:F}=p[0].pop();for(let K of j)K.v.splice(+(K.v[0]=="dark")-+(F[0]=="dark"),F.length);v0([...c,h_(R.length>1?R.slice(0,-1)+wh(JSON.stringify([R,j])):R+"("+p_(j)+")",pr.a,j,/@$/.test(R))],p)}M=c.lastIndexOf("(",M-1)}c.length=M+1}else/[~@]/.test(T)&&i[x+1]=="("&&p.unshift([])}E(!0),Px.set(i,u=p[0])}return u}function ye(i,u,c){return[i,h0(u,c)]}function h0(i,u){return typeof i=="function"?i:typeof i=="string"&&/^[\w-]+$/.test(i)?(c,p)=>({[i]:u?u(c,p):m0(c,1)}):c=>i||{[c[1]]:m0(c,2)}}function m0(i,u,c=i.slice(u).find(Boolean)||i.$$||i.input){return i.input[0]=="-"?`calc(${c} * -1)`:c}function xe(i,u,c,p){return[i,y_(u,c,p)]}function y_(i,u,c){let p=typeof u=="string"?(v,g)=>({[u]:c?c(v,g):v._}):u||(({1:v,_:g},m,x)=>({[v||x]:g}));return(v,g)=>{let m=Bx(i||v[1]),x=g.theme(m,v.$$)??Jl(v.$$,m,g);if(x!=null)return v._=m0(v,0,x),p(v,g,m)}}function Rr(i,u={},c){return[i,g_(u,c)]}function g_(i={},u){return(c,p)=>{let{section:v=Bx(c[0]).replace("-","")+"Color"}=i,[g,m]=b_(c.$$);if(!g)return;let x=p.theme(v,g)||Jl(g,v,p);if(!x||typeof x=="object")return;let{opacityVariable:E=`--tw-${c[0].replace(/-$/,"")}-opacity`,opacitySection:T=v.replace("Color","Opacity"),property:M=v,selector:R}=i,j=p.theme(T,m||"DEFAULT")||m&&Jl(m,T,p),F=u||(({_:ce})=>{let ve=Th(M,ce);return R?{[R]:ve}:ve});c._={value:_r(x,{opacityVariable:E||void 0,opacityValue:j||void 0}),color:ce=>_r(x,ce),opacityVariable:E||void 0,opacityValue:j||void 0};let K=F(c,p);if(!c.dark){let ce=p.d(v,g,x);ce&&ce!==x&&(c._={value:_r(ce,{opacityVariable:E||void 0,opacityValue:j||"1"}),color:ve=>_r(ce,ve),opacityVariable:E||void 0,opacityValue:j||void 0},K={"&":K,[p.v("dark")]:F(c,p)})}return K}}function b_(i){return(i.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function Th(i,u){let c={};return typeof u=="string"?c[i]=u:(u.opacityVariable&&u.value.includes(u.opacityVariable)&&(c[u.opacityVariable]=u.opacityValue||"1"),c[i]=u.value),c}function Jl(i,u,c){if(i[0]=="["&&i.slice(-1)=="]"){if(i=Ld(d0(i.slice(1,-1),c.theme)),!u)return i;if(!(/color|fill|stroke/i.test(u)&&!(/^color:/.test(i)||/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(i))||/image/i.test(u)&&!(/^image:/.test(i)||/^[a-z-]+\(/.test(i))||/weight/i.test(u)&&!(/^(number|any):/.test(i)||/^\d+$/.test(i))||/position/i.test(u)&&/^(length|size):/.test(i)))return i.replace(/^[a-z-]+:/,"")}}function Bx(i){return i.replace(/-./g,u=>u[1].toUpperCase())}function Ld(i){return i.includes("url(")?i.replace(/(.*?)(url\(.*?\))(.*?)/g,(u,c="",p,v="")=>Ld(c)+p+Ld(v)):i.replace(/(^|[^\\])_+/g,(u,c)=>c+" ".repeat(u.length-c.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,u=>u.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function Ix({presets:i=[],...u}){let c={darkMode:void 0,darkColor:void 0,preflight:u.preflight!==!1&&[],theme:{},variants:Sn(u.variants),rules:Sn(u.rules),ignorelist:Sn(u.ignorelist),hash:void 0,stringify:(p,v)=>p+":"+v,finalize:[]};for(let p of Sn([...i,{darkMode:u.darkMode,darkColor:u.darkColor,preflight:u.preflight!==!1&&Sn(u.preflight),theme:u.theme,hash:u.hash,stringify:u.stringify,finalize:u.finalize}])){let{preflight:v,darkMode:g=c.darkMode,darkColor:m=c.darkColor,theme:x,variants:E,rules:T,ignorelist:M,hash:R=c.hash,stringify:j=c.stringify,finalize:F}=typeof p=="function"?p(c):p;c={preflight:c.preflight!==!1&&v!==!1&&[...c.preflight,...Sn(v)],darkMode:g,darkColor:m,theme:{...c.theme,...x,extend:{...c.theme.extend,...x==null?void 0:x.extend}},variants:[...c.variants,...Sn(E)],rules:[...c.rules,...Sn(T)],ignorelist:[...c.ignorelist,...Sn(M)],hash:R,stringify:j,finalize:[...c.finalize,...Sn(F)]}}return c}function $x(i,u,c,p,v,g){for(let m of u){let x=c.get(m);x||c.set(m,x=p(m));let E=x(i,v,g);if(E)return E}}function S_(i){var u;return y0(i[0],typeof(u=i[1])=="function"?u:()=>u)}function x_(i){var u,c;return Array.isArray(i)?y0(i[0],h0(i[1],i[2])):y0(i,h0(u,c))}function y0(i,u){return Wx(i,(c,p,v,g)=>{let m=p.exec(c);if(m)return m.$$=c.slice(m[0].length),m.dark=g,u(m,v)})}function Wx(i,u){let c=Sn(i).map(w_);return(p,v,g)=>{for(let m of c){let x=u(p,m,v,g);if(x)return x}}}function w_(i){return typeof i=="string"?RegExp("^"+i+(i.includes("$")||i.slice(-1)=="-"?"":"$")):i}function C_(i,u){let c=Ix(i),p=function({theme:E,darkMode:T,darkColor:M=i0,variants:R,rules:j,hash:F,stringify:K,ignorelist:ce,finalize:ve}){let Xe=new Map,J=new Map,de=new Map,Se=new Map,ze=Wx(ce,(Ke,ut)=>ut.test(Ke));R.push(["dark",Array.isArray(T)||T=="class"?`${Sn(T)[1]||".dark"} &`:typeof T=="string"&&T!="media"?T:"@media (prefers-color-scheme:dark)"]);let gt=typeof F=="function"?Ke=>F(Ke,wh):F?wh:Mx;gt!==Mx&&ve.push(Ke=>{var ut;return{...Ke,n:Ke.n&>(Ke.n),d:(ut=Ke.d)==null?void 0:ut.replace(/--(tw(?:-[\w-]+)?)\b/g,(st,vt)=>"--"+gt(vt).replace("#",""))}});let He={theme:function({extend:Ke={},...ut}){let st={},vt={get colors(){return $e("colors")},theme:$e,negative(){return{}},breakpoints(he){let Je={};for(let Ze in he)typeof he[Ze]=="string"&&(Je["screen-"+Ze]=he[Ze]);return Je}};return $e;function $e(he,Je,Ze,Dt){if(he){if({1:he,2:Dt}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(he)||[,he],/[.[]/.test(he)){let ge=[];he.replace(/\[([^\]]+)\]|([^.[]+)/g,(me,ct,Et=ct)=>ge.push(Et)),he=ge.shift(),Ze=Je,Je=ge.join("-")}let ne=st[he]||Object.assign(Object.assign(st[he]={},fe(ut,he)),fe(Ke,he));if(Je==null)return ne;Je||(Je="DEFAULT");let ee=ne[Je]??Je.split("-").reduce((ge,me)=>ge==null?void 0:ge[me],ne)??Ze;return Dt?_r(ee,{opacityValue:d0(Dt,$e)}):ee}let ae={};for(let ne of[...Object.keys(ut),...Object.keys(Ke)])ae[ne]=$e(ne);return ae}function fe(he,Je){let Ze=he[Je];return typeof Ze=="function"&&(Ze=Ze(vt)),Ze&&/color|fill|stroke/i.test(Je)?function Dt(ae,ne=[]){let ee={};for(let ge in ae){let me=ae[ge],ct=[...ne,ge];ee[ct.join("-")]=me,ge=="DEFAULT"&&(ct=ne,ee[ne.join("-")]=me),typeof me=="object"&&Object.assign(ee,Dt(me,ct))}return ee}(Ze):Ze}}(E),e:Ox,h:gt,s(Ke,ut){return K(Ke,ut,He)},d(Ke,ut,st){return M(Ke,ut,He,st)},v(Ke){return Xe.has(Ke)||Xe.set(Ke,$x(Ke,R,J,S_,He)||"&:"+Ke),Xe.get(Ke)},r(Ke,ut){let st=JSON.stringify([Ke,ut]);return de.has(st)||de.set(st,!ze(Ke,He)&&$x(Ke,j,Se,x_,He,ut)),de.get(st)},f(Ke){return ve.reduce((ut,st)=>st(ut,He),Ke)}};return He}(c),v=new Map,g=[],m=new Set;u.resume(E=>v.set(E,E),(E,T)=>{u.insert(E,g.length,T),g.push(T),m.add(E)});function x(E){let T=p.f(E),M=u0(T);if(M&&!m.has(M)){m.add(M);let R=zx(g,E);u.insert(M,R,E),g.splice(R,0,E)}return T.n}return Object.defineProperties(function(T){if(!v.size)for(let R of Sn(c.preflight))typeof R=="function"&&(R=R(p)),R&&(typeof R=="string"?p0("",pr.b,Eh(R),p,pr.b,[],!1,!0):Vx(R,{},p,pr.b)).forEach(x);T=""+T;let M=v.get(T);if(!M){let R=new Set;for(let j of Ch(Eh(T),p))R.add(j.c).add(x(j));M=[...R].filter(Boolean).join(" "),v.set(T,M).set(M,M)}return M},Object.getOwnPropertyDescriptors({get target(){return u.target},theme:p.theme,config:c,snapshot(){let E=u.snapshot(),T=new Set(m),M=new Map(v),R=[...g];return()=>{E(),m=T,v=M,g=R}},clear(){u.clear(),m=new Set,v=new Map,g=[]},destroy(){this.clear(),u.destroy()}}))}function E_(i,u){return i!=u&&""+i.split(" ").sort()!=""+u.split(" ").sort()}function T_(i){let u=new MutationObserver(c);return{observe(v){u.observe(v,{attributeFilter:["class"],subtree:!0,childList:!0}),p(v),c([{target:v,type:""}])},disconnect(){u.disconnect()}};function c(v){for(let{type:g,target:m}of v)if(g[0]=="a")p(m);else for(let x of m.querySelectorAll("[class]"))p(x);u.takeRecords()}function p(v){var x;let g,m=(x=v.getAttribute)==null?void 0:x.call(v,"class");m&&E_(m,g=i(m))&&v.setAttribute("class",g)}}function k_(i){let u=document.querySelector(i||'style[data-twind=""]');return(!u||u.tagName!="STYLE")&&(u=document.createElement("style"),document.head.prepend(u)),u.dataset.twind="claimed",u}function g0(i){let u=i!=null&&i.cssRules?i:(i&&typeof i!="string"?i:k_(i)).sheet;return{target:u,snapshot(){let c=Array.from(u.cssRules,p=>p.cssText);return()=>{this.clear(),c.forEach(this.insert)}},clear(){for(let c=u.cssRules.length;c--;)u.deleteRule(c)},destroy(){var c;(c=u.ownerNode)==null||c.remove()},insert(c,p){try{u.insertRule(c,p)}catch{u.insertRule(":root{}",p)}},resume:i0}}function __(i,u=!0){let c=function(){if(R_)try{let E=g0(new CSSStyleSheet);return E.connect=T=>{let M=b0(T);M.adoptedStyleSheets=[...M.adoptedStyleSheets,E.target]},E.disconnect=i0,E}catch{}let g=document.createElement("style");g.media="not all",document.head.prepend(g);let m=[g0(g)],x=new WeakMap;return{get target(){return m[0].target},snapshot(){let E=m.map(T=>T.snapshot());return()=>E.forEach(T=>T())},clear(){m.forEach(E=>E.clear())},destroy(){m.forEach(E=>E.destroy())},insert(E,T,M){m[0].insert(E,T,M);let R=this.target.cssRules[T];m.forEach((j,F)=>F&&j.target.insertRule(R.cssText,T))},resume(E,T){return m[0].resume(E,T)},connect(E){let T=document.createElement("style");b0(E).appendChild(T);let M=g0(T),{cssRules:R}=this.target;for(let j=0;j<R.length;j++)M.target.insertRule(R[j].cssText,j);m.push(M),x.set(E,M)},disconnect(E){let T=m.indexOf(x.get(E));T>=0&&m.splice(T,1)}}}(),p=C_({...i,hash:i.hash??u},c),v=T_(p);return function(m){return class extends m{connectedCallback(){var E;(E=super.connectedCallback)==null||E.call(this),c.connect(this),v.observe(b0(this))}disconnectedCallback(){var E;c.disconnect(this),(E=super.disconnectedCallback)==null||E.call(this)}constructor(...E){super(...E),this.tw=p}}}}let R_=typeof ShadowRoot<"u"&&(typeof ShadyCSS>"u"||ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;function b0(i){return i.shadowRoot||i.attachShadow({mode:"open"})}function D_(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var S0={exports:{}},Na={},kh={exports:{}},x0={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* scheduler.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Yx;function O_(){return Yx||(Yx=1,function(i){function u(ae,ne){var ee=ae.length;ae.push(ne);e:for(;0<ee;){var ge=ee-1>>>1,me=ae[ge];if(0<v(me,ne))ae[ge]=ne,ae[ee]=me,ee=ge;else break e}}function c(ae){return ae.length===0?null:ae[0]}function p(ae){if(ae.length===0)return null;var ne=ae[0],ee=ae.pop();if(ee!==ne){ae[0]=ee;e:for(var ge=0,me=ae.length,ct=me>>>1;ge<ct;){var Et=2*(ge+1)-1,Pt=ae[Et],Lt=Et+1,wn=ae[Lt];if(0>v(Pt,ee))Lt<me&&0>v(wn,Pt)?(ae[ge]=wn,ae[Lt]=ee,ge=Lt):(ae[ge]=Pt,ae[Et]=ee,ge=Et);else if(Lt<me&&0>v(wn,ee))ae[ge]=wn,ae[Lt]=ee,ge=Lt;else break e}}return ne}function v(ae,ne){var ee=ae.sortIndex-ne.sortIndex;return ee!==0?ee:ae.id-ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var g=performance;i.unstable_now=function(){return g.now()}}else{var m=Date,x=m.now();i.unstable_now=function(){return m.now()-x}}var E=[],T=[],M=1,R=null,j=3,F=!1,K=!1,ce=!1,ve=typeof setTimeout=="function"?setTimeout:null,Xe=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function de(ae){for(var ne=c(T);ne!==null;){if(ne.callback===null)p(T);else if(ne.startTime<=ae)p(T),ne.sortIndex=ne.expirationTime,u(E,ne);else break;ne=c(T)}}function Se(ae){if(ce=!1,de(ae),!K)if(c(E)!==null)K=!0,Ze(ze);else{var ne=c(T);ne!==null&&Dt(Se,ne.startTime-ae)}}function ze(ae,ne){K=!1,ce&&(ce=!1,Xe(Ke),Ke=-1),F=!0;var ee=j;try{for(de(ne),R=c(E);R!==null&&(!(R.expirationTime>ne)||ae&&!vt());){var ge=R.callback;if(typeof ge=="function"){R.callback=null,j=R.priorityLevel;var me=ge(R.expirationTime<=ne);ne=i.unstable_now(),typeof me=="function"?R.callback=me:R===c(E)&&p(E),de(ne)}else p(E);R=c(E)}if(R!==null)var ct=!0;else{var Et=c(T);Et!==null&&Dt(Se,Et.startTime-ne),ct=!1}return ct}finally{R=null,j=ee,F=!1}}var gt=!1,He=null,Ke=-1,ut=5,st=-1;function vt(){return!(i.unstable_now()-st<ut)}function $e(){if(He!==null){var ae=i.unstable_now();st=ae;var ne=!0;try{ne=He(!0,ae)}finally{ne?fe():(gt=!1,He=null)}}else gt=!1}var fe;if(typeof J=="function")fe=function(){J($e)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,Je=he.port2;he.port1.onmessage=$e,fe=function(){Je.postMessage(null)}}else fe=function(){ve($e,0)};function Ze(ae){He=ae,gt||(gt=!0,fe())}function Dt(ae,ne){Ke=ve(function(){ae(i.unstable_now())},ne)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(ae){ae.callback=null},i.unstable_continueExecution=function(){K||F||(K=!0,Ze(ze))},i.unstable_forceFrameRate=function(ae){0>ae||125<ae?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ut=0<ae?Math.floor(1e3/ae):5},i.unstable_getCurrentPriorityLevel=function(){return j},i.unstable_getFirstCallbackNode=function(){return c(E)},i.unstable_next=function(ae){switch(j){case 1:case 2:case 3:var ne=3;break;default:ne=j}var ee=j;j=ne;try{return ae()}finally{j=ee}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(ae,ne){switch(ae){case 1:case 2:case 3:case 4:case 5:break;default:ae=3}var ee=j;j=ae;try{return ne()}finally{j=ee}},i.unstable_scheduleCallback=function(ae,ne,ee){var ge=i.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?ge+ee:ge):ee=ge,ae){case 1:var me=-1;break;case 2:me=250;break;case 5:me=1073741823;break;case 4:me=1e4;break;default:me=5e3}return me=ee+me,ae={id:M++,callback:ne,priorityLevel:ae,startTime:ee,expirationTime:me,sortIndex:-1},ee>ge?(ae.sortIndex=ee,u(T,ae),c(E)===null&&ae===c(T)&&(ce?(Xe(Ke),Ke=-1):ce=!0,Dt(Se,ee-ge))):(ae.sortIndex=me,u(E,ae),K||F||(K=!0,Ze(ze))),ae},i.unstable_shouldYield=vt,i.unstable_wrapCallback=function(ae){var ne=j;return function(){var ee=j;j=ne;try{return ae.apply(this,arguments)}finally{j=ee}}}}(x0)),x0}var w0={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* scheduler.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Zx;function M_(){return Zx||(Zx=1,function(i){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var u=!1,c=!1,p=5;function v(Te,qe){var _t=Te.length;Te.push(qe),x(Te,qe,_t)}function g(Te){return Te.length===0?null:Te[0]}function m(Te){if(Te.length===0)return null;var qe=Te[0],_t=Te.pop();return _t!==qe&&(Te[0]=_t,E(Te,_t,0)),qe}function x(Te,qe,_t){for(var qt=_t;qt>0;){var En=qt-1>>>1,rr=Te[En];if(T(rr,qe)>0)Te[En]=qe,Te[qt]=rr,qt=En;else return}}function E(Te,qe,_t){for(var qt=_t,En=Te.length,rr=En>>>1;qt<rr;){var Un=(qt+1)*2-1,ta=Te[Un],sn=Un+1,ga=Te[sn];if(T(ta,qe)<0)sn<En&&T(ga,ta)<0?(Te[qt]=ga,Te[sn]=qe,qt=sn):(Te[qt]=ta,Te[Un]=qe,qt=Un);else if(sn<En&&T(ga,qe)<0)Te[qt]=ga,Te[sn]=qe,qt=sn;else return}}function T(Te,qe){var _t=Te.sortIndex-qe.sortIndex;return _t!==0?_t:Te.id-qe.id}var M=1,R=2,j=3,F=4,K=5;function ce(Te,qe){}var ve=typeof performance=="object"&&typeof performance.now=="function";if(ve){var Xe=performance;i.unstable_now=function(){return Xe.now()}}else{var J=Date,de=J.now();i.unstable_now=function(){return J.now()-de}}var Se=1073741823,ze=-1,gt=250,He=5e3,Ke=1e4,ut=Se,st=[],vt=[],$e=1,fe=null,he=j,Je=!1,Ze=!1,Dt=!1,ae=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ge(Te){for(var qe=g(vt);qe!==null;){if(qe.callback===null)m(vt);else if(qe.startTime<=Te)m(vt),qe.sortIndex=qe.expirationTime,v(st,qe);else return;qe=g(vt)}}function me(Te){if(Dt=!1,ge(Te),!Ze)if(g(st)!==null)Ze=!0,Pr(ct);else{var qe=g(vt);qe!==null&&On(me,qe.startTime-Te)}}function ct(Te,qe){Ze=!1,Dt&&(Dt=!1,Dr()),Je=!0;var _t=he;try{var qt;if(!c)return Et(Te,qe)}finally{fe=null,he=_t,Je=!1}}function Et(Te,qe){var _t=qe;for(ge(_t),fe=g(st);fe!==null&&!u&&!(fe.expirationTime>_t&&(!Te||Re()));){var qt=fe.callback;if(typeof qt=="function"){fe.callback=null,he=fe.priorityLevel;var En=fe.expirationTime<=_t,rr=qt(En);_t=i.unstable_now(),typeof rr=="function"?fe.callback=rr:fe===g(st)&&m(st),ge(_t)}else m(st);fe=g(st)}if(fe!==null)return!0;var Un=g(vt);return Un!==null&&On(me,Un.startTime-_t),!1}function Pt(Te,qe){switch(Te){case M:case R:case j:case F:case K:break;default:Te=j}var _t=he;he=Te;try{return qe()}finally{he=_t}}function Lt(Te){var qe;switch(he){case M:case R:case j:qe=j;break;default:qe=he;break}var _t=he;he=qe;try{return Te()}finally{he=_t}}function wn(Te){var qe=he;return function(){var _t=he;he=qe;try{return Te.apply(this,arguments)}finally{he=_t}}}function Cn(Te,qe,_t){var qt=i.unstable_now(),En;if(typeof _t=="object"&&_t!==null){var rr=_t.delay;typeof rr=="number"&&rr>0?En=qt+rr:En=qt}else En=qt;var Un;switch(Te){case M:Un=ze;break;case R:Un=gt;break;case K:Un=ut;break;case F:Un=Ke;break;case j:default:Un=He;break}var ta=En+Un,sn={id:$e++,callback:qe,priorityLevel:Te,startTime:En,expirationTime:ta,sortIndex:-1};return En>qt?(sn.sortIndex=En,v(vt,sn),g(st)===null&&sn===g(vt)&&(Dt?Dr():Dt=!0,On(me,En-qt))):(sn.sortIndex=ta,v(st,sn),!Ze&&!Je&&(Ze=!0,Pr(ct))),sn}function zn(){}function Vr(){!Ze&&!Je&&(Ze=!0,Pr(ct))}function Zn(){return g(st)}function Hr(Te){Te.callback=null}function Hn(){return he}var nr=!1,A=null,Z=-1,G=p,be=-1;function Re(){var Te=i.unstable_now()-be;return!(Te<G)}function le(){}function Pe(Te){if(Te<0||Te>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Te>0?G=Math.floor(1e3/Te):G=p}var $t=function(){if(A!==null){var Te=i.unstable_now();be=Te;var qe=!0,_t=!0;try{_t=A(qe,Te)}finally{_t?zt():(nr=!1,A=null)}}else nr=!1},zt;if(typeof ee=="function")zt=function(){ee($t)};else if(typeof MessageChannel<"u"){var za=new MessageChannel,hr=za.port2;za.port1.onmessage=$t,zt=function(){hr.postMessage(null)}}else zt=function(){ae($t,0)};function Pr(Te){A=Te,nr||(nr=!0,zt())}function On(Te,qe){Z=ae(function(){Te(i.unstable_now())},qe)}function Dr(){ne(Z),Z=-1}var gi=le,ea=null;i.unstable_IdlePriority=K,i.unstable_ImmediatePriority=M,i.unstable_LowPriority=F,i.unstable_NormalPriority=j,i.unstable_Profiling=ea,i.unstable_UserBlockingPriority=R,i.unstable_cancelCallback=Hr,i.unstable_continueExecution=Vr,i.unstable_forceFrameRate=Pe,i.unstable_getCurrentPriorityLevel=Hn,i.unstable_getFirstCallbackNode=Zn,i.unstable_next=Lt,i.unstable_pauseExecution=zn,i.unstable_requestPaint=gi,i.unstable_runWithPriority=Pt,i.unstable_scheduleCallback=Cn,i.unstable_shouldYield=Re,i.unstable_wrapCallback=wn,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(w0)),w0}var Gx;function Qx(){return Gx||(Gx=1,process.env.NODE_ENV==="production"?kh.exports=O_():kh.exports=M_()),kh.exports}/**
|
|
18
|
-
* @license React
|
|
19
|
-
* react-dom.production.min.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var Xx;function N_(){if(Xx)return Na;Xx=1;var i=I,u=Qx();function c(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p=new Set,v={};function g(n,r){m(n,r),m(n+"Capture",r)}function m(n,r){for(v[n]=r,n=0;n<r.length;n++)p.add(r[n])}var x=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),E=Object.prototype.hasOwnProperty,T=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,M={},R={};function j(n){return E.call(R,n)?!0:E.call(M,n)?!1:T.test(n)?R[n]=!0:(M[n]=!0,!1)}function F(n,r,l,f){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return f?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function K(n,r,l,f){if(r===null||typeof r>"u"||F(n,r,l,f))return!0;if(f)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function ce(n,r,l,f,h,b,C){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=f,this.attributeNamespace=h,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=b,this.removeEmptyString=C}var ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){ve[n]=new ce(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];ve[r]=new ce(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){ve[n]=new ce(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){ve[n]=new ce(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){ve[n]=new ce(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){ve[n]=new ce(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){ve[n]=new ce(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){ve[n]=new ce(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){ve[n]=new ce(n,5,!1,n.toLowerCase(),null,!1,!1)});var Xe=/[\-:]([a-z])/g;function J(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(Xe,J);ve[r]=new ce(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(Xe,J);ve[r]=new ce(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(Xe,J);ve[r]=new ce(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){ve[n]=new ce(n,1,!1,n.toLowerCase(),null,!1,!1)}),ve.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){ve[n]=new ce(n,1,!1,n.toLowerCase(),null,!0,!0)});function de(n,r,l,f){var h=ve.hasOwnProperty(r)?ve[r]:null;(h!==null?h.type!==0:f||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(K(r,l,h,f)&&(l=null),f||h===null?j(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):h.mustUseProperty?n[h.propertyName]=l===null?h.type===3?!1:"":l:(r=h.attributeName,f=h.attributeNamespace,l===null?n.removeAttribute(r):(h=h.type,l=h===3||h===4&&l===!0?"":""+l,f?n.setAttributeNS(f,r,l):n.setAttribute(r,l))))}var Se=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ze=Symbol.for("react.element"),gt=Symbol.for("react.portal"),He=Symbol.for("react.fragment"),Ke=Symbol.for("react.strict_mode"),ut=Symbol.for("react.profiler"),st=Symbol.for("react.provider"),vt=Symbol.for("react.context"),$e=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),Je=Symbol.for("react.memo"),Ze=Symbol.for("react.lazy"),Dt=Symbol.for("react.offscreen"),ae=Symbol.iterator;function ne(n){return n===null||typeof n!="object"?null:(n=ae&&n[ae]||n["@@iterator"],typeof n=="function"?n:null)}var ee=Object.assign,ge;function me(n){if(ge===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);ge=r&&r[1]||""}return`
|
|
26
|
-
`+ge+n}var ct=!1;function Et(n,r){if(!n||ct)return"";ct=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(Y){var f=Y}Reflect.construct(n,[],r)}else{try{r.call()}catch(Y){f=Y}n.call(r.prototype)}else{try{throw Error()}catch(Y){f=Y}n()}}catch(Y){if(Y&&f&&typeof Y.stack=="string"){for(var h=Y.stack.split(`
|
|
27
|
-
`),b=f.stack.split(`
|
|
28
|
-
`),C=h.length-1,D=b.length-1;1<=C&&0<=D&&h[C]!==b[D];)D--;for(;1<=C&&0<=D;C--,D--)if(h[C]!==b[D]){if(C!==1||D!==1)do if(C--,D--,0>D||h[C]!==b[D]){var N=`
|
|
29
|
-
`+h[C].replace(" at new "," at ");return n.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",n.displayName)),N}while(1<=C&&0<=D);break}}}finally{ct=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?me(n):""}function Pt(n){switch(n.tag){case 5:return me(n.type);case 16:return me("Lazy");case 13:return me("Suspense");case 19:return me("SuspenseList");case 0:case 2:case 15:return n=Et(n.type,!1),n;case 11:return n=Et(n.type.render,!1),n;case 1:return n=Et(n.type,!0),n;default:return""}}function Lt(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case He:return"Fragment";case gt:return"Portal";case ut:return"Profiler";case Ke:return"StrictMode";case fe:return"Suspense";case he:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case vt:return(n.displayName||"Context")+".Consumer";case st:return(n._context.displayName||"Context")+".Provider";case $e:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Je:return r=n.displayName||null,r!==null?r:Lt(n.type)||"Memo";case Ze:r=n._payload,n=n._init;try{return Lt(n(r))}catch{}}return null}function wn(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Lt(r);case 8:return r===Ke?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function Cn(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function zn(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Vr(n){var r=zn(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),f=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var h=l.get,b=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return h.call(this)},set:function(C){f=""+C,b.call(this,C)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return f},setValue:function(C){f=""+C},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Zn(n){n._valueTracker||(n._valueTracker=Vr(n))}function Hr(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),f="";return n&&(f=zn(n)?n.checked?"true":"false":n.value),n=f,n!==l?(r.setValue(n),!0):!1}function Hn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function nr(n,r){var l=r.checked;return ee({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function A(n,r){var l=r.defaultValue==null?"":r.defaultValue,f=r.checked!=null?r.checked:r.defaultChecked;l=Cn(r.value!=null?r.value:l),n._wrapperState={initialChecked:f,initialValue:l,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Z(n,r){r=r.checked,r!=null&&de(n,"checked",r,!1)}function G(n,r){Z(n,r);var l=Cn(r.value),f=r.type;if(l!=null)f==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+l):n.value!==""+l&&(n.value=""+l);else if(f==="submit"||f==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?Re(n,r.type,l):r.hasOwnProperty("defaultValue")&&Re(n,r.type,Cn(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function be(n,r,l){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var f=r.type;if(!(f!=="submit"&&f!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,l||r===n.value||(n.value=r),n.defaultValue=r}l=n.name,l!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,l!==""&&(n.name=l)}function Re(n,r,l){(r!=="number"||Hn(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var le=Array.isArray;function Pe(n,r,l,f){if(n=n.options,r){r={};for(var h=0;h<l.length;h++)r["$"+l[h]]=!0;for(l=0;l<n.length;l++)h=r.hasOwnProperty("$"+n[l].value),n[l].selected!==h&&(n[l].selected=h),h&&f&&(n[l].defaultSelected=!0)}else{for(l=""+Cn(l),r=null,h=0;h<n.length;h++){if(n[h].value===l){n[h].selected=!0,f&&(n[h].defaultSelected=!0);return}r!==null||n[h].disabled||(r=n[h])}r!==null&&(r.selected=!0)}}function $t(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(c(91));return ee({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function zt(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(c(92));if(le(l)){if(1<l.length)throw Error(c(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:Cn(l)}}function za(n,r){var l=Cn(r.value),f=Cn(r.defaultValue);l!=null&&(l=""+l,l!==n.value&&(n.value=l),r.defaultValue==null&&n.defaultValue!==l&&(n.defaultValue=l)),f!=null&&(n.defaultValue=""+f)}function hr(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Pr(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function On(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Pr(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Dr,gi=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,f,h){MSApp.execUnsafeLocalFunction(function(){return n(r,l,f,h)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(Dr=Dr||document.createElement("div"),Dr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Dr.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function ea(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var Te={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qe=["Webkit","ms","Moz","O"];Object.keys(Te).forEach(function(n){qe.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),Te[r]=Te[n]})});function _t(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||Te.hasOwnProperty(n)&&Te[n]?(""+r).trim():r+"px"}function qt(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var f=l.indexOf("--")===0,h=_t(l,r[l],f);l==="float"&&(l="cssFloat"),f?n.setProperty(l,h):n[l]=h}}var En=ee({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function rr(n,r){if(r){if(En[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(c(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(c(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(c(61))}if(r.style!=null&&typeof r.style!="object")throw Error(c(62))}}function Un(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ta=null;function sn(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var ga=null,an=null,cn=null;function uu(n){if(n=Bs(n)){if(typeof ga!="function")throw Error(c(280));var r=n.stateNode;r&&(r=et(r),ga(n.stateNode,n.type,r))}}function ol(n){an?cn?cn.push(n):cn=[n]:an=n}function su(){if(an){var n=an,r=cn;if(cn=an=null,uu(n),r)for(n=0;n<r.length;n++)uu(r[n])}}function Ss(n,r){return n(r)}function Vc(){}var ll=!1;function cu(n,r,l){if(ll)return n(r,l);ll=!0;try{return Ss(n,r,l)}finally{ll=!1,(an!==null||cn!==null)&&(Vc(),su())}}function ul(n,r){var l=n.stateNode;if(l===null)return null;var f=et(l);if(f===null)return null;l=f[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(n=n.type,f=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!f;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(c(231,r,typeof l));return l}var fu=!1;if(x)try{var bi={};Object.defineProperty(bi,"passive",{get:function(){fu=!0}}),window.addEventListener("test",bi,bi),window.removeEventListener("test",bi,bi)}catch{fu=!1}function yo(n,r,l,f,h,b,C,D,N){var Y=Array.prototype.slice.call(arguments,3);try{r.apply(l,Y)}catch(ie){this.onError(ie)}}var ba=!1,ri=null,go=!1,O=null,oe={onError:function(n){ba=!0,ri=n}};function ke(n,r,l,f,h,b,C,D,N){ba=!1,ri=null,yo.apply(oe,arguments)}function rt(n,r,l,f,h,b,C,D,N){if(ke.apply(this,arguments),ba){if(ba){var Y=ri;ba=!1,ri=null}else throw Error(c(198));go||(go=!0,O=Y)}}function Ct(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function Bt(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function Tt(n){if(Ct(n)!==n)throw Error(c(188))}function it(n){var r=n.alternate;if(!r){if(r=Ct(n),r===null)throw Error(c(188));return r!==n?null:n}for(var l=n,f=r;;){var h=l.return;if(h===null)break;var b=h.alternate;if(b===null){if(f=h.return,f!==null){l=f;continue}break}if(h.child===b.child){for(b=h.child;b;){if(b===l)return Tt(h),n;if(b===f)return Tt(h),r;b=b.sibling}throw Error(c(188))}if(l.return!==f.return)l=h,f=b;else{for(var C=!1,D=h.child;D;){if(D===l){C=!0,l=h,f=b;break}if(D===f){C=!0,f=h,l=b;break}D=D.sibling}if(!C){for(D=b.child;D;){if(D===l){C=!0,l=b,f=h;break}if(D===f){C=!0,f=b,l=h;break}D=D.sibling}if(!C)throw Error(c(189))}}if(l.alternate!==f)throw Error(c(190))}if(l.tag!==3)throw Error(c(188));return l.stateNode.current===l?n:r}function ar(n){return n=it(n),n!==null?mn(n):null}function mn(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=mn(n);if(r!==null)return r;n=n.sibling}return null}var yn=u.unstable_scheduleCallback,Br=u.unstable_cancelCallback,bo=u.unstable_shouldYield,Hc=u.unstable_requestPaint,Wt=u.unstable_now,q0=u.unstable_getCurrentPriorityLevel,Vi=u.unstable_ImmediatePriority,Mt=u.unstable_UserBlockingPriority,So=u.unstable_NormalPriority,im=u.unstable_LowPriority,op=u.unstable_IdlePriority,xs=null,ai=null;function om(n){if(ai&&typeof ai.onCommitFiberRoot=="function")try{ai.onCommitFiberRoot(xs,n,void 0,(n.current.flags&128)===128)}catch{}}var Ua=Math.clz32?Math.clz32:eb,lm=Math.log,um=Math.LN2;function eb(n){return n>>>=0,n===0?32:31-(lm(n)/um|0)|0}var Pc=64,du=4194304;function sl(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function ii(n,r){var l=n.pendingLanes;if(l===0)return 0;var f=0,h=n.suspendedLanes,b=n.pingedLanes,C=l&268435455;if(C!==0){var D=C&~h;D!==0?f=sl(D):(b&=C,b!==0&&(f=sl(b)))}else C=l&~h,C!==0?f=sl(C):b!==0&&(f=sl(b));if(f===0)return 0;if(r!==0&&r!==f&&!(r&h)&&(h=f&-f,b=r&-r,h>=b||h===16&&(b&4194240)!==0))return r;if(f&4&&(f|=l&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=f;0<r;)l=31-Ua(r),h=1<<l,f|=n[l],r&=~h;return f}function lp(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bc(n,r){for(var l=n.suspendedLanes,f=n.pingedLanes,h=n.expirationTimes,b=n.pendingLanes;0<b;){var C=31-Ua(b),D=1<<C,N=h[C];N===-1?(!(D&l)||D&f)&&(h[C]=lp(D,r)):N<=r&&(n.expiredLanes|=D),b&=~D}}function up(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function Ic(){var n=Pc;return Pc<<=1,!(Pc&4194240)&&(Pc=64),n}function sp(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function cl(n,r,l){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-Ua(r),n[r]=l}function tb(n,r){var l=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var f=n.eventTimes;for(n=n.expirationTimes;0<l;){var h=31-Ua(l),b=1<<h;r[h]=0,f[h]=-1,n[h]=-1,l&=~b}}function ws(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var f=31-Ua(l),h=1<<f;h&r|n[f]&r&&(n[f]|=r),l&=~h}}var en=0;function cp(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var sm,$c,on,cm,fp,bt=!1,Cs=[],Pn=null,ja=null,Fa=null,Es=new Map,Gn=new Map,tn=[],nb="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function oi(n,r){switch(n){case"focusin":case"focusout":Pn=null;break;case"dragenter":case"dragleave":ja=null;break;case"mouseover":case"mouseout":Fa=null;break;case"pointerover":case"pointerout":Es.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gn.delete(r.pointerId)}}function Or(n,r,l,f,h,b){return n===null||n.nativeEvent!==b?(n={blockedOn:r,domEventName:l,eventSystemFlags:f,nativeEvent:b,targetContainers:[h]},r!==null&&(r=Bs(r),r!==null&&$c(r)),n):(n.eventSystemFlags|=f,r=n.targetContainers,h!==null&&r.indexOf(h)===-1&&r.push(h),n)}function xo(n,r,l,f,h){switch(r){case"focusin":return Pn=Or(Pn,n,r,l,f,h),!0;case"dragenter":return ja=Or(ja,n,r,l,f,h),!0;case"mouseover":return Fa=Or(Fa,n,r,l,f,h),!0;case"pointerover":var b=h.pointerId;return Es.set(b,Or(Es.get(b)||null,n,r,l,f,h)),!0;case"gotpointercapture":return b=h.pointerId,Gn.set(b,Or(Gn.get(b)||null,n,r,l,f,h)),!0}return!1}function fm(n){var r=Ha(n.target);if(r!==null){var l=Ct(r);if(l!==null){if(r=l.tag,r===13){if(r=Bt(l),r!==null){n.blockedOn=r,fp(n.priority,function(){on(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function pu(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=Zc(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(l===null){l=n.nativeEvent;var f=new l.constructor(l.type,l);ta=f,l.target.dispatchEvent(f),ta=null}else return r=Bs(l),r!==null&&$c(r),n.blockedOn=l,!1;r.shift()}return!0}function dp(n,r,l){pu(n)&&l.delete(r)}function dm(){bt=!1,Pn!==null&&pu(Pn)&&(Pn=null),ja!==null&&pu(ja)&&(ja=null),Fa!==null&&pu(Fa)&&(Fa=null),Es.forEach(dp),Gn.forEach(dp)}function Ts(n,r){n.blockedOn===r&&(n.blockedOn=null,bt||(bt=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,dm)))}function ks(n){function r(h){return Ts(h,n)}if(0<Cs.length){Ts(Cs[0],n);for(var l=1;l<Cs.length;l++){var f=Cs[l];f.blockedOn===n&&(f.blockedOn=null)}}for(Pn!==null&&Ts(Pn,n),ja!==null&&Ts(ja,n),Fa!==null&&Ts(Fa,n),Es.forEach(r),Gn.forEach(r),l=0;l<tn.length;l++)f=tn[l],f.blockedOn===n&&(f.blockedOn=null);for(;0<tn.length&&(l=tn[0],l.blockedOn===null);)fm(l),l.blockedOn===null&&tn.shift()}var vu=Se.ReactCurrentBatchConfig,fl=!0;function pm(n,r,l,f){var h=en,b=vu.transition;vu.transition=null;try{en=1,Yc(n,r,l,f)}finally{en=h,vu.transition=b}}function Wc(n,r,l,f){var h=en,b=vu.transition;vu.transition=null;try{en=4,Yc(n,r,l,f)}finally{en=h,vu.transition=b}}function Yc(n,r,l,f){if(fl){var h=Zc(n,r,l,f);if(h===null)of(n,r,f,_s,l),oi(n,f);else if(xo(h,n,r,l,f))f.stopPropagation();else if(oi(n,f),r&4&&-1<nb.indexOf(n)){for(;h!==null;){var b=Bs(h);if(b!==null&&sm(b),b=Zc(n,r,l,f),b===null&&of(n,r,f,_s,l),b===h)break;h=b}h!==null&&f.stopPropagation()}else of(n,r,f,null,l)}}var _s=null;function Zc(n,r,l,f){if(_s=null,n=sn(f),n=Ha(n),n!==null)if(r=Ct(n),r===null)n=null;else if(l=r.tag,l===13){if(n=Bt(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return _s=n,null}function pp(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(q0()){case Vi:return 1;case Mt:return 4;case So:case im:return 16;case op:return 536870912;default:return 16}default:return 16}}var Hi=null,Rs=null,Ds=null;function vp(){if(Ds)return Ds;var n,r=Rs,l=r.length,f,h="value"in Hi?Hi.value:Hi.textContent,b=h.length;for(n=0;n<l&&r[n]===h[n];n++);var C=l-n;for(f=1;f<=C&&r[l-f]===h[b-f];f++);return Ds=h.slice(n,1<f?1-f:void 0)}function hu(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function Os(){return!0}function vm(){return!1}function Sa(n){function r(l,f,h,b,C){this._reactName=l,this._targetInst=h,this.type=f,this.nativeEvent=b,this.target=C,this.currentTarget=null;for(var D in n)n.hasOwnProperty(D)&&(l=n[D],this[D]=l?l(b):b[D]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?Os:vm,this.isPropagationStopped=vm,this}return ee(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Os)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Os)},persist:function(){},isPersistent:Os}),r}var wo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gc=Sa(wo),mu=ee({},wo,{view:0,detail:0}),hm=Sa(mu),Qc,hp,Ms,ir=ee({},mu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bp,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Ms&&(Ms&&n.type==="mousemove"?(Qc=n.screenX-Ms.screenX,hp=n.screenY-Ms.screenY):hp=Qc=0,Ms=n),Qc)},movementY:function(n){return"movementY"in n?n.movementY:hp}}),Xc=Sa(ir),mm=ee({},ir,{dataTransfer:0}),ym=Sa(mm),rb=ee({},mu,{relatedTarget:0}),Co=Sa(rb),mp=ee({},wo,{animationName:0,elapsedTime:0,pseudoElement:0}),gm=Sa(mp),ab=ee({},wo,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),ib=Sa(ab),ob=ee({},wo,{data:0}),yp=Sa(ob),gp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bm={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"},Sm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xm(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=Sm[n])?!!r[n]:!1}function bp(){return xm}var Pi=ee({},mu,{key:function(n){if(n.key){var r=gp[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=hu(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?bm[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bp,charCode:function(n){return n.type==="keypress"?hu(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?hu(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),lb=Sa(Pi),Sp=ee({},ir,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kc=Sa(Sp),xp=ee({},mu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bp}),ub=Sa(xp),Jc=ee({},wo,{propertyName:0,elapsedTime:0,pseudoElement:0}),wm=Sa(Jc),na=ee({},ir,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Bi=Sa(na),Bn=[9,13,27,32],li=x&&"CompositionEvent"in window,dl=null;x&&"documentMode"in document&&(dl=document.documentMode);var qc=x&&"TextEvent"in window&&!dl,Cm=x&&(!li||dl&&8<dl&&11>=dl),yu=String.fromCharCode(32),Em=!1;function Tm(n,r){switch(n){case"keyup":return Bn.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ef(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var gu=!1;function sb(n,r){switch(n){case"compositionend":return ef(r);case"keypress":return r.which!==32?null:(Em=!0,yu);case"textInput":return n=r.data,n===yu&&Em?null:n;default:return null}}function cb(n,r){if(gu)return n==="compositionend"||!li&&Tm(n,r)?(n=vp(),Ds=Rs=Hi=null,gu=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Cm&&r.locale!=="ko"?null:r.data;default:return null}}var km={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 _m(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!km[n.type]:r==="textarea"}function Rm(n,r,l,f){ol(f),r=Vs(r,"onChange"),0<r.length&&(l=new Gc("onChange","change",null,l,f),n.push({event:l,listeners:r}))}var Ns=null,bu=null;function Su(n){af(n,0)}function xu(n){var r=Cu(n);if(Hr(r))return n}function Dm(n,r){if(n==="change")return r}var wp=!1;if(x){var Cp;if(x){var Ep="oninput"in document;if(!Ep){var Om=document.createElement("div");Om.setAttribute("oninput","return;"),Ep=typeof Om.oninput=="function"}Cp=Ep}else Cp=!1;wp=Cp&&(!document.documentMode||9<document.documentMode)}function Mm(){Ns&&(Ns.detachEvent("onpropertychange",Nm),bu=Ns=null)}function Nm(n){if(n.propertyName==="value"&&xu(bu)){var r=[];Rm(r,bu,n,sn(n)),cu(Su,r)}}function fb(n,r,l){n==="focusin"?(Mm(),Ns=r,bu=l,Ns.attachEvent("onpropertychange",Nm)):n==="focusout"&&Mm()}function db(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return xu(bu)}function pb(n,r){if(n==="click")return xu(r)}function Am(n,r){if(n==="input"||n==="change")return xu(r)}function vb(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Va=typeof Object.is=="function"?Object.is:vb;function As(n,r){if(Va(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),f=Object.keys(r);if(l.length!==f.length)return!1;for(f=0;f<l.length;f++){var h=l[f];if(!E.call(r,h)||!Va(n[h],r[h]))return!1}return!0}function Lm(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function zm(n,r){var l=Lm(n);n=0;for(var f;l;){if(l.nodeType===3){if(f=n+l.textContent.length,n<=r&&f>=r)return{node:l,offset:r-n};n=f}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Lm(l)}}function Um(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?Um(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function tf(){for(var n=window,r=Hn();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=Hn(n.document)}return r}function Ii(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function nf(n){var r=tf(),l=n.focusedElem,f=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&Um(l.ownerDocument.documentElement,l)){if(f!==null&&Ii(l)){if(r=f.start,n=f.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var h=l.textContent.length,b=Math.min(f.start,h);f=f.end===void 0?b:Math.min(f.end,h),!n.extend&&b>f&&(h=f,f=b,b=h),h=zm(l,b);var C=zm(l,f);h&&C&&(n.rangeCount!==1||n.anchorNode!==h.node||n.anchorOffset!==h.offset||n.focusNode!==C.node||n.focusOffset!==C.offset)&&(r=r.createRange(),r.setStart(h.node,h.offset),n.removeAllRanges(),b>f?(n.addRange(r),n.extend(C.node,C.offset)):(r.setEnd(C.node,C.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var jm=x&&"documentMode"in document&&11>=document.documentMode,ui=null,Tp=null,Ls=null,kp=!1;function Fm(n,r,l){var f=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;kp||ui==null||ui!==Hn(f)||(f=ui,"selectionStart"in f&&Ii(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),Ls&&As(Ls,f)||(Ls=f,f=Vs(Tp,"onSelect"),0<f.length&&(r=new Gc("onSelect","select",null,r,l),n.push({event:r,listeners:f}),r.target=ui)))}function rf(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var pl={animationend:rf("Animation","AnimationEnd"),animationiteration:rf("Animation","AnimationIteration"),animationstart:rf("Animation","AnimationStart"),transitionend:rf("Transition","TransitionEnd")},_p={},Rp={};x&&(Rp=document.createElement("div").style,"AnimationEvent"in window||(delete pl.animationend.animation,delete pl.animationiteration.animation,delete pl.animationstart.animation),"TransitionEvent"in window||delete pl.transitionend.transition);function or(n){if(_p[n])return _p[n];if(!pl[n])return n;var r=pl[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in Rp)return _p[n]=r[l];return n}var Dp=or("animationend"),Vm=or("animationiteration"),Hm=or("animationstart"),Pm=or("transitionend"),Bm=new Map,Im="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function $i(n,r){Bm.set(n,r),g(r,[n])}for(var zs=0;zs<Im.length;zs++){var vl=Im[zs],hb=vl.toLowerCase(),Us=vl[0].toUpperCase()+vl.slice(1);$i(hb,"on"+Us)}$i(Dp,"onAnimationEnd"),$i(Vm,"onAnimationIteration"),$i(Hm,"onAnimationStart"),$i("dblclick","onDoubleClick"),$i("focusin","onFocus"),$i("focusout","onBlur"),$i(Pm,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),g("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),g("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),g("onBeforeInput",["compositionend","keypress","textInput","paste"]),g("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var js="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mb=new Set("cancel close invalid load scroll toggle".split(" ").concat(js));function $m(n,r,l){var f=n.type||"unknown-event";n.currentTarget=l,rt(f,r,void 0,n),n.currentTarget=null}function af(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var f=n[l],h=f.event;f=f.listeners;e:{var b=void 0;if(r)for(var C=f.length-1;0<=C;C--){var D=f[C],N=D.instance,Y=D.currentTarget;if(D=D.listener,N!==b&&h.isPropagationStopped())break e;$m(h,D,Y),b=N}else for(C=0;C<f.length;C++){if(D=f[C],N=D.instance,Y=D.currentTarget,D=D.listener,N!==b&&h.isPropagationStopped())break e;$m(h,D,Y),b=N}}}if(go)throw n=O,go=!1,O=null,n}function ln(n,r){var l=r[Up];l===void 0&&(l=r[Up]=new Set);var f=n+"__bubble";l.has(f)||(Wm(r,n,2,!1),l.add(f))}function Eo(n,r,l){var f=0;r&&(f|=4),Wm(l,n,f,r)}var Wi="_reactListening"+Math.random().toString(36).slice(2);function wu(n){if(!n[Wi]){n[Wi]=!0,p.forEach(function(l){l!=="selectionchange"&&(mb.has(l)||Eo(l,!1,n),Eo(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Wi]||(r[Wi]=!0,Eo("selectionchange",!1,r))}}function Wm(n,r,l,f){switch(pp(r)){case 1:var h=pm;break;case 4:h=Wc;break;default:h=Yc}l=h.bind(null,r,l,n),h=void 0,!fu||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(h=!0),f?h!==void 0?n.addEventListener(r,l,{capture:!0,passive:h}):n.addEventListener(r,l,!0):h!==void 0?n.addEventListener(r,l,{passive:h}):n.addEventListener(r,l,!1)}function of(n,r,l,f,h){var b=f;if(!(r&1)&&!(r&2)&&f!==null)e:for(;;){if(f===null)return;var C=f.tag;if(C===3||C===4){var D=f.stateNode.containerInfo;if(D===h||D.nodeType===8&&D.parentNode===h)break;if(C===4)for(C=f.return;C!==null;){var N=C.tag;if((N===3||N===4)&&(N=C.stateNode.containerInfo,N===h||N.nodeType===8&&N.parentNode===h))return;C=C.return}for(;D!==null;){if(C=Ha(D),C===null)return;if(N=C.tag,N===5||N===6){f=b=C;continue e}D=D.parentNode}}f=f.return}cu(function(){var Y=b,ie=sn(l),ue=[];e:{var re=Bm.get(n);if(re!==void 0){var De=Gc,je=n;switch(n){case"keypress":if(hu(l)===0)break e;case"keydown":case"keyup":De=lb;break;case"focusin":je="focus",De=Co;break;case"focusout":je="blur",De=Co;break;case"beforeblur":case"afterblur":De=Co;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":De=Xc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":De=ym;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":De=ub;break;case Dp:case Vm:case Hm:De=gm;break;case Pm:De=wm;break;case"scroll":De=hm;break;case"wheel":De=Bi;break;case"copy":case"cut":case"paste":De=ib;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":De=Kc}var Be=(r&4)!==0,Fn=!Be&&n==="scroll",V=Be?re!==null?re+"Capture":null:re;Be=[];for(var z=Y,B;z!==null;){B=z;var pe=B.stateNode;if(B.tag===5&&pe!==null&&(B=pe,V!==null&&(pe=ul(z,V),pe!=null&&Be.push(Fs(z,pe,B)))),Fn)break;z=z.return}0<Be.length&&(re=new De(re,je,null,l,ie),ue.push({event:re,listeners:Be}))}}if(!(r&7)){e:{if(re=n==="mouseover"||n==="pointerover",De=n==="mouseout"||n==="pointerout",re&&l!==ta&&(je=l.relatedTarget||l.fromElement)&&(Ha(je)||je[Yi]))break e;if((De||re)&&(re=ie.window===ie?ie:(re=ie.ownerDocument)?re.defaultView||re.parentWindow:window,De?(je=l.relatedTarget||l.toElement,De=Y,je=je?Ha(je):null,je!==null&&(Fn=Ct(je),je!==Fn||je.tag!==5&&je.tag!==6)&&(je=null)):(De=null,je=Y),De!==je)){if(Be=Xc,pe="onMouseLeave",V="onMouseEnter",z="mouse",(n==="pointerout"||n==="pointerover")&&(Be=Kc,pe="onPointerLeave",V="onPointerEnter",z="pointer"),Fn=De==null?re:Cu(De),B=je==null?re:Cu(je),re=new Be(pe,z+"leave",De,l,ie),re.target=Fn,re.relatedTarget=B,pe=null,Ha(ie)===Y&&(Be=new Be(V,z+"enter",je,l,ie),Be.target=B,Be.relatedTarget=Fn,pe=Be),Fn=pe,De&&je)t:{for(Be=De,V=je,z=0,B=Be;B;B=hl(B))z++;for(B=0,pe=V;pe;pe=hl(pe))B++;for(;0<z-B;)Be=hl(Be),z--;for(;0<B-z;)V=hl(V),B--;for(;z--;){if(Be===V||V!==null&&Be===V.alternate)break t;Be=hl(Be),V=hl(V)}Be=null}else Be=null;De!==null&&Op(ue,re,De,Be,!1),je!==null&&Fn!==null&&Op(ue,Fn,je,Be,!0)}}e:{if(re=Y?Cu(Y):window,De=re.nodeName&&re.nodeName.toLowerCase(),De==="select"||De==="input"&&re.type==="file")var Ie=Dm;else if(_m(re))if(wp)Ie=Am;else{Ie=db;var Fe=fb}else(De=re.nodeName)&&De.toLowerCase()==="input"&&(re.type==="checkbox"||re.type==="radio")&&(Ie=pb);if(Ie&&(Ie=Ie(n,Y))){Rm(ue,Ie,l,ie);break e}Fe&&Fe(n,re,Y),n==="focusout"&&(Fe=re._wrapperState)&&Fe.controlled&&re.type==="number"&&Re(re,"number",re.value)}switch(Fe=Y?Cu(Y):window,n){case"focusin":(_m(Fe)||Fe.contentEditable==="true")&&(ui=Fe,Tp=Y,Ls=null);break;case"focusout":Ls=Tp=ui=null;break;case"mousedown":kp=!0;break;case"contextmenu":case"mouseup":case"dragend":kp=!1,Fm(ue,l,ie);break;case"selectionchange":if(jm)break;case"keydown":case"keyup":Fm(ue,l,ie)}var Ge;if(li)e:{switch(n){case"compositionstart":var pt="onCompositionStart";break e;case"compositionend":pt="onCompositionEnd";break e;case"compositionupdate":pt="onCompositionUpdate";break e}pt=void 0}else gu?Tm(n,l)&&(pt="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(pt="onCompositionStart");pt&&(Cm&&l.locale!=="ko"&&(gu||pt!=="onCompositionStart"?pt==="onCompositionEnd"&&gu&&(Ge=vp()):(Hi=ie,Rs="value"in Hi?Hi.value:Hi.textContent,gu=!0)),Fe=Vs(Y,pt),0<Fe.length&&(pt=new yp(pt,n,null,l,ie),ue.push({event:pt,listeners:Fe}),Ge?pt.data=Ge:(Ge=ef(l),Ge!==null&&(pt.data=Ge)))),(Ge=qc?sb(n,l):cb(n,l))&&(Y=Vs(Y,"onBeforeInput"),0<Y.length&&(ie=new yp("onBeforeInput","beforeinput",null,l,ie),ue.push({event:ie,listeners:Y}),ie.data=Ge))}af(ue,r)})}function Fs(n,r,l){return{instance:n,listener:r,currentTarget:l}}function Vs(n,r){for(var l=r+"Capture",f=[];n!==null;){var h=n,b=h.stateNode;h.tag===5&&b!==null&&(h=b,b=ul(n,l),b!=null&&f.unshift(Fs(n,b,h)),b=ul(n,r),b!=null&&f.push(Fs(n,b,h))),n=n.return}return f}function hl(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function Op(n,r,l,f,h){for(var b=r._reactName,C=[];l!==null&&l!==f;){var D=l,N=D.alternate,Y=D.stateNode;if(N!==null&&N===f)break;D.tag===5&&Y!==null&&(D=Y,h?(N=ul(l,b),N!=null&&C.unshift(Fs(l,N,D))):h||(N=ul(l,b),N!=null&&C.push(Fs(l,N,D)))),l=l.return}C.length!==0&&n.push({event:r,listeners:C})}var Mp=/\r\n?/g,yb=/\u0000|\uFFFD/g;function Np(n){return(typeof n=="string"?n:""+n).replace(Mp,`
|
|
30
|
-
`).replace(yb,"")}function lf(n,r,l){if(r=Np(r),Np(n)!==r&&l)throw Error(c(425))}function uf(){}var Ap=null,ml=null;function Hs(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var yl=typeof setTimeout=="function"?setTimeout:void 0,Ym=typeof clearTimeout=="function"?clearTimeout:void 0,Lp=typeof Promise=="function"?Promise:void 0,zp=typeof queueMicrotask=="function"?queueMicrotask:typeof Lp<"u"?function(n){return Lp.resolve(null).then(n).catch(gb)}:yl;function gb(n){setTimeout(function(){throw n})}function To(n,r){var l=r,f=0;do{var h=l.nextSibling;if(n.removeChild(l),h&&h.nodeType===8)if(l=h.data,l==="/$"){if(f===0){n.removeChild(h),ks(r);return}f--}else l!=="$"&&l!=="$?"&&l!=="$!"||f++;l=h}while(l);ks(r)}function si(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function Ps(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}var ko=Math.random().toString(36).slice(2),Si="__reactFiber$"+ko,gl="__reactProps$"+ko,Yi="__reactContainer$"+ko,Up="__reactEvents$"+ko,bb="__reactListeners$"+ko,jp="__reactHandles$"+ko;function Ha(n){var r=n[Si];if(r)return r;for(var l=n.parentNode;l;){if(r=l[Yi]||l[Si]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=Ps(n);n!==null;){if(l=n[Si])return l;n=Ps(n)}return r}n=l,l=n.parentNode}return null}function Bs(n){return n=n[Si]||n[Yi],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Cu(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(c(33))}function et(n){return n[gl]||null}var _o=[],fn=-1;function St(n){return{current:n}}function Qt(n){0>fn||(n.current=_o[fn],_o[fn]=null,fn--)}function Xt(n,r){fn++,_o[fn]=n.current,n.current=r}var xi={},dt=St(xi),Mn=St(!1),ra=xi;function Pa(n,r){var l=n.type.contextTypes;if(!l)return xi;var f=n.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===r)return f.__reactInternalMemoizedMaskedChildContext;var h={},b;for(b in l)h[b]=r[b];return f&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=h),h}function gn(n){return n=n.childContextTypes,n!=null}function Ba(){Qt(Mn),Qt(dt)}function Ro(n,r,l){if(dt.current!==xi)throw Error(c(168));Xt(dt,r),Xt(Mn,l)}function Is(n,r,l){var f=n.stateNode;if(r=r.childContextTypes,typeof f.getChildContext!="function")return l;f=f.getChildContext();for(var h in f)if(!(h in r))throw Error(c(108,wn(n)||"Unknown",h));return ee({},l,f)}function sf(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||xi,ra=dt.current,Xt(dt,n),Xt(Mn,Mn.current),!0}function Zm(n,r,l){var f=n.stateNode;if(!f)throw Error(c(169));l?(n=Is(n,r,ra),f.__reactInternalMemoizedMergedChildContext=n,Qt(Mn),Qt(dt),Xt(dt,n)):Qt(Mn),Xt(Mn,l)}var xa=null,lr=!1,$s=!1;function Fp(n){xa===null?xa=[n]:xa.push(n)}function Vp(n){lr=!0,Fp(n)}function aa(){if(!$s&&xa!==null){$s=!0;var n=0,r=en;try{var l=xa;for(en=1;n<l.length;n++){var f=l[n];do f=f(!0);while(f!==null)}xa=null,lr=!1}catch(h){throw xa!==null&&(xa=xa.slice(n+1)),yn(Vi,aa),h}finally{en=r,$s=!1}}return null}var Do=[],ia=0,bl=null,Eu=0,oa=[],Mr=0,Ia=null,mr=1,Zi="";function wa(n,r){Do[ia++]=Eu,Do[ia++]=bl,bl=n,Eu=r}function Hp(n,r,l){oa[Mr++]=mr,oa[Mr++]=Zi,oa[Mr++]=Ia,Ia=n;var f=mr;n=Zi;var h=32-Ua(f)-1;f&=~(1<<h),l+=1;var b=32-Ua(r)+h;if(30<b){var C=h-h%5;b=(f&(1<<C)-1).toString(32),f>>=C,h-=C,mr=1<<32-Ua(r)+h|l<<h|f,Zi=b+n}else mr=1<<b|l<<h|f,Zi=n}function cf(n){n.return!==null&&(wa(n,1),Hp(n,1,0))}function Pp(n){for(;n===bl;)bl=Do[--ia],Do[ia]=null,Eu=Do[--ia],Do[ia]=null;for(;n===Ia;)Ia=oa[--Mr],oa[Mr]=null,Zi=oa[--Mr],oa[Mr]=null,mr=oa[--Mr],oa[Mr]=null}var Ca=null,la=null,dn=!1,$a=null;function Bp(n,r){var l=Xa(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function Gm(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,Ca=n,la=si(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Ca=n,la=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=Ia!==null?{id:mr,overflow:Zi}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=Xa(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,Ca=n,la=null,!0):!1;default:return!1}}function ff(n){return(n.mode&1)!==0&&(n.flags&128)===0}function df(n){if(dn){var r=la;if(r){var l=r;if(!Gm(n,r)){if(ff(n))throw Error(c(418));r=si(l.nextSibling);var f=Ca;r&&Gm(n,r)?Bp(f,l):(n.flags=n.flags&-4097|2,dn=!1,Ca=n)}}else{if(ff(n))throw Error(c(418));n.flags=n.flags&-4097|2,dn=!1,Ca=n}}}function Qm(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Ca=n}function pf(n){if(n!==Ca)return!1;if(!dn)return Qm(n),dn=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!Hs(n.type,n.memoizedProps)),r&&(r=la)){if(ff(n))throw Xm(),Error(c(418));for(;r;)Bp(n,r),r=si(r.nextSibling)}if(Qm(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){la=si(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}la=null}}else la=Ca?si(n.stateNode.nextSibling):null;return!0}function Xm(){for(var n=la;n;)n=si(n.nextSibling)}function Tn(){la=Ca=null,dn=!1}function Ip(n){$a===null?$a=[n]:$a.push(n)}var vf=Se.ReactCurrentBatchConfig;function Ea(n,r){if(n&&n.defaultProps){r=ee({},r),n=n.defaultProps;for(var l in n)r[l]===void 0&&(r[l]=n[l]);return r}return r}var wi=St(null),hf=null,Oo=null,$p=null;function Wp(){$p=Oo=hf=null}function Mo(n){var r=wi.current;Qt(wi),n._currentValue=r}function ur(n,r,l){for(;n!==null;){var f=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,f!==null&&(f.childLanes|=r)):f!==null&&(f.childLanes&r)!==r&&(f.childLanes|=r),n===l)break;n=n.return}}function Ce(n,r){hf=n,$p=Oo=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(In=!0),n.firstContext=null)}function jn(n){var r=n._currentValue;if($p!==n)if(n={context:n,memoizedValue:r,next:null},Oo===null){if(hf===null)throw Error(c(308));Oo=n,hf.dependencies={lanes:0,firstContext:n}}else Oo=Oo.next=n;return r}var yr=null;function Yp(n){yr===null?yr=[n]:yr.push(n)}function Km(n,r,l,f){var h=r.interleaved;return h===null?(l.next=l,Yp(r)):(l.next=h.next,h.next=l),r.interleaved=l,Gi(n,f)}function Gi(n,r){n.lanes|=r;var l=n.alternate;for(l!==null&&(l.lanes|=r),l=n,n=n.return;n!==null;)n.childLanes|=r,l=n.alternate,l!==null&&(l.childLanes|=r),l=n,n=n.return;return l.tag===3?l.stateNode:null}var No=!1;function Zp(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qn(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Qi(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function Ao(n,r,l){var f=n.updateQueue;if(f===null)return null;if(f=f.shared,Nt&2){var h=f.pending;return h===null?r.next=r:(r.next=h.next,h.next=r),f.pending=r,Gi(n,l)}return h=f.interleaved,h===null?(r.next=r,Yp(f)):(r.next=h.next,h.next=r),f.interleaved=r,Gi(n,l)}function mf(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194240)!==0)){var f=r.lanes;f&=n.pendingLanes,l|=f,r.lanes=l,ws(n,l)}}function Gp(n,r){var l=n.updateQueue,f=n.alternate;if(f!==null&&(f=f.updateQueue,l===f)){var h=null,b=null;if(l=l.firstBaseUpdate,l!==null){do{var C={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};b===null?h=b=C:b=b.next=C,l=l.next}while(l!==null);b===null?h=b=r:b=b.next=r}else h=b=r;l={baseState:f.baseState,firstBaseUpdate:h,lastBaseUpdate:b,shared:f.shared,effects:f.effects},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}function Lo(n,r,l,f){var h=n.updateQueue;No=!1;var b=h.firstBaseUpdate,C=h.lastBaseUpdate,D=h.shared.pending;if(D!==null){h.shared.pending=null;var N=D,Y=N.next;N.next=null,C===null?b=Y:C.next=Y,C=N;var ie=n.alternate;ie!==null&&(ie=ie.updateQueue,D=ie.lastBaseUpdate,D!==C&&(D===null?ie.firstBaseUpdate=Y:D.next=Y,ie.lastBaseUpdate=N))}if(b!==null){var ue=h.baseState;C=0,ie=Y=N=null,D=b;do{var re=D.lane,De=D.eventTime;if((f&re)===re){ie!==null&&(ie=ie.next={eventTime:De,lane:0,tag:D.tag,payload:D.payload,callback:D.callback,next:null});e:{var je=n,Be=D;switch(re=r,De=l,Be.tag){case 1:if(je=Be.payload,typeof je=="function"){ue=je.call(De,ue,re);break e}ue=je;break e;case 3:je.flags=je.flags&-65537|128;case 0:if(je=Be.payload,re=typeof je=="function"?je.call(De,ue,re):je,re==null)break e;ue=ee({},ue,re);break e;case 2:No=!0}}D.callback!==null&&D.lane!==0&&(n.flags|=64,re=h.effects,re===null?h.effects=[D]:re.push(D))}else De={eventTime:De,lane:re,tag:D.tag,payload:D.payload,callback:D.callback,next:null},ie===null?(Y=ie=De,N=ue):ie=ie.next=De,C|=re;if(D=D.next,D===null){if(D=h.shared.pending,D===null)break;re=D,D=re.next,re.next=null,h.lastBaseUpdate=re,h.shared.pending=null}}while(1);if(ie===null&&(N=ue),h.baseState=N,h.firstBaseUpdate=Y,h.lastBaseUpdate=ie,r=h.shared.interleaved,r!==null){h=r;do C|=h.lane,h=h.next;while(h!==r)}else b===null&&(h.shared.lanes=0);qi|=C,n.lanes=C,n.memoizedState=ue}}function Sl(n,r,l){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var f=n[r],h=f.callback;if(h!==null){if(f.callback=null,f=l,typeof h!="function")throw Error(c(191,h));h.call(f)}}}var Jm=new i.Component().refs;function Qp(n,r,l,f){r=n.memoizedState,l=l(f,r),l=l==null?r:ee({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var yf={isMounted:function(n){return(n=n._reactInternals)?Ct(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var f=zr(),h=$n(n),b=Qi(f,h);b.payload=r,l!=null&&(b.callback=l),r=Ao(n,b,h),r!==null&&(Ur(r,n,h,f),mf(r,n,h))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var f=zr(),h=$n(n),b=Qi(f,h);b.tag=1,b.payload=r,l!=null&&(b.callback=l),r=Ao(n,b,h),r!==null&&(Ur(r,n,h,f),mf(r,n,h))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=zr(),f=$n(n),h=Qi(l,f);h.tag=2,r!=null&&(h.callback=r),r=Ao(n,h,f),r!==null&&(Ur(r,n,f,l),mf(r,n,f))}};function qm(n,r,l,f,h,b,C){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(f,b,C):r.prototype&&r.prototype.isPureReactComponent?!As(l,f)||!As(h,b):!0}function ey(n,r,l){var f=!1,h=xi,b=r.contextType;return typeof b=="object"&&b!==null?b=jn(b):(h=gn(r)?ra:dt.current,f=r.contextTypes,b=(f=f!=null)?Pa(n,h):xi),r=new r(l,b),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=yf,n.stateNode=r,r._reactInternals=n,f&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=h,n.__reactInternalMemoizedMaskedChildContext=b),r}function ty(n,r,l,f){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,f),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,f),r.state!==n&&yf.enqueueReplaceState(r,r.state,null)}function gf(n,r,l,f){var h=n.stateNode;h.props=l,h.state=n.memoizedState,h.refs=Jm,Zp(n);var b=r.contextType;typeof b=="object"&&b!==null?h.context=jn(b):(b=gn(r)?ra:dt.current,h.context=Pa(n,b)),h.state=n.memoizedState,b=r.getDerivedStateFromProps,typeof b=="function"&&(Qp(n,r,b,l),h.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(r=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),r!==h.state&&yf.enqueueReplaceState(h,h.state,null),Lo(n,l,h,f),h.state=n.memoizedState),typeof h.componentDidMount=="function"&&(n.flags|=4194308)}function Tu(n,r,l){if(n=l.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(c(309));var f=l.stateNode}if(!f)throw Error(c(147,n));var h=f,b=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===b?r.ref:(r=function(C){var D=h.refs;D===Jm&&(D=h.refs={}),C===null?delete D[b]:D[b]=C},r._stringRef=b,r)}if(typeof n!="string")throw Error(c(284));if(!l._owner)throw Error(c(290,n))}return n}function bf(n,r){throw n=Object.prototype.toString.call(r),Error(c(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function ny(n){var r=n._init;return r(n._payload)}function ry(n){function r(V,z){if(n){var B=V.deletions;B===null?(V.deletions=[z],V.flags|=16):B.push(z)}}function l(V,z){if(!n)return null;for(;z!==null;)r(V,z),z=z.sibling;return null}function f(V,z){for(V=new Map;z!==null;)z.key!==null?V.set(z.key,z):V.set(z.index,z),z=z.sibling;return V}function h(V,z){return V=Bo(V,z),V.index=0,V.sibling=null,V}function b(V,z,B){return V.index=B,n?(B=V.alternate,B!==null?(B=B.index,B<z?(V.flags|=2,z):B):(V.flags|=2,z)):(V.flags|=1048576,z)}function C(V){return n&&V.alternate===null&&(V.flags|=2),V}function D(V,z,B,pe){return z===null||z.tag!==6?(z=sc(B,V.mode,pe),z.return=V,z):(z=h(z,B),z.return=V,z)}function N(V,z,B,pe){var Ie=B.type;return Ie===He?ie(V,z,B.props.children,pe,B.key):z!==null&&(z.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===Ze&&ny(Ie)===z.type)?(pe=h(z,B.props),pe.ref=Tu(V,z,B),pe.return=V,pe):(pe=Kf(B.type,B.key,B.props,null,V.mode,pe),pe.ref=Tu(V,z,B),pe.return=V,pe)}function Y(V,z,B,pe){return z===null||z.tag!==4||z.stateNode.containerInfo!==B.containerInfo||z.stateNode.implementation!==B.implementation?(z=Vl(B,V.mode,pe),z.return=V,z):(z=h(z,B.children||[]),z.return=V,z)}function ie(V,z,B,pe,Ie){return z===null||z.tag!==7?(z=Fl(B,V.mode,pe,Ie),z.return=V,z):(z=h(z,B),z.return=V,z)}function ue(V,z,B){if(typeof z=="string"&&z!==""||typeof z=="number")return z=sc(""+z,V.mode,B),z.return=V,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case ze:return B=Kf(z.type,z.key,z.props,null,V.mode,B),B.ref=Tu(V,null,z),B.return=V,B;case gt:return z=Vl(z,V.mode,B),z.return=V,z;case Ze:var pe=z._init;return ue(V,pe(z._payload),B)}if(le(z)||ne(z))return z=Fl(z,V.mode,B,null),z.return=V,z;bf(V,z)}return null}function re(V,z,B,pe){var Ie=z!==null?z.key:null;if(typeof B=="string"&&B!==""||typeof B=="number")return Ie!==null?null:D(V,z,""+B,pe);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case ze:return B.key===Ie?N(V,z,B,pe):null;case gt:return B.key===Ie?Y(V,z,B,pe):null;case Ze:return Ie=B._init,re(V,z,Ie(B._payload),pe)}if(le(B)||ne(B))return Ie!==null?null:ie(V,z,B,pe,null);bf(V,B)}return null}function De(V,z,B,pe,Ie){if(typeof pe=="string"&&pe!==""||typeof pe=="number")return V=V.get(B)||null,D(z,V,""+pe,Ie);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case ze:return V=V.get(pe.key===null?B:pe.key)||null,N(z,V,pe,Ie);case gt:return V=V.get(pe.key===null?B:pe.key)||null,Y(z,V,pe,Ie);case Ze:var Fe=pe._init;return De(V,z,B,Fe(pe._payload),Ie)}if(le(pe)||ne(pe))return V=V.get(B)||null,ie(z,V,pe,Ie,null);bf(z,pe)}return null}function je(V,z,B,pe){for(var Ie=null,Fe=null,Ge=z,pt=z=0,fr=null;Ge!==null&&pt<B.length;pt++){Ge.index>pt?(fr=Ge,Ge=null):fr=Ge.sibling;var It=re(V,Ge,B[pt],pe);if(It===null){Ge===null&&(Ge=fr);break}n&&Ge&&It.alternate===null&&r(V,Ge),z=b(It,z,pt),Fe===null?Ie=It:Fe.sibling=It,Fe=It,Ge=fr}if(pt===B.length)return l(V,Ge),dn&&wa(V,pt),Ie;if(Ge===null){for(;pt<B.length;pt++)Ge=ue(V,B[pt],pe),Ge!==null&&(z=b(Ge,z,pt),Fe===null?Ie=Ge:Fe.sibling=Ge,Fe=Ge);return dn&&wa(V,pt),Ie}for(Ge=f(V,Ge);pt<B.length;pt++)fr=De(Ge,V,pt,B[pt],pe),fr!==null&&(n&&fr.alternate!==null&&Ge.delete(fr.key===null?pt:fr.key),z=b(fr,z,pt),Fe===null?Ie=fr:Fe.sibling=fr,Fe=fr);return n&&Ge.forEach(function(Io){return r(V,Io)}),dn&&wa(V,pt),Ie}function Be(V,z,B,pe){var Ie=ne(B);if(typeof Ie!="function")throw Error(c(150));if(B=Ie.call(B),B==null)throw Error(c(151));for(var Fe=Ie=null,Ge=z,pt=z=0,fr=null,It=B.next();Ge!==null&&!It.done;pt++,It=B.next()){Ge.index>pt?(fr=Ge,Ge=null):fr=Ge.sibling;var Io=re(V,Ge,It.value,pe);if(Io===null){Ge===null&&(Ge=fr);break}n&&Ge&&Io.alternate===null&&r(V,Ge),z=b(Io,z,pt),Fe===null?Ie=Io:Fe.sibling=Io,Fe=Io,Ge=fr}if(It.done)return l(V,Ge),dn&&wa(V,pt),Ie;if(Ge===null){for(;!It.done;pt++,It=B.next())It=ue(V,It.value,pe),It!==null&&(z=b(It,z,pt),Fe===null?Ie=It:Fe.sibling=It,Fe=It);return dn&&wa(V,pt),Ie}for(Ge=f(V,Ge);!It.done;pt++,It=B.next())It=De(Ge,V,pt,It.value,pe),It!==null&&(n&&It.alternate!==null&&Ge.delete(It.key===null?pt:It.key),z=b(It,z,pt),Fe===null?Ie=It:Fe.sibling=It,Fe=It);return n&&Ge.forEach(function(Vb){return r(V,Vb)}),dn&&wa(V,pt),Ie}function Fn(V,z,B,pe){if(typeof B=="object"&&B!==null&&B.type===He&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case ze:e:{for(var Ie=B.key,Fe=z;Fe!==null;){if(Fe.key===Ie){if(Ie=B.type,Ie===He){if(Fe.tag===7){l(V,Fe.sibling),z=h(Fe,B.props.children),z.return=V,V=z;break e}}else if(Fe.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===Ze&&ny(Ie)===Fe.type){l(V,Fe.sibling),z=h(Fe,B.props),z.ref=Tu(V,Fe,B),z.return=V,V=z;break e}l(V,Fe);break}else r(V,Fe);Fe=Fe.sibling}B.type===He?(z=Fl(B.props.children,V.mode,pe,B.key),z.return=V,V=z):(pe=Kf(B.type,B.key,B.props,null,V.mode,pe),pe.ref=Tu(V,z,B),pe.return=V,V=pe)}return C(V);case gt:e:{for(Fe=B.key;z!==null;){if(z.key===Fe)if(z.tag===4&&z.stateNode.containerInfo===B.containerInfo&&z.stateNode.implementation===B.implementation){l(V,z.sibling),z=h(z,B.children||[]),z.return=V,V=z;break e}else{l(V,z);break}else r(V,z);z=z.sibling}z=Vl(B,V.mode,pe),z.return=V,V=z}return C(V);case Ze:return Fe=B._init,Fn(V,z,Fe(B._payload),pe)}if(le(B))return je(V,z,B,pe);if(ne(B))return Be(V,z,B,pe);bf(V,B)}return typeof B=="string"&&B!==""||typeof B=="number"?(B=""+B,z!==null&&z.tag===6?(l(V,z.sibling),z=h(z,B),z.return=V,V=z):(l(V,z),z=sc(B,V.mode,pe),z.return=V,V=z),C(V)):l(V,z)}return Fn}var ku=ry(!0),ay=ry(!1),Ws={},ci=St(Ws),Ys=St(Ws),_u=St(Ws);function xl(n){if(n===Ws)throw Error(c(174));return n}function Xp(n,r){switch(Xt(_u,r),Xt(Ys,n),Xt(ci,Ws),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:On(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=On(r,n)}Qt(ci),Xt(ci,r)}function zo(){Qt(ci),Qt(Ys),Qt(_u)}function at(n){xl(_u.current);var r=xl(ci.current),l=On(r,n.type);r!==l&&(Xt(Ys,n),Xt(ci,l))}function Rt(n){Ys.current===n&&(Qt(ci),Qt(Ys))}var ot=St(0);function kn(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Wa=[];function Sf(){for(var n=0;n<Wa.length;n++)Wa[n]._workInProgressVersionPrimary=null;Wa.length=0}var xf=Se.ReactCurrentDispatcher,Kp=Se.ReactCurrentBatchConfig,wl=0,pn=null,q=null,Ft=null,lt=!1,Ci=!1,Ta=0,Cl=0;function vn(){throw Error(c(321))}function El(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!Va(n[l],r[l]))return!1;return!0}function Uo(n,r,l,f,h,b){if(wl=b,pn=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,xf.current=n===null||n.memoizedState===null?xb:wb,n=l(f,h),Ci){b=0;do{if(Ci=!1,Ta=0,25<=b)throw Error(c(301));b+=1,Ft=q=null,r.updateQueue=null,xf.current=qp,n=l(f,h)}while(Ci)}if(xf.current=jf,r=q!==null&&q.next!==null,wl=0,Ft=q=pn=null,lt=!1,r)throw Error(c(300));return n}function Tl(){var n=Ta!==0;return Ta=0,n}function Ya(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ft===null?pn.memoizedState=Ft=n:Ft=Ft.next=n,Ft}function ua(){if(q===null){var n=pn.alternate;n=n!==null?n.memoizedState:null}else n=q.next;var r=Ft===null?pn.memoizedState:Ft.next;if(r!==null)Ft=r,q=n;else{if(n===null)throw Error(c(310));q=n,n={memoizedState:q.memoizedState,baseState:q.baseState,baseQueue:q.baseQueue,queue:q.queue,next:null},Ft===null?pn.memoizedState=Ft=n:Ft=Ft.next=n}return Ft}function kl(n,r){return typeof r=="function"?r(n):r}function Zs(n){var r=ua(),l=r.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var f=q,h=f.baseQueue,b=l.pending;if(b!==null){if(h!==null){var C=h.next;h.next=b.next,b.next=C}f.baseQueue=h=b,l.pending=null}if(h!==null){b=h.next,f=f.baseState;var D=C=null,N=null,Y=b;do{var ie=Y.lane;if((wl&ie)===ie)N!==null&&(N=N.next={lane:0,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null}),f=Y.hasEagerState?Y.eagerState:n(f,Y.action);else{var ue={lane:ie,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null};N===null?(D=N=ue,C=f):N=N.next=ue,pn.lanes|=ie,qi|=ie}Y=Y.next}while(Y!==null&&Y!==b);N===null?C=f:N.next=D,Va(f,r.memoizedState)||(In=!0),r.memoizedState=f,r.baseState=C,r.baseQueue=N,l.lastRenderedState=f}if(n=l.interleaved,n!==null){h=n;do b=h.lane,pn.lanes|=b,qi|=b,h=h.next;while(h!==n)}else h===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function Gs(n){var r=ua(),l=r.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var f=l.dispatch,h=l.pending,b=r.memoizedState;if(h!==null){l.pending=null;var C=h=h.next;do b=n(b,C.action),C=C.next;while(C!==h);Va(b,r.memoizedState)||(In=!0),r.memoizedState=b,r.baseQueue===null&&(r.baseState=b),l.lastRenderedState=b}return[b,f]}function wf(){}function Cf(n,r){var l=pn,f=ua(),h=r(),b=!Va(f.memoizedState,h);if(b&&(f.memoizedState=h,In=!0),f=f.queue,Qs(kf.bind(null,l,f,n),[n]),f.getSnapshot!==r||b||Ft!==null&&Ft.memoizedState.tag&1){if(l.flags|=2048,_l(9,Tf.bind(null,l,f,h,r),void 0,null),_n===null)throw Error(c(349));wl&30||Ef(l,r,h)}return h}function Ef(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=pn.updateQueue,r===null?(r={lastEffect:null,stores:null},pn.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function Tf(n,r,l,f){r.value=l,r.getSnapshot=f,_f(r)&&Rf(n)}function kf(n,r,l){return l(function(){_f(r)&&Rf(n)})}function _f(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!Va(n,l)}catch{return!0}}function Rf(n){var r=Gi(n,1);r!==null&&Ur(r,n,1,-1)}function Df(n){var r=Ya();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:kl,lastRenderedState:n},r.queue=n,n=n.dispatch=Uf.bind(null,pn,n),[r.memoizedState,n]}function _l(n,r,l,f){return n={tag:n,create:r,destroy:l,deps:f,next:null},r=pn.updateQueue,r===null?(r={lastEffect:null,stores:null},pn.updateQueue=r,r.lastEffect=n.next=n):(l=r.lastEffect,l===null?r.lastEffect=n.next=n:(f=l.next,l.next=n,n.next=f,r.lastEffect=n)),n}function Of(){return ua().memoizedState}function Rl(n,r,l,f){var h=Ya();pn.flags|=n,h.memoizedState=_l(1|r,l,void 0,f===void 0?null:f)}function Xi(n,r,l,f){var h=ua();f=f===void 0?null:f;var b=void 0;if(q!==null){var C=q.memoizedState;if(b=C.destroy,f!==null&&El(f,C.deps)){h.memoizedState=_l(r,l,b,f);return}}pn.flags|=n,h.memoizedState=_l(1|r,l,b,f)}function Mf(n,r){return Rl(8390656,8,n,r)}function Qs(n,r){return Xi(2048,8,n,r)}function Nf(n,r){return Xi(4,2,n,r)}function Af(n,r){return Xi(4,4,n,r)}function Jp(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function Ru(n,r,l){return l=l!=null?l.concat([n]):null,Xi(4,4,Jp.bind(null,r,n),l)}function Lf(){}function Du(n,r){var l=ua();r=r===void 0?null:r;var f=l.memoizedState;return f!==null&&r!==null&&El(r,f[1])?f[0]:(l.memoizedState=[n,r],n)}function jo(n,r){var l=ua();r=r===void 0?null:r;var f=l.memoizedState;return f!==null&&r!==null&&El(r,f[1])?f[0]:(n=n(),l.memoizedState=[n,r],n)}function sa(n,r,l){return wl&21?(Va(l,r)||(l=Ic(),pn.lanes|=l,qi|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,In=!0),n.memoizedState=l)}function Sb(n,r){var l=en;en=l!==0&&4>l?l:4,n(!0);var f=Kp.transition;Kp.transition={};try{n(!1),r()}finally{en=l,Kp.transition=f}}function un(){return ua().memoizedState}function zf(n,r,l){var f=$n(n);if(l={lane:f,action:l,hasEagerState:!1,eagerState:null,next:null},Ou(n))Xs(r,l);else if(l=Km(n,r,l,f),l!==null){var h=zr();Ur(l,n,f,h),iy(l,r,f)}}function Uf(n,r,l){var f=$n(n),h={lane:f,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ou(n))Xs(r,h);else{var b=n.alternate;if(n.lanes===0&&(b===null||b.lanes===0)&&(b=r.lastRenderedReducer,b!==null))try{var C=r.lastRenderedState,D=b(C,l);if(h.hasEagerState=!0,h.eagerState=D,Va(D,C)){var N=r.interleaved;N===null?(h.next=h,Yp(r)):(h.next=N.next,N.next=h),r.interleaved=h;return}}catch{}finally{}l=Km(n,r,h,f),l!==null&&(h=zr(),Ur(l,n,f,h),iy(l,r,f))}}function Ou(n){var r=n.alternate;return n===pn||r!==null&&r===pn}function Xs(n,r){Ci=lt=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function iy(n,r,l){if(l&4194240){var f=r.lanes;f&=n.pendingLanes,l|=f,r.lanes=l,ws(n,l)}}var jf={readContext:jn,useCallback:vn,useContext:vn,useEffect:vn,useImperativeHandle:vn,useInsertionEffect:vn,useLayoutEffect:vn,useMemo:vn,useReducer:vn,useRef:vn,useState:vn,useDebugValue:vn,useDeferredValue:vn,useTransition:vn,useMutableSource:vn,useSyncExternalStore:vn,useId:vn,unstable_isNewReconciler:!1},xb={readContext:jn,useCallback:function(n,r){return Ya().memoizedState=[n,r===void 0?null:r],n},useContext:jn,useEffect:Mf,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,Rl(4194308,4,Jp.bind(null,r,n),l)},useLayoutEffect:function(n,r){return Rl(4194308,4,n,r)},useInsertionEffect:function(n,r){return Rl(4,2,n,r)},useMemo:function(n,r){var l=Ya();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var f=Ya();return r=l!==void 0?l(r):r,f.memoizedState=f.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},f.queue=n,n=n.dispatch=zf.bind(null,pn,n),[f.memoizedState,n]},useRef:function(n){var r=Ya();return n={current:n},r.memoizedState=n},useState:Df,useDebugValue:Lf,useDeferredValue:function(n){return Ya().memoizedState=n},useTransition:function(){var n=Df(!1),r=n[0];return n=Sb.bind(null,n[1]),Ya().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var f=pn,h=Ya();if(dn){if(l===void 0)throw Error(c(407));l=l()}else{if(l=r(),_n===null)throw Error(c(349));wl&30||Ef(f,r,l)}h.memoizedState=l;var b={value:l,getSnapshot:r};return h.queue=b,Mf(kf.bind(null,f,b,n),[n]),f.flags|=2048,_l(9,Tf.bind(null,f,b,l,r),void 0,null),l},useId:function(){var n=Ya(),r=_n.identifierPrefix;if(dn){var l=Zi,f=mr;l=(f&~(1<<32-Ua(f)-1)).toString(32)+l,r=":"+r+"R"+l,l=Ta++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=Cl++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},wb={readContext:jn,useCallback:Du,useContext:jn,useEffect:Qs,useImperativeHandle:Ru,useInsertionEffect:Nf,useLayoutEffect:Af,useMemo:jo,useReducer:Zs,useRef:Of,useState:function(){return Zs(kl)},useDebugValue:Lf,useDeferredValue:function(n){var r=ua();return sa(r,q.memoizedState,n)},useTransition:function(){var n=Zs(kl)[0],r=ua().memoizedState;return[n,r]},useMutableSource:wf,useSyncExternalStore:Cf,useId:un,unstable_isNewReconciler:!1},qp={readContext:jn,useCallback:Du,useContext:jn,useEffect:Qs,useImperativeHandle:Ru,useInsertionEffect:Nf,useLayoutEffect:Af,useMemo:jo,useReducer:Gs,useRef:Of,useState:function(){return Gs(kl)},useDebugValue:Lf,useDeferredValue:function(n){var r=ua();return q===null?r.memoizedState=n:sa(r,q.memoizedState,n)},useTransition:function(){var n=Gs(kl)[0],r=ua().memoizedState;return[n,r]},useMutableSource:wf,useSyncExternalStore:Cf,useId:un,unstable_isNewReconciler:!1};function Mu(n,r){try{var l="",f=r;do l+=Pt(f),f=f.return;while(f);var h=l}catch(b){h=`
|
|
31
|
-
Error generating stack: `+b.message+`
|
|
32
|
-
`+b.stack}return{value:n,source:r,stack:h,digest:null}}function Ks(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function Ff(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var Cb=typeof WeakMap=="function"?WeakMap:Map;function oy(n,r,l){l=Qi(-1,l),l.tag=3,l.payload={element:null};var f=r.value;return l.callback=function(){Wf||(Wf=!0,Al=f),Ff(n,r)},l}function Js(n,r,l){l=Qi(-1,l),l.tag=3;var f=n.type.getDerivedStateFromError;if(typeof f=="function"){var h=r.value;l.payload=function(){return f(h)},l.callback=function(){Ff(n,r)}}var b=n.stateNode;return b!==null&&typeof b.componentDidCatch=="function"&&(l.callback=function(){Ff(n,r),typeof f!="function"&&(ki===null?ki=new Set([this]):ki.add(this));var C=r.stack;this.componentDidCatch(r.value,{componentStack:C!==null?C:""})}),l}function ly(n,r,l){var f=n.pingCache;if(f===null){f=n.pingCache=new Cb;var h=new Set;f.set(r,h)}else h=f.get(r),h===void 0&&(h=new Set,f.set(r,h));h.has(l)||(h.add(l),n=Ob.bind(null,n,r,l),r.then(n,n))}function ev(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function tv(n,r,l,f,h){return n.mode&1?(n.flags|=65536,n.lanes=h,n):(n===r?n.flags|=65536:(n.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(r=Qi(-1,1),r.tag=2,Ao(l,r,1))),l.lanes|=1),n)}var Eb=Se.ReactCurrentOwner,In=!1;function Xn(n,r,l,f){r.child=n===null?ay(r,null,l,f):ku(r,n.child,l,f)}function Fo(n,r,l,f,h){l=l.render;var b=r.ref;return Ce(r,h),f=Uo(n,r,l,f,b,h),l=Tl(),n!==null&&!In?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~h,gr(n,r,h)):(dn&&l&&cf(r),r.flags|=1,Xn(n,r,f,h),r.child)}function Vf(n,r,l,f,h){if(n===null){var b=l.type;return typeof b=="function"&&!Sv(b)&&b.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=b,ca(n,r,b,f,h)):(n=Kf(l.type,null,f,r,r.mode,h),n.ref=r.ref,n.return=r,r.child=n)}if(b=n.child,!(n.lanes&h)){var C=b.memoizedProps;if(l=l.compare,l=l!==null?l:As,l(C,f)&&n.ref===r.ref)return gr(n,r,h)}return r.flags|=1,n=Bo(b,f),n.ref=r.ref,n.return=r,r.child=n}function ca(n,r,l,f,h){if(n!==null){var b=n.memoizedProps;if(As(b,f)&&n.ref===r.ref)if(In=!1,r.pendingProps=f=b,(n.lanes&h)!==0)n.flags&131072&&(In=!0);else return r.lanes=n.lanes,gr(n,r,h)}return Nu(n,r,l,f,h)}function Dl(n,r,l){var f=r.pendingProps,h=f.children,b=n!==null?n.memoizedState:null;if(f.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Xt(Fu,ka),ka|=l;else{if(!(l&1073741824))return n=b!==null?b.baseLanes|l:l,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,Xt(Fu,ka),ka|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},f=b!==null?b.baseLanes:l,Xt(Fu,ka),ka|=f}else b!==null?(f=b.baseLanes|l,r.memoizedState=null):f=l,Xt(Fu,ka),ka|=f;return Xn(n,r,h,l),r.child}function xt(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function Nu(n,r,l,f,h){var b=gn(l)?ra:dt.current;return b=Pa(r,b),Ce(r,h),l=Uo(n,r,l,f,b,h),f=Tl(),n!==null&&!In?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~h,gr(n,r,h)):(dn&&f&&cf(r),r.flags|=1,Xn(n,r,l,h),r.child)}function nv(n,r,l,f,h){if(gn(l)){var b=!0;sf(r)}else b=!1;if(Ce(r,h),r.stateNode===null)Nr(n,r),ey(r,l,f),gf(r,l,f,h),f=!0;else if(n===null){var C=r.stateNode,D=r.memoizedProps;C.props=D;var N=C.context,Y=l.contextType;typeof Y=="object"&&Y!==null?Y=jn(Y):(Y=gn(l)?ra:dt.current,Y=Pa(r,Y));var ie=l.getDerivedStateFromProps,ue=typeof ie=="function"||typeof C.getSnapshotBeforeUpdate=="function";ue||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(D!==f||N!==Y)&&ty(r,C,f,Y),No=!1;var re=r.memoizedState;C.state=re,Lo(r,f,C,h),N=r.memoizedState,D!==f||re!==N||Mn.current||No?(typeof ie=="function"&&(Qp(r,l,ie,f),N=r.memoizedState),(D=No||qm(r,l,D,f,re,N,Y))?(ue||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"&&(r.flags|=4194308)):(typeof C.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=f,r.memoizedState=N),C.props=f,C.state=N,C.context=Y,f=D):(typeof C.componentDidMount=="function"&&(r.flags|=4194308),f=!1)}else{C=r.stateNode,Qn(n,r),D=r.memoizedProps,Y=r.type===r.elementType?D:Ea(r.type,D),C.props=Y,ue=r.pendingProps,re=C.context,N=l.contextType,typeof N=="object"&&N!==null?N=jn(N):(N=gn(l)?ra:dt.current,N=Pa(r,N));var De=l.getDerivedStateFromProps;(ie=typeof De=="function"||typeof C.getSnapshotBeforeUpdate=="function")||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(D!==ue||re!==N)&&ty(r,C,f,N),No=!1,re=r.memoizedState,C.state=re,Lo(r,f,C,h);var je=r.memoizedState;D!==ue||re!==je||Mn.current||No?(typeof De=="function"&&(Qp(r,l,De,f),je=r.memoizedState),(Y=No||qm(r,l,Y,f,re,je,N)||!1)?(ie||typeof C.UNSAFE_componentWillUpdate!="function"&&typeof C.componentWillUpdate!="function"||(typeof C.componentWillUpdate=="function"&&C.componentWillUpdate(f,je,N),typeof C.UNSAFE_componentWillUpdate=="function"&&C.UNSAFE_componentWillUpdate(f,je,N)),typeof C.componentDidUpdate=="function"&&(r.flags|=4),typeof C.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof C.componentDidUpdate!="function"||D===n.memoizedProps&&re===n.memoizedState||(r.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||D===n.memoizedProps&&re===n.memoizedState||(r.flags|=1024),r.memoizedProps=f,r.memoizedState=je),C.props=f,C.state=je,C.context=N,f=Y):(typeof C.componentDidUpdate!="function"||D===n.memoizedProps&&re===n.memoizedState||(r.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||D===n.memoizedProps&&re===n.memoizedState||(r.flags|=1024),f=!1)}return uy(n,r,l,f,b,h)}function uy(n,r,l,f,h,b){xt(n,r);var C=(r.flags&128)!==0;if(!f&&!C)return h&&Zm(r,l,!1),gr(n,r,b);f=r.stateNode,Eb.current=r;var D=C&&typeof l.getDerivedStateFromError!="function"?null:f.render();return r.flags|=1,n!==null&&C?(r.child=ku(r,n.child,null,b),r.child=ku(r,null,D,b)):Xn(n,r,D,b),r.memoizedState=f.state,h&&Zm(r,l,!0),r.child}function sy(n){var r=n.stateNode;r.pendingContext?Ro(n,r.pendingContext,r.pendingContext!==r.context):r.context&&Ro(n,r.context,!1),Xp(n,r.containerInfo)}function Hf(n,r,l,f,h){return Tn(),Ip(h),r.flags|=256,Xn(n,r,l,f),r.child}var Ol={dehydrated:null,treeContext:null,retryLane:0};function rv(n){return{baseLanes:n,cachePool:null,transitions:null}}function av(n,r,l){var f=r.pendingProps,h=ot.current,b=!1,C=(r.flags&128)!==0,D;if((D=C)||(D=n!==null&&n.memoizedState===null?!1:(h&2)!==0),D?(b=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(h|=1),Xt(ot,h&1),n===null)return df(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(C=f.children,n=f.fallback,b?(f=r.mode,b=r.child,C={mode:"hidden",children:C},!(f&1)&&b!==null?(b.childLanes=0,b.pendingProps=C):b=uc(C,f,0,null),n=Fl(n,f,l,null),b.return=r,n.return=r,b.sibling=n,r.child=b,r.child.memoizedState=rv(l),r.memoizedState=Ol,n):iv(r,C));if(h=n.memoizedState,h!==null&&(D=h.dehydrated,D!==null))return Tb(n,r,C,f,D,h,l);if(b){b=f.fallback,C=r.mode,h=n.child,D=h.sibling;var N={mode:"hidden",children:f.children};return!(C&1)&&r.child!==h?(f=r.child,f.childLanes=0,f.pendingProps=N,r.deletions=null):(f=Bo(h,N),f.subtreeFlags=h.subtreeFlags&14680064),D!==null?b=Bo(D,b):(b=Fl(b,C,l,null),b.flags|=2),b.return=r,f.return=r,f.sibling=b,r.child=f,f=b,b=r.child,C=n.child.memoizedState,C=C===null?rv(l):{baseLanes:C.baseLanes|l,cachePool:null,transitions:C.transitions},b.memoizedState=C,b.childLanes=n.childLanes&~l,r.memoizedState=Ol,f}return b=n.child,n=b.sibling,f=Bo(b,{mode:"visible",children:f.children}),!(r.mode&1)&&(f.lanes=l),f.return=r,f.sibling=null,n!==null&&(l=r.deletions,l===null?(r.deletions=[n],r.flags|=16):l.push(n)),r.child=f,r.memoizedState=null,f}function iv(n,r){return r=uc({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function Au(n,r,l,f){return f!==null&&Ip(f),ku(r,n.child,null,l),n=iv(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Tb(n,r,l,f,h,b,C){if(l)return r.flags&256?(r.flags&=-257,f=Ks(Error(c(422))),Au(n,r,C,f)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(b=f.fallback,h=r.mode,f=uc({mode:"visible",children:f.children},h,0,null),b=Fl(b,h,C,null),b.flags|=2,f.return=r,b.return=r,f.sibling=b,r.child=f,r.mode&1&&ku(r,n.child,null,C),r.child.memoizedState=rv(C),r.memoizedState=Ol,b);if(!(r.mode&1))return Au(n,r,C,null);if(h.data==="$!"){if(f=h.nextSibling&&h.nextSibling.dataset,f)var D=f.dgst;return f=D,b=Error(c(419)),f=Ks(b,f,void 0),Au(n,r,C,f)}if(D=(C&n.childLanes)!==0,In||D){if(f=_n,f!==null){switch(C&-C){case 4:h=2;break;case 16:h=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h=32;break;case 536870912:h=268435456;break;default:h=0}h=h&(f.suspendedLanes|C)?0:h,h!==0&&h!==b.retryLane&&(b.retryLane=h,Gi(n,h),Ur(f,n,h,-1))}return yv(),f=Ks(Error(c(421))),Au(n,r,C,f)}return h.data==="$?"?(r.flags|=128,r.child=n.child,r=Mb.bind(null,n),h._reactRetry=r,null):(n=b.treeContext,la=si(h.nextSibling),Ca=r,dn=!0,$a=null,n!==null&&(oa[Mr++]=mr,oa[Mr++]=Zi,oa[Mr++]=Ia,mr=n.id,Zi=n.overflow,Ia=r),r=iv(r,f.children),r.flags|=4096,r)}function ov(n,r,l){n.lanes|=r;var f=n.alternate;f!==null&&(f.lanes|=r),ur(n.return,r,l)}function Pf(n,r,l,f,h){var b=n.memoizedState;b===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:f,tail:l,tailMode:h}:(b.isBackwards=r,b.rendering=null,b.renderingStartTime=0,b.last=f,b.tail=l,b.tailMode=h)}function lv(n,r,l){var f=r.pendingProps,h=f.revealOrder,b=f.tail;if(Xn(n,r,f.children,l),f=ot.current,f&2)f=f&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&ov(n,l,r);else if(n.tag===19)ov(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}f&=1}if(Xt(ot,f),!(r.mode&1))r.memoizedState=null;else switch(h){case"forwards":for(l=r.child,h=null;l!==null;)n=l.alternate,n!==null&&kn(n)===null&&(h=l),l=l.sibling;l=h,l===null?(h=r.child,r.child=null):(h=l.sibling,l.sibling=null),Pf(r,!1,h,l,b);break;case"backwards":for(l=null,h=r.child,r.child=null;h!==null;){if(n=h.alternate,n!==null&&kn(n)===null){r.child=h;break}n=h.sibling,h.sibling=l,l=h,h=n}Pf(r,!0,l,null,b);break;case"together":Pf(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Nr(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function gr(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),qi|=r.lanes,!(l&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(c(153));if(r.child!==null){for(n=r.child,l=Bo(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=Bo(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Ki(n,r,l){switch(r.tag){case 3:sy(r),Tn();break;case 5:at(r);break;case 1:gn(r.type)&&sf(r);break;case 4:Xp(r,r.stateNode.containerInfo);break;case 10:var f=r.type._context,h=r.memoizedProps.value;Xt(wi,f._currentValue),f._currentValue=h;break;case 13:if(f=r.memoizedState,f!==null)return f.dehydrated!==null?(Xt(ot,ot.current&1),r.flags|=128,null):l&r.child.childLanes?av(n,r,l):(Xt(ot,ot.current&1),n=gr(n,r,l),n!==null?n.sibling:null);Xt(ot,ot.current&1);break;case 19:if(f=(l&r.childLanes)!==0,n.flags&128){if(f)return lv(n,r,l);r.flags|=128}if(h=r.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),Xt(ot,ot.current),f)break;return null;case 22:case 23:return r.lanes=0,Dl(n,r,l)}return gr(n,r,l)}var qs,Ml,Za,Kn;qs=function(n,r){for(var l=r.child;l!==null;){if(l.tag===5||l.tag===6)n.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Ml=function(){},Za=function(n,r,l,f){var h=n.memoizedProps;if(h!==f){n=r.stateNode,xl(ci.current);var b=null;switch(l){case"input":h=nr(n,h),f=nr(n,f),b=[];break;case"select":h=ee({},h,{value:void 0}),f=ee({},f,{value:void 0}),b=[];break;case"textarea":h=$t(n,h),f=$t(n,f),b=[];break;default:typeof h.onClick!="function"&&typeof f.onClick=="function"&&(n.onclick=uf)}rr(l,f);var C;l=null;for(Y in h)if(!f.hasOwnProperty(Y)&&h.hasOwnProperty(Y)&&h[Y]!=null)if(Y==="style"){var D=h[Y];for(C in D)D.hasOwnProperty(C)&&(l||(l={}),l[C]="")}else Y!=="dangerouslySetInnerHTML"&&Y!=="children"&&Y!=="suppressContentEditableWarning"&&Y!=="suppressHydrationWarning"&&Y!=="autoFocus"&&(v.hasOwnProperty(Y)?b||(b=[]):(b=b||[]).push(Y,null));for(Y in f){var N=f[Y];if(D=h!=null?h[Y]:void 0,f.hasOwnProperty(Y)&&N!==D&&(N!=null||D!=null))if(Y==="style")if(D){for(C in D)!D.hasOwnProperty(C)||N&&N.hasOwnProperty(C)||(l||(l={}),l[C]="");for(C in N)N.hasOwnProperty(C)&&D[C]!==N[C]&&(l||(l={}),l[C]=N[C])}else l||(b||(b=[]),b.push(Y,l)),l=N;else Y==="dangerouslySetInnerHTML"?(N=N?N.__html:void 0,D=D?D.__html:void 0,N!=null&&D!==N&&(b=b||[]).push(Y,N)):Y==="children"?typeof N!="string"&&typeof N!="number"||(b=b||[]).push(Y,""+N):Y!=="suppressContentEditableWarning"&&Y!=="suppressHydrationWarning"&&(v.hasOwnProperty(Y)?(N!=null&&Y==="onScroll"&&ln("scroll",n),b||D===N||(b=[])):(b=b||[]).push(Y,N))}l&&(b=b||[]).push("style",l);var Y=b;(r.updateQueue=Y)&&(r.flags|=4)}},Kn=function(n,r,l,f){l!==f&&(r.flags|=4)};function ec(n,r){if(!dn)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var f=null;l!==null;)l.alternate!==null&&(f=l),l=l.sibling;f===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:f.sibling=null}}function Ar(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,f=0;if(r)for(var h=n.child;h!==null;)l|=h.lanes|h.childLanes,f|=h.subtreeFlags&14680064,f|=h.flags&14680064,h.return=n,h=h.sibling;else for(h=n.child;h!==null;)l|=h.lanes|h.childLanes,f|=h.subtreeFlags,f|=h.flags,h.return=n,h=h.sibling;return n.subtreeFlags|=f,n.childLanes=l,r}function kb(n,r,l){var f=r.pendingProps;switch(Pp(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ar(r),null;case 1:return gn(r.type)&&Ba(),Ar(r),null;case 3:return f=r.stateNode,zo(),Qt(Mn),Qt(dt),Sf(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(n===null||n.child===null)&&(pf(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,$a!==null&&(lc($a),$a=null))),Ml(n,r),Ar(r),null;case 5:Rt(r);var h=xl(_u.current);if(l=r.type,n!==null&&r.stateNode!=null)Za(n,r,l,f,h),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!f){if(r.stateNode===null)throw Error(c(166));return Ar(r),null}if(n=xl(ci.current),pf(r)){f=r.stateNode,l=r.type;var b=r.memoizedProps;switch(f[Si]=r,f[gl]=b,n=(r.mode&1)!==0,l){case"dialog":ln("cancel",f),ln("close",f);break;case"iframe":case"object":case"embed":ln("load",f);break;case"video":case"audio":for(h=0;h<js.length;h++)ln(js[h],f);break;case"source":ln("error",f);break;case"img":case"image":case"link":ln("error",f),ln("load",f);break;case"details":ln("toggle",f);break;case"input":A(f,b),ln("invalid",f);break;case"select":f._wrapperState={wasMultiple:!!b.multiple},ln("invalid",f);break;case"textarea":zt(f,b),ln("invalid",f)}rr(l,b),h=null;for(var C in b)if(b.hasOwnProperty(C)){var D=b[C];C==="children"?typeof D=="string"?f.textContent!==D&&(b.suppressHydrationWarning!==!0&&lf(f.textContent,D,n),h=["children",D]):typeof D=="number"&&f.textContent!==""+D&&(b.suppressHydrationWarning!==!0&&lf(f.textContent,D,n),h=["children",""+D]):v.hasOwnProperty(C)&&D!=null&&C==="onScroll"&&ln("scroll",f)}switch(l){case"input":Zn(f),be(f,b,!0);break;case"textarea":Zn(f),hr(f);break;case"select":case"option":break;default:typeof b.onClick=="function"&&(f.onclick=uf)}f=h,r.updateQueue=f,f!==null&&(r.flags|=4)}else{C=h.nodeType===9?h:h.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Pr(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=C.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof f.is=="string"?n=C.createElement(l,{is:f.is}):(n=C.createElement(l),l==="select"&&(C=n,f.multiple?C.multiple=!0:f.size&&(C.size=f.size))):n=C.createElementNS(n,l),n[Si]=r,n[gl]=f,qs(n,r,!1,!1),r.stateNode=n;e:{switch(C=Un(l,f),l){case"dialog":ln("cancel",n),ln("close",n),h=f;break;case"iframe":case"object":case"embed":ln("load",n),h=f;break;case"video":case"audio":for(h=0;h<js.length;h++)ln(js[h],n);h=f;break;case"source":ln("error",n),h=f;break;case"img":case"image":case"link":ln("error",n),ln("load",n),h=f;break;case"details":ln("toggle",n),h=f;break;case"input":A(n,f),h=nr(n,f),ln("invalid",n);break;case"option":h=f;break;case"select":n._wrapperState={wasMultiple:!!f.multiple},h=ee({},f,{value:void 0}),ln("invalid",n);break;case"textarea":zt(n,f),h=$t(n,f),ln("invalid",n);break;default:h=f}rr(l,h),D=h;for(b in D)if(D.hasOwnProperty(b)){var N=D[b];b==="style"?qt(n,N):b==="dangerouslySetInnerHTML"?(N=N?N.__html:void 0,N!=null&&gi(n,N)):b==="children"?typeof N=="string"?(l!=="textarea"||N!=="")&&ea(n,N):typeof N=="number"&&ea(n,""+N):b!=="suppressContentEditableWarning"&&b!=="suppressHydrationWarning"&&b!=="autoFocus"&&(v.hasOwnProperty(b)?N!=null&&b==="onScroll"&&ln("scroll",n):N!=null&&de(n,b,N,C))}switch(l){case"input":Zn(n),be(n,f,!1);break;case"textarea":Zn(n),hr(n);break;case"option":f.value!=null&&n.setAttribute("value",""+Cn(f.value));break;case"select":n.multiple=!!f.multiple,b=f.value,b!=null?Pe(n,!!f.multiple,b,!1):f.defaultValue!=null&&Pe(n,!!f.multiple,f.defaultValue,!0);break;default:typeof h.onClick=="function"&&(n.onclick=uf)}switch(l){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}}f&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return Ar(r),null;case 6:if(n&&r.stateNode!=null)Kn(n,r,n.memoizedProps,f);else{if(typeof f!="string"&&r.stateNode===null)throw Error(c(166));if(l=xl(_u.current),xl(ci.current),pf(r)){if(f=r.stateNode,l=r.memoizedProps,f[Si]=r,(b=f.nodeValue!==l)&&(n=Ca,n!==null))switch(n.tag){case 3:lf(f.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&lf(f.nodeValue,l,(n.mode&1)!==0)}b&&(r.flags|=4)}else f=(l.nodeType===9?l:l.ownerDocument).createTextNode(f),f[Si]=r,r.stateNode=f}return Ar(r),null;case 13:if(Qt(ot),f=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(dn&&la!==null&&r.mode&1&&!(r.flags&128))Xm(),Tn(),r.flags|=98560,b=!1;else if(b=pf(r),f!==null&&f.dehydrated!==null){if(n===null){if(!b)throw Error(c(318));if(b=r.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(c(317));b[Si]=r}else Tn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;Ar(r),b=!1}else $a!==null&&(lc($a),$a=null),b=!0;if(!b)return r.flags&65536?r:null}return r.flags&128?(r.lanes=l,r):(f=f!==null,f!==(n!==null&&n.memoizedState!==null)&&f&&(r.child.flags|=8192,r.mode&1&&(n===null||ot.current&1?qn===0&&(qn=3):yv())),r.updateQueue!==null&&(r.flags|=4),Ar(r),null);case 4:return zo(),Ml(n,r),n===null&&wu(r.stateNode.containerInfo),Ar(r),null;case 10:return Mo(r.type._context),Ar(r),null;case 17:return gn(r.type)&&Ba(),Ar(r),null;case 19:if(Qt(ot),b=r.memoizedState,b===null)return Ar(r),null;if(f=(r.flags&128)!==0,C=b.rendering,C===null)if(f)ec(b,!1);else{if(qn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(C=kn(n),C!==null){for(r.flags|=128,ec(b,!1),f=C.updateQueue,f!==null&&(r.updateQueue=f,r.flags|=4),r.subtreeFlags=0,f=l,l=r.child;l!==null;)b=l,n=f,b.flags&=14680066,C=b.alternate,C===null?(b.childLanes=0,b.lanes=n,b.child=null,b.subtreeFlags=0,b.memoizedProps=null,b.memoizedState=null,b.updateQueue=null,b.dependencies=null,b.stateNode=null):(b.childLanes=C.childLanes,b.lanes=C.lanes,b.child=C.child,b.subtreeFlags=0,b.deletions=null,b.memoizedProps=C.memoizedProps,b.memoizedState=C.memoizedState,b.updateQueue=C.updateQueue,b.type=C.type,n=C.dependencies,b.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return Xt(ot,ot.current&1|2),r.child}n=n.sibling}b.tail!==null&&Wt()>Hu&&(r.flags|=128,f=!0,ec(b,!1),r.lanes=4194304)}else{if(!f)if(n=kn(C),n!==null){if(r.flags|=128,f=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),ec(b,!0),b.tail===null&&b.tailMode==="hidden"&&!C.alternate&&!dn)return Ar(r),null}else 2*Wt()-b.renderingStartTime>Hu&&l!==1073741824&&(r.flags|=128,f=!0,ec(b,!1),r.lanes=4194304);b.isBackwards?(C.sibling=r.child,r.child=C):(l=b.last,l!==null?l.sibling=C:r.child=C,b.last=C)}return b.tail!==null?(r=b.tail,b.rendering=r,b.tail=r.sibling,b.renderingStartTime=Wt(),r.sibling=null,l=ot.current,Xt(ot,f?l&1|2:l&1),r):(Ar(r),null);case 22:case 23:return mv(),f=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==f&&(r.flags|=8192),f&&r.mode&1?ka&1073741824&&(Ar(r),r.subtreeFlags&6&&(r.flags|=8192)):Ar(r),null;case 24:return null;case 25:return null}throw Error(c(156,r.tag))}function uv(n,r){switch(Pp(r),r.tag){case 1:return gn(r.type)&&Ba(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return zo(),Qt(Mn),Qt(dt),Sf(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return Rt(r),null;case 13:if(Qt(ot),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(c(340));Tn()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return Qt(ot),null;case 4:return zo(),null;case 10:return Mo(r.type._context),null;case 22:case 23:return mv(),null;case 24:return null;default:return null}}var tc=!1,Jn=!1,cy=typeof WeakSet=="function"?WeakSet:Set,Ue=null;function Lu(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(f){An(n,r,f)}else l.current=null}function nc(n,r,l){try{l()}catch(f){An(n,r,f)}}var fy=!1;function dy(n,r){if(Ap=fl,n=tf(),Ii(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var f=l.getSelection&&l.getSelection();if(f&&f.rangeCount!==0){l=f.anchorNode;var h=f.anchorOffset,b=f.focusNode;f=f.focusOffset;try{l.nodeType,b.nodeType}catch{l=null;break e}var C=0,D=-1,N=-1,Y=0,ie=0,ue=n,re=null;t:for(;;){for(var De;ue!==l||h!==0&&ue.nodeType!==3||(D=C+h),ue!==b||f!==0&&ue.nodeType!==3||(N=C+f),ue.nodeType===3&&(C+=ue.nodeValue.length),(De=ue.firstChild)!==null;)re=ue,ue=De;for(;;){if(ue===n)break t;if(re===l&&++Y===h&&(D=C),re===b&&++ie===f&&(N=C),(De=ue.nextSibling)!==null)break;ue=re,re=ue.parentNode}ue=De}l=D===-1||N===-1?null:{start:D,end:N}}else l=null}l=l||{start:0,end:0}}else l=null;for(ml={focusedElem:n,selectionRange:l},fl=!1,Ue=r;Ue!==null;)if(r=Ue,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Ue=n;else for(;Ue!==null;){r=Ue;try{var je=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(je!==null){var Be=je.memoizedProps,Fn=je.memoizedState,V=r.stateNode,z=V.getSnapshotBeforeUpdate(r.elementType===r.type?Be:Ea(r.type,Be),Fn);V.__reactInternalSnapshotBeforeUpdate=z}break;case 3:var B=r.stateNode.containerInfo;B.nodeType===1?B.textContent="":B.nodeType===9&&B.documentElement&&B.removeChild(B.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(c(163))}}catch(pe){An(r,r.return,pe)}if(n=r.sibling,n!==null){n.return=r.return,Ue=n;break}Ue=r.return}return je=fy,fy=!1,je}function rc(n,r,l){var f=r.updateQueue;if(f=f!==null?f.lastEffect:null,f!==null){var h=f=f.next;do{if((h.tag&n)===n){var b=h.destroy;h.destroy=void 0,b!==void 0&&nc(r,l,b)}h=h.next}while(h!==f)}}function ac(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&n)===n){var f=l.create;l.destroy=f()}l=l.next}while(l!==r)}}function sv(n){var r=n.ref;if(r!==null){var l=n.stateNode;switch(n.tag){case 5:n=l;break;default:n=l}typeof r=="function"?r(n):r.current=n}}function cv(n){var r=n.alternate;r!==null&&(n.alternate=null,cv(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Si],delete r[gl],delete r[Up],delete r[bb],delete r[jp])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function py(n){return n.tag===5||n.tag===3||n.tag===4}function Bf(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||py(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function zu(n,r,l){var f=n.tag;if(f===5||f===6)n=n.stateNode,r?l.nodeType===8?l.parentNode.insertBefore(n,r):l.insertBefore(n,r):(l.nodeType===8?(r=l.parentNode,r.insertBefore(n,l)):(r=l,r.appendChild(n)),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=uf));else if(f!==4&&(n=n.child,n!==null))for(zu(n,r,l),n=n.sibling;n!==null;)zu(n,r,l),n=n.sibling}function Ei(n,r,l){var f=n.tag;if(f===5||f===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(f!==4&&(n=n.child,n!==null))for(Ei(n,r,l),n=n.sibling;n!==null;)Ei(n,r,l),n=n.sibling}var bn=null,sr=!1;function Ga(n,r,l){for(l=l.child;l!==null;)Uu(n,r,l),l=l.sibling}function Uu(n,r,l){if(ai&&typeof ai.onCommitFiberUnmount=="function")try{ai.onCommitFiberUnmount(xs,l)}catch{}switch(l.tag){case 5:Jn||Lu(l,r);case 6:var f=bn,h=sr;bn=null,Ga(n,r,l),bn=f,sr=h,bn!==null&&(sr?(n=bn,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):bn.removeChild(l.stateNode));break;case 18:bn!==null&&(sr?(n=bn,l=l.stateNode,n.nodeType===8?To(n.parentNode,l):n.nodeType===1&&To(n,l),ks(n)):To(bn,l.stateNode));break;case 4:f=bn,h=sr,bn=l.stateNode.containerInfo,sr=!0,Ga(n,r,l),bn=f,sr=h;break;case 0:case 11:case 14:case 15:if(!Jn&&(f=l.updateQueue,f!==null&&(f=f.lastEffect,f!==null))){h=f=f.next;do{var b=h,C=b.destroy;b=b.tag,C!==void 0&&(b&2||b&4)&&nc(l,r,C),h=h.next}while(h!==f)}Ga(n,r,l);break;case 1:if(!Jn&&(Lu(l,r),f=l.stateNode,typeof f.componentWillUnmount=="function"))try{f.props=l.memoizedProps,f.state=l.memoizedState,f.componentWillUnmount()}catch(D){An(l,r,D)}Ga(n,r,l);break;case 21:Ga(n,r,l);break;case 22:l.mode&1?(Jn=(f=Jn)||l.memoizedState!==null,Ga(n,r,l),Jn=f):Ga(n,r,l);break;default:Ga(n,r,l)}}function Ji(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new cy),r.forEach(function(f){var h=Nb.bind(null,n,f);l.has(f)||(l.add(f),f.then(h,h))})}}function fi(n,r){var l=r.deletions;if(l!==null)for(var f=0;f<l.length;f++){var h=l[f];try{var b=n,C=r,D=C;e:for(;D!==null;){switch(D.tag){case 5:bn=D.stateNode,sr=!1;break e;case 3:bn=D.stateNode.containerInfo,sr=!0;break e;case 4:bn=D.stateNode.containerInfo,sr=!0;break e}D=D.return}if(bn===null)throw Error(c(160));Uu(b,C,h),bn=null,sr=!1;var N=h.alternate;N!==null&&(N.return=null),h.return=null}catch(Y){An(h,r,Y)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)vy(r,n),r=r.sibling}function vy(n,r){var l=n.alternate,f=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(fi(r,n),Ti(n),f&4){try{rc(3,n,n.return),ac(3,n)}catch(Be){An(n,n.return,Be)}try{rc(5,n,n.return)}catch(Be){An(n,n.return,Be)}}break;case 1:fi(r,n),Ti(n),f&512&&l!==null&&Lu(l,l.return);break;case 5:if(fi(r,n),Ti(n),f&512&&l!==null&&Lu(l,l.return),n.flags&32){var h=n.stateNode;try{ea(h,"")}catch(Be){An(n,n.return,Be)}}if(f&4&&(h=n.stateNode,h!=null)){var b=n.memoizedProps,C=l!==null?l.memoizedProps:b,D=n.type,N=n.updateQueue;if(n.updateQueue=null,N!==null)try{D==="input"&&b.type==="radio"&&b.name!=null&&Z(h,b),Un(D,C);var Y=Un(D,b);for(C=0;C<N.length;C+=2){var ie=N[C],ue=N[C+1];ie==="style"?qt(h,ue):ie==="dangerouslySetInnerHTML"?gi(h,ue):ie==="children"?ea(h,ue):de(h,ie,ue,Y)}switch(D){case"input":G(h,b);break;case"textarea":za(h,b);break;case"select":var re=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!b.multiple;var De=b.value;De!=null?Pe(h,!!b.multiple,De,!1):re!==!!b.multiple&&(b.defaultValue!=null?Pe(h,!!b.multiple,b.defaultValue,!0):Pe(h,!!b.multiple,b.multiple?[]:"",!1))}h[gl]=b}catch(Be){An(n,n.return,Be)}}break;case 6:if(fi(r,n),Ti(n),f&4){if(n.stateNode===null)throw Error(c(162));h=n.stateNode,b=n.memoizedProps;try{h.nodeValue=b}catch(Be){An(n,n.return,Be)}}break;case 3:if(fi(r,n),Ti(n),f&4&&l!==null&&l.memoizedState.isDehydrated)try{ks(r.containerInfo)}catch(Be){An(n,n.return,Be)}break;case 4:fi(r,n),Ti(n);break;case 13:fi(r,n),Ti(n),h=n.child,h.flags&8192&&(b=h.memoizedState!==null,h.stateNode.isHidden=b,!b||h.alternate!==null&&h.alternate.memoizedState!==null||(pv=Wt())),f&4&&Ji(n);break;case 22:if(ie=l!==null&&l.memoizedState!==null,n.mode&1?(Jn=(Y=Jn)||ie,fi(r,n),Jn=Y):fi(r,n),Ti(n),f&8192){if(Y=n.memoizedState!==null,(n.stateNode.isHidden=Y)&&!ie&&n.mode&1)for(Ue=n,ie=n.child;ie!==null;){for(ue=Ue=ie;Ue!==null;){switch(re=Ue,De=re.child,re.tag){case 0:case 11:case 14:case 15:rc(4,re,re.return);break;case 1:Lu(re,re.return);var je=re.stateNode;if(typeof je.componentWillUnmount=="function"){f=re,l=re.return;try{r=f,je.props=r.memoizedProps,je.state=r.memoizedState,je.componentWillUnmount()}catch(Be){An(f,l,Be)}}break;case 5:Lu(re,re.return);break;case 22:if(re.memoizedState!==null){fv(ue);continue}}De!==null?(De.return=re,Ue=De):fv(ue)}ie=ie.sibling}e:for(ie=null,ue=n;;){if(ue.tag===5){if(ie===null){ie=ue;try{h=ue.stateNode,Y?(b=h.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none"):(D=ue.stateNode,N=ue.memoizedProps.style,C=N!=null&&N.hasOwnProperty("display")?N.display:null,D.style.display=_t("display",C))}catch(Be){An(n,n.return,Be)}}}else if(ue.tag===6){if(ie===null)try{ue.stateNode.nodeValue=Y?"":ue.memoizedProps}catch(Be){An(n,n.return,Be)}}else if((ue.tag!==22&&ue.tag!==23||ue.memoizedState===null||ue===n)&&ue.child!==null){ue.child.return=ue,ue=ue.child;continue}if(ue===n)break e;for(;ue.sibling===null;){if(ue.return===null||ue.return===n)break e;ie===ue&&(ie=null),ue=ue.return}ie===ue&&(ie=null),ue.sibling.return=ue.return,ue=ue.sibling}}break;case 19:fi(r,n),Ti(n),f&4&&Ji(n);break;case 21:break;default:fi(r,n),Ti(n)}}function Ti(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(py(l)){var f=l;break e}l=l.return}throw Error(c(160))}switch(f.tag){case 5:var h=f.stateNode;f.flags&32&&(ea(h,""),f.flags&=-33);var b=Bf(n);Ei(n,b,h);break;case 3:case 4:var C=f.stateNode.containerInfo,D=Bf(n);zu(n,D,C);break;default:throw Error(c(161))}}catch(N){An(n,n.return,N)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function hy(n,r,l){Ue=n,ju(n)}function ju(n,r,l){for(var f=(n.mode&1)!==0;Ue!==null;){var h=Ue,b=h.child;if(h.tag===22&&f){var C=h.memoizedState!==null||tc;if(!C){var D=h.alternate,N=D!==null&&D.memoizedState!==null||Jn;D=tc;var Y=Jn;if(tc=C,(Jn=N)&&!Y)for(Ue=h;Ue!==null;)C=Ue,N=C.child,C.tag===22&&C.memoizedState!==null?yy(h):N!==null?(N.return=C,Ue=N):yy(h);for(;b!==null;)Ue=b,ju(b),b=b.sibling;Ue=h,tc=D,Jn=Y}my(n)}else h.subtreeFlags&8772&&b!==null?(b.return=h,Ue=b):my(n)}}function my(n){for(;Ue!==null;){var r=Ue;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Jn||ac(5,r);break;case 1:var f=r.stateNode;if(r.flags&4&&!Jn)if(l===null)f.componentDidMount();else{var h=r.elementType===r.type?l.memoizedProps:Ea(r.type,l.memoizedProps);f.componentDidUpdate(h,l.memoizedState,f.__reactInternalSnapshotBeforeUpdate)}var b=r.updateQueue;b!==null&&Sl(r,b,f);break;case 3:var C=r.updateQueue;if(C!==null){if(l=null,r.child!==null)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}Sl(r,C,l)}break;case 5:var D=r.stateNode;if(l===null&&r.flags&4){l=D;var N=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":N.autoFocus&&l.focus();break;case"img":N.src&&(l.src=N.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var Y=r.alternate;if(Y!==null){var ie=Y.memoizedState;if(ie!==null){var ue=ie.dehydrated;ue!==null&&ks(ue)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(c(163))}Jn||r.flags&512&&sv(r)}catch(re){An(r,r.return,re)}}if(r===n){Ue=null;break}if(l=r.sibling,l!==null){l.return=r.return,Ue=l;break}Ue=r.return}}function fv(n){for(;Ue!==null;){var r=Ue;if(r===n){Ue=null;break}var l=r.sibling;if(l!==null){l.return=r.return,Ue=l;break}Ue=r.return}}function yy(n){for(;Ue!==null;){var r=Ue;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{ac(4,r)}catch(N){An(r,l,N)}break;case 1:var f=r.stateNode;if(typeof f.componentDidMount=="function"){var h=r.return;try{f.componentDidMount()}catch(N){An(r,h,N)}}var b=r.return;try{sv(r)}catch(N){An(r,b,N)}break;case 5:var C=r.return;try{sv(r)}catch(N){An(r,C,N)}}}catch(N){An(r,r.return,N)}if(r===n){Ue=null;break}var D=r.sibling;if(D!==null){D.return=r.return,Ue=D;break}Ue=r.return}}var If=Math.ceil,ic=Se.ReactCurrentDispatcher,dv=Se.ReactCurrentOwner,Lr=Se.ReactCurrentBatchConfig,Nt=0,_n=null,Nn=null,cr=0,ka=0,Fu=St(0),qn=0,oc=null,qi=0,$f=0,Vu=0,Nl=null,Ir=null,pv=0,Hu=1/0,eo=null,Wf=!1,Al=null,ki=null,Vo=!1,Ho=null,Yf=0,Pu=0,Zf=null,Ll=-1,zl=0;function zr(){return Nt&6?Wt():Ll!==-1?Ll:Ll=Wt()}function $n(n){return n.mode&1?Nt&2&&cr!==0?cr&-cr:vf.transition!==null?(zl===0&&(zl=Ic()),zl):(n=en,n!==0||(n=window.event,n=n===void 0?16:pp(n.type)),n):1}function Ur(n,r,l,f){if(50<Pu)throw Pu=0,Zf=null,Error(c(185));cl(n,l,f),(!(Nt&2)||n!==_n)&&(n===_n&&(!(Nt&2)&&($f|=l),qn===4&&Qa(n,cr)),jr(n,f),l===1&&Nt===0&&!(r.mode&1)&&(Hu=Wt()+500,lr&&aa()))}function jr(n,r){var l=n.callbackNode;Bc(n,r);var f=ii(n,n===_n?cr:0);if(f===0)l!==null&&Br(l),n.callbackNode=null,n.callbackPriority=0;else if(r=f&-f,n.callbackPriority!==r){if(l!=null&&Br(l),r===1)n.tag===0?Vp(gy.bind(null,n)):Fp(gy.bind(null,n)),zp(function(){!(Nt&6)&&aa()}),l=null;else{switch(cp(f)){case 1:l=Vi;break;case 4:l=Mt;break;case 16:l=So;break;case 536870912:l=op;break;default:l=So}l=bv(l,Bu.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function Bu(n,r){if(Ll=-1,zl=0,Nt&6)throw Error(c(327));var l=n.callbackNode;if($u()&&n.callbackNode!==l)return null;var f=ii(n,n===_n?cr:0);if(f===0)return null;if(f&30||f&n.expiredLanes||r)r=Qf(n,f);else{r=f;var h=Nt;Nt|=2;var b=Gf();(_n!==n||cr!==r)&&(eo=null,Hu=Wt()+500,Ul(n,r));do try{Rb();break}catch(D){by(n,D)}while(1);Wp(),ic.current=b,Nt=h,Nn!==null?r=0:(_n=null,cr=0,r=qn)}if(r!==0){if(r===2&&(h=up(n),h!==0&&(f=h,r=vv(n,h))),r===1)throw l=oc,Ul(n,0),Qa(n,f),jr(n,Wt()),l;if(r===6)Qa(n,f);else{if(h=n.current.alternate,!(f&30)&&!hv(h)&&(r=Qf(n,f),r===2&&(b=up(n),b!==0&&(f=b,r=vv(n,b))),r===1))throw l=oc,Ul(n,0),Qa(n,f),jr(n,Wt()),l;switch(n.finishedWork=h,n.finishedLanes=f,r){case 0:case 1:throw Error(c(345));case 2:jl(n,Ir,eo);break;case 3:if(Qa(n,f),(f&130023424)===f&&(r=pv+500-Wt(),10<r)){if(ii(n,0)!==0)break;if(h=n.suspendedLanes,(h&f)!==f){zr(),n.pingedLanes|=n.suspendedLanes&h;break}n.timeoutHandle=yl(jl.bind(null,n,Ir,eo),r);break}jl(n,Ir,eo);break;case 4:if(Qa(n,f),(f&4194240)===f)break;for(r=n.eventTimes,h=-1;0<f;){var C=31-Ua(f);b=1<<C,C=r[C],C>h&&(h=C),f&=~b}if(f=h,f=Wt()-f,f=(120>f?120:480>f?480:1080>f?1080:1920>f?1920:3e3>f?3e3:4320>f?4320:1960*If(f/1960))-f,10<f){n.timeoutHandle=yl(jl.bind(null,n,Ir,eo),f);break}jl(n,Ir,eo);break;case 5:jl(n,Ir,eo);break;default:throw Error(c(329))}}}return jr(n,Wt()),n.callbackNode===l?Bu.bind(null,n):null}function vv(n,r){var l=Nl;return n.current.memoizedState.isDehydrated&&(Ul(n,r).flags|=256),n=Qf(n,r),n!==2&&(r=Ir,Ir=l,r!==null&&lc(r)),n}function lc(n){Ir===null?Ir=n:Ir.push.apply(Ir,n)}function hv(n){for(var r=n;;){if(r.flags&16384){var l=r.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var f=0;f<l.length;f++){var h=l[f],b=h.getSnapshot;h=h.value;try{if(!Va(b(),h))return!1}catch{return!1}}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Qa(n,r){for(r&=~Vu,r&=~$f,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-Ua(r),f=1<<l;n[l]=-1,r&=~f}}function gy(n){if(Nt&6)throw Error(c(327));$u();var r=ii(n,0);if(!(r&1))return jr(n,Wt()),null;var l=Qf(n,r);if(n.tag!==0&&l===2){var f=up(n);f!==0&&(r=f,l=vv(n,f))}if(l===1)throw l=oc,Ul(n,0),Qa(n,r),jr(n,Wt()),l;if(l===6)throw Error(c(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,jl(n,Ir,eo),jr(n,Wt()),null}function Iu(n,r){var l=Nt;Nt|=1;try{return n(r)}finally{Nt=l,Nt===0&&(Hu=Wt()+500,lr&&aa())}}function Po(n){Ho!==null&&Ho.tag===0&&!(Nt&6)&&$u();var r=Nt;Nt|=1;var l=Lr.transition,f=en;try{if(Lr.transition=null,en=1,n)return n()}finally{en=f,Lr.transition=l,Nt=r,!(Nt&6)&&aa()}}function mv(){ka=Fu.current,Qt(Fu)}function Ul(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,Ym(l)),Nn!==null)for(l=Nn.return;l!==null;){var f=l;switch(Pp(f),f.tag){case 1:f=f.type.childContextTypes,f!=null&&Ba();break;case 3:zo(),Qt(Mn),Qt(dt),Sf();break;case 5:Rt(f);break;case 4:zo();break;case 13:Qt(ot);break;case 19:Qt(ot);break;case 10:Mo(f.type._context);break;case 22:case 23:mv()}l=l.return}if(_n=n,Nn=n=Bo(n.current,null),cr=ka=r,qn=0,oc=null,Vu=$f=qi=0,Ir=Nl=null,yr!==null){for(r=0;r<yr.length;r++)if(l=yr[r],f=l.interleaved,f!==null){l.interleaved=null;var h=f.next,b=l.pending;if(b!==null){var C=b.next;b.next=h,f.next=C}l.pending=f}yr=null}return n}function by(n,r){do{var l=Nn;try{if(Wp(),xf.current=jf,lt){for(var f=pn.memoizedState;f!==null;){var h=f.queue;h!==null&&(h.pending=null),f=f.next}lt=!1}if(wl=0,Ft=q=pn=null,Ci=!1,Ta=0,dv.current=null,l===null||l.return===null){qn=1,oc=r,Nn=null;break}e:{var b=n,C=l.return,D=l,N=r;if(r=cr,D.flags|=32768,N!==null&&typeof N=="object"&&typeof N.then=="function"){var Y=N,ie=D,ue=ie.tag;if(!(ie.mode&1)&&(ue===0||ue===11||ue===15)){var re=ie.alternate;re?(ie.updateQueue=re.updateQueue,ie.memoizedState=re.memoizedState,ie.lanes=re.lanes):(ie.updateQueue=null,ie.memoizedState=null)}var De=ev(C);if(De!==null){De.flags&=-257,tv(De,C,D,b,r),De.mode&1&&ly(b,Y,r),r=De,N=Y;var je=r.updateQueue;if(je===null){var Be=new Set;Be.add(N),r.updateQueue=Be}else je.add(N);break e}else{if(!(r&1)){ly(b,Y,r),yv();break e}N=Error(c(426))}}else if(dn&&D.mode&1){var Fn=ev(C);if(Fn!==null){!(Fn.flags&65536)&&(Fn.flags|=256),tv(Fn,C,D,b,r),Ip(Mu(N,D));break e}}b=N=Mu(N,D),qn!==4&&(qn=2),Nl===null?Nl=[b]:Nl.push(b),b=C;do{switch(b.tag){case 3:b.flags|=65536,r&=-r,b.lanes|=r;var V=oy(b,N,r);Gp(b,V);break e;case 1:D=N;var z=b.type,B=b.stateNode;if(!(b.flags&128)&&(typeof z.getDerivedStateFromError=="function"||B!==null&&typeof B.componentDidCatch=="function"&&(ki===null||!ki.has(B)))){b.flags|=65536,r&=-r,b.lanes|=r;var pe=Js(b,D,r);Gp(b,pe);break e}}b=b.return}while(b!==null)}gv(l)}catch(Ie){r=Ie,Nn===l&&l!==null&&(Nn=l=l.return);continue}break}while(1)}function Gf(){var n=ic.current;return ic.current=jf,n===null?jf:n}function yv(){(qn===0||qn===3||qn===2)&&(qn=4),_n===null||!(qi&268435455)&&!($f&268435455)||Qa(_n,cr)}function Qf(n,r){var l=Nt;Nt|=2;var f=Gf();(_n!==n||cr!==r)&&(eo=null,Ul(n,r));do try{_b();break}catch(h){by(n,h)}while(1);if(Wp(),Nt=l,ic.current=f,Nn!==null)throw Error(c(261));return _n=null,cr=0,qn}function _b(){for(;Nn!==null;)Sy(Nn)}function Rb(){for(;Nn!==null&&!bo();)Sy(Nn)}function Sy(n){var r=wy(n.alternate,n,ka);n.memoizedProps=n.pendingProps,r===null?gv(n):Nn=r,dv.current=null}function gv(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=uv(l,r),l!==null){l.flags&=32767,Nn=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{qn=6,Nn=null;return}}else if(l=kb(l,r,ka),l!==null){Nn=l;return}if(r=r.sibling,r!==null){Nn=r;return}Nn=r=n}while(r!==null);qn===0&&(qn=5)}function jl(n,r,l){var f=en,h=Lr.transition;try{Lr.transition=null,en=1,Db(n,r,l,f)}finally{Lr.transition=h,en=f}return null}function Db(n,r,l,f){do $u();while(Ho!==null);if(Nt&6)throw Error(c(327));l=n.finishedWork;var h=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(c(177));n.callbackNode=null,n.callbackPriority=0;var b=l.lanes|l.childLanes;if(tb(n,b),n===_n&&(Nn=_n=null,cr=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||Vo||(Vo=!0,bv(So,function(){return $u(),null})),b=(l.flags&15990)!==0,l.subtreeFlags&15990||b){b=Lr.transition,Lr.transition=null;var C=en;en=1;var D=Nt;Nt|=4,dv.current=null,dy(n,l),vy(l,n),nf(ml),fl=!!Ap,ml=Ap=null,n.current=l,hy(l),Hc(),Nt=D,en=C,Lr.transition=b}else n.current=l;if(Vo&&(Vo=!1,Ho=n,Yf=h),b=n.pendingLanes,b===0&&(ki=null),om(l.stateNode),jr(n,Wt()),r!==null)for(f=n.onRecoverableError,l=0;l<r.length;l++)h=r[l],f(h.value,{componentStack:h.stack,digest:h.digest});if(Wf)throw Wf=!1,n=Al,Al=null,n;return Yf&1&&n.tag!==0&&$u(),b=n.pendingLanes,b&1?n===Zf?Pu++:(Pu=0,Zf=n):Pu=0,aa(),null}function $u(){if(Ho!==null){var n=cp(Yf),r=Lr.transition,l=en;try{if(Lr.transition=null,en=16>n?16:n,Ho===null)var f=!1;else{if(n=Ho,Ho=null,Yf=0,Nt&6)throw Error(c(331));var h=Nt;for(Nt|=4,Ue=n.current;Ue!==null;){var b=Ue,C=b.child;if(Ue.flags&16){var D=b.deletions;if(D!==null){for(var N=0;N<D.length;N++){var Y=D[N];for(Ue=Y;Ue!==null;){var ie=Ue;switch(ie.tag){case 0:case 11:case 15:rc(8,ie,b)}var ue=ie.child;if(ue!==null)ue.return=ie,Ue=ue;else for(;Ue!==null;){ie=Ue;var re=ie.sibling,De=ie.return;if(cv(ie),ie===Y){Ue=null;break}if(re!==null){re.return=De,Ue=re;break}Ue=De}}}var je=b.alternate;if(je!==null){var Be=je.child;if(Be!==null){je.child=null;do{var Fn=Be.sibling;Be.sibling=null,Be=Fn}while(Be!==null)}}Ue=b}}if(b.subtreeFlags&2064&&C!==null)C.return=b,Ue=C;else e:for(;Ue!==null;){if(b=Ue,b.flags&2048)switch(b.tag){case 0:case 11:case 15:rc(9,b,b.return)}var V=b.sibling;if(V!==null){V.return=b.return,Ue=V;break e}Ue=b.return}}var z=n.current;for(Ue=z;Ue!==null;){C=Ue;var B=C.child;if(C.subtreeFlags&2064&&B!==null)B.return=C,Ue=B;else e:for(C=z;Ue!==null;){if(D=Ue,D.flags&2048)try{switch(D.tag){case 0:case 11:case 15:ac(9,D)}}catch(Ie){An(D,D.return,Ie)}if(D===C){Ue=null;break e}var pe=D.sibling;if(pe!==null){pe.return=D.return,Ue=pe;break e}Ue=D.return}}if(Nt=h,aa(),ai&&typeof ai.onPostCommitFiberRoot=="function")try{ai.onPostCommitFiberRoot(xs,n)}catch{}f=!0}return f}finally{en=l,Lr.transition=r}}return!1}function xy(n,r,l){r=Mu(l,r),r=oy(n,r,1),n=Ao(n,r,1),r=zr(),n!==null&&(cl(n,1,r),jr(n,r))}function An(n,r,l){if(n.tag===3)xy(n,n,l);else for(;r!==null;){if(r.tag===3){xy(r,n,l);break}else if(r.tag===1){var f=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(ki===null||!ki.has(f))){n=Mu(l,n),n=Js(r,n,1),r=Ao(r,n,1),n=zr(),r!==null&&(cl(r,1,n),jr(r,n));break}}r=r.return}}function Ob(n,r,l){var f=n.pingCache;f!==null&&f.delete(r),r=zr(),n.pingedLanes|=n.suspendedLanes&l,_n===n&&(cr&l)===l&&(qn===4||qn===3&&(cr&130023424)===cr&&500>Wt()-pv?Ul(n,0):Vu|=l),jr(n,r)}function Xf(n,r){r===0&&(n.mode&1?(r=du,du<<=1,!(du&130023424)&&(du=4194304)):r=1);var l=zr();n=Gi(n,r),n!==null&&(cl(n,r,l),jr(n,l))}function Mb(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Xf(n,l)}function Nb(n,r){var l=0;switch(n.tag){case 13:var f=n.stateNode,h=n.memoizedState;h!==null&&(l=h.retryLane);break;case 19:f=n.stateNode;break;default:throw Error(c(314))}f!==null&&f.delete(r),Xf(n,l)}var wy;wy=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||Mn.current)In=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return In=!1,Ki(n,r,l);In=!!(n.flags&131072)}else In=!1,dn&&r.flags&1048576&&Hp(r,Eu,r.index);switch(r.lanes=0,r.tag){case 2:var f=r.type;Nr(n,r),n=r.pendingProps;var h=Pa(r,dt.current);Ce(r,l),h=Uo(null,r,f,n,h,l);var b=Tl();return r.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,gn(f)?(b=!0,sf(r)):b=!1,r.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,Zp(r),h.updater=yf,r.stateNode=h,h._reactInternals=r,gf(r,f,n,l),r=uy(null,r,f,!0,b,l)):(r.tag=0,dn&&b&&cf(r),Xn(null,r,h,l),r=r.child),r;case 16:f=r.elementType;e:{switch(Nr(n,r),n=r.pendingProps,h=f._init,f=h(f._payload),r.type=f,h=r.tag=Lb(f),n=Ea(f,n),h){case 0:r=Nu(null,r,f,n,l);break e;case 1:r=nv(null,r,f,n,l);break e;case 11:r=Fo(null,r,f,n,l);break e;case 14:r=Vf(null,r,f,Ea(f.type,n),l);break e}throw Error(c(306,f,""))}return r;case 0:return f=r.type,h=r.pendingProps,h=r.elementType===f?h:Ea(f,h),Nu(n,r,f,h,l);case 1:return f=r.type,h=r.pendingProps,h=r.elementType===f?h:Ea(f,h),nv(n,r,f,h,l);case 3:e:{if(sy(r),n===null)throw Error(c(387));f=r.pendingProps,b=r.memoizedState,h=b.element,Qn(n,r),Lo(r,f,null,l);var C=r.memoizedState;if(f=C.element,b.isDehydrated)if(b={element:f,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},r.updateQueue.baseState=b,r.memoizedState=b,r.flags&256){h=Mu(Error(c(423)),r),r=Hf(n,r,f,l,h);break e}else if(f!==h){h=Mu(Error(c(424)),r),r=Hf(n,r,f,l,h);break e}else for(la=si(r.stateNode.containerInfo.firstChild),Ca=r,dn=!0,$a=null,l=ay(r,null,f,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Tn(),f===h){r=gr(n,r,l);break e}Xn(n,r,f,l)}r=r.child}return r;case 5:return at(r),n===null&&df(r),f=r.type,h=r.pendingProps,b=n!==null?n.memoizedProps:null,C=h.children,Hs(f,h)?C=null:b!==null&&Hs(f,b)&&(r.flags|=32),xt(n,r),Xn(n,r,C,l),r.child;case 6:return n===null&&df(r),null;case 13:return av(n,r,l);case 4:return Xp(r,r.stateNode.containerInfo),f=r.pendingProps,n===null?r.child=ku(r,null,f,l):Xn(n,r,f,l),r.child;case 11:return f=r.type,h=r.pendingProps,h=r.elementType===f?h:Ea(f,h),Fo(n,r,f,h,l);case 7:return Xn(n,r,r.pendingProps,l),r.child;case 8:return Xn(n,r,r.pendingProps.children,l),r.child;case 12:return Xn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(f=r.type._context,h=r.pendingProps,b=r.memoizedProps,C=h.value,Xt(wi,f._currentValue),f._currentValue=C,b!==null)if(Va(b.value,C)){if(b.children===h.children&&!Mn.current){r=gr(n,r,l);break e}}else for(b=r.child,b!==null&&(b.return=r);b!==null;){var D=b.dependencies;if(D!==null){C=b.child;for(var N=D.firstContext;N!==null;){if(N.context===f){if(b.tag===1){N=Qi(-1,l&-l),N.tag=2;var Y=b.updateQueue;if(Y!==null){Y=Y.shared;var ie=Y.pending;ie===null?N.next=N:(N.next=ie.next,ie.next=N),Y.pending=N}}b.lanes|=l,N=b.alternate,N!==null&&(N.lanes|=l),ur(b.return,l,r),D.lanes|=l;break}N=N.next}}else if(b.tag===10)C=b.type===r.type?null:b.child;else if(b.tag===18){if(C=b.return,C===null)throw Error(c(341));C.lanes|=l,D=C.alternate,D!==null&&(D.lanes|=l),ur(C,l,r),C=b.sibling}else C=b.child;if(C!==null)C.return=b;else for(C=b;C!==null;){if(C===r){C=null;break}if(b=C.sibling,b!==null){b.return=C.return,C=b;break}C=C.return}b=C}Xn(n,r,h.children,l),r=r.child}return r;case 9:return h=r.type,f=r.pendingProps.children,Ce(r,l),h=jn(h),f=f(h),r.flags|=1,Xn(n,r,f,l),r.child;case 14:return f=r.type,h=Ea(f,r.pendingProps),h=Ea(f.type,h),Vf(n,r,f,h,l);case 15:return ca(n,r,r.type,r.pendingProps,l);case 17:return f=r.type,h=r.pendingProps,h=r.elementType===f?h:Ea(f,h),Nr(n,r),r.tag=1,gn(f)?(n=!0,sf(r)):n=!1,Ce(r,l),ey(r,f,h),gf(r,f,h,l),uy(null,r,f,!0,n,l);case 19:return lv(n,r,l);case 22:return Dl(n,r,l)}throw Error(c(156,r.tag))};function bv(n,r){return yn(n,r)}function Ab(n,r,l,f){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xa(n,r,l,f){return new Ab(n,r,l,f)}function Sv(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Lb(n){if(typeof n=="function")return Sv(n)?1:0;if(n!=null){if(n=n.$$typeof,n===$e)return 11;if(n===Je)return 14}return 2}function Bo(n,r){var l=n.alternate;return l===null?(l=Xa(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&14680064,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l}function Kf(n,r,l,f,h,b){var C=2;if(f=n,typeof n=="function")Sv(n)&&(C=1);else if(typeof n=="string")C=5;else e:switch(n){case He:return Fl(l.children,h,b,r);case Ke:C=8,h|=8;break;case ut:return n=Xa(12,l,r,h|2),n.elementType=ut,n.lanes=b,n;case fe:return n=Xa(13,l,r,h),n.elementType=fe,n.lanes=b,n;case he:return n=Xa(19,l,r,h),n.elementType=he,n.lanes=b,n;case Dt:return uc(l,h,b,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case st:C=10;break e;case vt:C=9;break e;case $e:C=11;break e;case Je:C=14;break e;case Ze:C=16,f=null;break e}throw Error(c(130,n==null?n:typeof n,""))}return r=Xa(C,l,r,h),r.elementType=n,r.type=f,r.lanes=b,r}function Fl(n,r,l,f){return n=Xa(7,n,f,r),n.lanes=l,n}function uc(n,r,l,f){return n=Xa(22,n,f,r),n.elementType=Dt,n.lanes=l,n.stateNode={isHidden:!1},n}function sc(n,r,l){return n=Xa(6,n,null,r),n.lanes=l,n}function Vl(n,r,l){return r=Xa(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function zb(n,r,l,f,h){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=sp(0),this.expirationTimes=sp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sp(0),this.identifierPrefix=f,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function Jf(n,r,l,f,h,b,C,D,N){return n=new zb(n,r,l,D,N),r===1?(r=1,b===!0&&(r|=8)):r=0,b=Xa(3,null,null,r),n.current=b,b.stateNode=n,b.memoizedState={element:f,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zp(b),n}function Cy(n,r,l){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:gt,key:f==null?null:""+f,children:n,containerInfo:r,implementation:l}}function xv(n){if(!n)return xi;n=n._reactInternals;e:{if(Ct(n)!==n||n.tag!==1)throw Error(c(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(gn(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(c(171))}if(n.tag===1){var l=n.type;if(gn(l))return Is(n,l,r)}return r}function Ey(n,r,l,f,h,b,C,D,N){return n=Jf(l,f,!0,n,h,b,C,D,N),n.context=xv(null),l=n.current,f=zr(),h=$n(l),b=Qi(f,h),b.callback=r??null,Ao(l,b,h),n.current.lanes=h,cl(n,h,f),jr(n,f),n}function cc(n,r,l,f){var h=r.current,b=zr(),C=$n(h);return l=xv(l),r.context===null?r.context=l:r.pendingContext=l,r=Qi(b,C),r.payload={element:n},f=f===void 0?null:f,f!==null&&(r.callback=f),n=Ao(h,r,C),n!==null&&(Ur(n,h,C,b),mf(n,h,C)),C}function qf(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Ty(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function wv(n,r){Ty(n,r),(n=n.alternate)&&Ty(n,r)}function ky(){return null}var Cv=typeof reportError=="function"?reportError:function(n){console.error(n)};function ed(n){this._internalRoot=n}to.prototype.render=ed.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(c(409));cc(n,r,null,null)},to.prototype.unmount=ed.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;Po(function(){cc(null,n,null,null)}),r[Yi]=null}};function to(n){this._internalRoot=n}to.prototype.unstable_scheduleHydration=function(n){if(n){var r=cm();n={blockedOn:null,target:n,priority:r};for(var l=0;l<tn.length&&r!==0&&r<tn[l].priority;l++);tn.splice(l,0,n),l===0&&fm(n)}};function Ev(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function td(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function _y(){}function Ub(n,r,l,f,h){if(h){if(typeof f=="function"){var b=f;f=function(){var Y=qf(C);b.call(Y)}}var C=Ey(r,f,n,0,null,!1,!1,"",_y);return n._reactRootContainer=C,n[Yi]=C.current,wu(n.nodeType===8?n.parentNode:n),Po(),C}for(;h=n.lastChild;)n.removeChild(h);if(typeof f=="function"){var D=f;f=function(){var Y=qf(N);D.call(Y)}}var N=Jf(n,0,!1,null,null,!1,!1,"",_y);return n._reactRootContainer=N,n[Yi]=N.current,wu(n.nodeType===8?n.parentNode:n),Po(function(){cc(r,N,l,f)}),N}function nd(n,r,l,f,h){var b=l._reactRootContainer;if(b){var C=b;if(typeof h=="function"){var D=h;h=function(){var N=qf(C);D.call(N)}}cc(r,C,n,h)}else C=Ub(l,r,n,h,f);return qf(C)}sm=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=sl(r.pendingLanes);l!==0&&(ws(r,l|1),jr(r,Wt()),!(Nt&6)&&(Hu=Wt()+500,aa()))}break;case 13:Po(function(){var f=Gi(n,1);if(f!==null){var h=zr();Ur(f,n,1,h)}}),wv(n,1)}},$c=function(n){if(n.tag===13){var r=Gi(n,134217728);if(r!==null){var l=zr();Ur(r,n,134217728,l)}wv(n,134217728)}},on=function(n){if(n.tag===13){var r=$n(n),l=Gi(n,r);if(l!==null){var f=zr();Ur(l,n,r,f)}wv(n,r)}},cm=function(){return en},fp=function(n,r){var l=en;try{return en=n,r()}finally{en=l}},ga=function(n,r,l){switch(r){case"input":if(G(n,l),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<l.length;r++){var f=l[r];if(f!==n&&f.form===n.form){var h=et(f);if(!h)throw Error(c(90));Hr(f),G(f,h)}}}break;case"textarea":za(n,l);break;case"select":r=l.value,r!=null&&Pe(n,!!l.multiple,r,!1)}},Ss=Iu,Vc=Po;var jb={usingClientEntryPoint:!1,Events:[Bs,Cu,et,ol,su,Iu]},Wu={findFiberByHostInstance:Ha,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Fb={bundleType:Wu.bundleType,version:Wu.version,rendererPackageName:Wu.rendererPackageName,rendererConfig:Wu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Se.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=ar(n),n===null?null:n.stateNode},findFiberByHostInstance:Wu.findFiberByHostInstance||ky,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rd.isDisabled&&rd.supportsFiber)try{xs=rd.inject(Fb),ai=rd}catch{}}return Na.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jb,Na.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ev(r))throw Error(c(200));return Cy(n,r,null,l)},Na.createRoot=function(n,r){if(!Ev(n))throw Error(c(299));var l=!1,f="",h=Cv;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(f=r.identifierPrefix),r.onRecoverableError!==void 0&&(h=r.onRecoverableError)),r=Jf(n,1,!1,null,null,l,!1,f,h),n[Yi]=r.current,wu(n.nodeType===8?n.parentNode:n),new ed(r)},Na.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(c(188)):(n=Object.keys(n).join(","),Error(c(268,n)));return n=ar(r),n=n===null?null:n.stateNode,n},Na.flushSync=function(n){return Po(n)},Na.hydrate=function(n,r,l){if(!td(r))throw Error(c(200));return nd(null,n,r,!0,l)},Na.hydrateRoot=function(n,r,l){if(!Ev(n))throw Error(c(405));var f=l!=null&&l.hydratedSources||null,h=!1,b="",C=Cv;if(l!=null&&(l.unstable_strictMode===!0&&(h=!0),l.identifierPrefix!==void 0&&(b=l.identifierPrefix),l.onRecoverableError!==void 0&&(C=l.onRecoverableError)),r=Ey(r,null,n,1,l??null,h,!1,b,C),n[Yi]=r.current,wu(n),f)for(n=0;n<f.length;n++)l=f[n],h=l._getVersion,h=h(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,h]:r.mutableSourceEagerHydrationData.push(l,h);return new to(r)},Na.render=function(n,r,l){if(!td(r))throw Error(c(200));return nd(null,n,r,!1,l)},Na.unmountComponentAtNode=function(n){if(!td(n))throw Error(c(40));return n._reactRootContainer?(Po(function(){nd(null,null,n,!1,function(){n._reactRootContainer=null,n[Yi]=null})}),!0):!1},Na.unstable_batchedUpdates=Iu,Na.unstable_renderSubtreeIntoContainer=function(n,r,l,f){if(!td(l))throw Error(c(200));if(n==null||n._reactInternals===void 0)throw Error(c(38));return nd(n,r,l,!1,f)},Na.version="18.2.0-next-9e3b772b8-20220608",Na}var Aa={};/**
|
|
33
|
-
* @license React
|
|
34
|
-
* react-dom.development.js
|
|
35
|
-
*
|
|
36
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
37
|
-
*
|
|
38
|
-
* This source code is licensed under the MIT license found in the
|
|
39
|
-
* LICENSE file in the root directory of this source tree.
|
|
40
|
-
*/var Kx;function A_(){return Kx||(Kx=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i=I,u=Qx(),c=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,p=!1;function v(e){p=e}function g(e){if(!p){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];x("warn",e,a)}}function m(e){if(!p){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];x("error",e,a)}}function x(e,t,a){{var o=c.ReactDebugCurrentFrame,s=o.getStackAddendum();s!==""&&(t+="%s",a=a.concat([s]));var d=a.map(function(y){return String(y)});d.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,d)}}var E=0,T=1,M=2,R=3,j=4,F=5,K=6,ce=7,ve=8,Xe=9,J=10,de=11,Se=12,ze=13,gt=14,He=15,Ke=16,ut=17,st=18,vt=19,$e=21,fe=22,he=23,Je=24,Ze=25,Dt=!0,ae=!1,ne=!1,ee=!1,ge=!1,me=!0,ct=!1,Et=!1,Pt=!0,Lt=!0,wn=!0,Cn=new Set,zn={},Vr={};function Zn(e,t){Hr(e,t),Hr(e+"Capture",t)}function Hr(e,t){zn[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),zn[e]=t;{var a=e.toLowerCase();Vr[a]=e,e==="onDoubleClick"&&(Vr.ondblclick=e)}for(var o=0;o<t.length;o++)Cn.add(t[o])}var Hn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nr=Object.prototype.hasOwnProperty;function A(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Z(e){try{return G(e),!1}catch{return!0}}function G(e){return""+e}function be(e,t){if(Z(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,A(e)),G(e)}function Re(e){if(Z(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",A(e)),G(e)}function le(e,t){if(Z(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,A(e)),G(e)}function Pe(e,t){if(Z(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,A(e)),G(e)}function $t(e){if(Z(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",A(e)),G(e)}function zt(e){if(Z(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",A(e)),G(e)}var za=0,hr=1,Pr=2,On=3,Dr=4,gi=5,ea=6,Te=":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",qe=Te+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",_t=new RegExp("^["+Te+"]["+qe+"]*$"),qt={},En={};function rr(e){return nr.call(En,e)?!0:nr.call(qt,e)?!1:_t.test(e)?(En[e]=!0,!0):(qt[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function Un(e,t,a){return t!==null?t.type===za:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function ta(e,t,a,o){if(a!==null&&a.type===za)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(o)return!1;if(a!==null)return!a.acceptsBooleans;var s=e.toLowerCase().slice(0,5);return s!=="data-"&&s!=="aria-"}default:return!1}}function sn(e,t,a,o){if(t===null||typeof t>"u"||ta(e,t,a,o))return!0;if(o)return!1;if(a!==null)switch(a.type){case On:return!t;case Dr:return t===!1;case gi:return isNaN(t);case ea:return isNaN(t)||t<1}return!1}function ga(e){return cn.hasOwnProperty(e)?cn[e]:null}function an(e,t,a,o,s,d,y){this.acceptsBooleans=t===Pr||t===On||t===Dr,this.attributeName=o,this.attributeNamespace=s,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=y}var cn={},uu=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];uu.forEach(function(e){cn[e]=new an(e,za,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];cn[t]=new an(t,hr,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){cn[e]=new an(e,Pr,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){cn[e]=new an(e,Pr,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){cn[e]=new an(e,On,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){cn[e]=new an(e,On,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){cn[e]=new an(e,Dr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){cn[e]=new an(e,ea,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){cn[e]=new an(e,gi,!1,e.toLowerCase(),null,!1,!1)});var ol=/[\-\:]([a-z])/g,su=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ol,su);cn[t]=new an(t,hr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ol,su);cn[t]=new an(t,hr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ol,su);cn[t]=new an(t,hr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){cn[e]=new an(e,hr,!1,e.toLowerCase(),null,!1,!1)});var Ss="xlinkHref";cn[Ss]=new an("xlinkHref",hr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){cn[e]=new an(e,hr,!1,e.toLowerCase(),null,!0,!0)});var Vc=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ll=!1;function cu(e){!ll&&Vc.test(e)&&(ll=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function ul(e,t,a,o){if(o.mustUseProperty){var s=o.propertyName;return e[s]}else{be(a,t),o.sanitizeURL&&cu(""+a);var d=o.attributeName,y=null;if(o.type===Dr){if(e.hasAttribute(d)){var S=e.getAttribute(d);return S===""?!0:sn(t,a,o,!1)?S:S===""+a?a:S}}else if(e.hasAttribute(d)){if(sn(t,a,o,!1))return e.getAttribute(d);if(o.type===On)return a;y=e.getAttribute(d)}return sn(t,a,o,!1)?y===null?a:y:y===""+a?a:y}}function fu(e,t,a,o){{if(!rr(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var s=e.getAttribute(t);return be(a,t),s===""+a?a:s}}function bi(e,t,a,o){var s=ga(t);if(!Un(t,s,o)){if(sn(t,a,s,o)&&(a=null),o||s===null){if(rr(t)){var d=t;a===null?e.removeAttribute(d):(be(a,t),e.setAttribute(d,""+a))}return}var y=s.mustUseProperty;if(y){var S=s.propertyName;if(a===null){var w=s.type;e[S]=w===On?!1:""}else e[S]=a;return}var k=s.attributeName,_=s.attributeNamespace;if(a===null)e.removeAttribute(k);else{var U=s.type,L;U===On||U===Dr&&a===!0?L="":(be(a,k),L=""+a,s.sanitizeURL&&cu(L.toString())),_?e.setAttributeNS(_,k,L):e.setAttribute(k,L)}}}var yo=Symbol.for("react.element"),ba=Symbol.for("react.portal"),ri=Symbol.for("react.fragment"),go=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),oe=Symbol.for("react.provider"),ke=Symbol.for("react.context"),rt=Symbol.for("react.forward_ref"),Ct=Symbol.for("react.suspense"),Bt=Symbol.for("react.suspense_list"),Tt=Symbol.for("react.memo"),it=Symbol.for("react.lazy"),ar=Symbol.for("react.scope"),mn=Symbol.for("react.debug_trace_mode"),yn=Symbol.for("react.offscreen"),Br=Symbol.for("react.legacy_hidden"),bo=Symbol.for("react.cache"),Hc=Symbol.for("react.tracing_marker"),Wt=Symbol.iterator,q0="@@iterator";function Vi(e){if(e===null||typeof e!="object")return null;var t=Wt&&e[Wt]||e[q0];return typeof t=="function"?t:null}var Mt=Object.assign,So=0,im,op,xs,ai,om,Ua,lm;function um(){}um.__reactDisabledLog=!0;function eb(){{if(So===0){im=console.log,op=console.info,xs=console.warn,ai=console.error,om=console.group,Ua=console.groupCollapsed,lm=console.groupEnd;var e={configurable:!0,enumerable:!0,value:um,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}So++}}function Pc(){{if(So--,So===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Mt({},e,{value:im}),info:Mt({},e,{value:op}),warn:Mt({},e,{value:xs}),error:Mt({},e,{value:ai}),group:Mt({},e,{value:om}),groupCollapsed:Mt({},e,{value:Ua}),groupEnd:Mt({},e,{value:lm})})}So<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var du=c.ReactCurrentDispatcher,sl;function ii(e,t,a){{if(sl===void 0)try{throw Error()}catch(s){var o=s.stack.trim().match(/\n( *(at )?)/);sl=o&&o[1]||""}return`
|
|
41
|
-
`+sl+e}}var lp=!1,Bc;{var up=typeof WeakMap=="function"?WeakMap:Map;Bc=new up}function Ic(e,t){if(!e||lp)return"";{var a=Bc.get(e);if(a!==void 0)return a}var o;lp=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=du.current,du.current=null,eb();try{if(t){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(W){o=W}Reflect.construct(e,[],y)}else{try{y.call()}catch(W){o=W}e.call(y.prototype)}}else{try{throw Error()}catch(W){o=W}e()}}catch(W){if(W&&o&&typeof W.stack=="string"){for(var S=W.stack.split(`
|
|
42
|
-
`),w=o.stack.split(`
|
|
43
|
-
`),k=S.length-1,_=w.length-1;k>=1&&_>=0&&S[k]!==w[_];)_--;for(;k>=1&&_>=0;k--,_--)if(S[k]!==w[_]){if(k!==1||_!==1)do if(k--,_--,_<0||S[k]!==w[_]){var U=`
|
|
44
|
-
`+S[k].replace(" at new "," at ");return e.displayName&&U.includes("<anonymous>")&&(U=U.replace("<anonymous>",e.displayName)),typeof e=="function"&&Bc.set(e,U),U}while(k>=1&&_>=0);break}}}finally{lp=!1,du.current=d,Pc(),Error.prepareStackTrace=s}var L=e?e.displayName||e.name:"",$=L?ii(L):"";return typeof e=="function"&&Bc.set(e,$),$}function sp(e,t,a){return Ic(e,!0)}function cl(e,t,a){return Ic(e,!1)}function tb(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function ws(e,t,a){if(e==null)return"";if(typeof e=="function")return Ic(e,tb(e));if(typeof e=="string")return ii(e);switch(e){case Ct:return ii("Suspense");case Bt:return ii("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case rt:return cl(e.render);case Tt:return ws(e.type,t,a);case it:{var o=e,s=o._payload,d=o._init;try{return ws(d(s),t,a)}catch{}}}return""}function en(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case F:return ii(e.type);case Ke:return ii("Lazy");case ze:return ii("Suspense");case vt:return ii("SuspenseList");case E:case M:case He:return cl(e.type);case de:return cl(e.type.render);case T:return sp(e.type);default:return""}}function cp(e){try{var t="",a=e;do t+=en(a),a=a.return;while(a);return t}catch(o){return`
|
|
45
|
-
Error generating stack: `+o.message+`
|
|
46
|
-
`+o.stack}}function sm(e,t,a){var o=e.displayName;if(o)return o;var s=t.displayName||t.name||"";return s!==""?a+"("+s+")":a}function $c(e){return e.displayName||"Context"}function on(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ri:return"Fragment";case ba:return"Portal";case O:return"Profiler";case go:return"StrictMode";case Ct:return"Suspense";case Bt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ke:var t=e;return $c(t)+".Consumer";case oe:var a=e;return $c(a._context)+".Provider";case rt:return sm(e,e.render,"ForwardRef");case Tt:var o=e.displayName||null;return o!==null?o:on(e.type)||"Memo";case it:{var s=e,d=s._payload,y=s._init;try{return on(y(d))}catch{return null}}}return null}function cm(e,t,a){var o=t.displayName||t.name||"";return e.displayName||(o!==""?a+"("+o+")":a)}function fp(e){return e.displayName||"Context"}function bt(e){var t=e.tag,a=e.type;switch(t){case Je:return"Cache";case Xe:var o=a;return fp(o)+".Consumer";case J:var s=a;return fp(s._context)+".Provider";case st:return"DehydratedFragment";case de:return cm(a,a.render,"ForwardRef");case ce:return"Fragment";case F:return a;case j:return"Portal";case R:return"Root";case K:return"Text";case Ke:return on(a);case ve:return a===go?"StrictMode":"Mode";case fe:return"Offscreen";case Se:return"Profiler";case $e:return"Scope";case ze:return"Suspense";case vt:return"SuspenseList";case Ze:return"TracingMarker";case T:case E:case ut:case M:case gt:case He:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var Cs=c.ReactDebugCurrentFrame,Pn=null,ja=!1;function Fa(){{if(Pn===null)return null;var e=Pn._debugOwner;if(e!==null&&typeof e<"u")return bt(e)}return null}function Es(){return Pn===null?"":cp(Pn)}function Gn(){Cs.getCurrentStack=null,Pn=null,ja=!1}function tn(e){Cs.getCurrentStack=e===null?null:Es,Pn=e,ja=!1}function nb(){return Pn}function oi(e){ja=e}function Or(e){return""+e}function xo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return zt(e),e;default:return""}}var fm={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function pu(e,t){fm[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function dp(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function dm(e){return e._valueTracker}function Ts(e){e._valueTracker=null}function ks(e){var t="";return e&&(dp(e)?t=e.checked?"true":"false":t=e.value),t}function vu(e){var t=dp(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);zt(e[t]);var o=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var s=a.get,d=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(S){zt(S),o=""+S,d.call(this,S)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var y={getValue:function(){return o},setValue:function(S){zt(S),o=""+S},stopTracking:function(){Ts(e),delete e[t]}};return y}}function fl(e){dm(e)||(e._valueTracker=vu(e))}function pm(e){if(!e)return!1;var t=dm(e);if(!t)return!0;var a=t.getValue(),o=ks(e);return o!==a?(t.setValue(o),!0):!1}function Wc(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}}var Yc=!1,_s=!1,Zc=!1,pp=!1;function Hi(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Rs(e,t){var a=e,o=t.checked,s=Mt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??a._wrapperState.initialChecked});return s}function Ds(e,t){pu("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!_s&&(m("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Fa()||"A component",t.type),_s=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Yc&&(m("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Fa()||"A component",t.type),Yc=!0);var a=e,o=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:xo(t.value!=null?t.value:o),controlled:Hi(t)}}function vp(e,t){var a=e,o=t.checked;o!=null&&bi(a,"checked",o,!1)}function hu(e,t){var a=e;{var o=Hi(t);!a._wrapperState.controlled&&o&&!pp&&(m("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),pp=!0),a._wrapperState.controlled&&!o&&!Zc&&(m("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Zc=!0)}vp(e,t);var s=xo(t.value),d=t.type;if(s!=null)d==="number"?(s===0&&a.value===""||a.value!=s)&&(a.value=Or(s)):a.value!==Or(s)&&(a.value=Or(s));else if(d==="submit"||d==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?wo(a,t.type,s):t.hasOwnProperty("defaultValue")&&wo(a,t.type,xo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function Os(e,t,a){var o=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var s=t.type,d=s==="submit"||s==="reset";if(d&&(t.value===void 0||t.value===null))return;var y=Or(o._wrapperState.initialValue);a||y!==o.value&&(o.value=y),o.defaultValue=y}var S=o.name;S!==""&&(o.name=""),o.defaultChecked=!o.defaultChecked,o.defaultChecked=!!o._wrapperState.initialChecked,S!==""&&(o.name=S)}function vm(e,t){var a=e;hu(a,t),Sa(a,t)}function Sa(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var o=e;o.parentNode;)o=o.parentNode;be(a,"name");for(var s=o.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),d=0;d<s.length;d++){var y=s[d];if(!(y===e||y.form!==e.form)){var S=$y(y);if(!S)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");pm(y),hu(y,S)}}}}function wo(e,t,a){(t!=="number"||Wc(e.ownerDocument)!==e)&&(a==null?e.defaultValue=Or(e._wrapperState.initialValue):e.defaultValue!==Or(a)&&(e.defaultValue=Or(a)))}var Gc=!1,mu=!1,hm=!1;function Qc(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?i.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||mu||(mu=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(hm||(hm=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Gc&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Gc=!0)}function hp(e,t){t.value!=null&&e.setAttribute("value",Or(xo(t.value)))}var Ms=Array.isArray;function ir(e){return Ms(e)}var Xc;Xc=!1;function mm(){var e=Fa();return e?`
|
|
47
|
-
|
|
48
|
-
Check the render method of \``+e+"`.":""}var ym=["value","defaultValue"];function rb(e){{pu("select",e);for(var t=0;t<ym.length;t++){var a=ym[t];if(e[a]!=null){var o=ir(e[a]);e.multiple&&!o?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,mm()):!e.multiple&&o&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,mm())}}}}function Co(e,t,a,o){var s=e.options;if(t){for(var d=a,y={},S=0;S<d.length;S++)y["$"+d[S]]=!0;for(var w=0;w<s.length;w++){var k=y.hasOwnProperty("$"+s[w].value);s[w].selected!==k&&(s[w].selected=k),k&&o&&(s[w].defaultSelected=!0)}}else{for(var _=Or(xo(a)),U=null,L=0;L<s.length;L++){if(s[L].value===_){s[L].selected=!0,o&&(s[L].defaultSelected=!0);return}U===null&&!s[L].disabled&&(U=s[L])}U!==null&&(U.selected=!0)}}function mp(e,t){return Mt({},t,{value:void 0})}function gm(e,t){var a=e;rb(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Xc&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Xc=!0)}function ab(e,t){var a=e;a.multiple=!!t.multiple;var o=t.value;o!=null?Co(a,!!t.multiple,o,!1):t.defaultValue!=null&&Co(a,!!t.multiple,t.defaultValue,!0)}function ib(e,t){var a=e,o=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var s=t.value;s!=null?Co(a,!!t.multiple,s,!1):o!==!!t.multiple&&(t.defaultValue!=null?Co(a,!!t.multiple,t.defaultValue,!0):Co(a,!!t.multiple,t.multiple?[]:"",!1))}function ob(e,t){var a=e,o=t.value;o!=null&&Co(a,!!t.multiple,o,!1)}var yp=!1;function gp(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var o=Mt({},t,{value:void 0,defaultValue:void 0,children:Or(a._wrapperState.initialValue)});return o}function bm(e,t){var a=e;pu("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!yp&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Fa()||"A component"),yp=!0);var o=t.value;if(o==null){var s=t.children,d=t.defaultValue;if(s!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ir(s)){if(s.length>1)throw new Error("<textarea> can only have at most one child.");s=s[0]}d=s}}d==null&&(d=""),o=d}a._wrapperState={initialValue:xo(o)}}function Sm(e,t){var a=e,o=xo(t.value),s=xo(t.defaultValue);if(o!=null){var d=Or(o);d!==a.value&&(a.value=d),t.defaultValue==null&&a.defaultValue!==d&&(a.defaultValue=d)}s!=null&&(a.defaultValue=Or(s))}function xm(e,t){var a=e,o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function bp(e,t){Sm(e,t)}var Pi="http://www.w3.org/1999/xhtml",lb="http://www.w3.org/1998/Math/MathML",Sp="http://www.w3.org/2000/svg";function Kc(e){switch(e){case"svg":return Sp;case"math":return lb;default:return Pi}}function xp(e,t){return e==null||e===Pi?Kc(t):e===Sp&&t==="foreignObject"?Pi:e}var ub=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,o,s){MSApp.execUnsafeLocalFunction(function(){return e(t,a,o,s)})}:e},Jc,wm=ub(function(e,t){if(e.namespaceURI===Sp&&!("innerHTML"in e)){Jc=Jc||document.createElement("div"),Jc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=Jc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),na=1,Bi=3,Bn=8,li=9,dl=11,qc=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===Bi){a.nodeValue=t;return}}e.textContent=t},Cm={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},yu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Em(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Tm=["Webkit","ms","Moz","O"];Object.keys(yu).forEach(function(e){Tm.forEach(function(t){yu[Em(t,e)]=yu[e]})});function ef(e,t,a){var o=t==null||typeof t=="boolean"||t==="";return o?"":!a&&typeof t=="number"&&t!==0&&!(yu.hasOwnProperty(e)&&yu[e])?t+"px":(Pe(t,e),(""+t).trim())}var gu=/([A-Z])/g,sb=/^ms-/;function cb(e){return e.replace(gu,"-$1").toLowerCase().replace(sb,"-ms-")}var km=function(){};{var _m=/^(?:webkit|moz|o)[A-Z]/,Rm=/^-ms-/,Ns=/-(.)/g,bu=/;\s*$/,Su={},xu={},Dm=!1,wp=!1,Cp=function(e){return e.replace(Ns,function(t,a){return a.toUpperCase()})},Ep=function(e){Su.hasOwnProperty(e)&&Su[e]||(Su[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,Cp(e.replace(Rm,"ms-"))))},Om=function(e){Su.hasOwnProperty(e)&&Su[e]||(Su[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Mm=function(e,t){xu.hasOwnProperty(t)&&xu[t]||(xu[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(bu,"")))},Nm=function(e,t){Dm||(Dm=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},fb=function(e,t){wp||(wp=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};km=function(e,t){e.indexOf("-")>-1?Ep(e):_m.test(e)?Om(e):bu.test(t)&&Mm(e,t),typeof t=="number"&&(isNaN(t)?Nm(e,t):isFinite(t)||fb(e,t))}}var db=km;function pb(e){{var t="",a="";for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];if(s!=null){var d=o.indexOf("--")===0;t+=a+(d?o:cb(o))+":",t+=ef(o,s,d),a=";"}}return t||null}}function Am(e,t){var a=e.style;for(var o in t)if(t.hasOwnProperty(o)){var s=o.indexOf("--")===0;s||db(o,t[o]);var d=ef(o,t[o],s);o==="float"&&(o="cssFloat"),s?a.setProperty(o,d):a[o]=d}}function vb(e){return e==null||typeof e=="boolean"||e===""}function Va(e){var t={};for(var a in e)for(var o=Cm[a]||[a],s=0;s<o.length;s++)t[o[s]]=a;return t}function As(e,t){{if(!t)return;var a=Va(e),o=Va(t),s={};for(var d in a){var y=a[d],S=o[d];if(S&&y!==S){var w=y+","+S;if(s[w])continue;s[w]=!0,m("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",vb(e[y])?"Removing":"Updating",y,S)}}}}var Lm={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},zm=Mt({menuitem:!0},Lm),Um="__html";function tf(e,t){if(t){if(zm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Um in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Ii(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var nf={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},jm={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},ui={},Tp=new RegExp("^(aria)-["+qe+"]*$"),Ls=new RegExp("^(aria)[A-Z]["+qe+"]*$");function kp(e,t){{if(nr.call(ui,t)&&ui[t])return!0;if(Ls.test(t)){var a="aria-"+t.slice(4).toLowerCase(),o=jm.hasOwnProperty(a)?a:null;if(o==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),ui[t]=!0,!0;if(t!==o)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,o),ui[t]=!0,!0}if(Tp.test(t)){var s=t.toLowerCase(),d=jm.hasOwnProperty(s)?s:null;if(d==null)return ui[t]=!0,!1;if(t!==d)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),ui[t]=!0,!0}}return!0}function Fm(e,t){{var a=[];for(var o in t){var s=kp(e,o);s||a.push(o)}var d=a.map(function(y){return"`"+y+"`"}).join(", ");a.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e):a.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e)}}function rf(e,t){Ii(e,t)||Fm(e,t)}var pl=!1;function _p(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!pl&&(pl=!0,e==="select"&&t.multiple?m("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Rp=function(){};{var or={},Dp=/^on./,Vm=/^on[^A-Z]/,Hm=new RegExp("^(aria)-["+qe+"]*$"),Pm=new RegExp("^(aria)[A-Z]["+qe+"]*$");Rp=function(e,t,a,o){if(nr.call(or,t)&&or[t])return!0;var s=t.toLowerCase();if(s==="onfocusin"||s==="onfocusout")return m("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),or[t]=!0,!0;if(o!=null){var d=o.registrationNameDependencies,y=o.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var S=y.hasOwnProperty(s)?y[s]:null;if(S!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",t,S),or[t]=!0,!0;if(Dp.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),or[t]=!0,!0}else if(Dp.test(t))return Vm.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),or[t]=!0,!0;if(Hm.test(t)||Pm.test(t))return!0;if(s==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),or[t]=!0,!0;if(s==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),or[t]=!0,!0;if(s==="is"&&a!==null&&a!==void 0&&typeof a!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),or[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),or[t]=!0,!0;var w=ga(t),k=w!==null&&w.type===za;if(nf.hasOwnProperty(s)){var _=nf[s];if(_!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,_),or[t]=!0,!0}else if(!k&&t!==s)return m("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,s),or[t]=!0,!0;return typeof a=="boolean"&&ta(t,a,w,!1)?(a?m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),or[t]=!0,!0):k?!0:ta(t,a,w,!1)?(or[t]=!0,!1):((a==="false"||a==="true")&&w!==null&&w.type===On&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),or[t]=!0),!0)}}var Bm=function(e,t,a){{var o=[];for(var s in t){var d=Rp(e,s,t[s],a);d||o.push(s)}var y=o.map(function(S){return"`"+S+"`"}).join(", ");o.length===1?m("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",y,e):o.length>1&&m("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",y,e)}};function Im(e,t,a){Ii(e,t)||Bm(e,t,a)}var $i=1,zs=1<<1,vl=1<<2,hb=$i|zs|vl,Us=null;function js(e){Us!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Us=e}function mb(){Us===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Us=null}function $m(e){return e===Us}function af(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Bi?t.parentNode:t}var ln=null,Eo=null,Wi=null;function wu(e){var t=Gu(e);if(t){if(typeof ln!="function")throw new Error("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.");var a=t.stateNode;if(a){var o=$y(a);ln(t.stateNode,t.type,o)}}}function Wm(e){ln=e}function of(e){Eo?Wi?Wi.push(e):Wi=[e]:Eo=e}function Fs(){return Eo!==null||Wi!==null}function Vs(){if(Eo){var e=Eo,t=Wi;if(Eo=null,Wi=null,wu(e),t)for(var a=0;a<t.length;a++)wu(t[a])}}var hl=function(e,t){return e(t)},Op=function(){},Mp=!1;function yb(){var e=Fs();e&&(Op(),Vs())}function Np(e,t,a){if(Mp)return e(t,a);Mp=!0;try{return hl(e,t,a)}finally{Mp=!1,yb()}}function lf(e,t,a){hl=e,Op=a}function uf(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Ap(e,t,a){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(a.disabled&&uf(t));default:return!1}}function ml(e,t){var a=e.stateNode;if(a===null)return null;var o=$y(a);if(o===null)return null;var s=o[t];if(Ap(t,e.type,o))return null;if(s&&typeof s!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof s+"` type.");return s}var Hs=!1;if(Hn)try{var yl={};Object.defineProperty(yl,"passive",{get:function(){Hs=!0}}),window.addEventListener("test",yl,yl),window.removeEventListener("test",yl,yl)}catch{Hs=!1}function Ym(e,t,a,o,s,d,y,S,w){var k=Array.prototype.slice.call(arguments,3);try{t.apply(a,k)}catch(_){this.onError(_)}}var Lp=Ym;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var zp=document.createElement("react");Lp=function(t,a,o,s,d,y,S,w,k){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var _=document.createEvent("Event"),U=!1,L=!0,$=window.event,W=Object.getOwnPropertyDescriptor(window,"event");function Q(){zp.removeEventListener(X,nt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=$)}var Me=Array.prototype.slice.call(arguments,3);function nt(){U=!0,Q(),a.apply(o,Me),L=!1}var We,Ht=!1,At=!1;function H(P){if(We=P.error,Ht=!0,We===null&&P.colno===0&&P.lineno===0&&(At=!0),P.defaultPrevented&&We!=null&&typeof We=="object")try{We._suppressLogging=!0}catch{}}var X="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",H),zp.addEventListener(X,nt,!1),_.initEvent(X,!1,!1),zp.dispatchEvent(_),W&&Object.defineProperty(window,"event",W),U&&L&&(Ht?At&&(We=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):We=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(We)),window.removeEventListener("error",H),!U)return Q(),Ym.apply(this,arguments)}}var gb=Lp,To=!1,si=null,Ps=!1,ko=null,Si={onError:function(e){To=!0,si=e}};function gl(e,t,a,o,s,d,y,S,w){To=!1,si=null,gb.apply(Si,arguments)}function Yi(e,t,a,o,s,d,y,S,w){if(gl.apply(this,arguments),To){var k=jp();Ps||(Ps=!0,ko=k)}}function Up(){if(Ps){var e=ko;throw Ps=!1,ko=null,e}}function bb(){return To}function jp(){if(To){var e=si;return To=!1,si=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Ha(e){return e._reactInternals}function Bs(e){return e._reactInternals!==void 0}function Cu(e,t){e._reactInternals=t}var et=0,_o=1,fn=2,St=4,Qt=16,Xt=32,xi=64,dt=128,Mn=256,ra=512,Pa=1024,gn=2048,Ba=4096,Ro=8192,Is=16384,sf=gn|St|xi|ra|Pa|Is,Zm=32767,xa=32768,lr=65536,$s=131072,Fp=1048576,Vp=2097152,aa=4194304,Do=8388608,ia=16777216,bl=33554432,Eu=St|Pa|0,oa=fn|St|Qt|Xt|ra|Ba|Ro,Mr=St|xi|ra|Ro,Ia=gn|Qt,mr=aa|Do|Vp,Zi=c.ReactCurrentOwner;function wa(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var o=t;do t=o,(t.flags&(fn|Ba))!==et&&(a=t.return),o=t.return;while(o)}return t.tag===R?a:null}function Hp(e){if(e.tag===ze){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function cf(e){return e.tag===R?e.stateNode.containerInfo:null}function Pp(e){return wa(e)===e}function Ca(e){{var t=Zi.current;if(t!==null&&t.tag===T){var a=t,o=a.stateNode;o._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",bt(a)||"A component"),o._warnedAboutRefsInRender=!0}}var s=Ha(e);return s?wa(s)===s:!1}function la(e){if(wa(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function dn(e){var t=e.alternate;if(!t){var a=wa(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var o=e,s=t;;){var d=o.return;if(d===null)break;var y=d.alternate;if(y===null){var S=d.return;if(S!==null){o=s=S;continue}break}if(d.child===y.child){for(var w=d.child;w;){if(w===o)return la(d),e;if(w===s)return la(d),t;w=w.sibling}throw new Error("Unable to find node on an unmounted component.")}if(o.return!==s.return)o=d,s=y;else{for(var k=!1,_=d.child;_;){if(_===o){k=!0,o=d,s=y;break}if(_===s){k=!0,s=d,o=y;break}_=_.sibling}if(!k){for(_=y.child;_;){if(_===o){k=!0,o=y,s=d;break}if(_===s){k=!0,s=y,o=d;break}_=_.sibling}if(!k)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(o.alternate!==s)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(o.tag!==R)throw new Error("Unable to find node on an unmounted component.");return o.stateNode.current===o?e:t}function $a(e){var t=dn(e);return t!==null?Bp(t):null}function Bp(e){if(e.tag===F||e.tag===K)return e;for(var t=e.child;t!==null;){var a=Bp(t);if(a!==null)return a;t=t.sibling}return null}function Gm(e){var t=dn(e);return t!==null?ff(t):null}function ff(e){if(e.tag===F||e.tag===K)return e;for(var t=e.child;t!==null;){if(t.tag!==j){var a=ff(t);if(a!==null)return a}t=t.sibling}return null}var df=u.unstable_scheduleCallback,Qm=u.unstable_cancelCallback,pf=u.unstable_shouldYield,Xm=u.unstable_requestPaint,Tn=u.unstable_now,Ip=u.unstable_getCurrentPriorityLevel,vf=u.unstable_ImmediatePriority,Ea=u.unstable_UserBlockingPriority,wi=u.unstable_NormalPriority,hf=u.unstable_LowPriority,Oo=u.unstable_IdlePriority,$p=u.unstable_yieldValue,Wp=u.unstable_setDisableYieldValue,Mo=null,ur=null,Ce=null,jn=!1,yr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Yp(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Pt&&(e=Mt({},e,{getLaneLabelMap:Ao,injectProfilingHooks:Qi})),Mo=t.inject(e),ur=t}catch(a){m("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function Km(e,t){if(ur&&typeof ur.onScheduleFiberRoot=="function")try{ur.onScheduleFiberRoot(Mo,e,t)}catch(a){jn||(jn=!0,m("React instrumentation encountered an error: %s",a))}}function Gi(e,t){if(ur&&typeof ur.onCommitFiberRoot=="function")try{var a=(e.current.flags&dt)===dt;if(Lt){var o;switch(t){case Nr:o=vf;break;case gr:o=Ea;break;case Ki:o=wi;break;case qs:o=Oo;break;default:o=wi;break}ur.onCommitFiberRoot(Mo,e,o,a)}}catch(s){jn||(jn=!0,m("React instrumentation encountered an error: %s",s))}}function No(e){if(ur&&typeof ur.onPostCommitFiberRoot=="function")try{ur.onPostCommitFiberRoot(Mo,e)}catch(t){jn||(jn=!0,m("React instrumentation encountered an error: %s",t))}}function Zp(e){if(ur&&typeof ur.onCommitFiberUnmount=="function")try{ur.onCommitFiberUnmount(Mo,e)}catch(t){jn||(jn=!0,m("React instrumentation encountered an error: %s",t))}}function Qn(e){if(typeof $p=="function"&&(Wp(e),v(e)),ur&&typeof ur.setStrictMode=="function")try{ur.setStrictMode(Mo,e)}catch(t){jn||(jn=!0,m("React instrumentation encountered an error: %s",t))}}function Qi(e){Ce=e}function Ao(){{for(var e=new Map,t=1,a=0;a<pn;a++){var o=Sb(t);e.set(t,o),t*=2}return e}}function mf(e){Ce!==null&&typeof Ce.markCommitStarted=="function"&&Ce.markCommitStarted(e)}function Gp(){Ce!==null&&typeof Ce.markCommitStopped=="function"&&Ce.markCommitStopped()}function Lo(e){Ce!==null&&typeof Ce.markComponentRenderStarted=="function"&&Ce.markComponentRenderStarted(e)}function Sl(){Ce!==null&&typeof Ce.markComponentRenderStopped=="function"&&Ce.markComponentRenderStopped()}function Jm(e){Ce!==null&&typeof Ce.markComponentPassiveEffectMountStarted=="function"&&Ce.markComponentPassiveEffectMountStarted(e)}function Qp(){Ce!==null&&typeof Ce.markComponentPassiveEffectMountStopped=="function"&&Ce.markComponentPassiveEffectMountStopped()}function yf(e){Ce!==null&&typeof Ce.markComponentPassiveEffectUnmountStarted=="function"&&Ce.markComponentPassiveEffectUnmountStarted(e)}function qm(){Ce!==null&&typeof Ce.markComponentPassiveEffectUnmountStopped=="function"&&Ce.markComponentPassiveEffectUnmountStopped()}function ey(e){Ce!==null&&typeof Ce.markComponentLayoutEffectMountStarted=="function"&&Ce.markComponentLayoutEffectMountStarted(e)}function ty(){Ce!==null&&typeof Ce.markComponentLayoutEffectMountStopped=="function"&&Ce.markComponentLayoutEffectMountStopped()}function gf(e){Ce!==null&&typeof Ce.markComponentLayoutEffectUnmountStarted=="function"&&Ce.markComponentLayoutEffectUnmountStarted(e)}function Tu(){Ce!==null&&typeof Ce.markComponentLayoutEffectUnmountStopped=="function"&&Ce.markComponentLayoutEffectUnmountStopped()}function bf(e,t,a){Ce!==null&&typeof Ce.markComponentErrored=="function"&&Ce.markComponentErrored(e,t,a)}function ny(e,t,a){Ce!==null&&typeof Ce.markComponentSuspended=="function"&&Ce.markComponentSuspended(e,t,a)}function ry(e){Ce!==null&&typeof Ce.markLayoutEffectsStarted=="function"&&Ce.markLayoutEffectsStarted(e)}function ku(){Ce!==null&&typeof Ce.markLayoutEffectsStopped=="function"&&Ce.markLayoutEffectsStopped()}function ay(e){Ce!==null&&typeof Ce.markPassiveEffectsStarted=="function"&&Ce.markPassiveEffectsStarted(e)}function Ws(){Ce!==null&&typeof Ce.markPassiveEffectsStopped=="function"&&Ce.markPassiveEffectsStopped()}function ci(e){Ce!==null&&typeof Ce.markRenderStarted=="function"&&Ce.markRenderStarted(e)}function Ys(){Ce!==null&&typeof Ce.markRenderYielded=="function"&&Ce.markRenderYielded()}function _u(){Ce!==null&&typeof Ce.markRenderStopped=="function"&&Ce.markRenderStopped()}function xl(e){Ce!==null&&typeof Ce.markRenderScheduled=="function"&&Ce.markRenderScheduled(e)}function Xp(e,t){Ce!==null&&typeof Ce.markForceUpdateScheduled=="function"&&Ce.markForceUpdateScheduled(e,t)}function zo(e,t){Ce!==null&&typeof Ce.markStateUpdateScheduled=="function"&&Ce.markStateUpdateScheduled(e,t)}var at=0,Rt=1,ot=2,kn=8,Wa=16,Sf=Math.clz32?Math.clz32:wl,xf=Math.log,Kp=Math.LN2;function wl(e){var t=e>>>0;return t===0?32:31-(xf(t)/Kp|0)|0}var pn=31,q=0,Ft=0,lt=1,Ci=2,Ta=4,Cl=8,vn=16,El=32,Uo=4194240,Tl=64,Ya=128,ua=256,kl=512,Zs=1024,Gs=2048,wf=4096,Cf=8192,Ef=16384,Tf=32768,kf=65536,_f=131072,Rf=262144,Df=524288,_l=1048576,Of=2097152,Rl=130023424,Xi=4194304,Mf=8388608,Qs=16777216,Nf=33554432,Af=67108864,Jp=Xi,Ru=134217728,Lf=268435455,Du=268435456,jo=536870912,sa=1073741824;function Sb(e){{if(e<)return"Sync";if(e&Ci)return"InputContinuousHydration";if(e&Ta)return"InputContinuous";if(e&Cl)return"DefaultHydration";if(e&vn)return"Default";if(e&El)return"TransitionHydration";if(e&Uo)return"Transition";if(e&Rl)return"Retry";if(e&Ru)return"SelectiveHydration";if(e&Du)return"IdleHydration";if(e&jo)return"Idle";if(e&sa)return"Offscreen"}}var un=-1,zf=Tl,Uf=Xi;function Ou(e){switch(In(e)){case lt:return lt;case Ci:return Ci;case Ta:return Ta;case Cl:return Cl;case vn:return vn;case El:return El;case Tl:case Ya:case ua:case kl:case Zs:case Gs:case wf:case Cf:case Ef:case Tf:case kf:case _f:case Rf:case Df:case _l:case Of:return e&Uo;case Xi:case Mf:case Qs:case Nf:case Af:return e&Rl;case Ru:return Ru;case Du:return Du;case jo:return jo;case sa:return sa;default:return m("Should have found matching lanes. This is a bug in React."),e}}function Xs(e,t){var a=e.pendingLanes;if(a===q)return q;var o=q,s=e.suspendedLanes,d=e.pingedLanes,y=a&Lf;if(y!==q){var S=y&~s;if(S!==q)o=Ou(S);else{var w=y&d;w!==q&&(o=Ou(w))}}else{var k=a&~s;k!==q?o=Ou(k):d!==q&&(o=Ou(d))}if(o===q)return q;if(t!==q&&t!==o&&(t&s)===q){var _=In(o),U=In(t);if(_>=U||_===vn&&(U&Uo)!==q)return t}(o&Ta)!==q&&(o|=a&vn);var L=e.entangledLanes;if(L!==q)for(var $=e.entanglements,W=o&L;W>0;){var Q=Fo(W),Me=1<<Q;o|=$[Q],W&=~Me}return o}function iy(e,t){for(var a=e.eventTimes,o=un;t>0;){var s=Fo(t),d=1<<s,y=a[s];y>o&&(o=y),t&=~d}return o}function jf(e,t){switch(e){case lt:case Ci:case Ta:return t+250;case Cl:case vn:case El:case Tl:case Ya:case ua:case kl:case Zs:case Gs:case wf:case Cf:case Ef:case Tf:case kf:case _f:case Rf:case Df:case _l:case Of:return t+5e3;case Xi:case Mf:case Qs:case Nf:case Af:return un;case Ru:case Du:case jo:case sa:return un;default:return m("Should have found matching lanes. This is a bug in React."),un}}function xb(e,t){for(var a=e.pendingLanes,o=e.suspendedLanes,s=e.pingedLanes,d=e.expirationTimes,y=a;y>0;){var S=Fo(y),w=1<<S,k=d[S];k===un?((w&o)===q||(w&s)!==q)&&(d[S]=jf(w,t)):k<=t&&(e.expiredLanes|=w),y&=~w}}function wb(e){return Ou(e.pendingLanes)}function qp(e){var t=e.pendingLanes&~sa;return t!==q?t:t&sa?sa:q}function Mu(e){return(e<)!==q}function Ks(e){return(e&Lf)!==q}function Ff(e){return(e&Rl)===e}function Cb(e){var t=lt|Ta|vn;return(e&t)===q}function oy(e){return(e&Uo)===e}function Js(e,t){var a=Ci|Ta|Cl|vn;return(t&a)!==q}function ly(e,t){return(t&e.expiredLanes)!==q}function ev(e){return(e&Uo)!==q}function tv(){var e=zf;return zf<<=1,(zf&Uo)===q&&(zf=Tl),e}function Eb(){var e=Uf;return Uf<<=1,(Uf&Rl)===q&&(Uf=Xi),e}function In(e){return e&-e}function Xn(e){return In(e)}function Fo(e){return 31-Sf(e)}function Vf(e){return Fo(e)}function ca(e,t){return(e&t)!==q}function Dl(e,t){return(e&t)===t}function xt(e,t){return e|t}function Nu(e,t){return e&~t}function nv(e,t){return e&t}function uy(e){return e}function sy(e,t){return e!==Ft&&e<t?e:t}function Hf(e){for(var t=[],a=0;a<pn;a++)t.push(e);return t}function Ol(e,t,a){e.pendingLanes|=t,t!==jo&&(e.suspendedLanes=q,e.pingedLanes=q);var o=e.eventTimes,s=Vf(t);o[s]=a}function rv(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,o=t;o>0;){var s=Fo(o),d=1<<s;a[s]=un,o&=~d}}function av(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function iv(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=q,e.pingedLanes=q,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var o=e.entanglements,s=e.eventTimes,d=e.expirationTimes,y=a;y>0;){var S=Fo(y),w=1<<S;o[S]=q,s[S]=un,d[S]=un,y&=~w}}function Au(e,t){for(var a=e.entangledLanes|=t,o=e.entanglements,s=a;s;){var d=Fo(s),y=1<<d;y&t|o[d]&t&&(o[d]|=t),s&=~y}}function Tb(e,t){var a=In(t),o;switch(a){case Ta:o=Ci;break;case vn:o=Cl;break;case Tl:case Ya:case ua:case kl:case Zs:case Gs:case wf:case Cf:case Ef:case Tf:case kf:case _f:case Rf:case Df:case _l:case Of:case Xi:case Mf:case Qs:case Nf:case Af:o=El;break;case jo:o=Du;break;default:o=Ft;break}return(o&(e.suspendedLanes|t))!==Ft?Ft:o}function ov(e,t,a){if(yr)for(var o=e.pendingUpdatersLaneMap;a>0;){var s=Vf(a),d=1<<s,y=o[s];y.add(t),a&=~d}}function Pf(e,t){if(yr)for(var a=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;t>0;){var s=Vf(t),d=1<<s,y=a[s];y.size>0&&(y.forEach(function(S){var w=S.alternate;(w===null||!o.has(w))&&o.add(S)}),y.clear()),t&=~d}}function lv(e,t){return null}var Nr=lt,gr=Ta,Ki=vn,qs=jo,Ml=Ft;function Za(){return Ml}function Kn(e){Ml=e}function ec(e,t){var a=Ml;try{return Ml=e,t()}finally{Ml=a}}function Ar(e,t){return e!==0&&e<t?e:t}function kb(e,t){return e===0||e>t?e:t}function uv(e,t){return e!==0&&e<t}function tc(e){var t=In(e);return uv(Nr,t)?uv(gr,t)?Ks(t)?Ki:qs:gr:Nr}function Jn(e){var t=e.current.memoizedState;return t.isDehydrated}var cy;function Ue(e){cy=e}function Lu(e){cy(e)}var nc;function fy(e){nc=e}var dy;function rc(e){dy=e}var ac;function sv(e){ac=e}var cv;function py(e){cv=e}var Bf=!1,zu=[],Ei=null,bn=null,sr=null,Ga=new Map,Uu=new Map,Ji=[],fi=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function vy(e){return fi.indexOf(e)>-1}function Ti(e,t,a,o,s){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:s,targetContainers:[o]}}function hy(e,t){switch(e){case"focusin":case"focusout":Ei=null;break;case"dragenter":case"dragleave":bn=null;break;case"mouseover":case"mouseout":sr=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;Ga.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var o=t.pointerId;Uu.delete(o);break}}}function ju(e,t,a,o,s,d){if(e===null||e.nativeEvent!==d){var y=Ti(t,a,o,s,d);if(t!==null){var S=Gu(t);S!==null&&nc(S)}return y}e.eventSystemFlags|=o;var w=e.targetContainers;return s!==null&&w.indexOf(s)===-1&&w.push(s),e}function my(e,t,a,o,s){switch(t){case"focusin":{var d=s;return Ei=ju(Ei,e,t,a,o,d),!0}case"dragenter":{var y=s;return bn=ju(bn,e,t,a,o,y),!0}case"mouseover":{var S=s;return sr=ju(sr,e,t,a,o,S),!0}case"pointerover":{var w=s,k=w.pointerId;return Ga.set(k,ju(Ga.get(k)||null,e,t,a,o,w)),!0}case"gotpointercapture":{var _=s,U=_.pointerId;return Uu.set(U,ju(Uu.get(U)||null,e,t,a,o,_)),!0}}return!1}function fv(e){var t=pc(e.target);if(t!==null){var a=wa(t);if(a!==null){var o=a.tag;if(o===ze){var s=Hp(a);if(s!==null){e.blockedOn=s,cv(e.priority,function(){dy(a)});return}}else if(o===R){var d=a.stateNode;if(Jn(d)){e.blockedOn=cf(a);return}}}}e.blockedOn=null}function yy(e){for(var t=ac(),a={blockedOn:null,target:e,priority:t},o=0;o<Ji.length&&uv(t,Ji[o].priority);o++);Ji.splice(o,0,a),o===0&&fv(a)}function If(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],o=Nl(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(o===null){var s=e.nativeEvent,d=new s.constructor(s.type,s);js(d),s.target.dispatchEvent(d),mb()}else{var y=Gu(o);return y!==null&&nc(y),e.blockedOn=o,!1}t.shift()}return!0}function ic(e,t,a){If(e)&&a.delete(t)}function dv(){Bf=!1,Ei!==null&&If(Ei)&&(Ei=null),bn!==null&&If(bn)&&(bn=null),sr!==null&&If(sr)&&(sr=null),Ga.forEach(ic),Uu.forEach(ic)}function Lr(e,t){e.blockedOn===t&&(e.blockedOn=null,Bf||(Bf=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,dv)))}function Nt(e){if(zu.length>0){Lr(zu[0],e);for(var t=1;t<zu.length;t++){var a=zu[t];a.blockedOn===e&&(a.blockedOn=null)}}Ei!==null&&Lr(Ei,e),bn!==null&&Lr(bn,e),sr!==null&&Lr(sr,e);var o=function(S){return Lr(S,e)};Ga.forEach(o),Uu.forEach(o);for(var s=0;s<Ji.length;s++){var d=Ji[s];d.blockedOn===e&&(d.blockedOn=null)}for(;Ji.length>0;){var y=Ji[0];if(y.blockedOn!==null)break;fv(y),y.blockedOn===null&&Ji.shift()}}var _n=c.ReactCurrentBatchConfig,Nn=!0;function cr(e){Nn=!!e}function ka(){return Nn}function Fu(e,t,a){var o=Ir(t),s;switch(o){case Nr:s=qn;break;case gr:s=oc;break;case Ki:default:s=qi;break}return s.bind(null,t,a,e)}function qn(e,t,a,o){var s=Za(),d=_n.transition;_n.transition=null;try{Kn(Nr),qi(e,t,a,o)}finally{Kn(s),_n.transition=d}}function oc(e,t,a,o){var s=Za(),d=_n.transition;_n.transition=null;try{Kn(gr),qi(e,t,a,o)}finally{Kn(s),_n.transition=d}}function qi(e,t,a,o){Nn&&$f(e,t,a,o)}function $f(e,t,a,o){var s=Nl(e,t,a,o);if(s===null){Yb(e,t,o,Vu,a),hy(e,o);return}if(my(s,e,t,a,o)){o.stopPropagation();return}if(hy(e,o),t&vl&&vy(e)){for(;s!==null;){var d=Gu(s);d!==null&&Lu(d);var y=Nl(e,t,a,o);if(y===null&&Yb(e,t,o,Vu,a),y===s)break;s=y}s!==null&&o.stopPropagation();return}Yb(e,t,o,null,a)}var Vu=null;function Nl(e,t,a,o){Vu=null;var s=af(o),d=pc(s);if(d!==null){var y=wa(d);if(y===null)d=null;else{var S=y.tag;if(S===ze){var w=Hp(y);if(w!==null)return w;d=null}else if(S===R){var k=y.stateNode;if(Jn(k))return cf(y);d=null}else y!==d&&(d=null)}}return Vu=d,null}function Ir(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Nr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return gr;case"message":{var t=Ip();switch(t){case vf:return Nr;case Ea:return gr;case wi:case hf:return Ki;case Oo:return qs;default:return Ki}}default:return Ki}}function pv(e,t,a){return e.addEventListener(t,a,!1),a}function Hu(e,t,a){return e.addEventListener(t,a,!0),a}function eo(e,t,a,o){return e.addEventListener(t,a,{capture:!0,passive:o}),a}function Wf(e,t,a,o){return e.addEventListener(t,a,{passive:o}),a}var Al=null,ki=null,Vo=null;function Ho(e){return Al=e,ki=Zf(),!0}function Yf(){Al=null,ki=null,Vo=null}function Pu(){if(Vo)return Vo;var e,t=ki,a=t.length,o,s=Zf(),d=s.length;for(e=0;e<a&&t[e]===s[e];e++);var y=a-e;for(o=1;o<=y&&t[a-o]===s[d-o];o++);var S=o>1?1-o:void 0;return Vo=s.slice(e,S),Vo}function Zf(){return"value"in Al?Al.value:Al.textContent}function Ll(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function zl(){return!0}function zr(){return!1}function $n(e){function t(a,o,s,d,y){this._reactName=a,this._targetInst=s,this.type=o,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var S in e)if(e.hasOwnProperty(S)){var w=e[S];w?this[S]=w(d):this[S]=d[S]}var k=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return k?this.isDefaultPrevented=zl:this.isDefaultPrevented=zr,this.isPropagationStopped=zr,this}return Mt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=zl)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=zl)},persist:function(){},isPersistent:zl}),t}var Ur={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},jr=$n(Ur),Bu=Mt({},Ur,{view:0,detail:0}),vv=$n(Bu),lc,hv,Qa;function gy(e){e!==Qa&&(Qa&&e.type==="mousemove"?(lc=e.screenX-Qa.screenX,hv=e.screenY-Qa.screenY):(lc=0,hv=0),Qa=e)}var Iu=Mt({},Bu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(gy(e),lc)},movementY:function(e){return"movementY"in e?e.movementY:hv}}),Po=$n(Iu),mv=Mt({},Iu,{dataTransfer:0}),Ul=$n(mv),by=Mt({},Bu,{relatedTarget:0}),Gf=$n(by),yv=Mt({},Ur,{animationName:0,elapsedTime:0,pseudoElement:0}),Qf=$n(yv),_b=Mt({},Ur,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Rb=$n(_b),Sy=Mt({},Ur,{data:0}),gv=$n(Sy),jl=gv,Db={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$u={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 xy(e){if(e.key){var t=Db[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=Ll(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?$u[e.keyCode]||"Unidentified":""}var An={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ob(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var o=An[e];return o?!!a[o]:!1}function Xf(e){return Ob}var Mb=Mt({},Bu,{key:xy,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xf,charCode:function(e){return e.type==="keypress"?Ll(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ll(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Nb=$n(Mb),wy=Mt({},Iu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bv=$n(wy),Ab=Mt({},Bu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xf}),Xa=$n(Ab),Sv=Mt({},Ur,{propertyName:0,elapsedTime:0,pseudoElement:0}),Lb=$n(Sv),Bo=Mt({},Iu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Kf=$n(Bo),Fl=[9,13,27,32],uc=229,sc=Hn&&"CompositionEvent"in window,Vl=null;Hn&&"documentMode"in document&&(Vl=document.documentMode);var zb=Hn&&"TextEvent"in window&&!Vl,Jf=Hn&&(!sc||Vl&&Vl>8&&Vl<=11),Cy=32,xv=String.fromCharCode(Cy);function Ey(){Zn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Zn("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Zn("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Zn("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var cc=!1;function qf(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Ty(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function wv(e,t){return e==="keydown"&&t.keyCode===uc}function ky(e,t){switch(e){case"keyup":return Fl.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==uc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function ed(e){return e.locale==="ko"}var to=!1;function Ev(e,t,a,o,s){var d,y;if(sc?d=Ty(t):to?ky(t,o)&&(d="onCompositionEnd"):wv(t,o)&&(d="onCompositionStart"),!d)return null;Jf&&!ed(o)&&(!to&&d==="onCompositionStart"?to=Ho(s):d==="onCompositionEnd"&&to&&(y=Pu()));var S=My(a,d);if(S.length>0){var w=new gv(d,t,null,o,s);if(e.push({event:w,listeners:S}),y)w.data=y;else{var k=Cv(o);k!==null&&(w.data=k)}}}function td(e,t){switch(e){case"compositionend":return Cv(t);case"keypress":var a=t.which;return a!==Cy?null:(cc=!0,xv);case"textInput":var o=t.data;return o===xv&&cc?null:o;default:return null}}function _y(e,t){if(to){if(e==="compositionend"||!sc&&ky(e,t)){var a=Pu();return Yf(),to=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!qf(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Jf&&!ed(t)?null:t.data;default:return null}}function Ub(e,t,a,o,s){var d;if(zb?d=td(t,o):d=_y(t,o),!d)return null;var y=My(a,"onBeforeInput");if(y.length>0){var S=new jl("onBeforeInput","beforeinput",null,o,s);e.push({event:S,listeners:y}),S.data=d}}function nd(e,t,a,o,s,d,y){Ev(e,t,a,o,s),Ub(e,t,a,o,s)}var jb={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 Wu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!jb[e.type]:t==="textarea"}/**
|
|
49
|
-
* Checks if an event is supported in the current execution environment.
|
|
50
|
-
*
|
|
51
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
52
|
-
* `reset`, `load`, `error`, and `select`.
|
|
53
|
-
*
|
|
54
|
-
* Borrows from Modernizr.
|
|
55
|
-
*
|
|
56
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
57
|
-
* @return {boolean} True if the event is supported.
|
|
58
|
-
* @internal
|
|
59
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
60
|
-
*/function Fb(e){if(!Hn)return!1;var t="on"+e,a=t in document;if(!a){var o=document.createElement("div");o.setAttribute(t,"return;"),a=typeof o[t]=="function"}return a}function rd(){Zn("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,a,o){of(o);var s=My(t,"onChange");if(s.length>0){var d=new jr("onChange","change",null,a,o);e.push({event:d,listeners:s})}}var r=null,l=null;function f(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function h(e){var t=[];n(t,l,e,af(e)),Np(b,t)}function b(e){WC(e,0)}function C(e){var t=sd(e);if(pm(t))return e}function D(e,t){if(e==="change")return t}var N=!1;Hn&&(N=Fb("input")&&(!document.documentMode||document.documentMode>9));function Y(e,t){r=e,l=t,r.attachEvent("onpropertychange",ue)}function ie(){r&&(r.detachEvent("onpropertychange",ue),r=null,l=null)}function ue(e){e.propertyName==="value"&&C(l)&&h(e)}function re(e,t,a){e==="focusin"?(ie(),Y(t,a)):e==="focusout"&&ie()}function De(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return C(l)}function je(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Be(e,t){if(e==="click")return C(t)}function Fn(e,t){if(e==="input"||e==="change")return C(t)}function V(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||wo(e,"number",e.value)}function z(e,t,a,o,s,d,y){var S=a?sd(a):window,w,k;if(f(S)?w=D:Wu(S)?N?w=Fn:(w=De,k=re):je(S)&&(w=Be),w){var _=w(t,a);if(_){n(e,_,o,s);return}}k&&k(t,S,a),t==="focusout"&&V(S)}function B(){Hr("onMouseEnter",["mouseout","mouseover"]),Hr("onMouseLeave",["mouseout","mouseover"]),Hr("onPointerEnter",["pointerout","pointerover"]),Hr("onPointerLeave",["pointerout","pointerover"])}function pe(e,t,a,o,s,d,y){var S=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout";if(S&&!$m(o)){var k=o.relatedTarget||o.fromElement;if(k&&(pc(k)||Fv(k)))return}if(!(!w&&!S)){var _;if(s.window===s)_=s;else{var U=s.ownerDocument;U?_=U.defaultView||U.parentWindow:_=window}var L,$;if(w){var W=o.relatedTarget||o.toElement;if(L=a,$=W?pc(W):null,$!==null){var Q=wa($);($!==Q||$.tag!==F&&$.tag!==K)&&($=null)}}else L=null,$=a;if(L!==$){var Me=Po,nt="onMouseLeave",We="onMouseEnter",Ht="mouse";(t==="pointerout"||t==="pointerover")&&(Me=bv,nt="onPointerLeave",We="onPointerEnter",Ht="pointer");var At=L==null?_:sd(L),H=$==null?_:sd($),X=new Me(nt,Ht+"leave",L,o,s);X.target=At,X.relatedTarget=H;var P=null,se=pc(s);if(se===a){var Ne=new Me(We,Ht+"enter",$,o,s);Ne.target=H,Ne.relatedTarget=At,P=Ne}GO(e,X,P,L,$)}}}function Ie(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Fe=typeof Object.is=="function"?Object.is:Ie;function Ge(e,t){if(Fe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=0;s<a.length;s++){var d=a[s];if(!nr.call(t,d)||!Fe(e[d],t[d]))return!1}return!0}function pt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fr(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function It(e,t){for(var a=pt(e),o=0,s=0;a;){if(a.nodeType===Bi){if(s=o+a.textContent.length,o<=t&&s>=t)return{node:a,offset:t-o};o=s}a=pt(fr(a))}}function Io(e){var t=e.ownerDocument,a=t&&t.defaultView||window,o=a.getSelection&&a.getSelection();if(!o||o.rangeCount===0)return null;var s=o.anchorNode,d=o.anchorOffset,y=o.focusNode,S=o.focusOffset;try{s.nodeType,y.nodeType}catch{return null}return Vb(e,s,d,y,S)}function Vb(e,t,a,o,s){var d=0,y=-1,S=-1,w=0,k=0,_=e,U=null;e:for(;;){for(var L=null;_===t&&(a===0||_.nodeType===Bi)&&(y=d+a),_===o&&(s===0||_.nodeType===Bi)&&(S=d+s),_.nodeType===Bi&&(d+=_.nodeValue.length),(L=_.firstChild)!==null;)U=_,_=L;for(;;){if(_===e)break e;if(U===t&&++w===a&&(y=d),U===o&&++k===s&&(S=d),(L=_.nextSibling)!==null)break;_=U,U=_.parentNode}_=L}return y===-1||S===-1?null:{start:y,end:S}}function DO(e,t){var a=e.ownerDocument||document,o=a&&a.defaultView||window;if(o.getSelection){var s=o.getSelection(),d=e.textContent.length,y=Math.min(t.start,d),S=t.end===void 0?y:Math.min(t.end,d);if(!s.extend&&y>S){var w=S;S=y,y=w}var k=It(e,y),_=It(e,S);if(k&&_){if(s.rangeCount===1&&s.anchorNode===k.node&&s.anchorOffset===k.offset&&s.focusNode===_.node&&s.focusOffset===_.offset)return;var U=a.createRange();U.setStart(k.node,k.offset),s.removeAllRanges(),y>S?(s.addRange(U),s.extend(_.node,_.offset)):(U.setEnd(_.node,_.offset),s.addRange(U))}}}function AC(e){return e&&e.nodeType===Bi}function LC(e,t){return!e||!t?!1:e===t?!0:AC(e)?!1:AC(t)?LC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function OO(e){return e&&e.ownerDocument&&LC(e.ownerDocument.documentElement,e)}function MO(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function zC(){for(var e=window,t=Wc();t instanceof e.HTMLIFrameElement;){if(MO(t))e=t.contentWindow;else return t;t=Wc(e.document)}return t}function Hb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function NO(){var e=zC();return{focusedElem:e,selectionRange:Hb(e)?LO(e):null}}function AO(e){var t=zC(),a=e.focusedElem,o=e.selectionRange;if(t!==a&&OO(a)){o!==null&&Hb(a)&&zO(a,o);for(var s=[],d=a;d=d.parentNode;)d.nodeType===na&&s.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof a.focus=="function"&&a.focus();for(var y=0;y<s.length;y++){var S=s[y];S.element.scrollLeft=S.left,S.element.scrollTop=S.top}}}function LO(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Io(e),t||{start:0,end:0}}function zO(e,t){var a=t.start,o=t.end;o===void 0&&(o=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(o,e.value.length)):DO(e,t)}var UO=Hn&&"documentMode"in document&&document.documentMode<=11;function jO(){Zn("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var ad=null,Pb=null,Tv=null,Bb=!1;function FO(e){if("selectionStart"in e&&Hb(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function VO(e){return e.window===e?e.document:e.nodeType===li?e:e.ownerDocument}function UC(e,t,a){var o=VO(a);if(!(Bb||ad==null||ad!==Wc(o))){var s=FO(ad);if(!Tv||!Ge(Tv,s)){Tv=s;var d=My(Pb,"onSelect");if(d.length>0){var y=new jr("onSelect","select",null,t,a);e.push({event:y,listeners:d}),y.target=ad}}}}function HO(e,t,a,o,s,d,y){var S=a?sd(a):window;switch(t){case"focusin":(Wu(S)||S.contentEditable==="true")&&(ad=S,Pb=a,Tv=null);break;case"focusout":ad=null,Pb=null,Tv=null;break;case"mousedown":Bb=!0;break;case"contextmenu":case"mouseup":case"dragend":Bb=!1,UC(e,o,s);break;case"selectionchange":if(UO)break;case"keydown":case"keyup":UC(e,o,s)}}function Ry(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var id={animationend:Ry("Animation","AnimationEnd"),animationiteration:Ry("Animation","AnimationIteration"),animationstart:Ry("Animation","AnimationStart"),transitionend:Ry("Transition","TransitionEnd")},Ib={},jC={};Hn&&(jC=document.createElement("div").style,"AnimationEvent"in window||(delete id.animationend.animation,delete id.animationiteration.animation,delete id.animationstart.animation),"TransitionEvent"in window||delete id.transitionend.transition);function Dy(e){if(Ib[e])return Ib[e];if(!id[e])return e;var t=id[e];for(var a in t)if(t.hasOwnProperty(a)&&a in jC)return Ib[e]=t[a];return e}var FC=Dy("animationend"),VC=Dy("animationiteration"),HC=Dy("animationstart"),PC=Dy("transitionend"),BC=new Map,IC=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Yu(e,t){BC.set(e,t),Zn(t,[e])}function PO(){for(var e=0;e<IC.length;e++){var t=IC[e],a=t.toLowerCase(),o=t[0].toUpperCase()+t.slice(1);Yu(a,"on"+o)}Yu(FC,"onAnimationEnd"),Yu(VC,"onAnimationIteration"),Yu(HC,"onAnimationStart"),Yu("dblclick","onDoubleClick"),Yu("focusin","onFocus"),Yu("focusout","onBlur"),Yu(PC,"onTransitionEnd")}function BO(e,t,a,o,s,d,y){var S=BC.get(t);if(S!==void 0){var w=jr,k=t;switch(t){case"keypress":if(Ll(o)===0)return;case"keydown":case"keyup":w=Nb;break;case"focusin":k="focus",w=Gf;break;case"focusout":k="blur",w=Gf;break;case"beforeblur":case"afterblur":w=Gf;break;case"click":if(o.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=Po;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Ul;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=Xa;break;case FC:case VC:case HC:w=Qf;break;case PC:w=Lb;break;case"scroll":w=vv;break;case"wheel":w=Kf;break;case"copy":case"cut":case"paste":w=Rb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=bv;break}var _=(d&vl)!==0;{var U=!_&&t==="scroll",L=YO(a,S,o.type,_,U);if(L.length>0){var $=new w(S,k,null,o,s);e.push({event:$,listeners:L})}}}}PO(),B(),rd(),jO(),Ey();function IO(e,t,a,o,s,d,y){BO(e,t,a,o,s,d);var S=(d&hb)===0;S&&(pe(e,t,a,o,s),z(e,t,a,o,s),HO(e,t,a,o,s),nd(e,t,a,o,s))}var kv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],$b=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(kv));function $C(e,t,a){var o=e.type||"unknown-event";e.currentTarget=a,Yi(o,t,void 0,e),e.currentTarget=null}function $O(e,t,a){var o;if(a)for(var s=t.length-1;s>=0;s--){var d=t[s],y=d.instance,S=d.currentTarget,w=d.listener;if(y!==o&&e.isPropagationStopped())return;$C(e,w,S),o=y}else for(var k=0;k<t.length;k++){var _=t[k],U=_.instance,L=_.currentTarget,$=_.listener;if(U!==o&&e.isPropagationStopped())return;$C(e,$,L),o=U}}function WC(e,t){for(var a=(t&vl)!==0,o=0;o<e.length;o++){var s=e[o],d=s.event,y=s.listeners;$O(d,y,a)}Up()}function WO(e,t,a,o,s){var d=af(a),y=[];IO(y,e,o,a,d,t),WC(y,t)}function Rn(e,t){$b.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,o=xN(t),s=QO(e,a);o.has(s)||(YC(t,e,zs,a),o.add(s))}function Wb(e,t,a){$b.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=vl),YC(a,e,o,t)}var Oy="_reactListening"+Math.random().toString(36).slice(2);function _v(e){if(!e[Oy]){e[Oy]=!0,Cn.forEach(function(a){a!=="selectionchange"&&($b.has(a)||Wb(a,!1,e),Wb(a,!0,e))});var t=e.nodeType===li?e:e.ownerDocument;t!==null&&(t[Oy]||(t[Oy]=!0,Wb("selectionchange",!1,t)))}}function YC(e,t,a,o,s){var d=Fu(e,t,a),y=void 0;Hs&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(y=!0),e=e,o?y!==void 0?eo(e,t,d,y):Hu(e,t,d):y!==void 0?Wf(e,t,d,y):pv(e,t,d)}function ZC(e,t){return e===t||e.nodeType===Bn&&e.parentNode===t}function Yb(e,t,a,o,s){var d=o;if(!(t&$i)&&!(t&zs)){var y=s;if(o!==null){var S=o;e:for(;;){if(S===null)return;var w=S.tag;if(w===R||w===j){var k=S.stateNode.containerInfo;if(ZC(k,y))break;if(w===j)for(var _=S.return;_!==null;){var U=_.tag;if(U===R||U===j){var L=_.stateNode.containerInfo;if(ZC(L,y))return}_=_.return}for(;k!==null;){var $=pc(k);if($===null)return;var W=$.tag;if(W===F||W===K){S=d=$;continue e}k=k.parentNode}}S=S.return}}}Np(function(){return WO(e,t,a,d)})}function Rv(e,t,a){return{instance:e,listener:t,currentTarget:a}}function YO(e,t,a,o,s,d){for(var y=t!==null?t+"Capture":null,S=o?y:t,w=[],k=e,_=null;k!==null;){var U=k,L=U.stateNode,$=U.tag;if($===F&&L!==null&&(_=L,S!==null)){var W=ml(k,S);W!=null&&w.push(Rv(k,W,_))}if(s)break;k=k.return}return w}function My(e,t){for(var a=t+"Capture",o=[],s=e;s!==null;){var d=s,y=d.stateNode,S=d.tag;if(S===F&&y!==null){var w=y,k=ml(s,a);k!=null&&o.unshift(Rv(s,k,w));var _=ml(s,t);_!=null&&o.push(Rv(s,_,w))}s=s.return}return o}function od(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==F);return e||null}function ZO(e,t){for(var a=e,o=t,s=0,d=a;d;d=od(d))s++;for(var y=0,S=o;S;S=od(S))y++;for(;s-y>0;)a=od(a),s--;for(;y-s>0;)o=od(o),y--;for(var w=s;w--;){if(a===o||o!==null&&a===o.alternate)return a;a=od(a),o=od(o)}return null}function GC(e,t,a,o,s){for(var d=t._reactName,y=[],S=a;S!==null&&S!==o;){var w=S,k=w.alternate,_=w.stateNode,U=w.tag;if(k!==null&&k===o)break;if(U===F&&_!==null){var L=_;if(s){var $=ml(S,d);$!=null&&y.unshift(Rv(S,$,L))}else if(!s){var W=ml(S,d);W!=null&&y.push(Rv(S,W,L))}}S=S.return}y.length!==0&&e.push({event:t,listeners:y})}function GO(e,t,a,o,s){var d=o&&s?ZO(o,s):null;o!==null&&GC(e,t,o,d,!1),s!==null&&a!==null&&GC(e,a,s,d,!0)}function QO(e,t){return e+"__"+(t?"capture":"bubble")}var Ka=!1,Dv="dangerouslySetInnerHTML",Ny="suppressContentEditableWarning",Zu="suppressHydrationWarning",QC="autoFocus",fc="children",dc="style",Ay="__html",Zb,Ly,Ov,XC,zy,KC,JC;Zb={dialog:!0,webview:!0},Ly=function(e,t){rf(e,t),_p(e,t),Im(e,t,{registrationNameDependencies:zn,possibleRegistrationNames:Vr})},KC=Hn&&!document.documentMode,Ov=function(e,t,a){if(!Ka){var o=Uy(a),s=Uy(t);s!==o&&(Ka=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(s),JSON.stringify(o)))}},XC=function(e){if(!Ka){Ka=!0;var t=[];e.forEach(function(a){t.push(a)}),m("Extra attributes from the server: %s",t)}},zy=function(e,t){t===!1?m("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},JC=function(e,t){var a=e.namespaceURI===Pi?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var XO=/\r\n?/g,KO=/\u0000|\uFFFD/g;function Uy(e){$t(e);var t=typeof e=="string"?e:""+e;return t.replace(XO,`
|
|
61
|
-
`).replace(KO,"")}function jy(e,t,a,o){var s=Uy(t),d=Uy(e);if(d!==s&&(o&&(Ka||(Ka=!0,m('Text content did not match. Server: "%s" Client: "%s"',d,s))),a&&Dt))throw new Error("Text content does not match server-rendered HTML.")}function qC(e){return e.nodeType===li?e:e.ownerDocument}function JO(){}function Fy(e){e.onclick=JO}function qO(e,t,a,o,s){for(var d in o)if(o.hasOwnProperty(d)){var y=o[d];if(d===dc)y&&Object.freeze(y),Am(t,y);else if(d===Dv){var S=y?y[Ay]:void 0;S!=null&&wm(t,S)}else if(d===fc)if(typeof y=="string"){var w=e!=="textarea"||y!=="";w&&qc(t,y)}else typeof y=="number"&&qc(t,""+y);else d===Ny||d===Zu||d===QC||(zn.hasOwnProperty(d)?y!=null&&(typeof y!="function"&&zy(d,y),d==="onScroll"&&Rn("scroll",t)):y!=null&&bi(t,d,y,s))}}function eM(e,t,a,o){for(var s=0;s<t.length;s+=2){var d=t[s],y=t[s+1];d===dc?Am(e,y):d===Dv?wm(e,y):d===fc?qc(e,y):bi(e,d,y,o)}}function tM(e,t,a,o){var s,d=qC(a),y,S=o;if(S===Pi&&(S=Kc(e)),S===Pi){if(s=Ii(e,t),!s&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var w=d.createElement("div");w.innerHTML="<script><\/script>";var k=w.firstChild;y=w.removeChild(k)}else if(typeof t.is=="string")y=d.createElement(e,{is:t.is});else if(y=d.createElement(e),e==="select"){var _=y;t.multiple?_.multiple=!0:t.size&&(_.size=t.size)}}else y=d.createElementNS(S,e);return S===Pi&&!s&&Object.prototype.toString.call(y)==="[object HTMLUnknownElement]"&&!nr.call(Zb,e)&&(Zb[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),y}function nM(e,t){return qC(t).createTextNode(e)}function rM(e,t,a,o){var s=Ii(t,a);Ly(t,a);var d;switch(t){case"dialog":Rn("cancel",e),Rn("close",e),d=a;break;case"iframe":case"object":case"embed":Rn("load",e),d=a;break;case"video":case"audio":for(var y=0;y<kv.length;y++)Rn(kv[y],e);d=a;break;case"source":Rn("error",e),d=a;break;case"img":case"image":case"link":Rn("error",e),Rn("load",e),d=a;break;case"details":Rn("toggle",e),d=a;break;case"input":Ds(e,a),d=Rs(e,a),Rn("invalid",e);break;case"option":Qc(e,a),d=a;break;case"select":gm(e,a),d=mp(e,a),Rn("invalid",e);break;case"textarea":bm(e,a),d=gp(e,a),Rn("invalid",e);break;default:d=a}switch(tf(t,d),qO(t,e,o,d,s),t){case"input":fl(e),Os(e,a,!1);break;case"textarea":fl(e),xm(e);break;case"option":hp(e,a);break;case"select":ab(e,a);break;default:typeof d.onClick=="function"&&Fy(e);break}}function aM(e,t,a,o,s){Ly(t,o);var d=null,y,S;switch(t){case"input":y=Rs(e,a),S=Rs(e,o),d=[];break;case"select":y=mp(e,a),S=mp(e,o),d=[];break;case"textarea":y=gp(e,a),S=gp(e,o),d=[];break;default:y=a,S=o,typeof y.onClick!="function"&&typeof S.onClick=="function"&&Fy(e);break}tf(t,S);var w,k,_=null;for(w in y)if(!(S.hasOwnProperty(w)||!y.hasOwnProperty(w)||y[w]==null))if(w===dc){var U=y[w];for(k in U)U.hasOwnProperty(k)&&(_||(_={}),_[k]="")}else w===Dv||w===fc||w===Ny||w===Zu||w===QC||(zn.hasOwnProperty(w)?d||(d=[]):(d=d||[]).push(w,null));for(w in S){var L=S[w],$=y!=null?y[w]:void 0;if(!(!S.hasOwnProperty(w)||L===$||L==null&&$==null))if(w===dc)if(L&&Object.freeze(L),$){for(k in $)$.hasOwnProperty(k)&&(!L||!L.hasOwnProperty(k))&&(_||(_={}),_[k]="");for(k in L)L.hasOwnProperty(k)&&$[k]!==L[k]&&(_||(_={}),_[k]=L[k])}else _||(d||(d=[]),d.push(w,_)),_=L;else if(w===Dv){var W=L?L[Ay]:void 0,Q=$?$[Ay]:void 0;W!=null&&Q!==W&&(d=d||[]).push(w,W)}else w===fc?(typeof L=="string"||typeof L=="number")&&(d=d||[]).push(w,""+L):w===Ny||w===Zu||(zn.hasOwnProperty(w)?(L!=null&&(typeof L!="function"&&zy(w,L),w==="onScroll"&&Rn("scroll",e)),!d&&$!==L&&(d=[])):(d=d||[]).push(w,L))}return _&&(As(_,S[dc]),(d=d||[]).push(dc,_)),d}function iM(e,t,a,o,s){a==="input"&&s.type==="radio"&&s.name!=null&&vp(e,s);var d=Ii(a,o),y=Ii(a,s);switch(eM(e,t,d,y),a){case"input":hu(e,s);break;case"textarea":Sm(e,s);break;case"select":ib(e,s);break}}function oM(e){{var t=e.toLowerCase();return nf.hasOwnProperty(t)&&nf[t]||null}}function lM(e,t,a,o,s,d,y){var S,w;switch(S=Ii(t,a),Ly(t,a),t){case"dialog":Rn("cancel",e),Rn("close",e);break;case"iframe":case"object":case"embed":Rn("load",e);break;case"video":case"audio":for(var k=0;k<kv.length;k++)Rn(kv[k],e);break;case"source":Rn("error",e);break;case"img":case"image":case"link":Rn("error",e),Rn("load",e);break;case"details":Rn("toggle",e);break;case"input":Ds(e,a),Rn("invalid",e);break;case"option":Qc(e,a);break;case"select":gm(e,a),Rn("invalid",e);break;case"textarea":bm(e,a),Rn("invalid",e);break}tf(t,a);{w=new Set;for(var _=e.attributes,U=0;U<_.length;U++){var L=_[U].name.toLowerCase();switch(L){case"value":break;case"checked":break;case"selected":break;default:w.add(_[U].name)}}}var $=null;for(var W in a)if(a.hasOwnProperty(W)){var Q=a[W];if(W===fc)typeof Q=="string"?e.textContent!==Q&&(a[Zu]!==!0&&jy(e.textContent,Q,d,y),$=[fc,Q]):typeof Q=="number"&&e.textContent!==""+Q&&(a[Zu]!==!0&&jy(e.textContent,Q,d,y),$=[fc,""+Q]);else if(zn.hasOwnProperty(W))Q!=null&&(typeof Q!="function"&&zy(W,Q),W==="onScroll"&&Rn("scroll",e));else if(y&&typeof S=="boolean"){var Me=void 0,nt=S&&ct?null:ga(W);if(a[Zu]!==!0){if(!(W===Ny||W===Zu||W==="value"||W==="checked"||W==="selected")){if(W===Dv){var We=e.innerHTML,Ht=Q?Q[Ay]:void 0;if(Ht!=null){var At=JC(e,Ht);At!==We&&Ov(W,We,At)}}else if(W===dc){if(w.delete(W),KC){var H=pb(Q);Me=e.getAttribute("style"),H!==Me&&Ov(W,Me,H)}}else if(S&&!ct)w.delete(W.toLowerCase()),Me=fu(e,W,Q),Q!==Me&&Ov(W,Me,Q);else if(!Un(W,nt,S)&&!sn(W,Q,nt,S)){var X=!1;if(nt!==null)w.delete(nt.attributeName),Me=ul(e,W,Q,nt);else{var P=o;if(P===Pi&&(P=Kc(t)),P===Pi)w.delete(W.toLowerCase());else{var se=oM(W);se!==null&&se!==W&&(X=!0,w.delete(se)),w.delete(W)}Me=fu(e,W,Q)}var Ne=ct;!Ne&&Q!==Me&&!X&&Ov(W,Me,Q)}}}}}switch(y&&w.size>0&&a[Zu]!==!0&&XC(w),t){case"input":fl(e),Os(e,a,!0);break;case"textarea":fl(e),xm(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&Fy(e);break}return $}function uM(e,t,a){var o=e.nodeValue!==t;return o}function Gb(e,t){{if(Ka)return;Ka=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Qb(e,t){{if(Ka)return;Ka=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Xb(e,t,a){{if(Ka)return;Ka=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Kb(e,t){{if(t===""||Ka)return;Ka=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function sM(e,t,a){switch(t){case"input":vm(e,a);return;case"textarea":bp(e,a);return;case"select":ob(e,a);return}}var Mv=function(){},Nv=function(){};{var cM=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],eE=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],fM=eE.concat(["button"]),dM=["dd","dt","li","option","optgroup","p","rp","rt"],tE={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Nv=function(e,t){var a=Mt({},e||tE),o={tag:t};return eE.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),fM.indexOf(t)!==-1&&(a.pTagInButtonScope=null),cM.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=o,t==="form"&&(a.formTag=o),t==="a"&&(a.aTagInScope=o),t==="button"&&(a.buttonTagInScope=o),t==="nobr"&&(a.nobrTagInScope=o),t==="p"&&(a.pTagInButtonScope=o),t==="li"&&(a.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=o),a};var pM=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return dM.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},vM=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},nE={};Mv=function(e,t,a){a=a||tE;var o=a.current,s=o&&o.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=pM(e,s)?null:o,y=d?null:vM(e,a),S=d||y;if(S){var w=S.tag,k=!!d+"|"+e+"|"+w;if(!nE[k]){nE[k]=!0;var _=e,U="";if(e==="#text"?/\S/.test(t)?_="Text nodes":(_="Whitespace text nodes",U=" Make sure you don't have any extra whitespace between tags on each line of your source code."):_="<"+e+">",d){var L="";w==="table"&&e==="tr"&&(L+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",_,w,U,L)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",_,w)}}}}var Vy="suppressHydrationWarning",Hy="$",Py="/$",Av="$?",Lv="$!",hM="style",Jb=null,qb=null;function mM(e){var t,a,o=e.nodeType;switch(o){case li:case dl:{t=o===li?"#document":"#fragment";var s=e.documentElement;a=s?s.namespaceURI:xp(null,"");break}default:{var d=o===Bn?e.parentNode:e,y=d.namespaceURI||null;t=d.tagName,a=xp(y,t);break}}{var S=t.toLowerCase(),w=Nv(null,S);return{namespace:a,ancestorInfo:w}}}function yM(e,t,a){{var o=e,s=xp(o.namespace,t),d=Nv(o.ancestorInfo,t);return{namespace:s,ancestorInfo:d}}}function _3(e){return e}function gM(e){Jb=ka(),qb=NO();var t=null;return cr(!1),t}function bM(e){AO(qb),cr(Jb),Jb=null,qb=null}function SM(e,t,a,o,s){var d;{var y=o;if(Mv(e,null,y.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var S=""+t.children,w=Nv(y.ancestorInfo,e);Mv(null,S,w)}d=y.namespace}var k=tM(e,t,a,d);return jv(s,k),lS(k,t),k}function xM(e,t){e.appendChild(t)}function wM(e,t,a,o,s){switch(rM(e,t,a,o),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function CM(e,t,a,o,s,d){{var y=d;if(typeof o.children!=typeof a.children&&(typeof o.children=="string"||typeof o.children=="number")){var S=""+o.children,w=Nv(y.ancestorInfo,t);Mv(null,S,w)}}return aM(e,t,a,o)}function eS(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function EM(e,t,a,o){{var s=a;Mv(null,e,s.ancestorInfo)}var d=nM(e,t);return jv(o,d),d}function TM(){var e=window.event;return e===void 0?Ki:Ir(e.type)}var tS=typeof setTimeout=="function"?setTimeout:void 0,kM=typeof clearTimeout=="function"?clearTimeout:void 0,nS=-1,rE=typeof Promise=="function"?Promise:void 0,_M=typeof queueMicrotask=="function"?queueMicrotask:typeof rE<"u"?function(e){return rE.resolve(null).then(e).catch(RM)}:tS;function RM(e){setTimeout(function(){throw e})}function DM(e,t,a,o){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function OM(e,t,a,o,s,d){iM(e,t,a,o,s),lS(e,s)}function aE(e){qc(e,"")}function MM(e,t,a){e.nodeValue=a}function NM(e,t){e.appendChild(t)}function AM(e,t){var a;e.nodeType===Bn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var o=e._reactRootContainer;o==null&&a.onclick===null&&Fy(a)}function LM(e,t,a){e.insertBefore(t,a)}function zM(e,t,a){e.nodeType===Bn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function UM(e,t){e.removeChild(t)}function jM(e,t){e.nodeType===Bn?e.parentNode.removeChild(t):e.removeChild(t)}function rS(e,t){var a=t,o=0;do{var s=a.nextSibling;if(e.removeChild(a),s&&s.nodeType===Bn){var d=s.data;if(d===Py)if(o===0){e.removeChild(s),Nt(t);return}else o--;else(d===Hy||d===Av||d===Lv)&&o++}a=s}while(a);Nt(t)}function FM(e,t){e.nodeType===Bn?rS(e.parentNode,t):e.nodeType===na&&rS(e,t),Nt(e)}function VM(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function HM(e){e.nodeValue=""}function PM(e,t){e=e;var a=t[hM],o=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=ef("display",o)}function BM(e,t){e.nodeValue=t}function IM(e){e.nodeType===na?e.textContent="":e.nodeType===li&&e.documentElement&&e.removeChild(e.documentElement)}function $M(e,t,a){return e.nodeType!==na||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function WM(e,t){return t===""||e.nodeType!==Bi?null:e}function YM(e){return e.nodeType!==Bn?null:e}function iE(e){return e.data===Av}function aS(e){return e.data===Lv}function ZM(e){var t=e.nextSibling&&e.nextSibling.dataset,a,o,s;return t&&(a=t.dgst,o=t.msg,s=t.stck),{message:o,digest:a,stack:s}}function GM(e,t){e._reactRetry=t}function By(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===na||t===Bi)break;if(t===Bn){var a=e.data;if(a===Hy||a===Lv||a===Av)break;if(a===Py)return null}}return e}function zv(e){return By(e.nextSibling)}function QM(e){return By(e.firstChild)}function XM(e){return By(e.firstChild)}function KM(e){return By(e.nextSibling)}function JM(e,t,a,o,s,d,y){jv(d,e),lS(e,a);var S;{var w=s;S=w.namespace}var k=(d.mode&Rt)!==at;return lM(e,t,a,S,o,k,y)}function qM(e,t,a,o){return jv(a,e),a.mode&Rt,uM(e,t)}function eN(e,t){jv(t,e)}function tN(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===Bn){var o=t.data;if(o===Py){if(a===0)return zv(t);a--}else(o===Hy||o===Lv||o===Av)&&a++}t=t.nextSibling}return null}function oE(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===Bn){var o=t.data;if(o===Hy||o===Lv||o===Av){if(a===0)return t;a--}else o===Py&&a++}t=t.previousSibling}return null}function nN(e){Nt(e)}function rN(e){Nt(e)}function aN(e){return e!=="head"&&e!=="body"}function iN(e,t,a,o){var s=!0;jy(t.nodeValue,a,o,s)}function oN(e,t,a,o,s,d){if(t[Vy]!==!0){var y=!0;jy(o.nodeValue,s,d,y)}}function lN(e,t){t.nodeType===na?Gb(e,t):t.nodeType===Bn||Qb(e,t)}function uN(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===na?Gb(a,t):t.nodeType===Bn||Qb(a,t))}}function sN(e,t,a,o,s){(s||t[Vy]!==!0)&&(o.nodeType===na?Gb(a,o):o.nodeType===Bn||Qb(a,o))}function cN(e,t,a){Xb(e,t)}function fN(e,t){Kb(e,t)}function dN(e,t,a){{var o=e.parentNode;o!==null&&Xb(o,t)}}function pN(e,t){{var a=e.parentNode;a!==null&&Kb(a,t)}}function vN(e,t,a,o,s,d){(d||t[Vy]!==!0)&&Xb(a,o)}function hN(e,t,a,o,s){(s||t[Vy]!==!0)&&Kb(a,o)}function mN(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function yN(e){_v(e)}var ld=Math.random().toString(36).slice(2),ud="__reactFiber$"+ld,iS="__reactProps$"+ld,Uv="__reactContainer$"+ld,oS="__reactEvents$"+ld,gN="__reactListeners$"+ld,bN="__reactHandles$"+ld;function SN(e){delete e[ud],delete e[iS],delete e[oS],delete e[gN],delete e[bN]}function jv(e,t){t[ud]=e}function Iy(e,t){t[Uv]=e}function lE(e){e[Uv]=null}function Fv(e){return!!e[Uv]}function pc(e){var t=e[ud];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Uv]||a[ud],t){var o=t.alternate;if(t.child!==null||o!==null&&o.child!==null)for(var s=oE(e);s!==null;){var d=s[ud];if(d)return d;s=oE(s)}return t}e=a,a=e.parentNode}return null}function Gu(e){var t=e[ud]||e[Uv];return t&&(t.tag===F||t.tag===K||t.tag===ze||t.tag===R)?t:null}function sd(e){if(e.tag===F||e.tag===K)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function $y(e){return e[iS]||null}function lS(e,t){e[iS]=t}function xN(e){var t=e[oS];return t===void 0&&(t=e[oS]=new Set),t}var uE={},sE=c.ReactDebugCurrentFrame;function Wy(e){if(e){var t=e._owner,a=ws(e.type,e._source,t?t.type:null);sE.setExtraStackFrame(a)}else sE.setExtraStackFrame(null)}function no(e,t,a,o,s){{var d=Function.call.bind(nr);for(var y in e)if(d(e,y)){var S=void 0;try{if(typeof e[y]!="function"){var w=Error((o||"React class")+": "+a+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw w.name="Invariant Violation",w}S=e[y](t,y,o,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(k){S=k}S&&!(S instanceof Error)&&(Wy(s),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",a,y,typeof S),Wy(null)),S instanceof Error&&!(S.message in uE)&&(uE[S.message]=!0,Wy(s),m("Failed %s type: %s",a,S.message),Wy(null))}}}var uS=[],Yy;Yy=[];var Hl=-1;function Qu(e){return{current:e}}function fa(e,t){if(Hl<0){m("Unexpected pop.");return}t!==Yy[Hl]&&m("Unexpected Fiber popped."),e.current=uS[Hl],uS[Hl]=null,Yy[Hl]=null,Hl--}function da(e,t,a){Hl++,uS[Hl]=e.current,Yy[Hl]=a,e.current=t}var sS;sS={};var di={};Object.freeze(di);var Pl=Qu(di),$o=Qu(!1),cS=di;function cd(e,t,a){return a&&Wo(t)?cS:Pl.current}function cE(e,t,a){{var o=e.stateNode;o.__reactInternalMemoizedUnmaskedChildContext=t,o.__reactInternalMemoizedMaskedChildContext=a}}function fd(e,t){{var a=e.type,o=a.contextTypes;if(!o)return di;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===t)return s.__reactInternalMemoizedMaskedChildContext;var d={};for(var y in o)d[y]=t[y];{var S=bt(e)||"Unknown";no(o,d,"context",S)}return s&&cE(e,t,d),d}}function Zy(){return $o.current}function Wo(e){{var t=e.childContextTypes;return t!=null}}function Gy(e){fa($o,e),fa(Pl,e)}function fS(e){fa($o,e),fa(Pl,e)}function fE(e,t,a){{if(Pl.current!==di)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");da(Pl,t,e),da($o,a,e)}}function dE(e,t,a){{var o=e.stateNode,s=t.childContextTypes;if(typeof o.getChildContext!="function"){{var d=bt(e)||"Unknown";sS[d]||(sS[d]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",d,d))}return a}var y=o.getChildContext();for(var S in y)if(!(S in s))throw new Error((bt(e)||"Unknown")+'.getChildContext(): key "'+S+'" is not defined in childContextTypes.');{var w=bt(e)||"Unknown";no(s,y,"child context",w)}return Mt({},a,y)}}function Qy(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||di;return cS=Pl.current,da(Pl,a,e),da($o,$o.current,e),!0}}function pE(e,t,a){{var o=e.stateNode;if(!o)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var s=dE(e,t,cS);o.__reactInternalMemoizedMergedChildContext=s,fa($o,e),fa(Pl,e),da(Pl,s,e),da($o,a,e)}else fa($o,e),da($o,a,e)}}function wN(e){{if(!Pp(e)||e.tag!==T)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case R:return t.stateNode.context;case T:{var a=t.type;if(Wo(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Xu=0,Xy=1,Bl=null,dS=!1,pS=!1;function vE(e){Bl===null?Bl=[e]:Bl.push(e)}function CN(e){dS=!0,vE(e)}function hE(){dS&&Ku()}function Ku(){if(!pS&&Bl!==null){pS=!0;var e=0,t=Za();try{var a=!0,o=Bl;for(Kn(Nr);e<o.length;e++){var s=o[e];do s=s(a);while(s!==null)}Bl=null,dS=!1}catch(d){throw Bl!==null&&(Bl=Bl.slice(e+1)),df(vf,Ku),d}finally{Kn(t),pS=!1}}return null}var dd=[],pd=0,Ky=null,Jy=0,_i=[],Ri=0,vc=null,Il=1,$l="";function EN(e){return mc(),(e.flags&Fp)!==et}function TN(e){return mc(),Jy}function kN(){var e=$l,t=Il,a=t&~_N(t);return a.toString(32)+e}function hc(e,t){mc(),dd[pd++]=Jy,dd[pd++]=Ky,Ky=e,Jy=t}function mE(e,t,a){mc(),_i[Ri++]=Il,_i[Ri++]=$l,_i[Ri++]=vc,vc=e;var o=Il,s=$l,d=qy(o)-1,y=o&~(1<<d),S=a+1,w=qy(t)+d;if(w>30){var k=d-d%5,_=(1<<k)-1,U=(y&_).toString(32),L=y>>k,$=d-k,W=qy(t)+$,Q=S<<$,Me=Q|L,nt=U+s;Il=1<<W|Me,$l=nt}else{var We=S<<d,Ht=We|y,At=s;Il=1<<w|Ht,$l=At}}function vS(e){mc();var t=e.return;if(t!==null){var a=1,o=0;hc(e,a),mE(e,a,o)}}function qy(e){return 32-Sf(e)}function _N(e){return 1<<qy(e)-1}function hS(e){for(;e===Ky;)Ky=dd[--pd],dd[pd]=null,Jy=dd[--pd],dd[pd]=null;for(;e===vc;)vc=_i[--Ri],_i[Ri]=null,$l=_i[--Ri],_i[Ri]=null,Il=_i[--Ri],_i[Ri]=null}function RN(){return mc(),vc!==null?{id:Il,overflow:$l}:null}function DN(e,t){mc(),_i[Ri++]=Il,_i[Ri++]=$l,_i[Ri++]=vc,Il=t.id,$l=t.overflow,vc=e}function mc(){Wr()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var $r=null,Di=null,ro=!1,yc=!1,Ju=null;function ON(){ro&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function yE(){yc=!0}function MN(){return yc}function NN(e){var t=e.stateNode.containerInfo;return Di=XM(t),$r=e,ro=!0,Ju=null,yc=!1,!0}function AN(e,t,a){return Di=KM(t),$r=e,ro=!0,Ju=null,yc=!1,a!==null&&DN(e,a),!0}function gE(e,t){switch(e.tag){case R:{lN(e.stateNode.containerInfo,t);break}case F:{var a=(e.mode&Rt)!==at;sN(e.type,e.memoizedProps,e.stateNode,t,a);break}case ze:{var o=e.memoizedState;o.dehydrated!==null&&uN(o.dehydrated,t);break}}}function bE(e,t){gE(e,t);var a=Uz();a.stateNode=t,a.return=e;var o=e.deletions;o===null?(e.deletions=[a],e.flags|=Qt):o.push(a)}function mS(e,t){{if(yc)return;switch(e.tag){case R:{var a=e.stateNode.containerInfo;switch(t.tag){case F:var o=t.type;t.pendingProps,cN(a,o);break;case K:var s=t.pendingProps;fN(a,s);break}break}case F:{var d=e.type,y=e.memoizedProps,S=e.stateNode;switch(t.tag){case F:{var w=t.type,k=t.pendingProps,_=(e.mode&Rt)!==at;vN(d,y,S,w,k,_);break}case K:{var U=t.pendingProps,L=(e.mode&Rt)!==at;hN(d,y,S,U,L);break}}break}case ze:{var $=e.memoizedState,W=$.dehydrated;if(W!==null)switch(t.tag){case F:var Q=t.type;t.pendingProps,dN(W,Q);break;case K:var Me=t.pendingProps;pN(W,Me);break}break}default:return}}}function SE(e,t){t.flags=t.flags&~Ba|fn,mS(e,t)}function xE(e,t){switch(e.tag){case F:{var a=e.type;e.pendingProps;var o=$M(t,a);return o!==null?(e.stateNode=o,$r=e,Di=QM(o),!0):!1}case K:{var s=e.pendingProps,d=WM(t,s);return d!==null?(e.stateNode=d,$r=e,Di=null,!0):!1}case ze:{var y=YM(t);if(y!==null){var S={dehydrated:y,treeContext:RN(),retryLane:sa};e.memoizedState=S;var w=jz(y);return w.return=e,e.child=w,$r=e,Di=null,!0}return!1}default:return!1}}function yS(e){return(e.mode&Rt)!==at&&(e.flags&dt)===et}function gS(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function bS(e){if(ro){var t=Di;if(!t){yS(e)&&(mS($r,e),gS()),SE($r,e),ro=!1,$r=e;return}var a=t;if(!xE(e,t)){yS(e)&&(mS($r,e),gS()),t=zv(a);var o=$r;if(!t||!xE(e,t)){SE($r,e),ro=!1,$r=e;return}bE(o,a)}}}function LN(e,t,a){var o=e.stateNode,s=!yc,d=JM(o,e.type,e.memoizedProps,t,a,e,s);return e.updateQueue=d,d!==null}function zN(e){var t=e.stateNode,a=e.memoizedProps,o=qM(t,a,e);if(o){var s=$r;if(s!==null)switch(s.tag){case R:{var d=s.stateNode.containerInfo,y=(s.mode&Rt)!==at;iN(d,t,a,y);break}case F:{var S=s.type,w=s.memoizedProps,k=s.stateNode,_=(s.mode&Rt)!==at;oN(S,w,k,t,a,_);break}}}return o}function UN(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");eN(a,e)}function jN(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return tN(a)}function wE(e){for(var t=e.return;t!==null&&t.tag!==F&&t.tag!==R&&t.tag!==ze;)t=t.return;$r=t}function eg(e){if(e!==$r)return!1;if(!ro)return wE(e),ro=!0,!1;if(e.tag!==R&&(e.tag!==F||aN(e.type)&&!eS(e.type,e.memoizedProps))){var t=Di;if(t)if(yS(e))CE(e),gS();else for(;t;)bE(e,t),t=zv(t)}return wE(e),e.tag===ze?Di=jN(e):Di=$r?zv(e.stateNode):null,!0}function FN(){return ro&&Di!==null}function CE(e){for(var t=Di;t;)gE(e,t),t=zv(t)}function vd(){$r=null,Di=null,ro=!1,yc=!1}function EE(){Ju!==null&&(gk(Ju),Ju=null)}function Wr(){return ro}function SS(e){Ju===null?Ju=[e]:Ju.push(e)}var VN=c.ReactCurrentBatchConfig,HN=null;function PN(){return VN.transition}var ao={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var BN=function(e){for(var t=null,a=e;a!==null;)a.mode&kn&&(t=a),a=a.return;return t},gc=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},Vv=[],Hv=[],Pv=[],Bv=[],Iv=[],$v=[],bc=new Set;ao.recordUnsafeLifecycleWarnings=function(e,t){bc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Vv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillMount=="function"&&Hv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Pv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Bv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Iv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillUpdate=="function"&&$v.push(e))},ao.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Vv.length>0&&(Vv.forEach(function(L){e.add(bt(L)||"Component"),bc.add(L.type)}),Vv=[]);var t=new Set;Hv.length>0&&(Hv.forEach(function(L){t.add(bt(L)||"Component"),bc.add(L.type)}),Hv=[]);var a=new Set;Pv.length>0&&(Pv.forEach(function(L){a.add(bt(L)||"Component"),bc.add(L.type)}),Pv=[]);var o=new Set;Bv.length>0&&(Bv.forEach(function(L){o.add(bt(L)||"Component"),bc.add(L.type)}),Bv=[]);var s=new Set;Iv.length>0&&(Iv.forEach(function(L){s.add(bt(L)||"Component"),bc.add(L.type)}),Iv=[]);var d=new Set;if($v.length>0&&($v.forEach(function(L){d.add(bt(L)||"Component"),bc.add(L.type)}),$v=[]),t.size>0){var y=gc(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
62
|
-
|
|
63
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
64
|
-
|
|
65
|
-
Please update the following components: %s`,y)}if(o.size>0){var S=gc(o);m(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
66
|
-
|
|
67
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
68
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
69
|
-
|
|
70
|
-
Please update the following components: %s`,S)}if(d.size>0){var w=gc(d);m(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
71
|
-
|
|
72
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
73
|
-
|
|
74
|
-
Please update the following components: %s`,w)}if(e.size>0){var k=gc(e);g(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
75
|
-
|
|
76
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
77
|
-
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
78
|
-
|
|
79
|
-
Please update the following components: %s`,k)}if(a.size>0){var _=gc(a);g(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
80
|
-
|
|
81
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
82
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
83
|
-
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
84
|
-
|
|
85
|
-
Please update the following components: %s`,_)}if(s.size>0){var U=gc(s);g(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
86
|
-
|
|
87
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
88
|
-
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
89
|
-
|
|
90
|
-
Please update the following components: %s`,U)}};var tg=new Map,TE=new Set;ao.recordLegacyContextWarning=function(e,t){var a=BN(e);if(a===null){m("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!TE.has(e.type)){var o=tg.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],tg.set(a,o)),o.push(e))}},ao.flushLegacyContextWarning=function(){tg.forEach(function(e,t){if(e.length!==0){var a=e[0],o=new Set;e.forEach(function(d){o.add(bt(d)||"Component"),TE.add(d.type)});var s=gc(o);try{tn(a),m(`Legacy context API has been detected within a strict-mode tree.
|
|
91
|
-
|
|
92
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
93
|
-
|
|
94
|
-
Please update the following components: %s
|
|
95
|
-
|
|
96
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,s)}finally{Gn()}}})},ao.discardPendingWarnings=function(){Vv=[],Hv=[],Pv=[],Bv=[],Iv=[],$v=[],tg=new Map}}function io(e,t){if(e&&e.defaultProps){var a=Mt({},t),o=e.defaultProps;for(var s in o)a[s]===void 0&&(a[s]=o[s]);return a}return t}var xS=Qu(null),wS;wS={};var ng=null,hd=null,CS=null,rg=!1;function ag(){ng=null,hd=null,CS=null,rg=!1}function kE(){rg=!0}function _E(){rg=!1}function RE(e,t,a){da(xS,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==wS&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=wS}function ES(e,t){var a=xS.current;fa(xS,t),e._currentValue=a}function TS(e,t,a){for(var o=e;o!==null;){var s=o.alternate;if(Dl(o.childLanes,t)?s!==null&&!Dl(s.childLanes,t)&&(s.childLanes=xt(s.childLanes,t)):(o.childLanes=xt(o.childLanes,t),s!==null&&(s.childLanes=xt(s.childLanes,t))),o===a)break;o=o.return}o!==a&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function IN(e,t,a){$N(e,t,a)}function $N(e,t,a){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var s=void 0,d=o.dependencies;if(d!==null){s=o.child;for(var y=d.firstContext;y!==null;){if(y.context===t){if(o.tag===T){var S=Xn(a),w=Wl(un,S);w.tag=og;var k=o.updateQueue;if(k!==null){var _=k.shared,U=_.pending;U===null?w.next=w:(w.next=U.next,U.next=w),_.pending=w}}o.lanes=xt(o.lanes,a);var L=o.alternate;L!==null&&(L.lanes=xt(L.lanes,a)),TS(o.return,a,e),d.lanes=xt(d.lanes,a);break}y=y.next}}else if(o.tag===J)s=o.type===e.type?null:o.child;else if(o.tag===st){var $=o.return;if($===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");$.lanes=xt($.lanes,a);var W=$.alternate;W!==null&&(W.lanes=xt(W.lanes,a)),TS($,a,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}var Q=s.sibling;if(Q!==null){Q.return=s.return,s=Q;break}s=s.return}o=s}}function md(e,t){ng=e,hd=null,CS=null;var a=e.dependencies;if(a!==null){var o=a.firstContext;o!==null&&(ca(a.lanes,t)&&ah(),a.firstContext=null)}}function dr(e){rg&&m("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().");var t=e._currentValue;if(CS!==e){var a={context:e,memoizedValue:t,next:null};if(hd===null){if(ng===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");hd=a,ng.dependencies={lanes:q,firstContext:a}}else hd=hd.next=a}return t}var Sc=null;function kS(e){Sc===null?Sc=[e]:Sc.push(e)}function WN(){if(Sc!==null){for(var e=0;e<Sc.length;e++){var t=Sc[e],a=t.interleaved;if(a!==null){t.interleaved=null;var o=a.next,s=t.pending;if(s!==null){var d=s.next;s.next=o,a.next=d}t.pending=a}}Sc=null}}function DE(e,t,a,o){var s=t.interleaved;return s===null?(a.next=a,kS(t)):(a.next=s.next,s.next=a),t.interleaved=a,ig(e,o)}function YN(e,t,a,o){var s=t.interleaved;s===null?(a.next=a,kS(t)):(a.next=s.next,s.next=a),t.interleaved=a}function ZN(e,t,a,o){var s=t.interleaved;return s===null?(a.next=a,kS(t)):(a.next=s.next,s.next=a),t.interleaved=a,ig(e,o)}function Ja(e,t){return ig(e,t)}var GN=ig;function ig(e,t){e.lanes=xt(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=xt(a.lanes,t)),a===null&&(e.flags&(fn|Ba))!==et&&Ok(e);for(var o=e,s=e.return;s!==null;)s.childLanes=xt(s.childLanes,t),a=s.alternate,a!==null?a.childLanes=xt(a.childLanes,t):(s.flags&(fn|Ba))!==et&&Ok(e),o=s,s=s.return;if(o.tag===R){var d=o.stateNode;return d}else return null}var OE=0,ME=1,og=2,_S=3,lg=!1,RS,ug;RS=!1,ug=null;function DS(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:q},effects:null};e.updateQueue=t}function NE(e,t){var a=t.updateQueue,o=e.updateQueue;if(a===o){var s={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects};t.updateQueue=s}}function Wl(e,t){var a={eventTime:e,lane:t,tag:OE,payload:null,callback:null,next:null};return a}function qu(e,t,a){var o=e.updateQueue;if(o===null)return null;var s=o.shared;if(ug===s&&!RS&&(m("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),RS=!0),GL()){var d=s.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),s.pending=t,GN(e,a)}else return ZN(e,s,t,a)}function sg(e,t,a){var o=t.updateQueue;if(o!==null){var s=o.shared;if(ev(a)){var d=s.lanes;d=nv(d,e.pendingLanes);var y=xt(d,a);s.lanes=y,Au(e,y)}}}function OS(e,t){var a=e.updateQueue,o=e.alternate;if(o!==null){var s=o.updateQueue;if(a===s){var d=null,y=null,S=a.firstBaseUpdate;if(S!==null){var w=S;do{var k={eventTime:w.eventTime,lane:w.lane,tag:w.tag,payload:w.payload,callback:w.callback,next:null};y===null?d=y=k:(y.next=k,y=k),w=w.next}while(w!==null);y===null?d=y=t:(y.next=t,y=t)}else d=y=t;a={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:y,shared:s.shared,effects:s.effects},e.updateQueue=a;return}}var _=a.lastBaseUpdate;_===null?a.firstBaseUpdate=t:_.next=t,a.lastBaseUpdate=t}function QN(e,t,a,o,s,d){switch(a.tag){case ME:{var y=a.payload;if(typeof y=="function"){kE();var S=y.call(d,o,s);{if(e.mode&kn){Qn(!0);try{y.call(d,o,s)}finally{Qn(!1)}}_E()}return S}return y}case _S:e.flags=e.flags&~lr|dt;case OE:{var w=a.payload,k;if(typeof w=="function"){kE(),k=w.call(d,o,s);{if(e.mode&kn){Qn(!0);try{w.call(d,o,s)}finally{Qn(!1)}}_E()}}else k=w;return k==null?o:Mt({},o,k)}case og:return lg=!0,o}return o}function cg(e,t,a,o){var s=e.updateQueue;lg=!1,ug=s.shared;var d=s.firstBaseUpdate,y=s.lastBaseUpdate,S=s.shared.pending;if(S!==null){s.shared.pending=null;var w=S,k=w.next;w.next=null,y===null?d=k:y.next=k,y=w;var _=e.alternate;if(_!==null){var U=_.updateQueue,L=U.lastBaseUpdate;L!==y&&(L===null?U.firstBaseUpdate=k:L.next=k,U.lastBaseUpdate=w)}}if(d!==null){var $=s.baseState,W=q,Q=null,Me=null,nt=null,We=d;do{var Ht=We.lane,At=We.eventTime;if(Dl(o,Ht)){if(nt!==null){var X={eventTime:At,lane:Ft,tag:We.tag,payload:We.payload,callback:We.callback,next:null};nt=nt.next=X}$=QN(e,s,We,$,t,a);var P=We.callback;if(P!==null&&We.lane!==Ft){e.flags|=xi;var se=s.effects;se===null?s.effects=[We]:se.push(We)}}else{var H={eventTime:At,lane:Ht,tag:We.tag,payload:We.payload,callback:We.callback,next:null};nt===null?(Me=nt=H,Q=$):nt=nt.next=H,W=xt(W,Ht)}if(We=We.next,We===null){if(S=s.shared.pending,S===null)break;var Ne=S,_e=Ne.next;Ne.next=null,We=_e,s.lastBaseUpdate=Ne,s.shared.pending=null}}while(!0);nt===null&&(Q=$),s.baseState=Q,s.firstBaseUpdate=Me,s.lastBaseUpdate=nt;var ft=s.shared.interleaved;if(ft!==null){var yt=ft;do W=xt(W,yt.lane),yt=yt.next;while(yt!==ft)}else d===null&&(s.shared.lanes=q);mh(W),e.lanes=W,e.memoizedState=$}ug=null}function XN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function AE(){lg=!1}function fg(){return lg}function LE(e,t,a){var o=t.effects;if(t.effects=null,o!==null)for(var s=0;s<o.length;s++){var d=o[s],y=d.callback;y!==null&&(d.callback=null,XN(y,a))}}var MS={},zE=new i.Component().refs,NS,AS,LS,zS,US,UE,dg,jS,FS,VS;{NS=new Set,AS=new Set,LS=new Set,zS=new Set,jS=new Set,US=new Set,FS=new Set,VS=new Set;var jE=new Set;dg=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;jE.has(a)||(jE.add(a),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},UE=function(e,t){if(t===void 0){var a=on(e)||"Component";US.has(a)||(US.add(a),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(MS,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(MS)}function HS(e,t,a,o){var s=e.memoizedState,d=a(o,s);{if(e.mode&kn){Qn(!0);try{d=a(o,s)}finally{Qn(!1)}}UE(t,d)}var y=d==null?s:Mt({},s,d);if(e.memoizedState=y,e.lanes===q){var S=e.updateQueue;S.baseState=y}}var PS={isMounted:Ca,enqueueSetState:function(e,t,a){var o=Ha(e),s=Da(),d=ls(o),y=Wl(s,d);y.payload=t,a!=null&&(dg(a,"setState"),y.callback=a);var S=qu(o,y,d);S!==null&&(kr(S,o,d,s),sg(S,o,d)),zo(o,d)},enqueueReplaceState:function(e,t,a){var o=Ha(e),s=Da(),d=ls(o),y=Wl(s,d);y.tag=ME,y.payload=t,a!=null&&(dg(a,"replaceState"),y.callback=a);var S=qu(o,y,d);S!==null&&(kr(S,o,d,s),sg(S,o,d)),zo(o,d)},enqueueForceUpdate:function(e,t){var a=Ha(e),o=Da(),s=ls(a),d=Wl(o,s);d.tag=og,t!=null&&(dg(t,"forceUpdate"),d.callback=t);var y=qu(a,d,s);y!==null&&(kr(y,a,s,o),sg(y,a,s)),Xp(a,s)}};function FE(e,t,a,o,s,d,y){var S=e.stateNode;if(typeof S.shouldComponentUpdate=="function"){var w=S.shouldComponentUpdate(o,d,y);{if(e.mode&kn){Qn(!0);try{w=S.shouldComponentUpdate(o,d,y)}finally{Qn(!1)}}w===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",on(t)||"Component")}return w}return t.prototype&&t.prototype.isPureReactComponent?!Ge(a,o)||!Ge(s,d):!0}function KN(e,t,a){var o=e.stateNode;{var s=on(t)||"Component",d=o.render;d||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",s):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",s)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",s),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",s),o.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",s),o.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",s),o.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",s),t.contextType&&t.contextTypes&&!FS.has(t)&&(FS.add(t),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",s)),typeof o.componentShouldUpdate=="function"&&m("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",s),t.prototype&&t.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",on(t)||"A pure component"),typeof o.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",s),typeof o.componentDidReceiveProps=="function"&&m("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",s),typeof o.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",s),typeof o.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",s);var y=o.props!==a;o.props!==void 0&&y&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",s,s),o.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",s,s),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!LS.has(t)&&(LS.add(t),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",on(t))),typeof o.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof o.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof t.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",s);var S=o.state;S&&(typeof S!="object"||ir(S))&&m("%s.state: must be set to an object or null",s),typeof o.getChildContext=="function"&&typeof t.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s)}}function VE(e,t){t.updater=PS,e.stateNode=t,Cu(t,e),t._reactInternalInstance=MS}function HE(e,t,a){var o=!1,s=di,d=di,y=t.contextType;if("contextType"in t){var S=y===null||y!==void 0&&y.$$typeof===ke&&y._context===void 0;if(!S&&!VS.has(t)){VS.add(t);var w="";y===void 0?w=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof y!="object"?w=" However, it is set to a "+typeof y+".":y.$$typeof===oe?w=" Did you accidentally pass the Context.Provider instead?":y._context!==void 0?w=" Did you accidentally pass the Context.Consumer instead?":w=" However, it is set to an object with keys {"+Object.keys(y).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",on(t)||"Component",w)}}if(typeof y=="object"&&y!==null)d=dr(y);else{s=cd(e,t,!0);var k=t.contextTypes;o=k!=null,d=o?fd(e,s):di}var _=new t(a,d);if(e.mode&kn){Qn(!0);try{_=new t(a,d)}finally{Qn(!1)}}var U=e.memoizedState=_.state!==null&&_.state!==void 0?_.state:null;VE(e,_);{if(typeof t.getDerivedStateFromProps=="function"&&U===null){var L=on(t)||"Component";AS.has(L)||(AS.add(L),m("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",L,_.state===null?"null":"undefined",L))}if(typeof t.getDerivedStateFromProps=="function"||typeof _.getSnapshotBeforeUpdate=="function"){var $=null,W=null,Q=null;if(typeof _.componentWillMount=="function"&&_.componentWillMount.__suppressDeprecationWarning!==!0?$="componentWillMount":typeof _.UNSAFE_componentWillMount=="function"&&($="UNSAFE_componentWillMount"),typeof _.componentWillReceiveProps=="function"&&_.componentWillReceiveProps.__suppressDeprecationWarning!==!0?W="componentWillReceiveProps":typeof _.UNSAFE_componentWillReceiveProps=="function"&&(W="UNSAFE_componentWillReceiveProps"),typeof _.componentWillUpdate=="function"&&_.componentWillUpdate.__suppressDeprecationWarning!==!0?Q="componentWillUpdate":typeof _.UNSAFE_componentWillUpdate=="function"&&(Q="UNSAFE_componentWillUpdate"),$!==null||W!==null||Q!==null){var Me=on(t)||"Component",nt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";zS.has(Me)||(zS.add(Me),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
97
|
-
|
|
98
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
99
|
-
|
|
100
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
101
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,Me,nt,$!==null?`
|
|
102
|
-
`+$:"",W!==null?`
|
|
103
|
-
`+W:"",Q!==null?`
|
|
104
|
-
`+Q:""))}}}return o&&cE(e,s,d),_}function JN(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",bt(e)||"Component"),PS.enqueueReplaceState(t,t.state,null))}function PE(e,t,a,o){var s=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,o),t.state!==s){{var d=bt(e)||"Component";NS.has(d)||(NS.add(d),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}PS.enqueueReplaceState(t,t.state,null)}}function BS(e,t,a,o){KN(e,t,a);var s=e.stateNode;s.props=a,s.state=e.memoizedState,s.refs=zE,DS(e);var d=t.contextType;if(typeof d=="object"&&d!==null)s.context=dr(d);else{var y=cd(e,t,!0);s.context=fd(e,y)}{if(s.state===a){var S=on(t)||"Component";jS.has(S)||(jS.add(S),m("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",S))}e.mode&kn&&ao.recordLegacyContextWarning(e,s),ao.recordUnsafeLifecycleWarnings(e,s)}s.state=e.memoizedState;var w=t.getDerivedStateFromProps;if(typeof w=="function"&&(HS(e,t,w,a),s.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(JN(e,s),cg(e,a,s,o),s.state=e.memoizedState),typeof s.componentDidMount=="function"){var k=St;k|=aa,(e.mode&Wa)!==at&&(k|=ia),e.flags|=k}}function qN(e,t,a,o){var s=e.stateNode,d=e.memoizedProps;s.props=d;var y=s.context,S=t.contextType,w=di;if(typeof S=="object"&&S!==null)w=dr(S);else{var k=cd(e,t,!0);w=fd(e,k)}var _=t.getDerivedStateFromProps,U=typeof _=="function"||typeof s.getSnapshotBeforeUpdate=="function";!U&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(d!==a||y!==w)&&PE(e,s,a,w),AE();var L=e.memoizedState,$=s.state=L;if(cg(e,a,s,o),$=e.memoizedState,d===a&&L===$&&!Zy()&&!fg()){if(typeof s.componentDidMount=="function"){var W=St;W|=aa,(e.mode&Wa)!==at&&(W|=ia),e.flags|=W}return!1}typeof _=="function"&&(HS(e,t,_,a),$=e.memoizedState);var Q=fg()||FE(e,t,d,a,L,$,w);if(Q){if(!U&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"){var Me=St;Me|=aa,(e.mode&Wa)!==at&&(Me|=ia),e.flags|=Me}}else{if(typeof s.componentDidMount=="function"){var nt=St;nt|=aa,(e.mode&Wa)!==at&&(nt|=ia),e.flags|=nt}e.memoizedProps=a,e.memoizedState=$}return s.props=a,s.state=$,s.context=w,Q}function eA(e,t,a,o,s){var d=t.stateNode;NE(e,t);var y=t.memoizedProps,S=t.type===t.elementType?y:io(t.type,y);d.props=S;var w=t.pendingProps,k=d.context,_=a.contextType,U=di;if(typeof _=="object"&&_!==null)U=dr(_);else{var L=cd(t,a,!0);U=fd(t,L)}var $=a.getDerivedStateFromProps,W=typeof $=="function"||typeof d.getSnapshotBeforeUpdate=="function";!W&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(y!==w||k!==U)&&PE(t,d,o,U),AE();var Q=t.memoizedState,Me=d.state=Q;if(cg(t,o,d,s),Me=t.memoizedState,y===w&&Q===Me&&!Zy()&&!fg()&&!ne)return typeof d.componentDidUpdate=="function"&&(y!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=St),typeof d.getSnapshotBeforeUpdate=="function"&&(y!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=Pa),!1;typeof $=="function"&&(HS(t,a,$,o),Me=t.memoizedState);var nt=fg()||FE(t,a,S,o,Q,Me,U)||ne;return nt?(!W&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,Me,U),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,Me,U)),typeof d.componentDidUpdate=="function"&&(t.flags|=St),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=Pa)):(typeof d.componentDidUpdate=="function"&&(y!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=St),typeof d.getSnapshotBeforeUpdate=="function"&&(y!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=Pa),t.memoizedProps=o,t.memoizedState=Me),d.props=o,d.state=Me,d.context=U,nt}var IS,$S,WS,YS,ZS,BE=function(e,t){};IS=!1,$S=!1,WS={},YS={},ZS={},BE=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var a=bt(t)||"Component";YS[a]||(YS[a]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Wv(e,t,a){var o=a.ref;if(o!==null&&typeof o!="function"&&typeof o!="object"){if((e.mode&kn||Et)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)){var s=bt(e)||"Component";WS[s]||(m('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',o),WS[s]=!0)}if(a._owner){var d=a._owner,y;if(d){var S=d;if(S.tag!==T)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");y=S.stateNode}if(!y)throw new Error("Missing owner for string ref "+o+". This error is likely caused by a bug in React. Please file an issue.");var w=y;le(o,"ref");var k=""+o;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===k)return t.ref;var _=function(U){var L=w.refs;L===zE&&(L=w.refs={}),U===null?delete L[k]:L[k]=U};return _._stringRef=k,_}else{if(typeof o!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+o+`) but no owner was set. This could happen for one of the following reasons:
|
|
105
|
-
1. You may be adding a ref to a function component
|
|
106
|
-
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
107
|
-
3. You have multiple copies of React loaded
|
|
108
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return o}function pg(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function vg(e){{var t=bt(e)||"Component";if(ZS[t])return;ZS[t]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function IE(e){var t=e._payload,a=e._init;return a(t)}function $E(e){function t(H,X){if(e){var P=H.deletions;P===null?(H.deletions=[X],H.flags|=Qt):P.push(X)}}function a(H,X){if(!e)return null;for(var P=X;P!==null;)t(H,P),P=P.sibling;return null}function o(H,X){for(var P=new Map,se=X;se!==null;)se.key!==null?P.set(se.key,se):P.set(se.index,se),se=se.sibling;return P}function s(H,X){var P=Rc(H,X);return P.index=0,P.sibling=null,P}function d(H,X,P){if(H.index=P,!e)return H.flags|=Fp,X;var se=H.alternate;if(se!==null){var Ne=se.index;return Ne<X?(H.flags|=fn,X):Ne}else return H.flags|=fn,X}function y(H){return e&&H.alternate===null&&(H.flags|=fn),H}function S(H,X,P,se){if(X===null||X.tag!==K){var Ne=Sx(P,H.mode,se);return Ne.return=H,Ne}else{var _e=s(X,P);return _e.return=H,_e}}function w(H,X,P,se){var Ne=P.type;if(Ne===ri)return _(H,X,P.props.children,se,P.key);if(X!==null&&(X.elementType===Ne||Lk(X,P)||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===it&&IE(Ne)===X.type)){var _e=s(X,P.props);return _e.ref=Wv(H,X,P),_e.return=H,_e._debugSource=P._source,_e._debugOwner=P._owner,_e}var ft=bx(P,H.mode,se);return ft.ref=Wv(H,X,P),ft.return=H,ft}function k(H,X,P,se){if(X===null||X.tag!==j||X.stateNode.containerInfo!==P.containerInfo||X.stateNode.implementation!==P.implementation){var Ne=xx(P,H.mode,se);return Ne.return=H,Ne}else{var _e=s(X,P.children||[]);return _e.return=H,_e}}function _(H,X,P,se,Ne){if(X===null||X.tag!==ce){var _e=ss(P,H.mode,se,Ne);return _e.return=H,_e}else{var ft=s(X,P);return ft.return=H,ft}}function U(H,X,P){if(typeof X=="string"&&X!==""||typeof X=="number"){var se=Sx(""+X,H.mode,P);return se.return=H,se}if(typeof X=="object"&&X!==null){switch(X.$$typeof){case yo:{var Ne=bx(X,H.mode,P);return Ne.ref=Wv(H,null,X),Ne.return=H,Ne}case ba:{var _e=xx(X,H.mode,P);return _e.return=H,_e}case it:{var ft=X._payload,yt=X._init;return U(H,yt(ft),P)}}if(ir(X)||Vi(X)){var rn=ss(X,H.mode,P,null);return rn.return=H,rn}pg(H,X)}return typeof X=="function"&&vg(H),null}function L(H,X,P,se){var Ne=X!==null?X.key:null;if(typeof P=="string"&&P!==""||typeof P=="number")return Ne!==null?null:S(H,X,""+P,se);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case yo:return P.key===Ne?w(H,X,P,se):null;case ba:return P.key===Ne?k(H,X,P,se):null;case it:{var _e=P._payload,ft=P._init;return L(H,X,ft(_e),se)}}if(ir(P)||Vi(P))return Ne!==null?null:_(H,X,P,se,null);pg(H,P)}return typeof P=="function"&&vg(H),null}function $(H,X,P,se,Ne){if(typeof se=="string"&&se!==""||typeof se=="number"){var _e=H.get(P)||null;return S(X,_e,""+se,Ne)}if(typeof se=="object"&&se!==null){switch(se.$$typeof){case yo:{var ft=H.get(se.key===null?P:se.key)||null;return w(X,ft,se,Ne)}case ba:{var yt=H.get(se.key===null?P:se.key)||null;return k(X,yt,se,Ne)}case it:var rn=se._payload,Yt=se._init;return $(H,X,P,Yt(rn),Ne)}if(ir(se)||Vi(se)){var er=H.get(P)||null;return _(X,er,se,Ne,null)}pg(X,se)}return typeof se=="function"&&vg(X),null}function W(H,X,P){{if(typeof H!="object"||H===null)return X;switch(H.$$typeof){case yo:case ba:BE(H,P);var se=H.key;if(typeof se!="string")break;if(X===null){X=new Set,X.add(se);break}if(!X.has(se)){X.add(se);break}m("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",se);break;case it:var Ne=H._payload,_e=H._init;W(_e(Ne),X,P);break}}return X}function Q(H,X,P,se){for(var Ne=null,_e=0;_e<P.length;_e++){var ft=P[_e];Ne=W(ft,Ne,H)}for(var yt=null,rn=null,Yt=X,er=0,Zt=0,Wn=null;Yt!==null&&Zt<P.length;Zt++){Yt.index>Zt?(Wn=Yt,Yt=null):Wn=Yt.sibling;var va=L(H,Yt,P[Zt],se);if(va===null){Yt===null&&(Yt=Wn);break}e&&Yt&&va.alternate===null&&t(H,Yt),er=d(va,er,Zt),rn===null?yt=va:rn.sibling=va,rn=va,Yt=Wn}if(Zt===P.length){if(a(H,Yt),Wr()){var Jr=Zt;hc(H,Jr)}return yt}if(Yt===null){for(;Zt<P.length;Zt++){var vi=U(H,P[Zt],se);vi!==null&&(er=d(vi,er,Zt),rn===null?yt=vi:rn.sibling=vi,rn=vi)}if(Wr()){var Oa=Zt;hc(H,Oa)}return yt}for(var Ma=o(H,Yt);Zt<P.length;Zt++){var ha=$(Ma,H,Zt,P[Zt],se);ha!==null&&(e&&ha.alternate!==null&&Ma.delete(ha.key===null?Zt:ha.key),er=d(ha,er,Zt),rn===null?yt=ha:rn.sibling=ha,rn=ha)}if(e&&Ma.forEach(function(Ad){return t(H,Ad)}),Wr()){var Kl=Zt;hc(H,Kl)}return yt}function Me(H,X,P,se){var Ne=Vi(P);if(typeof Ne!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&P[Symbol.toStringTag]==="Generator"&&($S||m("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),$S=!0),P.entries===Ne&&(IS||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),IS=!0);var _e=Ne.call(P);if(_e)for(var ft=null,yt=_e.next();!yt.done;yt=_e.next()){var rn=yt.value;ft=W(rn,ft,H)}}var Yt=Ne.call(P);if(Yt==null)throw new Error("An iterable object provided no iterator.");for(var er=null,Zt=null,Wn=X,va=0,Jr=0,vi=null,Oa=Yt.next();Wn!==null&&!Oa.done;Jr++,Oa=Yt.next()){Wn.index>Jr?(vi=Wn,Wn=null):vi=Wn.sibling;var Ma=L(H,Wn,Oa.value,se);if(Ma===null){Wn===null&&(Wn=vi);break}e&&Wn&&Ma.alternate===null&&t(H,Wn),va=d(Ma,va,Jr),Zt===null?er=Ma:Zt.sibling=Ma,Zt=Ma,Wn=vi}if(Oa.done){if(a(H,Wn),Wr()){var ha=Jr;hc(H,ha)}return er}if(Wn===null){for(;!Oa.done;Jr++,Oa=Yt.next()){var Kl=U(H,Oa.value,se);Kl!==null&&(va=d(Kl,va,Jr),Zt===null?er=Kl:Zt.sibling=Kl,Zt=Kl)}if(Wr()){var Ad=Jr;hc(H,Ad)}return er}for(var xh=o(H,Wn);!Oa.done;Jr++,Oa=Yt.next()){var qo=$(xh,H,Jr,Oa.value,se);qo!==null&&(e&&qo.alternate!==null&&xh.delete(qo.key===null?Jr:qo.key),va=d(qo,va,Jr),Zt===null?er=qo:Zt.sibling=qo,Zt=qo)}if(e&&xh.forEach(function(v3){return t(H,v3)}),Wr()){var p3=Jr;hc(H,p3)}return er}function nt(H,X,P,se){if(X!==null&&X.tag===K){a(H,X.sibling);var Ne=s(X,P);return Ne.return=H,Ne}a(H,X);var _e=Sx(P,H.mode,se);return _e.return=H,_e}function We(H,X,P,se){for(var Ne=P.key,_e=X;_e!==null;){if(_e.key===Ne){var ft=P.type;if(ft===ri){if(_e.tag===ce){a(H,_e.sibling);var yt=s(_e,P.props.children);return yt.return=H,yt._debugSource=P._source,yt._debugOwner=P._owner,yt}}else if(_e.elementType===ft||Lk(_e,P)||typeof ft=="object"&&ft!==null&&ft.$$typeof===it&&IE(ft)===_e.type){a(H,_e.sibling);var rn=s(_e,P.props);return rn.ref=Wv(H,_e,P),rn.return=H,rn._debugSource=P._source,rn._debugOwner=P._owner,rn}a(H,_e);break}else t(H,_e);_e=_e.sibling}if(P.type===ri){var Yt=ss(P.props.children,H.mode,se,P.key);return Yt.return=H,Yt}else{var er=bx(P,H.mode,se);return er.ref=Wv(H,X,P),er.return=H,er}}function Ht(H,X,P,se){for(var Ne=P.key,_e=X;_e!==null;){if(_e.key===Ne)if(_e.tag===j&&_e.stateNode.containerInfo===P.containerInfo&&_e.stateNode.implementation===P.implementation){a(H,_e.sibling);var ft=s(_e,P.children||[]);return ft.return=H,ft}else{a(H,_e);break}else t(H,_e);_e=_e.sibling}var yt=xx(P,H.mode,se);return yt.return=H,yt}function At(H,X,P,se){var Ne=typeof P=="object"&&P!==null&&P.type===ri&&P.key===null;if(Ne&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case yo:return y(We(H,X,P,se));case ba:return y(Ht(H,X,P,se));case it:var _e=P._payload,ft=P._init;return At(H,X,ft(_e),se)}if(ir(P))return Q(H,X,P,se);if(Vi(P))return Me(H,X,P,se);pg(H,P)}return typeof P=="string"&&P!==""||typeof P=="number"?y(nt(H,X,""+P,se)):(typeof P=="function"&&vg(H),a(H,X))}return At}var yd=$E(!0),WE=$E(!1);function tA(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,o=Rc(a,a.pendingProps);for(t.child=o,o.return=t;a.sibling!==null;)a=a.sibling,o=o.sibling=Rc(a,a.pendingProps),o.return=t;o.sibling=null}}function nA(e,t){for(var a=e.child;a!==null;)Mz(a,t),a=a.sibling}var Yv={},es=Qu(Yv),Zv=Qu(Yv),hg=Qu(Yv);function mg(e){if(e===Yv)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function YE(){var e=mg(hg.current);return e}function GS(e,t){da(hg,t,e),da(Zv,e,e),da(es,Yv,e);var a=mM(t);fa(es,e),da(es,a,e)}function gd(e){fa(es,e),fa(Zv,e),fa(hg,e)}function QS(){var e=mg(es.current);return e}function ZE(e){mg(hg.current);var t=mg(es.current),a=yM(t,e.type);t!==a&&(da(Zv,e,e),da(es,a,e))}function XS(e){Zv.current===e&&(fa(es,e),fa(Zv,e))}var rA=0,GE=1,QE=1,Gv=2,oo=Qu(rA);function KS(e,t){return(e&t)!==0}function bd(e){return e&GE}function JS(e,t){return e&GE|t}function aA(e,t){return e|t}function ts(e,t){da(oo,t,e)}function Sd(e){fa(oo,e)}function iA(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function yg(e){for(var t=e;t!==null;){if(t.tag===ze){var a=t.memoizedState;if(a!==null){var o=a.dehydrated;if(o===null||iE(o)||aS(o))return t}}else if(t.tag===vt&&t.memoizedProps.revealOrder!==void 0){var s=(t.flags&dt)!==et;if(s)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qa=0,br=1,Yo=2,Sr=4,Yr=8,qS=[];function e1(){for(var e=0;e<qS.length;e++){var t=qS[e];t._workInProgressVersionPrimary=null}qS.length=0}function oA(e,t){var a=t._getVersion,o=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,o]:e.mutableSourceEagerHydrationData.push(t,o)}var Oe=c.ReactCurrentDispatcher,Qv=c.ReactCurrentBatchConfig,t1,xd;t1=new Set;var xc=q,nn=null,xr=null,wr=null,gg=!1,Xv=!1,Kv=0,lA=0,uA=25,te=null,Oi=null,ns=-1,n1=!1;function Kt(){{var e=te;Oi===null?Oi=[e]:Oi.push(e)}}function Ee(){{var e=te;Oi!==null&&(ns++,Oi[ns]!==e&&sA(e))}}function wd(e){e!=null&&!ir(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",te,typeof e)}function sA(e){{var t=bt(nn);if(!t1.has(t)&&(t1.add(t),Oi!==null)){for(var a="",o=30,s=0;s<=ns;s++){for(var d=Oi[s],y=s===ns?e:d,S=s+1+". "+d;S.length<o;)S+=" ";S+=y+`
|
|
109
|
-
`,a+=S}m(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
110
|
-
|
|
111
|
-
Previous render Next render
|
|
112
|
-
------------------------------------------------------
|
|
113
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
114
|
-
`,t,a)}}}function pa(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
115
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
116
|
-
2. You might be breaking the Rules of Hooks
|
|
117
|
-
3. You might have more than one copy of React in the same app
|
|
118
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function r1(e,t){if(n1)return!1;if(t===null)return m("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",te),!1;e.length!==t.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
119
|
-
|
|
120
|
-
Previous: %s
|
|
121
|
-
Incoming: %s`,te,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!Fe(e[a],t[a]))return!1;return!0}function Cd(e,t,a,o,s,d){xc=d,nn=t,Oi=e!==null?e._debugHookTypes:null,ns=-1,n1=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=q,e!==null&&e.memoizedState!==null?Oe.current=yT:Oi!==null?Oe.current=mT:Oe.current=hT;var y=a(o,s);if(Xv){var S=0;do{if(Xv=!1,Kv=0,S>=uA)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");S+=1,n1=!1,xr=null,wr=null,t.updateQueue=null,ns=-1,Oe.current=gT,y=a(o,s)}while(Xv)}Oe.current=Mg,t._debugHookTypes=Oi;var w=xr!==null&&xr.next!==null;if(xc=q,nn=null,xr=null,wr=null,te=null,Oi=null,ns=-1,e!==null&&(e.flags&mr)!==(t.flags&mr)&&(e.mode&Rt)!==at&&m("Internal React error: Expected static flag was missing. Please notify the React team."),gg=!1,w)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return y}function Ed(){var e=Kv!==0;return Kv=0,e}function XE(e,t,a){t.updateQueue=e.updateQueue,(t.mode&Wa)!==at?t.flags&=~(bl|ia|gn|St):t.flags&=~(gn|St),e.lanes=Nu(e.lanes,a)}function KE(){if(Oe.current=Mg,gg){for(var e=nn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}gg=!1}xc=q,nn=null,xr=null,wr=null,Oi=null,ns=-1,te=null,cT=!1,Xv=!1,Kv=0}function Zo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wr===null?nn.memoizedState=wr=e:wr=wr.next=e,wr}function Mi(){var e;if(xr===null){var t=nn.alternate;t!==null?e=t.memoizedState:e=null}else e=xr.next;var a;if(wr===null?a=nn.memoizedState:a=wr.next,a!==null)wr=a,a=wr.next,xr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");xr=e;var o={memoizedState:xr.memoizedState,baseState:xr.baseState,baseQueue:xr.baseQueue,queue:xr.queue,next:null};wr===null?nn.memoizedState=wr=o:wr=wr.next=o}return wr}function JE(){return{lastEffect:null,stores:null}}function a1(e,t){return typeof t=="function"?t(e):t}function i1(e,t,a){var o=Zo(),s;a!==void 0?s=a(t):s=t,o.memoizedState=o.baseState=s;var d={pending:null,interleaved:null,lanes:q,dispatch:null,lastRenderedReducer:e,lastRenderedState:s};o.queue=d;var y=d.dispatch=pA.bind(null,nn,d);return[o.memoizedState,y]}function o1(e,t,a){var o=Mi(),s=o.queue;if(s===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");s.lastRenderedReducer=e;var d=xr,y=d.baseQueue,S=s.pending;if(S!==null){if(y!==null){var w=y.next,k=S.next;y.next=k,S.next=w}d.baseQueue!==y&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=y=S,s.pending=null}if(y!==null){var _=y.next,U=d.baseState,L=null,$=null,W=null,Q=_;do{var Me=Q.lane;if(Dl(xc,Me)){if(W!==null){var We={lane:Ft,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};W=W.next=We}if(Q.hasEagerState)U=Q.eagerState;else{var Ht=Q.action;U=e(U,Ht)}}else{var nt={lane:Me,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};W===null?($=W=nt,L=U):W=W.next=nt,nn.lanes=xt(nn.lanes,Me),mh(Me)}Q=Q.next}while(Q!==null&&Q!==_);W===null?L=U:W.next=$,Fe(U,o.memoizedState)||ah(),o.memoizedState=U,o.baseState=L,o.baseQueue=W,s.lastRenderedState=U}var At=s.interleaved;if(At!==null){var H=At;do{var X=H.lane;nn.lanes=xt(nn.lanes,X),mh(X),H=H.next}while(H!==At)}else y===null&&(s.lanes=q);var P=s.dispatch;return[o.memoizedState,P]}function l1(e,t,a){var o=Mi(),s=o.queue;if(s===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");s.lastRenderedReducer=e;var d=s.dispatch,y=s.pending,S=o.memoizedState;if(y!==null){s.pending=null;var w=y.next,k=w;do{var _=k.action;S=e(S,_),k=k.next}while(k!==w);Fe(S,o.memoizedState)||ah(),o.memoizedState=S,o.baseQueue===null&&(o.baseState=S),s.lastRenderedState=S}return[S,d]}function R3(e,t,a){}function D3(e,t,a){}function u1(e,t,a){var o=nn,s=Zo(),d,y=Wr();if(y){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=a(),xd||d!==a()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),xd=!0)}else{if(d=t(),!xd){var S=t();Fe(d,S)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),xd=!0)}var w=Qg();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Js(w,xc)||qE(o,t,d)}s.memoizedState=d;var k={value:d,getSnapshot:t};return s.queue=k,Cg(tT.bind(null,o,k,e),[e]),o.flags|=gn,Jv(br|Yr,eT.bind(null,o,k,d,t),void 0,null),d}function bg(e,t,a){var o=nn,s=Mi(),d=t();if(!xd){var y=t();Fe(d,y)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),xd=!0)}var S=s.memoizedState,w=!Fe(S,d);w&&(s.memoizedState=d,ah());var k=s.queue;if(eh(tT.bind(null,o,k,e),[e]),k.getSnapshot!==t||w||wr!==null&&wr.memoizedState.tag&br){o.flags|=gn,Jv(br|Yr,eT.bind(null,o,k,d,t),void 0,null);var _=Qg();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Js(_,xc)||qE(o,t,d)}return d}function qE(e,t,a){e.flags|=Is;var o={getSnapshot:t,value:a},s=nn.updateQueue;if(s===null)s=JE(),nn.updateQueue=s,s.stores=[o];else{var d=s.stores;d===null?s.stores=[o]:d.push(o)}}function eT(e,t,a,o){t.value=a,t.getSnapshot=o,nT(t)&&rT(e)}function tT(e,t,a){var o=function(){nT(t)&&rT(e)};return a(o)}function nT(e){var t=e.getSnapshot,a=e.value;try{var o=t();return!Fe(a,o)}catch{return!0}}function rT(e){var t=Ja(e,lt);t!==null&&kr(t,e,lt,un)}function Sg(e){var t=Zo();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:q,dispatch:null,lastRenderedReducer:a1,lastRenderedState:e};t.queue=a;var o=a.dispatch=vA.bind(null,nn,a);return[t.memoizedState,o]}function s1(e){return o1(a1)}function c1(e){return l1(a1)}function Jv(e,t,a,o){var s={tag:e,create:t,destroy:a,deps:o,next:null},d=nn.updateQueue;if(d===null)d=JE(),nn.updateQueue=d,d.lastEffect=s.next=s;else{var y=d.lastEffect;if(y===null)d.lastEffect=s.next=s;else{var S=y.next;y.next=s,s.next=S,d.lastEffect=s}}return s}function f1(e){var t=Zo();{var a={current:e};return t.memoizedState=a,a}}function xg(e){var t=Mi();return t.memoizedState}function qv(e,t,a,o){var s=Zo(),d=o===void 0?null:o;nn.flags|=e,s.memoizedState=Jv(br|t,a,void 0,d)}function wg(e,t,a,o){var s=Mi(),d=o===void 0?null:o,y=void 0;if(xr!==null){var S=xr.memoizedState;if(y=S.destroy,d!==null){var w=S.deps;if(r1(d,w)){s.memoizedState=Jv(t,a,y,d);return}}}nn.flags|=e,s.memoizedState=Jv(br|t,a,y,d)}function Cg(e,t){return(nn.mode&Wa)!==at?qv(bl|gn|Do,Yr,e,t):qv(gn|Do,Yr,e,t)}function eh(e,t){return wg(gn,Yr,e,t)}function d1(e,t){return qv(St,Yo,e,t)}function Eg(e,t){return wg(St,Yo,e,t)}function p1(e,t){var a=St;return a|=aa,(nn.mode&Wa)!==at&&(a|=ia),qv(a,Sr,e,t)}function Tg(e,t){return wg(St,Sr,e,t)}function aT(e,t){if(typeof t=="function"){var a=t,o=e();return a(o),function(){a(null)}}else if(t!=null){var s=t;s.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(s).join(", ")+"}");var d=e();return s.current=d,function(){s.current=null}}}function v1(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=a!=null?a.concat([e]):null,s=St;return s|=aa,(nn.mode&Wa)!==at&&(s|=ia),qv(s,Sr,aT.bind(null,t,e),o)}function kg(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=a!=null?a.concat([e]):null;return wg(St,Sr,aT.bind(null,t,e),o)}function cA(e,t){}var _g=cA;function h1(e,t){var a=Zo(),o=t===void 0?null:t;return a.memoizedState=[e,o],e}function Rg(e,t){var a=Mi(),o=t===void 0?null:t,s=a.memoizedState;if(s!==null&&o!==null){var d=s[1];if(r1(o,d))return s[0]}return a.memoizedState=[e,o],e}function m1(e,t){var a=Zo(),o=t===void 0?null:t,s=e();return a.memoizedState=[s,o],s}function Dg(e,t){var a=Mi(),o=t===void 0?null:t,s=a.memoizedState;if(s!==null&&o!==null){var d=s[1];if(r1(o,d))return s[0]}var y=e();return a.memoizedState=[y,o],y}function y1(e){var t=Zo();return t.memoizedState=e,e}function iT(e){var t=Mi(),a=xr,o=a.memoizedState;return lT(t,o,e)}function oT(e){var t=Mi();if(xr===null)return t.memoizedState=e,e;var a=xr.memoizedState;return lT(t,a,e)}function lT(e,t,a){var o=!Cb(xc);if(o){if(!Fe(a,t)){var s=tv();nn.lanes=xt(nn.lanes,s),mh(s),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,ah()),e.memoizedState=a,a}function fA(e,t,a){var o=Za();Kn(Ar(o,gr)),e(!0);var s=Qv.transition;Qv.transition={};var d=Qv.transition;Qv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Kn(o),Qv.transition=s,s===null&&d._updatedFibers){var y=d._updatedFibers.size;y>10&&g("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),d._updatedFibers.clear()}}}function g1(){var e=Sg(!1),t=e[0],a=e[1],o=fA.bind(null,a),s=Zo();return s.memoizedState=o,[t,o]}function uT(){var e=s1(),t=e[0],a=Mi(),o=a.memoizedState;return[t,o]}function sT(){var e=c1(),t=e[0],a=Mi(),o=a.memoizedState;return[t,o]}var cT=!1;function dA(){return cT}function b1(){var e=Zo(),t=Qg(),a=t.identifierPrefix,o;if(Wr()){var s=kN();o=":"+a+"R"+s;var d=Kv++;d>0&&(o+="H"+d.toString(32)),o+=":"}else{var y=lA++;o=":"+a+"r"+y.toString(32)+":"}return e.memoizedState=o,o}function Og(){var e=Mi(),t=e.memoizedState;return t}function pA(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var o=ls(e),s={lane:o,action:a,hasEagerState:!1,eagerState:null,next:null};if(fT(e))dT(t,s);else{var d=DE(e,t,s,o);if(d!==null){var y=Da();kr(d,e,o,y),pT(d,t,o)}}vT(e,o)}function vA(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var o=ls(e),s={lane:o,action:a,hasEagerState:!1,eagerState:null,next:null};if(fT(e))dT(t,s);else{var d=e.alternate;if(e.lanes===q&&(d===null||d.lanes===q)){var y=t.lastRenderedReducer;if(y!==null){var S;S=Oe.current,Oe.current=lo;try{var w=t.lastRenderedState,k=y(w,a);if(s.hasEagerState=!0,s.eagerState=k,Fe(k,w)){YN(e,t,s,o);return}}catch{}finally{Oe.current=S}}}var _=DE(e,t,s,o);if(_!==null){var U=Da();kr(_,e,o,U),pT(_,t,o)}}vT(e,o)}function fT(e){var t=e.alternate;return e===nn||t!==null&&t===nn}function dT(e,t){Xv=gg=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function pT(e,t,a){if(ev(a)){var o=t.lanes;o=nv(o,e.pendingLanes);var s=xt(o,a);t.lanes=s,Au(e,s)}}function vT(e,t,a){zo(e,t)}var Mg={readContext:dr,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:ae},hT=null,mT=null,yT=null,gT=null,Go=null,lo=null,Ng=null;{var S1=function(){m("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().")},mt=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};hT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Kt(),wd(t),h1(e,t)},useContext:function(e){return te="useContext",Kt(),dr(e)},useEffect:function(e,t){return te="useEffect",Kt(),wd(t),Cg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Kt(),wd(a),v1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Kt(),wd(t),d1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Kt(),wd(t),p1(e,t)},useMemo:function(e,t){te="useMemo",Kt(),wd(t);var a=Oe.current;Oe.current=Go;try{return m1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Kt();var o=Oe.current;Oe.current=Go;try{return i1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Kt(),f1(e)},useState:function(e){te="useState",Kt();var t=Oe.current;Oe.current=Go;try{return Sg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Kt(),void 0},useDeferredValue:function(e){return te="useDeferredValue",Kt(),y1(e)},useTransition:function(){return te="useTransition",Kt(),g1()},useMutableSource:function(e,t,a){return te="useMutableSource",Kt(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Kt(),u1(e,t,a)},useId:function(){return te="useId",Kt(),b1()},unstable_isNewReconciler:ae},mT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),h1(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),Cg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),v1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),d1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),p1(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=Go;try{return m1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=Go;try{return i1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),f1(e)},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=Go;try{return Sg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),void 0},useDeferredValue:function(e){return te="useDeferredValue",Ee(),y1(e)},useTransition:function(){return te="useTransition",Ee(),g1()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),u1(e,t,a)},useId:function(){return te="useId",Ee(),b1()},unstable_isNewReconciler:ae},yT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),Rg(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=lo;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=lo;try{return o1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),xg()},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=lo;try{return s1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",Ee(),iT(e)},useTransition:function(){return te="useTransition",Ee(),uT()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),bg(e,t)},useId:function(){return te="useId",Ee(),Og()},unstable_isNewReconciler:ae},gT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),Rg(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=Ng;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=Ng;try{return l1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),xg()},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=Ng;try{return c1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",Ee(),oT(e)},useTransition:function(){return te="useTransition",Ee(),sT()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),bg(e,t)},useId:function(){return te="useId",Ee(),Og()},unstable_isNewReconciler:ae},Go={readContext:function(e){return S1(),dr(e)},useCallback:function(e,t){return te="useCallback",mt(),Kt(),h1(e,t)},useContext:function(e){return te="useContext",mt(),Kt(),dr(e)},useEffect:function(e,t){return te="useEffect",mt(),Kt(),Cg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",mt(),Kt(),v1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",mt(),Kt(),d1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",mt(),Kt(),p1(e,t)},useMemo:function(e,t){te="useMemo",mt(),Kt();var a=Oe.current;Oe.current=Go;try{return m1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",mt(),Kt();var o=Oe.current;Oe.current=Go;try{return i1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",mt(),Kt(),f1(e)},useState:function(e){te="useState",mt(),Kt();var t=Oe.current;Oe.current=Go;try{return Sg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",mt(),Kt(),void 0},useDeferredValue:function(e){return te="useDeferredValue",mt(),Kt(),y1(e)},useTransition:function(){return te="useTransition",mt(),Kt(),g1()},useMutableSource:function(e,t,a){return te="useMutableSource",mt(),Kt(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",mt(),Kt(),u1(e,t,a)},useId:function(){return te="useId",mt(),Kt(),b1()},unstable_isNewReconciler:ae},lo={readContext:function(e){return S1(),dr(e)},useCallback:function(e,t){return te="useCallback",mt(),Ee(),Rg(e,t)},useContext:function(e){return te="useContext",mt(),Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",mt(),Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",mt(),Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",mt(),Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",mt(),Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",mt(),Ee();var a=Oe.current;Oe.current=lo;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",mt(),Ee();var o=Oe.current;Oe.current=lo;try{return o1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",mt(),Ee(),xg()},useState:function(e){te="useState",mt(),Ee();var t=Oe.current;Oe.current=lo;try{return s1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",mt(),Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",mt(),Ee(),iT(e)},useTransition:function(){return te="useTransition",mt(),Ee(),uT()},useMutableSource:function(e,t,a){return te="useMutableSource",mt(),Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",mt(),Ee(),bg(e,t)},useId:function(){return te="useId",mt(),Ee(),Og()},unstable_isNewReconciler:ae},Ng={readContext:function(e){return S1(),dr(e)},useCallback:function(e,t){return te="useCallback",mt(),Ee(),Rg(e,t)},useContext:function(e){return te="useContext",mt(),Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",mt(),Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",mt(),Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",mt(),Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",mt(),Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",mt(),Ee();var a=Oe.current;Oe.current=lo;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",mt(),Ee();var o=Oe.current;Oe.current=lo;try{return l1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",mt(),Ee(),xg()},useState:function(e){te="useState",mt(),Ee();var t=Oe.current;Oe.current=lo;try{return c1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",mt(),Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",mt(),Ee(),oT(e)},useTransition:function(){return te="useTransition",mt(),Ee(),sT()},useMutableSource:function(e,t,a){return te="useMutableSource",mt(),Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",mt(),Ee(),bg(e,t)},useId:function(){return te="useId",mt(),Ee(),Og()},unstable_isNewReconciler:ae}}var rs=u.unstable_now,bT=0,Ag=-1,th=-1,Lg=-1,x1=!1,zg=!1;function ST(){return x1}function hA(){zg=!0}function mA(){x1=!1,zg=!1}function yA(){x1=zg,zg=!1}function xT(){return bT}function wT(){bT=rs()}function w1(e){th=rs(),e.actualStartTime<0&&(e.actualStartTime=rs())}function CT(e){th=-1}function Ug(e,t){if(th>=0){var a=rs()-th;e.actualDuration+=a,t&&(e.selfBaseDuration=a),th=-1}}function Qo(e){if(Ag>=0){var t=rs()-Ag;Ag=-1;for(var a=e.return;a!==null;){switch(a.tag){case R:var o=a.stateNode;o.effectDuration+=t;return;case Se:var s=a.stateNode;s.effectDuration+=t;return}a=a.return}}}function C1(e){if(Lg>=0){var t=rs()-Lg;Lg=-1;for(var a=e.return;a!==null;){switch(a.tag){case R:var o=a.stateNode;o!==null&&(o.passiveEffectDuration+=t);return;case Se:var s=a.stateNode;s!==null&&(s.passiveEffectDuration+=t);return}a=a.return}}}function Xo(){Ag=rs()}function E1(){Lg=rs()}function T1(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function wc(e,t){return{value:e,source:t,stack:cp(t),digest:null}}function k1(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function gA(e,t){return!0}function _1(e,t){try{var a=gA(e,t);if(a===!1)return;var o=t.value,s=t.source,d=t.stack,y=d!==null?d:"";if(o!=null&&o._suppressLogging){if(e.tag===T)return;console.error(o)}var S=s?bt(s):null,w=S?"The above error occurred in the <"+S+"> component:":"The above error occurred in one of your React components:",k;if(e.tag===R)k=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
122
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var _=bt(e)||"Anonymous";k="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+_+".")}var U=w+`
|
|
123
|
-
`+y+`
|
|
124
|
-
|
|
125
|
-
`+(""+k);console.error(U)}catch(L){setTimeout(function(){throw L})}}var bA=typeof WeakMap=="function"?WeakMap:Map;function ET(e,t,a){var o=Wl(un,a);o.tag=_S,o.payload={element:null};var s=t.value;return o.callback=function(){fz(s),_1(e,t)},o}function R1(e,t,a){var o=Wl(un,a);o.tag=_S;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var d=t.value;o.payload=function(){return s(d)},o.callback=function(){zk(e),_1(e,t)}}var y=e.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(o.callback=function(){zk(e),_1(e,t),typeof s!="function"&&sz(this);var w=t.value,k=t.stack;this.componentDidCatch(w,{componentStack:k!==null?k:""}),typeof s!="function"&&(ca(e.lanes,lt)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",bt(e)||"Unknown"))}),o}function TT(e,t,a){var o=e.pingCache,s;if(o===null?(o=e.pingCache=new bA,s=new Set,o.set(t,s)):(s=o.get(t),s===void 0&&(s=new Set,o.set(t,s))),!s.has(a)){s.add(a);var d=dz.bind(null,e,t,a);yr&&yh(e,a),t.then(d,d)}}function SA(e,t,a,o){var s=e.updateQueue;if(s===null){var d=new Set;d.add(a),e.updateQueue=d}else s.add(a)}function xA(e,t){var a=e.tag;if((e.mode&Rt)===at&&(a===E||a===de||a===He)){var o=e.alternate;o?(e.updateQueue=o.updateQueue,e.memoizedState=o.memoizedState,e.lanes=o.lanes):(e.updateQueue=null,e.memoizedState=null)}}function kT(e){var t=e;do{if(t.tag===ze&&iA(t))return t;t=t.return}while(t!==null);return null}function _T(e,t,a,o,s){if((e.mode&Rt)===at){if(e===t)e.flags|=lr;else{if(e.flags|=dt,a.flags|=$s,a.flags&=~(sf|xa),a.tag===T){var d=a.alternate;if(d===null)a.tag=ut;else{var y=Wl(un,lt);y.tag=og,qu(a,y,lt)}}a.lanes=xt(a.lanes,lt)}return e}return e.flags|=lr,e.lanes=s,e}function wA(e,t,a,o,s){if(a.flags|=xa,yr&&yh(e,s),o!==null&&typeof o=="object"&&typeof o.then=="function"){var d=o;xA(a),Wr()&&a.mode&Rt&&yE();var y=kT(t);if(y!==null){y.flags&=~Mn,_T(y,t,a,e,s),y.mode&Rt&&TT(e,d,s),SA(y,e,d);return}else{if(!Mu(s)){TT(e,d,s),lx();return}var S=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");o=S}}else if(Wr()&&a.mode&Rt){yE();var w=kT(t);if(w!==null){(w.flags&lr)===et&&(w.flags|=Mn),_T(w,t,a,e,s),SS(wc(o,a));return}}o=wc(o,a),tz(o);var k=t;do{switch(k.tag){case R:{var _=o;k.flags|=lr;var U=Xn(s);k.lanes=xt(k.lanes,U);var L=ET(k,_,U);OS(k,L);return}case T:var $=o,W=k.type,Q=k.stateNode;if((k.flags&dt)===et&&(typeof W.getDerivedStateFromError=="function"||Q!==null&&typeof Q.componentDidCatch=="function"&&!kk(Q))){k.flags|=lr;var Me=Xn(s);k.lanes=xt(k.lanes,Me);var nt=R1(k,$,Me);OS(k,nt);return}break}k=k.return}while(k!==null)}function CA(){return null}var nh=c.ReactCurrentOwner,uo=!1,D1,rh,O1,M1,N1,Cc,A1,jg;D1={},rh={},O1={},M1={},N1={},Cc=!1,A1={},jg={};function _a(e,t,a,o){e===null?t.child=WE(t,null,a,o):t.child=yd(t,e.child,a,o)}function EA(e,t,a,o){t.child=yd(t,e.child,null,o),t.child=yd(t,null,a,o)}function RT(e,t,a,o,s){if(t.type!==t.elementType){var d=a.propTypes;d&&no(d,o,"prop",on(a))}var y=a.render,S=t.ref,w,k;md(t,s),Lo(t);{if(nh.current=t,oi(!0),w=Cd(e,t,y,o,S,s),k=Ed(),t.mode&kn){Qn(!0);try{w=Cd(e,t,y,o,S,s),k=Ed()}finally{Qn(!1)}}oi(!1)}return Sl(),e!==null&&!uo?(XE(e,t,s),Yl(e,t,s)):(Wr()&&k&&vS(t),t.flags|=_o,_a(e,t,w,s),t.child)}function DT(e,t,a,o,s){if(e===null){var d=a.type;if(Dz(d)&&a.compare===null&&a.defaultProps===void 0){var y=d;return y=Nd(d),t.tag=He,t.type=y,U1(t,d),OT(e,t,y,o,s)}{var S=d.propTypes;S&&no(S,o,"prop",on(d))}var w=gx(a.type,null,o,t,t.mode,s);return w.ref=t.ref,w.return=t,t.child=w,w}{var k=a.type,_=k.propTypes;_&&no(_,o,"prop",on(k))}var U=e.child,L=B1(e,s);if(!L){var $=U.memoizedProps,W=a.compare;if(W=W!==null?W:Ge,W($,o)&&e.ref===t.ref)return Yl(e,t,s)}t.flags|=_o;var Q=Rc(U,o);return Q.ref=t.ref,Q.return=t,t.child=Q,Q}function OT(e,t,a,o,s){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===it){var y=d,S=y._payload,w=y._init;try{d=w(S)}catch{d=null}var k=d&&d.propTypes;k&&no(k,o,"prop",on(d))}}if(e!==null){var _=e.memoizedProps;if(Ge(_,o)&&e.ref===t.ref&&t.type===e.type)if(uo=!1,t.pendingProps=o=_,B1(e,s))(e.flags&$s)!==et&&(uo=!0);else return t.lanes=e.lanes,Yl(e,t,s)}return L1(e,t,a,o,s)}function MT(e,t,a){var o=t.pendingProps,s=o.children,d=e!==null?e.memoizedState:null;if(o.mode==="hidden"||ee)if((t.mode&Rt)===at){var y={baseLanes:q,cachePool:null,transitions:null};t.memoizedState=y,Xg(t,a)}else if(ca(a,sa)){var U={baseLanes:q,cachePool:null,transitions:null};t.memoizedState=U;var L=d!==null?d.baseLanes:a;Xg(t,L)}else{var S=null,w;if(d!==null){var k=d.baseLanes;w=xt(k,a)}else w=a;t.lanes=t.childLanes=sa;var _={baseLanes:w,cachePool:S,transitions:null};return t.memoizedState=_,t.updateQueue=null,Xg(t,w),null}else{var $;d!==null?($=xt(d.baseLanes,a),t.memoizedState=null):$=a,Xg(t,$)}return _a(e,t,s,a),t.child}function TA(e,t,a){var o=t.pendingProps;return _a(e,t,o,a),t.child}function kA(e,t,a){var o=t.pendingProps.children;return _a(e,t,o,a),t.child}function _A(e,t,a){{t.flags|=St;{var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0}}var s=t.pendingProps,d=s.children;return _a(e,t,d,a),t.child}function NT(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=ra,t.flags|=Vp)}function L1(e,t,a,o,s){if(t.type!==t.elementType){var d=a.propTypes;d&&no(d,o,"prop",on(a))}var y;{var S=cd(t,a,!0);y=fd(t,S)}var w,k;md(t,s),Lo(t);{if(nh.current=t,oi(!0),w=Cd(e,t,a,o,y,s),k=Ed(),t.mode&kn){Qn(!0);try{w=Cd(e,t,a,o,y,s),k=Ed()}finally{Qn(!1)}}oi(!1)}return Sl(),e!==null&&!uo?(XE(e,t,s),Yl(e,t,s)):(Wr()&&k&&vS(t),t.flags|=_o,_a(e,t,w,s),t.child)}function AT(e,t,a,o,s){{switch($z(t)){case!1:{var d=t.stateNode,y=t.type,S=new y(t.memoizedProps,d.context),w=S.state;d.updater.enqueueSetState(d,w,null);break}case!0:{t.flags|=dt,t.flags|=lr;var k=new Error("Simulated error coming from DevTools"),_=Xn(s);t.lanes=xt(t.lanes,_);var U=R1(t,wc(k,t),_);OS(t,U);break}}if(t.type!==t.elementType){var L=a.propTypes;L&&no(L,o,"prop",on(a))}}var $;Wo(a)?($=!0,Qy(t)):$=!1,md(t,s);var W=t.stateNode,Q;W===null?(Vg(e,t),HE(t,a,o),BS(t,a,o,s),Q=!0):e===null?Q=qN(t,a,o,s):Q=eA(e,t,a,o,s);var Me=z1(e,t,a,Q,$,s);{var nt=t.stateNode;Q&&nt.props!==o&&(Cc||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",bt(t)||"a component"),Cc=!0)}return Me}function z1(e,t,a,o,s,d){NT(e,t);var y=(t.flags&dt)!==et;if(!o&&!y)return s&&pE(t,a,!1),Yl(e,t,d);var S=t.stateNode;nh.current=t;var w;if(y&&typeof a.getDerivedStateFromError!="function")w=null,CT();else{Lo(t);{if(oi(!0),w=S.render(),t.mode&kn){Qn(!0);try{S.render()}finally{Qn(!1)}}oi(!1)}Sl()}return t.flags|=_o,e!==null&&y?EA(e,t,w,d):_a(e,t,w,d),t.memoizedState=S.state,s&&pE(t,a,!0),t.child}function LT(e){var t=e.stateNode;t.pendingContext?fE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&fE(e,t.context,!1),GS(e,t.containerInfo)}function RA(e,t,a){if(LT(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var o=t.pendingProps,s=t.memoizedState,d=s.element;NE(e,t),cg(t,o,null,a);var y=t.memoizedState;t.stateNode;var S=y.element;if(s.isDehydrated){var w={element:S,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},k=t.updateQueue;if(k.baseState=w,t.memoizedState=w,t.flags&Mn){var _=wc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return zT(e,t,S,a,_)}else if(S!==d){var U=wc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return zT(e,t,S,a,U)}else{NN(t);var L=WE(t,null,S,a);t.child=L;for(var $=L;$;)$.flags=$.flags&~fn|Ba,$=$.sibling}}else{if(vd(),S===d)return Yl(e,t,a);_a(e,t,S,a)}return t.child}function zT(e,t,a,o,s){return vd(),SS(s),t.flags|=Mn,_a(e,t,a,o),t.child}function DA(e,t,a){ZE(t),e===null&&bS(t);var o=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,y=s.children,S=eS(o,s);return S?y=null:d!==null&&eS(o,d)&&(t.flags|=Xt),NT(e,t),_a(e,t,y,a),t.child}function OA(e,t){return e===null&&bS(t),null}function MA(e,t,a,o){Vg(e,t);var s=t.pendingProps,d=a,y=d._payload,S=d._init,w=S(y);t.type=w;var k=t.tag=Oz(w),_=io(w,s),U;switch(k){case E:return U1(t,w),t.type=w=Nd(w),U=L1(null,t,w,_,o),U;case T:return t.type=w=dx(w),U=AT(null,t,w,_,o),U;case de:return t.type=w=px(w),U=RT(null,t,w,_,o),U;case gt:{if(t.type!==t.elementType){var L=w.propTypes;L&&no(L,_,"prop",on(w))}return U=DT(null,t,w,io(w.type,_),o),U}}var $="";throw w!==null&&typeof w=="object"&&w.$$typeof===it&&($=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+w+". "+("Lazy element type must resolve to a class or function."+$))}function NA(e,t,a,o,s){Vg(e,t),t.tag=T;var d;return Wo(a)?(d=!0,Qy(t)):d=!1,md(t,s),HE(t,a,o),BS(t,a,o,s),z1(null,t,a,!0,d,s)}function AA(e,t,a,o){Vg(e,t);var s=t.pendingProps,d;{var y=cd(t,a,!1);d=fd(t,y)}md(t,o);var S,w;Lo(t);{if(a.prototype&&typeof a.prototype.render=="function"){var k=on(a)||"Unknown";D1[k]||(m("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",k,k),D1[k]=!0)}t.mode&kn&&ao.recordLegacyContextWarning(t,null),oi(!0),nh.current=t,S=Cd(null,t,a,s,d,o),w=Ed(),oi(!1)}if(Sl(),t.flags|=_o,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var _=on(a)||"Unknown";rh[_]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",_,_,_),rh[_]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var U=on(a)||"Unknown";rh[U]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",U,U,U),rh[U]=!0)}t.tag=T,t.memoizedState=null,t.updateQueue=null;var L=!1;return Wo(a)?(L=!0,Qy(t)):L=!1,t.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,DS(t),VE(t,S),BS(t,a,s,o),z1(null,t,a,!0,L,o)}else{if(t.tag=E,t.mode&kn){Qn(!0);try{S=Cd(null,t,a,s,d,o),w=Ed()}finally{Qn(!1)}}return Wr()&&w&&vS(t),_a(null,t,S,o),U1(t,a),t.child}}function U1(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",o=Fa();o&&(a+=`
|
|
126
|
-
|
|
127
|
-
Check the render method of \``+o+"`.");var s=o||"",d=e._debugSource;d&&(s=d.fileName+":"+d.lineNumber),N1[s]||(N1[s]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(typeof t.getDerivedStateFromProps=="function"){var y=on(t)||"Unknown";M1[y]||(m("%s: Function components do not support getDerivedStateFromProps.",y),M1[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var S=on(t)||"Unknown";O1[S]||(m("%s: Function components do not support contextType.",S),O1[S]=!0)}}}var j1={dehydrated:null,treeContext:null,retryLane:Ft};function F1(e){return{baseLanes:e,cachePool:CA(),transitions:null}}function LA(e,t){var a=null;return{baseLanes:xt(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function zA(e,t,a,o){if(t!==null){var s=t.memoizedState;if(s===null)return!1}return KS(e,Gv)}function UA(e,t){return Nu(e.childLanes,t)}function UT(e,t,a){var o=t.pendingProps;Wz(t)&&(t.flags|=dt);var s=oo.current,d=!1,y=(t.flags&dt)!==et;if(y||zA(s,e)?(d=!0,t.flags&=~dt):(e===null||e.memoizedState!==null)&&(s=aA(s,QE)),s=bd(s),ts(t,s),e===null){bS(t);var S=t.memoizedState;if(S!==null){var w=S.dehydrated;if(w!==null)return PA(t,w)}var k=o.children,_=o.fallback;if(d){var U=jA(t,k,_,a),L=t.child;return L.memoizedState=F1(a),t.memoizedState=j1,U}else return V1(t,k)}else{var $=e.memoizedState;if($!==null){var W=$.dehydrated;if(W!==null)return BA(e,t,y,o,W,$,a)}if(d){var Q=o.fallback,Me=o.children,nt=VA(e,t,Me,Q,a),We=t.child,Ht=e.child.memoizedState;return We.memoizedState=Ht===null?F1(a):LA(Ht,a),We.childLanes=UA(e,a),t.memoizedState=j1,nt}else{var At=o.children,H=FA(e,t,At,a);return t.memoizedState=null,H}}}function V1(e,t,a){var o=e.mode,s={mode:"visible",children:t},d=H1(s,o);return d.return=e,e.child=d,d}function jA(e,t,a,o){var s=e.mode,d=e.child,y={mode:"hidden",children:t},S,w;return(s&Rt)===at&&d!==null?(S=d,S.childLanes=q,S.pendingProps=y,e.mode&ot&&(S.actualDuration=0,S.actualStartTime=-1,S.selfBaseDuration=0,S.treeBaseDuration=0),w=ss(a,s,o,null)):(S=H1(y,s),w=ss(a,s,o,null)),S.return=e,w.return=e,S.sibling=w,e.child=S,w}function H1(e,t,a){return jk(e,t,q,null)}function jT(e,t){return Rc(e,t)}function FA(e,t,a,o){var s=e.child,d=s.sibling,y=jT(s,{mode:"visible",children:a});if((t.mode&Rt)===at&&(y.lanes=o),y.return=t,y.sibling=null,d!==null){var S=t.deletions;S===null?(t.deletions=[d],t.flags|=Qt):S.push(d)}return t.child=y,y}function VA(e,t,a,o,s){var d=t.mode,y=e.child,S=y.sibling,w={mode:"hidden",children:a},k;if((d&Rt)===at&&t.child!==y){var _=t.child;k=_,k.childLanes=q,k.pendingProps=w,t.mode&ot&&(k.actualDuration=0,k.actualStartTime=-1,k.selfBaseDuration=y.selfBaseDuration,k.treeBaseDuration=y.treeBaseDuration),t.deletions=null}else k=jT(y,w),k.subtreeFlags=y.subtreeFlags&mr;var U;return S!==null?U=Rc(S,o):(U=ss(o,d,s,null),U.flags|=fn),U.return=t,k.return=t,k.sibling=U,t.child=k,U}function Fg(e,t,a,o){o!==null&&SS(o),yd(t,e.child,null,a);var s=t.pendingProps,d=s.children,y=V1(t,d);return y.flags|=fn,t.memoizedState=null,y}function HA(e,t,a,o,s){var d=t.mode,y={mode:"visible",children:a},S=H1(y,d),w=ss(o,d,s,null);return w.flags|=fn,S.return=t,w.return=t,S.sibling=w,t.child=S,(t.mode&Rt)!==at&&yd(t,e.child,null,s),w}function PA(e,t,a){return(e.mode&Rt)===at?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=lt):aS(t)?e.lanes=Cl:e.lanes=sa,null}function BA(e,t,a,o,s,d,y){if(a)if(t.flags&Mn){t.flags&=~Mn;var H=k1(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Fg(e,t,y,H)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=dt,null;var X=o.children,P=o.fallback,se=HA(e,t,X,P,y),Ne=t.child;return Ne.memoizedState=F1(y),t.memoizedState=j1,se}else{if(ON(),(t.mode&Rt)===at)return Fg(e,t,y,null);if(aS(s)){var S,w,k;{var _=ZM(s);S=_.digest,w=_.message,k=_.stack}var U;w?U=new Error(w):U=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var L=k1(U,S,k);return Fg(e,t,y,L)}var $=ca(y,e.childLanes);if(uo||$){var W=Qg();if(W!==null){var Q=Tb(W,y);if(Q!==Ft&&Q!==d.retryLane){d.retryLane=Q;var Me=un;Ja(e,Q),kr(W,e,Q,Me)}}lx();var nt=k1(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Fg(e,t,y,nt)}else if(iE(s)){t.flags|=dt,t.child=e.child;var We=pz.bind(null,e);return GM(s,We),null}else{AN(t,s,d.treeContext);var Ht=o.children,At=V1(t,Ht);return At.flags|=Ba,At}}}function FT(e,t,a){e.lanes=xt(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=xt(o.lanes,t)),TS(e.return,t,a)}function IA(e,t,a){for(var o=t;o!==null;){if(o.tag===ze){var s=o.memoizedState;s!==null&&FT(o,a,e)}else if(o.tag===vt)FT(o,a,e);else 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 $A(e){for(var t=e,a=null;t!==null;){var o=t.alternate;o!==null&&yg(o)===null&&(a=t),t=t.sibling}return a}function WA(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!A1[e])if(A1[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function YA(e,t){e!==void 0&&!jg[e]&&(e!=="collapsed"&&e!=="hidden"?(jg[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(jg[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function VT(e,t){{var a=ir(e),o=!a&&typeof Vi(e)=="function";if(a||o){var s=a?"array":"iterable";return m("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",s,t,s),!1}}return!0}function ZA(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(ir(e)){for(var a=0;a<e.length;a++)if(!VT(e[a],a))return}else{var o=Vi(e);if(typeof o=="function"){var s=o.call(e);if(s)for(var d=s.next(),y=0;!d.done;d=s.next()){if(!VT(d.value,y))return;y++}}else m('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function P1(e,t,a,o,s){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:s}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=a,d.tailMode=s)}function HT(e,t,a){var o=t.pendingProps,s=o.revealOrder,d=o.tail,y=o.children;WA(s),YA(d,s),ZA(y,s),_a(e,t,y,a);var S=oo.current,w=KS(S,Gv);if(w)S=JS(S,Gv),t.flags|=dt;else{var k=e!==null&&(e.flags&dt)!==et;k&&IA(t,t.child,a),S=bd(S)}if(ts(t,S),(t.mode&Rt)===at)t.memoizedState=null;else switch(s){case"forwards":{var _=$A(t.child),U;_===null?(U=t.child,t.child=null):(U=_.sibling,_.sibling=null),P1(t,!1,U,_,d);break}case"backwards":{var L=null,$=t.child;for(t.child=null;$!==null;){var W=$.alternate;if(W!==null&&yg(W)===null){t.child=$;break}var Q=$.sibling;$.sibling=L,L=$,$=Q}P1(t,!0,L,null,d);break}case"together":{P1(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function GA(e,t,a){GS(t,t.stateNode.containerInfo);var o=t.pendingProps;return e===null?t.child=yd(t,null,o,a):_a(e,t,o,a),t.child}var PT=!1;function QA(e,t,a){var o=t.type,s=o._context,d=t.pendingProps,y=t.memoizedProps,S=d.value;{"value"in d||PT||(PT=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var w=t.type.propTypes;w&&no(w,d,"prop","Context.Provider")}if(RE(t,s,S),y!==null){var k=y.value;if(Fe(k,S)){if(y.children===d.children&&!Zy())return Yl(e,t,a)}else IN(t,s,a)}var _=d.children;return _a(e,t,_,a),t.child}var BT=!1;function XA(e,t,a){var o=t.type;o._context===void 0?o!==o.Consumer&&(BT||(BT=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var s=t.pendingProps,d=s.children;typeof d!="function"&&m("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),md(t,a);var y=dr(o);Lo(t);var S;return nh.current=t,oi(!0),S=d(y),oi(!1),Sl(),t.flags|=_o,_a(e,t,S,a),t.child}function ah(){uo=!0}function Vg(e,t){(t.mode&Rt)===at&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=fn)}function Yl(e,t,a){return e!==null&&(t.dependencies=e.dependencies),CT(),mh(t.lanes),ca(a,t.childLanes)?(tA(e,t),t.child):null}function KA(e,t,a){{var o=t.return;if(o===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===o.child)o.child=a;else{var s=o.child;if(s===null)throw new Error("Expected parent to have a child.");for(;s.sibling!==t;)if(s=s.sibling,s===null)throw new Error("Expected to find the previous sibling.");s.sibling=a}var d=o.deletions;return d===null?(o.deletions=[e],o.flags|=Qt):d.push(e),a.flags|=fn,a}}function B1(e,t){var a=e.lanes;return!!ca(a,t)}function JA(e,t,a){switch(t.tag){case R:LT(t),t.stateNode,vd();break;case F:ZE(t);break;case T:{var o=t.type;Wo(o)&&Qy(t);break}case j:GS(t,t.stateNode.containerInfo);break;case J:{var s=t.memoizedProps.value,d=t.type._context;RE(t,d,s);break}case Se:{var y=ca(a,t.childLanes);y&&(t.flags|=St);{var S=t.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}}break;case ze:{var w=t.memoizedState;if(w!==null){if(w.dehydrated!==null)return ts(t,bd(oo.current)),t.flags|=dt,null;var k=t.child,_=k.childLanes;if(ca(a,_))return UT(e,t,a);ts(t,bd(oo.current));var U=Yl(e,t,a);return U!==null?U.sibling:null}else ts(t,bd(oo.current));break}case vt:{var L=(e.flags&dt)!==et,$=ca(a,t.childLanes);if(L){if($)return HT(e,t,a);t.flags|=dt}var W=t.memoizedState;if(W!==null&&(W.rendering=null,W.tail=null,W.lastEffect=null),ts(t,oo.current),$)break;return null}case fe:case he:return t.lanes=q,MT(e,t,a)}return Yl(e,t,a)}function IT(e,t,a){if(t._debugNeedsRemount&&e!==null)return KA(e,t,gx(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var o=e.memoizedProps,s=t.pendingProps;if(o!==s||Zy()||t.type!==e.type)uo=!0;else{var d=B1(e,a);if(!d&&(t.flags&dt)===et)return uo=!1,JA(e,t,a);(e.flags&$s)!==et?uo=!0:uo=!1}}else if(uo=!1,Wr()&&EN(t)){var y=t.index,S=TN();mE(t,S,y)}switch(t.lanes=q,t.tag){case M:return AA(e,t,t.type,a);case Ke:{var w=t.elementType;return MA(e,t,w,a)}case E:{var k=t.type,_=t.pendingProps,U=t.elementType===k?_:io(k,_);return L1(e,t,k,U,a)}case T:{var L=t.type,$=t.pendingProps,W=t.elementType===L?$:io(L,$);return AT(e,t,L,W,a)}case R:return RA(e,t,a);case F:return DA(e,t,a);case K:return OA(e,t);case ze:return UT(e,t,a);case j:return GA(e,t,a);case de:{var Q=t.type,Me=t.pendingProps,nt=t.elementType===Q?Me:io(Q,Me);return RT(e,t,Q,nt,a)}case ce:return TA(e,t,a);case ve:return kA(e,t,a);case Se:return _A(e,t,a);case J:return QA(e,t,a);case Xe:return XA(e,t,a);case gt:{var We=t.type,Ht=t.pendingProps,At=io(We,Ht);if(t.type!==t.elementType){var H=We.propTypes;H&&no(H,At,"prop",on(We))}return At=io(We.type,At),DT(e,t,We,At,a)}case He:return OT(e,t,t.type,t.pendingProps,a);case ut:{var X=t.type,P=t.pendingProps,se=t.elementType===X?P:io(X,P);return NA(e,t,X,se,a)}case vt:return HT(e,t,a);case $e:break;case fe:return MT(e,t,a)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Td(e){e.flags|=St}function $T(e){e.flags|=ra,e.flags|=Vp}var WT,I1,YT,ZT;WT=function(e,t,a,o){for(var s=t.child;s!==null;){if(s.tag===F||s.tag===K)xM(e,s.stateNode);else if(s.tag!==j){if(s.child!==null){s.child.return=s,s=s.child;continue}}if(s===t)return;for(;s.sibling===null;){if(s.return===null||s.return===t)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},I1=function(e,t){},YT=function(e,t,a,o,s){var d=e.memoizedProps;if(d!==o){var y=t.stateNode,S=QS(),w=CM(y,a,d,o,s,S);t.updateQueue=w,w&&Td(t)}},ZT=function(e,t,a,o){a!==o&&Td(t)};function ih(e,t){if(!Wr())switch(e.tailMode){case"hidden":{for(var a=e.tail,o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?e.tail=null:o.sibling=null;break}case"collapsed":{for(var s=e.tail,d=null;s!==null;)s.alternate!==null&&(d=s),s=s.sibling;d===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:d.sibling=null;break}}}function Zr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=q,o=et;if(t){if((e.mode&ot)!==at){for(var w=e.selfBaseDuration,k=e.child;k!==null;)a=xt(a,xt(k.lanes,k.childLanes)),o|=k.subtreeFlags&mr,o|=k.flags&mr,w+=k.treeBaseDuration,k=k.sibling;e.treeBaseDuration=w}else for(var _=e.child;_!==null;)a=xt(a,xt(_.lanes,_.childLanes)),o|=_.subtreeFlags&mr,o|=_.flags&mr,_.return=e,_=_.sibling;e.subtreeFlags|=o}else{if((e.mode&ot)!==at){for(var s=e.actualDuration,d=e.selfBaseDuration,y=e.child;y!==null;)a=xt(a,xt(y.lanes,y.childLanes)),o|=y.subtreeFlags,o|=y.flags,s+=y.actualDuration,d+=y.treeBaseDuration,y=y.sibling;e.actualDuration=s,e.treeBaseDuration=d}else for(var S=e.child;S!==null;)a=xt(a,xt(S.lanes,S.childLanes)),o|=S.subtreeFlags,o|=S.flags,S.return=e,S=S.sibling;e.subtreeFlags|=o}return e.childLanes=a,t}function qA(e,t,a){if(FN()&&(t.mode&Rt)!==at&&(t.flags&dt)===et)return CE(t),vd(),t.flags|=Mn|xa|lr,!1;var o=eg(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!o)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(UN(t),Zr(t),(t.mode&ot)!==at){var s=a!==null;if(s){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(vd(),(t.flags&dt)===et&&(t.memoizedState=null),t.flags|=St,Zr(t),(t.mode&ot)!==at){var y=a!==null;if(y){var S=t.child;S!==null&&(t.treeBaseDuration-=S.treeBaseDuration)}}return!1}else return EE(),!0}function GT(e,t,a){var o=t.pendingProps;switch(hS(t),t.tag){case M:case Ke:case He:case E:case de:case ce:case ve:case Se:case Xe:case gt:return Zr(t),null;case T:{var s=t.type;return Wo(s)&&Gy(t),Zr(t),null}case R:{var d=t.stateNode;if(gd(t),fS(t),e1(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var y=eg(t);if(y)Td(t);else if(e!==null){var S=e.memoizedState;(!S.isDehydrated||(t.flags&Mn)!==et)&&(t.flags|=Pa,EE())}}return I1(e,t),Zr(t),null}case F:{XS(t);var w=YE(),k=t.type;if(e!==null&&t.stateNode!=null)YT(e,t,k,o,w),e.ref!==t.ref&&$T(t);else{if(!o){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Zr(t),null}var _=QS(),U=eg(t);if(U)LN(t,w,_)&&Td(t);else{var L=SM(k,o,w,_,t);WT(L,t,!1,!1),t.stateNode=L,wM(L,k,o,w)&&Td(t)}t.ref!==null&&$T(t)}return Zr(t),null}case K:{var $=o;if(e&&t.stateNode!=null){var W=e.memoizedProps;ZT(e,t,W,$)}else{if(typeof $!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var Q=YE(),Me=QS(),nt=eg(t);nt?zN(t)&&Td(t):t.stateNode=EM($,Q,Me,t)}return Zr(t),null}case ze:{Sd(t);var We=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Ht=qA(e,t,We);if(!Ht)return t.flags&lr?t:null}if((t.flags&dt)!==et)return t.lanes=a,(t.mode&ot)!==at&&T1(t),t;var At=We!==null,H=e!==null&&e.memoizedState!==null;if(At!==H&&At){var X=t.child;if(X.flags|=Ro,(t.mode&Rt)!==at){var P=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ge);P||KS(oo.current,QE)?ez():lx()}}var se=t.updateQueue;if(se!==null&&(t.flags|=St),Zr(t),(t.mode&ot)!==at&&At){var Ne=t.child;Ne!==null&&(t.treeBaseDuration-=Ne.treeBaseDuration)}return null}case j:return gd(t),I1(e,t),e===null&&yN(t.stateNode.containerInfo),Zr(t),null;case J:var _e=t.type._context;return ES(_e,t),Zr(t),null;case ut:{var ft=t.type;return Wo(ft)&&Gy(t),Zr(t),null}case vt:{Sd(t);var yt=t.memoizedState;if(yt===null)return Zr(t),null;var rn=(t.flags&dt)!==et,Yt=yt.rendering;if(Yt===null)if(rn)ih(yt,!1);else{var er=nz()&&(e===null||(e.flags&dt)===et);if(!er)for(var Zt=t.child;Zt!==null;){var Wn=yg(Zt);if(Wn!==null){rn=!0,t.flags|=dt,ih(yt,!1);var va=Wn.updateQueue;return va!==null&&(t.updateQueue=va,t.flags|=St),t.subtreeFlags=et,nA(t,a),ts(t,JS(oo.current,Gv)),t.child}Zt=Zt.sibling}yt.tail!==null&&Tn()>hk()&&(t.flags|=dt,rn=!0,ih(yt,!1),t.lanes=Jp)}else{if(!rn){var Jr=yg(Yt);if(Jr!==null){t.flags|=dt,rn=!0;var vi=Jr.updateQueue;if(vi!==null&&(t.updateQueue=vi,t.flags|=St),ih(yt,!0),yt.tail===null&&yt.tailMode==="hidden"&&!Yt.alternate&&!Wr())return Zr(t),null}else Tn()*2-yt.renderingStartTime>hk()&&a!==sa&&(t.flags|=dt,rn=!0,ih(yt,!1),t.lanes=Jp)}if(yt.isBackwards)Yt.sibling=t.child,t.child=Yt;else{var Oa=yt.last;Oa!==null?Oa.sibling=Yt:t.child=Yt,yt.last=Yt}}if(yt.tail!==null){var Ma=yt.tail;yt.rendering=Ma,yt.tail=Ma.sibling,yt.renderingStartTime=Tn(),Ma.sibling=null;var ha=oo.current;return rn?ha=JS(ha,Gv):ha=bd(ha),ts(t,ha),Ma}return Zr(t),null}case $e:break;case fe:case he:{ox(t);var Kl=t.memoizedState,Ad=Kl!==null;if(e!==null){var xh=e.memoizedState,qo=xh!==null;qo!==Ad&&!ee&&(t.flags|=Ro)}return!Ad||(t.mode&Rt)===at?Zr(t):ca(Jo,sa)&&(Zr(t),t.subtreeFlags&(fn|St)&&(t.flags|=Ro)),null}case Je:return null;case Ze:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function eL(e,t,a){switch(hS(t),t.tag){case T:{var o=t.type;Wo(o)&&Gy(t);var s=t.flags;return s&lr?(t.flags=s&~lr|dt,(t.mode&ot)!==at&&T1(t),t):null}case R:{t.stateNode,gd(t),fS(t),e1();var d=t.flags;return(d&lr)!==et&&(d&dt)===et?(t.flags=d&~lr|dt,t):null}case F:return XS(t),null;case ze:{Sd(t);var y=t.memoizedState;if(y!==null&&y.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vd()}var S=t.flags;return S&lr?(t.flags=S&~lr|dt,(t.mode&ot)!==at&&T1(t),t):null}case vt:return Sd(t),null;case j:return gd(t),null;case J:var w=t.type._context;return ES(w,t),null;case fe:case he:return ox(t),null;case Je:return null;default:return null}}function QT(e,t,a){switch(hS(t),t.tag){case T:{var o=t.type.childContextTypes;o!=null&&Gy(t);break}case R:{t.stateNode,gd(t),fS(t),e1();break}case F:{XS(t);break}case j:gd(t);break;case ze:Sd(t);break;case vt:Sd(t);break;case J:var s=t.type._context;ES(s,t);break;case fe:case he:ox(t);break}}var XT=null;XT=new Set;var Hg=!1,Gr=!1,tL=typeof WeakSet=="function"?WeakSet:Set,Ve=null,kd=null,_d=null;function nL(e){gl(null,function(){throw e}),jp()}var rL=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&ot)try{Xo(),t.componentWillUnmount()}finally{Qo(e)}else t.componentWillUnmount()};function KT(e,t){try{as(Sr,e)}catch(a){hn(e,t,a)}}function $1(e,t,a){try{rL(e,a)}catch(o){hn(e,t,o)}}function aL(e,t,a){try{a.componentDidMount()}catch(o){hn(e,t,o)}}function JT(e,t){try{ek(e)}catch(a){hn(e,t,a)}}function Rd(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var o;try{if(Lt&&wn&&e.mode&ot)try{Xo(),o=a(null)}finally{Qo(e)}else o=a(null)}catch(s){hn(e,t,s)}typeof o=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",bt(e))}else a.current=null}function Pg(e,t,a){try{a()}catch(o){hn(e,t,o)}}var qT=!1;function iL(e,t){gM(e.containerInfo),Ve=t,oL();var a=qT;return qT=!1,a}function oL(){for(;Ve!==null;){var e=Ve,t=e.child;(e.subtreeFlags&Eu)!==et&&t!==null?(t.return=e,Ve=t):lL()}}function lL(){for(;Ve!==null;){var e=Ve;tn(e);try{uL(e)}catch(a){hn(e,e.return,a)}Gn();var t=e.sibling;if(t!==null){t.return=e.return,Ve=t;return}Ve=e.return}}function uL(e){var t=e.alternate,a=e.flags;if((a&Pa)!==et){switch(tn(e),e.tag){case E:case de:case He:break;case T:{if(t!==null){var o=t.memoizedProps,s=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!Cc&&(d.props!==e.memoizedProps&&m("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(e)||"instance"),d.state!==e.memoizedState&&m("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(e)||"instance"));var y=d.getSnapshotBeforeUpdate(e.elementType===e.type?o:io(e.type,o),s);{var S=XT;y===void 0&&!S.has(e.type)&&(S.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",bt(e)))}d.__reactInternalSnapshotBeforeUpdate=y}break}case R:{{var w=e.stateNode;IM(w.containerInfo)}break}case F:case K:case j:case ut:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Gn()}}function so(e,t,a){var o=t.updateQueue,s=o!==null?o.lastEffect:null;if(s!==null){var d=s.next,y=d;do{if((y.tag&e)===e){var S=y.destroy;y.destroy=void 0,S!==void 0&&((e&Yr)!==qa?yf(t):(e&Sr)!==qa&&gf(t),(e&Yo)!==qa&&gh(!0),Pg(t,a,S),(e&Yo)!==qa&&gh(!1),(e&Yr)!==qa?qm():(e&Sr)!==qa&&Tu())}y=y.next}while(y!==d)}}function as(e,t){var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var s=o.next,d=s;do{if((d.tag&e)===e){(e&Yr)!==qa?Jm(t):(e&Sr)!==qa&&ey(t);var y=d.create;(e&Yo)!==qa&&gh(!0),d.destroy=y(),(e&Yo)!==qa&&gh(!1),(e&Yr)!==qa?Qp():(e&Sr)!==qa&&ty();{var S=d.destroy;if(S!==void 0&&typeof S!="function"){var w=void 0;(d.tag&Sr)!==et?w="useLayoutEffect":(d.tag&Yo)!==et?w="useInsertionEffect":w="useEffect";var k=void 0;S===null?k=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof S.then=="function"?k=`
|
|
128
|
-
|
|
129
|
-
It looks like you wrote `+w+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
130
|
-
|
|
131
|
-
`+w+`(() => {
|
|
132
|
-
async function fetchData() {
|
|
133
|
-
// You can await here
|
|
134
|
-
const response = await MyAPI.getData(someId);
|
|
135
|
-
// ...
|
|
136
|
-
}
|
|
137
|
-
fetchData();
|
|
138
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
139
|
-
|
|
140
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:k=" You returned: "+S,m("%s must not return anything besides a function, which is used for clean-up.%s",w,k)}}}d=d.next}while(d!==s)}}function sL(e,t){if((t.flags&St)!==et)switch(t.tag){case Se:{var a=t.stateNode.passiveEffectDuration,o=t.memoizedProps,s=o.id,d=o.onPostCommit,y=xT(),S=t.alternate===null?"mount":"update";ST()&&(S="nested-update"),typeof d=="function"&&d(s,S,a,y);var w=t.return;e:for(;w!==null;){switch(w.tag){case R:var k=w.stateNode;k.passiveEffectDuration+=a;break e;case Se:var _=w.stateNode;_.passiveEffectDuration+=a;break e}w=w.return}break}}}function cL(e,t,a,o){if((a.flags&Mr)!==et)switch(a.tag){case E:case de:case He:{if(!Gr)if(a.mode&ot)try{Xo(),as(Sr|br,a)}finally{Qo(a)}else as(Sr|br,a);break}case T:{var s=a.stateNode;if(a.flags&St&&!Gr)if(t===null)if(a.type===a.elementType&&!Cc&&(s.props!==a.memoizedProps&&m("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(a)||"instance"),s.state!==a.memoizedState&&m("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(a)||"instance")),a.mode&ot)try{Xo(),s.componentDidMount()}finally{Qo(a)}else s.componentDidMount();else{var d=a.elementType===a.type?t.memoizedProps:io(a.type,t.memoizedProps),y=t.memoizedState;if(a.type===a.elementType&&!Cc&&(s.props!==a.memoizedProps&&m("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(a)||"instance"),s.state!==a.memoizedState&&m("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(a)||"instance")),a.mode&ot)try{Xo(),s.componentDidUpdate(d,y,s.__reactInternalSnapshotBeforeUpdate)}finally{Qo(a)}else s.componentDidUpdate(d,y,s.__reactInternalSnapshotBeforeUpdate)}var S=a.updateQueue;S!==null&&(a.type===a.elementType&&!Cc&&(s.props!==a.memoizedProps&&m("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(a)||"instance"),s.state!==a.memoizedState&&m("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(a)||"instance")),LE(a,S,s));break}case R:{var w=a.updateQueue;if(w!==null){var k=null;if(a.child!==null)switch(a.child.tag){case F:k=a.child.stateNode;break;case T:k=a.child.stateNode;break}LE(a,w,k)}break}case F:{var _=a.stateNode;if(t===null&&a.flags&St){var U=a.type,L=a.memoizedProps;DM(_,U,L)}break}case K:break;case j:break;case Se:{{var $=a.memoizedProps,W=$.onCommit,Q=$.onRender,Me=a.stateNode.effectDuration,nt=xT(),We=t===null?"mount":"update";ST()&&(We="nested-update"),typeof Q=="function"&&Q(a.memoizedProps.id,We,a.actualDuration,a.treeBaseDuration,a.actualStartTime,nt);{typeof W=="function"&&W(a.memoizedProps.id,We,Me,nt),lz(a);var Ht=a.return;e:for(;Ht!==null;){switch(Ht.tag){case R:var At=Ht.stateNode;At.effectDuration+=Me;break e;case Se:var H=Ht.stateNode;H.effectDuration+=Me;break e}Ht=Ht.return}}}break}case ze:{gL(e,a);break}case vt:case ut:case $e:case fe:case he:case Ze:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Gr||a.flags&ra&&ek(a)}function fL(e){switch(e.tag){case E:case de:case He:{if(e.mode&ot)try{Xo(),KT(e,e.return)}finally{Qo(e)}else KT(e,e.return);break}case T:{var t=e.stateNode;typeof t.componentDidMount=="function"&&aL(e,e.return,t),JT(e,e.return);break}case F:{JT(e,e.return);break}}}function dL(e,t){for(var a=null,o=e;;){if(o.tag===F){if(a===null){a=o;try{var s=o.stateNode;t?VM(s):PM(o.stateNode,o.memoizedProps)}catch(y){hn(e,e.return,y)}}}else if(o.tag===K){if(a===null)try{var d=o.stateNode;t?HM(d):BM(d,o.memoizedProps)}catch(y){hn(e,e.return,y)}}else if(!((o.tag===fe||o.tag===he)&&o.memoizedState!==null&&o!==e)){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;a===o&&(a=null),o=o.return}a===o&&(a=null),o.sibling.return=o.return,o=o.sibling}}function ek(e){var t=e.ref;if(t!==null){var a=e.stateNode,o;switch(e.tag){case F:o=a;break;default:o=a}if(typeof t=="function"){var s;if(e.mode&ot)try{Xo(),s=t(o)}finally{Qo(e)}else s=t(o);typeof s=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",bt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",bt(e)),t.current=o}}function pL(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function tk(e){var t=e.alternate;t!==null&&(e.alternate=null,tk(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===F){var a=e.stateNode;a!==null&&SN(a)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function vL(e){for(var t=e.return;t!==null;){if(nk(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function nk(e){return e.tag===F||e.tag===R||e.tag===j}function rk(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||nk(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==F&&t.tag!==K&&t.tag!==st;){if(t.flags&fn||t.child===null||t.tag===j)continue e;t.child.return=t,t=t.child}if(!(t.flags&fn))return t.stateNode}}function hL(e){var t=vL(e);switch(t.tag){case F:{var a=t.stateNode;t.flags&Xt&&(aE(a),t.flags&=~Xt);var o=rk(e);Y1(e,o,a);break}case R:case j:{var s=t.stateNode.containerInfo,d=rk(e);W1(e,d,s);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function W1(e,t,a){var o=e.tag,s=o===F||o===K;if(s){var d=e.stateNode;t?zM(a,d,t):AM(a,d)}else if(o!==j){var y=e.child;if(y!==null){W1(y,t,a);for(var S=y.sibling;S!==null;)W1(S,t,a),S=S.sibling}}}function Y1(e,t,a){var o=e.tag,s=o===F||o===K;if(s){var d=e.stateNode;t?LM(a,d,t):NM(a,d)}else if(o!==j){var y=e.child;if(y!==null){Y1(y,t,a);for(var S=y.sibling;S!==null;)Y1(S,t,a),S=S.sibling}}}var Qr=null,co=!1;function mL(e,t,a){{var o=t;e:for(;o!==null;){switch(o.tag){case F:{Qr=o.stateNode,co=!1;break e}case R:{Qr=o.stateNode.containerInfo,co=!0;break e}case j:{Qr=o.stateNode.containerInfo,co=!0;break e}}o=o.return}if(Qr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");ak(e,t,a),Qr=null,co=!1}pL(a)}function is(e,t,a){for(var o=a.child;o!==null;)ak(e,t,o),o=o.sibling}function ak(e,t,a){switch(Zp(a),a.tag){case F:Gr||Rd(a,t);case K:{{var o=Qr,s=co;Qr=null,is(e,t,a),Qr=o,co=s,Qr!==null&&(co?jM(Qr,a.stateNode):UM(Qr,a.stateNode))}return}case st:{Qr!==null&&(co?FM(Qr,a.stateNode):rS(Qr,a.stateNode));return}case j:{{var d=Qr,y=co;Qr=a.stateNode.containerInfo,co=!0,is(e,t,a),Qr=d,co=y}return}case E:case de:case gt:case He:{if(!Gr){var S=a.updateQueue;if(S!==null){var w=S.lastEffect;if(w!==null){var k=w.next,_=k;do{var U=_,L=U.destroy,$=U.tag;L!==void 0&&(($&Yo)!==qa?Pg(a,t,L):($&Sr)!==qa&&(gf(a),a.mode&ot?(Xo(),Pg(a,t,L),Qo(a)):Pg(a,t,L),Tu())),_=_.next}while(_!==k)}}}is(e,t,a);return}case T:{if(!Gr){Rd(a,t);var W=a.stateNode;typeof W.componentWillUnmount=="function"&&$1(a,t,W)}is(e,t,a);return}case $e:{is(e,t,a);return}case fe:{if(a.mode&Rt){var Q=Gr;Gr=Q||a.memoizedState!==null,is(e,t,a),Gr=Q}else is(e,t,a);break}default:{is(e,t,a);return}}}function yL(e){e.memoizedState}function gL(e,t){var a=t.memoizedState;if(a===null){var o=t.alternate;if(o!==null){var s=o.memoizedState;if(s!==null){var d=s.dehydrated;d!==null&&rN(d)}}}}function ik(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new tL),t.forEach(function(o){var s=vz.bind(null,e,o);if(!a.has(o)){if(a.add(o),yr)if(kd!==null&&_d!==null)yh(_d,kd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");o.then(s,s)}})}}function bL(e,t,a){kd=a,_d=e,tn(t),ok(t,e),tn(t),kd=null,_d=null}function fo(e,t,a){var o=t.deletions;if(o!==null)for(var s=0;s<o.length;s++){var d=o[s];try{mL(e,t,d)}catch(w){hn(d,t,w)}}var y=nb();if(t.subtreeFlags&oa)for(var S=t.child;S!==null;)tn(S),ok(S,e),S=S.sibling;tn(y)}function ok(e,t,a){var o=e.alternate,s=e.flags;switch(e.tag){case E:case de:case gt:case He:{if(fo(t,e),Ko(e),s&St){try{so(Yo|br,e,e.return),as(Yo|br,e)}catch(ft){hn(e,e.return,ft)}if(e.mode&ot){try{Xo(),so(Sr|br,e,e.return)}catch(ft){hn(e,e.return,ft)}Qo(e)}else try{so(Sr|br,e,e.return)}catch(ft){hn(e,e.return,ft)}}return}case T:{fo(t,e),Ko(e),s&ra&&o!==null&&Rd(o,o.return);return}case F:{fo(t,e),Ko(e),s&ra&&o!==null&&Rd(o,o.return);{if(e.flags&Xt){var d=e.stateNode;try{aE(d)}catch(ft){hn(e,e.return,ft)}}if(s&St){var y=e.stateNode;if(y!=null){var S=e.memoizedProps,w=o!==null?o.memoizedProps:S,k=e.type,_=e.updateQueue;if(e.updateQueue=null,_!==null)try{OM(y,_,k,w,S,e)}catch(ft){hn(e,e.return,ft)}}}}return}case K:{if(fo(t,e),Ko(e),s&St){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var U=e.stateNode,L=e.memoizedProps,$=o!==null?o.memoizedProps:L;try{MM(U,$,L)}catch(ft){hn(e,e.return,ft)}}return}case R:{if(fo(t,e),Ko(e),s&St&&o!==null){var W=o.memoizedState;if(W.isDehydrated)try{nN(t.containerInfo)}catch(ft){hn(e,e.return,ft)}}return}case j:{fo(t,e),Ko(e);return}case ze:{fo(t,e),Ko(e);var Q=e.child;if(Q.flags&Ro){var Me=Q.stateNode,nt=Q.memoizedState,We=nt!==null;if(Me.isHidden=We,We){var Ht=Q.alternate!==null&&Q.alternate.memoizedState!==null;Ht||qL()}}if(s&St){try{yL(e)}catch(ft){hn(e,e.return,ft)}ik(e)}return}case fe:{var At=o!==null&&o.memoizedState!==null;if(e.mode&Rt){var H=Gr;Gr=H||At,fo(t,e),Gr=H}else fo(t,e);if(Ko(e),s&Ro){var X=e.stateNode,P=e.memoizedState,se=P!==null,Ne=e;if(X.isHidden=se,se&&!At&&(Ne.mode&Rt)!==at){Ve=Ne;for(var _e=Ne.child;_e!==null;)Ve=_e,xL(_e),_e=_e.sibling}dL(Ne,se)}return}case vt:{fo(t,e),Ko(e),s&St&&ik(e);return}case $e:return;default:{fo(t,e),Ko(e);return}}}function Ko(e){var t=e.flags;if(t&fn){try{hL(e)}catch(a){hn(e,e.return,a)}e.flags&=~fn}t&Ba&&(e.flags&=~Ba)}function SL(e,t,a){kd=a,_d=t,Ve=e,lk(e,t,a),kd=null,_d=null}function lk(e,t,a){for(var o=(e.mode&Rt)!==at;Ve!==null;){var s=Ve,d=s.child;if(s.tag===fe&&o){var y=s.memoizedState!==null,S=y||Hg;if(S){Z1(e,t,a);continue}else{var w=s.alternate,k=w!==null&&w.memoizedState!==null,_=k||Gr,U=Hg,L=Gr;Hg=S,Gr=_,Gr&&!L&&(Ve=s,wL(s));for(var $=d;$!==null;)Ve=$,lk($,t,a),$=$.sibling;Ve=s,Hg=U,Gr=L,Z1(e,t,a);continue}}(s.subtreeFlags&Mr)!==et&&d!==null?(d.return=s,Ve=d):Z1(e,t,a)}}function Z1(e,t,a){for(;Ve!==null;){var o=Ve;if((o.flags&Mr)!==et){var s=o.alternate;tn(o);try{cL(t,s,o,a)}catch(y){hn(o,o.return,y)}Gn()}if(o===e){Ve=null;return}var d=o.sibling;if(d!==null){d.return=o.return,Ve=d;return}Ve=o.return}}function xL(e){for(;Ve!==null;){var t=Ve,a=t.child;switch(t.tag){case E:case de:case gt:case He:{if(t.mode&ot)try{Xo(),so(Sr,t,t.return)}finally{Qo(t)}else so(Sr,t,t.return);break}case T:{Rd(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&$1(t,t.return,o);break}case F:{Rd(t,t.return);break}case fe:{var s=t.memoizedState!==null;if(s){uk(e);continue}break}}a!==null?(a.return=t,Ve=a):uk(e)}}function uk(e){for(;Ve!==null;){var t=Ve;if(t===e){Ve=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ve=a;return}Ve=t.return}}function wL(e){for(;Ve!==null;){var t=Ve,a=t.child;if(t.tag===fe){var o=t.memoizedState!==null;if(o){sk(e);continue}}a!==null?(a.return=t,Ve=a):sk(e)}}function sk(e){for(;Ve!==null;){var t=Ve;tn(t);try{fL(t)}catch(o){hn(t,t.return,o)}if(Gn(),t===e){Ve=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ve=a;return}Ve=t.return}}function CL(e,t,a,o){Ve=t,EL(t,e,a,o)}function EL(e,t,a,o){for(;Ve!==null;){var s=Ve,d=s.child;(s.subtreeFlags&Ia)!==et&&d!==null?(d.return=s,Ve=d):TL(e,t,a,o)}}function TL(e,t,a,o){for(;Ve!==null;){var s=Ve;if((s.flags&gn)!==et){tn(s);try{kL(t,s,a,o)}catch(y){hn(s,s.return,y)}Gn()}if(s===e){Ve=null;return}var d=s.sibling;if(d!==null){d.return=s.return,Ve=d;return}Ve=s.return}}function kL(e,t,a,o){switch(t.tag){case E:case de:case He:{if(t.mode&ot){E1();try{as(Yr|br,t)}finally{C1(t)}}else as(Yr|br,t);break}}}function _L(e){Ve=e,RL()}function RL(){for(;Ve!==null;){var e=Ve,t=e.child;if((Ve.flags&Qt)!==et){var a=e.deletions;if(a!==null){for(var o=0;o<a.length;o++){var s=a[o];Ve=s,ML(s,e)}{var d=e.alternate;if(d!==null){var y=d.child;if(y!==null){d.child=null;do{var S=y.sibling;y.sibling=null,y=S}while(y!==null)}}}Ve=e}}(e.subtreeFlags&Ia)!==et&&t!==null?(t.return=e,Ve=t):DL()}}function DL(){for(;Ve!==null;){var e=Ve;(e.flags&gn)!==et&&(tn(e),OL(e),Gn());var t=e.sibling;if(t!==null){t.return=e.return,Ve=t;return}Ve=e.return}}function OL(e){switch(e.tag){case E:case de:case He:{e.mode&ot?(E1(),so(Yr|br,e,e.return),C1(e)):so(Yr|br,e,e.return);break}}}function ML(e,t){for(;Ve!==null;){var a=Ve;tn(a),AL(a,t),Gn();var o=a.child;o!==null?(o.return=a,Ve=o):NL(e)}}function NL(e){for(;Ve!==null;){var t=Ve,a=t.sibling,o=t.return;if(tk(t),t===e){Ve=null;return}if(a!==null){a.return=o,Ve=a;return}Ve=o}}function AL(e,t){switch(e.tag){case E:case de:case He:{e.mode&ot?(E1(),so(Yr,e,t),C1(e)):so(Yr,e,t);break}}}function LL(e){switch(e.tag){case E:case de:case He:{try{as(Sr|br,e)}catch(a){hn(e,e.return,a)}break}case T:{var t=e.stateNode;try{t.componentDidMount()}catch(a){hn(e,e.return,a)}break}}}function zL(e){switch(e.tag){case E:case de:case He:{try{as(Yr|br,e)}catch(t){hn(e,e.return,t)}break}}}function UL(e){switch(e.tag){case E:case de:case He:{try{so(Sr|br,e,e.return)}catch(a){hn(e,e.return,a)}break}case T:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&$1(e,e.return,t);break}}}function jL(e){switch(e.tag){case E:case de:case He:try{so(Yr|br,e,e.return)}catch(t){hn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var oh=Symbol.for;oh("selector.component"),oh("selector.has_pseudo_class"),oh("selector.role"),oh("selector.test_id"),oh("selector.text")}var FL=[];function VL(){FL.forEach(function(e){return e()})}var HL=c.ReactCurrentActQueue;function PL(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function ck(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&HL.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var BL=Math.ceil,G1=c.ReactCurrentDispatcher,Q1=c.ReactCurrentOwner,Xr=c.ReactCurrentBatchConfig,po=c.ReactCurrentActQueue,Cr=0,fk=1,Kr=2,Ni=4,Zl=0,lh=1,Ec=2,Bg=3,uh=4,dk=5,X1=6,Vt=Cr,Ra=null,Vn=null,Er=q,Jo=q,K1=Qu(q),Tr=Zl,sh=null,Ig=q,ch=q,$g=q,fh=null,ei=null,J1=0,pk=500,vk=1/0,IL=500,Gl=null;function dh(){vk=Tn()+IL}function hk(){return vk}var Wg=!1,q1=null,Dd=null,Tc=!1,os=null,ph=q,ex=[],tx=null,$L=50,vh=0,nx=null,rx=!1,Yg=!1,WL=50,Od=0,Zg=null,hh=un,Gg=q,mk=!1;function Qg(){return Ra}function Da(){return(Vt&(Kr|Ni))!==Cr?Tn():(hh!==un||(hh=Tn()),hh)}function ls(e){var t=e.mode;if((t&Rt)===at)return lt;if((Vt&Kr)!==Cr&&Er!==q)return Xn(Er);var a=PN()!==HN;if(a){if(Xr.transition!==null){var o=Xr.transition;o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(e)}return Gg===Ft&&(Gg=tv()),Gg}var s=Za();if(s!==Ft)return s;var d=TM();return d}function YL(e){var t=e.mode;return(t&Rt)===at?lt:Eb()}function kr(e,t,a,o){mz(),mk&&m("useInsertionEffect must not schedule updates."),rx&&(Yg=!0),Ol(e,a,o),(Vt&Kr)!==q&&e===Ra?bz(t):(yr&&ov(e,t,a),Sz(t),e===Ra&&((Vt&Kr)===Cr&&(ch=xt(ch,a)),Tr===uh&&us(e,Er)),ti(e,o),a===lt&&Vt===Cr&&(t.mode&Rt)===at&&!po.isBatchingLegacy&&(dh(),hE()))}function ZL(e,t,a){var o=e.current;o.lanes=t,Ol(e,t,a),ti(e,a)}function GL(e){return(Vt&Kr)!==Cr}function ti(e,t){var a=e.callbackNode;xb(e,t);var o=Xs(e,e===Ra?Er:q);if(o===q){a!==null&&Nk(a),e.callbackNode=null,e.callbackPriority=Ft;return}var s=In(o),d=e.callbackPriority;if(d===s&&!(po.current!==null&&a!==cx)){a==null&&d!==lt&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&Nk(a);var y;if(s===lt)e.tag===Xu?(po.isBatchingLegacy!==null&&(po.didScheduleLegacyUpdate=!0),CN(bk.bind(null,e))):vE(bk.bind(null,e)),po.current!==null?po.current.push(Ku):_M(function(){(Vt&(Kr|Ni))===Cr&&Ku()}),y=null;else{var S;switch(tc(o)){case Nr:S=vf;break;case gr:S=Ea;break;case Ki:S=wi;break;case qs:S=Oo;break;default:S=wi;break}y=fx(S,yk.bind(null,e))}e.callbackPriority=s,e.callbackNode=y}function yk(e,t){if(mA(),hh=un,Gg=q,(Vt&(Kr|Ni))!==Cr)throw new Error("Should not already be working.");var a=e.callbackNode,o=Xl();if(o&&e.callbackNode!==a)return null;var s=Xs(e,e===Ra?Er:q);if(s===q)return null;var d=!Js(e,s)&&!ly(e,s)&&!t,y=d?az(e,s):Kg(e,s);if(y!==Zl){if(y===Ec){var S=qp(e);S!==q&&(s=S,y=ax(e,S))}if(y===lh){var w=sh;throw kc(e,q),us(e,s),ti(e,Tn()),w}if(y===X1)us(e,s);else{var k=!Js(e,s),_=e.current.alternate;if(k&&!XL(_)){if(y=Kg(e,s),y===Ec){var U=qp(e);U!==q&&(s=U,y=ax(e,U))}if(y===lh){var L=sh;throw kc(e,q),us(e,s),ti(e,Tn()),L}}e.finishedWork=_,e.finishedLanes=s,QL(e,y,s)}}return ti(e,Tn()),e.callbackNode===a?yk.bind(null,e):null}function ax(e,t){var a=fh;if(Jn(e)){var o=kc(e,t);o.flags|=Mn,mN(e.containerInfo)}var s=Kg(e,t);if(s!==Ec){var d=ei;ei=a,d!==null&&gk(d)}return s}function gk(e){ei===null?ei=e:ei.push.apply(ei,e)}function QL(e,t,a){switch(t){case Zl:case lh:throw new Error("Root did not complete. This is a bug in React.");case Ec:{_c(e,ei,Gl);break}case Bg:{if(us(e,a),Ff(a)&&!Ak()){var o=J1+pk-Tn();if(o>10){var s=Xs(e,q);if(s!==q)break;var d=e.suspendedLanes;if(!Dl(d,a)){Da(),av(e,d);break}e.timeoutHandle=tS(_c.bind(null,e,ei,Gl),o);break}}_c(e,ei,Gl);break}case uh:{if(us(e,a),oy(a))break;if(!Ak()){var y=iy(e,a),S=y,w=Tn()-S,k=hz(w)-w;if(k>10){e.timeoutHandle=tS(_c.bind(null,e,ei,Gl),k);break}}_c(e,ei,Gl);break}case dk:{_c(e,ei,Gl);break}default:throw new Error("Unknown root exit status.")}}function XL(e){for(var t=e;;){if(t.flags&Is){var a=t.updateQueue;if(a!==null){var o=a.stores;if(o!==null)for(var s=0;s<o.length;s++){var d=o[s],y=d.getSnapshot,S=d.value;try{if(!Fe(y(),S))return!1}catch{return!1}}}}var w=t.child;if(t.subtreeFlags&Is&&w!==null){w.return=t,t=w;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function us(e,t){t=Nu(t,$g),t=Nu(t,ch),rv(e,t)}function bk(e){if(yA(),(Vt&(Kr|Ni))!==Cr)throw new Error("Should not already be working.");Xl();var t=Xs(e,q);if(!ca(t,lt))return ti(e,Tn()),null;var a=Kg(e,t);if(e.tag!==Xu&&a===Ec){var o=qp(e);o!==q&&(t=o,a=ax(e,o))}if(a===lh){var s=sh;throw kc(e,q),us(e,t),ti(e,Tn()),s}if(a===X1)throw new Error("Root did not complete. This is a bug in React.");var d=e.current.alternate;return e.finishedWork=d,e.finishedLanes=t,_c(e,ei,Gl),ti(e,Tn()),null}function KL(e,t){t!==q&&(Au(e,xt(t,lt)),ti(e,Tn()),(Vt&(Kr|Ni))===Cr&&(dh(),Ku()))}function ix(e,t){var a=Vt;Vt|=fk;try{return e(t)}finally{Vt=a,Vt===Cr&&!po.isBatchingLegacy&&(dh(),hE())}}function JL(e,t,a,o,s){var d=Za(),y=Xr.transition;try{return Xr.transition=null,Kn(Nr),e(t,a,o,s)}finally{Kn(d),Xr.transition=y,Vt===Cr&&dh()}}function Ql(e){os!==null&&os.tag===Xu&&(Vt&(Kr|Ni))===Cr&&Xl();var t=Vt;Vt|=fk;var a=Xr.transition,o=Za();try{return Xr.transition=null,Kn(Nr),e?e():void 0}finally{Kn(o),Xr.transition=a,Vt=t,(Vt&(Kr|Ni))===Cr&&Ku()}}function Sk(){return(Vt&(Kr|Ni))!==Cr}function Xg(e,t){da(K1,Jo,e),Jo=xt(Jo,t)}function ox(e){Jo=K1.current,fa(K1,e)}function kc(e,t){e.finishedWork=null,e.finishedLanes=q;var a=e.timeoutHandle;if(a!==nS&&(e.timeoutHandle=nS,kM(a)),Vn!==null)for(var o=Vn.return;o!==null;){var s=o.alternate;QT(s,o),o=o.return}Ra=e;var d=Rc(e.current,null);return Vn=d,Er=Jo=t,Tr=Zl,sh=null,Ig=q,ch=q,$g=q,fh=null,ei=null,WN(),ao.discardPendingWarnings(),d}function xk(e,t){do{var a=Vn;try{if(ag(),KE(),Gn(),Q1.current=null,a===null||a.return===null){Tr=lh,sh=t,Vn=null;return}if(Lt&&a.mode&ot&&Ug(a,!0),Pt)if(Sl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var o=t;ny(a,o,Er)}else bf(a,t,Er);wA(e,a.return,a,t,Er),Tk(a)}catch(s){t=s,Vn===a&&a!==null?(a=a.return,Vn=a):a=Vn;continue}return}while(!0)}function wk(){var e=G1.current;return G1.current=Mg,e===null?Mg:e}function Ck(e){G1.current=e}function qL(){J1=Tn()}function mh(e){Ig=xt(e,Ig)}function ez(){Tr===Zl&&(Tr=Bg)}function lx(){(Tr===Zl||Tr===Bg||Tr===Ec)&&(Tr=uh),Ra!==null&&(Ks(Ig)||Ks(ch))&&us(Ra,Er)}function tz(e){Tr!==uh&&(Tr=Ec),fh===null?fh=[e]:fh.push(e)}function nz(){return Tr===Zl}function Kg(e,t){var a=Vt;Vt|=Kr;var o=wk();if(Ra!==e||Er!==t){if(yr){var s=e.memoizedUpdaters;s.size>0&&(yh(e,Er),s.clear()),Pf(e,t)}Gl=lv(),kc(e,t)}ci(t);do try{rz();break}catch(d){xk(e,d)}while(!0);if(ag(),Vt=a,Ck(o),Vn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return _u(),Ra=null,Er=q,Tr}function rz(){for(;Vn!==null;)Ek(Vn)}function az(e,t){var a=Vt;Vt|=Kr;var o=wk();if(Ra!==e||Er!==t){if(yr){var s=e.memoizedUpdaters;s.size>0&&(yh(e,Er),s.clear()),Pf(e,t)}Gl=lv(),dh(),kc(e,t)}ci(t);do try{iz();break}catch(d){xk(e,d)}while(!0);return ag(),Ck(o),Vt=a,Vn!==null?(Ys(),Zl):(_u(),Ra=null,Er=q,Tr)}function iz(){for(;Vn!==null&&!pf();)Ek(Vn)}function Ek(e){var t=e.alternate;tn(e);var a;(e.mode&ot)!==at?(w1(e),a=ux(t,e,Jo),Ug(e,!0)):a=ux(t,e,Jo),Gn(),e.memoizedProps=e.pendingProps,a===null?Tk(e):Vn=a,Q1.current=null}function Tk(e){var t=e;do{var a=t.alternate,o=t.return;if((t.flags&xa)===et){tn(t);var s=void 0;if((t.mode&ot)===at?s=GT(a,t,Jo):(w1(t),s=GT(a,t,Jo),Ug(t,!1)),Gn(),s!==null){Vn=s;return}}else{var d=eL(a,t);if(d!==null){d.flags&=Zm,Vn=d;return}if((t.mode&ot)!==at){Ug(t,!1);for(var y=t.actualDuration,S=t.child;S!==null;)y+=S.actualDuration,S=S.sibling;t.actualDuration=y}if(o!==null)o.flags|=xa,o.subtreeFlags=et,o.deletions=null;else{Tr=X1,Vn=null;return}}var w=t.sibling;if(w!==null){Vn=w;return}t=o,Vn=t}while(t!==null);Tr===Zl&&(Tr=dk)}function _c(e,t,a){var o=Za(),s=Xr.transition;try{Xr.transition=null,Kn(Nr),oz(e,t,a,o)}finally{Xr.transition=s,Kn(o)}return null}function oz(e,t,a,o){do Xl();while(os!==null);if(yz(),(Vt&(Kr|Ni))!==Cr)throw new Error("Should not already be working.");var s=e.finishedWork,d=e.finishedLanes;if(mf(d),s===null)return Gp(),null;if(d===q&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=q,s===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Ft;var y=xt(s.lanes,s.childLanes);iv(e,y),e===Ra&&(Ra=null,Vn=null,Er=q),((s.subtreeFlags&Ia)!==et||(s.flags&Ia)!==et)&&(Tc||(Tc=!0,tx=a,fx(wi,function(){return Xl(),null})));var S=(s.subtreeFlags&(Eu|oa|Mr|Ia))!==et,w=(s.flags&(Eu|oa|Mr|Ia))!==et;if(S||w){var k=Xr.transition;Xr.transition=null;var _=Za();Kn(Nr);var U=Vt;Vt|=Ni,Q1.current=null,iL(e,s),wT(),bL(e,s,d),bM(e.containerInfo),e.current=s,ry(d),SL(s,e,d),ku(),Xm(),Vt=U,Kn(_),Xr.transition=k}else e.current=s,wT();var L=Tc;if(Tc?(Tc=!1,os=e,ph=d):(Od=0,Zg=null),y=e.pendingLanes,y===q&&(Dd=null),L||Dk(e.current,!1),Gi(s.stateNode,o),yr&&e.memoizedUpdaters.clear(),VL(),ti(e,Tn()),t!==null)for(var $=e.onRecoverableError,W=0;W<t.length;W++){var Q=t[W],Me=Q.stack,nt=Q.digest;$(Q.value,{componentStack:Me,digest:nt})}if(Wg){Wg=!1;var We=q1;throw q1=null,We}return ca(ph,lt)&&e.tag!==Xu&&Xl(),y=e.pendingLanes,ca(y,lt)?(hA(),e===nx?vh++:(vh=0,nx=e)):vh=0,Ku(),Gp(),null}function Xl(){if(os!==null){var e=tc(ph),t=kb(Ki,e),a=Xr.transition,o=Za();try{return Xr.transition=null,Kn(t),uz()}finally{Kn(o),Xr.transition=a}}return!1}function lz(e){ex.push(e),Tc||(Tc=!0,fx(wi,function(){return Xl(),null}))}function uz(){if(os===null)return!1;var e=tx;tx=null;var t=os,a=ph;if(os=null,ph=q,(Vt&(Kr|Ni))!==Cr)throw new Error("Cannot flush passive effects while already rendering.");rx=!0,Yg=!1,ay(a);var o=Vt;Vt|=Ni,_L(t.current),CL(t,t.current,a,e);{var s=ex;ex=[];for(var d=0;d<s.length;d++){var y=s[d];sL(t,y)}}Ws(),Dk(t.current,!0),Vt=o,Ku(),Yg?t===Zg?Od++:(Od=0,Zg=t):Od=0,rx=!1,Yg=!1,No(t);{var S=t.current.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}return!0}function kk(e){return Dd!==null&&Dd.has(e)}function sz(e){Dd===null?Dd=new Set([e]):Dd.add(e)}function cz(e){Wg||(Wg=!0,q1=e)}var fz=cz;function _k(e,t,a){var o=wc(a,t),s=ET(e,o,lt),d=qu(e,s,lt),y=Da();d!==null&&(Ol(d,lt,y),ti(d,y))}function hn(e,t,a){if(nL(a),gh(!1),e.tag===R){_k(e,e,a);return}var o=null;for(o=t;o!==null;){if(o.tag===R){_k(o,e,a);return}else if(o.tag===T){var s=o.type,d=o.stateNode;if(typeof s.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!kk(d)){var y=wc(a,e),S=R1(o,y,lt),w=qu(o,S,lt),k=Da();w!==null&&(Ol(w,lt,k),ti(w,k));return}}o=o.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
141
|
-
|
|
142
|
-
Error message:
|
|
143
|
-
|
|
144
|
-
%s`,a)}function dz(e,t,a){var o=e.pingCache;o!==null&&o.delete(t);var s=Da();av(e,a),xz(e),Ra===e&&Dl(Er,a)&&(Tr===uh||Tr===Bg&&Ff(Er)&&Tn()-J1<pk?kc(e,q):$g=xt($g,a)),ti(e,s)}function Rk(e,t){t===Ft&&(t=YL(e));var a=Da(),o=Ja(e,t);o!==null&&(Ol(o,t,a),ti(o,a))}function pz(e){var t=e.memoizedState,a=Ft;t!==null&&(a=t.retryLane),Rk(e,a)}function vz(e,t){var a=Ft,o;switch(e.tag){case ze:o=e.stateNode;var s=e.memoizedState;s!==null&&(a=s.retryLane);break;case vt:o=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),Rk(e,a)}function hz(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:BL(e/1960)*1960}function mz(){if(vh>$L)throw vh=0,nx=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Od>WL&&(Od=0,Zg=null,m("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function yz(){ao.flushLegacyContextWarning(),ao.flushPendingUnsafeLifecycleWarnings()}function Dk(e,t){tn(e),Jg(e,ia,UL),t&&Jg(e,bl,jL),Jg(e,ia,LL),t&&Jg(e,bl,zL),Gn()}function Jg(e,t,a){for(var o=e,s=null;o!==null;){var d=o.subtreeFlags&t;o!==s&&o.child!==null&&d!==et?o=o.child:((o.flags&t)!==et&&a(o),o.sibling!==null?o=o.sibling:o=s=o.return)}}var qg=null;function Ok(e){{if((Vt&Kr)!==Cr||!(e.mode&Rt))return;var t=e.tag;if(t!==M&&t!==R&&t!==T&&t!==E&&t!==de&&t!==gt&&t!==He)return;var a=bt(e)||"ReactComponent";if(qg!==null){if(qg.has(a))return;qg.add(a)}else qg=new Set([a]);var o=Pn;try{tn(e),m("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{o?tn(e):Gn()}}}var ux;{var gz=null;ux=function(e,t,a){var o=Fk(gz,t);try{return IT(e,t,a)}catch(d){if(MN()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(ag(),KE(),QT(e,t),Fk(t,o),t.mode&ot&&w1(t),gl(null,IT,null,e,t,a),bb()){var s=jp();typeof s=="object"&&s!==null&&s._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var Mk=!1,sx;sx=new Set;function bz(e){if(ja&&!dA())switch(e.tag){case E:case de:case He:{var t=Vn&&bt(Vn)||"Unknown",a=t;if(!sx.has(a)){sx.add(a);var o=bt(e)||"Unknown";m("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",o,t,t)}break}case T:{Mk||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Mk=!0);break}}}function yh(e,t){if(yr){var a=e.memoizedUpdaters;a.forEach(function(o){ov(e,o,t)})}}var cx={};function fx(e,t){{var a=po.current;return a!==null?(a.push(t),cx):df(e,t)}}function Nk(e){if(e!==cx)return Qm(e)}function Ak(){return po.current!==null}function Sz(e){{if(e.mode&Rt){if(!ck())return}else if(!PL()||Vt!==Cr||e.tag!==E&&e.tag!==de&&e.tag!==He)return;if(po.current===null){var t=Pn;try{tn(e),m(`An update to %s inside a test was not wrapped in act(...).
|
|
145
|
-
|
|
146
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
147
|
-
|
|
148
|
-
act(() => {
|
|
149
|
-
/* fire events that update state */
|
|
150
|
-
});
|
|
151
|
-
/* assert on the output */
|
|
152
|
-
|
|
153
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,bt(e))}finally{t?tn(e):Gn()}}}}function xz(e){e.tag!==Xu&&ck()&&po.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
154
|
-
|
|
155
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
156
|
-
|
|
157
|
-
act(() => {
|
|
158
|
-
/* finish loading suspended data */
|
|
159
|
-
});
|
|
160
|
-
/* assert on the output */
|
|
161
|
-
|
|
162
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function gh(e){mk=e}var Ai=null,Md=null,wz=function(e){Ai=e};function Nd(e){{if(Ai===null)return e;var t=Ai(e);return t===void 0?e:t.current}}function dx(e){return Nd(e)}function px(e){{if(Ai===null)return e;var t=Ai(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=Nd(e.render);if(e.render!==a){var o={$$typeof:rt,render:a};return e.displayName!==void 0&&(o.displayName=e.displayName),o}}return e}return t.current}}function Lk(e,t){{if(Ai===null)return!1;var a=e.elementType,o=t.type,s=!1,d=typeof o=="object"&&o!==null?o.$$typeof:null;switch(e.tag){case T:{typeof o=="function"&&(s=!0);break}case E:{(typeof o=="function"||d===it)&&(s=!0);break}case de:{(d===rt||d===it)&&(s=!0);break}case gt:case He:{(d===Tt||d===it)&&(s=!0);break}default:return!1}if(s){var y=Ai(a);if(y!==void 0&&y===Ai(o))return!0}return!1}}function zk(e){{if(Ai===null||typeof WeakSet!="function")return;Md===null&&(Md=new WeakSet),Md.add(e)}}var Cz=function(e,t){{if(Ai===null)return;var a=t.staleFamilies,o=t.updatedFamilies;Xl(),Ql(function(){vx(e.current,o,a)})}},Ez=function(e,t){{if(e.context!==di)return;Xl(),Ql(function(){bh(t,e,null,null)})}};function vx(e,t,a){{var o=e.alternate,s=e.child,d=e.sibling,y=e.tag,S=e.type,w=null;switch(y){case E:case He:case T:w=S;break;case de:w=S.render;break}if(Ai===null)throw new Error("Expected resolveFamily to be set during hot reload.");var k=!1,_=!1;if(w!==null){var U=Ai(w);U!==void 0&&(a.has(U)?_=!0:t.has(U)&&(y===T?_=!0:k=!0))}if(Md!==null&&(Md.has(e)||o!==null&&Md.has(o))&&(_=!0),_&&(e._debugNeedsRemount=!0),_||k){var L=Ja(e,lt);L!==null&&kr(L,e,lt,un)}s!==null&&!_&&vx(s,t,a),d!==null&&vx(d,t,a)}}var Tz=function(e,t){{var a=new Set,o=new Set(t.map(function(s){return s.current}));return hx(e.current,o,a),a}};function hx(e,t,a){{var o=e.child,s=e.sibling,d=e.tag,y=e.type,S=null;switch(d){case E:case He:case T:S=y;break;case de:S=y.render;break}var w=!1;S!==null&&t.has(S)&&(w=!0),w?kz(e,a):o!==null&&hx(o,t,a),s!==null&&hx(s,t,a)}}function kz(e,t){{var a=_z(e,t);if(a)return;for(var o=e;;){switch(o.tag){case F:t.add(o.stateNode);return;case j:t.add(o.stateNode.containerInfo);return;case R:t.add(o.stateNode.containerInfo);return}if(o.return===null)throw new Error("Expected to reach root first.");o=o.return}}}function _z(e,t){for(var a=e,o=!1;;){if(a.tag===F)o=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return o;for(;a.sibling===null;){if(a.return===null||a.return===e)return o;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var mx;{mx=!1;try{var Uk=Object.preventExtensions({})}catch{mx=!0}}function Rz(e,t,a,o){this.tag=e,this.key=a,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.dependencies=null,this.mode=o,this.flags=et,this.subtreeFlags=et,this.deletions=null,this.lanes=q,this.childLanes=q,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!mx&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var pi=function(e,t,a,o){return new Rz(e,t,a,o)};function yx(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Dz(e){return typeof e=="function"&&!yx(e)&&e.defaultProps===void 0}function Oz(e){if(typeof e=="function")return yx(e)?T:E;if(e!=null){var t=e.$$typeof;if(t===rt)return de;if(t===Tt)return gt}return M}function Rc(e,t){var a=e.alternate;a===null?(a=pi(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=et,a.subtreeFlags=et,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&mr,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var o=e.dependencies;switch(a.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case M:case E:case He:a.type=Nd(e.type);break;case T:a.type=dx(e.type);break;case de:a.type=px(e.type);break}return a}function Mz(e,t){e.flags&=mr|fn;var a=e.alternate;if(a===null)e.childLanes=q,e.lanes=t,e.child=null,e.subtreeFlags=et,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=et,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var o=a.dependencies;e.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function Nz(e,t,a){var o;return e===Xy?(o=Rt,t===!0&&(o|=kn,o|=Wa)):o=at,yr&&(o|=ot),pi(R,null,null,o)}function gx(e,t,a,o,s,d){var y=M,S=e;if(typeof e=="function")yx(e)?(y=T,S=dx(S)):S=Nd(S);else if(typeof e=="string")y=F;else e:switch(e){case ri:return ss(a.children,s,d,t);case go:y=ve,s|=kn,(s&Rt)!==at&&(s|=Wa);break;case O:return Az(a,s,d,t);case Ct:return Lz(a,s,d,t);case Bt:return zz(a,s,d,t);case yn:return jk(a,s,d,t);case Br:case ar:case bo:case Hc:case mn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case oe:y=J;break e;case ke:y=Xe;break e;case rt:y=de,S=px(S);break e;case Tt:y=gt;break e;case it:y=Ke,S=null;break e}var w="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var k=o?bt(o):null;k&&(w+=`
|
|
163
|
-
|
|
164
|
-
Check the render method of \``+k+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+w))}}var _=pi(y,a,t,s);return _.elementType=e,_.type=S,_.lanes=d,_._debugOwner=o,_}function bx(e,t,a){var o=null;o=e._owner;var s=e.type,d=e.key,y=e.props,S=gx(s,d,y,o,t,a);return S._debugSource=e._source,S._debugOwner=e._owner,S}function ss(e,t,a,o){var s=pi(ce,e,o,t);return s.lanes=a,s}function Az(e,t,a,o){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var s=pi(Se,e,o,t|ot);return s.elementType=O,s.lanes=a,s.stateNode={effectDuration:0,passiveEffectDuration:0},s}function Lz(e,t,a,o){var s=pi(ze,e,o,t);return s.elementType=Ct,s.lanes=a,s}function zz(e,t,a,o){var s=pi(vt,e,o,t);return s.elementType=Bt,s.lanes=a,s}function jk(e,t,a,o){var s=pi(fe,e,o,t);s.elementType=yn,s.lanes=a;var d={isHidden:!1};return s.stateNode=d,s}function Sx(e,t,a){var o=pi(K,e,null,t);return o.lanes=a,o}function Uz(){var e=pi(F,null,null,at);return e.elementType="DELETED",e}function jz(e){var t=pi(st,null,null,at);return t.stateNode=e,t}function xx(e,t,a){var o=e.children!==null?e.children:[],s=pi(j,o,e.key,t);return s.lanes=a,s.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},s}function Fk(e,t){return e===null&&(e=pi(M,null,null,at)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function Fz(e,t,a,o,s){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=nS,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Ft,this.eventTimes=Hf(q),this.expirationTimes=Hf(un),this.pendingLanes=q,this.suspendedLanes=q,this.pingedLanes=q,this.expiredLanes=q,this.mutableReadLanes=q,this.finishedLanes=q,this.entangledLanes=q,this.entanglements=Hf(q),this.identifierPrefix=o,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],y=0;y<pn;y++)d.push(new Set)}switch(t){case Xy:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case Xu:this._debugRootType=a?"hydrate()":"render()";break}}function Vk(e,t,a,o,s,d,y,S,w,k){var _=new Fz(e,t,a,S,w),U=Nz(t,d);_.current=U,U.stateNode=_;{var L={element:o,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};U.memoizedState=L}return DS(U),_}var wx="18.2.0";function Vz(e,t,a){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Re(o),{$$typeof:ba,key:o==null?null:""+o,children:e,containerInfo:t,implementation:a}}var Cx,Ex;Cx=!1,Ex={};function Hk(e){if(!e)return di;var t=Ha(e),a=wN(t);if(t.tag===T){var o=t.type;if(Wo(o))return dE(t,o,a)}return a}function Hz(e,t){{var a=Ha(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var o=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+o)}var s=$a(a);if(s===null)return null;if(s.mode&kn){var d=bt(a)||"Component";if(!Ex[d]){Ex[d]=!0;var y=Pn;try{tn(s),a.mode&kn?m("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,d):m("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,d)}finally{y?tn(y):Gn()}}}return s.stateNode}}function Pk(e,t,a,o,s,d,y,S){var w=!1,k=null;return Vk(e,t,w,k,a,o,s,d,y)}function Bk(e,t,a,o,s,d,y,S,w,k){var _=!0,U=Vk(a,o,_,e,s,d,y,S,w);U.context=Hk(null);var L=U.current,$=Da(),W=ls(L),Q=Wl($,W);return Q.callback=t??null,qu(L,Q,W),ZL(U,W,$),U}function bh(e,t,a,o){Km(t,e);var s=t.current,d=Da(),y=ls(s);xl(y);var S=Hk(a);t.context===null?t.context=S:t.pendingContext=S,ja&&Pn!==null&&!Cx&&(Cx=!0,m(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
165
|
-
|
|
166
|
-
Check the render method of %s.`,bt(Pn)||"Unknown"));var w=Wl(d,y);w.payload={element:e},o=o===void 0?null:o,o!==null&&(typeof o!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o),w.callback=o);var k=qu(s,w,y);return k!==null&&(kr(k,s,y,d),sg(k,s,y)),y}function e0(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case F:return t.child.stateNode;default:return t.child.stateNode}}function Pz(e){switch(e.tag){case R:{var t=e.stateNode;if(Jn(t)){var a=wb(t);KL(t,a)}break}case ze:{Ql(function(){var s=Ja(e,lt);if(s!==null){var d=Da();kr(s,e,lt,d)}});var o=lt;Tx(e,o);break}}}function Ik(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=sy(a.retryLane,t))}function Tx(e,t){Ik(e,t);var a=e.alternate;a&&Ik(a,t)}function Bz(e){if(e.tag===ze){var t=Ru,a=Ja(e,t);if(a!==null){var o=Da();kr(a,e,t,o)}Tx(e,t)}}function Iz(e){if(e.tag===ze){var t=ls(e),a=Ja(e,t);if(a!==null){var o=Da();kr(a,e,t,o)}Tx(e,t)}}function $k(e){var t=Gm(e);return t===null?null:t.stateNode}var Wk=function(e){return null};function $z(e){return Wk(e)}var Yk=function(e){return!1};function Wz(e){return Yk(e)}var Zk=null,Gk=null,Qk=null,Xk=null,Kk=null,Jk=null,qk=null,e_=null,t_=null;{var n_=function(e,t,a){var o=t[a],s=ir(e)?e.slice():Mt({},e);return a+1===t.length?(ir(s)?s.splice(o,1):delete s[o],s):(s[o]=n_(e[o],t,a+1),s)},r_=function(e,t){return n_(e,t,0)},a_=function(e,t,a,o){var s=t[o],d=ir(e)?e.slice():Mt({},e);if(o+1===t.length){var y=a[o];d[y]=d[s],ir(d)?d.splice(s,1):delete d[s]}else d[s]=a_(e[s],t,a,o+1);return d},i_=function(e,t,a){if(t.length!==a.length){g("copyWithRename() expects paths of the same length");return}else for(var o=0;o<a.length-1;o++)if(t[o]!==a[o]){g("copyWithRename() expects paths to be the same except for the deepest key");return}return a_(e,t,a,0)},o_=function(e,t,a,o){if(a>=t.length)return o;var s=t[a],d=ir(e)?e.slice():Mt({},e);return d[s]=o_(e[s],t,a+1,o),d},l_=function(e,t,a){return o_(e,t,0,a)},kx=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};Zk=function(e,t,a,o){var s=kx(e,t);if(s!==null){var d=l_(s.memoizedState,a,o);s.memoizedState=d,s.baseState=d,e.memoizedProps=Mt({},e.memoizedProps);var y=Ja(e,lt);y!==null&&kr(y,e,lt,un)}},Gk=function(e,t,a){var o=kx(e,t);if(o!==null){var s=r_(o.memoizedState,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=Mt({},e.memoizedProps);var d=Ja(e,lt);d!==null&&kr(d,e,lt,un)}},Qk=function(e,t,a,o){var s=kx(e,t);if(s!==null){var d=i_(s.memoizedState,a,o);s.memoizedState=d,s.baseState=d,e.memoizedProps=Mt({},e.memoizedProps);var y=Ja(e,lt);y!==null&&kr(y,e,lt,un)}},Xk=function(e,t,a){e.pendingProps=l_(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=Ja(e,lt);o!==null&&kr(o,e,lt,un)},Kk=function(e,t){e.pendingProps=r_(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ja(e,lt);a!==null&&kr(a,e,lt,un)},Jk=function(e,t,a){e.pendingProps=i_(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=Ja(e,lt);o!==null&&kr(o,e,lt,un)},qk=function(e){var t=Ja(e,lt);t!==null&&kr(t,e,lt,un)},e_=function(e){Wk=e},t_=function(e){Yk=e}}function Yz(e){var t=$a(e);return t===null?null:t.stateNode}function Zz(e){return null}function Gz(){return Pn}function Qz(e){var t=e.findFiberByHostInstance,a=c.ReactCurrentDispatcher;return Yp({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Zk,overrideHookStateDeletePath:Gk,overrideHookStateRenamePath:Qk,overrideProps:Xk,overridePropsDeletePath:Kk,overridePropsRenamePath:Jk,setErrorHandler:e_,setSuspenseHandler:t_,scheduleUpdate:qk,currentDispatcherRef:a,findHostInstanceByFiber:Yz,findFiberByHostInstance:t||Zz,findHostInstancesForRefresh:Tz,scheduleRefresh:Cz,scheduleRoot:Ez,setRefreshHandler:wz,getCurrentFiber:Gz,reconcilerVersion:wx})}var u_=typeof reportError=="function"?reportError:function(e){console.error(e)};function _x(e){this._internalRoot=e}t0.prototype.render=_x.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):n0(arguments[1])?m("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==Bn){var o=$k(t.current);o&&o.parentNode!==a&&m("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}bh(e,t,null,null)},t0.prototype.unmount=_x.prototype.unmount=function(){typeof arguments[0]=="function"&&m("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Sk()&&m("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Ql(function(){bh(null,e,null,null)}),lE(t)}};function Xz(e,t){if(!n0(e))throw new Error("createRoot(...): Target container is not a DOM element.");s_(e);var a=!1,o=!1,s="",d=u_;t!=null&&(t.hydrate?g("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===yo&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
167
|
-
|
|
168
|
-
let root = createRoot(domContainer);
|
|
169
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var y=Pk(e,Xy,null,a,o,s,d);Iy(y.current,e);var S=e.nodeType===Bn?e.parentNode:e;return _v(S),new _x(y)}function t0(e){this._internalRoot=e}function Kz(e){e&&yy(e)}t0.prototype.unstable_scheduleHydration=Kz;function Jz(e,t,a){if(!n0(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");s_(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=a??null,s=a!=null&&a.hydratedSources||null,d=!1,y=!1,S="",w=u_;a!=null&&(a.unstable_strictMode===!0&&(d=!0),a.identifierPrefix!==void 0&&(S=a.identifierPrefix),a.onRecoverableError!==void 0&&(w=a.onRecoverableError));var k=Bk(t,null,e,Xy,o,d,y,S,w);if(Iy(k.current,e),_v(e),s)for(var _=0;_<s.length;_++){var U=s[_];oA(k,U)}return new t0(k)}function n0(e){return!!(e&&(e.nodeType===na||e.nodeType===li||e.nodeType===dl||!me))}function Sh(e){return!!(e&&(e.nodeType===na||e.nodeType===li||e.nodeType===dl||e.nodeType===Bn&&e.nodeValue===" react-mount-point-unstable "))}function s_(e){e.nodeType===na&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Fv(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var qz=c.ReactCurrentOwner,c_;c_=function(e){if(e._reactRootContainer&&e.nodeType!==Bn){var t=$k(e._reactRootContainer.current);t&&t.parentNode!==e&&m("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var a=!!e._reactRootContainer,o=Rx(e),s=!!(o&&Gu(o));s&&!a&&m("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===na&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function Rx(e){return e?e.nodeType===li?e.documentElement:e.firstChild:null}function f_(){}function e3(e,t,a,o,s){if(s){if(typeof o=="function"){var d=o;o=function(){var L=e0(y);d.call(L)}}var y=Bk(t,o,e,Xu,null,!1,!1,"",f_);e._reactRootContainer=y,Iy(y.current,e);var S=e.nodeType===Bn?e.parentNode:e;return _v(S),Ql(),y}else{for(var w;w=e.lastChild;)e.removeChild(w);if(typeof o=="function"){var k=o;o=function(){var L=e0(_);k.call(L)}}var _=Pk(e,Xu,null,!1,!1,"",f_);e._reactRootContainer=_,Iy(_.current,e);var U=e.nodeType===Bn?e.parentNode:e;return _v(U),Ql(function(){bh(t,_,a,o)}),_}}function t3(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function r0(e,t,a,o,s){c_(a),t3(s===void 0?null:s,"render");var d=a._reactRootContainer,y;if(!d)y=e3(a,t,e,s,o);else{if(y=d,typeof s=="function"){var S=s;s=function(){var w=e0(y);S.call(w)}}bh(t,y,e,s)}return e0(y)}function n3(e){{var t=qz.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||m("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",on(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===na?e:Hz(e,"findDOMNode")}function r3(e,t,a){if(m("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Sh(t))throw new Error("Target container is not a DOM element.");{var o=Fv(t)&&t._reactRootContainer===void 0;o&&m("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return r0(null,e,t,!0,a)}function a3(e,t,a){if(m("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Sh(t))throw new Error("Target container is not a DOM element.");{var o=Fv(t)&&t._reactRootContainer===void 0;o&&m("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return r0(null,e,t,!1,a)}function i3(e,t,a,o){if(m("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Sh(a))throw new Error("Target container is not a DOM element.");if(e==null||!Bs(e))throw new Error("parentComponent must be a valid React Component");return r0(e,t,a,!1,o)}function o3(e){if(!Sh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Fv(e)&&e._reactRootContainer===void 0;t&&m("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var a=Rx(e),o=a&&!Gu(a);o&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Ql(function(){r0(null,null,e,!1,function(){e._reactRootContainer=null,lE(e)})}),!0}else{{var s=Rx(e),d=!!(s&&Gu(s)),y=e.nodeType===na&&Sh(e.parentNode)&&!!e.parentNode._reactRootContainer;d&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",y?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Ue(Pz),fy(Bz),rc(Iz),sv(Za),py(ec),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Wm(sM),lf(ix,JL,Ql);function l3(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!n0(t))throw new Error("Target container is not a DOM element.");return Vz(e,t,null,a)}function u3(e,t,a,o){return i3(e,t,a,o)}var Dx={usingClientEntryPoint:!1,Events:[Gu,sd,$y,of,Vs,ix]};function s3(e,t){return Dx.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Xz(e,t)}function c3(e,t,a){return Dx.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Jz(e,t,a)}function f3(e){return Sk()&&m("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Ql(e)}var d3=Qz({findFiberByHostInstance:pc,bundleType:1,version:wx,rendererPackageName:"react-dom"});if(!d3&&Hn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var d_=window.location.protocol;/^(https?|file):$/.test(d_)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(d_==="file:"?`
|
|
170
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Dx,Aa.createPortal=l3,Aa.createRoot=s3,Aa.findDOMNode=n3,Aa.flushSync=f3,Aa.hydrate=r3,Aa.hydrateRoot=c3,Aa.render=a3,Aa.unmountComponentAtNode=o3,Aa.unstable_batchedUpdates=ix,Aa.unstable_renderSubtreeIntoContainer=u3,Aa.version=wx,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Aa}function Jx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jx)}catch(i){console.error(i)}}}process.env.NODE_ENV==="production"?(Jx(),S0.exports=N_()):S0.exports=A_();var qx=S0.exports;const L_=D_(qx);var z_=Object.defineProperty,U_=(i,u,c)=>u in i?z_(i,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[u]=c,_h=(i,u,c)=>(U_(i,typeof u!="symbol"?u+"":u,c),c);const j_={stringify:i=>i,parse:i=>i},F_={stringify:i=>`${i}`,parse:i=>parseFloat(i)},V_={stringify:i=>i?"true":"false",parse:i=>/^[ty1-9]/i.test(i)},H_={stringify:i=>i.name,parse:(i,u)=>{const c=(()=>{if(typeof window<"u"&&i in window)return window[i];if(typeof global<"u"&&i in global)return global[i]})();return typeof c=="function"?c.bind(u):void 0}},P_={stringify:i=>JSON.stringify(i),parse:i=>JSON.parse(i)},C0={string:j_,number:F_,boolean:V_,function:H_,json:P_},E0=Symbol.for("r2wc.render"),Rh=Symbol.for("r2wc.connected"),Dc=Symbol.for("r2wc.context"),ql=Symbol.for("r2wc.props");function B_(i,u,c){var p,v,g;u.props||(u.props=i.propTypes?Object.keys(i.propTypes):[]);const m=(Array.isArray(u.props)?u.props.slice():Object.keys(u.props)).filter(R=>R!=="container"),x={},E={},T={};for(const R of m){x[R]=Array.isArray(u.props)?"string":u.props[R];const j=I_(R);E[R]=j,T[j]=R}class M extends HTMLElement{constructor(){super(),_h(this,p,!0),_h(this,v),_h(this,g,{}),_h(this,"container"),u.shadow?this.container=this.attachShadow({mode:u.shadow}):this.container=this,this[ql].container=this.container;for(const j of m){const F=E[j],K=this.getAttribute(F),ce=x[j],ve=C0[ce];K&&ve!=null&&ve.parse&&(this[ql][j]=ve.parse(K,this))}}static get observedAttributes(){return Object.keys(T)}connectedCallback(){this[Rh]=!0,this[E0]()}disconnectedCallback(){this[Rh]=!1,this[Dc]&&c.unmount(this[Dc])}attributeChangedCallback(j,F,K){const ce=T[j],ve=x[ce],Xe=C0[ve];ce in x&&Xe!=null&&Xe.parse&&(this[ql][ce]=Xe.parse(K,this),this[E0]())}[(p=Rh,v=Dc,g=ql,E0)](){this[Rh]&&(this[Dc]?c.update(this[Dc],this[ql]):this[Dc]=c.mount(this.container,i,this[ql]))}}for(const R of m){const j=E[R],F=x[R];Object.defineProperty(M.prototype,R,{enumerable:!0,configurable:!0,get(){return this[ql][R]},set(K){this[ql][R]=K;const ce=C0[F];if(ce!=null&&ce.stringify){const ve=ce.stringify(K);this.getAttribute(j)!==ve&&this.setAttribute(j,ve)}}})}return M}function I_(i=""){return i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}var T0,Dh=L_;if(process.env.NODE_ENV==="production")T0=Dh.createRoot,Dh.hydrateRoot;else{var ew=Dh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;T0=function(i,u){ew.usingClientEntryPoint=!0;try{return Dh.createRoot(i,u)}finally{ew.usingClientEntryPoint=!1}}}function $_(i,u,c){const p=T0(i),v=I.createElement(u,c);return p.render(v),{root:p,ReactComponent:u}}function W_({root:i,ReactComponent:u},c){const p=I.createElement(u,c);i.render(p)}function Y_({root:i}){i.unmount()}function Z_(i,u={}){return B_(i,u,{mount:$_,update:W_,unmount:Y_})}var G_=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["forced-color-adjust","-ms-high-contrast-adjust"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["mask-border","-webkit-mask-box-image"],["mask-border-outset","-webkit-mask-box-image-outset"],["mask-border-slice","-webkit-mask-box-image-slice"],["mask-border-source","-webkit-mask-box-image-source"],["mask-border-repeat","-webkit-mask-box-image-repeat"],["mask-border-width","-webkit-mask-box-image-width"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["print-color-adjust","color-adjust"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);function Q_(i){return G_.get(i)}function X_(i){var u=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|mask(?:$|-[ispro]|-cl)|pr|hyphena|flex-d)|(tab-|column(?!-s)|text-align-l)|(ap)|u|hy)/i.exec(i);return u?u[1]?1:u[2]?2:u[3]?3:5:0}function K_(i,u){var c=/^(?:(pos)|(cli)|(background-i)|(flex(?:$|-b)|(?:max-|min-)?(?:block-s|inl|he|widt))|dis)/i.exec(i);return c?c[1]?/^sti/i.test(u)?1:0:c[2]?/^pat/i.test(u)?1:0:c[3]?/^image-/i.test(u)?1:0:c[4]?u[3]==="-"?2:0:/^(?:inline-)?grid$/i.test(u)?4:0:0}let J_=[["-webkit-",1],["-moz-",2],["-ms-",4]];function q_(){return({stringify:i})=>({stringify(u,c,p){let v="",g=Q_(u);g&&(v+=i(g,c,p)+";");let m=X_(u),x=K_(u,c);for(let E of J_)m&E[1]&&(v+=i(E[0]+u,c,p)+";"),x&E[1]&&(v+=i(u,E[0]+c,p)+";");return v+i(u,c,p)}})}let Oh={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},columns:{auto:"auto","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",...ni(4,"rem",4,.5,.5),...ni(12,"rem",4,5),14:"3.5rem",...ni(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0,0,0.2,1) infinite",pulse:"pulse 2s cubic-bezier(0.4,0,0.6,1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1/1",video:"16/9"},backdropBlur:Gt("blur"),backdropBrightness:Gt("brightness"),backdropContrast:Gt("contrast"),backdropGrayscale:Gt("grayscale"),backdropHueRotate:Gt("hueRotate"),backdropInvert:Gt("invert"),backdropOpacity:Gt("opacity"),backdropSaturate:Gt("saturate"),backdropSepia:Gt("sepia"),backgroundColor:Gt("colors"),backgroundImage:{none:"none"},backgroundOpacity:Gt("opacity"),backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{none:"none",0:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{...ni(200,"",100,0,50),...ni(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:i})=>({DEFAULT:i("colors.gray.200","currentColor"),...i("colors")}),borderOpacity:Gt("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","1/2":"50%",full:"9999px"},borderSpacing:Gt("spacing"),borderWidth:{DEFAULT:"1px",...hi(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0,0,0,0.05)",DEFAULT:"0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)",md:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",lg:"0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)",xl:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)","2xl":"0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},boxShadowColor:Gt("colors"),caretColor:Gt("colors"),accentColor:({theme:i})=>({auto:"auto",...i("colors")}),contrast:{...ni(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:Gt("borderColor"),divideOpacity:Gt("borderOpacity"),divideWidth:Gt("borderWidth"),dropShadow:{sm:"0 1px 1px rgba(0,0,0,0.05)",DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},fill:({theme:i})=>({...i("colors"),none:"none"}),grayscale:{DEFAULT:"100%",0:"0"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{DEFAULT:"100%",0:"0"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:i})=>({...i("spacing"),...zd(2,6),...zd(12,12),auto:"auto",full:"100%"}),flexGrow:{DEFAULT:1,0:0},flexShrink:{DEFAULT:1,0:0},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:Gt("spacing"),gradientColorStops:Gt("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridColumn:{auto:"auto","span-full":"1 / -1"},gridRow:{auto:"auto","span-full":"1 / -1"},gridTemplateColumns:{none:"none"},gridTemplateRows:{none:"none"},height:({theme:i})=>({...i("spacing"),...zd(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:i})=>({...i("spacing"),...zd(2,4),auto:"auto",full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{...ni(10,"rem",4,3),none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},margin:({theme:i})=>({auto:"auto",...i("spacing")}),maxHeight:({theme:i})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh",...i("spacing")}),maxWidth:({theme:i,breakpoints:u})=>({...u(i("screens")),none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch"}),minHeight:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},opacity:{...ni(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:Gt("spacing"),placeholderColor:Gt("colors"),placeholderOpacity:Gt("opacity"),outlineColor:Gt("colors"),outlineOffset:hi(8,"px"),outlineWidth:hi(8,"px"),ringColor:({theme:i})=>({...i("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:Gt("colors"),ringOffsetWidth:hi(8,"px"),ringOpacity:({theme:i})=>({...i("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...hi(8,"px")},rotate:{...hi(2,"deg"),...hi(12,"deg",3),...hi(180,"deg",45)},saturate:ni(200,"",100,0,50),scale:{...ni(150,"",100,0,50),...ni(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:Gt("spacing"),scrollPadding:Gt("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...hi(2,"deg"),...hi(12,"deg",3)},space:Gt("spacing"),stroke:({theme:i})=>({...i("colors"),none:"none"}),strokeWidth:ni(2),textColor:Gt("colors"),textDecorationColor:Gt("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...hi(8,"px")},textUnderlineOffset:{auto:"auto",...hi(8,"px")},textIndent:Gt("spacing"),textOpacity:Gt("opacity"),transitionDuration:({theme:i})=>({...i("durations"),DEFAULT:"150ms"}),transitionDelay:Gt("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",colors:"color,background-color,border-color,text-decoration-color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:({theme:i})=>({...i("spacing"),...zd(2,4),full:"100%"}),width:({theme:i})=>({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw",...i("flexBasis")}),willChange:{scroll:"scroll-position"},zIndex:{...ni(50,"",1,0,10),auto:"auto"}};function zd(i,u){let c={};do for(var p=1;p<i;p++)c[`${p}/${i}`]=Number((p/i*100).toFixed(6))+"%";while(++i<=u);return c}function hi(i,u,c=0){let p={};for(;c<=i;c=2*c||1)p[c]=c+u;return p}function ni(i,u="",c=1,p=0,v=1,g={}){for(;p<=i;p+=v)g[p]=p/c+u;return g}function Gt(i){return({theme:u})=>u(i)}let eR={"*,::before,::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid",borderColor:"theme(borderColor.DEFAULT, currentColor)"},"::before,::after":{"--tw-content":"''"},html:{lineHeight:1.5,WebkitTextSizeAdjust:"100%",MozTabSize:"4",tabSize:4,fontFamily:`theme(fontFamily.sans, ${Oh.fontFamily.sans})`,fontFeatureSettings:"theme(fontFamily.sans[1].fontFeatureSettings, normal)"},body:{margin:"0",lineHeight:"inherit"},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},"abbr:where([title])":{textDecoration:"underline dotted"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"b,strong":{fontWeight:"bolder"},"code,kbd,samp,pre":{fontFamily:`theme(fontFamily.mono, ${Oh.fontFamily.mono})`,fontFeatureSettings:"theme(fontFamily.mono[1].fontFeatureSettings, normal)",fontSize:"1em"},small:{fontSize:"80%"},"sub,sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",lineHeight:"inherit",color:"inherit",margin:"0",padding:"0"},"button,select":{textTransform:"none"},"button,[type='button'],[type='reset'],[type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},":-moz-focusring":{outline:"auto"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},"[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre":{margin:"0"},fieldset:{margin:"0",padding:"0"},legend:{padding:"0"},"ol,ul,menu":{listStyle:"none",margin:"0",padding:"0"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:1,color:"theme(colors.gray.400, #9ca3af)"},'button,[role="button"]':{cursor:"pointer"},":disabled":{cursor:"default"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"},"[hidden]":{display:"none"}},tR=[ye("\\[([-\\w]+):(.+)]",({1:i,2:u},c)=>({"@layer overrides":{"&":{[i]:Jl(`[${u}]`,"",c)}}})),ye("(group|peer)([~/][^-[]+)?",({input:i},{h:u})=>[{c:u(i)}]),xe("aspect-","aspectRatio"),ye("container",(i,{theme:u})=>{let{screens:c=u("screens"),center:p,padding:v}=u("container"),g={width:"100%",marginRight:p&&"auto",marginLeft:p&&"auto",...m("xs")};for(let x in c){let E=c[x];typeof E=="string"&&(g[a0(E)]={"&":{maxWidth:E,...m(x)}})}return g;function m(x){let E=v&&(typeof v=="string"?v:v[x]||v.DEFAULT);if(E)return{paddingRight:E,paddingLeft:E}}}),xe("content-","content",({_:i})=>({"--tw-content":i,content:"var(--tw-content)"})),ye("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),ye("box-(border|content)","boxSizing",({1:i})=>i+"-box"),ye("hidden",{display:"none"}),ye("table-(auto|fixed)","tableLayout"),ye(["(block|flex|table|grid|inline|contents|flow-root|list-item)","(inline-(block|flex|table|grid))","(table-(caption|cell|column|row|(column|row|footer|header)-group))"],"display"),"(float)-(left|right|none)","(clear)-(left|right|none|both)","(overflow(?:-[xy])?)-(auto|hidden|clip|visible|scroll)","(isolation)-(auto)",ye("isolate","isolation"),ye("object-(contain|cover|fill|none|scale-down)","objectFit"),xe("object-","objectPosition"),ye("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",Mh),ye("overscroll(-[xy])?-(auto|contain|none)",({1:i="",2:u})=>({["overscroll-behavior"+i]:u})),ye("(static|fixed|absolute|relative|sticky)","position"),xe("-?inset(-[xy])?(?:$|-)","inset",({1:i,_:u})=>({top:i!="-x"&&u,right:i!="-y"&&u,bottom:i!="-x"&&u,left:i!="-y"&&u})),xe("-?(top|bottom|left|right)(?:$|-)","inset"),ye("(visible|collapse)","visibility"),ye("invisible",{visibility:"hidden"}),xe("-?z-","zIndex"),ye("flex-((row|col)(-reverse)?)","flexDirection",tw),ye("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),xe("(flex-(?:grow|shrink))(?:$|-)"),xe("(flex)-"),xe("grow(?:$|-)","flexGrow"),xe("shrink(?:$|-)","flexShrink"),xe("basis-","flexBasis"),xe("-?(order)-"),"-?(order)-(\\d+)",xe("grid-cols-","gridTemplateColumns"),ye("grid-cols-(\\d+)","gridTemplateColumns",ow),xe("col-","gridColumn"),ye("col-(span)-(\\d+)","gridColumn",iw),xe("col-start-","gridColumnStart"),ye("col-start-(auto|\\d+)","gridColumnStart"),xe("col-end-","gridColumnEnd"),ye("col-end-(auto|\\d+)","gridColumnEnd"),xe("grid-rows-","gridTemplateRows"),ye("grid-rows-(\\d+)","gridTemplateRows",ow),xe("row-","gridRow"),ye("row-(span)-(\\d+)","gridRow",iw),xe("row-start-","gridRowStart"),ye("row-start-(auto|\\d+)","gridRowStart"),xe("row-end-","gridRowEnd"),ye("row-end-(auto|\\d+)","gridRowEnd"),ye("grid-flow-((row|col)(-dense)?)","gridAutoFlow",i=>Mh(tw(i))),ye("grid-flow-(dense)","gridAutoFlow"),xe("auto-cols-","gridAutoColumns"),xe("auto-rows-","gridAutoRows"),xe("gap-x(?:$|-)","gap","columnGap"),xe("gap-y(?:$|-)","gap","rowGap"),xe("gap(?:$|-)","gap"),"(justify-(?:items|self))-",ye("justify-","justifyContent",nw),ye("(content|items|self)-",i=>({["align-"+i[1]]:nw(i)})),ye("(place-(content|items|self))-",({1:i,$$:u})=>({[i]:("wun".includes(u[3])?"space-":"")+u})),xe("p([xytrbl])?(?:$|-)","padding",Oc("padding")),xe("-?m([xytrbl])?(?:$|-)","margin",Oc("margin")),xe("-?space-(x|y)(?:$|-)","space",({1:i,_:u})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${i}-reverse`]:"0",["margin-"+{y:"top",x:"left"}[i]]:`calc(${u} * calc(1 - var(--tw-space-${i}-reverse)))`,["margin-"+{y:"bottom",x:"right"}[i]]:`calc(${u} * var(--tw-space-${i}-reverse))`}})),ye("space-(x|y)-reverse",({1:i})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${i}-reverse`]:"1"}})),xe("w-","width"),xe("min-w-","minWidth"),xe("max-w-","maxWidth"),xe("h-","height"),xe("min-h-","minHeight"),xe("max-h-","maxHeight"),xe("font-","fontWeight"),xe("font-","fontFamily",({_:i})=>typeof(i=Sn(i))[1]=="string"?{fontFamily:Li(i)}:{fontFamily:Li(i[0]),...i[1]}),ye("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),ye("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),ye("italic","fontStyle"),ye("not-italic",{fontStyle:"normal"}),ye("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",({1:i,2:u="",3:c})=>u=="normal"?{fontVariantNumeric:"normal"}:{["--tw-"+(c?"numeric-fraction":"pt".includes(u[0])?"numeric-spacing":u?"numeric-figure":i)]:i,fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)",...eu({"--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)"})}),xe("tracking-","letterSpacing"),xe("leading-","lineHeight"),ye("list-(inside|outside)","listStylePosition"),xe("list-","listStyleType"),ye("list-","listStyleType"),xe("placeholder-opacity-","placeholderOpacity",({_:i})=>({"&::placeholder":{"--tw-placeholder-opacity":i}})),Rr("placeholder-",{property:"color",selector:"&::placeholder"}),ye("text-(left|center|right|justify|start|end)","textAlign"),ye("text-(ellipsis|clip)","textOverflow"),xe("text-opacity-","textOpacity","--tw-text-opacity"),Rr("text-",{property:"color"}),xe("text-","fontSize",({_:i})=>typeof i=="string"?{fontSize:i}:{fontSize:i[0],...typeof i[1]=="string"?{lineHeight:i[1]}:i[1]}),xe("indent-","textIndent"),ye("(overline|underline|line-through)","textDecorationLine"),ye("no-underline",{textDecorationLine:"none"}),xe("underline-offset-","textUnderlineOffset"),Rr("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),xe("decoration-","textDecorationThickness"),ye("decoration-","textDecorationStyle"),ye("(uppercase|lowercase|capitalize)","textTransform"),ye("normal-case",{textTransform:"none"}),ye("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),ye("align-","verticalAlign"),ye("whitespace-","whiteSpace"),ye("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),ye("break-words",{overflowWrap:"break-word"}),ye("break-all",{wordBreak:"break-all"}),ye("break-keep",{wordBreak:"keep-all"}),Rr("caret-",{opacityVariable:!1,opacitySection:"opacity"}),Rr("accent-",{opacityVariable:!1,opacitySection:"opacity"}),ye("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:i})=>`linear-gradient(to ${fs(i," ")},var(--tw-gradient-stops))`),Rr("from-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:i})=>({"--tw-gradient-from":i.value,"--tw-gradient-to":i.color({opacityValue:"0"}),"--tw-gradient-stops":"var(--tw-gradient-from),var(--tw-gradient-to)"})),Rr("via-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:i})=>({"--tw-gradient-to":i.color({opacityValue:"0"}),"--tw-gradient-stops":`var(--tw-gradient-from),${i.value},var(--tw-gradient-to)`})),Rr("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),ye("bg-(fixed|local|scroll)","backgroundAttachment"),ye("bg-origin-(border|padding|content)","backgroundOrigin",({1:i})=>i+"-box"),ye(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),ye("bg-blend-","backgroundBlendMode"),ye("bg-clip-(border|padding|content|text)","backgroundClip",({1:i})=>i+(i=="text"?"":"-box")),xe("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),Rr("bg-",{section:"backgroundColor"}),xe("bg-","backgroundImage"),xe("bg-","backgroundPosition"),ye("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",Mh),xe("bg-","backgroundSize"),xe("rounded(?:$|-)","borderRadius"),xe("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",({1:i,_:u})=>{let c={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[i]||[i,i];return{[`border-${fs(c[0])}-radius`]:u,[`border-${fs(c[1])}-radius`]:u}}),ye("border-(collapse|separate)","borderCollapse"),xe("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),ye("border-(solid|dashed|dotted|double|none)","borderStyle"),xe("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:i,_:u})=>({...eu({"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0"}),["--tw-border-spacing"+(i||"-x")]:u,["--tw-border-spacing"+(i||"-y")]:u,"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})),Rr("border-([xytrbl])-",{section:"borderColor"},Oc("border","Color")),Rr("border-"),xe("border-([xytrbl])(?:$|-)","borderWidth",Oc("border","Width")),xe("border(?:$|-)","borderWidth"),xe("divide-opacity(?:$|-)","divideOpacity",({_:i})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":i}})),ye("divide-(solid|dashed|dotted|double|none)",({1:i})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:i}})),ye("divide-([xy]-reverse)",({1:i})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+i]:"1"}})),xe("divide-([xy])(?:$|-)","divideWidth",({1:i,_:u})=>{let c={x:"lr",y:"tb"}[i];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${i}-reverse`]:"0",[`border-${fs(c[0])}Width`]:`calc(${u} * calc(1 - var(--tw-divide-${i}-reverse)))`,[`border-${fs(c[1])}Width`]:`calc(${u} * var(--tw-divide-${i}-reverse))`}}}),Rr("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),xe("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),Rr("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),xe("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),ye("ring-inset",{"--tw-ring-inset":"inset"}),Rr("ring-",{property:"--tw-ring-color"}),xe("ring(?:$|-)","ringWidth",({_:i},{theme:u})=>({...eu({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000","&":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":u("ringOffsetWidth","","0px"),"--tw-ring-offset-color":_r(u("ringOffsetColor","","#fff")),"--tw-ring-color":_r(u("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":u("ringOpacity","","0.5")}}),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${i} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),Rr("shadow-",{section:"boxShadowColor",opacityVariable:!1,opacitySection:"opacity"},({_:i})=>({"--tw-shadow-color":i.value,"--tw-shadow":"var(--tw-shadow-colored)"})),xe("shadow(?:$|-)","boxShadow",({_:i})=>({...eu({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),"--tw-shadow":Li(i),"--tw-shadow-colored":Li(i).replace(/([^,]\s+)(?:#[a-f\d]+|(?:(?:hsl|rgb)a?|hwb|lab|lch|color|var)\(.+?\)|[a-z]+)(,|$)/g,"$1var(--tw-shadow-color)$2"),boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),xe("(opacity)-"),ye("mix-blend-","mixBlendMode"),...rw(),...rw("backdrop-"),xe("transition(?:$|-)","transitionProperty",(i,{theme:u})=>({transitionProperty:Li(i),transitionTimingFunction:i._=="none"?void 0:Li(u("transitionTimingFunction","")),transitionDuration:i._=="none"?void 0:Li(u("transitionDuration",""))})),xe("duration(?:$|-)","transitionDuration","transitionDuration",Li),xe("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",Li),xe("delay(?:$|-)","transitionDelay","transitionDelay",Li),xe("animate(?:$|-)","animation",(i,{theme:u,h:c,e:p})=>{let v=Li(i),g=v.split(" "),m=u("keyframes",g[0]);return m?{["@keyframes "+(g[0]=p(c(g[0])))]:m,animation:g.join(" ")}:{animation:v}}),"(transform)-(none)",ye("transform",_0),ye("transform-(cpu|gpu)",({1:i})=>({"--tw-transform":aw(i=="gpu")})),xe("scale(-[xy])?-","scale",({1:i,_:u})=>({["--tw-scale"+(i||"-x")]:u,["--tw-scale"+(i||"-y")]:u,..._0()})),xe("-?(rotate)-","rotate",k0),xe("-?(translate-[xy])-","translate",k0),xe("-?(skew-[xy])-","skew",k0),ye("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",Mh),"(appearance)-",xe("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",xe("(cursor)-"),"(cursor)-",ye("snap-(none)","scroll-snap-type"),ye("snap-(x|y|both)",({1:i})=>({...eu({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":i+" var(--tw-scroll-snap-strictness)"})),ye("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),ye("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),ye("snap-(normal|always)","scroll-snap-stop"),ye("scroll-(auto|smooth)","scroll-behavior"),xe("scroll-p([xytrbl])?(?:$|-)","padding",Oc("scroll-padding")),xe("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",Oc("scroll-margin")),ye("touch-(auto|none|manipulation)","touch-action"),ye("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:i,2:u,3:c})=>({...eu({"--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-touch-action":"var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)"}),[`--tw-${u?"pan-x":c?"pan-y":i}`]:i,"touch-action":"var(--tw-touch-action)"})),ye("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),ye("outline",{outlineStyle:"solid"}),ye("outline-(dashed|dotted|double)","outlineStyle"),xe("-?(outline-offset)-"),Rr("outline-",{opacityVariable:!1,opacitySection:"opacity"}),xe("outline-","outlineWidth"),"(pointer-events)-",xe("(will-change)-"),"(will-change)-",["resize(?:-(none|x|y))?","resize",({1:i})=>({x:"horizontal",y:"vertical"})[i]||i||"both"],ye("select-(none|text|all|auto)","userSelect"),Rr("fill-",{section:"fill",opacityVariable:!1,opacitySection:"opacity"}),Rr("stroke-",{section:"stroke",opacityVariable:!1,opacitySection:"opacity"}),xe("stroke-","strokeWidth"),ye("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),ye("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function Mh(i){return(typeof i=="string"?i:i[1]).replace(/-/g," ").trim()}function tw(i){return(typeof i=="string"?i:i[1]).replace("col","column")}function fs(i,u="-"){let c=[];for(let p of i)c.push({t:"top",r:"right",b:"bottom",l:"left"}[p]);return c.join(u)}function Li(i){return i&&""+(i._||i)}function nw({$$:i}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[i[3]||""]||"")+i}function Oc(i,u=""){return({1:c,_:p})=>{let v={x:"lr",y:"tb"}[c]||c+c;return v?{...Th(i+"-"+fs(v[0])+u,p),...Th(i+"-"+fs(v[1])+u,p)}:Th(i+u,p)}}function rw(i=""){let u=["blur","brightness","contrast","grayscale","hue-rotate","invert",i&&"opacity","saturate","sepia",!i&&"drop-shadow"].filter(Boolean),c={};for(let p of u)c[`--tw-${i}${p}`]="var(--tw-empty,/*!*/ /*!*/)";return c={...eu(c),[`${i}filter`]:u.map(p=>`var(--tw-${i}${p})`).join(" ")},[`(${i}filter)-(none)`,ye(`${i}filter`,c),...u.map(p=>xe(`${p[0]=="h"?"-?":""}(${i}${p})(?:$|-)`,p,({1:v,_:g})=>({[`--tw-${v}`]:Sn(g).map(m=>`${p}(${m})`).join(" "),...c})))]}function k0({1:i,_:u}){return{["--tw-"+i]:u,..._0()}}function _0(){return{...eu({"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1","--tw-transform":aw()}),transform:"var(--tw-transform)"}}function aw(i){return[i?"translate3d(var(--tw-translate-x),var(--tw-translate-y),0)":"translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")}function iw({1:i,2:u}){return`${i} ${u} / ${i} ${u}`}function ow({1:i}){return`repeat(${i},minmax(0,1fr))`}function eu(i){return{"@layer defaults":{"*,::before,::after":i,"::backdrop":i}}}let nR=[["sticky","@supports ((position: -webkit-sticky) or (position:sticky))"],["motion-reduce","@media (prefers-reduced-motion:reduce)"],["motion-safe","@media (prefers-reduced-motion:no-preference)"],["print","@media print"],["(portrait|landscape)",({1:i})=>`@media (orientation:${i})`],["contrast-(more|less)",({1:i})=>`@media (prefers-contrast:${i})`],["(first-(letter|line)|placeholder|backdrop|before|after)",({1:i})=>`&::${i}`],["(marker|selection)",({1:i})=>`& *::${i},&::${i}`],["file","&::file-selector-button"],["(first|last|only)",({1:i})=>`&:${i}-child`],["even","&:nth-child(2n)"],["odd","&:nth-child(odd)"],["open","&[open]"],["(aria|data)-",({1:i,$$:u},c)=>u&&`&[${i}-${c.theme(i,u)||Jl(u,"",c)||`${u}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:i,3:u="",4:c,5:p="",6:v=u},{e:g,h:m,v:x})=>{let E=Ld(p)||(c[0]=="["?c:x(c.slice(1)));return`${(E.includes("&")?E:"&"+E).replace(/&/g,`:merge(.${g(m(i+v))})`)}${i[0]=="p"?"~":" "}&`}],["(ltr|rtl)",({1:i})=>`[dir="${i}"] &`],["supports-",({$$:i},u)=>{if(i&&(i=u.theme("supports",i)||Jl(i,"",u)),i)return i.includes(":")||(i+=":var(--tw)"),/^\w*\s*\(/.test(i)||(i=`(${i})`),`@supports ${i.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:i},u)=>{if(i&&(i=u.theme("screens",i)||Jl(i,"",u)),typeof i=="string")return`@media not all and (min-width:${i})`}],["min-",({$$:i},u)=>(i&&(i=Jl(i,"",u)),i&&`@media (min-width:${i})`)],[/^\[(.+)]$/,({1:i})=>/[&@]/.test(i)&&Ld(i).replace(/[}]+$/,"").split("{")]];function rR({colors:i,disablePreflight:u}={}){return{preflight:u?void 0:eR,theme:{...Oh,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...i}},variants:nR,rules:tR,finalize(c){return c.n&&c.d&&c.r.some(p=>/^&::(before|after)$/.test(p))&&!/(^|;)content:/.test(c.d)?{...c,d:"content:var(--tw-content);"+c.d}:c}}}let aR={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},Ud={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},iR={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},oR={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},lR={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},uR={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},sR={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},cR={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},fR={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},dR={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},pR={50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},vR={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},hR={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},mR={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},yR={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},jd={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},gR={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},bR={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},SR={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},xR={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},wR={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},CR={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},lw={__proto__:null,slate:aR,gray:Ud,zinc:iR,neutral:oR,stone:lR,red:uR,orange:sR,amber:cR,yellow:fR,lime:dR,green:pR,emerald:vR,teal:hR,cyan:mR,sky:yR,blue:jd,indigo:gR,violet:bR,purple:SR,fuchsia:xR,pink:wR,rose:CR};function ER({disablePreflight:i}={}){return rR({colors:lw,disablePreflight:i})}function TR({className:i="prose",defaultColor:u="gray",extend:c={},colors:p={}}={}){return p={body:"700",headings:"900",lead:"600",links:"900",bold:"900",counters:"500",bullets:"300",hr:"200",quotes:"900","quote-borders":"200",captions:"500",code:"900","pre-code":"200","pre-bg":"800","th-borders":"300","td-borders":"200",...p,dark:p.dark===null?null:{body:"300",headings:"#fff",lead:"400",links:"#fff",bold:"#fff",counters:"400",bullets:"600",hr:"700",quotes:"100","quote-borders":"700",captions:"400",code:"#fff","pre-code":"300","pre-bg":"rgb(0 0 0 / 50%)","th-borders":"600","td-borders":"700",...p.dark}},{variants:[["headings","h1,h2,h3,h4,h5,h6,th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",".lead"]].map(([g,m=g])=>[`${i}-${g}`,(x,E)=>sw(i,m[0]=="."?"."+E.e(E.h(m.slice(1))):m,E,T=>`& :is(${T.trim()})`)]),rules:[[`(lead|not-${i})`,({1:g},{h:m})=>[{c:m(g)}]],[`${i}-invert`,{"@layer base":{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}],[i+"-",({$$:g},m)=>{let x=cw(m.theme("fontSize",g));return x&&{"@layer components":x}}],[i+"-",({$$:g},m)=>v(g,m)],[i,(g,m)=>({...v(u,m),"@layer base":[uw(i,m,{a:{color:"var(--tw-prose-links)",textDecorationLine:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong,blockquote strong,thead th strong":{color:"inherit"},ul:{listStyleType:"disc"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},"ol,ul":{marginTop:tt(20,16),marginBottom:tt(20,16),paddingLeft:tt(26,16)},li:{marginTop:tt(8,16),marginBottom:tt(8,16)},"ol>li,ul>li":{paddingLeft:tt(6,16)},">ul>li p":{marginTop:tt(12,16),marginBottom:tt(12,16)},">ul>li>*:first-child,>ol>li>*:last-child":{marginTop:tt(20,16)},">ul>li>*:last-child,>ol>li>*:last-child":{marginBottom:tt(20,16)},"ol>li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul>li::marker":{color:"var(--tw-prose-bullets)"},"ul ul,ul ol,ol ul,ol ol":{marginTop:tt(12,16),marginBottom:tt(12,16)},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:"1",marginTop:tt(48,16),marginBottom:tt(48,16)},blockquote:{marginTop:tt(32,20),marginBottom:tt(32,20),paddingLeft:tt(20,20),fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderLeftWidth:"0.25rem",borderLeftColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},p:{marginTop:tt(20,16),marginBottom:tt(20,16)},h1:{color:"var(--tw-prose-headings)",fontWeight:"800",fontSize:tt(36,16),marginTop:"0",marginBottom:tt(32,36),lineHeight:1.15},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700",fontSize:tt(24,16),marginTop:tt(48,24),marginBottom:tt(24,24),lineHeight:"1.35"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600",fontSize:tt(20,16),marginTop:tt(32,20),marginBottom:tt(12,20),lineHeight:"1.6"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600",marginTop:tt(24,16),marginBottom:tt(8,16),lineHeight:"1.5"},"h4 strong":{fontWeight:"700",color:"inherit"},"hr+*,h2+*,h3+*,h4+*":{marginTop:"0"},"img,video,figure":{marginTop:tt(32,16),marginBottom:tt(32,16)},"figure>*":{marginTop:"0",marginBottom:"0"},figcaption:{color:"var(--tw-prose-captions)",fontSize:tt(14,16),lineHeight:"1.4",marginTop:tt(12,14)},code:{color:"var(--tw-prose-code)",fontWeight:"600",fontSize:tt(14,16)},"code::before,code::after":{content:'"`"'},"h2 code":{fontSize:tt(21,24)},"h3 code":{fontSize:tt(18,20)},"a code,h1 code,h2 code,h3 code,h4 code,blockquote code,thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400",fontSize:tt(14,16),lineHeight:"1.7",marginTop:tt(24,14),marginBottom:tt(24,14),borderRadius:"0.375rem",paddingTop:tt(12,14),paddingRight:tt(16,14),paddingBottom:tt(12,14),paddingLeft:tt(16,14)},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",textAlign:"left",marginTop:tt(32,16),marginBottom:tt(32,16),fontSize:tt(14,16),lineHeight:"1.7"},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom",paddingRight:tt(8,14),paddingBottom:tt(8,14),paddingLeft:tt(8,14)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td,tfoot td":{verticalAlign:"baseline",paddingTop:tt(8,14),paddingRight:tt(8,14),paddingBottom:tt(8,14),paddingLeft:tt(8,14)},"tbody td:first-child,tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child,tfoot td:last-child":{paddingRight:"0"},[`.${m.e(m.h("lead"))}`]:{color:"var(--tw-prose-lead)",fontSize:tt(20,16),lineHeight:"1.6",marginTop:tt(24,20),marginBottom:tt(24,20)},">:first-child":{marginTop:"0"},">:last-child":{marginBottom:"0"}}),uw(i,m,c)],"@layer components":{...cw(m.theme("fontSize","base")),color:"var(--tw-prose-body)",maxWidth:"theme(max-w.prose, 65ch)"}})]]};function v(g,m){let x={},E={},T=(M,R,j)=>{let F=m.theme(`colors.${g}.${R}`,R);j["--tw-prose-"+M]=_r(F);let K=j!=E&&m.d("colors",`${g}-${R}`,F);K&&(E["--tw-prose-"+M]=_r(K))};for(let M in p){let R=p[M];M!="dark"&&R&&T(M,R,x)}for(let M in p.dark||{}){let R=p.dark[M];R&&(p.dark?T("invert-"+M,R,x):T(M,R,E))}return Object.keys(x).length?{"@layer defaults":{"&":x,[m.v("dark")]:E}}:void 0}}function uw(i,u,c){let p={};for(let v in c)p[sw(i,v,u,g=>`.${u.e(u.h(i))}${g}`)]=c[v];return p}function sw(i,u,{e:c,h:p},v){return u.replace(/^[^>:]+$|(>)?((?:[^:,]+(?::[\w-]+)?)|:[\w-]+)(::[\w-]+)?/g,(g,m=" ",x=g,E="")=>v(`${m}:where(${x}):not(:where(.${c(p("not-"+i))} *))${E}`))}function cw(i){return i?typeof i=="string"?{fontSize:i}:{fontSize:i[0],...typeof i[1]=="string"?{lineHeight:i[1]}:i[1]}:void 0}function tt(i,u){return`${(i/u).toFixed(3).replace(/^0|\.?0+$/g,"")}em`}let fw={...Oh,colors:lw},[kR,_R]=fw.fontSize.base,{spacing:el,borderWidth:dw,borderRadius:pw}=fw;function RR({strategy:i}={}){let u={};return i!=="base"&&(u.rules=[["("+[...new Set(R0.flatMap(c=>c.c).filter(Boolean))].join("|")+")",(c,p)=>({"@layer base":R0.filter(v=>{var g;return(g=v.c)==null?void 0:g.includes(c[1])}).map(({c:v,s:g})=>({[""+v.map(m=>"."+p.e(p.h(m)))]:typeof g=="function"?g(p):g}))})]]),i!=="class"&&(u.preflight=c=>{let p={};for(let{b:v,s:g}of R0)p[""+v]=typeof g=="function"?g(c):g;return p}),u}let R0=[{b:["[type='text']","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],c:["form-input","form-textarea","form-select","form-multiselect"],s:({theme:i})=>({appearance:"none","background-color":"#fff","border-color":_r(i("colors.gray.500",Ud[500])),"border-width":dw.DEFAULT,"border-radius":pw.none,"padding-top":el[2],"padding-right":el[3],"padding-bottom":el[2],"padding-left":el[3],"font-size":kR,"line-height":_R,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":_r(i("colors.blue.600",jd[600])),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":_r(i("colors.blue.600",jd[600]))}})},{b:["input","textarea"],c:["form-input","form-textarea"],s:({theme:i})=>({"&::placeholder":{color:_r(i("colors.gray.500",Ud[500])),opacity:"1"}})},{b:[""],c:["form-input"],s:{"&::-webkit-datetime-edit-fields-wrapper":{padding:"0"},"&::-webkit-date-and-time-value":{"min-height":"1.5em"}}},{b:["select"],c:["form-select"],s:({theme:i})=>({"background-image":`url("${Nh(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="${_r(i("colors.gray.500",Ud[500]))}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 8l4 4 4-4"/></svg>`)}")`,"background-position":`right ${el[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":el[10],"color-adjust":"exact"})},{b:["[multiple]"],s:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":el[3],"color-adjust":"unset"}},{b:["[type='checkbox']","[type='radio']"],c:["form-checkbox","form-radio"],s:({theme:i})=>({appearance:"none",padding:"0","color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:el[4],width:el[4],color:_r(i("colors.blue.600",jd[600])),"background-color":"#fff","border-color":_r(i("colors.gray.500",Ud[500])),"border-width":dw.DEFAULT,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":_r(i("colors.blue.600",jd[600])),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"},"&:checked":{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","&:hover,&:focus":{"border-color":"transparent","background-color":"currentColor"}}})},{b:["[type='checkbox']"],c:["form-checkbox"],s:{"border-radius":pw.none,"&:checked":{"background-image":`url("${Nh('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>')}")`},"&:indeterminate":{"background-image":`url("${Nh('<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8h8"/></svg>')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","&:hover,&:focus":{"border-color":"transparent","background-color":"currentColor"}}}},{b:["[type='radio']"],c:["form-radio"],s:{"border-radius":"100%","&:checked":{"background-image":`url("${Nh('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>')}")`}}},{b:["[type='file']"],s:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit","&:focus":{outline:["1px solid ButtonText","1px auto -webkit-focus-ring-color"]}}}];function DR(i){switch(i){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return i.toLowerCase()}}function Nh(i){return"data:image/svg+xml,"+encodeURIComponent(i.trim().replace(/\s+/g," ").replace(/"/g,"'")).replace(/%[\dA-F]{2}/g,DR)}const OR=Ix({theme:{extend:{colors:{primary:"var(--clr-primary,black)",accent:"var(--clr-accent,blue)",label:"var(--clr-label,black)",input:"var(--clr-input,black)",placeholder:"var(--clr-placeholder,#94a3b8)","category-label":"var(--clr-category-label,black)"},fontFamily:{"ff-text":["var(--ff-text)","Helvetica","Arial","sans-serif"]}}},presets:[q_(),ER(),TR(),RR()]});var D0={exports:{}},Fd={};/**
|
|
171
|
-
* @license React
|
|
172
|
-
* react-jsx-runtime.production.min.js
|
|
173
|
-
*
|
|
174
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
175
|
-
*
|
|
176
|
-
* This source code is licensed under the MIT license found in the
|
|
177
|
-
* LICENSE file in the root directory of this source tree.
|
|
178
|
-
*/var vw;function MR(){if(vw)return Fd;vw=1;var i=I,u=Symbol.for("react.element"),c=Symbol.for("react.fragment"),p=Object.prototype.hasOwnProperty,v=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,g={key:!0,ref:!0,__self:!0,__source:!0};function m(x,E,T){var M,R={},j=null,F=null;T!==void 0&&(j=""+T),E.key!==void 0&&(j=""+E.key),E.ref!==void 0&&(F=E.ref);for(M in E)p.call(E,M)&&!g.hasOwnProperty(M)&&(R[M]=E[M]);if(x&&x.defaultProps)for(M in E=x.defaultProps,E)R[M]===void 0&&(R[M]=E[M]);return{$$typeof:u,type:x,key:j,ref:F,props:R,_owner:v.current}}return Fd.Fragment=c,Fd.jsx=m,Fd.jsxs=m,Fd}var Vd={};/**
|
|
179
|
-
* @license React
|
|
180
|
-
* react-jsx-runtime.development.js
|
|
181
|
-
*
|
|
182
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
183
|
-
*
|
|
184
|
-
* This source code is licensed under the MIT license found in the
|
|
185
|
-
* LICENSE file in the root directory of this source tree.
|
|
186
|
-
*/var hw;function NR(){return hw||(hw=1,process.env.NODE_ENV!=="production"&&function(){var i=I,u=Symbol.for("react.element"),c=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),x=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),F=Symbol.for("react.offscreen"),K=Symbol.iterator,ce="@@iterator";function ve(O){if(O===null||typeof O!="object")return null;var oe=K&&O[K]||O[ce];return typeof oe=="function"?oe:null}var Xe=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function J(O){{for(var oe=arguments.length,ke=new Array(oe>1?oe-1:0),rt=1;rt<oe;rt++)ke[rt-1]=arguments[rt];de("error",O,ke)}}function de(O,oe,ke){{var rt=Xe.ReactDebugCurrentFrame,Ct=rt.getStackAddendum();Ct!==""&&(oe+="%s",ke=ke.concat([Ct]));var Bt=ke.map(function(Tt){return String(Tt)});Bt.unshift("Warning: "+oe),Function.prototype.apply.call(console[O],console,Bt)}}var Se=!1,ze=!1,gt=!1,He=!1,Ke=!1,ut;ut=Symbol.for("react.module.reference");function st(O){return!!(typeof O=="string"||typeof O=="function"||O===p||O===g||Ke||O===v||O===T||O===M||He||O===F||Se||ze||gt||typeof O=="object"&&O!==null&&(O.$$typeof===j||O.$$typeof===R||O.$$typeof===m||O.$$typeof===x||O.$$typeof===E||O.$$typeof===ut||O.getModuleId!==void 0))}function vt(O,oe,ke){var rt=O.displayName;if(rt)return rt;var Ct=oe.displayName||oe.name||"";return Ct!==""?ke+"("+Ct+")":ke}function $e(O){return O.displayName||"Context"}function fe(O){if(O==null)return null;if(typeof O.tag=="number"&&J("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof O=="function")return O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case p:return"Fragment";case c:return"Portal";case g:return"Profiler";case v:return"StrictMode";case T:return"Suspense";case M:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case x:var oe=O;return $e(oe)+".Consumer";case m:var ke=O;return $e(ke._context)+".Provider";case E:return vt(O,O.render,"ForwardRef");case R:var rt=O.displayName||null;return rt!==null?rt:fe(O.type)||"Memo";case j:{var Ct=O,Bt=Ct._payload,Tt=Ct._init;try{return fe(Tt(Bt))}catch{return null}}}return null}var he=Object.assign,Je=0,Ze,Dt,ae,ne,ee,ge,me;function ct(){}ct.__reactDisabledLog=!0;function Et(){{if(Je===0){Ze=console.log,Dt=console.info,ae=console.warn,ne=console.error,ee=console.group,ge=console.groupCollapsed,me=console.groupEnd;var O={configurable:!0,enumerable:!0,value:ct,writable:!0};Object.defineProperties(console,{info:O,log:O,warn:O,error:O,group:O,groupCollapsed:O,groupEnd:O})}Je++}}function Pt(){{if(Je--,Je===0){var O={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:he({},O,{value:Ze}),info:he({},O,{value:Dt}),warn:he({},O,{value:ae}),error:he({},O,{value:ne}),group:he({},O,{value:ee}),groupCollapsed:he({},O,{value:ge}),groupEnd:he({},O,{value:me})})}Je<0&&J("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Lt=Xe.ReactCurrentDispatcher,wn;function Cn(O,oe,ke){{if(wn===void 0)try{throw Error()}catch(Ct){var rt=Ct.stack.trim().match(/\n( *(at )?)/);wn=rt&&rt[1]||""}return`
|
|
187
|
-
`+wn+O}}var zn=!1,Vr;{var Zn=typeof WeakMap=="function"?WeakMap:Map;Vr=new Zn}function Hr(O,oe){if(!O||zn)return"";{var ke=Vr.get(O);if(ke!==void 0)return ke}var rt;zn=!0;var Ct=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Bt;Bt=Lt.current,Lt.current=null,Et();try{if(oe){var Tt=function(){throw Error()};if(Object.defineProperty(Tt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Tt,[])}catch(Wt){rt=Wt}Reflect.construct(O,[],Tt)}else{try{Tt.call()}catch(Wt){rt=Wt}O.call(Tt.prototype)}}else{try{throw Error()}catch(Wt){rt=Wt}O()}}catch(Wt){if(Wt&&rt&&typeof Wt.stack=="string"){for(var it=Wt.stack.split(`
|
|
188
|
-
`),ar=rt.stack.split(`
|
|
189
|
-
`),mn=it.length-1,yn=ar.length-1;mn>=1&&yn>=0&&it[mn]!==ar[yn];)yn--;for(;mn>=1&&yn>=0;mn--,yn--)if(it[mn]!==ar[yn]){if(mn!==1||yn!==1)do if(mn--,yn--,yn<0||it[mn]!==ar[yn]){var Br=`
|
|
190
|
-
`+it[mn].replace(" at new "," at ");return O.displayName&&Br.includes("<anonymous>")&&(Br=Br.replace("<anonymous>",O.displayName)),typeof O=="function"&&Vr.set(O,Br),Br}while(mn>=1&&yn>=0);break}}}finally{zn=!1,Lt.current=Bt,Pt(),Error.prepareStackTrace=Ct}var bo=O?O.displayName||O.name:"",Hc=bo?Cn(bo):"";return typeof O=="function"&&Vr.set(O,Hc),Hc}function Hn(O,oe,ke){return Hr(O,!1)}function nr(O){var oe=O.prototype;return!!(oe&&oe.isReactComponent)}function A(O,oe,ke){if(O==null)return"";if(typeof O=="function")return Hr(O,nr(O));if(typeof O=="string")return Cn(O);switch(O){case T:return Cn("Suspense");case M:return Cn("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case E:return Hn(O.render);case R:return A(O.type,oe,ke);case j:{var rt=O,Ct=rt._payload,Bt=rt._init;try{return A(Bt(Ct),oe,ke)}catch{}}}return""}var Z=Object.prototype.hasOwnProperty,G={},be=Xe.ReactDebugCurrentFrame;function Re(O){if(O){var oe=O._owner,ke=A(O.type,O._source,oe?oe.type:null);be.setExtraStackFrame(ke)}else be.setExtraStackFrame(null)}function le(O,oe,ke,rt,Ct){{var Bt=Function.call.bind(Z);for(var Tt in O)if(Bt(O,Tt)){var it=void 0;try{if(typeof O[Tt]!="function"){var ar=Error((rt||"React class")+": "+ke+" type `"+Tt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof O[Tt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ar.name="Invariant Violation",ar}it=O[Tt](oe,Tt,rt,ke,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(mn){it=mn}it&&!(it instanceof Error)&&(Re(Ct),J("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",rt||"React class",ke,Tt,typeof it),Re(null)),it instanceof Error&&!(it.message in G)&&(G[it.message]=!0,Re(Ct),J("Failed %s type: %s",ke,it.message),Re(null))}}}var Pe=Array.isArray;function $t(O){return Pe(O)}function zt(O){{var oe=typeof Symbol=="function"&&Symbol.toStringTag,ke=oe&&O[Symbol.toStringTag]||O.constructor.name||"Object";return ke}}function za(O){try{return hr(O),!1}catch{return!0}}function hr(O){return""+O}function Pr(O){if(za(O))return J("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",zt(O)),hr(O)}var On=Xe.ReactCurrentOwner,Dr={key:!0,ref:!0,__self:!0,__source:!0},gi,ea,Te;Te={};function qe(O){if(Z.call(O,"ref")){var oe=Object.getOwnPropertyDescriptor(O,"ref").get;if(oe&&oe.isReactWarning)return!1}return O.ref!==void 0}function _t(O){if(Z.call(O,"key")){var oe=Object.getOwnPropertyDescriptor(O,"key").get;if(oe&&oe.isReactWarning)return!1}return O.key!==void 0}function qt(O,oe){if(typeof O.ref=="string"&&On.current&&oe&&On.current.stateNode!==oe){var ke=fe(On.current.type);Te[ke]||(J('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',fe(On.current.type),O.ref),Te[ke]=!0)}}function En(O,oe){{var ke=function(){gi||(gi=!0,J("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",oe))};ke.isReactWarning=!0,Object.defineProperty(O,"key",{get:ke,configurable:!0})}}function rr(O,oe){{var ke=function(){ea||(ea=!0,J("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",oe))};ke.isReactWarning=!0,Object.defineProperty(O,"ref",{get:ke,configurable:!0})}}var Un=function(O,oe,ke,rt,Ct,Bt,Tt){var it={$$typeof:u,type:O,key:oe,ref:ke,props:Tt,_owner:Bt};return it._store={},Object.defineProperty(it._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(it,"_self",{configurable:!1,enumerable:!1,writable:!1,value:rt}),Object.defineProperty(it,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ct}),Object.freeze&&(Object.freeze(it.props),Object.freeze(it)),it};function ta(O,oe,ke,rt,Ct){{var Bt,Tt={},it=null,ar=null;ke!==void 0&&(Pr(ke),it=""+ke),_t(oe)&&(Pr(oe.key),it=""+oe.key),qe(oe)&&(ar=oe.ref,qt(oe,Ct));for(Bt in oe)Z.call(oe,Bt)&&!Dr.hasOwnProperty(Bt)&&(Tt[Bt]=oe[Bt]);if(O&&O.defaultProps){var mn=O.defaultProps;for(Bt in mn)Tt[Bt]===void 0&&(Tt[Bt]=mn[Bt])}if(it||ar){var yn=typeof O=="function"?O.displayName||O.name||"Unknown":O;it&&En(Tt,yn),ar&&rr(Tt,yn)}return Un(O,it,ar,Ct,rt,On.current,Tt)}}var sn=Xe.ReactCurrentOwner,ga=Xe.ReactDebugCurrentFrame;function an(O){if(O){var oe=O._owner,ke=A(O.type,O._source,oe?oe.type:null);ga.setExtraStackFrame(ke)}else ga.setExtraStackFrame(null)}var cn;cn=!1;function uu(O){return typeof O=="object"&&O!==null&&O.$$typeof===u}function ol(){{if(sn.current){var O=fe(sn.current.type);if(O)return`
|
|
191
|
-
|
|
192
|
-
Check the render method of \``+O+"`."}return""}}function su(O){{if(O!==void 0){var oe=O.fileName.replace(/^.*[\\\/]/,""),ke=O.lineNumber;return`
|
|
193
|
-
|
|
194
|
-
Check your code at `+oe+":"+ke+"."}return""}}var Ss={};function Vc(O){{var oe=ol();if(!oe){var ke=typeof O=="string"?O:O.displayName||O.name;ke&&(oe=`
|
|
195
|
-
|
|
196
|
-
Check the top-level render call using <`+ke+">.")}return oe}}function ll(O,oe){{if(!O._store||O._store.validated||O.key!=null)return;O._store.validated=!0;var ke=Vc(oe);if(Ss[ke])return;Ss[ke]=!0;var rt="";O&&O._owner&&O._owner!==sn.current&&(rt=" It was passed a child from "+fe(O._owner.type)+"."),an(O),J('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ke,rt),an(null)}}function cu(O,oe){{if(typeof O!="object")return;if($t(O))for(var ke=0;ke<O.length;ke++){var rt=O[ke];uu(rt)&&ll(rt,oe)}else if(uu(O))O._store&&(O._store.validated=!0);else if(O){var Ct=ve(O);if(typeof Ct=="function"&&Ct!==O.entries)for(var Bt=Ct.call(O),Tt;!(Tt=Bt.next()).done;)uu(Tt.value)&&ll(Tt.value,oe)}}}function ul(O){{var oe=O.type;if(oe==null||typeof oe=="string")return;var ke;if(typeof oe=="function")ke=oe.propTypes;else if(typeof oe=="object"&&(oe.$$typeof===E||oe.$$typeof===R))ke=oe.propTypes;else return;if(ke){var rt=fe(oe);le(ke,O.props,"prop",rt,O)}else if(oe.PropTypes!==void 0&&!cn){cn=!0;var Ct=fe(oe);J("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ct||"Unknown")}typeof oe.getDefaultProps=="function"&&!oe.getDefaultProps.isReactClassApproved&&J("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fu(O){{for(var oe=Object.keys(O.props),ke=0;ke<oe.length;ke++){var rt=oe[ke];if(rt!=="children"&&rt!=="key"){an(O),J("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",rt),an(null);break}}O.ref!==null&&(an(O),J("Invalid attribute `ref` supplied to `React.Fragment`."),an(null))}}function bi(O,oe,ke,rt,Ct,Bt){{var Tt=st(O);if(!Tt){var it="";(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(it+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ar=su(Ct);ar?it+=ar:it+=ol();var mn;O===null?mn="null":$t(O)?mn="array":O!==void 0&&O.$$typeof===u?(mn="<"+(fe(O.type)||"Unknown")+" />",it=" Did you accidentally export a JSX literal instead of a component?"):mn=typeof O,J("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",mn,it)}var yn=ta(O,oe,ke,Ct,Bt);if(yn==null)return yn;if(Tt){var Br=oe.children;if(Br!==void 0)if(rt)if($t(Br)){for(var bo=0;bo<Br.length;bo++)cu(Br[bo],O);Object.freeze&&Object.freeze(Br)}else J("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else cu(Br,O)}return O===p?fu(yn):ul(yn),yn}}function yo(O,oe,ke){return bi(O,oe,ke,!0)}function ba(O,oe,ke){return bi(O,oe,ke,!1)}var ri=ba,go=yo;Vd.Fragment=p,Vd.jsx=ri,Vd.jsxs=go}()),Vd}process.env.NODE_ENV==="production"?D0.exports=MR():D0.exports=NR();var Qe=D0.exports,Jt;(function(i){i.assertEqual=v=>v;function u(v){}i.assertIs=u;function c(v){throw new Error}i.assertNever=c,i.arrayToEnum=v=>{const g={};for(const m of v)g[m]=m;return g},i.getValidEnumValues=v=>{const g=i.objectKeys(v).filter(x=>typeof v[v[x]]!="number"),m={};for(const x of g)m[x]=v[x];return i.objectValues(m)},i.objectValues=v=>i.objectKeys(v).map(function(g){return v[g]}),i.objectKeys=typeof Object.keys=="function"?v=>Object.keys(v):v=>{const g=[];for(const m in v)Object.prototype.hasOwnProperty.call(v,m)&&g.push(m);return g},i.find=(v,g)=>{for(const m of v)if(g(m))return m},i.isInteger=typeof Number.isInteger=="function"?v=>Number.isInteger(v):v=>typeof v=="number"&&isFinite(v)&&Math.floor(v)===v;function p(v,g=" | "){return v.map(m=>typeof m=="string"?`'${m}'`:m).join(g)}i.joinValues=p,i.jsonStringifyReplacer=(v,g)=>typeof g=="bigint"?g.toString():g})(Jt||(Jt={}));const Ae=Jt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),tu=i=>{switch(typeof i){case"undefined":return Ae.undefined;case"string":return Ae.string;case"number":return isNaN(i)?Ae.nan:Ae.number;case"boolean":return Ae.boolean;case"function":return Ae.function;case"bigint":return Ae.bigint;case"symbol":return Ae.symbol;case"object":return Array.isArray(i)?Ae.array:i===null?Ae.null:i.then&&typeof i.then=="function"&&i.catch&&typeof i.catch=="function"?Ae.promise:typeof Map<"u"&&i instanceof Map?Ae.map:typeof Set<"u"&&i instanceof Set?Ae.set:typeof Date<"u"&&i instanceof Date?Ae.date:Ae.object;default:return Ae.unknown}},we=Jt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),AR=i=>JSON.stringify(i,null,2).replace(/"([^"]+)":/g,"$1:");class tl extends Error{constructor(u){super(),this.issues=[],this.addIssue=p=>{this.issues=[...this.issues,p]},this.addIssues=(p=[])=>{this.issues=[...this.issues,...p]};const c=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,c):this.__proto__=c,this.name="ZodError",this.issues=u}get errors(){return this.issues}format(u){const c=u||function(g){return g.message},p={_errors:[]},v=g=>{for(const m of g.issues)if(m.code==="invalid_union")m.unionErrors.map(v);else if(m.code==="invalid_return_type")v(m.returnTypeError);else if(m.code==="invalid_arguments")v(m.argumentsError);else if(m.path.length===0)p._errors.push(c(m));else{let x=p,E=0;for(;E<m.path.length;){const T=m.path[E];E===m.path.length-1?(x[T]=x[T]||{_errors:[]},x[T]._errors.push(c(m))):x[T]=x[T]||{_errors:[]},x=x[T],E++}}};return v(this),p}toString(){return this.message}get message(){return JSON.stringify(this.issues,Jt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(u=c=>c.message){const c={},p=[];for(const v of this.issues)v.path.length>0?(c[v.path[0]]=c[v.path[0]]||[],c[v.path[0]].push(u(v))):p.push(u(v));return{formErrors:p,fieldErrors:c}}get formErrors(){return this.flatten()}}tl.create=i=>new tl(i);const Hd=(i,u)=>{let c;switch(i.code){case we.invalid_type:i.received===Ae.undefined?c="Required":c=`Expected ${i.expected}, received ${i.received}`;break;case we.invalid_literal:c=`Invalid literal value, expected ${JSON.stringify(i.expected,Jt.jsonStringifyReplacer)}`;break;case we.unrecognized_keys:c=`Unrecognized key(s) in object: ${Jt.joinValues(i.keys,", ")}`;break;case we.invalid_union:c="Invalid input";break;case we.invalid_union_discriminator:c=`Invalid discriminator value. Expected ${Jt.joinValues(i.options)}`;break;case we.invalid_enum_value:c=`Invalid enum value. Expected ${Jt.joinValues(i.options)}, received '${i.received}'`;break;case we.invalid_arguments:c="Invalid function arguments";break;case we.invalid_return_type:c="Invalid function return type";break;case we.invalid_date:c="Invalid date";break;case we.invalid_string:typeof i.validation=="object"?"startsWith"in i.validation?c=`Invalid input: must start with "${i.validation.startsWith}"`:"endsWith"in i.validation?c=`Invalid input: must end with "${i.validation.endsWith}"`:Jt.assertNever(i.validation):i.validation!=="regex"?c=`Invalid ${i.validation}`:c="Invalid";break;case we.too_small:i.type==="array"?c=`Array must contain ${i.exact?"exactly":i.inclusive?"at least":"more than"} ${i.minimum} element(s)`:i.type==="string"?c=`String must contain ${i.exact?"exactly":i.inclusive?"at least":"over"} ${i.minimum} character(s)`:i.type==="number"?c=`Number must be ${i.exact?"exactly equal to ":i.inclusive?"greater than or equal to ":"greater than "}${i.minimum}`:i.type==="date"?c=`Date must be ${i.exact?"exactly equal to ":i.inclusive?"greater than or equal to ":"greater than "}${new Date(i.minimum)}`:c="Invalid input";break;case we.too_big:i.type==="array"?c=`Array must contain ${i.exact?"exactly":i.inclusive?"at most":"less than"} ${i.maximum} element(s)`:i.type==="string"?c=`String must contain ${i.exact?"exactly":i.inclusive?"at most":"under"} ${i.maximum} character(s)`:i.type==="number"?c=`Number must be ${i.exact?"exactly":i.inclusive?"less than or equal to":"less than"} ${i.maximum}`:i.type==="date"?c=`Date must be ${i.exact?"exactly":i.inclusive?"smaller than or equal to":"smaller than"} ${new Date(i.maximum)}`:c="Invalid input";break;case we.custom:c="Invalid input";break;case we.invalid_intersection_types:c="Intersection results could not be merged";break;case we.not_multiple_of:c=`Number must be a multiple of ${i.multipleOf}`;break;case we.not_finite:c="Number must be finite";break;default:c=u.defaultError,Jt.assertNever(i)}return{message:c}};let mw=Hd;function LR(i){mw=i}function Ah(){return mw}const Lh=i=>{const{data:u,path:c,errorMaps:p,issueData:v}=i,g=[...c,...v.path||[]],m={...v,path:g};let x="";const E=p.filter(T=>!!T).slice().reverse();for(const T of E)x=T(m,{data:u,defaultError:x}).message;return{...v,path:g,message:v.message||x}},zR=[];function Ye(i,u){const c=Lh({issueData:u,data:i.data,path:i.path,errorMaps:[i.common.contextualErrorMap,i.schemaErrorMap,Ah(),Hd].filter(p=>!!p)});i.common.issues.push(c)}class ma{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(u,c){const p=[];for(const v of c){if(v.status==="aborted")return wt;v.status==="dirty"&&u.dirty(),p.push(v.value)}return{status:u.value,value:p}}static async mergeObjectAsync(u,c){const p=[];for(const v of c)p.push({key:await v.key,value:await v.value});return ma.mergeObjectSync(u,p)}static mergeObjectSync(u,c){const p={};for(const v of c){const{key:g,value:m}=v;if(g.status==="aborted"||m.status==="aborted")return wt;g.status==="dirty"&&u.dirty(),m.status==="dirty"&&u.dirty(),(typeof m.value<"u"||v.alwaysSet)&&(p[g.value]=m.value)}return{status:u.value,value:p}}}const wt=Object.freeze({status:"aborted"}),yw=i=>({status:"dirty",value:i}),qr=i=>({status:"valid",value:i}),O0=i=>i.status==="aborted",M0=i=>i.status==="dirty",zh=i=>i.status==="valid",Uh=i=>typeof Promise<"u"&&i instanceof Promise;var Ut;(function(i){i.errToObj=u=>typeof u=="string"?{message:u}:u||{},i.toString=u=>typeof u=="string"?u:u==null?void 0:u.message})(Ut||(Ut={}));class vo{constructor(u,c,p,v){this.parent=u,this.data=c,this._path=p,this._key=v}get path(){return this._path.concat(this._key)}}const gw=(i,u)=>{if(zh(u))return{success:!0,data:u.value};if(!i.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,error:new tl(i.common.issues)}};function kt(i){if(!i)return{};const{errorMap:u,invalid_type_error:c,required_error:p,description:v}=i;if(u&&(c||p))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return u?{errorMap:u,description:v}:{errorMap:(m,x)=>m.code!=="invalid_type"?{message:x.defaultError}:typeof x.data>"u"?{message:p??x.defaultError}:{message:c??x.defaultError},description:v}}class Ot{constructor(u){this.spa=this.safeParseAsync,this._def=u,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(u){return tu(u.data)}_getOrReturnCtx(u,c){return c||{common:u.parent.common,data:u.data,parsedType:tu(u.data),schemaErrorMap:this._def.errorMap,path:u.path,parent:u.parent}}_processInputParams(u){return{status:new ma,ctx:{common:u.parent.common,data:u.data,parsedType:tu(u.data),schemaErrorMap:this._def.errorMap,path:u.path,parent:u.parent}}}_parseSync(u){const c=this._parse(u);if(Uh(c))throw new Error("Synchronous parse encountered promise.");return c}_parseAsync(u){const c=this._parse(u);return Promise.resolve(c)}parse(u,c){const p=this.safeParse(u,c);if(p.success)return p.data;throw p.error}safeParse(u,c){var p;const v={common:{issues:[],async:(p=c==null?void 0:c.async)!==null&&p!==void 0?p:!1,contextualErrorMap:c==null?void 0:c.errorMap},path:(c==null?void 0:c.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:u,parsedType:tu(u)},g=this._parseSync({data:u,path:v.path,parent:v});return gw(v,g)}async parseAsync(u,c){const p=await this.safeParseAsync(u,c);if(p.success)return p.data;throw p.error}async safeParseAsync(u,c){const p={common:{issues:[],contextualErrorMap:c==null?void 0:c.errorMap,async:!0},path:(c==null?void 0:c.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:u,parsedType:tu(u)},v=this._parse({data:u,path:p.path,parent:p}),g=await(Uh(v)?v:Promise.resolve(v));return gw(p,g)}refine(u,c){const p=v=>typeof c=="string"||typeof c>"u"?{message:c}:typeof c=="function"?c(v):c;return this._refinement((v,g)=>{const m=u(v),x=()=>g.addIssue({code:we.custom,...p(v)});return typeof Promise<"u"&&m instanceof Promise?m.then(E=>E?!0:(x(),!1)):m?!0:(x(),!1)})}refinement(u,c){return this._refinement((p,v)=>u(p)?!0:(v.addIssue(typeof c=="function"?c(p,v):c),!1))}_refinement(u){return new Ui({schema:this,typeName:ht.ZodEffects,effect:{type:"refinement",refinement:u}})}superRefine(u){return this._refinement(u)}optional(){return al.create(this,this._def)}nullable(){return hs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return zi.create(this,this._def)}promise(){return Lc.create(this,this._def)}or(u){return Wd.create([this,u],this._def)}and(u){return Yd.create(this,u,this._def)}transform(u){return new Ui({...kt(this._def),schema:this,typeName:ht.ZodEffects,effect:{type:"transform",transform:u}})}default(u){const c=typeof u=="function"?u:()=>u;return new Kd({...kt(this._def),innerType:this,defaultValue:c,typeName:ht.ZodDefault})}brand(){return new Sw({typeName:ht.ZodBranded,type:this,...kt(this._def)})}catch(u){const c=typeof u=="function"?u:()=>u;return new Ih({...kt(this._def),innerType:this,catchValue:c,typeName:ht.ZodCatch})}describe(u){const c=this.constructor;return new c({...this._def,description:u})}pipe(u){return Jd.create(this,u)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const UR=/^c[^\s-]{8,}$/i,jR=/^[a-z][a-z0-9]*$/,FR=/^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i,VR=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|([^-]([a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}))$/,HR=i=>i.precision?i.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${i.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${i.precision}}Z$`):i.precision===0?i.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):i.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");class nl extends Ot{constructor(){super(...arguments),this._regex=(u,c,p)=>this.refinement(v=>u.test(v),{validation:c,code:we.invalid_string,...Ut.errToObj(p)}),this.nonempty=u=>this.min(1,Ut.errToObj(u)),this.trim=()=>new nl({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}_parse(u){if(this._def.coerce&&(u.data=String(u.data)),this._getType(u)!==Ae.string){const g=this._getOrReturnCtx(u);return Ye(g,{code:we.invalid_type,expected:Ae.string,received:g.parsedType}),wt}const p=new ma;let v;for(const g of this._def.checks)if(g.kind==="min")u.data.length<g.value&&(v=this._getOrReturnCtx(u,v),Ye(v,{code:we.too_small,minimum:g.value,type:"string",inclusive:!0,exact:!1,message:g.message}),p.dirty());else if(g.kind==="max")u.data.length>g.value&&(v=this._getOrReturnCtx(u,v),Ye(v,{code:we.too_big,maximum:g.value,type:"string",inclusive:!0,exact:!1,message:g.message}),p.dirty());else if(g.kind==="length"){const m=u.data.length>g.value,x=u.data.length<g.value;(m||x)&&(v=this._getOrReturnCtx(u,v),m?Ye(v,{code:we.too_big,maximum:g.value,type:"string",inclusive:!0,exact:!0,message:g.message}):x&&Ye(v,{code:we.too_small,minimum:g.value,type:"string",inclusive:!0,exact:!0,message:g.message}),p.dirty())}else if(g.kind==="email")VR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"email",code:we.invalid_string,message:g.message}),p.dirty());else if(g.kind==="uuid")FR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"uuid",code:we.invalid_string,message:g.message}),p.dirty());else if(g.kind==="cuid")UR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"cuid",code:we.invalid_string,message:g.message}),p.dirty());else if(g.kind==="cuid2")jR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"cuid2",code:we.invalid_string,message:g.message}),p.dirty());else if(g.kind==="url")try{new URL(u.data)}catch{v=this._getOrReturnCtx(u,v),Ye(v,{validation:"url",code:we.invalid_string,message:g.message}),p.dirty()}else g.kind==="regex"?(g.regex.lastIndex=0,g.regex.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"regex",code:we.invalid_string,message:g.message}),p.dirty())):g.kind==="trim"?u.data=u.data.trim():g.kind==="startsWith"?u.data.startsWith(g.value)||(v=this._getOrReturnCtx(u,v),Ye(v,{code:we.invalid_string,validation:{startsWith:g.value},message:g.message}),p.dirty()):g.kind==="endsWith"?u.data.endsWith(g.value)||(v=this._getOrReturnCtx(u,v),Ye(v,{code:we.invalid_string,validation:{endsWith:g.value},message:g.message}),p.dirty()):g.kind==="datetime"?HR(g).test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{code:we.invalid_string,validation:"datetime",message:g.message}),p.dirty()):Jt.assertNever(g);return{status:p.value,value:u.data}}_addCheck(u){return new nl({...this._def,checks:[...this._def.checks,u]})}email(u){return this._addCheck({kind:"email",...Ut.errToObj(u)})}url(u){return this._addCheck({kind:"url",...Ut.errToObj(u)})}uuid(u){return this._addCheck({kind:"uuid",...Ut.errToObj(u)})}cuid(u){return this._addCheck({kind:"cuid",...Ut.errToObj(u)})}cuid2(u){return this._addCheck({kind:"cuid2",...Ut.errToObj(u)})}datetime(u){var c;return typeof u=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:u}):this._addCheck({kind:"datetime",precision:typeof(u==null?void 0:u.precision)>"u"?null:u==null?void 0:u.precision,offset:(c=u==null?void 0:u.offset)!==null&&c!==void 0?c:!1,...Ut.errToObj(u==null?void 0:u.message)})}regex(u,c){return this._addCheck({kind:"regex",regex:u,...Ut.errToObj(c)})}startsWith(u,c){return this._addCheck({kind:"startsWith",value:u,...Ut.errToObj(c)})}endsWith(u,c){return this._addCheck({kind:"endsWith",value:u,...Ut.errToObj(c)})}min(u,c){return this._addCheck({kind:"min",value:u,...Ut.errToObj(c)})}max(u,c){return this._addCheck({kind:"max",value:u,...Ut.errToObj(c)})}length(u,c){return this._addCheck({kind:"length",value:u,...Ut.errToObj(c)})}get isDatetime(){return!!this._def.checks.find(u=>u.kind==="datetime")}get isEmail(){return!!this._def.checks.find(u=>u.kind==="email")}get isURL(){return!!this._def.checks.find(u=>u.kind==="url")}get isUUID(){return!!this._def.checks.find(u=>u.kind==="uuid")}get isCUID(){return!!this._def.checks.find(u=>u.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(u=>u.kind==="cuid2")}get minLength(){let u=null;for(const c of this._def.checks)c.kind==="min"&&(u===null||c.value>u)&&(u=c.value);return u}get maxLength(){let u=null;for(const c of this._def.checks)c.kind==="max"&&(u===null||c.value<u)&&(u=c.value);return u}}nl.create=i=>{var u;return new nl({checks:[],typeName:ht.ZodString,coerce:(u=i==null?void 0:i.coerce)!==null&&u!==void 0?u:!1,...kt(i)})};function PR(i,u){const c=(i.toString().split(".")[1]||"").length,p=(u.toString().split(".")[1]||"").length,v=c>p?c:p,g=parseInt(i.toFixed(v).replace(".","")),m=parseInt(u.toFixed(v).replace(".",""));return g%m/Math.pow(10,v)}class nu extends Ot{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(u){if(this._def.coerce&&(u.data=Number(u.data)),this._getType(u)!==Ae.number){const g=this._getOrReturnCtx(u);return Ye(g,{code:we.invalid_type,expected:Ae.number,received:g.parsedType}),wt}let p;const v=new ma;for(const g of this._def.checks)g.kind==="int"?Jt.isInteger(u.data)||(p=this._getOrReturnCtx(u,p),Ye(p,{code:we.invalid_type,expected:"integer",received:"float",message:g.message}),v.dirty()):g.kind==="min"?(g.inclusive?u.data<g.value:u.data<=g.value)&&(p=this._getOrReturnCtx(u,p),Ye(p,{code:we.too_small,minimum:g.value,type:"number",inclusive:g.inclusive,exact:!1,message:g.message}),v.dirty()):g.kind==="max"?(g.inclusive?u.data>g.value:u.data>=g.value)&&(p=this._getOrReturnCtx(u,p),Ye(p,{code:we.too_big,maximum:g.value,type:"number",inclusive:g.inclusive,exact:!1,message:g.message}),v.dirty()):g.kind==="multipleOf"?PR(u.data,g.value)!==0&&(p=this._getOrReturnCtx(u,p),Ye(p,{code:we.not_multiple_of,multipleOf:g.value,message:g.message}),v.dirty()):g.kind==="finite"?Number.isFinite(u.data)||(p=this._getOrReturnCtx(u,p),Ye(p,{code:we.not_finite,message:g.message}),v.dirty()):Jt.assertNever(g);return{status:v.value,value:u.data}}gte(u,c){return this.setLimit("min",u,!0,Ut.toString(c))}gt(u,c){return this.setLimit("min",u,!1,Ut.toString(c))}lte(u,c){return this.setLimit("max",u,!0,Ut.toString(c))}lt(u,c){return this.setLimit("max",u,!1,Ut.toString(c))}setLimit(u,c,p,v){return new nu({...this._def,checks:[...this._def.checks,{kind:u,value:c,inclusive:p,message:Ut.toString(v)}]})}_addCheck(u){return new nu({...this._def,checks:[...this._def.checks,u]})}int(u){return this._addCheck({kind:"int",message:Ut.toString(u)})}positive(u){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ut.toString(u)})}negative(u){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ut.toString(u)})}nonpositive(u){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ut.toString(u)})}nonnegative(u){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ut.toString(u)})}multipleOf(u,c){return this._addCheck({kind:"multipleOf",value:u,message:Ut.toString(c)})}finite(u){return this._addCheck({kind:"finite",message:Ut.toString(u)})}get minValue(){let u=null;for(const c of this._def.checks)c.kind==="min"&&(u===null||c.value>u)&&(u=c.value);return u}get maxValue(){let u=null;for(const c of this._def.checks)c.kind==="max"&&(u===null||c.value<u)&&(u=c.value);return u}get isInt(){return!!this._def.checks.find(u=>u.kind==="int"||u.kind==="multipleOf"&&Jt.isInteger(u.value))}get isFinite(){let u=null,c=null;for(const p of this._def.checks){if(p.kind==="finite"||p.kind==="int"||p.kind==="multipleOf")return!0;p.kind==="min"?(c===null||p.value>c)&&(c=p.value):p.kind==="max"&&(u===null||p.value<u)&&(u=p.value)}return Number.isFinite(c)&&Number.isFinite(u)}}nu.create=i=>new nu({checks:[],typeName:ht.ZodNumber,coerce:(i==null?void 0:i.coerce)||!1,...kt(i)});class Pd extends Ot{_parse(u){if(this._def.coerce&&(u.data=BigInt(u.data)),this._getType(u)!==Ae.bigint){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.bigint,received:p.parsedType}),wt}return qr(u.data)}}Pd.create=i=>{var u;return new Pd({typeName:ht.ZodBigInt,coerce:(u=i==null?void 0:i.coerce)!==null&&u!==void 0?u:!1,...kt(i)})};class Bd extends Ot{_parse(u){if(this._def.coerce&&(u.data=!!u.data),this._getType(u)!==Ae.boolean){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.boolean,received:p.parsedType}),wt}return qr(u.data)}}Bd.create=i=>new Bd({typeName:ht.ZodBoolean,coerce:(i==null?void 0:i.coerce)||!1,...kt(i)});class ds extends Ot{_parse(u){if(this._def.coerce&&(u.data=new Date(u.data)),this._getType(u)!==Ae.date){const g=this._getOrReturnCtx(u);return Ye(g,{code:we.invalid_type,expected:Ae.date,received:g.parsedType}),wt}if(isNaN(u.data.getTime())){const g=this._getOrReturnCtx(u);return Ye(g,{code:we.invalid_date}),wt}const p=new ma;let v;for(const g of this._def.checks)g.kind==="min"?u.data.getTime()<g.value&&(v=this._getOrReturnCtx(u,v),Ye(v,{code:we.too_small,message:g.message,inclusive:!0,exact:!1,minimum:g.value,type:"date"}),p.dirty()):g.kind==="max"?u.data.getTime()>g.value&&(v=this._getOrReturnCtx(u,v),Ye(v,{code:we.too_big,message:g.message,inclusive:!0,exact:!1,maximum:g.value,type:"date"}),p.dirty()):Jt.assertNever(g);return{status:p.value,value:new Date(u.data.getTime())}}_addCheck(u){return new ds({...this._def,checks:[...this._def.checks,u]})}min(u,c){return this._addCheck({kind:"min",value:u.getTime(),message:Ut.toString(c)})}max(u,c){return this._addCheck({kind:"max",value:u.getTime(),message:Ut.toString(c)})}get minDate(){let u=null;for(const c of this._def.checks)c.kind==="min"&&(u===null||c.value>u)&&(u=c.value);return u!=null?new Date(u):null}get maxDate(){let u=null;for(const c of this._def.checks)c.kind==="max"&&(u===null||c.value<u)&&(u=c.value);return u!=null?new Date(u):null}}ds.create=i=>new ds({checks:[],coerce:(i==null?void 0:i.coerce)||!1,typeName:ht.ZodDate,...kt(i)});class jh extends Ot{_parse(u){if(this._getType(u)!==Ae.symbol){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.symbol,received:p.parsedType}),wt}return qr(u.data)}}jh.create=i=>new jh({typeName:ht.ZodSymbol,...kt(i)});class Id extends Ot{_parse(u){if(this._getType(u)!==Ae.undefined){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.undefined,received:p.parsedType}),wt}return qr(u.data)}}Id.create=i=>new Id({typeName:ht.ZodUndefined,...kt(i)});class $d extends Ot{_parse(u){if(this._getType(u)!==Ae.null){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.null,received:p.parsedType}),wt}return qr(u.data)}}$d.create=i=>new $d({typeName:ht.ZodNull,...kt(i)});class Mc extends Ot{constructor(){super(...arguments),this._any=!0}_parse(u){return qr(u.data)}}Mc.create=i=>new Mc({typeName:ht.ZodAny,...kt(i)});class ps extends Ot{constructor(){super(...arguments),this._unknown=!0}_parse(u){return qr(u.data)}}ps.create=i=>new ps({typeName:ht.ZodUnknown,...kt(i)});class rl extends Ot{_parse(u){const c=this._getOrReturnCtx(u);return Ye(c,{code:we.invalid_type,expected:Ae.never,received:c.parsedType}),wt}}rl.create=i=>new rl({typeName:ht.ZodNever,...kt(i)});class Fh extends Ot{_parse(u){if(this._getType(u)!==Ae.undefined){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.void,received:p.parsedType}),wt}return qr(u.data)}}Fh.create=i=>new Fh({typeName:ht.ZodVoid,...kt(i)});class zi extends Ot{_parse(u){const{ctx:c,status:p}=this._processInputParams(u),v=this._def;if(c.parsedType!==Ae.array)return Ye(c,{code:we.invalid_type,expected:Ae.array,received:c.parsedType}),wt;if(v.exactLength!==null){const m=c.data.length>v.exactLength.value,x=c.data.length<v.exactLength.value;(m||x)&&(Ye(c,{code:m?we.too_big:we.too_small,minimum:x?v.exactLength.value:void 0,maximum:m?v.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:v.exactLength.message}),p.dirty())}if(v.minLength!==null&&c.data.length<v.minLength.value&&(Ye(c,{code:we.too_small,minimum:v.minLength.value,type:"array",inclusive:!0,exact:!1,message:v.minLength.message}),p.dirty()),v.maxLength!==null&&c.data.length>v.maxLength.value&&(Ye(c,{code:we.too_big,maximum:v.maxLength.value,type:"array",inclusive:!0,exact:!1,message:v.maxLength.message}),p.dirty()),c.common.async)return Promise.all([...c.data].map((m,x)=>v.type._parseAsync(new vo(c,m,c.path,x)))).then(m=>ma.mergeArray(p,m));const g=[...c.data].map((m,x)=>v.type._parseSync(new vo(c,m,c.path,x)));return ma.mergeArray(p,g)}get element(){return this._def.type}min(u,c){return new zi({...this._def,minLength:{value:u,message:Ut.toString(c)}})}max(u,c){return new zi({...this._def,maxLength:{value:u,message:Ut.toString(c)}})}length(u,c){return new zi({...this._def,exactLength:{value:u,message:Ut.toString(c)}})}nonempty(u){return this.min(1,u)}}zi.create=(i,u)=>new zi({type:i,minLength:null,maxLength:null,exactLength:null,typeName:ht.ZodArray,...kt(u)});var Vh;(function(i){i.mergeShapes=(u,c)=>({...u,...c})})(Vh||(Vh={}));function Nc(i){if(i instanceof Ln){const u={};for(const c in i.shape){const p=i.shape[c];u[c]=al.create(Nc(p))}return new Ln({...i._def,shape:()=>u})}else return i instanceof zi?zi.create(Nc(i.element)):i instanceof al?al.create(Nc(i.unwrap())):i instanceof hs?hs.create(Nc(i.unwrap())):i instanceof ho?ho.create(i.items.map(u=>Nc(u))):i}class Ln extends Ot{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const u=this._def.shape(),c=Jt.objectKeys(u);return this._cached={shape:u,keys:c}}_parse(u){if(this._getType(u)!==Ae.object){const T=this._getOrReturnCtx(u);return Ye(T,{code:we.invalid_type,expected:Ae.object,received:T.parsedType}),wt}const{status:p,ctx:v}=this._processInputParams(u),{shape:g,keys:m}=this._getCached(),x=[];if(!(this._def.catchall instanceof rl&&this._def.unknownKeys==="strip"))for(const T in v.data)m.includes(T)||x.push(T);const E=[];for(const T of m){const M=g[T],R=v.data[T];E.push({key:{status:"valid",value:T},value:M._parse(new vo(v,R,v.path,T)),alwaysSet:T in v.data})}if(this._def.catchall instanceof rl){const T=this._def.unknownKeys;if(T==="passthrough")for(const M of x)E.push({key:{status:"valid",value:M},value:{status:"valid",value:v.data[M]}});else if(T==="strict")x.length>0&&(Ye(v,{code:we.unrecognized_keys,keys:x}),p.dirty());else if(T!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const T=this._def.catchall;for(const M of x){const R=v.data[M];E.push({key:{status:"valid",value:M},value:T._parse(new vo(v,R,v.path,M)),alwaysSet:M in v.data})}}return v.common.async?Promise.resolve().then(async()=>{const T=[];for(const M of E){const R=await M.key;T.push({key:R,value:await M.value,alwaysSet:M.alwaysSet})}return T}).then(T=>ma.mergeObjectSync(p,T)):ma.mergeObjectSync(p,E)}get shape(){return this._def.shape()}strict(u){return Ut.errToObj,new Ln({...this._def,unknownKeys:"strict",...u!==void 0?{errorMap:(c,p)=>{var v,g,m,x;const E=(m=(g=(v=this._def).errorMap)===null||g===void 0?void 0:g.call(v,c,p).message)!==null&&m!==void 0?m:p.defaultError;return c.code==="unrecognized_keys"?{message:(x=Ut.errToObj(u).message)!==null&&x!==void 0?x:E}:{message:E}}}:{}})}strip(){return new Ln({...this._def,unknownKeys:"strip"})}passthrough(){return new Ln({...this._def,unknownKeys:"passthrough"})}extend(u){return new Ln({...this._def,shape:()=>({...this._def.shape(),...u})})}merge(u){return new Ln({unknownKeys:u._def.unknownKeys,catchall:u._def.catchall,shape:()=>Vh.mergeShapes(this._def.shape(),u._def.shape()),typeName:ht.ZodObject})}setKey(u,c){return this.augment({[u]:c})}catchall(u){return new Ln({...this._def,catchall:u})}pick(u){const c={};return Jt.objectKeys(u).forEach(p=>{u[p]&&this.shape[p]&&(c[p]=this.shape[p])}),new Ln({...this._def,shape:()=>c})}omit(u){const c={};return Jt.objectKeys(this.shape).forEach(p=>{u[p]||(c[p]=this.shape[p])}),new Ln({...this._def,shape:()=>c})}deepPartial(){return Nc(this)}partial(u){const c={};return Jt.objectKeys(this.shape).forEach(p=>{const v=this.shape[p];u&&!u[p]?c[p]=v:c[p]=v.optional()}),new Ln({...this._def,shape:()=>c})}required(u){const c={};return Jt.objectKeys(this.shape).forEach(p=>{if(u&&!u[p])c[p]=this.shape[p];else{let g=this.shape[p];for(;g instanceof al;)g=g._def.innerType;c[p]=g}}),new Ln({...this._def,shape:()=>c})}keyof(){return bw(Jt.objectKeys(this.shape))}}Ln.create=(i,u)=>new Ln({shape:()=>i,unknownKeys:"strip",catchall:rl.create(),typeName:ht.ZodObject,...kt(u)}),Ln.strictCreate=(i,u)=>new Ln({shape:()=>i,unknownKeys:"strict",catchall:rl.create(),typeName:ht.ZodObject,...kt(u)}),Ln.lazycreate=(i,u)=>new Ln({shape:i,unknownKeys:"strip",catchall:rl.create(),typeName:ht.ZodObject,...kt(u)});class Wd extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u),p=this._def.options;function v(g){for(const x of g)if(x.result.status==="valid")return x.result;for(const x of g)if(x.result.status==="dirty")return c.common.issues.push(...x.ctx.common.issues),x.result;const m=g.map(x=>new tl(x.ctx.common.issues));return Ye(c,{code:we.invalid_union,unionErrors:m}),wt}if(c.common.async)return Promise.all(p.map(async g=>{const m={...c,common:{...c.common,issues:[]},parent:null};return{result:await g._parseAsync({data:c.data,path:c.path,parent:m}),ctx:m}})).then(v);{let g;const m=[];for(const E of p){const T={...c,common:{...c.common,issues:[]},parent:null},M=E._parseSync({data:c.data,path:c.path,parent:T});if(M.status==="valid")return M;M.status==="dirty"&&!g&&(g={result:M,ctx:T}),T.common.issues.length&&m.push(T.common.issues)}if(g)return c.common.issues.push(...g.ctx.common.issues),g.result;const x=m.map(E=>new tl(E));return Ye(c,{code:we.invalid_union,unionErrors:x}),wt}}get options(){return this._def.options}}Wd.create=(i,u)=>new Wd({options:i,typeName:ht.ZodUnion,...kt(u)});const Hh=i=>i instanceof Gd?Hh(i.schema):i instanceof Ui?Hh(i.innerType()):i instanceof Qd?[i.value]:i instanceof ru?i.options:i instanceof Xd?Object.keys(i.enum):i instanceof Kd?Hh(i._def.innerType):i instanceof Id?[void 0]:i instanceof $d?[null]:null;class Ph extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u);if(c.parsedType!==Ae.object)return Ye(c,{code:we.invalid_type,expected:Ae.object,received:c.parsedType}),wt;const p=this.discriminator,v=c.data[p],g=this.optionsMap.get(v);return g?c.common.async?g._parseAsync({data:c.data,path:c.path,parent:c}):g._parseSync({data:c.data,path:c.path,parent:c}):(Ye(c,{code:we.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[p]}),wt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(u,c,p){const v=new Map;for(const g of c){const m=Hh(g.shape[u]);if(!m)throw new Error(`A discriminator value for key \`${u}\` could not be extracted from all schema options`);for(const x of m){if(v.has(x))throw new Error(`Discriminator property ${String(u)} has duplicate value ${String(x)}`);v.set(x,g)}}return new Ph({typeName:ht.ZodDiscriminatedUnion,discriminator:u,options:c,optionsMap:v,...kt(p)})}}function N0(i,u){const c=tu(i),p=tu(u);if(i===u)return{valid:!0,data:i};if(c===Ae.object&&p===Ae.object){const v=Jt.objectKeys(u),g=Jt.objectKeys(i).filter(x=>v.indexOf(x)!==-1),m={...i,...u};for(const x of g){const E=N0(i[x],u[x]);if(!E.valid)return{valid:!1};m[x]=E.data}return{valid:!0,data:m}}else if(c===Ae.array&&p===Ae.array){if(i.length!==u.length)return{valid:!1};const v=[];for(let g=0;g<i.length;g++){const m=i[g],x=u[g],E=N0(m,x);if(!E.valid)return{valid:!1};v.push(E.data)}return{valid:!0,data:v}}else return c===Ae.date&&p===Ae.date&&+i==+u?{valid:!0,data:i}:{valid:!1}}class Yd extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u),v=(g,m)=>{if(O0(g)||O0(m))return wt;const x=N0(g.value,m.value);return x.valid?((M0(g)||M0(m))&&c.dirty(),{status:c.value,value:x.data}):(Ye(p,{code:we.invalid_intersection_types}),wt)};return p.common.async?Promise.all([this._def.left._parseAsync({data:p.data,path:p.path,parent:p}),this._def.right._parseAsync({data:p.data,path:p.path,parent:p})]).then(([g,m])=>v(g,m)):v(this._def.left._parseSync({data:p.data,path:p.path,parent:p}),this._def.right._parseSync({data:p.data,path:p.path,parent:p}))}}Yd.create=(i,u,c)=>new Yd({left:i,right:u,typeName:ht.ZodIntersection,...kt(c)});class ho extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.parsedType!==Ae.array)return Ye(p,{code:we.invalid_type,expected:Ae.array,received:p.parsedType}),wt;if(p.data.length<this._def.items.length)return Ye(p,{code:we.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),wt;!this._def.rest&&p.data.length>this._def.items.length&&(Ye(p,{code:we.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),c.dirty());const g=[...p.data].map((m,x)=>{const E=this._def.items[x]||this._def.rest;return E?E._parse(new vo(p,m,p.path,x)):null}).filter(m=>!!m);return p.common.async?Promise.all(g).then(m=>ma.mergeArray(c,m)):ma.mergeArray(c,g)}get items(){return this._def.items}rest(u){return new ho({...this._def,rest:u})}}ho.create=(i,u)=>{if(!Array.isArray(i))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ho({items:i,typeName:ht.ZodTuple,rest:null,...kt(u)})};class Zd extends Ot{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.parsedType!==Ae.object)return Ye(p,{code:we.invalid_type,expected:Ae.object,received:p.parsedType}),wt;const v=[],g=this._def.keyType,m=this._def.valueType;for(const x in p.data)v.push({key:g._parse(new vo(p,x,p.path,x)),value:m._parse(new vo(p,p.data[x],p.path,x))});return p.common.async?ma.mergeObjectAsync(c,v):ma.mergeObjectSync(c,v)}get element(){return this._def.valueType}static create(u,c,p){return c instanceof Ot?new Zd({keyType:u,valueType:c,typeName:ht.ZodRecord,...kt(p)}):new Zd({keyType:nl.create(),valueType:u,typeName:ht.ZodRecord,...kt(c)})}}class Bh extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.parsedType!==Ae.map)return Ye(p,{code:we.invalid_type,expected:Ae.map,received:p.parsedType}),wt;const v=this._def.keyType,g=this._def.valueType,m=[...p.data.entries()].map(([x,E],T)=>({key:v._parse(new vo(p,x,p.path,[T,"key"])),value:g._parse(new vo(p,E,p.path,[T,"value"]))}));if(p.common.async){const x=new Map;return Promise.resolve().then(async()=>{for(const E of m){const T=await E.key,M=await E.value;if(T.status==="aborted"||M.status==="aborted")return wt;(T.status==="dirty"||M.status==="dirty")&&c.dirty(),x.set(T.value,M.value)}return{status:c.value,value:x}})}else{const x=new Map;for(const E of m){const T=E.key,M=E.value;if(T.status==="aborted"||M.status==="aborted")return wt;(T.status==="dirty"||M.status==="dirty")&&c.dirty(),x.set(T.value,M.value)}return{status:c.value,value:x}}}}Bh.create=(i,u,c)=>new Bh({valueType:u,keyType:i,typeName:ht.ZodMap,...kt(c)});class vs extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.parsedType!==Ae.set)return Ye(p,{code:we.invalid_type,expected:Ae.set,received:p.parsedType}),wt;const v=this._def;v.minSize!==null&&p.data.size<v.minSize.value&&(Ye(p,{code:we.too_small,minimum:v.minSize.value,type:"set",inclusive:!0,exact:!1,message:v.minSize.message}),c.dirty()),v.maxSize!==null&&p.data.size>v.maxSize.value&&(Ye(p,{code:we.too_big,maximum:v.maxSize.value,type:"set",inclusive:!0,exact:!1,message:v.maxSize.message}),c.dirty());const g=this._def.valueType;function m(E){const T=new Set;for(const M of E){if(M.status==="aborted")return wt;M.status==="dirty"&&c.dirty(),T.add(M.value)}return{status:c.value,value:T}}const x=[...p.data.values()].map((E,T)=>g._parse(new vo(p,E,p.path,T)));return p.common.async?Promise.all(x).then(E=>m(E)):m(x)}min(u,c){return new vs({...this._def,minSize:{value:u,message:Ut.toString(c)}})}max(u,c){return new vs({...this._def,maxSize:{value:u,message:Ut.toString(c)}})}size(u,c){return this.min(u,c).max(u,c)}nonempty(u){return this.min(1,u)}}vs.create=(i,u)=>new vs({valueType:i,minSize:null,maxSize:null,typeName:ht.ZodSet,...kt(u)});class Ac extends Ot{constructor(){super(...arguments),this.validate=this.implement}_parse(u){const{ctx:c}=this._processInputParams(u);if(c.parsedType!==Ae.function)return Ye(c,{code:we.invalid_type,expected:Ae.function,received:c.parsedType}),wt;function p(x,E){return Lh({data:x,path:c.path,errorMaps:[c.common.contextualErrorMap,c.schemaErrorMap,Ah(),Hd].filter(T=>!!T),issueData:{code:we.invalid_arguments,argumentsError:E}})}function v(x,E){return Lh({data:x,path:c.path,errorMaps:[c.common.contextualErrorMap,c.schemaErrorMap,Ah(),Hd].filter(T=>!!T),issueData:{code:we.invalid_return_type,returnTypeError:E}})}const g={errorMap:c.common.contextualErrorMap},m=c.data;return this._def.returns instanceof Lc?qr(async(...x)=>{const E=new tl([]),T=await this._def.args.parseAsync(x,g).catch(j=>{throw E.addIssue(p(x,j)),E}),M=await m(...T);return await this._def.returns._def.type.parseAsync(M,g).catch(j=>{throw E.addIssue(v(M,j)),E})}):qr((...x)=>{const E=this._def.args.safeParse(x,g);if(!E.success)throw new tl([p(x,E.error)]);const T=m(...E.data),M=this._def.returns.safeParse(T,g);if(!M.success)throw new tl([v(T,M.error)]);return M.data})}parameters(){return this._def.args}returnType(){return this._def.returns}args(...u){return new Ac({...this._def,args:ho.create(u).rest(ps.create())})}returns(u){return new Ac({...this._def,returns:u})}implement(u){return this.parse(u)}strictImplement(u){return this.parse(u)}static create(u,c,p){return new Ac({args:u||ho.create([]).rest(ps.create()),returns:c||ps.create(),typeName:ht.ZodFunction,...kt(p)})}}class Gd extends Ot{get schema(){return this._def.getter()}_parse(u){const{ctx:c}=this._processInputParams(u);return this._def.getter()._parse({data:c.data,path:c.path,parent:c})}}Gd.create=(i,u)=>new Gd({getter:i,typeName:ht.ZodLazy,...kt(u)});class Qd extends Ot{_parse(u){if(u.data!==this._def.value){const c=this._getOrReturnCtx(u);return Ye(c,{received:c.data,code:we.invalid_literal,expected:this._def.value}),wt}return{status:"valid",value:u.data}}get value(){return this._def.value}}Qd.create=(i,u)=>new Qd({value:i,typeName:ht.ZodLiteral,...kt(u)});function bw(i,u){return new ru({values:i,typeName:ht.ZodEnum,...kt(u)})}class ru extends Ot{_parse(u){if(typeof u.data!="string"){const c=this._getOrReturnCtx(u),p=this._def.values;return Ye(c,{expected:Jt.joinValues(p),received:c.parsedType,code:we.invalid_type}),wt}if(this._def.values.indexOf(u.data)===-1){const c=this._getOrReturnCtx(u),p=this._def.values;return Ye(c,{received:c.data,code:we.invalid_enum_value,options:p}),wt}return qr(u.data)}get options(){return this._def.values}get enum(){const u={};for(const c of this._def.values)u[c]=c;return u}get Values(){const u={};for(const c of this._def.values)u[c]=c;return u}get Enum(){const u={};for(const c of this._def.values)u[c]=c;return u}extract(u){return ru.create(u)}exclude(u){return ru.create(this.options.filter(c=>!u.includes(c)))}}ru.create=bw;class Xd extends Ot{_parse(u){const c=Jt.getValidEnumValues(this._def.values),p=this._getOrReturnCtx(u);if(p.parsedType!==Ae.string&&p.parsedType!==Ae.number){const v=Jt.objectValues(c);return Ye(p,{expected:Jt.joinValues(v),received:p.parsedType,code:we.invalid_type}),wt}if(c.indexOf(u.data)===-1){const v=Jt.objectValues(c);return Ye(p,{received:p.data,code:we.invalid_enum_value,options:v}),wt}return qr(u.data)}get enum(){return this._def.values}}Xd.create=(i,u)=>new Xd({values:i,typeName:ht.ZodNativeEnum,...kt(u)});class Lc extends Ot{unwrap(){return this._def.type}_parse(u){const{ctx:c}=this._processInputParams(u);if(c.parsedType!==Ae.promise&&c.common.async===!1)return Ye(c,{code:we.invalid_type,expected:Ae.promise,received:c.parsedType}),wt;const p=c.parsedType===Ae.promise?c.data:Promise.resolve(c.data);return qr(p.then(v=>this._def.type.parseAsync(v,{path:c.path,errorMap:c.common.contextualErrorMap})))}}Lc.create=(i,u)=>new Lc({type:i,typeName:ht.ZodPromise,...kt(u)});class Ui extends Ot{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ht.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(u){const{status:c,ctx:p}=this._processInputParams(u),v=this._def.effect||null;if(v.type==="preprocess"){const m=v.transform(p.data);return p.common.async?Promise.resolve(m).then(x=>this._def.schema._parseAsync({data:x,path:p.path,parent:p})):this._def.schema._parseSync({data:m,path:p.path,parent:p})}const g={addIssue:m=>{Ye(p,m),m.fatal?c.abort():c.dirty()},get path(){return p.path}};if(g.addIssue=g.addIssue.bind(g),v.type==="refinement"){const m=x=>{const E=v.refinement(x,g);if(p.common.async)return Promise.resolve(E);if(E instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return x};if(p.common.async===!1){const x=this._def.schema._parseSync({data:p.data,path:p.path,parent:p});return x.status==="aborted"?wt:(x.status==="dirty"&&c.dirty(),m(x.value),{status:c.value,value:x.value})}else return this._def.schema._parseAsync({data:p.data,path:p.path,parent:p}).then(x=>x.status==="aborted"?wt:(x.status==="dirty"&&c.dirty(),m(x.value).then(()=>({status:c.value,value:x.value}))))}if(v.type==="transform")if(p.common.async===!1){const m=this._def.schema._parseSync({data:p.data,path:p.path,parent:p});if(!zh(m))return m;const x=v.transform(m.value,g);if(x instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:c.value,value:x}}else return this._def.schema._parseAsync({data:p.data,path:p.path,parent:p}).then(m=>zh(m)?Promise.resolve(v.transform(m.value,g)).then(x=>({status:c.value,value:x})):m);Jt.assertNever(v)}}Ui.create=(i,u,c)=>new Ui({schema:i,typeName:ht.ZodEffects,effect:u,...kt(c)}),Ui.createWithPreprocess=(i,u,c)=>new Ui({schema:u,effect:{type:"preprocess",transform:i},typeName:ht.ZodEffects,...kt(c)});class al extends Ot{_parse(u){return this._getType(u)===Ae.undefined?qr(void 0):this._def.innerType._parse(u)}unwrap(){return this._def.innerType}}al.create=(i,u)=>new al({innerType:i,typeName:ht.ZodOptional,...kt(u)});class hs extends Ot{_parse(u){return this._getType(u)===Ae.null?qr(null):this._def.innerType._parse(u)}unwrap(){return this._def.innerType}}hs.create=(i,u)=>new hs({innerType:i,typeName:ht.ZodNullable,...kt(u)});class Kd extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u);let p=c.data;return c.parsedType===Ae.undefined&&(p=this._def.defaultValue()),this._def.innerType._parse({data:p,path:c.path,parent:c})}removeDefault(){return this._def.innerType}}Kd.create=(i,u)=>new Kd({innerType:i,typeName:ht.ZodDefault,defaultValue:typeof u.default=="function"?u.default:()=>u.default,...kt(u)});class Ih extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u),p=this._def.innerType._parse({data:c.data,path:c.path,parent:{...c,common:{...c.common,issues:[]}}});return Uh(p)?p.then(v=>({status:"valid",value:v.status==="valid"?v.value:this._def.catchValue()})):{status:"valid",value:p.status==="valid"?p.value:this._def.catchValue()}}removeCatch(){return this._def.innerType}}Ih.create=(i,u)=>new Ih({innerType:i,typeName:ht.ZodCatch,catchValue:typeof u.catch=="function"?u.catch:()=>u.catch,...kt(u)});class $h extends Ot{_parse(u){if(this._getType(u)!==Ae.nan){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.nan,received:p.parsedType}),wt}return{status:"valid",value:u.data}}}$h.create=i=>new $h({typeName:ht.ZodNaN,...kt(i)});const BR=Symbol("zod_brand");class Sw extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u),p=c.data;return this._def.type._parse({data:p,path:c.path,parent:c})}unwrap(){return this._def.type}}class Jd extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.common.async)return(async()=>{const g=await this._def.in._parseAsync({data:p.data,path:p.path,parent:p});return g.status==="aborted"?wt:g.status==="dirty"?(c.dirty(),yw(g.value)):this._def.out._parseAsync({data:g.value,path:p.path,parent:p})})();{const v=this._def.in._parseSync({data:p.data,path:p.path,parent:p});return v.status==="aborted"?wt:v.status==="dirty"?(c.dirty(),{status:"dirty",value:v.value}):this._def.out._parseSync({data:v.value,path:p.path,parent:p})}}static create(u,c){return new Jd({in:u,out:c,typeName:ht.ZodPipeline})}}const xw=(i,u={},c)=>i?Mc.create().superRefine((p,v)=>{if(!i(p)){const g=typeof u=="function"?u(p):u,m=typeof g=="string"?{message:g}:g;v.addIssue({code:"custom",...m,fatal:c})}}):Mc.create(),IR={object:Ln.lazycreate};var ht;(function(i){i.ZodString="ZodString",i.ZodNumber="ZodNumber",i.ZodNaN="ZodNaN",i.ZodBigInt="ZodBigInt",i.ZodBoolean="ZodBoolean",i.ZodDate="ZodDate",i.ZodSymbol="ZodSymbol",i.ZodUndefined="ZodUndefined",i.ZodNull="ZodNull",i.ZodAny="ZodAny",i.ZodUnknown="ZodUnknown",i.ZodNever="ZodNever",i.ZodVoid="ZodVoid",i.ZodArray="ZodArray",i.ZodObject="ZodObject",i.ZodUnion="ZodUnion",i.ZodDiscriminatedUnion="ZodDiscriminatedUnion",i.ZodIntersection="ZodIntersection",i.ZodTuple="ZodTuple",i.ZodRecord="ZodRecord",i.ZodMap="ZodMap",i.ZodSet="ZodSet",i.ZodFunction="ZodFunction",i.ZodLazy="ZodLazy",i.ZodLiteral="ZodLiteral",i.ZodEnum="ZodEnum",i.ZodEffects="ZodEffects",i.ZodNativeEnum="ZodNativeEnum",i.ZodOptional="ZodOptional",i.ZodNullable="ZodNullable",i.ZodDefault="ZodDefault",i.ZodCatch="ZodCatch",i.ZodPromise="ZodPromise",i.ZodBranded="ZodBranded",i.ZodPipeline="ZodPipeline"})(ht||(ht={}));const $R=(i,u={message:`Input not instance of ${i.name}`})=>xw(c=>c instanceof i,u,!0),ww=nl.create,Cw=nu.create,WR=$h.create,YR=Pd.create,Ew=Bd.create,ZR=ds.create,GR=jh.create,QR=Id.create,XR=$d.create,KR=Mc.create,JR=ps.create,qR=rl.create,eD=Fh.create,tD=zi.create,nD=Ln.create,rD=Ln.strictCreate,aD=Wd.create,iD=Ph.create,oD=Yd.create,lD=ho.create,uD=Zd.create,sD=Bh.create,cD=vs.create,fD=Ac.create,dD=Gd.create,pD=Qd.create,vD=ru.create,hD=Xd.create,mD=Lc.create,Tw=Ui.create,yD=al.create,gD=hs.create,bD=Ui.createWithPreprocess,SD=Jd.create;var jt=Object.freeze({__proto__:null,defaultErrorMap:Hd,setErrorMap:LR,getErrorMap:Ah,makeIssue:Lh,EMPTY_PATH:zR,addIssueToContext:Ye,ParseStatus:ma,INVALID:wt,DIRTY:yw,OK:qr,isAborted:O0,isDirty:M0,isValid:zh,isAsync:Uh,get util(){return Jt},ZodParsedType:Ae,getParsedType:tu,ZodType:Ot,ZodString:nl,ZodNumber:nu,ZodBigInt:Pd,ZodBoolean:Bd,ZodDate:ds,ZodSymbol:jh,ZodUndefined:Id,ZodNull:$d,ZodAny:Mc,ZodUnknown:ps,ZodNever:rl,ZodVoid:Fh,ZodArray:zi,get objectUtil(){return Vh},ZodObject:Ln,ZodUnion:Wd,ZodDiscriminatedUnion:Ph,ZodIntersection:Yd,ZodTuple:ho,ZodRecord:Zd,ZodMap:Bh,ZodSet:vs,ZodFunction:Ac,ZodLazy:Gd,ZodLiteral:Qd,ZodEnum:ru,ZodNativeEnum:Xd,ZodPromise:Lc,ZodEffects:Ui,ZodTransformer:Ui,ZodOptional:al,ZodNullable:hs,ZodDefault:Kd,ZodCatch:Ih,ZodNaN:$h,BRAND:BR,ZodBranded:Sw,ZodPipeline:Jd,custom:xw,Schema:Ot,ZodSchema:Ot,late:IR,get ZodFirstPartyTypeKind(){return ht},coerce:{string:i=>nl.create({...i,coerce:!0}),number:i=>nu.create({...i,coerce:!0}),boolean:i=>Bd.create({...i,coerce:!0}),bigint:i=>Pd.create({...i,coerce:!0}),date:i=>ds.create({...i,coerce:!0})},any:KR,array:tD,bigint:YR,boolean:Ew,date:ZR,discriminatedUnion:iD,effect:Tw,enum:vD,function:fD,instanceof:$R,intersection:oD,lazy:dD,literal:pD,map:sD,nan:WR,nativeEnum:hD,never:qR,null:XR,nullable:gD,number:Cw,object:nD,oboolean:()=>Ew().optional(),onumber:()=>Cw().optional(),optional:yD,ostring:()=>ww().optional(),pipeline:SD,preprocess:bD,promise:mD,record:uD,set:cD,strictObject:rD,string:ww,symbol:GR,transformer:Tw,tuple:lD,undefined:QR,union:aD,unknown:JR,void:eD,NEVER:wt,ZodIssueCode:we,quotelessJson:AR,ZodError:tl});const xD=jt.union([jt.string(),jt.number(),jt.date()]).transform(i=>typeof i=="object"&&typeof i.getMonth=="function"?i.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"}):i.toString());jt.string().url(),jt.any();const wD=jt.any();jt.object({children:wD}),jt.object({id:jt.string().optional(),className:jt.string().optional(),ariaLabel:jt.string().optional(),dataAttb:jt.record(jt.string(),jt.string()).optional()});const A0=jt.lazy(()=>jt.object({key:jt.number().optional(),type:jt.any(),theme:jt.string().or(jt.record(jt.string(),jt.string())).optional(),bind:jt.string().optional(),label:jt.string().optional(),items:jt.any().array()}));jt.object({header:jt.array(A0),main:jt.array(A0),footer:jt.array(A0)}),jt.object({banner:jt.string().optional(),bannerColor:jt.string().optional(),colorPrimary:jt.string().optional(),colorAccent:jt.string().optional(),fontTitle:jt.string().optional(),fontText:jt.string().optional()});var qd=i=>i.type==="checkbox",zc=i=>i instanceof Date,ya=i=>i==null;const kw=i=>typeof i=="object";var vr=i=>!ya(i)&&!Array.isArray(i)&&kw(i)&&!zc(i),_w=i=>vr(i)&&i.target?qd(i.target)?i.target.checked:i.target.value:i,CD=i=>i.substring(0,i.search(/\.\d+(\.|$)/))||i,Rw=(i,u)=>i.has(CD(u)),ep=i=>Array.isArray(i)?i.filter(Boolean):[],tr=i=>i===void 0,Le=(i,u,c)=>{if(!u||!vr(i))return c;const p=ep(u.split(/[,[\].]+?/)).reduce((v,g)=>ya(v)?v:v[g],i);return tr(p)||p===i?tr(i[u])?c:i[u]:p};const Wh={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ji={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},il={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},ED=I.createContext(null),L0=()=>I.useContext(ED);var Dw=(i,u,c,p=!0)=>{const v={defaultValues:u._defaultValues};for(const g in i)Object.defineProperty(v,g,{get:()=>{const m=g;return u._proxyFormState[m]!==ji.all&&(u._proxyFormState[m]=!p||ji.all),c&&(c[m]=!0),i[m]}});return v},mi=i=>vr(i)&&!Object.keys(i).length,Ow=(i,u,c,p)=>{c(i);const{name:v,...g}=i;return mi(g)||Object.keys(g).length>=Object.keys(u).length||Object.keys(g).find(m=>u[m]===(!p||ji.all))},Yh=i=>Array.isArray(i)?i:[i],Mw=(i,u,c)=>c&&u?i===u:!i||!u||i===u||Yh(i).some(p=>p&&(p.startsWith(u)||u.startsWith(p)));function z0(i){const u=I.useRef(i);u.current=i,I.useEffect(()=>{const c=!i.disabled&&u.current.subject.subscribe({next:u.current.next});return()=>{c&&c.unsubscribe()}},[i.disabled])}function TD(i){const u=L0(),{control:c=u.control,disabled:p,name:v,exact:g}=i||{},[m,x]=I.useState(c._formState),E=I.useRef(!0),T=I.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),M=I.useRef(v);return M.current=v,z0({disabled:p,next:R=>E.current&&Mw(M.current,R.name,g)&&Ow(R,T.current,c._updateFormState)&&x({...c._formState,...R}),subject:c._subjects.state}),I.useEffect(()=>{E.current=!0;const R=c._proxyFormState.isDirty&&c._getDirty();return R!==c._formState.isDirty&&c._subjects.state.next({isDirty:R}),T.current.isValid&&c._updateValid(!0),()=>{E.current=!1}},[c]),Dw(m,c,T.current,!1)}var mo=i=>typeof i=="string",Nw=(i,u,c,p,v)=>mo(i)?(p&&u.watch.add(i),Le(c,i,v)):Array.isArray(i)?i.map(g=>(p&&u.watch.add(g),Le(c,g))):(p&&(u.watchAll=!0),c),kD=i=>{const u=i.constructor&&i.constructor.prototype;return vr(u)&&u.hasOwnProperty("isPrototypeOf")},U0=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function au(i){let u;const c=Array.isArray(i);if(i instanceof Date)u=new Date(i);else if(i instanceof Set)u=new Set(i);else if(!(U0&&(i instanceof Blob||i instanceof FileList))&&(c||vr(i)))if(u=c?[]:{},!Array.isArray(i)&&!kD(i))u=i;else for(const p in i)u[p]=au(i[p]);else return i;return u}function _D(i){const u=L0(),{control:c=u.control,name:p,defaultValue:v,disabled:g,exact:m}=i||{},x=I.useRef(p);x.current=p,z0({disabled:g,subject:c._subjects.watch,next:M=>{Mw(x.current,M.name,m)&&T(au(Nw(x.current,c._names,M.values||c._formValues,!1,v)))}});const[E,T]=I.useState(c._getWatch(p,v));return I.useEffect(()=>c._removeUnmounted()),E}function j0(i){const u=L0(),{name:c,control:p=u.control,shouldUnregister:v}=i,g=Rw(p._names.array,c),m=_D({control:p,name:c,defaultValue:Le(p._formValues,c,Le(p._defaultValues,c,i.defaultValue)),exact:!0}),x=TD({control:p,name:c}),E=I.useRef(p.register(c,{...i.rules,value:m}));return I.useEffect(()=>{const T=(M,R)=>{const j=Le(p._fields,M);j&&(j._f.mount=R)};return T(c,!0),()=>{const M=p._options.shouldUnregister||v;(g?M&&!p._stateFlags.action:M)?p.unregister(c):T(c,!1)}},[c,p,g,v]),{field:{name:c,value:m,onChange:I.useCallback(T=>E.current.onChange({target:{value:_w(T),name:c},type:Wh.CHANGE}),[c]),onBlur:I.useCallback(()=>E.current.onBlur({target:{value:Le(p._formValues,c),name:c},type:Wh.BLUR}),[c,p]),ref:T=>{const M=Le(p._fields,c);M&&T&&(M._f.ref={focus:()=>T.focus(),select:()=>T.select(),setCustomValidity:R=>T.setCustomValidity(R),reportValidity:()=>T.reportValidity()})}},formState:x,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Le(x.errors,c)},isDirty:{enumerable:!0,get:()=>!!Le(x.dirtyFields,c)},isTouched:{enumerable:!0,get:()=>!!Le(x.touchedFields,c)},error:{enumerable:!0,get:()=>Le(x.errors,c)}})}}var RD=(i,u,c,p,v)=>u?{...c[i],types:{...c[i]&&c[i].types?c[i].types:{},[p]:v||!0}}:{},F0=i=>/^\w*$/.test(i),Aw=i=>ep(i.replace(/["|']|\]/g,"").split(/\.|\[/));function Dn(i,u,c){let p=-1;const v=F0(u)?[u]:Aw(u),g=v.length,m=g-1;for(;++p<g;){const x=v[p];let E=c;if(p!==m){const T=i[x];E=vr(T)||Array.isArray(T)?T:isNaN(+v[p+1])?{}:[]}i[x]=E,i=i[x]}return i}const V0=(i,u,c)=>{for(const p of c||Object.keys(i)){const v=Le(i,p);if(v){const{_f:g,...m}=v;if(g&&u(g.name)){if(g.ref.focus){g.ref.focus();break}else if(g.refs&&g.refs[0].focus){g.refs[0].focus();break}}else vr(m)&&V0(m,u)}}};var Lw=i=>({isOnSubmit:!i||i===ji.onSubmit,isOnBlur:i===ji.onBlur,isOnChange:i===ji.onChange,isOnAll:i===ji.all,isOnTouch:i===ji.onTouched}),zw=(i,u,c)=>!c&&(u.watchAll||u.watch.has(i)||[...u.watch].some(p=>i.startsWith(p)&&/^\.\w+/.test(i.slice(p.length)))),DD=(i,u,c)=>{const p=ep(Le(i,c));return Dn(p,"root",u[c]),Dn(i,c,p),i},Uc=i=>typeof i=="boolean",H0=i=>i.type==="file",jc=i=>typeof i=="function",Zh=i=>{if(!U0)return!1;const u=i?i.ownerDocument:0;return i instanceof(u&&u.defaultView?u.defaultView.HTMLElement:HTMLElement)},Gh=i=>mo(i)||I.isValidElement(i),P0=i=>i.type==="radio",Qh=i=>i instanceof RegExp;const Uw={value:!1,isValid:!1},jw={value:!0,isValid:!0};var Fw=i=>{if(Array.isArray(i)){if(i.length>1){const u=i.filter(c=>c&&c.checked&&!c.disabled).map(c=>c.value);return{value:u,isValid:!!u.length}}return i[0].checked&&!i[0].disabled?i[0].attributes&&!tr(i[0].attributes.value)?tr(i[0].value)||i[0].value===""?jw:{value:i[0].value,isValid:!0}:jw:Uw}return Uw};const Vw={isValid:!1,value:null};var Hw=i=>Array.isArray(i)?i.reduce((u,c)=>c&&c.checked&&!c.disabled?{isValid:!0,value:c.value}:u,Vw):Vw;function Pw(i,u,c="validate"){if(Gh(i)||Array.isArray(i)&&i.every(Gh)||Uc(i)&&!i)return{type:c,message:Gh(i)?i:"",ref:u}}var Fc=i=>vr(i)&&!Qh(i)?i:{value:i,message:""},Bw=async(i,u,c,p,v)=>{const{ref:g,refs:m,required:x,maxLength:E,minLength:T,min:M,max:R,pattern:j,validate:F,name:K,valueAsNumber:ce,mount:ve,disabled:Xe}=i._f,J=Le(u,K);if(!ve||Xe)return{};const de=m?m[0]:g,Se=$e=>{p&&de.reportValidity&&(de.setCustomValidity(Uc($e)?"":$e||""),de.reportValidity())},ze={},gt=P0(g),He=qd(g),Ke=gt||He,ut=(ce||H0(g))&&tr(g.value)&&tr(J)||Zh(g)&&g.value===""||J===""||Array.isArray(J)&&!J.length,st=RD.bind(null,K,c,ze),vt=($e,fe,he,Je=il.maxLength,Ze=il.minLength)=>{const Dt=$e?fe:he;ze[K]={type:$e?Je:Ze,message:Dt,ref:g,...st($e?Je:Ze,Dt)}};if(v?!Array.isArray(J)||!J.length:x&&(!Ke&&(ut||ya(J))||Uc(J)&&!J||He&&!Fw(m).isValid||gt&&!Hw(m).isValid)){const{value:$e,message:fe}=Gh(x)?{value:!!x,message:x}:Fc(x);if($e&&(ze[K]={type:il.required,message:fe,ref:de,...st(il.required,fe)},!c))return Se(fe),ze}if(!ut&&(!ya(M)||!ya(R))){let $e,fe;const he=Fc(R),Je=Fc(M);if(!ya(J)&&!isNaN(J)){const Ze=g.valueAsNumber||J&&+J;ya(he.value)||($e=Ze>he.value),ya(Je.value)||(fe=Ze<Je.value)}else{const Ze=g.valueAsDate||new Date(J),Dt=ee=>new Date(new Date().toDateString()+" "+ee),ae=g.type=="time",ne=g.type=="week";mo(he.value)&&J&&($e=ae?Dt(J)>Dt(he.value):ne?J>he.value:Ze>new Date(he.value)),mo(Je.value)&&J&&(fe=ae?Dt(J)<Dt(Je.value):ne?J<Je.value:Ze<new Date(Je.value))}if(($e||fe)&&(vt(!!$e,he.message,Je.message,il.max,il.min),!c))return Se(ze[K].message),ze}if((E||T)&&!ut&&(mo(J)||v&&Array.isArray(J))){const $e=Fc(E),fe=Fc(T),he=!ya($e.value)&&J.length>$e.value,Je=!ya(fe.value)&&J.length<fe.value;if((he||Je)&&(vt(he,$e.message,fe.message),!c))return Se(ze[K].message),ze}if(j&&!ut&&mo(J)){const{value:$e,message:fe}=Fc(j);if(Qh($e)&&!J.match($e)&&(ze[K]={type:il.pattern,message:fe,ref:g,...st(il.pattern,fe)},!c))return Se(fe),ze}if(F){if(jc(F)){const $e=await F(J,u),fe=Pw($e,de);if(fe&&(ze[K]={...fe,...st(il.validate,fe.message)},!c))return Se(fe.message),ze}else if(vr(F)){let $e={};for(const fe in F){if(!mi($e)&&!c)break;const he=Pw(await F[fe](J,u),de,fe);he&&($e={...he,...st(fe,he.message)},Se(he.message),c&&(ze[K]=$e))}if(!mi($e)&&(ze[K]={ref:de,...$e},!c))return ze}}return Se(!0),ze};function OD(i,u){const c=u.slice(0,-1).length;let p=0;for(;p<c;)i=tr(i)?p++:i[u[p++]];return i}function MD(i){for(const u in i)if(!tr(i[u]))return!1;return!0}function Fr(i,u){const c=Array.isArray(u)?u:F0(u)?[u]:Aw(u),p=c.length===1?i:OD(i,c),v=c.length-1,g=c[v];return p&&delete p[g],v!==0&&(vr(p)&&mi(p)||Array.isArray(p)&&MD(p))&&Fr(i,c.slice(0,-1)),i}function B0(){let i=[];return{get observers(){return i},next:v=>{for(const g of i)g.next(v)},subscribe:v=>(i.push(v),{unsubscribe:()=>{i=i.filter(g=>g!==v)}}),unsubscribe:()=>{i=[]}}}var Xh=i=>ya(i)||!kw(i);function ms(i,u){if(Xh(i)||Xh(u))return i===u;if(zc(i)&&zc(u))return i.getTime()===u.getTime();const c=Object.keys(i),p=Object.keys(u);if(c.length!==p.length)return!1;for(const v of c){const g=i[v];if(!p.includes(v))return!1;if(v!=="ref"){const m=u[v];if(zc(g)&&zc(m)||vr(g)&&vr(m)||Array.isArray(g)&&Array.isArray(m)?!ms(g,m):g!==m)return!1}}return!0}var Iw=i=>i.type==="select-multiple",ND=i=>P0(i)||qd(i),I0=i=>Zh(i)&&i.isConnected,$w=i=>{for(const u in i)if(jc(i[u]))return!0;return!1};function Kh(i,u={}){const c=Array.isArray(i);if(vr(i)||c)for(const p in i)Array.isArray(i[p])||vr(i[p])&&!$w(i[p])?(u[p]=Array.isArray(i[p])?[]:{},Kh(i[p],u[p])):ya(i[p])||(u[p]=!0);return u}function Ww(i,u,c){const p=Array.isArray(i);if(vr(i)||p)for(const v in i)Array.isArray(i[v])||vr(i[v])&&!$w(i[v])?tr(u)||Xh(c[v])?c[v]=Array.isArray(i[v])?Kh(i[v],[]):{...Kh(i[v])}:Ww(i[v],ya(u)?{}:u[v],c[v]):ms(i[v],u[v])?delete c[v]:c[v]=!0;return c}var $0=(i,u)=>Ww(i,u,Kh(u)),Yw=(i,{valueAsNumber:u,valueAsDate:c,setValueAs:p})=>tr(i)?i:u?i===""?NaN:i&&+i:c&&mo(i)?new Date(i):p?p(i):i;function W0(i){const u=i.ref;if(!(i.refs?i.refs.every(c=>c.disabled):u.disabled))return H0(u)?u.files:P0(u)?Hw(i.refs).value:Iw(u)?[...u.selectedOptions].map(({value:c})=>c):qd(u)?Fw(i.refs).value:Yw(tr(u.value)?i.ref.value:u.value,i)}var AD=(i,u,c,p)=>{const v={};for(const g of i){const m=Le(u,g);m&&Dn(v,g,m._f)}return{criteriaMode:c,names:[...i],fields:v,shouldUseNativeValidation:p}},tp=i=>tr(i)?i:Qh(i)?i.source:vr(i)?Qh(i.value)?i.value.source:i.value:i,LD=i=>i.mount&&(i.required||i.min||i.max||i.maxLength||i.minLength||i.pattern||i.validate);function Zw(i,u,c){const p=Le(i,c);if(p||F0(c))return{error:p,name:c};const v=c.split(".");for(;v.length;){const g=v.join("."),m=Le(u,g),x=Le(i,g);if(m&&!Array.isArray(m)&&c!==g)return{name:c};if(x&&x.type)return{name:g,error:x};v.pop()}return{name:c}}var zD=(i,u,c,p,v)=>v.isOnAll?!1:!c&&v.isOnTouch?!(u||i):(c?p.isOnBlur:v.isOnBlur)?!i:(c?p.isOnChange:v.isOnChange)?i:!0,UD=(i,u)=>!ep(Le(i,u)).length&&Fr(i,u);const jD={mode:ji.onSubmit,reValidateMode:ji.onChange,shouldFocusError:!0};function FD(i={},u){let c={...jD,...i};const p=i.resetOptions&&i.resetOptions.keepDirtyValues;let v={submitCount:0,isDirty:!1,isLoading:!0,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},g={},m=vr(c.defaultValues)||vr(c.values)?au(c.defaultValues||c.values)||{}:{},x=c.shouldUnregister?{}:au(m),E={action:!1,mount:!1,watch:!1},T={mount:new Set,unMount:new Set,array:new Set,watch:new Set},M,R=0;const j={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},F={watch:B0(),array:B0(),state:B0()},K=Lw(c.mode),ce=Lw(c.reValidateMode),ve=c.criteriaMode===ji.all,Xe=A=>Z=>{clearTimeout(R),R=window.setTimeout(A,Z)},J=async A=>{if(j.isValid||A){const Z=c.resolver?mi((await ut()).errors):await vt(g,!0);Z!==v.isValid&&F.state.next({isValid:Z})}},de=A=>j.isValidating&&F.state.next({isValidating:A}),Se=(A,Z=[],G,be,Re=!0,le=!0)=>{if(be&&G){if(E.action=!0,le&&Array.isArray(Le(g,A))){const Pe=G(Le(g,A),be.argA,be.argB);Re&&Dn(g,A,Pe)}if(le&&Array.isArray(Le(v.errors,A))){const Pe=G(Le(v.errors,A),be.argA,be.argB);Re&&Dn(v.errors,A,Pe),UD(v.errors,A)}if(j.touchedFields&&le&&Array.isArray(Le(v.touchedFields,A))){const Pe=G(Le(v.touchedFields,A),be.argA,be.argB);Re&&Dn(v.touchedFields,A,Pe)}j.dirtyFields&&(v.dirtyFields=$0(m,x)),F.state.next({name:A,isDirty:fe(A,Z),dirtyFields:v.dirtyFields,errors:v.errors,isValid:v.isValid})}else Dn(x,A,Z)},ze=(A,Z)=>{Dn(v.errors,A,Z),F.state.next({errors:v.errors})},gt=(A,Z,G,be)=>{const Re=Le(g,A);if(Re){const le=Le(x,A,tr(G)?Le(m,A):G);tr(le)||be&&be.defaultChecked||Z?Dn(x,A,Z?le:W0(Re._f)):Ze(A,le),E.mount&&J()}},He=(A,Z,G,be,Re)=>{let le=!1,Pe=!1;const $t={name:A};if(!G||be){j.isDirty&&(Pe=v.isDirty,v.isDirty=$t.isDirty=fe(),le=Pe!==$t.isDirty);const zt=ms(Le(m,A),Z);Pe=Le(v.dirtyFields,A),zt?Fr(v.dirtyFields,A):Dn(v.dirtyFields,A,!0),$t.dirtyFields=v.dirtyFields,le=le||j.dirtyFields&&Pe!==!zt}if(G){const zt=Le(v.touchedFields,A);zt||(Dn(v.touchedFields,A,G),$t.touchedFields=v.touchedFields,le=le||j.touchedFields&&zt!==G)}return le&&Re&&F.state.next($t),le?$t:{}},Ke=(A,Z,G,be)=>{const Re=Le(v.errors,A),le=j.isValid&&Uc(Z)&&v.isValid!==Z;if(i.delayError&&G?(M=Xe(()=>ze(A,G)),M(i.delayError)):(clearTimeout(R),M=null,G?Dn(v.errors,A,G):Fr(v.errors,A)),(G?!ms(Re,G):Re)||!mi(be)||le){const Pe={...be,...le&&Uc(Z)?{isValid:Z}:{},errors:v.errors,name:A};v={...v,...Pe},F.state.next(Pe)}de(!1)},ut=async A=>await c.resolver(x,c.context,AD(A||T.mount,g,c.criteriaMode,c.shouldUseNativeValidation)),st=async A=>{const{errors:Z}=await ut();if(A)for(const G of A){const be=Le(Z,G);be?Dn(v.errors,G,be):Fr(v.errors,G)}else v.errors=Z;return Z},vt=async(A,Z,G={valid:!0})=>{for(const be in A){const Re=A[be];if(Re){const{_f:le,...Pe}=Re;if(le){const $t=T.array.has(le.name),zt=await Bw(Re,x,ve,c.shouldUseNativeValidation,$t);if(zt[le.name]&&(G.valid=!1,Z))break;!Z&&(Le(zt,le.name)?$t?DD(v.errors,zt,le.name):Dn(v.errors,le.name,zt[le.name]):Fr(v.errors,le.name))}Pe&&await vt(Pe,Z,G)}}return G.valid},$e=()=>{for(const A of T.unMount){const Z=Le(g,A);Z&&(Z._f.refs?Z._f.refs.every(G=>!I0(G)):!I0(Z._f.ref))&&Lt(A)}T.unMount=new Set},fe=(A,Z)=>(A&&Z&&Dn(x,A,Z),!ms(ge(),m)),he=(A,Z,G)=>Nw(A,T,{...E.mount?x:tr(Z)?m:mo(A)?{[A]:Z}:Z},G,Z),Je=A=>ep(Le(E.mount?x:m,A,i.shouldUnregister?Le(m,A,[]):[])),Ze=(A,Z,G={})=>{const be=Le(g,A);let Re=Z;if(be){const le=be._f;le&&(!le.disabled&&Dn(x,A,Yw(Z,le)),Re=Zh(le.ref)&&ya(Z)?"":Z,Iw(le.ref)?[...le.ref.options].forEach(Pe=>Pe.selected=Re.includes(Pe.value)):le.refs?qd(le.ref)?le.refs.length>1?le.refs.forEach(Pe=>(!Pe.defaultChecked||!Pe.disabled)&&(Pe.checked=Array.isArray(Re)?!!Re.find($t=>$t===Pe.value):Re===Pe.value)):le.refs[0]&&(le.refs[0].checked=!!Re):le.refs.forEach(Pe=>Pe.checked=Pe.value===Re):H0(le.ref)?le.ref.value="":(le.ref.value=Re,le.ref.type||F.watch.next({name:A})))}(G.shouldDirty||G.shouldTouch)&&He(A,Re,G.shouldTouch,G.shouldDirty,!0),G.shouldValidate&&ee(A)},Dt=(A,Z,G)=>{for(const be in Z){const Re=Z[be],le=`${A}.${be}`,Pe=Le(g,le);(T.array.has(A)||!Xh(Re)||Pe&&!Pe._f)&&!zc(Re)?Dt(le,Re,G):Ze(le,Re,G)}},ae=(A,Z,G={})=>{const be=Le(g,A),Re=T.array.has(A),le=au(Z);Dn(x,A,le),Re?(F.array.next({name:A,values:x}),(j.isDirty||j.dirtyFields)&&G.shouldDirty&&F.state.next({name:A,dirtyFields:$0(m,x),isDirty:fe(A,le)})):be&&!be._f&&!ya(le)?Dt(A,le,G):Ze(A,le,G),zw(A,T)&&F.state.next({}),F.watch.next({name:A}),!E.mount&&u()},ne=async A=>{const Z=A.target;let G=Z.name;const be=Le(g,G),Re=()=>Z.type?W0(be._f):_w(A);if(be){let le,Pe;const $t=Re(),zt=A.type===Wh.BLUR||A.type===Wh.FOCUS_OUT,za=!LD(be._f)&&!c.resolver&&!Le(v.errors,G)&&!be._f.deps||zD(zt,Le(v.touchedFields,G),v.isSubmitted,ce,K),hr=zw(G,T,zt);Dn(x,G,$t),zt?(be._f.onBlur&&be._f.onBlur(A),M&&M(0)):be._f.onChange&&be._f.onChange(A);const Pr=He(G,$t,zt,!1),On=!mi(Pr)||hr;if(!zt&&F.watch.next({name:G,type:A.type}),za)return j.isValid&&J(),On&&F.state.next({name:G,...hr?{}:Pr});if(!zt&&hr&&F.state.next({}),de(!0),c.resolver){const{errors:Dr}=await ut([G]),gi=Zw(v.errors,g,G),ea=Zw(Dr,g,gi.name||G);le=ea.error,G=ea.name,Pe=mi(Dr)}else le=(await Bw(be,x,ve,c.shouldUseNativeValidation))[G],le?Pe=!1:j.isValid&&(Pe=await vt(g,!0));be._f.deps&&ee(be._f.deps),Ke(G,Pe,le,Pr)}},ee=async(A,Z={})=>{let G,be;const Re=Yh(A);if(de(!0),c.resolver){const le=await st(tr(A)?A:Re);G=mi(le),be=A?!Re.some(Pe=>Le(le,Pe)):G}else A?(be=(await Promise.all(Re.map(async le=>{const Pe=Le(g,le);return await vt(Pe&&Pe._f?{[le]:Pe}:Pe)}))).every(Boolean),!(!be&&!v.isValid)&&J()):be=G=await vt(g);return F.state.next({...!mo(A)||j.isValid&&G!==v.isValid?{}:{name:A},...c.resolver||!A?{isValid:G}:{},errors:v.errors,isValidating:!1}),Z.shouldFocus&&!be&&V0(g,le=>le&&Le(v.errors,le),A?Re:T.mount),be},ge=A=>{const Z={...m,...E.mount?x:{}};return tr(A)?Z:mo(A)?Le(Z,A):A.map(G=>Le(Z,G))},me=(A,Z)=>({invalid:!!Le((Z||v).errors,A),isDirty:!!Le((Z||v).dirtyFields,A),isTouched:!!Le((Z||v).touchedFields,A),error:Le((Z||v).errors,A)}),ct=A=>{A&&Yh(A).forEach(Z=>Fr(v.errors,Z)),F.state.next({errors:A?v.errors:{}})},Et=(A,Z,G)=>{const be=(Le(g,A,{_f:{}})._f||{}).ref;Dn(v.errors,A,{...Z,ref:be}),F.state.next({name:A,errors:v.errors,isValid:!1}),G&&G.shouldFocus&&be&&be.focus&&be.focus()},Pt=(A,Z)=>jc(A)?F.watch.subscribe({next:G=>A(he(void 0,Z),G)}):he(A,Z,!0),Lt=(A,Z={})=>{for(const G of A?Yh(A):T.mount)T.mount.delete(G),T.array.delete(G),Le(g,G)&&(Z.keepValue||(Fr(g,G),Fr(x,G)),!Z.keepError&&Fr(v.errors,G),!Z.keepDirty&&Fr(v.dirtyFields,G),!Z.keepTouched&&Fr(v.touchedFields,G),!c.shouldUnregister&&!Z.keepDefaultValue&&Fr(m,G));F.watch.next({}),F.state.next({...v,...Z.keepDirty?{isDirty:fe()}:{}}),!Z.keepIsValid&&J()},wn=(A,Z={})=>{let G=Le(g,A);const be=Uc(Z.disabled);return Dn(g,A,{...G||{},_f:{...G&&G._f?G._f:{ref:{name:A}},name:A,mount:!0,...Z}}),T.mount.add(A),G?be&&Dn(x,A,Z.disabled?void 0:Le(x,A,W0(G._f))):gt(A,!0,Z.value),{...be?{disabled:Z.disabled}:{},...c.shouldUseNativeValidation?{required:!!Z.required,min:tp(Z.min),max:tp(Z.max),minLength:tp(Z.minLength),maxLength:tp(Z.maxLength),pattern:tp(Z.pattern)}:{},name:A,onChange:ne,onBlur:ne,ref:Re=>{if(Re){wn(A,Z),G=Le(g,A);const le=tr(Re.value)&&Re.querySelectorAll&&Re.querySelectorAll("input,select,textarea")[0]||Re,Pe=ND(le),$t=G._f.refs||[];if(Pe?$t.find(zt=>zt===le):le===G._f.ref)return;Dn(g,A,{_f:{...G._f,...Pe?{refs:[...$t.filter(I0),le,...Array.isArray(Le(m,A))?[{}]:[]],ref:{type:le.type,name:A}}:{ref:le}}}),gt(A,!1,void 0,le)}else G=Le(g,A,{}),G._f&&(G._f.mount=!1),(c.shouldUnregister||Z.shouldUnregister)&&!(Rw(T.array,A)&&E.action)&&T.unMount.add(A)}}},Cn=()=>c.shouldFocusError&&V0(g,A=>A&&Le(v.errors,A),T.mount),zn=(A,Z)=>async G=>{G&&(G.preventDefault&&G.preventDefault(),G.persist&&G.persist());let be=au(x);if(F.state.next({isSubmitting:!0}),c.resolver){const{errors:Re,values:le}=await ut();v.errors=Re,be=le}else await vt(g);Fr(v.errors,"root"),mi(v.errors)?(F.state.next({errors:{}}),await A(be,G)):(Z&&await Z({...v.errors},G),Cn()),F.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:mi(v.errors),submitCount:v.submitCount+1,errors:v.errors})},Vr=(A,Z={})=>{Le(g,A)&&(tr(Z.defaultValue)?ae(A,Le(m,A)):(ae(A,Z.defaultValue),Dn(m,A,Z.defaultValue)),Z.keepTouched||Fr(v.touchedFields,A),Z.keepDirty||(Fr(v.dirtyFields,A),v.isDirty=Z.defaultValue?fe(A,Le(m,A)):fe()),Z.keepError||(Fr(v.errors,A),j.isValid&&J()),F.state.next({...v}))},Zn=(A,Z={})=>{const G=A||m,be=au(G),Re=A&&!mi(A)?be:m;if(Z.keepDefaultValues||(m=G),!Z.keepValues){if(Z.keepDirtyValues||p)for(const le of T.mount)Le(v.dirtyFields,le)?Dn(Re,le,Le(x,le)):ae(le,Le(Re,le));else{if(U0&&tr(A))for(const le of T.mount){const Pe=Le(g,le);if(Pe&&Pe._f){const $t=Array.isArray(Pe._f.refs)?Pe._f.refs[0]:Pe._f.ref;if(Zh($t)){const zt=$t.closest("form");if(zt){zt.reset();break}}}}g={}}x=i.shouldUnregister?Z.keepDefaultValues?au(m):{}:be,F.array.next({values:Re}),F.watch.next({values:Re})}T={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!E.mount&&u(),E.mount=!j.isValid||!!Z.keepIsValid,E.watch=!!i.shouldUnregister,F.state.next({submitCount:Z.keepSubmitCount?v.submitCount:0,isDirty:Z.keepDirty||Z.keepDirtyValues?v.isDirty:!!(Z.keepDefaultValues&&!ms(A,m)),isSubmitted:Z.keepIsSubmitted?v.isSubmitted:!1,dirtyFields:Z.keepDirty||Z.keepDirtyValues?v.dirtyFields:Z.keepDefaultValues&&A?$0(m,A):{},touchedFields:Z.keepTouched?v.touchedFields:{},errors:Z.keepErrors?v.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},Hr=(A,Z)=>Zn(jc(A)?A(x):A,Z),Hn=(A,Z={})=>{const G=Le(g,A),be=G&&G._f;if(be){const Re=be.refs?be.refs[0]:be.ref;Re.focus&&(Re.focus(),Z.shouldSelect&&Re.select())}},nr=A=>{v={...v,...A}};return jc(c.defaultValues)&&c.defaultValues().then(A=>{Hr(A,c.resetOptions),F.state.next({isLoading:!1})}),{control:{register:wn,unregister:Lt,getFieldState:me,_executeSchema:ut,_focusError:Cn,_getWatch:he,_getDirty:fe,_updateValid:J,_removeUnmounted:$e,_updateFieldArray:Se,_getFieldArray:Je,_reset:Zn,_updateFormState:nr,_subjects:F,_proxyFormState:j,get _fields(){return g},get _formValues(){return x},get _stateFlags(){return E},set _stateFlags(A){E=A},get _defaultValues(){return m},get _names(){return T},set _names(A){T=A},get _formState(){return v},set _formState(A){v=A},get _options(){return c},set _options(A){c={...c,...A}}},trigger:ee,register:wn,handleSubmit:zn,watch:Pt,setValue:ae,getValues:ge,reset:Hr,resetField:Vr,clearErrors:ct,unregister:Lt,setError:Et,setFocus:Hn,getFieldState:me}}function VD(i={}){const u=I.useRef(),[c,p]=I.useState({isDirty:!1,isValidating:!1,isLoading:!0,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:jc(i.defaultValues)?void 0:i.defaultValues});u.current||(u.current={...FD(i,()=>p(g=>({...g}))),formState:c});const v=u.current.control;return v._options=i,z0({subject:v._subjects.state,next:g=>{Ow(g,v._proxyFormState,v._updateFormState,!0)&&p({...v._formState})}}),I.useEffect(()=>{v._stateFlags.mount||(v._updateValid(),v._stateFlags.mount=!0),v._stateFlags.watch&&(v._stateFlags.watch=!1,v._subjects.state.next({})),v._removeUnmounted()}),I.useEffect(()=>{i.values&&!ms(i.values,v._defaultValues)&&v._reset(i.values,v._options.resetOptions)},[i.values,v]),I.useEffect(()=>{c.submitCount&&v._focusError()},[v,c.submitCount]),u.current.formState=Dw(c,v),u.current}var Gw=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,yi=i=>!i||typeof i!="object"||Object.keys(i).length===0,HD=(...i)=>[...i].flat().filter(Boolean),Qw=(i,u)=>{let c={};for(let p in i)u!=null&&u.hasOwnProperty(p)?c[p]=typeof i[p]=="object"?Qw(i[p],u[p]):u[p]+" "+i[p]:c[p]=i[p];for(let p in u)c.hasOwnProperty(p)||(c[p]=u[p]);return c},Xw=i=>!i||typeof i!="string"?i:i.replace(/\s+/g," ").trim();function PD(){for(var i=0,u,c,p="";i<arguments.length;)(u=arguments[i++])&&(c=Kw(u))&&(p&&(p+=" "),p+=c);return p}function Kw(i){if(typeof i=="string")return i;for(var u,c="",p=0;p<i.length;p++)i[p]&&(u=Kw(i[p]))&&(c&&(c+=" "),c+=u);return c}var Y0="-";function BD(i){var u=$D(i),c=i.conflictingClassGroups,p=i.conflictingClassGroupModifiers,v=p===void 0?{}:p;function g(x){var E=x.split(Y0);return E[0]===""&&E.length!==1&&E.shift(),Jw(E,u)||ID(x)}function m(x,E){var T=c[x]||[];return E&&v[x]?[].concat(T,v[x]):T}return{getClassGroupId:g,getConflictingClassGroupIds:m}}function Jw(i,u){var m;if(i.length===0)return u.classGroupId;var c=i[0],p=u.nextPart.get(c),v=p?Jw(i.slice(1),p):void 0;if(v)return v;if(u.validators.length!==0){var g=i.join(Y0);return(m=u.validators.find(function(x){var E=x.validator;return E(g)}))==null?void 0:m.classGroupId}}var qw=/^\[(.+)\]$/;function ID(i){if(qw.test(i)){var u=qw.exec(i)[1],c=u==null?void 0:u.substring(0,u.indexOf(":"));if(c)return"arbitrary.."+c}}function $D(i){var u=i.theme,c=i.prefix,p={nextPart:new Map,validators:[]},v=YD(Object.entries(i.classGroups),c);return v.forEach(function(g){var m=g[0],x=g[1];Z0(x,p,m,u)}),p}function Z0(i,u,c,p){i.forEach(function(v){if(typeof v=="string"){var g=v===""?u:eC(u,v);g.classGroupId=c;return}if(typeof v=="function"){if(WD(v)){Z0(v(p),u,c,p);return}u.validators.push({validator:v,classGroupId:c});return}Object.entries(v).forEach(function(m){var x=m[0],E=m[1];Z0(E,eC(u,x),c,p)})})}function eC(i,u){var c=i;return u.split(Y0).forEach(function(p){c.nextPart.has(p)||c.nextPart.set(p,{nextPart:new Map,validators:[]}),c=c.nextPart.get(p)}),c}function WD(i){return i.isThemeGetter}function YD(i,u){return u?i.map(function(c){var p=c[0],v=c[1],g=v.map(function(m){return typeof m=="string"?u+m:typeof m=="object"?Object.fromEntries(Object.entries(m).map(function(x){var E=x[0],T=x[1];return[u+E,T]})):m});return[p,g]}):i}function ZD(i){if(i<1)return{get:function(){},set:function(){}};var u=0,c=new Map,p=new Map;function v(g,m){c.set(g,m),u++,u>i&&(u=0,p=c,c=new Map)}return{get:function(m){var x=c.get(m);if(x!==void 0)return x;if((x=p.get(m))!==void 0)return v(m,x),x},set:function(m,x){c.has(m)?c.set(m,x):v(m,x)}}}var tC="!";function GD(i){var u=i.separator||":",c=u.length===1,p=u[0],v=u.length;return function(m){for(var x=[],E=0,T=0,M,R=0;R<m.length;R++){var j=m[R];if(E===0){if(j===p&&(c||m.slice(R,R+v)===u)){x.push(m.slice(T,R)),T=R+v;continue}if(j==="/"){M=R;continue}}j==="["?E++:j==="]"&&E--}var F=x.length===0?m:m.substring(T),K=F.startsWith(tC),ce=K?F.substring(1):F,ve=M&&M>T?M-T:void 0;return{modifiers:x,hasImportantModifier:K,baseClassName:ce,maybePostfixModifierPosition:ve}}}function QD(i){if(i.length<=1)return i;var u=[],c=[];return i.forEach(function(p){var v=p[0]==="[";v?(u.push.apply(u,c.sort().concat([p])),c=[]):c.push(p)}),u.push.apply(u,c.sort()),u}function XD(i){return{cache:ZD(i.cacheSize),splitModifiers:GD(i),...BD(i)}}var KD=/\s+/;function JD(i,u){var c=u.splitModifiers,p=u.getClassGroupId,v=u.getConflictingClassGroupIds,g=new Set;return i.trim().split(KD).map(function(m){var x=c(m),E=x.modifiers,T=x.hasImportantModifier,M=x.baseClassName,R=x.maybePostfixModifierPosition,j=p(R?M.substring(0,R):M),F=!!R;if(!j){if(!R)return{isTailwindClass:!1,originalClassName:m};if(j=p(M),!j)return{isTailwindClass:!1,originalClassName:m};F=!1}var K=QD(E).join(":"),ce=T?K+tC:K;return{isTailwindClass:!0,modifierId:ce,classGroupId:j,originalClassName:m,hasPostfixModifier:F}}).reverse().filter(function(m){if(!m.isTailwindClass)return!0;var x=m.modifierId,E=m.classGroupId,T=m.hasPostfixModifier,M=x+E;return g.has(M)?!1:(g.add(M),v(E,T).forEach(function(R){return g.add(x+R)}),!0)}).reverse().map(function(m){return m.originalClassName}).join(" ")}function G0(){for(var i=arguments.length,u=new Array(i),c=0;c<i;c++)u[c]=arguments[c];var p,v,g,m=x;function x(T){var M=u[0],R=u.slice(1),j=R.reduce(function(F,K){return K(F)},M());return p=XD(j),v=p.cache.get,g=p.cache.set,m=E,E(T)}function E(T){var M=v(T);if(M)return M;var R=JD(T,p);return g(T,R),R}return function(){return m(PD.apply(null,arguments))}}function xn(i){var u=function(p){return p[i]||[]};return u.isThemeGetter=!0,u}var nC=/^\[(?:([a-z-]+):)?(.+)\]$/i,qD=/^\d+\/\d+$/,e2=new Set(["px","full","screen"]),t2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,n2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))/,r2=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function Fi(i){return ys(i)||e2.has(i)||qD.test(i)||iu(i)}function iu(i){return gs(i,"length",s2)}function a2(i){return gs(i,"size",rC)}function i2(i){return gs(i,"position",rC)}function o2(i){return gs(i,"url",c2)}function Jh(i){return gs(i,"number",ys)}function ys(i){return!Number.isNaN(Number(i))}function l2(i){return i.endsWith("%")&&ys(i.slice(0,-1))}function np(i){return aC(i)||gs(i,"number",aC)}function Yn(i){return nC.test(i)}function rp(){return!0}function ou(i){return t2.test(i)}function u2(i){return gs(i,"",f2)}function gs(i,u,c){var p=nC.exec(i);return p?p[1]?p[1]===u:c(p[2]):!1}function s2(i){return n2.test(i)}function rC(){return!1}function c2(i){return i.startsWith("url(")}function aC(i){return Number.isInteger(Number(i))}function f2(i){return r2.test(i)}function Q0(){var i=xn("colors"),u=xn("spacing"),c=xn("blur"),p=xn("brightness"),v=xn("borderColor"),g=xn("borderRadius"),m=xn("borderSpacing"),x=xn("borderWidth"),E=xn("contrast"),T=xn("grayscale"),M=xn("hueRotate"),R=xn("invert"),j=xn("gap"),F=xn("gradientColorStops"),K=xn("gradientColorStopPositions"),ce=xn("inset"),ve=xn("margin"),Xe=xn("opacity"),J=xn("padding"),de=xn("saturate"),Se=xn("scale"),ze=xn("sepia"),gt=xn("skew"),He=xn("space"),Ke=xn("translate"),ut=function(){return["auto","contain","none"]},st=function(){return["auto","hidden","clip","visible","scroll"]},vt=function(){return["auto",u]},$e=function(){return["",Fi]},fe=function(){return["auto",ys,Yn]},he=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},Je=function(){return["solid","dashed","dotted","double","none"]},Ze=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},Dt=function(){return["start","end","center","between","around","evenly","stretch"]},ae=function(){return["","0",Yn]},ne=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},ee=function(){return[ys,Jh]},ge=function(){return[ys,Yn]};return{cacheSize:500,theme:{colors:[rp],spacing:[Fi],blur:["none","",ou,iu],brightness:ee(),borderColor:[i],borderRadius:["none","","full",ou,iu],borderSpacing:[u],borderWidth:$e(),contrast:ee(),grayscale:ae(),hueRotate:ge(),invert:ae(),gap:[u],gradientColorStops:[i],gradientColorStopPositions:[l2,iu],inset:vt(),margin:vt(),opacity:ee(),padding:[u],saturate:ee(),scale:ee(),sepia:ae(),skew:ge(),space:[u],translate:[u]},classGroups:{aspect:[{aspect:["auto","square","video",Yn]}],container:["container"],columns:[{columns:[ou]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(he(),[Yn])}],overflow:[{overflow:st()}],"overflow-x":[{"overflow-x":st()}],"overflow-y":[{"overflow-y":st()}],overscroll:[{overscroll:ut()}],"overscroll-x":[{"overscroll-x":ut()}],"overscroll-y":[{"overscroll-y":ut()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[ce]}],"inset-x":[{"inset-x":[ce]}],"inset-y":[{"inset-y":[ce]}],start:[{start:[ce]}],end:[{end:[ce]}],top:[{top:[ce]}],right:[{right:[ce]}],bottom:[{bottom:[ce]}],left:[{left:[ce]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",np]}],basis:[{basis:[u]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Yn]}],grow:[{grow:ae()}],shrink:[{shrink:ae()}],order:[{order:["first","last","none",np]}],"grid-cols":[{"grid-cols":[rp]}],"col-start-end":[{col:["auto",{span:[np]},Yn]}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":[rp]}],"row-start-end":[{row:["auto",{span:[np]},Yn]}],"row-start":[{"row-start":fe()}],"row-end":[{"row-end":fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Yn]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Yn]}],gap:[{gap:[j]}],"gap-x":[{"gap-x":[j]}],"gap-y":[{"gap-y":[j]}],"justify-content":[{justify:["normal"].concat(Dt())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(Dt(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(Dt(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[J]}],px:[{px:[J]}],py:[{py:[J]}],ps:[{ps:[J]}],pe:[{pe:[J]}],pt:[{pt:[J]}],pr:[{pr:[J]}],pb:[{pb:[J]}],pl:[{pl:[J]}],m:[{m:[ve]}],mx:[{mx:[ve]}],my:[{my:[ve]}],ms:[{ms:[ve]}],me:[{me:[ve]}],mt:[{mt:[ve]}],mr:[{mr:[ve]}],mb:[{mb:[ve]}],ml:[{ml:[ve]}],"space-x":[{"space-x":[He]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[He]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",u]}],"min-w":[{"min-w":["min","max","fit",Fi]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[ou]},ou,iu]}],h:[{h:[u,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Fi]}],"max-h":[{"max-h":[u,"min","max","fit"]}],"font-size":[{text:["base",ou,iu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Jh]}],"font-family":[{font:[rp]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",iu]}],"line-clamp":[{"line-clamp":["none",ys,Jh]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fi]}],"list-image":[{"list-image":["none",Yn]}],"list-style-type":[{list:["none","disc","decimal",Yn]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[i]}],"placeholder-opacity":[{"placeholder-opacity":[Xe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[i]}],"text-opacity":[{"text-opacity":[Xe]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(Je(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",Fi]}],"underline-offset":[{"underline-offset":["auto",Fi]}],"text-decoration-color":[{decoration:[i]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[u]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",iu]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Yn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[Xe]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(he(),[i2])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",a2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},o2]}],"bg-color":[{bg:[i]}],"gradient-from-pos":[{from:[K]}],"gradient-via-pos":[{via:[K]}],"gradient-to-pos":[{to:[K]}],"gradient-from":[{from:[F]}],"gradient-via":[{via:[F]}],"gradient-to":[{to:[F]}],rounded:[{rounded:[g]}],"rounded-s":[{"rounded-s":[g]}],"rounded-e":[{"rounded-e":[g]}],"rounded-t":[{"rounded-t":[g]}],"rounded-r":[{"rounded-r":[g]}],"rounded-b":[{"rounded-b":[g]}],"rounded-l":[{"rounded-l":[g]}],"rounded-ss":[{"rounded-ss":[g]}],"rounded-se":[{"rounded-se":[g]}],"rounded-ee":[{"rounded-ee":[g]}],"rounded-es":[{"rounded-es":[g]}],"rounded-tl":[{"rounded-tl":[g]}],"rounded-tr":[{"rounded-tr":[g]}],"rounded-br":[{"rounded-br":[g]}],"rounded-bl":[{"rounded-bl":[g]}],"border-w":[{border:[x]}],"border-w-x":[{"border-x":[x]}],"border-w-y":[{"border-y":[x]}],"border-w-s":[{"border-s":[x]}],"border-w-e":[{"border-e":[x]}],"border-w-t":[{"border-t":[x]}],"border-w-r":[{"border-r":[x]}],"border-w-b":[{"border-b":[x]}],"border-w-l":[{"border-l":[x]}],"border-opacity":[{"border-opacity":[Xe]}],"border-style":[{border:[].concat(Je(),["hidden"])}],"divide-x":[{"divide-x":[x]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[x]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Xe]}],"divide-style":[{divide:Je()}],"border-color":[{border:[v]}],"border-color-x":[{"border-x":[v]}],"border-color-y":[{"border-y":[v]}],"border-color-t":[{"border-t":[v]}],"border-color-r":[{"border-r":[v]}],"border-color-b":[{"border-b":[v]}],"border-color-l":[{"border-l":[v]}],"divide-color":[{divide:[v]}],"outline-style":[{outline:[""].concat(Je())}],"outline-offset":[{"outline-offset":[Fi]}],"outline-w":[{outline:[Fi]}],"outline-color":[{outline:[i]}],"ring-w":[{ring:$e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[i]}],"ring-opacity":[{"ring-opacity":[Xe]}],"ring-offset-w":[{"ring-offset":[Fi]}],"ring-offset-color":[{"ring-offset":[i]}],shadow:[{shadow:["","inner","none",ou,u2]}],"shadow-color":[{shadow:[rp]}],opacity:[{opacity:[Xe]}],"mix-blend":[{"mix-blend":Ze()}],"bg-blend":[{"bg-blend":Ze()}],filter:[{filter:["","none"]}],blur:[{blur:[c]}],brightness:[{brightness:[p]}],contrast:[{contrast:[E]}],"drop-shadow":[{"drop-shadow":["","none",ou,Yn]}],grayscale:[{grayscale:[T]}],"hue-rotate":[{"hue-rotate":[M]}],invert:[{invert:[R]}],saturate:[{saturate:[de]}],sepia:[{sepia:[ze]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[c]}],"backdrop-brightness":[{"backdrop-brightness":[p]}],"backdrop-contrast":[{"backdrop-contrast":[E]}],"backdrop-grayscale":[{"backdrop-grayscale":[T]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M]}],"backdrop-invert":[{"backdrop-invert":[R]}],"backdrop-opacity":[{"backdrop-opacity":[Xe]}],"backdrop-saturate":[{"backdrop-saturate":[de]}],"backdrop-sepia":[{"backdrop-sepia":[ze]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[m]}],"border-spacing-x":[{"border-spacing-x":[m]}],"border-spacing-y":[{"border-spacing-y":[m]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Yn]}],duration:[{duration:ge()}],ease:[{ease:["linear","in","out","in-out",Yn]}],delay:[{delay:ge()}],animate:[{animate:["none","spin","ping","pulse","bounce",Yn]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Se]}],"scale-x":[{"scale-x":[Se]}],"scale-y":[{"scale-y":[Se]}],rotate:[{rotate:[np,Yn]}],"translate-x":[{"translate-x":[Ke]}],"translate-y":[{"translate-y":[Ke]}],"skew-x":[{"skew-x":[gt]}],"skew-y":[{"skew-y":[gt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Yn]}],accent:[{accent:["auto",i]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Yn]}],"caret-color":[{caret:[i]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[u]}],"scroll-mx":[{"scroll-mx":[u]}],"scroll-my":[{"scroll-my":[u]}],"scroll-ms":[{"scroll-ms":[u]}],"scroll-me":[{"scroll-me":[u]}],"scroll-mt":[{"scroll-mt":[u]}],"scroll-mr":[{"scroll-mr":[u]}],"scroll-mb":[{"scroll-mb":[u]}],"scroll-ml":[{"scroll-ml":[u]}],"scroll-p":[{"scroll-p":[u]}],"scroll-px":[{"scroll-px":[u]}],"scroll-py":[{"scroll-py":[u]}],"scroll-ps":[{"scroll-ps":[u]}],"scroll-pe":[{"scroll-pe":[u]}],"scroll-pt":[{"scroll-pt":[u]}],"scroll-pr":[{"scroll-pr":[u]}],"scroll-pb":[{"scroll-pb":[u]}],"scroll-pl":[{"scroll-pl":[u]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Yn]}],fill:[{fill:[i,"none"]}],"stroke-w":[{stroke:[Fi,Jh]}],stroke:[{stroke:[i,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var d2=G0(Q0);function p2(i,u){for(var c in u)iC(i,c,u[c]);return i}var v2=Object.prototype.hasOwnProperty,h2=new Set(["string","number","boolean"]);function iC(i,u,c){if(!v2.call(i,u)||h2.has(typeof c)||c===null){i[u]=c;return}if(Array.isArray(c)&&Array.isArray(i[u])){i[u]=i[u].concat(c);return}if(typeof c=="object"&&typeof i[u]=="object"){if(i[u]===null){i[u]=c;return}for(var p in c)iC(i[u],p,c[p])}}function m2(i){for(var u=arguments.length,c=new Array(u>1?u-1:0),p=1;p<u;p++)c[p-1]=arguments[p];return typeof i=="function"?G0.apply(void 0,[Q0,i].concat(c)):G0.apply(void 0,[function(){return p2(Q0(),i)}].concat(c))}var oC={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},lC=i=>i||void 0,qh=(...i)=>lC(i.flat(1/0).filter(Boolean).join(" ")),ap=(...i)=>(u=oC)=>{if(!u.twMerge)return qh(i);let c=yi(u.twMergeConfig)?d2:m2(u.twMergeConfig);return lC(c(qh(i)))},uC=(i,u)=>{let c={...i};for(let p in u)c.hasOwnProperty(p)?c[p]=qh(c[p],u[p]):c[p]=u[p];return c},lu=(i,u=oC)=>{var c,p,v,g,m;let{slots:x={},variants:E={},compoundVariants:T=[],compoundSlots:M=[],defaultVariants:R={}}=i,j=qh((c=i==null?void 0:i.extend)==null?void 0:c.base,i==null?void 0:i.base),F=Qw(E,(p=i==null?void 0:i.extend)==null?void 0:p.variants),K=Object.assign({},(v=i==null?void 0:i.extend)==null?void 0:v.defaultVariants,R),ce=yi(x)?{}:{base:i==null?void 0:i.base,...x},ve=Array.isArray(u.responsiveVariants)&&u.responsiveVariants.length>0||u.responsiveVariants===!0,Xe=yi((g=i==null?void 0:i.extend)==null?void 0:g.slots)?ce:uC((m=i==null?void 0:i.extend)==null?void 0:m.slots,yi(ce)?{base:i==null?void 0:i.base}:ce),J=Se=>{var ze,gt,He,Ke;if(yi(F)&&yi(x)&&yi((ze=i==null?void 0:i.extend)==null?void 0:ze.slots))return ap(j,Se==null?void 0:Se.class,Se==null?void 0:Se.className)(u);if(T&&!Array.isArray(T))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof T}`);if(M&&!Array.isArray(M))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof M}`);let ut=(ne,ee,ge=[],me)=>{let ct=ge;if(typeof ee=="string")ct.push(Xw(ee).split(" ").map(Et=>`${ne}:${Et}`));else if(Array.isArray(ee))ct.push(ee.flatMap(Et=>`${ne}:${Et}`));else if(typeof ee=="object"&&typeof me=="string"){let Et=ee==null?void 0:ee[me];if(Et&&typeof Et=="string"){let Pt=Xw(Et);ct[me]=ct[me]?[...ct[me],...Pt.split(" ").map(Lt=>`${ne}:${Lt}`)]:Pt.split(" ").map(Lt=>`${ne}:${Lt}`)}else Array.isArray(Et)&&Et.length>0&&(ct[me]=Et.flatMap(Pt=>`${ne}:${Pt}`))}return ct},st=(ne,ee=F,ge=null)=>{let me=ee==null?void 0:ee[ne];if(typeof me!="object"||yi(me))return null;let ct=Se==null?void 0:Se[ne],Et=K==null?void 0:K[ne],Pt=[];if(ct===null)return null;let Lt=Gw(ct);typeof Lt=="object"&&ve&&(Pt=Object.keys(Lt).reduce((Cn,zn)=>{let Vr=Lt[zn],Zn=me==null?void 0:me[Vr];return zn==="initial"?(Et=Vr,Cn):Array.isArray(u.responsiveVariants)&&!u.responsiveVariants.includes(zn)?Cn:ut(zn,Zn,Cn,ge)},[]));let wn=me[Lt]||me[Gw(Et)];return typeof Pt=="object"&&typeof ge=="string"&&Pt[ge]?uC(Pt,wn):Pt.length>0?[wn,...Pt]:wn},vt=()=>F?Object.keys(F).map(ne=>st(ne,F)):null,$e=ne=>!F||typeof F!="object"?null:Object.keys(F).map(ee=>{let ge=st(ee,F,ne);return ne==="base"&&typeof ge=="string"?ge:ge&&ge[ne]}).filter(Boolean),fe=Se&&Object.fromEntries(Object.entries(Se).filter(([,ne])=>ne!==void 0)),he=ne=>{var ee;let ge=typeof(Se==null?void 0:Se[ne])=="object"?{[ne]:(ee=Se[ne])==null?void 0:ee.initial}:{};return{...K,...fe,...ge}},Je=(ne=[])=>ne==null?void 0:ne.filter(({class:ee,className:ge,...me})=>Object.entries(me).every(([ct,Et])=>{let Pt=he(ct);return Array.isArray(Et)?Et.includes(Pt[ct]):Pt[ct]===Et})).flatMap(({class:ee,className:ge})=>[ee,ge]),Ze=()=>{var ne;let ee=Je(T),ge=Je((ne=i==null?void 0:i.extend)==null?void 0:ne.compoundVariants);return HD(ge,ee)},Dt=()=>{let ne=Ze();return Array.isArray(ne)?ne.reduce((ee,ge)=>(typeof ge=="string"&&(ee.base=ap(ee.base,ge)(u)),typeof ge=="object"&&Object.entries(ge).forEach(([me,ct])=>{ee[me]=ap(ee[me],ct)(u)}),ee),{}):ne},ae=()=>M.length<1?null:M.reduce((ne,ee)=>{let{slots:ge=[],class:me,className:ct,...Et}=ee;if(!yi(Et)){let Pt=Object.keys(Et);for(let Lt of Pt){let wn=he(Lt)[Lt];if(!wn||wn!==Et[Lt])return ne}}return ge.forEach(Pt=>{ne[Pt]||(ne[Pt]=[]),ne[Pt].push([me,ct])}),ne},{});if(!yi(x)||!yi((gt=i==null?void 0:i.extend)==null?void 0:gt.slots)){let ne=(He=Dt())!=null?He:[],ee=(Ke=ae())!=null?Ke:[];return{...typeof Xe=="object"&&!yi(Xe)?Object.keys(Xe).reduce((ge,me)=>(ge[me]=ct=>ap(Xe[me],$e(me),ne==null?void 0:ne[me],ee==null?void 0:ee[me],ct==null?void 0:ct.class,ct==null?void 0:ct.className)(u),ge),{}):{}}}return ap(j,vt(),Ze(),Se==null?void 0:Se.class,Se==null?void 0:Se.className)(u)},de=()=>{if(!(!F||typeof F!="object"))return Object.keys(F)};return J.variantKeys=de(),J.base=j,J.slots=Xe,J.variants=F,J.defaultVariants=K,J.compoundSlots=M,J.compoundVariants=T,J};const y2=lu({base:"text-label"}),em=lu({base:"my-2"}),sC=lu({slots:{container:"w-full grid mt-4 first:mt-0",span:"text-category-label",items:"grid mt-2 mb-4 empty:mb-0"},variants:{variant:{}}}),cC=lu({slots:{container:em({className:"flex gap-4 items-center w-full"}),checkbox:"flex appearance-none items-center justify-center bg-white outline-none ring-0 border-2 border-primary focus:ring-0 focus:border-accent"},variants:{variant:{alpha:{checkbox:"h-5 w-5 rounded"},beta:{checkbox:"h-5 w-5"}}},defaultVariants:{variant:"alpha"}}),fC=lu({slots:{container:em({className:"w-full block"}),span:"",input:"w-full cursor-pointer ring-0 focus:ring-0 border-2 border-transparent"},variants:{variant:{alpha:{container:"grid gap-1.5",input:"flex items-center justify-between gap-4 rounded-md px-3 py-2 border-slate-700/10 peer-focus:border-accent"},beta:{container:"grid gap-0",input:"flex items-center justify-between gap-4 py-2 border-b-slate-700/10 peer-focus:border-b-accent"}}},defaultVariants:{variant:"alpha"}}),tm=lu({slots:{container:em({className:"w-full"}),span:"",input:"w-full ring-0 placeholder:text-placeholder focus:ring-0 border-2 border-transparent text-input"},variants:{variant:{alpha:{container:"grid gap-1.5",input:"rounded-md border-slate-700/10 focus:border-accent"},beta:{container:"grid gap-0",input:"px-0 focus:border-transparent focus:border-b-accent border-b-slate-700/10"}}},defaultVariants:{variant:"alpha"}}),dC=lu({slots:{container:em({className:"w-full cursor-pointer"}),span:"",input:"relative outline-none ring-2 ring-transparent",thumb:"block transition-transform duration-100 will-change-transform"},variants:{variant:{alpha:{container:"flex justify-between",input:"h-6 w-9 rounded-full bg-primary border border-black ring-2 focus:border-transparent focus:ring-accent data-[state=checked]:bg-white",thumb:"h-4 w-4 translate-x-0.5 rounded-full bg-white data-[state=checked]:translate-x-4 data-[state=checked]:bg-primary"},beta:{container:"flex justify-between",input:"h-6 w-9 rounded-full bg-primary border border-black ring-2 focus:border-transparent focus:ring-accent data-[state=checked]:bg-white",thumb:"h-4 w-4 translate-x-0.5 rounded-full bg-white data-[state=checked]:translate-x-4 data-[state=checked]:bg-primary"}}},defaultVariants:{variant:"alpha"}}),pC=lu({base:"w-max max-w-full mt-2",variants:{variant:{alpha:"bg-primary text-white px-4 py-2 rounded-md",beta:"bg-primary text-white px-4 py-2"}},defaultVariants:{variant:"alpha"}}),ip=({className:i,required:u,children:c})=>{const p=y2({className:i});return Qe.jsxs("span",{className:p,children:[c," ",u?"*":""]})},g2=({label:i,options:u,children:c})=>{const{container:p,span:v,items:g}=I.useMemo(()=>u!=null&&u.variant?sC({variant:u.variant}):sC(),[]);return Qe.jsxs("section",{className:p(),children:[i?Qe.jsx("span",{className:v(),children:i}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("div",{className:g(),children:c})]})},b2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m}=I.useMemo(()=>p!=null&&p.variant?tm({variant:p.variant}):tm(),[]);return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("input",{type:"text",placeholder:(p==null?void 0:p.placeholder)||"Write here...",className:m(),...i.register(c,{required:p!=null&&p.optionalField?!1:`${u} is required`})})]})},S2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m}=I.useMemo(()=>p!=null&&p.variant?tm({variant:p.variant}):tm(),[]);return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("textarea",{className:m(),placeholder:(p==null?void 0:p.placeholder)||"Write here...",...i.register(c,{required:p!=null&&p.optionalField?!1:`${u} is required`})})]})};function La(){return La=Object.assign?Object.assign.bind():function(i){for(var u=1;u<arguments.length;u++){var c=arguments[u];for(var p in c)Object.prototype.hasOwnProperty.call(c,p)&&(i[p]=c[p])}return i},La.apply(this,arguments)}function x2(i,u,{checkForDefaultPrevented:c=!0}={}){return function(v){if(i==null||i(v),c===!1||!v.defaultPrevented)return u==null?void 0:u(v)}}function w2(i,u){typeof i=="function"?i(u):i!=null&&(i.current=u)}function vC(...i){return u=>i.forEach(c=>w2(c,u))}function C2(...i){return I.useCallback(vC(...i),i)}function E2(i,u=[]){let c=[];function p(g,m){const x=I.createContext(m),E=c.length;c=[...c,m];function T(R){const{scope:j,children:F,...K}=R,ce=(j==null?void 0:j[i][E])||x,ve=I.useMemo(()=>K,Object.values(K));return I.createElement(ce.Provider,{value:ve},F)}function M(R,j){const F=(j==null?void 0:j[i][E])||x,K=I.useContext(F);if(K)return K;if(m!==void 0)return m;throw new Error(`\`${R}\` must be used within \`${g}\``)}return T.displayName=g+"Provider",[T,M]}const v=()=>{const g=c.map(m=>I.createContext(m));return function(x){const E=(x==null?void 0:x[i])||g;return I.useMemo(()=>({[`__scope${i}`]:{...x,[i]:E}}),[x,E])}};return v.scopeName=i,[p,T2(v,...u)]}function T2(...i){const u=i[0];if(i.length===1)return u;const c=()=>{const p=i.map(v=>({useScope:v(),scopeName:v.scopeName}));return function(g){const m=p.reduce((x,{useScope:E,scopeName:T})=>{const R=E(g)[`__scope${T}`];return{...x,...R}},{});return I.useMemo(()=>({[`__scope${u.scopeName}`]:m}),[m])}};return c.scopeName=u.scopeName,c}function hC(i){const u=I.useRef(i);return I.useEffect(()=>{u.current=i}),I.useMemo(()=>(...c)=>{var p;return(p=u.current)===null||p===void 0?void 0:p.call(u,...c)},[])}function k2({prop:i,defaultProp:u,onChange:c=()=>{}}){const[p,v]=_2({defaultProp:u,onChange:c}),g=i!==void 0,m=g?i:p,x=hC(c),E=I.useCallback(T=>{if(g){const R=typeof T=="function"?T(i):T;R!==i&&x(R)}else v(T)},[g,i,v,x]);return[m,E]}function _2({defaultProp:i,onChange:u}){const c=I.useState(i),[p]=c,v=I.useRef(p),g=hC(u);return I.useEffect(()=>{v.current!==p&&(g(p),v.current=p)},[p,v,g]),c}function R2(i){const u=I.useRef({value:i,previous:i});return I.useMemo(()=>(u.current.value!==i&&(u.current.previous=u.current.value,u.current.value=i),u.current.previous),[i])}const D2=globalThis!=null&&globalThis.document?I.useLayoutEffect:()=>{};function O2(i){const[u,c]=I.useState(void 0);return D2(()=>{if(i){c({width:i.offsetWidth,height:i.offsetHeight});const p=new ResizeObserver(v=>{if(!Array.isArray(v)||!v.length)return;const g=v[0];let m,x;if("borderBoxSize"in g){const E=g.borderBoxSize,T=Array.isArray(E)?E[0]:E;m=T.inlineSize,x=T.blockSize}else m=i.offsetWidth,x=i.offsetHeight;c({width:m,height:x})});return p.observe(i,{box:"border-box"}),()=>p.unobserve(i)}else c(void 0)},[i]),u}const mC=I.forwardRef((i,u)=>{const{children:c,...p}=i,v=I.Children.toArray(c),g=v.find(N2);if(g){const m=g.props.children,x=v.map(E=>E===g?I.Children.count(m)>1?I.Children.only(null):I.isValidElement(m)?m.props.children:null:E);return I.createElement(X0,La({},p,{ref:u}),I.isValidElement(m)?I.cloneElement(m,void 0,x):null)}return I.createElement(X0,La({},p,{ref:u}),c)});mC.displayName="Slot";const X0=I.forwardRef((i,u)=>{const{children:c,...p}=i;return I.isValidElement(c)?I.cloneElement(c,{...A2(p,c.props),ref:vC(u,c.ref)}):I.Children.count(c)>1?I.Children.only(null):null});X0.displayName="SlotClone";const M2=({children:i})=>I.createElement(I.Fragment,null,i);function N2(i){return I.isValidElement(i)&&i.type===M2}function A2(i,u){const c={...u};for(const p in u){const v=i[p],g=u[p];/^on[A-Z]/.test(p)?v&&g?c[p]=(...x)=>{g(...x),v(...x)}:v&&(c[p]=v):p==="style"?c[p]={...v,...g}:p==="className"&&(c[p]=[v,g].filter(Boolean).join(" "))}return{...i,...c}}const yC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((i,u)=>{const c=I.forwardRef((p,v)=>{const{asChild:g,...m}=p,x=g?mC:u;return I.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),I.createElement(x,La({},m,{ref:v}))});return c.displayName=`Primitive.${u}`,{...i,[u]:c}},{}),gC="Switch",[L2,w3]=E2(gC),[z2,U2]=L2(gC),j2=I.forwardRef((i,u)=>{const{__scopeSwitch:c,name:p,checked:v,defaultChecked:g,required:m,disabled:x,value:E="on",onCheckedChange:T,...M}=i,[R,j]=I.useState(null),F=C2(u,J=>j(J)),K=I.useRef(!1),ce=R?!!R.closest("form"):!0,[ve=!1,Xe]=k2({prop:v,defaultProp:g,onChange:T});return I.createElement(z2,{scope:c,checked:ve,disabled:x},I.createElement(yC.button,La({type:"button",role:"switch","aria-checked":ve,"aria-required":m,"data-state":bC(ve),"data-disabled":x?"":void 0,disabled:x,value:E},M,{ref:F,onClick:x2(i.onClick,J=>{Xe(de=>!de),ce&&(K.current=J.isPropagationStopped(),K.current||J.stopPropagation())})})),ce&&I.createElement(H2,{control:R,bubbles:!K.current,name:p,value:E,checked:ve,required:m,disabled:x,style:{transform:"translateX(-100%)"}}))}),F2="SwitchThumb",V2=I.forwardRef((i,u)=>{const{__scopeSwitch:c,...p}=i,v=U2(F2,c);return I.createElement(yC.span,La({"data-state":bC(v.checked),"data-disabled":v.disabled?"":void 0},p,{ref:u}))}),H2=i=>{const{control:u,checked:c,bubbles:p=!0,...v}=i,g=I.useRef(null),m=R2(c),x=O2(u);return I.useEffect(()=>{const E=g.current,T=window.HTMLInputElement.prototype,R=Object.getOwnPropertyDescriptor(T,"checked").set;if(m!==c&&R){const j=new Event("click",{bubbles:p});R.call(E,c),E.dispatchEvent(j)}},[m,c,p]),I.createElement("input",La({type:"checkbox","aria-hidden":!0,defaultChecked:c},v,{tabIndex:-1,ref:g,style:{...i.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function bC(i){return i?"checked":"unchecked"}const P2=j2,B2=V2,I2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m,thumb:x}=I.useMemo(()=>p!=null&&p.variant?dC({variant:p.variant}):dC(),[]),{field:{ref:E,value:T,onChange:M}}=j0({name:c,control:i?i.control:void 0,defaultValue:!1,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx(P2,{id:c,ref:E,checked:T,className:m(),onCheckedChange:R=>{M(R)},children:Qe.jsx(B2,{className:x()})})]})},nm=I;function $2({title:i,titleId:u,...c},p){return nm.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:p,"aria-labelledby":u},c),i?nm.createElement("title",{id:u},i):null,nm.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"}))}var W2=nm.forwardRef($2);const rm=I;function Y2({title:i,titleId:u,...c},p){return rm.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:p,"aria-labelledby":u},c),i?rm.createElement("title",{id:u},i):null,rm.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 16.5V9.75m0 0l3 3m-3-3l-3 3M6.75 19.5a4.5 4.5 0 01-1.41-8.775 5.25 5.25 0 0110.233-2.33 3 3 0 013.758 3.848A3.752 3.752 0 0118 19.5H6.75z"}))}var Z2=rm.forwardRef(Y2),G2=W2,Q2=Z2;const X2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m}=I.useMemo(()=>p!=null&&p.variant?fC({variant:p==null?void 0:p.variant}):fC(),[]),{field:{ref:x,value:E,onChange:T}}=j0({name:c,control:i?i.control:void 0,defaultValue:null,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("input",{ref:x,type:"file",multiple:!0,capture:"environment",onChange:M=>{M.target.files&&T(M.target.files)},className:"peer sr-only"}),Qe.jsxs("span",{className:`${m()} ${E&&E.length>0?"border-primary text-input":"border-slate-700/10 text-placeholder"}`,children:[Qe.jsx("span",{className:"grid",children:E&&E.length>0?Array.from(E).map((M,R)=>Qe.jsx("span",{className:"block max-w-full overflow-hidden text-ellipsis whitespace-nowrap",children:M.name},R)):Qe.jsx("span",{className:"block max-w-full overflow-hidden text-ellipsis whitespace-nowrap",children:(p==null?void 0:p.placeholder)||"No file selected"})}),Qe.jsx(Q2,{className:"h-6 w-6 min-w-[1.5rem]"})]})]})},K2=({label:i,options:u})=>{const c=I.useMemo(()=>u!=null&&u.variant?pC({variant:u.variant}):pC(),[]);return Qe.jsx("div",{className:"flex w-full justify-center",children:Qe.jsx("button",{type:"submit",className:c,children:i})})};function J2(i,u){typeof i=="function"?i(u):i!=null&&(i.current=u)}function SC(...i){return u=>i.forEach(c=>J2(c,u))}function xC(...i){return I.useCallback(SC(...i),i)}function q2(i,u=[]){let c=[];function p(g,m){const x=I.createContext(m),E=c.length;c=[...c,m];function T(R){const{scope:j,children:F,...K}=R,ce=(j==null?void 0:j[i][E])||x,ve=I.useMemo(()=>K,Object.values(K));return I.createElement(ce.Provider,{value:ve},F)}function M(R,j){const F=(j==null?void 0:j[i][E])||x,K=I.useContext(F);if(K)return K;if(m!==void 0)return m;throw new Error(`\`${R}\` must be used within \`${g}\``)}return T.displayName=g+"Provider",[T,M]}const v=()=>{const g=c.map(m=>I.createContext(m));return function(x){const E=(x==null?void 0:x[i])||g;return I.useMemo(()=>({[`__scope${i}`]:{...x,[i]:E}}),[x,E])}};return v.scopeName=i,[p,eO(v,...u)]}function eO(...i){const u=i[0];if(i.length===1)return u;const c=()=>{const p=i.map(v=>({useScope:v(),scopeName:v.scopeName}));return function(g){const m=p.reduce((x,{useScope:E,scopeName:T})=>{const R=E(g)[`__scope${T}`];return{...x,...R}},{});return I.useMemo(()=>({[`__scope${u.scopeName}`]:m}),[m])}};return c.scopeName=u.scopeName,c}function wC(i,u,{checkForDefaultPrevented:c=!0}={}){return function(v){if(i==null||i(v),c===!1||!v.defaultPrevented)return u==null?void 0:u(v)}}function CC(i){const u=I.useRef(i);return I.useEffect(()=>{u.current=i}),I.useMemo(()=>(...c)=>{var p;return(p=u.current)===null||p===void 0?void 0:p.call(u,...c)},[])}function tO({prop:i,defaultProp:u,onChange:c=()=>{}}){const[p,v]=nO({defaultProp:u,onChange:c}),g=i!==void 0,m=g?i:p,x=CC(c),E=I.useCallback(T=>{if(g){const R=typeof T=="function"?T(i):T;R!==i&&x(R)}else v(T)},[g,i,v,x]);return[m,E]}function nO({defaultProp:i,onChange:u}){const c=I.useState(i),[p]=c,v=I.useRef(p),g=CC(u);return I.useEffect(()=>{v.current!==p&&(g(p),v.current=p)},[p,v,g]),c}function rO(i){const u=I.useRef({value:i,previous:i});return I.useMemo(()=>(u.current.value!==i&&(u.current.previous=u.current.value,u.current.value=i),u.current.previous),[i])}const K0=globalThis!=null&&globalThis.document?I.useLayoutEffect:()=>{};function aO(i){const[u,c]=I.useState(void 0);return K0(()=>{if(i){c({width:i.offsetWidth,height:i.offsetHeight});const p=new ResizeObserver(v=>{if(!Array.isArray(v)||!v.length)return;const g=v[0];let m,x;if("borderBoxSize"in g){const E=g.borderBoxSize,T=Array.isArray(E)?E[0]:E;m=T.inlineSize,x=T.blockSize}else m=i.offsetWidth,x=i.offsetHeight;c({width:m,height:x})});return p.observe(i,{box:"border-box"}),()=>p.unobserve(i)}else c(void 0)},[i]),u}function iO(i,u){return I.useReducer((c,p)=>{const v=u[c][p];return v??c},i)}const EC=i=>{const{present:u,children:c}=i,p=oO(u),v=typeof c=="function"?c({present:p.isPresent}):I.Children.only(c),g=xC(p.ref,v.ref);return typeof c=="function"||p.isPresent?I.cloneElement(v,{ref:g}):null};EC.displayName="Presence";function oO(i){const[u,c]=I.useState(),p=I.useRef({}),v=I.useRef(i),g=I.useRef("none"),m=i?"mounted":"unmounted",[x,E]=iO(m,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return I.useEffect(()=>{const T=am(p.current);g.current=x==="mounted"?T:"none"},[x]),K0(()=>{const T=p.current,M=v.current;if(M!==i){const j=g.current,F=am(T);i?E("MOUNT"):F==="none"||(T==null?void 0:T.display)==="none"?E("UNMOUNT"):E(M&&j!==F?"ANIMATION_OUT":"UNMOUNT"),v.current=i}},[i,E]),K0(()=>{if(u){const T=R=>{const F=am(p.current).includes(R.animationName);R.target===u&&F&&qx.flushSync(()=>E("ANIMATION_END"))},M=R=>{R.target===u&&(g.current=am(p.current))};return u.addEventListener("animationstart",M),u.addEventListener("animationcancel",T),u.addEventListener("animationend",T),()=>{u.removeEventListener("animationstart",M),u.removeEventListener("animationcancel",T),u.removeEventListener("animationend",T)}}else E("ANIMATION_END")},[u,E]),{isPresent:["mounted","unmountSuspended"].includes(x),ref:I.useCallback(T=>{T&&(p.current=getComputedStyle(T)),c(T)},[])}}function am(i){return(i==null?void 0:i.animationName)||"none"}const TC=I.forwardRef((i,u)=>{const{children:c,...p}=i,v=I.Children.toArray(c),g=v.find(uO);if(g){const m=g.props.children,x=v.map(E=>E===g?I.Children.count(m)>1?I.Children.only(null):I.isValidElement(m)?m.props.children:null:E);return I.createElement(J0,La({},p,{ref:u}),I.isValidElement(m)?I.cloneElement(m,void 0,x):null)}return I.createElement(J0,La({},p,{ref:u}),c)});TC.displayName="Slot";const J0=I.forwardRef((i,u)=>{const{children:c,...p}=i;return I.isValidElement(c)?I.cloneElement(c,{...sO(p,c.props),ref:u?SC(u,c.ref):c.ref}):I.Children.count(c)>1?I.Children.only(null):null});J0.displayName="SlotClone";const lO=({children:i})=>I.createElement(I.Fragment,null,i);function uO(i){return I.isValidElement(i)&&i.type===lO}function sO(i,u){const c={...u};for(const p in u){const v=i[p],g=u[p];/^on[A-Z]/.test(p)?v&&g?c[p]=(...x)=>{g(...x),v(...x)}:v&&(c[p]=v):p==="style"?c[p]={...v,...g}:p==="className"&&(c[p]=[v,g].filter(Boolean).join(" "))}return{...i,...c}}const kC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((i,u)=>{const c=I.forwardRef((p,v)=>{const{asChild:g,...m}=p,x=g?TC:u;return I.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),I.createElement(x,La({},m,{ref:v}))});return c.displayName=`Primitive.${u}`,{...i,[u]:c}},{}),_C="Checkbox",[cO,k3]=q2(_C),[fO,dO]=cO(_C),pO=I.forwardRef((i,u)=>{const{__scopeCheckbox:c,name:p,checked:v,defaultChecked:g,required:m,disabled:x,value:E="on",onCheckedChange:T,...M}=i,[R,j]=I.useState(null),F=xC(u,de=>j(de)),K=I.useRef(!1),ce=R?!!R.closest("form"):!0,[ve=!1,Xe]=tO({prop:v,defaultProp:g,onChange:T}),J=I.useRef(ve);return I.useEffect(()=>{const de=R==null?void 0:R.form;if(de){const Se=()=>Xe(J.current);return de.addEventListener("reset",Se),()=>de.removeEventListener("reset",Se)}},[R,Xe]),I.createElement(fO,{scope:c,state:ve,disabled:x},I.createElement(kC.button,La({type:"button",role:"checkbox","aria-checked":bs(ve)?"mixed":ve,"aria-required":m,"data-state":RC(ve),"data-disabled":x?"":void 0,disabled:x,value:E},M,{ref:F,onKeyDown:wC(i.onKeyDown,de=>{de.key==="Enter"&&de.preventDefault()}),onClick:wC(i.onClick,de=>{Xe(Se=>bs(Se)?!0:!Se),ce&&(K.current=de.isPropagationStopped(),K.current||de.stopPropagation())})})),ce&&I.createElement(mO,{control:R,bubbles:!K.current,name:p,value:E,checked:ve,required:m,disabled:x,style:{transform:"translateX(-100%)"}}))}),vO="CheckboxIndicator",hO=I.forwardRef((i,u)=>{const{__scopeCheckbox:c,forceMount:p,...v}=i,g=dO(vO,c);return I.createElement(EC,{present:p||bs(g.state)||g.state===!0},I.createElement(kC.span,La({"data-state":RC(g.state),"data-disabled":g.disabled?"":void 0},v,{ref:u,style:{pointerEvents:"none",...i.style}})))}),mO=i=>{const{control:u,checked:c,bubbles:p=!0,...v}=i,g=I.useRef(null),m=rO(c),x=aO(u);return I.useEffect(()=>{const E=g.current,T=window.HTMLInputElement.prototype,R=Object.getOwnPropertyDescriptor(T,"checked").set;if(m!==c&&R){const j=new Event("click",{bubbles:p});E.indeterminate=bs(c),R.call(E,bs(c)?!1:c),E.dispatchEvent(j)}},[m,c,p]),I.createElement("input",La({type:"checkbox","aria-hidden":!0,defaultChecked:bs(c)?!1:c},v,{tabIndex:-1,ref:g,style:{...i.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function bs(i){return i==="indeterminate"}function RC(i){return bs(i)?"indeterminate":i?"checked":"unchecked"}const yO=pO,gO=hO,bO=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,checkbox:g}=I.useMemo(()=>p!=null&&p.variant?cC({variant:p.variant}):cC(),[]),{field:{ref:m,value:x,onChange:E}}=j0({name:c,control:i?i.control:void 0,defaultValue:!1,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return Qe.jsxs("label",{className:v(),children:[Qe.jsx(yO,{ref:m,className:g(),defaultChecked:x,onCheckedChange:T=>{E(T)},children:Qe.jsx(gO,{className:"text-input",children:Qe.jsx(G2,{className:"w-4"})})}),Qe.jsx(ip,{className:"text-label",required:!(p!=null&&p.optionalField),children:u})]})},SO=new Map().set("simple",b2).set("textarea",S2).set("toggle",I2).set("file",X2).set("submit",K2).set("checkbox",bO),DC=({subtype:i="simple",...u})=>{const c=SO.get(i);return c?Qe.jsx(c,{...u}):Qe.jsx(Qe.Fragment,{})},OC=({children:i,useForm:u})=>I.Children.map(i,c=>{var v,g,m,x,E;if(!c)return null;const p=c.type;return(g=(v=c.props)==null?void 0:v.config)!=null&&g.items?Qe.jsx(p,{...c.props,config:{...c.props.config,items:c.props.config.items.map(T=>T.type==="input"?{...T,useForm:u}:T)}}):(m=c.props)!=null&&m.children?Qe.jsx(p,{...c.props,children:Qe.jsx(OC,{useForm:u,children:c.props.children})}):((E=(x=c.props)==null?void 0:x.config)==null?void 0:E.type)==="input"?Qe.jsx(p,{config:{...c.props.config,useForm:u}}):c.type===DC?Qe.jsx(p,{...c.props,useForm:u}):Qe.jsx(p,{...c.props})}),xO=({children:i,options:u})=>{const c=I.useRef(null),{reset:p,register:v,handleSubmit:g,formState:{isSubmitSuccessful:m},control:x}=VD();I.useEffect(()=>{m&&(u!=null&&u.resetOnSubmit)&&p()},[m]);const E=R=>{var F;const j=new CustomEvent("twintag-form-valid",{detail:R,bubbles:!0,cancelable:!1,composed:!0});(F=c.current)==null||F.dispatchEvent(j)},T=R=>{var F;const j=new CustomEvent("twintag-form-invalid",{detail:R,bubbles:!0,cancelable:!1,composed:!0});(F=c.current)==null||F.dispatchEvent(j)},M=()=>{g(E,T)()};return I.useEffect(()=>(c.current&&c.current.addEventListener("twintag-form-validate",M),()=>{c.current&&c.current.removeEventListener("twintag-form-validate",M)}),[]),Qe.jsx("form",{ref:c,className:"font-ff-text relative",onSubmit:g(E,T),children:Qe.jsx("div",{className:"grid w-auto",children:Qe.jsx(OC,{useForm:{register:v,control:x},children:i})})})},MC=({$config:i,$blocks:u,$containers:c,$available:p})=>{const v={...i},g=v.type.length,m=v.type.indexOf(":"),x=v.type.substring(0,m>0?v.type.lastIndexOf(":"):g+1),E=m>0&&m+1!==g?v.type.substring(m+1,g+1):void 0;if(p==null?void 0:p.has(x)){const M=u==null?void 0:u.get(x),R=c==null?void 0:c.get(x);v.type=x,v.subtype=v.subtype?v.subtype:E,v.block=M,v.container=R}return v.label&&(v.label=xD.parse(v.label)),v.items&&Array.isArray(v.items)&&(v.items=v.items.map(M=>MC({$config:M,$available:p,$blocks:u,$containers:c}))),v},wO=i=>{const u=new Map([...new Map(i.$blocks),...new Map(i.$containers)]);return MC({...i,$available:u})},CO=new Map().set("input",DC),EO=new Map().set("form",xO).set("category",g2),NC=({config:i})=>{const{key:u,type:c,subtype:p,label:v,bind:g,items:m,block:x,container:E,...T}=i;if(!c)return null;if(E){const M=E;return Qe.jsx(M,{subtype:p,label:v,...T,children:m&&Array.isArray(m)?m.map((R,j)=>{var F;return Qe.jsx(NC,{config:{...T,...R,options:{...R.options,variant:(F=T.options)==null?void 0:F.variant}}},j)}):Qe.jsx(Qe.Fragment,{})},u)}if(x){const M=x;return Qe.jsx(M,{subtype:p,label:v,bind:g,...T},u)}return null},TO=({config:i,options:u})=>{const c=wO({$blocks:CO,$containers:EO,$config:{type:"form",items:i||[],options:u}});return Qe.jsx(NC,{config:c})},kO=__(OR),_O=Z_(TO,{props:{config:"json",options:"json"},shadow:"open"});class RO extends kO(_O){}customElements.define("twintag-form",RO)});
|