lawgic-dev-kit 0.11.6 → 0.11.8
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/dist/_virtual/index2.js +3 -2
- package/dist/_virtual/index3.js +3 -3
- package/dist/_virtual/index4.js +5 -3
- package/dist/_virtual/index5.js +2 -5
- package/dist/_virtual/index6.js +2 -2
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +2 -0
- package/dist/components/atoms/Checkbox/Checkbox.js +23 -15
- package/dist/components/atoms/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/components/atoms/ProgressBar/ProgressBar.js +11 -8
- package/dist/components/atoms/ProgressBar/ProgressBar.styles.d.ts +7 -0
- package/dist/components/atoms/ProgressBar/ProgressBar.styles.js +18 -0
- package/dist/components/atoms/ProgressBar/ProgressBar.types.d.ts +2 -0
- package/dist/lawgic-dev-kit.umd.js +38 -38
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/scheduler/index.js +1 -1
- package/dist/node_modules/yup/index.esm.js +3 -3
- package/dist/src/components/atoms/Checkbox/Checkbox.d.ts +12 -0
- package/package.json +1 -1
- package/dist/src/components/atoms/SidebarButton/SidebarButton.d.ts +0 -13
- package/dist/src/components/atoms/SidebarButton/SidebarButton.styles.d.ts +0 -9
- package/dist/src/components/molecules/Stepper/Stepper.styles.d.ts +0 -11
- package/dist/src/components/molecules/Stepper/Stepper.types.d.ts +0 -9
|
@@ -629,9 +629,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
629
629
|
* Released under MIT license <https://lodash.com/license>
|
|
630
630
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
631
631
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
632
|
-
*/var T$=q1.exports,T4;function E$(){return T4||(T4=1,function(t,n){(function(){var i,o="4.17.21",u=200,h="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",v="Invalid `variable` option passed into `_.template`",S="__lodash_hash_undefined__",E=500,A="__lodash_placeholder__",C=1,M=2,R=4,B=1,L=2,P=1,U=2,G=4,q=8,J=16,Y=32,le=64,me=128,pe=256,ve=512,He=30,Be="...",Pe=800,Qe=16,Xe=1,qe=2,F=3,ne=1/0,oe=9007199254740991,Me=17976931348623157e292,X=NaN,fe=4294967295,Ae=fe-1,je=fe>>>1,Ye=[["ary",me],["bind",P],["bindKey",U],["curry",q],["curryRight",J],["flip",ve],["partial",Y],["partialRight",le],["rearg",pe]],Le="[object Arguments]",Ue="[object Array]",et="[object AsyncFunction]",We="[object Boolean]",it="[object Date]",yt="[object DOMException]",un="[object Error]",Ge="[object Function]",nt="[object GeneratorFunction]",Jt="[object Map]",wa="[object Number]",pr="[object Null]",gn="[object Object]",As="[object Promise]",hd="[object Proxy]",Lo="[object RegExp]",Ia="[object Set]",gr="[object String]",$r="[object Symbol]",hm="[object Undefined]",Uo="[object WeakMap]",Vo="[object WeakSet]",tt="[object ArrayBuffer]",dn="[object DataView]",En="[object Float32Array]",yr="[object Float64Array]",Yl="[object Int8Array]",Dg="[object Int16Array]",ws="[object Int32Array]",pl="[object Uint8Array]",Ti="[object Uint8ClampedArray]",ql="[object Uint16Array]",Hr="[object Uint32Array]",Ua=/\b__p \+= '';/g,Cs=/\b(__p \+=) '' \+/g,wu=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Bo=/&(?:amp|lt|gt|quot|#39);/g,Os=/[&<>"']/g,tv=RegExp(Bo.source),md=RegExp(Os.source),pd=/<%-([\s\S]+?)%>/g,gl=/<%([\s\S]+?)%>/g,gd=/<%=([\s\S]+?)%>/g,nv=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cb=/^\w*$/,Ca=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pa=/[\\^$.*+?()[\]{}|]/g,Ei=RegExp(pa.source),Ms=/^\s+/,mm=/\s/,av=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,pm=/\{\n\/\* \[wrapped with (.+)\] \*/,iv=/,? & /,rt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yd=/[()=,{}\[\]\/\s]/,Fa=/\\(\\)?/g,Cu=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Hc=/\w*$/,jo=/^[-+]0x[0-9a-f]+$/i,Oa=/^0b[01]+$/i,vd=/^\[object .+?Constructor\]$/,vr=/^0o[0-7]+$/i,Ds=/^(?:0|[1-9]\d*)$/,Rs=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bd=/($^)/,gm=/['\n\r\u2028\u2029\\]/g,Pc="\\ud800-\\udfff",rv="\\u0300-\\u036f",$o="\\ufe20-\\ufe2f",Sd="\\u20d0-\\u20ff",yl=rv+$o+Sd,xd="\\u2700-\\u27bf",ym="a-z\\xdf-\\xf6\\xf8-\\xff",Ou="\\xac\\xb1\\xd7\\xf7",Ai="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",_s="\\u2000-\\u206f",Mu=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",vm="A-Z\\xc0-\\xd6\\xd8-\\xde",Xa="\\ufe0e\\ufe0f",kc=Ou+Ai+_s+Mu,Td="['’]",Ns="["+Pc+"]",zs="["+kc+"]",Ho="["+yl+"]",lv="\\d+",Pr="["+xd+"]",Ed="["+ym+"]",Ad="[^"+Pc+kc+lv+xd+ym+vm+"]",Du="\\ud83c[\\udffb-\\udfff]",Ru="(?:"+Ho+"|"+Du+")",bm="[^"+Pc+"]",wd="(?:\\ud83c[\\udde6-\\uddff]){2}",Ls="[\\ud800-\\udbff][\\udc00-\\udfff]",_u="["+vm+"]",Cd="\\u200d",Yc="(?:"+Ed+"|"+Ad+")",Nu="(?:"+_u+"|"+Ad+")",ov="(?:"+Td+"(?:d|ll|m|re|s|t|ve))?",Rg="(?:"+Td+"(?:D|LL|M|RE|S|T|VE))?",qc=Ru+"?",Us="["+Xa+"]?",Sm="(?:"+Cd+"(?:"+[bm,wd,Ls].join("|")+")"+Us+qc+")*",Gc="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ic="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",_g=Us+qc+Sm,Ng="(?:"+[Pr,wd,Ls].join("|")+")"+_g,Fc="(?:"+[bm+Ho+"?",Ho,wd,Ls,Ns].join("|")+")",zu=RegExp(Td,"g"),Gl=RegExp(Ho,"g"),Xc=RegExp(Du+"(?="+Du+")|"+Fc+_g,"g"),Po=RegExp([_u+"?"+Ed+"+"+ov+"(?="+[zs,_u,"$"].join("|")+")",Nu+"+"+Rg+"(?="+[zs,_u+Yc,"$"].join("|")+")",_u+"?"+Yc+"+"+ov,_u+"+"+Rg,Ic,Gc,lv,Ng].join("|"),"g"),ko=RegExp("["+Cd+Pc+yl+Xa+"]"),Zc=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Lu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],zg=-1,Lt={};Lt[En]=Lt[yr]=Lt[Yl]=Lt[Dg]=Lt[ws]=Lt[pl]=Lt[Ti]=Lt[ql]=Lt[Hr]=!0,Lt[Le]=Lt[Ue]=Lt[tt]=Lt[We]=Lt[dn]=Lt[it]=Lt[un]=Lt[Ge]=Lt[Jt]=Lt[wa]=Lt[gn]=Lt[Lo]=Lt[Ia]=Lt[gr]=Lt[Uo]=!1;var An={};An[Le]=An[Ue]=An[tt]=An[dn]=An[We]=An[it]=An[En]=An[yr]=An[Yl]=An[Dg]=An[ws]=An[Jt]=An[wa]=An[gn]=An[Lo]=An[Ia]=An[gr]=An[$r]=An[pl]=An[Ti]=An[ql]=An[Hr]=!0,An[un]=An[Ge]=An[Uo]=!1;var xm={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},wi={"&":"&","<":"<",">":">",'"':""","'":"'"},Vs={"&":"&","<":"<",">":">",""":'"',"'":"'"},Tm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Od=parseFloat,sv=parseInt,Em=typeof pS=="object"&&pS&&pS.Object===Object&&pS,Am=typeof self=="object"&&self&&self.Object===Object&&self,ca=Em||Am||Function("return this")(),Yo=n&&!n.nodeType&&n,qo=Yo&&!0&&t&&!t.nodeType&&t,Lg=qo&&qo.exports===Yo,wm=Lg&&Em.process,kr=function(){try{var re=qo&&qo.require&&qo.require("util").types;return re||wm&&wm.binding&&wm.binding("util")}catch{}}(),Cm=kr&&kr.isArrayBuffer,uv=kr&&kr.isDate,cv=kr&&kr.isMap,fv=kr&&kr.isRegExp,Kc=kr&&kr.isSet,Ug=kr&&kr.isTypedArray;function Ci(re,we,Se){switch(Se.length){case 0:return re.call(we);case 1:return re.call(we,Se[0]);case 2:return re.call(we,Se[0],Se[1]);case 3:return re.call(we,Se[0],Se[1],Se[2])}return re.apply(we,Se)}function dv(re,we,Se,Ze){for(var St=-1,Mt=re==null?0:re.length;++St<Mt;){var wn=re[St];we(Ze,wn,Se(wn),re)}return Ze}function br(re,we){for(var Se=-1,Ze=re==null?0:re.length;++Se<Ze&&we(re[Se],Se,re)!==!1;);return re}function Vg(re,we){for(var Se=re==null?0:re.length;Se--&&we(re[Se],Se,re)!==!1;);return re}function Bg(re,we){for(var Se=-1,Ze=re==null?0:re.length;++Se<Ze;)if(!we(re[Se],Se,re))return!1;return!0}function oi(re,we){for(var Se=-1,Ze=re==null?0:re.length,St=0,Mt=[];++Se<Ze;){var wn=re[Se];we(wn,Se,re)&&(Mt[St++]=wn)}return Mt}function Il(re,we){var Se=re==null?0:re.length;return!!Se&&Vu(re,we,0)>-1}function Sr(re,we,Se){for(var Ze=-1,St=re==null?0:re.length;++Ze<St;)if(Se(we,re[Ze]))return!0;return!1}function Qt(re,we){for(var Se=-1,Ze=re==null?0:re.length,St=Array(Ze);++Se<Ze;)St[Se]=we(re[Se],Se,re);return St}function Yr(re,we){for(var Se=-1,Ze=we.length,St=re.length;++Se<Ze;)re[St+Se]=we[Se];return re}function Qc(re,we,Se,Ze){var St=-1,Mt=re==null?0:re.length;for(Ze&&Mt&&(Se=re[++St]);++St<Mt;)Se=we(Se,re[St],St,re);return Se}function jg(re,we,Se,Ze){var St=re==null?0:re.length;for(Ze&&St&&(Se=re[--St]);St--;)Se=we(Se,re[St],St,re);return Se}function si(re,we){for(var Se=-1,Ze=re==null?0:re.length;++Se<Ze;)if(we(re[Se],Se,re))return!0;return!1}var hv=qr("length");function Om(re){return re.split("")}function Uu(re){return re.match(rt)||[]}function Mm(re,we,Se){var Ze;return Se(re,function(St,Mt,wn){if(we(St,Mt,wn))return Ze=Mt,!1}),Ze}function Md(re,we,Se,Ze){for(var St=re.length,Mt=Se+(Ze?1:-1);Ze?Mt--:++Mt<St;)if(we(re[Mt],Mt,re))return Mt;return-1}function Vu(re,we,Se){return we===we?Gg(re,we,Se):Md(re,Wc,Se)}function Dd(re,we,Se,Ze){for(var St=Se-1,Mt=re.length;++St<Mt;)if(Ze(re[St],we))return St;return-1}function Wc(re){return re!==re}function Dm(re,we){var Se=re==null?0:re.length;return Se?Fl(re,we)/Se:X}function qr(re){return function(we){return we==null?i:we[re]}}function Rd(re){return function(we){return re==null?i:re[we]}}function _d(re,we,Se,Ze,St){return St(re,function(Mt,wn,Wt){Se=Ze?(Ze=!1,Mt):we(Se,Mt,wn,Wt)}),Se}function Nd(re,we){var Se=re.length;for(re.sort(we);Se--;)re[Se]=re[Se].value;return re}function Fl(re,we){for(var Se,Ze=-1,St=re.length;++Ze<St;){var Mt=we(re[Ze]);Mt!==i&&(Se=Se===i?Mt:Se+Mt)}return Se}function Xl(re,we){for(var Se=-1,Ze=Array(re);++Se<re;)Ze[Se]=we(Se);return Ze}function $g(re,we){return Qt(we,function(Se){return[Se,re[Se]]})}function Bs(re){return re&&re.slice(0,Vn(re)+1).replace(Ms,"")}function Gi(re){return function(we){return re(we)}}function Jc(re,we){return Qt(we,function(Se){return re[Se]})}function js(re,we){return re.has(we)}function Gr(re,we){for(var Se=-1,Ze=re.length;++Se<Ze&&Vu(we,re[Se],0)>-1;);return Se}function Ir(re,we){for(var Se=re.length;Se--&&Vu(we,re[Se],0)>-1;);return Se}function Hg(re,we){for(var Se=re.length,Ze=0;Se--;)re[Se]===we&&++Ze;return Ze}var Zl=Rd(xm),Pg=Rd(wi);function kg(re){return"\\"+Tm[re]}function Bu(re,we){return re==null?i:re[we]}function Fr(re){return ko.test(re)}function Yg(re){return Zc.test(re)}function ef(re){for(var we,Se=[];!(we=re.next()).done;)Se.push(we.value);return Se}function zd(re){var we=-1,Se=Array(re.size);return re.forEach(function(Ze,St){Se[++we]=[St,Ze]}),Se}function Ld(re,we){return function(Se){return re(we(Se))}}function Oi(re,we){for(var Se=-1,Ze=re.length,St=0,Mt=[];++Se<Ze;){var wn=re[Se];(wn===we||wn===A)&&(re[Se]=A,Mt[St++]=Se)}return Mt}function Xr(re){var we=-1,Se=Array(re.size);return re.forEach(function(Ze){Se[++we]=Ze}),Se}function qg(re){var we=-1,Se=Array(re.size);return re.forEach(function(Ze){Se[++we]=[Ze,Ze]}),Se}function Gg(re,we,Se){for(var Ze=Se-1,St=re.length;++Ze<St;)if(re[Ze]===we)return Ze;return-1}function Za(re,we,Se){for(var Ze=Se+1;Ze--;)if(re[Ze]===we)return Ze;return Ze}function xr(re){return Fr(re)?Ig(re):hv(re)}function Va(re){return Fr(re)?Vd(re):Om(re)}function Vn(re){for(var we=re.length;we--&&mm.test(re.charAt(we)););return we}var Ud=Rd(Vs);function Ig(re){for(var we=Xc.lastIndex=0;Xc.test(re);)++we;return we}function Vd(re){return re.match(Xc)||[]}function ju(re){return re.match(Po)||[]}var Kl=function re(we){we=we==null?ca:ui.defaults(ca.Object(),we,ui.pick(ca,Lu));var Se=we.Array,Ze=we.Date,St=we.Error,Mt=we.Function,wn=we.Math,Wt=we.Object,Rm=we.RegExp,Fg=we.String,Tr=we.TypeError,tf=Se.prototype,_m=Mt.prototype,$u=Wt.prototype,nf=we["__core-js_shared__"],af=_m.toString,an=$u.hasOwnProperty,Zr=0,Nm=function(){var f=/[^.]+$/.exec(nf&&nf.keys&&nf.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}(),ci=$u.toString,Ii=af.call(Wt),$s=ca._,Ql=Rm("^"+af.call(an).replace(pa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fi=Lg?we.Buffer:i,Mi=we.Symbol,Go=we.Uint8Array,vl=Fi?Fi.allocUnsafe:i,Io=Ld(Wt.getPrototypeOf,Wt),rf=Wt.create,Hu=$u.propertyIsEnumerable,Bd=tf.splice,Di=Mi?Mi.isConcatSpreadable:i,Fo=Mi?Mi.iterator:i,Ka=Mi?Mi.toStringTag:i,Dt=function(){try{var f=uo(Wt,"defineProperty");return f({},"",{}),f}catch{}}(),$e=we.clearTimeout!==ca.clearTimeout&&we.clearTimeout,Kr=Ze&&Ze.now!==ca.Date.now&&Ze.now,lf=we.setTimeout!==ca.setTimeout&&we.setTimeout,Bn=wn.ceil,bl=wn.floor,Wl=Wt.getOwnPropertySymbols,jd=Fi?Fi.isBuffer:i,Pu=we.isFinite,Qr=tf.join,Xi=Ld(Wt.keys,Wt),Mn=wn.max,jn=wn.min,ta=Ze.now,en=we.parseInt,$d=wn.random,ku=tf.reverse,Wr=uo(we,"DataView"),kn=uo(we,"Map"),rn=uo(we,"Promise"),Yt=uo(we,"Set"),fi=uo(we,"WeakMap"),di=uo(Wt,"create"),Jl=fi&&new fi,Zi={},Hd=ho(Wr),Xg=ho(kn),of=ho(rn),sf=ho(Yt),Zg=ho(fi),Xo=Mi?Mi.prototype:i,Zo=Xo?Xo.valueOf:i,eo=Xo?Xo.toString:i;function j(f){if(Nn(f)&&!bt(f)&&!(f instanceof qt)){if(f instanceof Ri)return f;if(an.call(f,"__wrapped__"))return ba(f)}return new Ri(f)}var Ki=function(){function f(){}return function(m){if(!Sn(m))return{};if(rf)return rf(m);f.prototype=m;var T=new f;return f.prototype=i,T}}();function Er(){}function Ri(f,m){this.__wrapped__=f,this.__actions__=[],this.__chain__=!!m,this.__index__=0,this.__values__=i}j.templateSettings={escape:pd,evaluate:gl,interpolate:gd,variable:"",imports:{_:j}},j.prototype=Er.prototype,j.prototype.constructor=j,Ri.prototype=Ki(Er.prototype),Ri.prototype.constructor=Ri;function qt(f){this.__wrapped__=f,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=fe,this.__views__=[]}function uf(){var f=new qt(this.__wrapped__);return f.__actions__=va(this.__actions__),f.__dir__=this.__dir__,f.__filtered__=this.__filtered__,f.__iteratees__=va(this.__iteratees__),f.__takeCount__=this.__takeCount__,f.__views__=va(this.__views__),f}function Pd(){if(this.__filtered__){var f=new qt(this);f.__dir__=-1,f.__filtered__=!0}else f=this.clone(),f.__dir__*=-1;return f}function Hs(){var f=this.__wrapped__.value(),m=this.__dir__,T=bt(f),D=m<0,z=T?f.length:0,k=o0(0,z,this.__views__),K=k.start,te=k.end,ue=te-K,ze=D?te:K-1,Re=this.__iteratees__,Ve=Re.length,Fe=0,ut=jn(ue,this.__takeCount__);if(!T||!D&&z==ue&&ut==ue)return vv(f,this.__actions__);var vt=[];e:for(;ue--&&Fe<ut;){ze+=m;for(var Bt=-1,gt=f[ze];++Bt<Ve;){var Zt=Re[Bt],ln=Zt.iteratee,cl=Zt.type,cr=ln(gt);if(cl==qe)gt=cr;else if(!cr){if(cl==Xe)continue e;break e}}vt[Fe++]=gt}return vt}qt.prototype=Ki(Er.prototype),qt.prototype.constructor=qt;function Gn(f){var m=-1,T=f==null?0:f.length;for(this.clear();++m<T;){var D=f[m];this.set(D[0],D[1])}}function kd(){this.__data__=di?di(null):{},this.size=0}function Kg(f){var m=this.has(f)&&delete this.__data__[f];return this.size-=m?1:0,m}function cf(f){var m=this.__data__;if(di){var T=m[f];return T===S?i:T}return an.call(m,f)?m[f]:i}function zm(f){var m=this.__data__;return di?m[f]!==i:an.call(m,f)}function mv(f,m){var T=this.__data__;return this.size+=this.has(f)?0:1,T[f]=di&&m===i?S:m,this}Gn.prototype.clear=kd,Gn.prototype.delete=Kg,Gn.prototype.get=cf,Gn.prototype.has=zm,Gn.prototype.set=mv;function Dn(f){var m=-1,T=f==null?0:f.length;for(this.clear();++m<T;){var D=f[m];this.set(D[0],D[1])}}function ff(){this.__data__=[],this.size=0}function to(f){var m=this.__data__,T=qu(m,f);if(T<0)return!1;var D=m.length-1;return T==D?m.pop():Bd.call(m,T,1),--this.size,!0}function Ps(f){var m=this.__data__,T=qu(m,f);return T<0?i:m[T][1]}function Yd(f){return qu(this.__data__,f)>-1}function Jr(f,m){var T=this.__data__,D=qu(T,f);return D<0?(++this.size,T.push([f,m])):T[D][1]=m,this}Dn.prototype.clear=ff,Dn.prototype.delete=to,Dn.prototype.get=Ps,Dn.prototype.has=Yd,Dn.prototype.set=Jr;function Rn(f){var m=-1,T=f==null?0:f.length;for(this.clear();++m<T;){var D=f[m];this.set(D[0],D[1])}}function Lm(){this.size=0,this.__data__={hash:new Gn,map:new(kn||Dn),string:new Gn}}function Um(f){var m=tc(this,f).delete(f);return this.size-=m?1:0,m}function pv(f){return tc(this,f).get(f)}function Vm(f){return tc(this,f).has(f)}function no(f,m){var T=tc(this,f),D=T.size;return T.set(f,m),this.size+=T.size==D?0:1,this}Rn.prototype.clear=Lm,Rn.prototype.delete=Um,Rn.prototype.get=pv,Rn.prototype.has=Vm,Rn.prototype.set=no;function Sl(f){var m=-1,T=f==null?0:f.length;for(this.__data__=new Rn;++m<T;)this.add(f[m])}function Yu(f){return this.__data__.set(f,S),this}function Bm(f){return this.__data__.has(f)}Sl.prototype.add=Sl.prototype.push=Yu,Sl.prototype.has=Bm;function Ba(f){var m=this.__data__=new Dn(f);this.size=m.size}function jm(){this.__data__=new Dn,this.size=0}function qd(f){var m=this.__data__,T=m.delete(f);return this.size=m.size,T}function $m(f){return this.__data__.get(f)}function Hm(f){return this.__data__.has(f)}function Gd(f,m){var T=this.__data__;if(T instanceof Dn){var D=T.__data__;if(!kn||D.length<u-1)return D.push([f,m]),this.size=++T.size,this;T=this.__data__=new Rn(D)}return T.set(f,m),this.size=T.size,this}Ba.prototype.clear=jm,Ba.prototype.delete=qd,Ba.prototype.get=$m,Ba.prototype.has=Hm,Ba.prototype.set=Gd;function Pm(f,m){var T=bt(f),D=!T&&Ha(f),z=!T&&!D&&xo(f),k=!T&&!D&&!z&&qf(f),K=T||D||z||k,te=K?Xl(f.length,Fg):[],ue=te.length;for(var ze in f)(m||an.call(f,ze))&&!(K&&(ze=="length"||z&&(ze=="offset"||ze=="parent")||k&&(ze=="buffer"||ze=="byteLength"||ze=="byteOffset")||rl(ze,ue)))&&te.push(ze);return te}function ks(f){var m=f.length;return m?f[nl(0,m-1)]:i}function Qg(f,m){return ac(va(f),tl(m,0,f.length))}function Wg(f){return ac(va(f))}function el(f,m,T){(T!==i&&!vi(f[m],T)||T===i&&!(m in f))&&Tl(f,m,T)}function Ys(f,m,T){var D=f[m];(!(an.call(f,m)&&vi(D,T))||T===i&&!(m in f))&&Tl(f,m,T)}function qu(f,m){for(var T=f.length;T--;)if(vi(f[T][0],m))return T;return-1}function Qi(f,m,T,D){return Yn(f,function(z,k,K){m(D,z,T(z),K)}),D}function xl(f,m){return f&&zi(m,Sa(m),f)}function Gu(f,m){return f&&zi(m,Na(m),f)}function Tl(f,m,T){m=="__proto__"&&Dt?Dt(f,m,{configurable:!0,enumerable:!0,value:T,writable:!0}):f[m]=T}function Id(f,m){for(var T=-1,D=m.length,z=Se(D),k=f==null;++T<D;)z[T]=k?i:Xf(f,m[T]);return z}function tl(f,m,T){return f===f&&(T!==i&&(f=f<=T?f:T),m!==i&&(f=f>=m?f:m)),f}function ga(f,m,T,D,z,k){var K,te=m&C,ue=m&M,ze=m&R;if(T&&(K=z?T(f,D,z,k):T(f)),K!==i)return K;if(!Sn(f))return f;var Re=bt(f);if(Re){if(K=Qs(f),!te)return va(f,K)}else{var Ve=ja(f),Fe=Ve==Ge||Ve==nt;if(xo(f))return tp(f,te);if(Ve==gn||Ve==Le||Fe&&!z){if(K=ue||Fe?{}:Cf(f),!te)return ue?Qu(f,Gu(K,f)):ip(f,xl(K,f))}else{if(!An[Ve])return z?f:{};K=fp(f,Ve,te)}}k||(k=new Ba);var ut=k.get(f);if(ut)return ut;k.set(f,K),dc(f)?f.forEach(function(gt){K.add(ga(gt,m,T,gt,f,k))}):Rl(f)&&f.forEach(function(gt,Zt){K.set(Zt,ga(gt,m,T,Zt,f,k))});var vt=ze?ue?Ol:op:ue?Na:Sa,Bt=Re?i:vt(f);return br(Bt||f,function(gt,Zt){Bt&&(Zt=gt,gt=f[Zt]),Ys(K,Zt,ga(gt,m,T,Zt,f,k))}),K}function km(f){var m=Sa(f);return function(T){return df(T,f,m)}}function df(f,m,T){var D=T.length;if(f==null)return!D;for(f=Wt(f);D--;){var z=T[D],k=m[z],K=f[z];if(K===i&&!(z in f)||!k(K))return!1}return!0}function qs(f,m,T){if(typeof f!="function")throw new Tr(g);return Mf(function(){f.apply(i,T)},m)}function Ko(f,m,T,D){var z=-1,k=Il,K=!0,te=f.length,ue=[],ze=m.length;if(!te)return ue;T&&(m=Qt(m,Gi(T))),D?(k=Sr,K=!1):m.length>=u&&(k=js,K=!1,m=new Sl(m));e:for(;++z<te;){var Re=f[z],Ve=T==null?Re:T(Re);if(Re=D||Re!==0?Re:0,K&&Ve===Ve){for(var Fe=ze;Fe--;)if(m[Fe]===Ve)continue e;ue.push(Re)}else k(m,Ve,D)||ue.push(Re)}return ue}var Yn=Li(Qa),Iu=Li(Ar,!0);function hf(f,m){var T=!0;return Yn(f,function(D,z,k){return T=!!m(D,z,k),T}),T}function _i(f,m,T){for(var D=-1,z=f.length;++D<z;){var k=f[D],K=m(k);if(K!=null&&(te===i?K===K&&!ni(K):T(K,te)))var te=K,ue=k}return ue}function Rt(f,m,T,D){var z=f.length;for(T=Ot(T),T<0&&(T=-T>z?0:z+T),D=D===i||D>z?z:Ot(D),D<0&&(D+=z),D=T>D?0:To(D);T<D;)f[T++]=m;return f}function hn(f,m){var T=[];return Yn(f,function(D,z,k){m(D,z,k)&&T.push(D)}),T}function Ht(f,m,T,D,z){var k=-1,K=f.length;for(T||(T=co),z||(z=[]);++k<K;){var te=f[k];m>0&&T(te)?m>1?Ht(te,m-1,T,D,z):Yr(z,te):D||(z[z.length]=te)}return z}var Fu=Zs(),Wi=Zs(!0);function Qa(f,m){return f&&Fu(f,m,Sa)}function Ar(f,m){return f&&Wi(f,m,Sa)}function hi(f,m){return oi(m,function(T){return Dr(f[T])})}function Ni(f,m){m=ro(m,f);for(var T=0,D=m.length;f!=null&&T<D;)f=f[vn(m[T++])];return T&&T==D?f:i}function Ym(f,m,T){var D=m(f);return bt(f)?D:Yr(D,T(f))}function It(f){return f==null?f===i?hm:pr:Ka&&Ka in Wt(f)?sp(f):pp(f)}function mf(f,m){return f>m}function qm(f,m){return f!=null&&an.call(f,m)}function Gs(f,m){return f!=null&&m in Wt(f)}function Jg(f,m,T){return f>=jn(m,T)&&f<Mn(m,T)}function Gm(f,m,T){for(var D=T?Sr:Il,z=f[0].length,k=f.length,K=k,te=Se(k),ue=1/0,ze=[];K--;){var Re=f[K];K&&m&&(Re=Qt(Re,Gi(m))),ue=jn(Re.length,ue),te[K]=!T&&(m||z>=120&&Re.length>=120)?new Sl(K&&Re):i}Re=f[0];var Ve=-1,Fe=te[0];e:for(;++Ve<z&&ze.length<ue;){var ut=Re[Ve],vt=m?m(ut):ut;if(ut=T||ut!==0?ut:0,!(Fe?js(Fe,vt):D(ze,vt,T))){for(K=k;--K;){var Bt=te[K];if(!(Bt?js(Bt,vt):D(f[K],vt,T)))continue e}Fe&&Fe.push(vt),ze.push(ut)}}return ze}function Im(f,m,T,D){return Qa(f,function(z,k,K){m(D,T(z),k,K)}),D}function ao(f,m,T){m=ro(m,f),f=nc(f,m);var D=f==null?f:f[vn($a(m))];return D==null?i:Ci(D,f,T)}function Fd(f){return Nn(f)&&It(f)==Le}function mi(f){return Nn(f)&&It(f)==tt}function na(f){return Nn(f)&&It(f)==it}function Qo(f,m,T,D,z){return f===m?!0:f==null||m==null||!Nn(f)&&!Nn(m)?f!==f&&m!==m:Xd(f,m,T,D,Qo,z)}function Xd(f,m,T,D,z,k){var K=bt(f),te=bt(m),ue=K?Ue:ja(f),ze=te?Ue:ja(m);ue=ue==Le?gn:ue,ze=ze==Le?gn:ze;var Re=ue==gn,Ve=ze==gn,Fe=ue==ze;if(Fe&&xo(f)){if(!xo(m))return!1;K=!0,Re=!1}if(Fe&&!Re)return k||(k=new Ba),K||qf(f)?l0(f,m,T,D,z,k):aa(f,m,ue,T,D,z,k);if(!(T&B)){var ut=Re&&an.call(f,"__wrapped__"),vt=Ve&&an.call(m,"__wrapped__");if(ut||vt){var Bt=ut?f.value():f,gt=vt?m.value():m;return k||(k=new Ba),z(Bt,gt,T,D,k)}}return Fe?(k||(k=new Ba),Ra(f,m,T,D,z,k)):!1}function ya(f){return Nn(f)&&ja(f)==Jt}function pf(f,m,T,D){var z=T.length,k=z,K=!D;if(f==null)return!k;for(f=Wt(f);z--;){var te=T[z];if(K&&te[2]?te[1]!==f[te[0]]:!(te[0]in f))return!1}for(;++z<k;){te=T[z];var ue=te[0],ze=f[ue],Re=te[1];if(K&&te[2]){if(ze===i&&!(ue in f))return!1}else{var Ve=new Ba;if(D)var Fe=D(ze,Re,ue,f,m,Ve);if(!(Fe===i?Qo(Re,ze,B|L,D,Ve):Fe))return!1}}return!0}function El(f){if(!Sn(f)||ch(f))return!1;var m=Dr(f)?Ql:vd;return m.test(ho(f))}function Zd(f){return Nn(f)&&It(f)==Lo}function Fm(f){return Nn(f)&&ja(f)==Ia}function Xm(f){return Nn(f)&&Bi(f.length)&&!!Lt[It(f)]}function gf(f){return typeof f=="function"?f:f==null?he:typeof f=="object"?bt(f)?vf(f[0],f[1]):Qd(f):tn(f)}function yf(f){if(!mt(f))return Xi(f);var m=[];for(var T in Wt(f))an.call(f,T)&&T!="constructor"&&m.push(T);return m}function e0(f){if(!Sn(f))return Js(f);var m=mt(f),T=[];for(var D in f)D=="constructor"&&(m||!an.call(f,D))||T.push(D);return T}function Kd(f,m){return f<m}function Zm(f,m){var T=-1,D=da(f)?Se(f.length):[];return Yn(f,function(z,k,K){D[++T]=m(z,k,K)}),D}function Qd(f){var m=sh(f);return m.length==1&&m[0][2]?xv(m[0][0],m[0][1]):function(T){return T===f||pf(T,f,m)}}function vf(f,m){return hp(f)&&mp(m)?xv(vn(f),m):function(T){var D=Xf(T,f);return D===i&&D===m?Eo(T,f):Qo(m,D,B|L)}}function Xu(f,m,T,D,z){f!==m&&Fu(m,function(k,K){if(z||(z=new Ba),Sn(k))gv(f,m,K,T,Xu,D,z);else{var te=D?D(eu(f,K),k,K+"",f,m,z):i;te===i&&(te=k),el(f,K,te)}},Na)}function gv(f,m,T,D,z,k,K){var te=eu(f,T),ue=eu(m,T),ze=K.get(ue);if(ze){el(f,T,ze);return}var Re=k?k(te,ue,T+"",f,m,K):i,Ve=Re===i;if(Ve){var Fe=bt(ue),ut=!Fe&&xo(ue),vt=!Fe&&!ut&&qf(ue);Re=ue,Fe||ut||vt?bt(te)?Re=te:qn(te)?Re=va(te):ut?(Ve=!1,Re=tp(ue,!0)):vt?(Ve=!1,Re=np(ue,!0)):Re=[]:sl(ue)||Ha(ue)?(Re=te,Ha(te)?Re=wh(te):(!Sn(te)||Dr(te))&&(Re=Cf(ue))):Ve=!1}Ve&&(K.set(ue,Re),z(Re,ue,D,k,K),K.delete(ue)),el(f,T,Re)}function Wd(f,m){var T=f.length;if(T)return m+=m<0?T:0,rl(m,T)?f[m]:i}function bf(f,m,T){m.length?m=Qt(m,function(k){return bt(k)?function(K){return Ni(K,k.length===1?k[0]:k)}:k}):m=[he];var D=-1;m=Qt(m,Gi(dt()));var z=Zm(f,function(k,K,te){var ue=Qt(m,function(ze){return ze(k)});return{criteria:ue,index:++D,value:k}});return Nd(z,function(k,K){return r0(k,K,T)})}function Km(f,m){return Jd(f,m,function(T,D){return Eo(f,D)})}function Jd(f,m,T){for(var D=-1,z=m.length,k={};++D<z;){var K=m[D],te=Ni(f,K);T(te,K)&&Wo(k,ro(K,f),te)}return k}function t0(f){return function(m){return Ni(m,f)}}function Sf(f,m,T,D){var z=D?Dd:Vu,k=-1,K=m.length,te=f;for(f===m&&(m=va(m)),T&&(te=Qt(f,Gi(T)));++k<K;)for(var ue=0,ze=m[k],Re=T?T(ze):ze;(ue=z(te,Re,ue,D))>-1;)te!==f&&Bd.call(te,ue,1),Bd.call(f,ue,1);return f}function Qm(f,m){for(var T=f?m.length:0,D=T-1;T--;){var z=m[T];if(T==D||z!==k){var k=z;rl(z)?Bd.call(f,z,1):Zu(f,z)}}return f}function nl(f,m){return f+bl($d()*(m-f+1))}function Wm(f,m,T,D){for(var z=-1,k=Mn(Bn((m-f)/(T||1)),0),K=Se(k);k--;)K[D?k:++z]=f,f+=T;return K}function n0(f,m){var T="";if(!f||m<1||m>oe)return T;do m%2&&(T+=f),m=bl(m/2),m&&(f+=f);while(m);return T}function _t(f,m){return ir(gp(f,m,he),f+"")}function Ji(f){return ks(mc(f))}function eh(f,m){var T=mc(f);return ac(T,tl(m,0,T.length))}function Wo(f,m,T,D){if(!Sn(f))return f;m=ro(m,f);for(var z=-1,k=m.length,K=k-1,te=f;te!=null&&++z<k;){var ue=vn(m[z]),ze=T;if(ue==="__proto__"||ue==="constructor"||ue==="prototype")return f;if(z!=K){var Re=te[ue];ze=D?D(Re,ue,te):i,ze===i&&(ze=Sn(Re)?Re:rl(m[z+1])?[]:{})}Ys(te,ue,ze),te=te[ue]}return f}var Jo=Jl?function(f,m){return Jl.set(f,m),f}:he,On=Dt?function(f,m){return Dt(f,"toString",{configurable:!0,enumerable:!1,value:de(m),writable:!0})}:he;function yv(f){return ac(mc(f))}function wr(f,m,T){var D=-1,z=f.length;m<0&&(m=-m>z?0:z+m),T=T>z?z:T,T<0&&(T+=z),z=m>T?0:T-m>>>0,m>>>=0;for(var k=Se(z);++D<z;)k[D]=f[D+m];return k}function a0(f,m){var T;return Yn(f,function(D,z,k){return T=m(D,z,k),!T}),!!T}function er(f,m,T){var D=0,z=f==null?D:f.length;if(typeof m=="number"&&m===m&&z<=je){for(;D<z;){var k=D+z>>>1,K=f[k];K!==null&&!ni(K)&&(T?K<=m:K<m)?D=k+1:z=k}return z}return th(f,m,he,T)}function th(f,m,T,D){var z=0,k=f==null?0:f.length;if(k===0)return 0;m=T(m);for(var K=m!==m,te=m===null,ue=ni(m),ze=m===i;z<k;){var Re=bl((z+k)/2),Ve=T(f[Re]),Fe=Ve!==i,ut=Ve===null,vt=Ve===Ve,Bt=ni(Ve);if(K)var gt=D||vt;else ze?gt=vt&&(D||Fe):te?gt=vt&&Fe&&(D||!ut):ue?gt=vt&&Fe&&!ut&&(D||!Bt):ut||Bt?gt=!1:gt=D?Ve<=m:Ve<m;gt?z=Re+1:k=Re}return jn(k,Ae)}function nh(f,m){for(var T=-1,D=f.length,z=0,k=[];++T<D;){var K=f[T],te=m?m(K):K;if(!T||!vi(te,ue)){var ue=te;k[z++]=K===0?0:K}}return k}function Is(f){return typeof f=="number"?f:ni(f)?X:+f}function Ma(f){if(typeof f=="string")return f;if(bt(f))return Qt(f,Ma)+"";if(ni(f))return eo?eo.call(f):"";var m=f+"";return m=="0"&&1/f==-1/0?"-0":m}function io(f,m,T){var D=-1,z=Il,k=f.length,K=!0,te=[],ue=te;if(T)K=!1,z=Sr;else if(k>=u){var ze=m?null:oh(f);if(ze)return Xr(ze);K=!1,z=js,ue=new Sl}else ue=m?[]:te;e:for(;++D<k;){var Re=f[D],Ve=m?m(Re):Re;if(Re=T||Re!==0?Re:0,K&&Ve===Ve){for(var Fe=ue.length;Fe--;)if(ue[Fe]===Ve)continue e;m&&ue.push(Ve),te.push(Re)}else z(ue,Ve,T)||(ue!==te&&ue.push(Ve),te.push(Re))}return te}function Zu(f,m){return m=ro(m,f),f=nc(f,m),f==null||delete f[vn($a(m))]}function Jm(f,m,T,D){return Wo(f,m,T(Ni(f,m)),D)}function ah(f,m,T,D){for(var z=f.length,k=D?z:-1;(D?k--:++k<z)&&m(f[k],k,f););return T?wr(f,D?0:k,D?k+1:z):wr(f,D?k+1:0,D?z:k)}function vv(f,m){var T=f;return T instanceof qt&&(T=T.value()),Qc(m,function(D,z){return z.func.apply(z.thisArg,Yr([D],z.args))},T)}function xf(f,m,T){var D=f.length;if(D<2)return D?io(f[0]):[];for(var z=-1,k=Se(D);++z<D;)for(var K=f[z],te=-1;++te<D;)te!=z&&(k[z]=Ko(k[z]||K,f[te],m,T));return io(Ht(k,1),m,T)}function i0(f,m,T){for(var D=-1,z=f.length,k=m.length,K={};++D<z;){var te=D<k?m[D]:i;T(K,f[D],te)}return K}function Fs(f){return qn(f)?f:[]}function tr(f){return typeof f=="function"?f:he}function ro(f,m){return bt(f)?f:hp(f,m)?[f]:Dl(Vt(f))}var bv=_t;function es(f,m,T){var D=f.length;return T=T===i?D:T,!m&&T>=D?f:wr(f,m,T)}var ep=$e||function(f){return ca.clearTimeout(f)};function tp(f,m){if(m)return f.slice();var T=f.length,D=vl?vl(T):new f.constructor(T);return f.copy(D),D}function ts(f){var m=new f.constructor(f.byteLength);return new Go(m).set(new Go(f)),m}function ih(f,m){var T=m?ts(f.buffer):f.buffer;return new f.constructor(T,f.byteOffset,f.byteLength)}function Ku(f){var m=new f.constructor(f.source,Hc.exec(f));return m.lastIndex=f.lastIndex,m}function Sv(f){return Zo?Wt(Zo.call(f)):{}}function np(f,m){var T=m?ts(f.buffer):f.buffer;return new f.constructor(T,f.byteOffset,f.length)}function rh(f,m){if(f!==m){var T=f!==i,D=f===null,z=f===f,k=ni(f),K=m!==i,te=m===null,ue=m===m,ze=ni(m);if(!te&&!ze&&!k&&f>m||k&&K&&ue&&!te&&!ze||D&&K&&ue||!T&&ue||!z)return 1;if(!D&&!k&&!ze&&f<m||ze&&T&&z&&!D&&!k||te&&T&&z||!K&&z||!ue)return-1}return 0}function r0(f,m,T){for(var D=-1,z=f.criteria,k=m.criteria,K=z.length,te=T.length;++D<K;){var ue=rh(z[D],k[D]);if(ue){if(D>=te)return ue;var ze=T[D];return ue*(ze=="desc"?-1:1)}}return f.index-m.index}function ap(f,m,T,D){for(var z=-1,k=f.length,K=T.length,te=-1,ue=m.length,ze=Mn(k-K,0),Re=Se(ue+ze),Ve=!D;++te<ue;)Re[te]=m[te];for(;++z<K;)(Ve||z<k)&&(Re[T[z]]=f[z]);for(;ze--;)Re[te++]=f[z++];return Re}function lo(f,m,T,D){for(var z=-1,k=f.length,K=-1,te=T.length,ue=-1,ze=m.length,Re=Mn(k-te,0),Ve=Se(Re+ze),Fe=!D;++z<Re;)Ve[z]=f[z];for(var ut=z;++ue<ze;)Ve[ut+ue]=m[ue];for(;++K<te;)(Fe||z<k)&&(Ve[ut+T[K]]=f[z++]);return Ve}function va(f,m){var T=-1,D=f.length;for(m||(m=Se(D));++T<D;)m[T]=f[T];return m}function zi(f,m,T,D){var z=!T;T||(T={});for(var k=-1,K=m.length;++k<K;){var te=m[k],ue=D?D(T[te],f[te],te,T,f):i;ue===i&&(ue=f[te]),z?Tl(T,te,ue):Ys(T,te,ue)}return T}function ip(f,m){return zi(f,wf(f),m)}function Qu(f,m){return zi(f,up(f),m)}function Da(f,m){return function(T,D){var z=bt(T)?dv:Qi,k=m?m():{};return z(T,f,dt(D,2),k)}}function Xs(f){return _t(function(m,T){var D=-1,z=T.length,k=z>1?T[z-1]:i,K=z>2?T[2]:i;for(k=f.length>3&&typeof k=="function"?(z--,k):i,K&&pi(T[0],T[1],K)&&(k=z<3?i:k,z=1),m=Wt(m);++D<z;){var te=T[D];te&&f(m,te,D,k)}return m})}function Li(f,m){return function(T,D){if(T==null)return T;if(!da(T))return f(T,D);for(var z=T.length,k=m?z:-1,K=Wt(T);(m?k--:++k<z)&&D(K[k],k,K)!==!1;);return T}}function Zs(f){return function(m,T,D){for(var z=-1,k=Wt(m),K=D(m),te=K.length;te--;){var ue=K[f?te:++z];if(T(k[ue],ue,k)===!1)break}return m}}function oo(f,m,T){var D=m&P,z=Cr(f);function k(){var K=this&&this!==ca&&this instanceof k?z:f;return K.apply(D?T:this,arguments)}return k}function nr(f){return function(m){m=Vt(m);var T=Fr(m)?Va(m):i,D=T?T[0]:m.charAt(0),z=T?es(T,1).join(""):m.slice(1);return D[f]()+z}}function fa(f){return function(m){return Qc(x(Ll(m).replace(zu,"")),f,"")}}function Cr(f){return function(){var m=arguments;switch(m.length){case 0:return new f;case 1:return new f(m[0]);case 2:return new f(m[0],m[1]);case 3:return new f(m[0],m[1],m[2]);case 4:return new f(m[0],m[1],m[2],m[3]);case 5:return new f(m[0],m[1],m[2],m[3],m[4]);case 6:return new f(m[0],m[1],m[2],m[3],m[4],m[5]);case 7:return new f(m[0],m[1],m[2],m[3],m[4],m[5],m[6])}var T=Ki(f.prototype),D=f.apply(T,m);return Sn(D)?D:T}}function so(f,m,T){var D=Cr(f);function z(){for(var k=arguments.length,K=Se(k),te=k,ue=il(z);te--;)K[te]=arguments[te];var ze=k<3&&K[0]!==ue&&K[k-1]!==ue?[]:Oi(K,ue);if(k-=ze.length,k<T)return Ju(f,m,yn,z.placeholder,i,K,ze,i,i,T-k);var Re=this&&this!==ca&&this instanceof z?D:f;return Ci(Re,this,K)}return z}function Al(f){return function(m,T,D){var z=Wt(m);if(!da(m)){var k=dt(T,3);m=Sa(m),T=function(te){return k(z[te],te,z)}}var K=f(m,T,D);return K>-1?z[k?m[K]:K]:i}}function al(f){return $n(function(m){var T=m.length,D=T,z=Ri.prototype.thru;for(f&&m.reverse();D--;){var k=m[D];if(typeof k!="function")throw new Tr(g);if(z&&!K&&ec(k)=="wrapper")var K=new Ri([],!0)}for(D=K?D:T;++D<T;){k=m[D];var te=ec(k),ue=te=="wrapper"?is(k):i;ue&&Ws(ue[0])&&ue[1]==(me|q|Y|pe)&&!ue[4].length&&ue[9]==1?K=K[ec(ue[0])].apply(K,ue[3]):K=k.length==1&&Ws(k)?K[te]():K.thru(k)}return function(){var ze=arguments,Re=ze[0];if(K&&ze.length==1&&bt(Re))return K.plant(Re).value();for(var Ve=0,Fe=T?m[Ve].apply(this,ze):Re;++Ve<T;)Fe=m[Ve].call(this,Fe);return Fe}})}function yn(f,m,T,D,z,k,K,te,ue,ze){var Re=m&me,Ve=m&P,Fe=m&U,ut=m&(q|J),vt=m&ve,Bt=Fe?i:Cr(f);function gt(){for(var Zt=arguments.length,ln=Se(Zt),cl=Zt;cl--;)ln[cl]=arguments[cl];if(ut)var cr=il(gt),fl=Hg(ln,cr);if(D&&(ln=ap(ln,D,z,ut)),k&&(ln=lo(ln,k,K,ut)),Zt-=fl,ut&&Zt<ze){var za=Oi(ln,cr);return Ju(f,m,yn,gt.placeholder,T,ln,za,te,ue,ze-Zt)}var ps=Ve?T:this,bc=Fe?ps[f]:f;return Zt=ln.length,te?ln=Ml(ln,te):vt&&Zt>1&&ln.reverse(),Re&&ue<Zt&&(ln.length=ue),this&&this!==ca&&this instanceof gt&&(bc=Bt||Cr(bc)),bc.apply(ps,ln)}return gt}function Tf(f,m){return function(T,D){return Im(T,f,m(D),{})}}function wl(f,m){return function(T,D){var z;if(T===i&&D===i)return m;if(T!==i&&(z=T),D!==i){if(z===i)return D;typeof T=="string"||typeof D=="string"?(T=Ma(T),D=Ma(D)):(T=Is(T),D=Is(D)),z=f(T,D)}return z}}function Ef(f){return $n(function(m){return m=Qt(m,Gi(dt())),_t(function(T){var D=this;return f(m,function(z){return Ci(z,D,T)})})})}function ns(f,m){m=m===i?" ":Ma(m);var T=m.length;if(T<2)return T?n0(m,f):m;var D=n0(m,Bn(f/xr(m)));return Fr(m)?es(Va(D),0,f).join(""):D.slice(0,f)}function Wu(f,m,T,D){var z=m&P,k=Cr(f);function K(){for(var te=-1,ue=arguments.length,ze=-1,Re=D.length,Ve=Se(Re+ue),Fe=this&&this!==ca&&this instanceof K?k:f;++ze<Re;)Ve[ze]=D[ze];for(;ue--;)Ve[ze++]=arguments[++te];return Ci(Fe,z?T:this,Ve)}return K}function as(f){return function(m,T,D){return D&&typeof D!="number"&&pi(m,T,D)&&(T=D=i),m=Xn(m),T===i?(T=m,m=0):T=Xn(T),D=D===i?m<T?1:-1:Xn(D),Wm(m,T,D,f)}}function Ks(f){return function(m,T){return typeof m=="string"&&typeof T=="string"||(m=ji(m),T=ji(T)),f(m,T)}}function Ju(f,m,T,D,z,k,K,te,ue,ze){var Re=m&q,Ve=Re?K:i,Fe=Re?i:K,ut=Re?k:i,vt=Re?i:k;m|=Re?Y:le,m&=~(Re?le:Y),m&G||(m&=-4);var Bt=[f,m,z,ut,Ve,vt,Fe,te,ue,ze],gt=T.apply(i,Bt);return Ws(f)&&yp(gt,Bt),gt.placeholder=D,tu(gt,f,m)}function lh(f){var m=wn[f];return function(T,D){if(T=ji(T),D=D==null?0:jn(Ot(D),292),D&&Pu(T)){var z=(Vt(T)+"e").split("e"),k=m(z[0]+"e"+(+z[1]+D));return z=(Vt(k)+"e").split("e"),+(z[0]+"e"+(+z[1]-D))}return m(T)}}var oh=Yt&&1/Xr(new Yt([,-0]))[1]==ne?function(f){return new Yt(f)}:Je;function Af(f){return function(m){var T=ja(m);return T==Jt?zd(m):T==Ia?qg(m):$g(m,f(m))}}function Cl(f,m,T,D,z,k,K,te){var ue=m&U;if(!ue&&typeof f!="function")throw new Tr(g);var ze=D?D.length:0;if(ze||(m&=-97,D=z=i),K=K===i?K:Mn(Ot(K),0),te=te===i?te:Ot(te),ze-=z?z.length:0,m&le){var Re=D,Ve=z;D=z=i}var Fe=ue?i:is(f),ut=[f,m,T,D,z,Re,Ve,k,K,te];if(Fe&&fh(ut,Fe),f=ut[0],m=ut[1],T=ut[2],D=ut[3],z=ut[4],te=ut[9]=ut[9]===i?ue?0:f.length:Mn(ut[9]-ze,0),!te&&m&(q|J)&&(m&=-25),!m||m==P)var vt=oo(f,m,T);else m==q||m==J?vt=so(f,m,te):(m==Y||m==(P|Y))&&!z.length?vt=Wu(f,m,T,D):vt=yn.apply(i,ut);var Bt=Fe?Jo:yp;return tu(Bt(vt,ut),f,m)}function rp(f,m,T,D){return f===i||vi(f,$u[T])&&!an.call(D,T)?m:f}function lp(f,m,T,D,z,k){return Sn(f)&&Sn(m)&&(k.set(m,f),Xu(f,m,i,lp,k),k.delete(m)),f}function ar(f){return sl(f)?i:f}function l0(f,m,T,D,z,k){var K=T&B,te=f.length,ue=m.length;if(te!=ue&&!(K&&ue>te))return!1;var ze=k.get(f),Re=k.get(m);if(ze&&Re)return ze==m&&Re==f;var Ve=-1,Fe=!0,ut=T&L?new Sl:i;for(k.set(f,m),k.set(m,f);++Ve<te;){var vt=f[Ve],Bt=m[Ve];if(D)var gt=K?D(Bt,vt,Ve,m,f,k):D(vt,Bt,Ve,f,m,k);if(gt!==i){if(gt)continue;Fe=!1;break}if(ut){if(!si(m,function(Zt,ln){if(!js(ut,ln)&&(vt===Zt||z(vt,Zt,T,D,k)))return ut.push(ln)})){Fe=!1;break}}else if(!(vt===Bt||z(vt,Bt,T,D,k))){Fe=!1;break}}return k.delete(f),k.delete(m),Fe}function aa(f,m,T,D,z,k,K){switch(T){case dn:if(f.byteLength!=m.byteLength||f.byteOffset!=m.byteOffset)return!1;f=f.buffer,m=m.buffer;case tt:return!(f.byteLength!=m.byteLength||!k(new Go(f),new Go(m)));case We:case it:case wa:return vi(+f,+m);case un:return f.name==m.name&&f.message==m.message;case Lo:case gr:return f==m+"";case Jt:var te=zd;case Ia:var ue=D&B;if(te||(te=Xr),f.size!=m.size&&!ue)return!1;var ze=K.get(f);if(ze)return ze==m;D|=L,K.set(f,m);var Re=l0(te(f),te(m),D,z,k,K);return K.delete(f),Re;case $r:if(Zo)return Zo.call(f)==Zo.call(m)}return!1}function Ra(f,m,T,D,z,k){var K=T&B,te=op(f),ue=te.length,ze=op(m),Re=ze.length;if(ue!=Re&&!K)return!1;for(var Ve=ue;Ve--;){var Fe=te[Ve];if(!(K?Fe in m:an.call(m,Fe)))return!1}var ut=k.get(f),vt=k.get(m);if(ut&&vt)return ut==m&&vt==f;var Bt=!0;k.set(f,m),k.set(m,f);for(var gt=K;++Ve<ue;){Fe=te[Ve];var Zt=f[Fe],ln=m[Fe];if(D)var cl=K?D(ln,Zt,Fe,m,f,k):D(Zt,ln,Fe,f,m,k);if(!(cl===i?Zt===ln||z(Zt,ln,T,D,k):cl)){Bt=!1;break}gt||(gt=Fe=="constructor")}if(Bt&&!gt){var cr=f.constructor,fl=m.constructor;cr!=fl&&"constructor"in f&&"constructor"in m&&!(typeof cr=="function"&&cr instanceof cr&&typeof fl=="function"&&fl instanceof fl)&&(Bt=!1)}return k.delete(f),k.delete(m),Bt}function $n(f){return ir(gp(f,i,_a),f+"")}function op(f){return Ym(f,Sa,wf)}function Ol(f){return Ym(f,Na,up)}var is=Jl?function(f){return Jl.get(f)}:Je;function ec(f){for(var m=f.name+"",T=Zi[m],D=an.call(Zi,m)?T.length:0;D--;){var z=T[D],k=z.func;if(k==null||k==f)return z.name}return m}function il(f){var m=an.call(j,"placeholder")?j:f;return m.placeholder}function dt(){var f=j.iteratee||ft;return f=f===ft?gf:f,arguments.length?f(arguments[0],arguments[1]):f}function tc(f,m){var T=f.__data__;return fo(m)?T[typeof m=="string"?"string":"hash"]:T.map}function sh(f){for(var m=Sa(f),T=m.length;T--;){var D=m[T],z=f[D];m[T]=[D,z,mp(z)]}return m}function uo(f,m){var T=Bu(f,m);return El(T)?T:i}function sp(f){var m=an.call(f,Ka),T=f[Ka];try{f[Ka]=i;var D=!0}catch{}var z=ci.call(f);return D&&(m?f[Ka]=T:delete f[Ka]),z}var wf=Wl?function(f){return f==null?[]:(f=Wt(f),oi(Wl(f),function(m){return Hu.call(f,m)}))}:Lb,up=Wl?function(f){for(var m=[];f;)Yr(m,wf(f)),f=Io(f);return m}:Lb,ja=It;(Wr&&ja(new Wr(new ArrayBuffer(1)))!=dn||kn&&ja(new kn)!=Jt||rn&&ja(rn.resolve())!=As||Yt&&ja(new Yt)!=Ia||fi&&ja(new fi)!=Uo)&&(ja=function(f){var m=It(f),T=m==gn?f.constructor:i,D=T?ho(T):"";if(D)switch(D){case Hd:return dn;case Xg:return Jt;case of:return As;case sf:return Ia;case Zg:return Uo}return m});function o0(f,m,T){for(var D=-1,z=T.length;++D<z;){var k=T[D],K=k.size;switch(k.type){case"drop":f+=K;break;case"dropRight":m-=K;break;case"take":m=jn(m,f+K);break;case"takeRight":f=Mn(f,m-K);break}}return{start:f,end:m}}function cp(f){var m=f.match(pm);return m?m[1].split(iv):[]}function uh(f,m,T){m=ro(m,f);for(var D=-1,z=m.length,k=!1;++D<z;){var K=vn(m[D]);if(!(k=f!=null&&T(f,K)))break;f=f[K]}return k||++D!=z?k:(z=f==null?0:f.length,!!z&&Bi(z)&&rl(K,z)&&(bt(f)||Ha(f)))}function Qs(f){var m=f.length,T=new f.constructor(m);return m&&typeof f[0]=="string"&&an.call(f,"index")&&(T.index=f.index,T.input=f.input),T}function Cf(f){return typeof f.constructor=="function"&&!mt(f)?Ki(Io(f)):{}}function fp(f,m,T){var D=f.constructor;switch(m){case tt:return ts(f);case We:case it:return new D(+f);case dn:return ih(f,T);case En:case yr:case Yl:case Dg:case ws:case pl:case Ti:case ql:case Hr:return np(f,T);case Jt:return new D;case wa:case gr:return new D(f);case Lo:return Ku(f);case Ia:return new D;case $r:return Sv(f)}}function dp(f,m){var T=m.length;if(!T)return f;var D=T-1;return m[D]=(T>1?"& ":"")+m[D],m=m.join(T>2?", ":" "),f.replace(av,`{
|
|
632
|
+
*/var T$=q1.exports,T4;function E$(){return T4||(T4=1,function(t,n){(function(){var i,o="4.17.21",u=200,h="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",v="Invalid `variable` option passed into `_.template`",S="__lodash_hash_undefined__",E=500,A="__lodash_placeholder__",C=1,M=2,R=4,B=1,L=2,P=1,U=2,G=4,q=8,J=16,Y=32,le=64,me=128,pe=256,ve=512,He=30,Be="...",Pe=800,Qe=16,Xe=1,qe=2,F=3,ne=1/0,oe=9007199254740991,Me=17976931348623157e292,X=NaN,fe=4294967295,Ae=fe-1,je=fe>>>1,Ye=[["ary",me],["bind",P],["bindKey",U],["curry",q],["curryRight",J],["flip",ve],["partial",Y],["partialRight",le],["rearg",pe]],Le="[object Arguments]",Ue="[object Array]",et="[object AsyncFunction]",We="[object Boolean]",it="[object Date]",yt="[object DOMException]",un="[object Error]",Ge="[object Function]",nt="[object GeneratorFunction]",Jt="[object Map]",wa="[object Number]",pr="[object Null]",gn="[object Object]",As="[object Promise]",hd="[object Proxy]",Lo="[object RegExp]",Ia="[object Set]",gr="[object String]",$r="[object Symbol]",hm="[object Undefined]",Uo="[object WeakMap]",Vo="[object WeakSet]",tt="[object ArrayBuffer]",dn="[object DataView]",En="[object Float32Array]",yr="[object Float64Array]",Yl="[object Int8Array]",Dg="[object Int16Array]",ws="[object Int32Array]",pl="[object Uint8Array]",Ti="[object Uint8ClampedArray]",ql="[object Uint16Array]",Hr="[object Uint32Array]",Ua=/\b__p \+= '';/g,Cs=/\b(__p \+=) '' \+/g,wu=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Bo=/&(?:amp|lt|gt|quot|#39);/g,Os=/[&<>"']/g,tv=RegExp(Bo.source),md=RegExp(Os.source),pd=/<%-([\s\S]+?)%>/g,gl=/<%([\s\S]+?)%>/g,gd=/<%=([\s\S]+?)%>/g,nv=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cb=/^\w*$/,Ca=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pa=/[\\^$.*+?()[\]{}|]/g,Ei=RegExp(pa.source),Ms=/^\s+/,mm=/\s/,av=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,pm=/\{\n\/\* \[wrapped with (.+)\] \*/,iv=/,? & /,rt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yd=/[()=,{}\[\]\/\s]/,Fa=/\\(\\)?/g,Cu=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Hc=/\w*$/,jo=/^[-+]0x[0-9a-f]+$/i,Oa=/^0b[01]+$/i,vd=/^\[object .+?Constructor\]$/,vr=/^0o[0-7]+$/i,Ds=/^(?:0|[1-9]\d*)$/,Rs=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bd=/($^)/,gm=/['\n\r\u2028\u2029\\]/g,Pc="\\ud800-\\udfff",rv="\\u0300-\\u036f",$o="\\ufe20-\\ufe2f",Sd="\\u20d0-\\u20ff",yl=rv+$o+Sd,xd="\\u2700-\\u27bf",ym="a-z\\xdf-\\xf6\\xf8-\\xff",Ou="\\xac\\xb1\\xd7\\xf7",Ai="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",_s="\\u2000-\\u206f",Mu=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",vm="A-Z\\xc0-\\xd6\\xd8-\\xde",Xa="\\ufe0e\\ufe0f",kc=Ou+Ai+_s+Mu,Td="['’]",Ns="["+Pc+"]",zs="["+kc+"]",Ho="["+yl+"]",lv="\\d+",Pr="["+xd+"]",Ed="["+ym+"]",Ad="[^"+Pc+kc+lv+xd+ym+vm+"]",Du="\\ud83c[\\udffb-\\udfff]",Ru="(?:"+Ho+"|"+Du+")",bm="[^"+Pc+"]",wd="(?:\\ud83c[\\udde6-\\uddff]){2}",Ls="[\\ud800-\\udbff][\\udc00-\\udfff]",_u="["+vm+"]",Cd="\\u200d",Yc="(?:"+Ed+"|"+Ad+")",Nu="(?:"+_u+"|"+Ad+")",ov="(?:"+Td+"(?:d|ll|m|re|s|t|ve))?",Rg="(?:"+Td+"(?:D|LL|M|RE|S|T|VE))?",qc=Ru+"?",Us="["+Xa+"]?",Sm="(?:"+Cd+"(?:"+[bm,wd,Ls].join("|")+")"+Us+qc+")*",Gc="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ic="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",_g=Us+qc+Sm,Ng="(?:"+[Pr,wd,Ls].join("|")+")"+_g,Fc="(?:"+[bm+Ho+"?",Ho,wd,Ls,Ns].join("|")+")",zu=RegExp(Td,"g"),Gl=RegExp(Ho,"g"),Xc=RegExp(Du+"(?="+Du+")|"+Fc+_g,"g"),Po=RegExp([_u+"?"+Ed+"+"+ov+"(?="+[zs,_u,"$"].join("|")+")",Nu+"+"+Rg+"(?="+[zs,_u+Yc,"$"].join("|")+")",_u+"?"+Yc+"+"+ov,_u+"+"+Rg,Ic,Gc,lv,Ng].join("|"),"g"),ko=RegExp("["+Cd+Pc+yl+Xa+"]"),Zc=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Lu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],zg=-1,Lt={};Lt[En]=Lt[yr]=Lt[Yl]=Lt[Dg]=Lt[ws]=Lt[pl]=Lt[Ti]=Lt[ql]=Lt[Hr]=!0,Lt[Le]=Lt[Ue]=Lt[tt]=Lt[We]=Lt[dn]=Lt[it]=Lt[un]=Lt[Ge]=Lt[Jt]=Lt[wa]=Lt[gn]=Lt[Lo]=Lt[Ia]=Lt[gr]=Lt[Uo]=!1;var An={};An[Le]=An[Ue]=An[tt]=An[dn]=An[We]=An[it]=An[En]=An[yr]=An[Yl]=An[Dg]=An[ws]=An[Jt]=An[wa]=An[gn]=An[Lo]=An[Ia]=An[gr]=An[$r]=An[pl]=An[Ti]=An[ql]=An[Hr]=!0,An[un]=An[Ge]=An[Uo]=!1;var xm={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},wi={"&":"&","<":"<",">":">",'"':""","'":"'"},Vs={"&":"&","<":"<",">":">",""":'"',"'":"'"},Tm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Od=parseFloat,sv=parseInt,Em=typeof pS=="object"&&pS&&pS.Object===Object&&pS,Am=typeof self=="object"&&self&&self.Object===Object&&self,fa=Em||Am||Function("return this")(),Yo=n&&!n.nodeType&&n,qo=Yo&&!0&&t&&!t.nodeType&&t,Lg=qo&&qo.exports===Yo,wm=Lg&&Em.process,kr=function(){try{var re=qo&&qo.require&&qo.require("util").types;return re||wm&&wm.binding&&wm.binding("util")}catch{}}(),Cm=kr&&kr.isArrayBuffer,uv=kr&&kr.isDate,cv=kr&&kr.isMap,fv=kr&&kr.isRegExp,Kc=kr&&kr.isSet,Ug=kr&&kr.isTypedArray;function Ci(re,we,Se){switch(Se.length){case 0:return re.call(we);case 1:return re.call(we,Se[0]);case 2:return re.call(we,Se[0],Se[1]);case 3:return re.call(we,Se[0],Se[1],Se[2])}return re.apply(we,Se)}function dv(re,we,Se,Ze){for(var St=-1,Mt=re==null?0:re.length;++St<Mt;){var wn=re[St];we(Ze,wn,Se(wn),re)}return Ze}function br(re,we){for(var Se=-1,Ze=re==null?0:re.length;++Se<Ze&&we(re[Se],Se,re)!==!1;);return re}function Vg(re,we){for(var Se=re==null?0:re.length;Se--&&we(re[Se],Se,re)!==!1;);return re}function Bg(re,we){for(var Se=-1,Ze=re==null?0:re.length;++Se<Ze;)if(!we(re[Se],Se,re))return!1;return!0}function oi(re,we){for(var Se=-1,Ze=re==null?0:re.length,St=0,Mt=[];++Se<Ze;){var wn=re[Se];we(wn,Se,re)&&(Mt[St++]=wn)}return Mt}function Il(re,we){var Se=re==null?0:re.length;return!!Se&&Vu(re,we,0)>-1}function Sr(re,we,Se){for(var Ze=-1,St=re==null?0:re.length;++Ze<St;)if(Se(we,re[Ze]))return!0;return!1}function Qt(re,we){for(var Se=-1,Ze=re==null?0:re.length,St=Array(Ze);++Se<Ze;)St[Se]=we(re[Se],Se,re);return St}function Yr(re,we){for(var Se=-1,Ze=we.length,St=re.length;++Se<Ze;)re[St+Se]=we[Se];return re}function Qc(re,we,Se,Ze){var St=-1,Mt=re==null?0:re.length;for(Ze&&Mt&&(Se=re[++St]);++St<Mt;)Se=we(Se,re[St],St,re);return Se}function jg(re,we,Se,Ze){var St=re==null?0:re.length;for(Ze&&St&&(Se=re[--St]);St--;)Se=we(Se,re[St],St,re);return Se}function si(re,we){for(var Se=-1,Ze=re==null?0:re.length;++Se<Ze;)if(we(re[Se],Se,re))return!0;return!1}var hv=qr("length");function Om(re){return re.split("")}function Uu(re){return re.match(rt)||[]}function Mm(re,we,Se){var Ze;return Se(re,function(St,Mt,wn){if(we(St,Mt,wn))return Ze=Mt,!1}),Ze}function Md(re,we,Se,Ze){for(var St=re.length,Mt=Se+(Ze?1:-1);Ze?Mt--:++Mt<St;)if(we(re[Mt],Mt,re))return Mt;return-1}function Vu(re,we,Se){return we===we?Gg(re,we,Se):Md(re,Wc,Se)}function Dd(re,we,Se,Ze){for(var St=Se-1,Mt=re.length;++St<Mt;)if(Ze(re[St],we))return St;return-1}function Wc(re){return re!==re}function Dm(re,we){var Se=re==null?0:re.length;return Se?Fl(re,we)/Se:X}function qr(re){return function(we){return we==null?i:we[re]}}function Rd(re){return function(we){return re==null?i:re[we]}}function _d(re,we,Se,Ze,St){return St(re,function(Mt,wn,Wt){Se=Ze?(Ze=!1,Mt):we(Se,Mt,wn,Wt)}),Se}function Nd(re,we){var Se=re.length;for(re.sort(we);Se--;)re[Se]=re[Se].value;return re}function Fl(re,we){for(var Se,Ze=-1,St=re.length;++Ze<St;){var Mt=we(re[Ze]);Mt!==i&&(Se=Se===i?Mt:Se+Mt)}return Se}function Xl(re,we){for(var Se=-1,Ze=Array(re);++Se<re;)Ze[Se]=we(Se);return Ze}function $g(re,we){return Qt(we,function(Se){return[Se,re[Se]]})}function Bs(re){return re&&re.slice(0,Vn(re)+1).replace(Ms,"")}function Gi(re){return function(we){return re(we)}}function Jc(re,we){return Qt(we,function(Se){return re[Se]})}function js(re,we){return re.has(we)}function Gr(re,we){for(var Se=-1,Ze=re.length;++Se<Ze&&Vu(we,re[Se],0)>-1;);return Se}function Ir(re,we){for(var Se=re.length;Se--&&Vu(we,re[Se],0)>-1;);return Se}function Hg(re,we){for(var Se=re.length,Ze=0;Se--;)re[Se]===we&&++Ze;return Ze}var Zl=Rd(xm),Pg=Rd(wi);function kg(re){return"\\"+Tm[re]}function Bu(re,we){return re==null?i:re[we]}function Fr(re){return ko.test(re)}function Yg(re){return Zc.test(re)}function ef(re){for(var we,Se=[];!(we=re.next()).done;)Se.push(we.value);return Se}function zd(re){var we=-1,Se=Array(re.size);return re.forEach(function(Ze,St){Se[++we]=[St,Ze]}),Se}function Ld(re,we){return function(Se){return re(we(Se))}}function Oi(re,we){for(var Se=-1,Ze=re.length,St=0,Mt=[];++Se<Ze;){var wn=re[Se];(wn===we||wn===A)&&(re[Se]=A,Mt[St++]=Se)}return Mt}function Xr(re){var we=-1,Se=Array(re.size);return re.forEach(function(Ze){Se[++we]=Ze}),Se}function qg(re){var we=-1,Se=Array(re.size);return re.forEach(function(Ze){Se[++we]=[Ze,Ze]}),Se}function Gg(re,we,Se){for(var Ze=Se-1,St=re.length;++Ze<St;)if(re[Ze]===we)return Ze;return-1}function Za(re,we,Se){for(var Ze=Se+1;Ze--;)if(re[Ze]===we)return Ze;return Ze}function xr(re){return Fr(re)?Ig(re):hv(re)}function Va(re){return Fr(re)?Vd(re):Om(re)}function Vn(re){for(var we=re.length;we--&&mm.test(re.charAt(we)););return we}var Ud=Rd(Vs);function Ig(re){for(var we=Xc.lastIndex=0;Xc.test(re);)++we;return we}function Vd(re){return re.match(Xc)||[]}function ju(re){return re.match(Po)||[]}var Kl=function re(we){we=we==null?fa:ui.defaults(fa.Object(),we,ui.pick(fa,Lu));var Se=we.Array,Ze=we.Date,St=we.Error,Mt=we.Function,wn=we.Math,Wt=we.Object,Rm=we.RegExp,Fg=we.String,Tr=we.TypeError,tf=Se.prototype,_m=Mt.prototype,$u=Wt.prototype,nf=we["__core-js_shared__"],af=_m.toString,an=$u.hasOwnProperty,Zr=0,Nm=function(){var f=/[^.]+$/.exec(nf&&nf.keys&&nf.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}(),ci=$u.toString,Ii=af.call(Wt),$s=fa._,Ql=Rm("^"+af.call(an).replace(pa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fi=Lg?we.Buffer:i,Mi=we.Symbol,Go=we.Uint8Array,vl=Fi?Fi.allocUnsafe:i,Io=Ld(Wt.getPrototypeOf,Wt),rf=Wt.create,Hu=$u.propertyIsEnumerable,Bd=tf.splice,Di=Mi?Mi.isConcatSpreadable:i,Fo=Mi?Mi.iterator:i,Ka=Mi?Mi.toStringTag:i,Dt=function(){try{var f=uo(Wt,"defineProperty");return f({},"",{}),f}catch{}}(),$e=we.clearTimeout!==fa.clearTimeout&&we.clearTimeout,Kr=Ze&&Ze.now!==fa.Date.now&&Ze.now,lf=we.setTimeout!==fa.setTimeout&&we.setTimeout,Bn=wn.ceil,bl=wn.floor,Wl=Wt.getOwnPropertySymbols,jd=Fi?Fi.isBuffer:i,Pu=we.isFinite,Qr=tf.join,Xi=Ld(Wt.keys,Wt),Mn=wn.max,jn=wn.min,ta=Ze.now,en=we.parseInt,$d=wn.random,ku=tf.reverse,Wr=uo(we,"DataView"),kn=uo(we,"Map"),rn=uo(we,"Promise"),Yt=uo(we,"Set"),fi=uo(we,"WeakMap"),di=uo(Wt,"create"),Jl=fi&&new fi,Zi={},Hd=ho(Wr),Xg=ho(kn),of=ho(rn),sf=ho(Yt),Zg=ho(fi),Xo=Mi?Mi.prototype:i,Zo=Xo?Xo.valueOf:i,eo=Xo?Xo.toString:i;function j(f){if(Nn(f)&&!bt(f)&&!(f instanceof qt)){if(f instanceof Ri)return f;if(an.call(f,"__wrapped__"))return ba(f)}return new Ri(f)}var Ki=function(){function f(){}return function(m){if(!Sn(m))return{};if(rf)return rf(m);f.prototype=m;var T=new f;return f.prototype=i,T}}();function Er(){}function Ri(f,m){this.__wrapped__=f,this.__actions__=[],this.__chain__=!!m,this.__index__=0,this.__values__=i}j.templateSettings={escape:pd,evaluate:gl,interpolate:gd,variable:"",imports:{_:j}},j.prototype=Er.prototype,j.prototype.constructor=j,Ri.prototype=Ki(Er.prototype),Ri.prototype.constructor=Ri;function qt(f){this.__wrapped__=f,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=fe,this.__views__=[]}function uf(){var f=new qt(this.__wrapped__);return f.__actions__=va(this.__actions__),f.__dir__=this.__dir__,f.__filtered__=this.__filtered__,f.__iteratees__=va(this.__iteratees__),f.__takeCount__=this.__takeCount__,f.__views__=va(this.__views__),f}function Pd(){if(this.__filtered__){var f=new qt(this);f.__dir__=-1,f.__filtered__=!0}else f=this.clone(),f.__dir__*=-1;return f}function Hs(){var f=this.__wrapped__.value(),m=this.__dir__,T=bt(f),D=m<0,z=T?f.length:0,k=o0(0,z,this.__views__),K=k.start,te=k.end,ue=te-K,ze=D?te:K-1,Re=this.__iteratees__,Ve=Re.length,Fe=0,ut=jn(ue,this.__takeCount__);if(!T||!D&&z==ue&&ut==ue)return vv(f,this.__actions__);var vt=[];e:for(;ue--&&Fe<ut;){ze+=m;for(var Bt=-1,gt=f[ze];++Bt<Ve;){var Zt=Re[Bt],ln=Zt.iteratee,cl=Zt.type,cr=ln(gt);if(cl==qe)gt=cr;else if(!cr){if(cl==Xe)continue e;break e}}vt[Fe++]=gt}return vt}qt.prototype=Ki(Er.prototype),qt.prototype.constructor=qt;function Gn(f){var m=-1,T=f==null?0:f.length;for(this.clear();++m<T;){var D=f[m];this.set(D[0],D[1])}}function kd(){this.__data__=di?di(null):{},this.size=0}function Kg(f){var m=this.has(f)&&delete this.__data__[f];return this.size-=m?1:0,m}function cf(f){var m=this.__data__;if(di){var T=m[f];return T===S?i:T}return an.call(m,f)?m[f]:i}function zm(f){var m=this.__data__;return di?m[f]!==i:an.call(m,f)}function mv(f,m){var T=this.__data__;return this.size+=this.has(f)?0:1,T[f]=di&&m===i?S:m,this}Gn.prototype.clear=kd,Gn.prototype.delete=Kg,Gn.prototype.get=cf,Gn.prototype.has=zm,Gn.prototype.set=mv;function Dn(f){var m=-1,T=f==null?0:f.length;for(this.clear();++m<T;){var D=f[m];this.set(D[0],D[1])}}function ff(){this.__data__=[],this.size=0}function to(f){var m=this.__data__,T=qu(m,f);if(T<0)return!1;var D=m.length-1;return T==D?m.pop():Bd.call(m,T,1),--this.size,!0}function Ps(f){var m=this.__data__,T=qu(m,f);return T<0?i:m[T][1]}function Yd(f){return qu(this.__data__,f)>-1}function Jr(f,m){var T=this.__data__,D=qu(T,f);return D<0?(++this.size,T.push([f,m])):T[D][1]=m,this}Dn.prototype.clear=ff,Dn.prototype.delete=to,Dn.prototype.get=Ps,Dn.prototype.has=Yd,Dn.prototype.set=Jr;function Rn(f){var m=-1,T=f==null?0:f.length;for(this.clear();++m<T;){var D=f[m];this.set(D[0],D[1])}}function Lm(){this.size=0,this.__data__={hash:new Gn,map:new(kn||Dn),string:new Gn}}function Um(f){var m=tc(this,f).delete(f);return this.size-=m?1:0,m}function pv(f){return tc(this,f).get(f)}function Vm(f){return tc(this,f).has(f)}function no(f,m){var T=tc(this,f),D=T.size;return T.set(f,m),this.size+=T.size==D?0:1,this}Rn.prototype.clear=Lm,Rn.prototype.delete=Um,Rn.prototype.get=pv,Rn.prototype.has=Vm,Rn.prototype.set=no;function Sl(f){var m=-1,T=f==null?0:f.length;for(this.__data__=new Rn;++m<T;)this.add(f[m])}function Yu(f){return this.__data__.set(f,S),this}function Bm(f){return this.__data__.has(f)}Sl.prototype.add=Sl.prototype.push=Yu,Sl.prototype.has=Bm;function Ba(f){var m=this.__data__=new Dn(f);this.size=m.size}function jm(){this.__data__=new Dn,this.size=0}function qd(f){var m=this.__data__,T=m.delete(f);return this.size=m.size,T}function $m(f){return this.__data__.get(f)}function Hm(f){return this.__data__.has(f)}function Gd(f,m){var T=this.__data__;if(T instanceof Dn){var D=T.__data__;if(!kn||D.length<u-1)return D.push([f,m]),this.size=++T.size,this;T=this.__data__=new Rn(D)}return T.set(f,m),this.size=T.size,this}Ba.prototype.clear=jm,Ba.prototype.delete=qd,Ba.prototype.get=$m,Ba.prototype.has=Hm,Ba.prototype.set=Gd;function Pm(f,m){var T=bt(f),D=!T&&Ha(f),z=!T&&!D&&xo(f),k=!T&&!D&&!z&&qf(f),K=T||D||z||k,te=K?Xl(f.length,Fg):[],ue=te.length;for(var ze in f)(m||an.call(f,ze))&&!(K&&(ze=="length"||z&&(ze=="offset"||ze=="parent")||k&&(ze=="buffer"||ze=="byteLength"||ze=="byteOffset")||rl(ze,ue)))&&te.push(ze);return te}function ks(f){var m=f.length;return m?f[nl(0,m-1)]:i}function Qg(f,m){return ac(va(f),tl(m,0,f.length))}function Wg(f){return ac(va(f))}function el(f,m,T){(T!==i&&!vi(f[m],T)||T===i&&!(m in f))&&Tl(f,m,T)}function Ys(f,m,T){var D=f[m];(!(an.call(f,m)&&vi(D,T))||T===i&&!(m in f))&&Tl(f,m,T)}function qu(f,m){for(var T=f.length;T--;)if(vi(f[T][0],m))return T;return-1}function Qi(f,m,T,D){return Yn(f,function(z,k,K){m(D,z,T(z),K)}),D}function xl(f,m){return f&&zi(m,Sa(m),f)}function Gu(f,m){return f&&zi(m,Na(m),f)}function Tl(f,m,T){m=="__proto__"&&Dt?Dt(f,m,{configurable:!0,enumerable:!0,value:T,writable:!0}):f[m]=T}function Id(f,m){for(var T=-1,D=m.length,z=Se(D),k=f==null;++T<D;)z[T]=k?i:Xf(f,m[T]);return z}function tl(f,m,T){return f===f&&(T!==i&&(f=f<=T?f:T),m!==i&&(f=f>=m?f:m)),f}function ga(f,m,T,D,z,k){var K,te=m&C,ue=m&M,ze=m&R;if(T&&(K=z?T(f,D,z,k):T(f)),K!==i)return K;if(!Sn(f))return f;var Re=bt(f);if(Re){if(K=Qs(f),!te)return va(f,K)}else{var Ve=ja(f),Fe=Ve==Ge||Ve==nt;if(xo(f))return tp(f,te);if(Ve==gn||Ve==Le||Fe&&!z){if(K=ue||Fe?{}:Cf(f),!te)return ue?Qu(f,Gu(K,f)):ip(f,xl(K,f))}else{if(!An[Ve])return z?f:{};K=fp(f,Ve,te)}}k||(k=new Ba);var ut=k.get(f);if(ut)return ut;k.set(f,K),dc(f)?f.forEach(function(gt){K.add(ga(gt,m,T,gt,f,k))}):Rl(f)&&f.forEach(function(gt,Zt){K.set(Zt,ga(gt,m,T,Zt,f,k))});var vt=ze?ue?Ol:op:ue?Na:Sa,Bt=Re?i:vt(f);return br(Bt||f,function(gt,Zt){Bt&&(Zt=gt,gt=f[Zt]),Ys(K,Zt,ga(gt,m,T,Zt,f,k))}),K}function km(f){var m=Sa(f);return function(T){return df(T,f,m)}}function df(f,m,T){var D=T.length;if(f==null)return!D;for(f=Wt(f);D--;){var z=T[D],k=m[z],K=f[z];if(K===i&&!(z in f)||!k(K))return!1}return!0}function qs(f,m,T){if(typeof f!="function")throw new Tr(g);return Mf(function(){f.apply(i,T)},m)}function Ko(f,m,T,D){var z=-1,k=Il,K=!0,te=f.length,ue=[],ze=m.length;if(!te)return ue;T&&(m=Qt(m,Gi(T))),D?(k=Sr,K=!1):m.length>=u&&(k=js,K=!1,m=new Sl(m));e:for(;++z<te;){var Re=f[z],Ve=T==null?Re:T(Re);if(Re=D||Re!==0?Re:0,K&&Ve===Ve){for(var Fe=ze;Fe--;)if(m[Fe]===Ve)continue e;ue.push(Re)}else k(m,Ve,D)||ue.push(Re)}return ue}var Yn=Li(Qa),Iu=Li(Ar,!0);function hf(f,m){var T=!0;return Yn(f,function(D,z,k){return T=!!m(D,z,k),T}),T}function _i(f,m,T){for(var D=-1,z=f.length;++D<z;){var k=f[D],K=m(k);if(K!=null&&(te===i?K===K&&!ni(K):T(K,te)))var te=K,ue=k}return ue}function Rt(f,m,T,D){var z=f.length;for(T=Ot(T),T<0&&(T=-T>z?0:z+T),D=D===i||D>z?z:Ot(D),D<0&&(D+=z),D=T>D?0:To(D);T<D;)f[T++]=m;return f}function hn(f,m){var T=[];return Yn(f,function(D,z,k){m(D,z,k)&&T.push(D)}),T}function Ht(f,m,T,D,z){var k=-1,K=f.length;for(T||(T=co),z||(z=[]);++k<K;){var te=f[k];m>0&&T(te)?m>1?Ht(te,m-1,T,D,z):Yr(z,te):D||(z[z.length]=te)}return z}var Fu=Zs(),Wi=Zs(!0);function Qa(f,m){return f&&Fu(f,m,Sa)}function Ar(f,m){return f&&Wi(f,m,Sa)}function hi(f,m){return oi(m,function(T){return Dr(f[T])})}function Ni(f,m){m=ro(m,f);for(var T=0,D=m.length;f!=null&&T<D;)f=f[vn(m[T++])];return T&&T==D?f:i}function Ym(f,m,T){var D=m(f);return bt(f)?D:Yr(D,T(f))}function It(f){return f==null?f===i?hm:pr:Ka&&Ka in Wt(f)?sp(f):pp(f)}function mf(f,m){return f>m}function qm(f,m){return f!=null&&an.call(f,m)}function Gs(f,m){return f!=null&&m in Wt(f)}function Jg(f,m,T){return f>=jn(m,T)&&f<Mn(m,T)}function Gm(f,m,T){for(var D=T?Sr:Il,z=f[0].length,k=f.length,K=k,te=Se(k),ue=1/0,ze=[];K--;){var Re=f[K];K&&m&&(Re=Qt(Re,Gi(m))),ue=jn(Re.length,ue),te[K]=!T&&(m||z>=120&&Re.length>=120)?new Sl(K&&Re):i}Re=f[0];var Ve=-1,Fe=te[0];e:for(;++Ve<z&&ze.length<ue;){var ut=Re[Ve],vt=m?m(ut):ut;if(ut=T||ut!==0?ut:0,!(Fe?js(Fe,vt):D(ze,vt,T))){for(K=k;--K;){var Bt=te[K];if(!(Bt?js(Bt,vt):D(f[K],vt,T)))continue e}Fe&&Fe.push(vt),ze.push(ut)}}return ze}function Im(f,m,T,D){return Qa(f,function(z,k,K){m(D,T(z),k,K)}),D}function ao(f,m,T){m=ro(m,f),f=nc(f,m);var D=f==null?f:f[vn($a(m))];return D==null?i:Ci(D,f,T)}function Fd(f){return Nn(f)&&It(f)==Le}function mi(f){return Nn(f)&&It(f)==tt}function na(f){return Nn(f)&&It(f)==it}function Qo(f,m,T,D,z){return f===m?!0:f==null||m==null||!Nn(f)&&!Nn(m)?f!==f&&m!==m:Xd(f,m,T,D,Qo,z)}function Xd(f,m,T,D,z,k){var K=bt(f),te=bt(m),ue=K?Ue:ja(f),ze=te?Ue:ja(m);ue=ue==Le?gn:ue,ze=ze==Le?gn:ze;var Re=ue==gn,Ve=ze==gn,Fe=ue==ze;if(Fe&&xo(f)){if(!xo(m))return!1;K=!0,Re=!1}if(Fe&&!Re)return k||(k=new Ba),K||qf(f)?l0(f,m,T,D,z,k):aa(f,m,ue,T,D,z,k);if(!(T&B)){var ut=Re&&an.call(f,"__wrapped__"),vt=Ve&&an.call(m,"__wrapped__");if(ut||vt){var Bt=ut?f.value():f,gt=vt?m.value():m;return k||(k=new Ba),z(Bt,gt,T,D,k)}}return Fe?(k||(k=new Ba),Ra(f,m,T,D,z,k)):!1}function ya(f){return Nn(f)&&ja(f)==Jt}function pf(f,m,T,D){var z=T.length,k=z,K=!D;if(f==null)return!k;for(f=Wt(f);z--;){var te=T[z];if(K&&te[2]?te[1]!==f[te[0]]:!(te[0]in f))return!1}for(;++z<k;){te=T[z];var ue=te[0],ze=f[ue],Re=te[1];if(K&&te[2]){if(ze===i&&!(ue in f))return!1}else{var Ve=new Ba;if(D)var Fe=D(ze,Re,ue,f,m,Ve);if(!(Fe===i?Qo(Re,ze,B|L,D,Ve):Fe))return!1}}return!0}function El(f){if(!Sn(f)||ch(f))return!1;var m=Dr(f)?Ql:vd;return m.test(ho(f))}function Zd(f){return Nn(f)&&It(f)==Lo}function Fm(f){return Nn(f)&&ja(f)==Ia}function Xm(f){return Nn(f)&&Bi(f.length)&&!!Lt[It(f)]}function gf(f){return typeof f=="function"?f:f==null?he:typeof f=="object"?bt(f)?vf(f[0],f[1]):Qd(f):tn(f)}function yf(f){if(!mt(f))return Xi(f);var m=[];for(var T in Wt(f))an.call(f,T)&&T!="constructor"&&m.push(T);return m}function e0(f){if(!Sn(f))return Js(f);var m=mt(f),T=[];for(var D in f)D=="constructor"&&(m||!an.call(f,D))||T.push(D);return T}function Kd(f,m){return f<m}function Zm(f,m){var T=-1,D=ha(f)?Se(f.length):[];return Yn(f,function(z,k,K){D[++T]=m(z,k,K)}),D}function Qd(f){var m=sh(f);return m.length==1&&m[0][2]?xv(m[0][0],m[0][1]):function(T){return T===f||pf(T,f,m)}}function vf(f,m){return hp(f)&&mp(m)?xv(vn(f),m):function(T){var D=Xf(T,f);return D===i&&D===m?Eo(T,f):Qo(m,D,B|L)}}function Xu(f,m,T,D,z){f!==m&&Fu(m,function(k,K){if(z||(z=new Ba),Sn(k))gv(f,m,K,T,Xu,D,z);else{var te=D?D(eu(f,K),k,K+"",f,m,z):i;te===i&&(te=k),el(f,K,te)}},Na)}function gv(f,m,T,D,z,k,K){var te=eu(f,T),ue=eu(m,T),ze=K.get(ue);if(ze){el(f,T,ze);return}var Re=k?k(te,ue,T+"",f,m,K):i,Ve=Re===i;if(Ve){var Fe=bt(ue),ut=!Fe&&xo(ue),vt=!Fe&&!ut&&qf(ue);Re=ue,Fe||ut||vt?bt(te)?Re=te:qn(te)?Re=va(te):ut?(Ve=!1,Re=tp(ue,!0)):vt?(Ve=!1,Re=np(ue,!0)):Re=[]:sl(ue)||Ha(ue)?(Re=te,Ha(te)?Re=wh(te):(!Sn(te)||Dr(te))&&(Re=Cf(ue))):Ve=!1}Ve&&(K.set(ue,Re),z(Re,ue,D,k,K),K.delete(ue)),el(f,T,Re)}function Wd(f,m){var T=f.length;if(T)return m+=m<0?T:0,rl(m,T)?f[m]:i}function bf(f,m,T){m.length?m=Qt(m,function(k){return bt(k)?function(K){return Ni(K,k.length===1?k[0]:k)}:k}):m=[he];var D=-1;m=Qt(m,Gi(dt()));var z=Zm(f,function(k,K,te){var ue=Qt(m,function(ze){return ze(k)});return{criteria:ue,index:++D,value:k}});return Nd(z,function(k,K){return r0(k,K,T)})}function Km(f,m){return Jd(f,m,function(T,D){return Eo(f,D)})}function Jd(f,m,T){for(var D=-1,z=m.length,k={};++D<z;){var K=m[D],te=Ni(f,K);T(te,K)&&Wo(k,ro(K,f),te)}return k}function t0(f){return function(m){return Ni(m,f)}}function Sf(f,m,T,D){var z=D?Dd:Vu,k=-1,K=m.length,te=f;for(f===m&&(m=va(m)),T&&(te=Qt(f,Gi(T)));++k<K;)for(var ue=0,ze=m[k],Re=T?T(ze):ze;(ue=z(te,Re,ue,D))>-1;)te!==f&&Bd.call(te,ue,1),Bd.call(f,ue,1);return f}function Qm(f,m){for(var T=f?m.length:0,D=T-1;T--;){var z=m[T];if(T==D||z!==k){var k=z;rl(z)?Bd.call(f,z,1):Zu(f,z)}}return f}function nl(f,m){return f+bl($d()*(m-f+1))}function Wm(f,m,T,D){for(var z=-1,k=Mn(Bn((m-f)/(T||1)),0),K=Se(k);k--;)K[D?k:++z]=f,f+=T;return K}function n0(f,m){var T="";if(!f||m<1||m>oe)return T;do m%2&&(T+=f),m=bl(m/2),m&&(f+=f);while(m);return T}function _t(f,m){return ir(gp(f,m,he),f+"")}function Ji(f){return ks(mc(f))}function eh(f,m){var T=mc(f);return ac(T,tl(m,0,T.length))}function Wo(f,m,T,D){if(!Sn(f))return f;m=ro(m,f);for(var z=-1,k=m.length,K=k-1,te=f;te!=null&&++z<k;){var ue=vn(m[z]),ze=T;if(ue==="__proto__"||ue==="constructor"||ue==="prototype")return f;if(z!=K){var Re=te[ue];ze=D?D(Re,ue,te):i,ze===i&&(ze=Sn(Re)?Re:rl(m[z+1])?[]:{})}Ys(te,ue,ze),te=te[ue]}return f}var Jo=Jl?function(f,m){return Jl.set(f,m),f}:he,On=Dt?function(f,m){return Dt(f,"toString",{configurable:!0,enumerable:!1,value:de(m),writable:!0})}:he;function yv(f){return ac(mc(f))}function wr(f,m,T){var D=-1,z=f.length;m<0&&(m=-m>z?0:z+m),T=T>z?z:T,T<0&&(T+=z),z=m>T?0:T-m>>>0,m>>>=0;for(var k=Se(z);++D<z;)k[D]=f[D+m];return k}function a0(f,m){var T;return Yn(f,function(D,z,k){return T=m(D,z,k),!T}),!!T}function er(f,m,T){var D=0,z=f==null?D:f.length;if(typeof m=="number"&&m===m&&z<=je){for(;D<z;){var k=D+z>>>1,K=f[k];K!==null&&!ni(K)&&(T?K<=m:K<m)?D=k+1:z=k}return z}return th(f,m,he,T)}function th(f,m,T,D){var z=0,k=f==null?0:f.length;if(k===0)return 0;m=T(m);for(var K=m!==m,te=m===null,ue=ni(m),ze=m===i;z<k;){var Re=bl((z+k)/2),Ve=T(f[Re]),Fe=Ve!==i,ut=Ve===null,vt=Ve===Ve,Bt=ni(Ve);if(K)var gt=D||vt;else ze?gt=vt&&(D||Fe):te?gt=vt&&Fe&&(D||!ut):ue?gt=vt&&Fe&&!ut&&(D||!Bt):ut||Bt?gt=!1:gt=D?Ve<=m:Ve<m;gt?z=Re+1:k=Re}return jn(k,Ae)}function nh(f,m){for(var T=-1,D=f.length,z=0,k=[];++T<D;){var K=f[T],te=m?m(K):K;if(!T||!vi(te,ue)){var ue=te;k[z++]=K===0?0:K}}return k}function Is(f){return typeof f=="number"?f:ni(f)?X:+f}function Ma(f){if(typeof f=="string")return f;if(bt(f))return Qt(f,Ma)+"";if(ni(f))return eo?eo.call(f):"";var m=f+"";return m=="0"&&1/f==-1/0?"-0":m}function io(f,m,T){var D=-1,z=Il,k=f.length,K=!0,te=[],ue=te;if(T)K=!1,z=Sr;else if(k>=u){var ze=m?null:oh(f);if(ze)return Xr(ze);K=!1,z=js,ue=new Sl}else ue=m?[]:te;e:for(;++D<k;){var Re=f[D],Ve=m?m(Re):Re;if(Re=T||Re!==0?Re:0,K&&Ve===Ve){for(var Fe=ue.length;Fe--;)if(ue[Fe]===Ve)continue e;m&&ue.push(Ve),te.push(Re)}else z(ue,Ve,T)||(ue!==te&&ue.push(Ve),te.push(Re))}return te}function Zu(f,m){return m=ro(m,f),f=nc(f,m),f==null||delete f[vn($a(m))]}function Jm(f,m,T,D){return Wo(f,m,T(Ni(f,m)),D)}function ah(f,m,T,D){for(var z=f.length,k=D?z:-1;(D?k--:++k<z)&&m(f[k],k,f););return T?wr(f,D?0:k,D?k+1:z):wr(f,D?k+1:0,D?z:k)}function vv(f,m){var T=f;return T instanceof qt&&(T=T.value()),Qc(m,function(D,z){return z.func.apply(z.thisArg,Yr([D],z.args))},T)}function xf(f,m,T){var D=f.length;if(D<2)return D?io(f[0]):[];for(var z=-1,k=Se(D);++z<D;)for(var K=f[z],te=-1;++te<D;)te!=z&&(k[z]=Ko(k[z]||K,f[te],m,T));return io(Ht(k,1),m,T)}function i0(f,m,T){for(var D=-1,z=f.length,k=m.length,K={};++D<z;){var te=D<k?m[D]:i;T(K,f[D],te)}return K}function Fs(f){return qn(f)?f:[]}function tr(f){return typeof f=="function"?f:he}function ro(f,m){return bt(f)?f:hp(f,m)?[f]:Dl(Vt(f))}var bv=_t;function es(f,m,T){var D=f.length;return T=T===i?D:T,!m&&T>=D?f:wr(f,m,T)}var ep=$e||function(f){return fa.clearTimeout(f)};function tp(f,m){if(m)return f.slice();var T=f.length,D=vl?vl(T):new f.constructor(T);return f.copy(D),D}function ts(f){var m=new f.constructor(f.byteLength);return new Go(m).set(new Go(f)),m}function ih(f,m){var T=m?ts(f.buffer):f.buffer;return new f.constructor(T,f.byteOffset,f.byteLength)}function Ku(f){var m=new f.constructor(f.source,Hc.exec(f));return m.lastIndex=f.lastIndex,m}function Sv(f){return Zo?Wt(Zo.call(f)):{}}function np(f,m){var T=m?ts(f.buffer):f.buffer;return new f.constructor(T,f.byteOffset,f.length)}function rh(f,m){if(f!==m){var T=f!==i,D=f===null,z=f===f,k=ni(f),K=m!==i,te=m===null,ue=m===m,ze=ni(m);if(!te&&!ze&&!k&&f>m||k&&K&&ue&&!te&&!ze||D&&K&&ue||!T&&ue||!z)return 1;if(!D&&!k&&!ze&&f<m||ze&&T&&z&&!D&&!k||te&&T&&z||!K&&z||!ue)return-1}return 0}function r0(f,m,T){for(var D=-1,z=f.criteria,k=m.criteria,K=z.length,te=T.length;++D<K;){var ue=rh(z[D],k[D]);if(ue){if(D>=te)return ue;var ze=T[D];return ue*(ze=="desc"?-1:1)}}return f.index-m.index}function ap(f,m,T,D){for(var z=-1,k=f.length,K=T.length,te=-1,ue=m.length,ze=Mn(k-K,0),Re=Se(ue+ze),Ve=!D;++te<ue;)Re[te]=m[te];for(;++z<K;)(Ve||z<k)&&(Re[T[z]]=f[z]);for(;ze--;)Re[te++]=f[z++];return Re}function lo(f,m,T,D){for(var z=-1,k=f.length,K=-1,te=T.length,ue=-1,ze=m.length,Re=Mn(k-te,0),Ve=Se(Re+ze),Fe=!D;++z<Re;)Ve[z]=f[z];for(var ut=z;++ue<ze;)Ve[ut+ue]=m[ue];for(;++K<te;)(Fe||z<k)&&(Ve[ut+T[K]]=f[z++]);return Ve}function va(f,m){var T=-1,D=f.length;for(m||(m=Se(D));++T<D;)m[T]=f[T];return m}function zi(f,m,T,D){var z=!T;T||(T={});for(var k=-1,K=m.length;++k<K;){var te=m[k],ue=D?D(T[te],f[te],te,T,f):i;ue===i&&(ue=f[te]),z?Tl(T,te,ue):Ys(T,te,ue)}return T}function ip(f,m){return zi(f,wf(f),m)}function Qu(f,m){return zi(f,up(f),m)}function Da(f,m){return function(T,D){var z=bt(T)?dv:Qi,k=m?m():{};return z(T,f,dt(D,2),k)}}function Xs(f){return _t(function(m,T){var D=-1,z=T.length,k=z>1?T[z-1]:i,K=z>2?T[2]:i;for(k=f.length>3&&typeof k=="function"?(z--,k):i,K&&pi(T[0],T[1],K)&&(k=z<3?i:k,z=1),m=Wt(m);++D<z;){var te=T[D];te&&f(m,te,D,k)}return m})}function Li(f,m){return function(T,D){if(T==null)return T;if(!ha(T))return f(T,D);for(var z=T.length,k=m?z:-1,K=Wt(T);(m?k--:++k<z)&&D(K[k],k,K)!==!1;);return T}}function Zs(f){return function(m,T,D){for(var z=-1,k=Wt(m),K=D(m),te=K.length;te--;){var ue=K[f?te:++z];if(T(k[ue],ue,k)===!1)break}return m}}function oo(f,m,T){var D=m&P,z=Cr(f);function k(){var K=this&&this!==fa&&this instanceof k?z:f;return K.apply(D?T:this,arguments)}return k}function nr(f){return function(m){m=Vt(m);var T=Fr(m)?Va(m):i,D=T?T[0]:m.charAt(0),z=T?es(T,1).join(""):m.slice(1);return D[f]()+z}}function da(f){return function(m){return Qc(x(Ll(m).replace(zu,"")),f,"")}}function Cr(f){return function(){var m=arguments;switch(m.length){case 0:return new f;case 1:return new f(m[0]);case 2:return new f(m[0],m[1]);case 3:return new f(m[0],m[1],m[2]);case 4:return new f(m[0],m[1],m[2],m[3]);case 5:return new f(m[0],m[1],m[2],m[3],m[4]);case 6:return new f(m[0],m[1],m[2],m[3],m[4],m[5]);case 7:return new f(m[0],m[1],m[2],m[3],m[4],m[5],m[6])}var T=Ki(f.prototype),D=f.apply(T,m);return Sn(D)?D:T}}function so(f,m,T){var D=Cr(f);function z(){for(var k=arguments.length,K=Se(k),te=k,ue=il(z);te--;)K[te]=arguments[te];var ze=k<3&&K[0]!==ue&&K[k-1]!==ue?[]:Oi(K,ue);if(k-=ze.length,k<T)return Ju(f,m,yn,z.placeholder,i,K,ze,i,i,T-k);var Re=this&&this!==fa&&this instanceof z?D:f;return Ci(Re,this,K)}return z}function Al(f){return function(m,T,D){var z=Wt(m);if(!ha(m)){var k=dt(T,3);m=Sa(m),T=function(te){return k(z[te],te,z)}}var K=f(m,T,D);return K>-1?z[k?m[K]:K]:i}}function al(f){return $n(function(m){var T=m.length,D=T,z=Ri.prototype.thru;for(f&&m.reverse();D--;){var k=m[D];if(typeof k!="function")throw new Tr(g);if(z&&!K&&ec(k)=="wrapper")var K=new Ri([],!0)}for(D=K?D:T;++D<T;){k=m[D];var te=ec(k),ue=te=="wrapper"?is(k):i;ue&&Ws(ue[0])&&ue[1]==(me|q|Y|pe)&&!ue[4].length&&ue[9]==1?K=K[ec(ue[0])].apply(K,ue[3]):K=k.length==1&&Ws(k)?K[te]():K.thru(k)}return function(){var ze=arguments,Re=ze[0];if(K&&ze.length==1&&bt(Re))return K.plant(Re).value();for(var Ve=0,Fe=T?m[Ve].apply(this,ze):Re;++Ve<T;)Fe=m[Ve].call(this,Fe);return Fe}})}function yn(f,m,T,D,z,k,K,te,ue,ze){var Re=m&me,Ve=m&P,Fe=m&U,ut=m&(q|J),vt=m&ve,Bt=Fe?i:Cr(f);function gt(){for(var Zt=arguments.length,ln=Se(Zt),cl=Zt;cl--;)ln[cl]=arguments[cl];if(ut)var cr=il(gt),fl=Hg(ln,cr);if(D&&(ln=ap(ln,D,z,ut)),k&&(ln=lo(ln,k,K,ut)),Zt-=fl,ut&&Zt<ze){var za=Oi(ln,cr);return Ju(f,m,yn,gt.placeholder,T,ln,za,te,ue,ze-Zt)}var ps=Ve?T:this,bc=Fe?ps[f]:f;return Zt=ln.length,te?ln=Ml(ln,te):vt&&Zt>1&&ln.reverse(),Re&&ue<Zt&&(ln.length=ue),this&&this!==fa&&this instanceof gt&&(bc=Bt||Cr(bc)),bc.apply(ps,ln)}return gt}function Tf(f,m){return function(T,D){return Im(T,f,m(D),{})}}function wl(f,m){return function(T,D){var z;if(T===i&&D===i)return m;if(T!==i&&(z=T),D!==i){if(z===i)return D;typeof T=="string"||typeof D=="string"?(T=Ma(T),D=Ma(D)):(T=Is(T),D=Is(D)),z=f(T,D)}return z}}function Ef(f){return $n(function(m){return m=Qt(m,Gi(dt())),_t(function(T){var D=this;return f(m,function(z){return Ci(z,D,T)})})})}function ns(f,m){m=m===i?" ":Ma(m);var T=m.length;if(T<2)return T?n0(m,f):m;var D=n0(m,Bn(f/xr(m)));return Fr(m)?es(Va(D),0,f).join(""):D.slice(0,f)}function Wu(f,m,T,D){var z=m&P,k=Cr(f);function K(){for(var te=-1,ue=arguments.length,ze=-1,Re=D.length,Ve=Se(Re+ue),Fe=this&&this!==fa&&this instanceof K?k:f;++ze<Re;)Ve[ze]=D[ze];for(;ue--;)Ve[ze++]=arguments[++te];return Ci(Fe,z?T:this,Ve)}return K}function as(f){return function(m,T,D){return D&&typeof D!="number"&&pi(m,T,D)&&(T=D=i),m=Xn(m),T===i?(T=m,m=0):T=Xn(T),D=D===i?m<T?1:-1:Xn(D),Wm(m,T,D,f)}}function Ks(f){return function(m,T){return typeof m=="string"&&typeof T=="string"||(m=ji(m),T=ji(T)),f(m,T)}}function Ju(f,m,T,D,z,k,K,te,ue,ze){var Re=m&q,Ve=Re?K:i,Fe=Re?i:K,ut=Re?k:i,vt=Re?i:k;m|=Re?Y:le,m&=~(Re?le:Y),m&G||(m&=-4);var Bt=[f,m,z,ut,Ve,vt,Fe,te,ue,ze],gt=T.apply(i,Bt);return Ws(f)&&yp(gt,Bt),gt.placeholder=D,tu(gt,f,m)}function lh(f){var m=wn[f];return function(T,D){if(T=ji(T),D=D==null?0:jn(Ot(D),292),D&&Pu(T)){var z=(Vt(T)+"e").split("e"),k=m(z[0]+"e"+(+z[1]+D));return z=(Vt(k)+"e").split("e"),+(z[0]+"e"+(+z[1]-D))}return m(T)}}var oh=Yt&&1/Xr(new Yt([,-0]))[1]==ne?function(f){return new Yt(f)}:Je;function Af(f){return function(m){var T=ja(m);return T==Jt?zd(m):T==Ia?qg(m):$g(m,f(m))}}function Cl(f,m,T,D,z,k,K,te){var ue=m&U;if(!ue&&typeof f!="function")throw new Tr(g);var ze=D?D.length:0;if(ze||(m&=-97,D=z=i),K=K===i?K:Mn(Ot(K),0),te=te===i?te:Ot(te),ze-=z?z.length:0,m&le){var Re=D,Ve=z;D=z=i}var Fe=ue?i:is(f),ut=[f,m,T,D,z,Re,Ve,k,K,te];if(Fe&&fh(ut,Fe),f=ut[0],m=ut[1],T=ut[2],D=ut[3],z=ut[4],te=ut[9]=ut[9]===i?ue?0:f.length:Mn(ut[9]-ze,0),!te&&m&(q|J)&&(m&=-25),!m||m==P)var vt=oo(f,m,T);else m==q||m==J?vt=so(f,m,te):(m==Y||m==(P|Y))&&!z.length?vt=Wu(f,m,T,D):vt=yn.apply(i,ut);var Bt=Fe?Jo:yp;return tu(Bt(vt,ut),f,m)}function rp(f,m,T,D){return f===i||vi(f,$u[T])&&!an.call(D,T)?m:f}function lp(f,m,T,D,z,k){return Sn(f)&&Sn(m)&&(k.set(m,f),Xu(f,m,i,lp,k),k.delete(m)),f}function ar(f){return sl(f)?i:f}function l0(f,m,T,D,z,k){var K=T&B,te=f.length,ue=m.length;if(te!=ue&&!(K&&ue>te))return!1;var ze=k.get(f),Re=k.get(m);if(ze&&Re)return ze==m&&Re==f;var Ve=-1,Fe=!0,ut=T&L?new Sl:i;for(k.set(f,m),k.set(m,f);++Ve<te;){var vt=f[Ve],Bt=m[Ve];if(D)var gt=K?D(Bt,vt,Ve,m,f,k):D(vt,Bt,Ve,f,m,k);if(gt!==i){if(gt)continue;Fe=!1;break}if(ut){if(!si(m,function(Zt,ln){if(!js(ut,ln)&&(vt===Zt||z(vt,Zt,T,D,k)))return ut.push(ln)})){Fe=!1;break}}else if(!(vt===Bt||z(vt,Bt,T,D,k))){Fe=!1;break}}return k.delete(f),k.delete(m),Fe}function aa(f,m,T,D,z,k,K){switch(T){case dn:if(f.byteLength!=m.byteLength||f.byteOffset!=m.byteOffset)return!1;f=f.buffer,m=m.buffer;case tt:return!(f.byteLength!=m.byteLength||!k(new Go(f),new Go(m)));case We:case it:case wa:return vi(+f,+m);case un:return f.name==m.name&&f.message==m.message;case Lo:case gr:return f==m+"";case Jt:var te=zd;case Ia:var ue=D&B;if(te||(te=Xr),f.size!=m.size&&!ue)return!1;var ze=K.get(f);if(ze)return ze==m;D|=L,K.set(f,m);var Re=l0(te(f),te(m),D,z,k,K);return K.delete(f),Re;case $r:if(Zo)return Zo.call(f)==Zo.call(m)}return!1}function Ra(f,m,T,D,z,k){var K=T&B,te=op(f),ue=te.length,ze=op(m),Re=ze.length;if(ue!=Re&&!K)return!1;for(var Ve=ue;Ve--;){var Fe=te[Ve];if(!(K?Fe in m:an.call(m,Fe)))return!1}var ut=k.get(f),vt=k.get(m);if(ut&&vt)return ut==m&&vt==f;var Bt=!0;k.set(f,m),k.set(m,f);for(var gt=K;++Ve<ue;){Fe=te[Ve];var Zt=f[Fe],ln=m[Fe];if(D)var cl=K?D(ln,Zt,Fe,m,f,k):D(Zt,ln,Fe,f,m,k);if(!(cl===i?Zt===ln||z(Zt,ln,T,D,k):cl)){Bt=!1;break}gt||(gt=Fe=="constructor")}if(Bt&&!gt){var cr=f.constructor,fl=m.constructor;cr!=fl&&"constructor"in f&&"constructor"in m&&!(typeof cr=="function"&&cr instanceof cr&&typeof fl=="function"&&fl instanceof fl)&&(Bt=!1)}return k.delete(f),k.delete(m),Bt}function $n(f){return ir(gp(f,i,_a),f+"")}function op(f){return Ym(f,Sa,wf)}function Ol(f){return Ym(f,Na,up)}var is=Jl?function(f){return Jl.get(f)}:Je;function ec(f){for(var m=f.name+"",T=Zi[m],D=an.call(Zi,m)?T.length:0;D--;){var z=T[D],k=z.func;if(k==null||k==f)return z.name}return m}function il(f){var m=an.call(j,"placeholder")?j:f;return m.placeholder}function dt(){var f=j.iteratee||ft;return f=f===ft?gf:f,arguments.length?f(arguments[0],arguments[1]):f}function tc(f,m){var T=f.__data__;return fo(m)?T[typeof m=="string"?"string":"hash"]:T.map}function sh(f){for(var m=Sa(f),T=m.length;T--;){var D=m[T],z=f[D];m[T]=[D,z,mp(z)]}return m}function uo(f,m){var T=Bu(f,m);return El(T)?T:i}function sp(f){var m=an.call(f,Ka),T=f[Ka];try{f[Ka]=i;var D=!0}catch{}var z=ci.call(f);return D&&(m?f[Ka]=T:delete f[Ka]),z}var wf=Wl?function(f){return f==null?[]:(f=Wt(f),oi(Wl(f),function(m){return Hu.call(f,m)}))}:Lb,up=Wl?function(f){for(var m=[];f;)Yr(m,wf(f)),f=Io(f);return m}:Lb,ja=It;(Wr&&ja(new Wr(new ArrayBuffer(1)))!=dn||kn&&ja(new kn)!=Jt||rn&&ja(rn.resolve())!=As||Yt&&ja(new Yt)!=Ia||fi&&ja(new fi)!=Uo)&&(ja=function(f){var m=It(f),T=m==gn?f.constructor:i,D=T?ho(T):"";if(D)switch(D){case Hd:return dn;case Xg:return Jt;case of:return As;case sf:return Ia;case Zg:return Uo}return m});function o0(f,m,T){for(var D=-1,z=T.length;++D<z;){var k=T[D],K=k.size;switch(k.type){case"drop":f+=K;break;case"dropRight":m-=K;break;case"take":m=jn(m,f+K);break;case"takeRight":f=Mn(f,m-K);break}}return{start:f,end:m}}function cp(f){var m=f.match(pm);return m?m[1].split(iv):[]}function uh(f,m,T){m=ro(m,f);for(var D=-1,z=m.length,k=!1;++D<z;){var K=vn(m[D]);if(!(k=f!=null&&T(f,K)))break;f=f[K]}return k||++D!=z?k:(z=f==null?0:f.length,!!z&&Bi(z)&&rl(K,z)&&(bt(f)||Ha(f)))}function Qs(f){var m=f.length,T=new f.constructor(m);return m&&typeof f[0]=="string"&&an.call(f,"index")&&(T.index=f.index,T.input=f.input),T}function Cf(f){return typeof f.constructor=="function"&&!mt(f)?Ki(Io(f)):{}}function fp(f,m,T){var D=f.constructor;switch(m){case tt:return ts(f);case We:case it:return new D(+f);case dn:return ih(f,T);case En:case yr:case Yl:case Dg:case ws:case pl:case Ti:case ql:case Hr:return np(f,T);case Jt:return new D;case wa:case gr:return new D(f);case Lo:return Ku(f);case Ia:return new D;case $r:return Sv(f)}}function dp(f,m){var T=m.length;if(!T)return f;var D=T-1;return m[D]=(T>1?"& ":"")+m[D],m=m.join(T>2?", ":" "),f.replace(av,`{
|
|
633
633
|
/* [wrapped with `+m+`] */
|
|
634
|
-
`)}function co(f){return bt(f)||Ha(f)||!!(Di&&f&&f[Di])}function rl(f,m){var T=typeof f;return m=m??oe,!!m&&(T=="number"||T!="symbol"&&Ds.test(f))&&f>-1&&f%1==0&&f<m}function pi(f,m,T){if(!Sn(T))return!1;var D=typeof m;return(D=="number"?da(T)&&rl(m,T.length):D=="string"&&m in T)?vi(T[m],f):!1}function hp(f,m){if(bt(f))return!1;var T=typeof f;return T=="number"||T=="symbol"||T=="boolean"||f==null||ni(f)?!0:Cb.test(f)||!nv.test(f)||m!=null&&f in Wt(m)}function fo(f){var m=typeof f;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?f!=="__proto__":f===null}function Ws(f){var m=ec(f),T=j[m];if(typeof T!="function"||!(m in qt.prototype))return!1;if(f===T)return!0;var D=is(T);return!!D&&f===D[0]}function ch(f){return!!Nm&&Nm in f}var Of=nf?Dr:Ub;function mt(f){var m=f&&f.constructor,T=typeof m=="function"&&m.prototype||$u;return f===T}function mp(f){return f===f&&!Sn(f)}function xv(f,m){return function(T){return T==null?!1:T[f]===m&&(m!==i||f in Wt(T))}}function s0(f){var m=ru(f,function(D){return T.size===E&&T.clear(),D}),T=m.cache;return m}function fh(f,m){var T=f[1],D=m[1],z=T|D,k=z<(P|U|me),K=D==me&&T==q||D==me&&T==pe&&f[7].length<=m[8]||D==(me|pe)&&m[7].length<=m[8]&&T==q;if(!(k||K))return f;D&P&&(f[2]=m[2],z|=T&P?0:G);var te=m[3];if(te){var ue=f[3];f[3]=ue?ap(ue,te,m[4]):te,f[4]=ue?Oi(f[3],A):m[4]}return te=m[5],te&&(ue=f[5],f[5]=ue?lo(ue,te,m[6]):te,f[6]=ue?Oi(f[5],A):m[6]),te=m[7],te&&(f[7]=te),D&me&&(f[8]=f[8]==null?m[8]:jn(f[8],m[8])),f[9]==null&&(f[9]=m[9]),f[0]=m[0],f[1]=z,f}function Js(f){var m=[];if(f!=null)for(var T in Wt(f))m.push(T);return m}function pp(f){return ci.call(f)}function gp(f,m,T){return m=Mn(m===i?f.length-1:m,0),function(){for(var D=arguments,z=-1,k=Mn(D.length-m,0),K=Se(k);++z<k;)K[z]=D[m+z];z=-1;for(var te=Se(m+1);++z<m;)te[z]=D[z];return te[m]=T(K),Ci(f,this,te)}}function nc(f,m){return m.length<2?f:Ni(f,wr(m,0,-1))}function Ml(f,m){for(var T=f.length,D=jn(m.length,T),z=va(f);D--;){var k=m[D];f[D]=rl(k,T)?z[k]:i}return f}function eu(f,m){if(!(m==="constructor"&&typeof f[m]=="function")&&m!="__proto__")return f[m]}var yp=dh(Jo),Mf=lf||function(f,m){return ca.setTimeout(f,m)},ir=dh(On);function tu(f,m,T){var D=m+"";return ir(f,dp(D,vp(cp(D),T)))}function dh(f){var m=0,T=0;return function(){var D=ta(),z=Qe-(D-T);if(T=D,z>0){if(++m>=Pe)return arguments[0]}else m=0;return f.apply(i,arguments)}}function ac(f,m){var T=-1,D=f.length,z=D-1;for(m=m===i?D:m;++T<m;){var k=nl(T,z),K=f[k];f[k]=f[T],f[T]=K}return f.length=m,f}var Dl=s0(function(f){var m=[];return f.charCodeAt(0)===46&&m.push(""),f.replace(Ca,function(T,D,z,k){m.push(z?k.replace(Fa,"$1"):D||T)}),m});function vn(f){if(typeof f=="string"||ni(f))return f;var m=f+"";return m=="0"&&1/f==-1/0?"-0":m}function ho(f){if(f!=null){try{return af.call(f)}catch{}try{return f+""}catch{}}return""}function vp(f,m){return br(Ye,function(T){var D="_."+T[0];m&T[1]&&!Il(f,D)&&f.push(D)}),f.sort()}function ba(f){if(f instanceof qt)return f.clone();var m=new Ri(f.__wrapped__,f.__chain__);return m.__actions__=va(f.__actions__),m.__index__=f.__index__,m.__values__=f.__values__,m}function u0(f,m,T){(T?pi(f,m,T):m===i)?m=1:m=Mn(Ot(m),0);var D=f==null?0:f.length;if(!D||m<1)return[];for(var z=0,k=0,K=Se(Bn(D/m));z<D;)K[k++]=wr(f,z,z+=m);return K}function c0(f){for(var m=-1,T=f==null?0:f.length,D=0,z=[];++m<T;){var k=f[m];k&&(z[D++]=k)}return z}function f0(){var f=arguments.length;if(!f)return[];for(var m=Se(f-1),T=arguments[0],D=f;D--;)m[D-1]=arguments[D];return Yr(bt(T)?va(T):[T],Ht(m,1))}var In=_t(function(f,m){return qn(f)?Ko(f,Ht(m,1,qn,!0)):[]}),Wa=_t(function(f,m){var T=$a(m);return qn(T)&&(T=i),qn(f)?Ko(f,Ht(m,1,qn,!0),dt(T,2)):[]}),mo=_t(function(f,m){var T=$a(m);return qn(T)&&(T=i),qn(f)?Ko(f,Ht(m,1,qn,!0),i,T):[]});function Gt(f,m,T){var D=f==null?0:f.length;return D?(m=T||m===i?1:Ot(m),wr(f,m<0?0:m,D)):[]}function bp(f,m,T){var D=f==null?0:f.length;return D?(m=T||m===i?1:Ot(m),m=D-m,wr(f,0,m<0?0:m)):[]}function d0(f,m){return f&&f.length?ah(f,dt(m,3),!0,!0):[]}function Sp(f,m){return f&&f.length?ah(f,dt(m,3),!0):[]}function Ui(f,m,T,D){var z=f==null?0:f.length;return z?(T&&typeof T!="number"&&pi(f,m,T)&&(T=0,D=z),Rt(f,m,T,D)):[]}function gi(f,m,T){var D=f==null?0:f.length;if(!D)return-1;var z=T==null?0:Ot(T);return z<0&&(z=Mn(D+z,0)),Md(f,dt(m,3),z)}function Df(f,m,T){var D=f==null?0:f.length;if(!D)return-1;var z=D-1;return T!==i&&(z=Ot(T),z=T<0?Mn(D+z,0):jn(z,D-1)),Md(f,dt(m,3),z,!0)}function _a(f){var m=f==null?0:f.length;return m?Ht(f,1):[]}function h0(f){var m=f==null?0:f.length;return m?Ht(f,ne):[]}function po(f,m){var T=f==null?0:f.length;return T?(m=m===i?1:Ot(m),Ht(f,m)):[]}function Fn(f){for(var m=-1,T=f==null?0:f.length,D={};++m<T;){var z=f[m];D[z[0]]=z[1]}return D}function rs(f){return f&&f.length?f[0]:i}function ll(f,m,T){var D=f==null?0:f.length;if(!D)return-1;var z=T==null?0:Ot(T);return z<0&&(z=Mn(D+z,0)),Vu(f,m,z)}function xp(f){var m=f==null?0:f.length;return m?wr(f,0,-1):[]}var Ja=_t(function(f){var m=Qt(f,Fs);return m.length&&m[0]===f[0]?Gm(m):[]}),m0=_t(function(f){var m=$a(f),T=Qt(f,Fs);return m===$a(T)?m=i:T.pop(),T.length&&T[0]===f[0]?Gm(T,dt(m,2)):[]}),ls=_t(function(f){var m=$a(f),T=Qt(f,Fs);return m=typeof m=="function"?m:i,m&&T.pop(),T.length&&T[0]===f[0]?Gm(T,i,m):[]});function mn(f,m){return f==null?"":Qr.call(f,m)}function $a(f){var m=f==null?0:f.length;return m?f[m-1]:i}function ia(f,m,T){var D=f==null?0:f.length;if(!D)return-1;var z=D;return T!==i&&(z=Ot(T),z=z<0?Mn(D+z,0):jn(z,D-1)),m===m?Za(f,m,z):Md(f,Wc,z,!0)}function Tv(f,m){return f&&f.length?Wd(f,Ot(m)):i}var p0=_t(nu);function nu(f,m){return f&&f.length&&m&&m.length?Sf(f,m):f}function g0(f,m,T){return f&&f.length&&m&&m.length?Sf(f,m,dt(T,2)):f}function Vi(f,m,T){return f&&f.length&&m&&m.length?Sf(f,m,i,T):f}var y0=$n(function(f,m){var T=f==null?0:f.length,D=Id(f,m);return Qm(f,Qt(m,function(z){return rl(z,T)?+z:z}).sort(rh)),D});function v0(f,m){var T=[];if(!(f&&f.length))return T;var D=-1,z=[],k=f.length;for(m=dt(m,3);++D<k;){var K=f[D];m(K,D,f)&&(T.push(K),z.push(D))}return Qm(f,z),T}function Tp(f){return f==null?f:ku.call(f)}function bn(f,m,T){var D=f==null?0:f.length;return D?(T&&typeof T!="number"&&pi(f,m,T)?(m=0,T=D):(m=m==null?0:Ot(m),T=T===i?D:Ot(T)),wr(f,m,T)):[]}function _n(f,m){return er(f,m)}function Ft(f,m,T){return th(f,m,dt(T,2))}function Xt(f,m){var T=f==null?0:f.length;if(T){var D=er(f,m);if(D<T&&vi(f[D],m))return D}return-1}function xn(f,m){return er(f,m,!0)}function rr(f,m,T){return th(f,m,dt(T,2),!0)}function go(f,m){var T=f==null?0:f.length;if(T){var D=er(f,m,!0)-1;if(vi(f[D],m))return D}return-1}function Rf(f){return f&&f.length?nh(f):[]}function b0(f,m){return f&&f.length?nh(f,dt(m,2)):[]}function os(f){var m=f==null?0:f.length;return m?wr(f,1,m):[]}function ra(f,m,T){return f&&f.length?(m=T||m===i?1:Ot(m),wr(f,0,m<0?0:m)):[]}function ss(f,m,T){var D=f==null?0:f.length;return D?(m=T||m===i?1:Ot(m),m=D-m,wr(f,m<0?0:m,D)):[]}function ic(f,m){return f&&f.length?ah(f,dt(m,3),!1,!0):[]}function yo(f,m){return f&&f.length?ah(f,dt(m,3)):[]}var ol=_t(function(f){return io(Ht(f,1,qn,!0))}),_f=_t(function(f){var m=$a(f);return qn(m)&&(m=i),io(Ht(f,1,qn,!0),dt(m,2))}),Nf=_t(function(f){var m=$a(f);return m=typeof m=="function"?m:i,io(Ht(f,1,qn,!0),i,m)});function lr(f){return f&&f.length?io(f):[]}function S0(f,m){return f&&f.length?io(f,dt(m,2)):[]}function x0(f,m){return m=typeof m=="function"?m:i,f&&f.length?io(f,i,m):[]}function zf(f){if(!(f&&f.length))return[];var m=0;return f=oi(f,function(T){if(qn(T))return m=Mn(T.length,m),!0}),Xl(m,function(T){return Qt(f,qr(T))})}function rc(f,m){if(!(f&&f.length))return[];var T=zf(f);return m==null?T:Qt(T,function(D){return Ci(m,i,D)})}var au=_t(function(f,m){return qn(f)?Ko(f,m):[]}),ei=_t(function(f){return xf(oi(f,qn))}),vo=_t(function(f){var m=$a(f);return qn(m)&&(m=i),xf(oi(f,qn),dt(m,2))}),Lf=_t(function(f){var m=$a(f);return m=typeof m=="function"?m:i,xf(oi(f,qn),i,m)}),ti=_t(zf);function Ep(f,m){return i0(f||[],m||[],Ys)}function Ap(f,m){return i0(f||[],m||[],Wo)}var T0=_t(function(f){var m=f.length,T=m>1?f[m-1]:i;return T=typeof T=="function"?(f.pop(),T):i,rc(f,T)});function lc(f){var m=j(f);return m.__chain__=!0,m}function E0(f,m){return m(f),f}function yi(f,m){return m(f)}var A0=$n(function(f){var m=f.length,T=m?f[0]:0,D=this.__wrapped__,z=function(k){return Id(k,f)};return m>1||this.__actions__.length||!(D instanceof qt)||!rl(T)?this.thru(z):(D=D.slice(T,+T+(m?1:0)),D.__actions__.push({func:yi,args:[z],thisArg:i}),new Ri(D,this.__chain__).thru(function(k){return m&&!k.length&&k.push(i),k}))});function Or(){return lc(this)}function Uf(){return new Ri(this.value(),this.__chain__)}function hh(){this.__values__===i&&(this.__values__=Kn(this.value()));var f=this.__index__>=this.__values__.length,m=f?i:this.__values__[this.__index__++];return{done:f,value:m}}function Ev(){return this}function us(f){for(var m,T=this;T instanceof Er;){var D=ba(T);D.__index__=0,D.__values__=i,m?z.__wrapped__=D:m=D;var z=D;T=T.__wrapped__}return z.__wrapped__=f,m}function oc(){var f=this.__wrapped__;if(f instanceof qt){var m=f;return this.__actions__.length&&(m=new qt(this)),m=m.reverse(),m.__actions__.push({func:yi,args:[Tp],thisArg:i}),new Ri(m,this.__chain__)}return this.thru(Tp)}function iu(){return vv(this.__wrapped__,this.__actions__)}var bo=Da(function(f,m,T){an.call(f,T)?++f[T]:Tl(f,T,1)});function w0(f,m,T){var D=bt(f)?Bg:hf;return T&&pi(f,m,T)&&(m=i),D(f,dt(m,3))}function Av(f,m){var T=bt(f)?oi:hn;return T(f,dt(m,3))}var sc=Al(gi),uc=Al(Df);function wp(f,m){return Ht(ph(f,m),1)}function Cp(f,m){return Ht(ph(f,m),ne)}function C0(f,m,T){return T=T===i?1:Ot(T),Ht(ph(f,m),T)}function Op(f,m){var T=bt(f)?br:Yn;return T(f,dt(m,3))}function Mp(f,m){var T=bt(f)?Vg:Iu;return T(f,dt(m,3))}var O0=Da(function(f,m,T){an.call(f,T)?f[T].push(m):Tl(f,T,[m])});function Vf(f,m,T,D){f=da(f)?f:mc(f),T=T&&!D?Ot(T):0;var z=f.length;return T<0&&(T=Mn(z+T,0)),jp(f)?T<=z&&f.indexOf(m,T)>-1:!!z&&Vu(f,m,T)>-1}var mh=_t(function(f,m,T){var D=-1,z=typeof m=="function",k=da(f)?Se(f.length):[];return Yn(f,function(K){k[++D]=z?Ci(m,K,T):ao(K,m,T)}),k}),wv=Da(function(f,m,T){Tl(f,T,m)});function ph(f,m){var T=bt(f)?Qt:Zm;return T(f,dt(m,3))}function Cv(f,m,T,D){return f==null?[]:(bt(m)||(m=m==null?[]:[m]),T=D?i:T,bt(T)||(T=T==null?[]:[T]),bf(f,m,T))}var gh=Da(function(f,m,T){f[T?0:1].push(m)},function(){return[[],[]]});function Dp(f,m,T){var D=bt(f)?Qc:_d,z=arguments.length<3;return D(f,dt(m,4),T,z,Yn)}function Ov(f,m,T){var D=bt(f)?jg:_d,z=arguments.length<3;return D(f,dt(m,4),T,z,Iu)}function Rp(f,m){var T=bt(f)?oi:hn;return T(f,jf(dt(m,3)))}function M0(f){var m=bt(f)?ks:Ji;return m(f)}function D0(f,m,T){(T?pi(f,m,T):m===i)?m=1:m=Ot(m);var D=bt(f)?Qg:eh;return D(f,m)}function Cn(f){var m=bt(f)?Wg:yv;return m(f)}function _p(f){if(f==null)return 0;if(da(f))return jp(f)?xr(f):f.length;var m=ja(f);return m==Jt||m==Ia?f.size:yf(f).length}function R0(f,m,T){var D=bt(f)?si:a0;return T&&pi(f,m,T)&&(m=i),D(f,dt(m,3))}var _0=_t(function(f,m){if(f==null)return[];var T=m.length;return T>1&&pi(f,m[0],m[1])?m=[]:T>2&&pi(m[0],m[1],m[2])&&(m=[m[0]]),bf(f,Ht(m,1),[])}),Np=Kr||function(){return ca.Date.now()};function Ob(f,m){if(typeof m!="function")throw new Tr(g);return f=Ot(f),function(){if(--f<1)return m.apply(this,arguments)}}function Mv(f,m,T){return m=T?i:m,m=f&&m==null?f.length:m,Cl(f,me,i,i,i,i,m)}function yh(f,m){var T;if(typeof m!="function")throw new Tr(g);return f=Ot(f),function(){return--f>0&&(T=m.apply(this,arguments)),f<=1&&(m=i),T}}var So=_t(function(f,m,T){var D=P;if(T.length){var z=Oi(T,il(So));D|=Y}return Cl(f,D,m,T,z)}),Bf=_t(function(f,m,T){var D=P|U;if(T.length){var z=Oi(T,il(Bf));D|=Y}return Cl(m,D,f,T,z)});function cc(f,m,T){m=T?i:m;var D=Cl(f,q,i,i,i,i,i,m);return D.placeholder=cc.placeholder,D}function vh(f,m,T){m=T?i:m;var D=Cl(f,J,i,i,i,i,i,m);return D.placeholder=vh.placeholder,D}function cs(f,m,T){var D,z,k,K,te,ue,ze=0,Re=!1,Ve=!1,Fe=!0;if(typeof f!="function")throw new Tr(g);m=ji(m)||0,Sn(T)&&(Re=!!T.leading,Ve="maxWait"in T,k=Ve?Mn(ji(T.maxWait)||0,m):k,Fe="trailing"in T?!!T.trailing:Fe);function ut(za){var ps=D,bc=z;return D=z=i,ze=za,K=f.apply(bc,ps),K}function vt(za){return ze=za,te=Mf(Zt,m),Re?ut(za):K}function Bt(za){var ps=za-ue,bc=za-ze,Bb=m-ps;return Ve?jn(Bb,k-bc):Bb}function gt(za){var ps=za-ue,bc=za-ze;return ue===i||ps>=m||ps<0||Ve&&bc>=k}function Zt(){var za=Np();if(gt(za))return ln(za);te=Mf(Zt,Bt(za))}function ln(za){return te=i,Fe&&D?ut(za):(D=z=i,K)}function cl(){te!==i&&ep(te),ze=0,D=ue=z=te=i}function cr(){return te===i?K:ln(Np())}function fl(){var za=Np(),ps=gt(za);if(D=arguments,z=this,ue=za,ps){if(te===i)return vt(ue);if(Ve)return ep(te),te=Mf(Zt,m),ut(ue)}return te===i&&(te=Mf(Zt,m)),K}return fl.cancel=cl,fl.flush=cr,fl}var or=_t(function(f,m){return qs(f,1,m)}),bh=_t(function(f,m,T){return qs(f,ji(m)||0,T)});function Dv(f){return Cl(f,ve)}function ru(f,m){if(typeof f!="function"||m!=null&&typeof m!="function")throw new Tr(g);var T=function(){var D=arguments,z=m?m.apply(this,D):D[0],k=T.cache;if(k.has(z))return k.get(z);var K=f.apply(this,D);return T.cache=k.set(z,K)||k,K};return T.cache=new(ru.Cache||Rn),T}ru.Cache=Rn;function jf(f){if(typeof f!="function")throw new Tr(g);return function(){var m=arguments;switch(m.length){case 0:return!f.call(this);case 1:return!f.call(this,m[0]);case 2:return!f.call(this,m[0],m[1]);case 3:return!f.call(this,m[0],m[1],m[2])}return!f.apply(this,m)}}function Rv(f){return yh(2,f)}var Sh=bv(function(f,m){m=m.length==1&&bt(m[0])?Qt(m[0],Gi(dt())):Qt(Ht(m,1),Gi(dt()));var T=m.length;return _t(function(D){for(var z=-1,k=jn(D.length,T);++z<k;)D[z]=m[z].call(this,D[z]);return Ci(f,this,D)})}),zp=_t(function(f,m){var T=Oi(m,il(zp));return Cl(f,Y,i,m,T)}),lu=_t(function(f,m){var T=Oi(m,il(lu));return Cl(f,le,i,m,T)}),Lp=$n(function(f,m){return Cl(f,pe,i,i,i,m)});function xh(f,m){if(typeof f!="function")throw new Tr(g);return m=m===i?m:Ot(m),_t(f,m)}function _v(f,m){if(typeof f!="function")throw new Tr(g);return m=m==null?0:Mn(Ot(m),0),_t(function(T){var D=T[m],z=es(T,0,m);return D&&Yr(z,D),Ci(f,this,z)})}function la(f,m,T){var D=!0,z=!0;if(typeof f!="function")throw new Tr(g);return Sn(T)&&(D="leading"in T?!!T.leading:D,z="trailing"in T?!!T.trailing:z),cs(f,m,{leading:D,maxWait:m,trailing:z})}function Th(f){return Mv(f,1)}function Mb(f,m){return zp(tr(m),f)}function Ut(){if(!arguments.length)return[];var f=arguments[0];return bt(f)?f:[f]}function Eh(f){return ga(f,R)}function ou(f,m){return m=typeof m=="function"?m:i,ga(f,R,m)}function fc(f){return ga(f,C|R)}function Nt(f,m){return m=typeof m=="function"?m:i,ga(f,C|R,m)}function $f(f,m){return m==null||df(f,m,Sa(m))}function vi(f,m){return f===m||f!==f&&m!==m}var N0=Ks(mf),Up=Ks(function(f,m){return f>=m}),Ha=Fd(function(){return arguments}())?Fd:function(f){return Nn(f)&&an.call(f,"callee")&&!Hu.call(f,"callee")},bt=Se.isArray,Hf=Cm?Gi(Cm):mi;function da(f){return f!=null&&Bi(f.length)&&!Dr(f)}function qn(f){return Nn(f)&&da(f)}function Mr(f){return f===!0||f===!1||Nn(f)&&It(f)==We}var xo=jd||Ub,Nv=uv?Gi(uv):na;function z0(f){return Nn(f)&&f.nodeType===1&&!sl(f)}function Vp(f){if(f==null)return!0;if(da(f)&&(bt(f)||typeof f=="string"||typeof f.splice=="function"||xo(f)||qf(f)||Ha(f)))return!f.length;var m=ja(f);if(m==Jt||m==Ia)return!f.size;if(mt(f))return!yf(f).length;for(var T in f)if(an.call(f,T))return!1;return!0}function Ct(f,m){return Qo(f,m)}function xe(f,m,T){T=typeof T=="function"?T:i;var D=T?T(f,m):i;return D===i?Qo(f,m,i,T):!!D}function Tt(f){if(!Nn(f))return!1;var m=It(f);return m==un||m==yt||typeof f.message=="string"&&typeof f.name=="string"&&!sl(f)}function Db(f){return typeof f=="number"&&Pu(f)}function Dr(f){if(!Sn(f))return!1;var m=It(f);return m==Ge||m==nt||m==et||m==hd}function Pf(f){return typeof f=="number"&&f==Ot(f)}function Bi(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=oe}function Sn(f){var m=typeof f;return f!=null&&(m=="object"||m=="function")}function Nn(f){return f!=null&&typeof f=="object"}var Rl=cv?Gi(cv):ya;function kf(f,m){return f===m||pf(f,m,sh(m))}function fs(f,m,T){return T=typeof T=="function"?T:i,pf(f,m,sh(m),T)}function Bp(f){return _l(f)&&f!=+f}function Rb(f){if(Of(f))throw new St(h);return El(f)}function zv(f){return f===null}function _b(f){return f==null}function _l(f){return typeof f=="number"||Nn(f)&&It(f)==wa}function sl(f){if(!Nn(f)||It(f)!=gn)return!1;var m=Io(f);if(m===null)return!0;var T=an.call(m,"constructor")&&m.constructor;return typeof T=="function"&&T instanceof T&&af.call(T)==Ii}var Yf=fv?Gi(fv):Zd;function Ah(f){return Pf(f)&&f>=-9007199254740991&&f<=oe}var dc=Kc?Gi(Kc):Fm;function jp(f){return typeof f=="string"||!bt(f)&&Nn(f)&&It(f)==gr}function ni(f){return typeof f=="symbol"||Nn(f)&&It(f)==$r}var qf=Ug?Gi(Ug):Xm;function Nl(f){return f===i}function su(f){return Nn(f)&&ja(f)==Uo}function ai(f){return Nn(f)&&It(f)==Vo}var Ke=Ks(Kd),sr=Ks(function(f,m){return f<=m});function Kn(f){if(!f)return[];if(da(f))return jp(f)?Va(f):va(f);if(Fo&&f[Fo])return ef(f[Fo]());var m=ja(f),T=m==Jt?zd:m==Ia?Xr:mc;return T(f)}function Xn(f){if(!f)return f===0?f:0;if(f=ji(f),f===ne||f===-1/0){var m=f<0?-1:1;return m*Me}return f===f?f:0}function Ot(f){var m=Xn(f),T=m%1;return m===m?T?m-T:m:0}function To(f){return f?tl(Ot(f),0,fe):0}function ji(f){if(typeof f=="number")return f;if(ni(f))return X;if(Sn(f)){var m=typeof f.valueOf=="function"?f.valueOf():f;f=Sn(m)?m+"":m}if(typeof f!="string")return f===0?f:+f;f=Bs(f);var T=Oa.test(f);return T||vr.test(f)?sv(f.slice(2),T?2:8):jo.test(f)?X:+f}function wh(f){return zi(f,Na(f))}function ii(f){return f?tl(Ot(f),-9007199254740991,oe):f===0?f:0}function Vt(f){return f==null?"":Ma(f)}var ds=Xs(function(f,m){if(mt(m)||da(m)){zi(m,Sa(m),f);return}for(var T in m)an.call(m,T)&&Ys(f,T,m[T])}),Ch=Xs(function(f,m){zi(m,Na(m),f)}),zl=Xs(function(f,m,T,D){zi(m,Na(m),f,D)}),bi=Xs(function(f,m,T,D){zi(m,Sa(m),f,D)}),ur=$n(Id);function uu(f,m){var T=Ki(f);return m==null?T:xl(T,m)}var L0=_t(function(f,m){f=Wt(f);var T=-1,D=m.length,z=D>2?m[2]:i;for(z&&pi(m[0],m[1],z)&&(D=1);++T<D;)for(var k=m[T],K=Na(k),te=-1,ue=K.length;++te<ue;){var ze=K[te],Re=f[ze];(Re===i||vi(Re,$u[ze])&&!an.call(f,ze))&&(f[ze]=k[ze])}return f}),Lv=_t(function(f){return f.push(i,lp),Ci(Zf,i,f)});function Gf(f,m){return Mm(f,dt(m,3),Qa)}function If(f,m){return Mm(f,dt(m,3),Ar)}function Ff(f,m){return f==null?f:Fu(f,dt(m,3),Na)}function Uv(f,m){return f==null?f:Wi(f,dt(m,3),Na)}function ul(f,m){return f&&Qa(f,dt(m,3))}function hc(f,m){return f&&Ar(f,dt(m,3))}function Vv(f){return f==null?[]:hi(f,Sa(f))}function $p(f){return f==null?[]:hi(f,Na(f))}function Xf(f,m,T){var D=f==null?i:Ni(f,m);return D===i?T:D}function Hp(f,m){return f!=null&&uh(f,m,qm)}function Eo(f,m){return f!=null&&uh(f,m,Gs)}var U0=Tf(function(f,m,T){m!=null&&typeof m.toString!="function"&&(m=ci.call(m)),f[m]=T},de(he)),V0=Tf(function(f,m,T){m!=null&&typeof m.toString!="function"&&(m=ci.call(m)),an.call(f,m)?f[m].push(T):f[m]=[T]},dt),Bv=_t(ao);function Sa(f){return da(f)?Pm(f):yf(f)}function Na(f){return da(f)?Pm(f,!0):e0(f)}function jv(f,m){var T={};return m=dt(m,3),Qa(f,function(D,z,k){Tl(T,m(D,z,k),D)}),T}function $v(f,m){var T={};return m=dt(m,3),Qa(f,function(D,z,k){Tl(T,z,m(D,z,k))}),T}var B0=Xs(function(f,m,T){Xu(f,m,T)}),Zf=Xs(function(f,m,T,D){Xu(f,m,T,D)}),Kf=$n(function(f,m){var T={};if(f==null)return T;var D=!1;m=Qt(m,function(k){return k=ro(k,f),D||(D=k.length>1),k}),zi(f,Ol(f),T),D&&(T=ga(T,C|M|R,ar));for(var z=m.length;z--;)Zu(T,m[z]);return T});function Oh(f,m){return $i(f,jf(dt(m)))}var Rr=$n(function(f,m){return f==null?{}:Km(f,m)});function $i(f,m){if(f==null)return{};var T=Qt(Ol(f),function(D){return[D]});return m=dt(m),Jd(f,T,function(D,z){return m(D,z[0])})}function Nb(f,m,T){m=ro(m,f);var D=-1,z=m.length;for(z||(z=1,f=i);++D<z;){var k=f==null?i:f[vn(m[D])];k===i&&(D=z,k=T),f=Dr(k)?k.call(f):k}return f}function j0(f,m,T){return f==null?f:Wo(f,m,T)}function $0(f,m,T,D){return D=typeof D=="function"?D:i,f==null?f:Wo(f,m,T,D)}var Pp=Af(Sa),kp=Af(Na);function Yp(f,m,T){var D=bt(f),z=D||xo(f)||qf(f);if(m=dt(m,4),T==null){var k=f&&f.constructor;z?T=D?new k:[]:Sn(f)?T=Dr(k)?Ki(Io(f)):{}:T={}}return(z?br:Qa)(f,function(K,te,ue){return m(T,K,te,ue)}),T}function H0(f,m){return f==null?!0:Zu(f,m)}function Mh(f,m,T){return f==null?f:Jm(f,m,tr(T))}function Hv(f,m,T,D){return D=typeof D=="function"?D:i,f==null?f:Jm(f,m,tr(T),D)}function mc(f){return f==null?[]:Jc(f,Sa(f))}function P0(f){return f==null?[]:Jc(f,Na(f))}function qp(f,m,T){return T===i&&(T=m,m=i),T!==i&&(T=ji(T),T=T===T?T:0),m!==i&&(m=ji(m),m=m===m?m:0),tl(ji(f),m,T)}function Gp(f,m,T){return m=Xn(m),T===i?(T=m,m=0):T=Xn(T),f=ji(f),Jg(f,m,T)}function k0(f,m,T){if(T&&typeof T!="boolean"&&pi(f,m,T)&&(m=T=i),T===i&&(typeof m=="boolean"?(T=m,m=i):typeof f=="boolean"&&(T=f,f=i)),f===i&&m===i?(f=0,m=1):(f=Xn(f),m===i?(m=f,f=0):m=Xn(m)),f>m){var D=f;f=m,m=D}if(T||f%1||m%1){var z=$d();return jn(f+z*(m-f+Od("1e-"+((z+"").length-1))),m)}return nl(f,m)}var Y0=fa(function(f,m,T){return m=m.toLowerCase(),f+(T?pc(m):m)});function pc(f){return p(Vt(f).toLowerCase())}function Ll(f){return f=Vt(f),f&&f.replace(Rs,Zl).replace(Gl,"")}function hs(f,m,T){f=Vt(f),m=Ma(m);var D=f.length;T=T===i?D:tl(Ot(T),0,D);var z=T;return T-=m.length,T>=0&&f.slice(T,z)==m}function ms(f){return f=Vt(f),f&&md.test(f)?f.replace(Os,Pg):f}function Dh(f){return f=Vt(f),f&&Ei.test(f)?f.replace(pa,"\\$&"):f}var Rh=fa(function(f,m,T){return f+(T?"-":"")+m.toLowerCase()}),cu=fa(function(f,m,T){return f+(T?" ":"")+m.toLowerCase()}),Pv=nr("toLowerCase");function gc(f,m,T){f=Vt(f),m=Ot(m);var D=m?xr(f):0;if(!m||D>=m)return f;var z=(m-D)/2;return ns(bl(z),T)+f+ns(Bn(z),T)}function yc(f,m,T){f=Vt(f),m=Ot(m);var D=m?xr(f):0;return m&&D<m?f+ns(m-D,T):f}function kv(f,m,T){f=Vt(f),m=Ot(m);var D=m?xr(f):0;return m&&D<m?ns(m-D,T)+f:f}function q0(f,m,T){return T||m==null?m=0:m&&(m=+m),en(Vt(f).replace(Ms,""),m||0)}function _h(f,m,T){return(T?pi(f,m,T):m===i)?m=1:m=Ot(m),n0(Vt(f),m)}function Nh(){var f=arguments,m=Vt(f[0]);return f.length<3?m:m.replace(f[1],f[2])}var Qf=fa(function(f,m,T){return f+(T?"_":"")+m.toLowerCase()});function Ip(f,m,T){return T&&typeof T!="number"&&pi(f,m,T)&&(m=T=i),T=T===i?fe:T>>>0,T?(f=Vt(f),f&&(typeof m=="string"||m!=null&&!Yf(m))&&(m=Ma(m),!m&&Fr(f))?es(Va(f),0,T):f.split(m,T)):[]}var vc=fa(function(f,m,T){return f+(T?" ":"")+p(m)});function G0(f,m,T){return f=Vt(f),T=T==null?0:tl(Ot(T),0,f.length),m=Ma(m),f.slice(T,T+m.length)==m}function Ao(f,m,T){var D=j.templateSettings;T&&pi(f,m,T)&&(m=i),f=Vt(f),m=zl({},m,D,rp);var z=zl({},m.imports,D.imports,rp),k=Sa(z),K=Jc(z,k),te,ue,ze=0,Re=m.interpolate||bd,Ve="__p += '",Fe=Rm((m.escape||bd).source+"|"+Re.source+"|"+(Re===gd?Cu:bd).source+"|"+(m.evaluate||bd).source+"|$","g"),ut="//# sourceURL="+(an.call(m,"sourceURL")?(m.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++zg+"]")+`
|
|
634
|
+
`)}function co(f){return bt(f)||Ha(f)||!!(Di&&f&&f[Di])}function rl(f,m){var T=typeof f;return m=m??oe,!!m&&(T=="number"||T!="symbol"&&Ds.test(f))&&f>-1&&f%1==0&&f<m}function pi(f,m,T){if(!Sn(T))return!1;var D=typeof m;return(D=="number"?ha(T)&&rl(m,T.length):D=="string"&&m in T)?vi(T[m],f):!1}function hp(f,m){if(bt(f))return!1;var T=typeof f;return T=="number"||T=="symbol"||T=="boolean"||f==null||ni(f)?!0:Cb.test(f)||!nv.test(f)||m!=null&&f in Wt(m)}function fo(f){var m=typeof f;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?f!=="__proto__":f===null}function Ws(f){var m=ec(f),T=j[m];if(typeof T!="function"||!(m in qt.prototype))return!1;if(f===T)return!0;var D=is(T);return!!D&&f===D[0]}function ch(f){return!!Nm&&Nm in f}var Of=nf?Dr:Ub;function mt(f){var m=f&&f.constructor,T=typeof m=="function"&&m.prototype||$u;return f===T}function mp(f){return f===f&&!Sn(f)}function xv(f,m){return function(T){return T==null?!1:T[f]===m&&(m!==i||f in Wt(T))}}function s0(f){var m=ru(f,function(D){return T.size===E&&T.clear(),D}),T=m.cache;return m}function fh(f,m){var T=f[1],D=m[1],z=T|D,k=z<(P|U|me),K=D==me&&T==q||D==me&&T==pe&&f[7].length<=m[8]||D==(me|pe)&&m[7].length<=m[8]&&T==q;if(!(k||K))return f;D&P&&(f[2]=m[2],z|=T&P?0:G);var te=m[3];if(te){var ue=f[3];f[3]=ue?ap(ue,te,m[4]):te,f[4]=ue?Oi(f[3],A):m[4]}return te=m[5],te&&(ue=f[5],f[5]=ue?lo(ue,te,m[6]):te,f[6]=ue?Oi(f[5],A):m[6]),te=m[7],te&&(f[7]=te),D&me&&(f[8]=f[8]==null?m[8]:jn(f[8],m[8])),f[9]==null&&(f[9]=m[9]),f[0]=m[0],f[1]=z,f}function Js(f){var m=[];if(f!=null)for(var T in Wt(f))m.push(T);return m}function pp(f){return ci.call(f)}function gp(f,m,T){return m=Mn(m===i?f.length-1:m,0),function(){for(var D=arguments,z=-1,k=Mn(D.length-m,0),K=Se(k);++z<k;)K[z]=D[m+z];z=-1;for(var te=Se(m+1);++z<m;)te[z]=D[z];return te[m]=T(K),Ci(f,this,te)}}function nc(f,m){return m.length<2?f:Ni(f,wr(m,0,-1))}function Ml(f,m){for(var T=f.length,D=jn(m.length,T),z=va(f);D--;){var k=m[D];f[D]=rl(k,T)?z[k]:i}return f}function eu(f,m){if(!(m==="constructor"&&typeof f[m]=="function")&&m!="__proto__")return f[m]}var yp=dh(Jo),Mf=lf||function(f,m){return fa.setTimeout(f,m)},ir=dh(On);function tu(f,m,T){var D=m+"";return ir(f,dp(D,vp(cp(D),T)))}function dh(f){var m=0,T=0;return function(){var D=ta(),z=Qe-(D-T);if(T=D,z>0){if(++m>=Pe)return arguments[0]}else m=0;return f.apply(i,arguments)}}function ac(f,m){var T=-1,D=f.length,z=D-1;for(m=m===i?D:m;++T<m;){var k=nl(T,z),K=f[k];f[k]=f[T],f[T]=K}return f.length=m,f}var Dl=s0(function(f){var m=[];return f.charCodeAt(0)===46&&m.push(""),f.replace(Ca,function(T,D,z,k){m.push(z?k.replace(Fa,"$1"):D||T)}),m});function vn(f){if(typeof f=="string"||ni(f))return f;var m=f+"";return m=="0"&&1/f==-1/0?"-0":m}function ho(f){if(f!=null){try{return af.call(f)}catch{}try{return f+""}catch{}}return""}function vp(f,m){return br(Ye,function(T){var D="_."+T[0];m&T[1]&&!Il(f,D)&&f.push(D)}),f.sort()}function ba(f){if(f instanceof qt)return f.clone();var m=new Ri(f.__wrapped__,f.__chain__);return m.__actions__=va(f.__actions__),m.__index__=f.__index__,m.__values__=f.__values__,m}function u0(f,m,T){(T?pi(f,m,T):m===i)?m=1:m=Mn(Ot(m),0);var D=f==null?0:f.length;if(!D||m<1)return[];for(var z=0,k=0,K=Se(Bn(D/m));z<D;)K[k++]=wr(f,z,z+=m);return K}function c0(f){for(var m=-1,T=f==null?0:f.length,D=0,z=[];++m<T;){var k=f[m];k&&(z[D++]=k)}return z}function f0(){var f=arguments.length;if(!f)return[];for(var m=Se(f-1),T=arguments[0],D=f;D--;)m[D-1]=arguments[D];return Yr(bt(T)?va(T):[T],Ht(m,1))}var In=_t(function(f,m){return qn(f)?Ko(f,Ht(m,1,qn,!0)):[]}),Wa=_t(function(f,m){var T=$a(m);return qn(T)&&(T=i),qn(f)?Ko(f,Ht(m,1,qn,!0),dt(T,2)):[]}),mo=_t(function(f,m){var T=$a(m);return qn(T)&&(T=i),qn(f)?Ko(f,Ht(m,1,qn,!0),i,T):[]});function Gt(f,m,T){var D=f==null?0:f.length;return D?(m=T||m===i?1:Ot(m),wr(f,m<0?0:m,D)):[]}function bp(f,m,T){var D=f==null?0:f.length;return D?(m=T||m===i?1:Ot(m),m=D-m,wr(f,0,m<0?0:m)):[]}function d0(f,m){return f&&f.length?ah(f,dt(m,3),!0,!0):[]}function Sp(f,m){return f&&f.length?ah(f,dt(m,3),!0):[]}function Ui(f,m,T,D){var z=f==null?0:f.length;return z?(T&&typeof T!="number"&&pi(f,m,T)&&(T=0,D=z),Rt(f,m,T,D)):[]}function gi(f,m,T){var D=f==null?0:f.length;if(!D)return-1;var z=T==null?0:Ot(T);return z<0&&(z=Mn(D+z,0)),Md(f,dt(m,3),z)}function Df(f,m,T){var D=f==null?0:f.length;if(!D)return-1;var z=D-1;return T!==i&&(z=Ot(T),z=T<0?Mn(D+z,0):jn(z,D-1)),Md(f,dt(m,3),z,!0)}function _a(f){var m=f==null?0:f.length;return m?Ht(f,1):[]}function h0(f){var m=f==null?0:f.length;return m?Ht(f,ne):[]}function po(f,m){var T=f==null?0:f.length;return T?(m=m===i?1:Ot(m),Ht(f,m)):[]}function Fn(f){for(var m=-1,T=f==null?0:f.length,D={};++m<T;){var z=f[m];D[z[0]]=z[1]}return D}function rs(f){return f&&f.length?f[0]:i}function ll(f,m,T){var D=f==null?0:f.length;if(!D)return-1;var z=T==null?0:Ot(T);return z<0&&(z=Mn(D+z,0)),Vu(f,m,z)}function xp(f){var m=f==null?0:f.length;return m?wr(f,0,-1):[]}var Ja=_t(function(f){var m=Qt(f,Fs);return m.length&&m[0]===f[0]?Gm(m):[]}),m0=_t(function(f){var m=$a(f),T=Qt(f,Fs);return m===$a(T)?m=i:T.pop(),T.length&&T[0]===f[0]?Gm(T,dt(m,2)):[]}),ls=_t(function(f){var m=$a(f),T=Qt(f,Fs);return m=typeof m=="function"?m:i,m&&T.pop(),T.length&&T[0]===f[0]?Gm(T,i,m):[]});function mn(f,m){return f==null?"":Qr.call(f,m)}function $a(f){var m=f==null?0:f.length;return m?f[m-1]:i}function ia(f,m,T){var D=f==null?0:f.length;if(!D)return-1;var z=D;return T!==i&&(z=Ot(T),z=z<0?Mn(D+z,0):jn(z,D-1)),m===m?Za(f,m,z):Md(f,Wc,z,!0)}function Tv(f,m){return f&&f.length?Wd(f,Ot(m)):i}var p0=_t(nu);function nu(f,m){return f&&f.length&&m&&m.length?Sf(f,m):f}function g0(f,m,T){return f&&f.length&&m&&m.length?Sf(f,m,dt(T,2)):f}function Vi(f,m,T){return f&&f.length&&m&&m.length?Sf(f,m,i,T):f}var y0=$n(function(f,m){var T=f==null?0:f.length,D=Id(f,m);return Qm(f,Qt(m,function(z){return rl(z,T)?+z:z}).sort(rh)),D});function v0(f,m){var T=[];if(!(f&&f.length))return T;var D=-1,z=[],k=f.length;for(m=dt(m,3);++D<k;){var K=f[D];m(K,D,f)&&(T.push(K),z.push(D))}return Qm(f,z),T}function Tp(f){return f==null?f:ku.call(f)}function bn(f,m,T){var D=f==null?0:f.length;return D?(T&&typeof T!="number"&&pi(f,m,T)?(m=0,T=D):(m=m==null?0:Ot(m),T=T===i?D:Ot(T)),wr(f,m,T)):[]}function _n(f,m){return er(f,m)}function Ft(f,m,T){return th(f,m,dt(T,2))}function Xt(f,m){var T=f==null?0:f.length;if(T){var D=er(f,m);if(D<T&&vi(f[D],m))return D}return-1}function xn(f,m){return er(f,m,!0)}function rr(f,m,T){return th(f,m,dt(T,2),!0)}function go(f,m){var T=f==null?0:f.length;if(T){var D=er(f,m,!0)-1;if(vi(f[D],m))return D}return-1}function Rf(f){return f&&f.length?nh(f):[]}function b0(f,m){return f&&f.length?nh(f,dt(m,2)):[]}function os(f){var m=f==null?0:f.length;return m?wr(f,1,m):[]}function ra(f,m,T){return f&&f.length?(m=T||m===i?1:Ot(m),wr(f,0,m<0?0:m)):[]}function ss(f,m,T){var D=f==null?0:f.length;return D?(m=T||m===i?1:Ot(m),m=D-m,wr(f,m<0?0:m,D)):[]}function ic(f,m){return f&&f.length?ah(f,dt(m,3),!1,!0):[]}function yo(f,m){return f&&f.length?ah(f,dt(m,3)):[]}var ol=_t(function(f){return io(Ht(f,1,qn,!0))}),_f=_t(function(f){var m=$a(f);return qn(m)&&(m=i),io(Ht(f,1,qn,!0),dt(m,2))}),Nf=_t(function(f){var m=$a(f);return m=typeof m=="function"?m:i,io(Ht(f,1,qn,!0),i,m)});function lr(f){return f&&f.length?io(f):[]}function S0(f,m){return f&&f.length?io(f,dt(m,2)):[]}function x0(f,m){return m=typeof m=="function"?m:i,f&&f.length?io(f,i,m):[]}function zf(f){if(!(f&&f.length))return[];var m=0;return f=oi(f,function(T){if(qn(T))return m=Mn(T.length,m),!0}),Xl(m,function(T){return Qt(f,qr(T))})}function rc(f,m){if(!(f&&f.length))return[];var T=zf(f);return m==null?T:Qt(T,function(D){return Ci(m,i,D)})}var au=_t(function(f,m){return qn(f)?Ko(f,m):[]}),ei=_t(function(f){return xf(oi(f,qn))}),vo=_t(function(f){var m=$a(f);return qn(m)&&(m=i),xf(oi(f,qn),dt(m,2))}),Lf=_t(function(f){var m=$a(f);return m=typeof m=="function"?m:i,xf(oi(f,qn),i,m)}),ti=_t(zf);function Ep(f,m){return i0(f||[],m||[],Ys)}function Ap(f,m){return i0(f||[],m||[],Wo)}var T0=_t(function(f){var m=f.length,T=m>1?f[m-1]:i;return T=typeof T=="function"?(f.pop(),T):i,rc(f,T)});function lc(f){var m=j(f);return m.__chain__=!0,m}function E0(f,m){return m(f),f}function yi(f,m){return m(f)}var A0=$n(function(f){var m=f.length,T=m?f[0]:0,D=this.__wrapped__,z=function(k){return Id(k,f)};return m>1||this.__actions__.length||!(D instanceof qt)||!rl(T)?this.thru(z):(D=D.slice(T,+T+(m?1:0)),D.__actions__.push({func:yi,args:[z],thisArg:i}),new Ri(D,this.__chain__).thru(function(k){return m&&!k.length&&k.push(i),k}))});function Or(){return lc(this)}function Uf(){return new Ri(this.value(),this.__chain__)}function hh(){this.__values__===i&&(this.__values__=Kn(this.value()));var f=this.__index__>=this.__values__.length,m=f?i:this.__values__[this.__index__++];return{done:f,value:m}}function Ev(){return this}function us(f){for(var m,T=this;T instanceof Er;){var D=ba(T);D.__index__=0,D.__values__=i,m?z.__wrapped__=D:m=D;var z=D;T=T.__wrapped__}return z.__wrapped__=f,m}function oc(){var f=this.__wrapped__;if(f instanceof qt){var m=f;return this.__actions__.length&&(m=new qt(this)),m=m.reverse(),m.__actions__.push({func:yi,args:[Tp],thisArg:i}),new Ri(m,this.__chain__)}return this.thru(Tp)}function iu(){return vv(this.__wrapped__,this.__actions__)}var bo=Da(function(f,m,T){an.call(f,T)?++f[T]:Tl(f,T,1)});function w0(f,m,T){var D=bt(f)?Bg:hf;return T&&pi(f,m,T)&&(m=i),D(f,dt(m,3))}function Av(f,m){var T=bt(f)?oi:hn;return T(f,dt(m,3))}var sc=Al(gi),uc=Al(Df);function wp(f,m){return Ht(ph(f,m),1)}function Cp(f,m){return Ht(ph(f,m),ne)}function C0(f,m,T){return T=T===i?1:Ot(T),Ht(ph(f,m),T)}function Op(f,m){var T=bt(f)?br:Yn;return T(f,dt(m,3))}function Mp(f,m){var T=bt(f)?Vg:Iu;return T(f,dt(m,3))}var O0=Da(function(f,m,T){an.call(f,T)?f[T].push(m):Tl(f,T,[m])});function Vf(f,m,T,D){f=ha(f)?f:mc(f),T=T&&!D?Ot(T):0;var z=f.length;return T<0&&(T=Mn(z+T,0)),jp(f)?T<=z&&f.indexOf(m,T)>-1:!!z&&Vu(f,m,T)>-1}var mh=_t(function(f,m,T){var D=-1,z=typeof m=="function",k=ha(f)?Se(f.length):[];return Yn(f,function(K){k[++D]=z?Ci(m,K,T):ao(K,m,T)}),k}),wv=Da(function(f,m,T){Tl(f,T,m)});function ph(f,m){var T=bt(f)?Qt:Zm;return T(f,dt(m,3))}function Cv(f,m,T,D){return f==null?[]:(bt(m)||(m=m==null?[]:[m]),T=D?i:T,bt(T)||(T=T==null?[]:[T]),bf(f,m,T))}var gh=Da(function(f,m,T){f[T?0:1].push(m)},function(){return[[],[]]});function Dp(f,m,T){var D=bt(f)?Qc:_d,z=arguments.length<3;return D(f,dt(m,4),T,z,Yn)}function Ov(f,m,T){var D=bt(f)?jg:_d,z=arguments.length<3;return D(f,dt(m,4),T,z,Iu)}function Rp(f,m){var T=bt(f)?oi:hn;return T(f,jf(dt(m,3)))}function M0(f){var m=bt(f)?ks:Ji;return m(f)}function D0(f,m,T){(T?pi(f,m,T):m===i)?m=1:m=Ot(m);var D=bt(f)?Qg:eh;return D(f,m)}function Cn(f){var m=bt(f)?Wg:yv;return m(f)}function _p(f){if(f==null)return 0;if(ha(f))return jp(f)?xr(f):f.length;var m=ja(f);return m==Jt||m==Ia?f.size:yf(f).length}function R0(f,m,T){var D=bt(f)?si:a0;return T&&pi(f,m,T)&&(m=i),D(f,dt(m,3))}var _0=_t(function(f,m){if(f==null)return[];var T=m.length;return T>1&&pi(f,m[0],m[1])?m=[]:T>2&&pi(m[0],m[1],m[2])&&(m=[m[0]]),bf(f,Ht(m,1),[])}),Np=Kr||function(){return fa.Date.now()};function Ob(f,m){if(typeof m!="function")throw new Tr(g);return f=Ot(f),function(){if(--f<1)return m.apply(this,arguments)}}function Mv(f,m,T){return m=T?i:m,m=f&&m==null?f.length:m,Cl(f,me,i,i,i,i,m)}function yh(f,m){var T;if(typeof m!="function")throw new Tr(g);return f=Ot(f),function(){return--f>0&&(T=m.apply(this,arguments)),f<=1&&(m=i),T}}var So=_t(function(f,m,T){var D=P;if(T.length){var z=Oi(T,il(So));D|=Y}return Cl(f,D,m,T,z)}),Bf=_t(function(f,m,T){var D=P|U;if(T.length){var z=Oi(T,il(Bf));D|=Y}return Cl(m,D,f,T,z)});function cc(f,m,T){m=T?i:m;var D=Cl(f,q,i,i,i,i,i,m);return D.placeholder=cc.placeholder,D}function vh(f,m,T){m=T?i:m;var D=Cl(f,J,i,i,i,i,i,m);return D.placeholder=vh.placeholder,D}function cs(f,m,T){var D,z,k,K,te,ue,ze=0,Re=!1,Ve=!1,Fe=!0;if(typeof f!="function")throw new Tr(g);m=ji(m)||0,Sn(T)&&(Re=!!T.leading,Ve="maxWait"in T,k=Ve?Mn(ji(T.maxWait)||0,m):k,Fe="trailing"in T?!!T.trailing:Fe);function ut(za){var ps=D,bc=z;return D=z=i,ze=za,K=f.apply(bc,ps),K}function vt(za){return ze=za,te=Mf(Zt,m),Re?ut(za):K}function Bt(za){var ps=za-ue,bc=za-ze,Bb=m-ps;return Ve?jn(Bb,k-bc):Bb}function gt(za){var ps=za-ue,bc=za-ze;return ue===i||ps>=m||ps<0||Ve&&bc>=k}function Zt(){var za=Np();if(gt(za))return ln(za);te=Mf(Zt,Bt(za))}function ln(za){return te=i,Fe&&D?ut(za):(D=z=i,K)}function cl(){te!==i&&ep(te),ze=0,D=ue=z=te=i}function cr(){return te===i?K:ln(Np())}function fl(){var za=Np(),ps=gt(za);if(D=arguments,z=this,ue=za,ps){if(te===i)return vt(ue);if(Ve)return ep(te),te=Mf(Zt,m),ut(ue)}return te===i&&(te=Mf(Zt,m)),K}return fl.cancel=cl,fl.flush=cr,fl}var or=_t(function(f,m){return qs(f,1,m)}),bh=_t(function(f,m,T){return qs(f,ji(m)||0,T)});function Dv(f){return Cl(f,ve)}function ru(f,m){if(typeof f!="function"||m!=null&&typeof m!="function")throw new Tr(g);var T=function(){var D=arguments,z=m?m.apply(this,D):D[0],k=T.cache;if(k.has(z))return k.get(z);var K=f.apply(this,D);return T.cache=k.set(z,K)||k,K};return T.cache=new(ru.Cache||Rn),T}ru.Cache=Rn;function jf(f){if(typeof f!="function")throw new Tr(g);return function(){var m=arguments;switch(m.length){case 0:return!f.call(this);case 1:return!f.call(this,m[0]);case 2:return!f.call(this,m[0],m[1]);case 3:return!f.call(this,m[0],m[1],m[2])}return!f.apply(this,m)}}function Rv(f){return yh(2,f)}var Sh=bv(function(f,m){m=m.length==1&&bt(m[0])?Qt(m[0],Gi(dt())):Qt(Ht(m,1),Gi(dt()));var T=m.length;return _t(function(D){for(var z=-1,k=jn(D.length,T);++z<k;)D[z]=m[z].call(this,D[z]);return Ci(f,this,D)})}),zp=_t(function(f,m){var T=Oi(m,il(zp));return Cl(f,Y,i,m,T)}),lu=_t(function(f,m){var T=Oi(m,il(lu));return Cl(f,le,i,m,T)}),Lp=$n(function(f,m){return Cl(f,pe,i,i,i,m)});function xh(f,m){if(typeof f!="function")throw new Tr(g);return m=m===i?m:Ot(m),_t(f,m)}function _v(f,m){if(typeof f!="function")throw new Tr(g);return m=m==null?0:Mn(Ot(m),0),_t(function(T){var D=T[m],z=es(T,0,m);return D&&Yr(z,D),Ci(f,this,z)})}function la(f,m,T){var D=!0,z=!0;if(typeof f!="function")throw new Tr(g);return Sn(T)&&(D="leading"in T?!!T.leading:D,z="trailing"in T?!!T.trailing:z),cs(f,m,{leading:D,maxWait:m,trailing:z})}function Th(f){return Mv(f,1)}function Mb(f,m){return zp(tr(m),f)}function Ut(){if(!arguments.length)return[];var f=arguments[0];return bt(f)?f:[f]}function Eh(f){return ga(f,R)}function ou(f,m){return m=typeof m=="function"?m:i,ga(f,R,m)}function fc(f){return ga(f,C|R)}function Nt(f,m){return m=typeof m=="function"?m:i,ga(f,C|R,m)}function $f(f,m){return m==null||df(f,m,Sa(m))}function vi(f,m){return f===m||f!==f&&m!==m}var N0=Ks(mf),Up=Ks(function(f,m){return f>=m}),Ha=Fd(function(){return arguments}())?Fd:function(f){return Nn(f)&&an.call(f,"callee")&&!Hu.call(f,"callee")},bt=Se.isArray,Hf=Cm?Gi(Cm):mi;function ha(f){return f!=null&&Bi(f.length)&&!Dr(f)}function qn(f){return Nn(f)&&ha(f)}function Mr(f){return f===!0||f===!1||Nn(f)&&It(f)==We}var xo=jd||Ub,Nv=uv?Gi(uv):na;function z0(f){return Nn(f)&&f.nodeType===1&&!sl(f)}function Vp(f){if(f==null)return!0;if(ha(f)&&(bt(f)||typeof f=="string"||typeof f.splice=="function"||xo(f)||qf(f)||Ha(f)))return!f.length;var m=ja(f);if(m==Jt||m==Ia)return!f.size;if(mt(f))return!yf(f).length;for(var T in f)if(an.call(f,T))return!1;return!0}function Ct(f,m){return Qo(f,m)}function xe(f,m,T){T=typeof T=="function"?T:i;var D=T?T(f,m):i;return D===i?Qo(f,m,i,T):!!D}function Tt(f){if(!Nn(f))return!1;var m=It(f);return m==un||m==yt||typeof f.message=="string"&&typeof f.name=="string"&&!sl(f)}function Db(f){return typeof f=="number"&&Pu(f)}function Dr(f){if(!Sn(f))return!1;var m=It(f);return m==Ge||m==nt||m==et||m==hd}function Pf(f){return typeof f=="number"&&f==Ot(f)}function Bi(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=oe}function Sn(f){var m=typeof f;return f!=null&&(m=="object"||m=="function")}function Nn(f){return f!=null&&typeof f=="object"}var Rl=cv?Gi(cv):ya;function kf(f,m){return f===m||pf(f,m,sh(m))}function fs(f,m,T){return T=typeof T=="function"?T:i,pf(f,m,sh(m),T)}function Bp(f){return _l(f)&&f!=+f}function Rb(f){if(Of(f))throw new St(h);return El(f)}function zv(f){return f===null}function _b(f){return f==null}function _l(f){return typeof f=="number"||Nn(f)&&It(f)==wa}function sl(f){if(!Nn(f)||It(f)!=gn)return!1;var m=Io(f);if(m===null)return!0;var T=an.call(m,"constructor")&&m.constructor;return typeof T=="function"&&T instanceof T&&af.call(T)==Ii}var Yf=fv?Gi(fv):Zd;function Ah(f){return Pf(f)&&f>=-9007199254740991&&f<=oe}var dc=Kc?Gi(Kc):Fm;function jp(f){return typeof f=="string"||!bt(f)&&Nn(f)&&It(f)==gr}function ni(f){return typeof f=="symbol"||Nn(f)&&It(f)==$r}var qf=Ug?Gi(Ug):Xm;function Nl(f){return f===i}function su(f){return Nn(f)&&ja(f)==Uo}function ai(f){return Nn(f)&&It(f)==Vo}var Ke=Ks(Kd),sr=Ks(function(f,m){return f<=m});function Kn(f){if(!f)return[];if(ha(f))return jp(f)?Va(f):va(f);if(Fo&&f[Fo])return ef(f[Fo]());var m=ja(f),T=m==Jt?zd:m==Ia?Xr:mc;return T(f)}function Xn(f){if(!f)return f===0?f:0;if(f=ji(f),f===ne||f===-1/0){var m=f<0?-1:1;return m*Me}return f===f?f:0}function Ot(f){var m=Xn(f),T=m%1;return m===m?T?m-T:m:0}function To(f){return f?tl(Ot(f),0,fe):0}function ji(f){if(typeof f=="number")return f;if(ni(f))return X;if(Sn(f)){var m=typeof f.valueOf=="function"?f.valueOf():f;f=Sn(m)?m+"":m}if(typeof f!="string")return f===0?f:+f;f=Bs(f);var T=Oa.test(f);return T||vr.test(f)?sv(f.slice(2),T?2:8):jo.test(f)?X:+f}function wh(f){return zi(f,Na(f))}function ii(f){return f?tl(Ot(f),-9007199254740991,oe):f===0?f:0}function Vt(f){return f==null?"":Ma(f)}var ds=Xs(function(f,m){if(mt(m)||ha(m)){zi(m,Sa(m),f);return}for(var T in m)an.call(m,T)&&Ys(f,T,m[T])}),Ch=Xs(function(f,m){zi(m,Na(m),f)}),zl=Xs(function(f,m,T,D){zi(m,Na(m),f,D)}),bi=Xs(function(f,m,T,D){zi(m,Sa(m),f,D)}),ur=$n(Id);function uu(f,m){var T=Ki(f);return m==null?T:xl(T,m)}var L0=_t(function(f,m){f=Wt(f);var T=-1,D=m.length,z=D>2?m[2]:i;for(z&&pi(m[0],m[1],z)&&(D=1);++T<D;)for(var k=m[T],K=Na(k),te=-1,ue=K.length;++te<ue;){var ze=K[te],Re=f[ze];(Re===i||vi(Re,$u[ze])&&!an.call(f,ze))&&(f[ze]=k[ze])}return f}),Lv=_t(function(f){return f.push(i,lp),Ci(Zf,i,f)});function Gf(f,m){return Mm(f,dt(m,3),Qa)}function If(f,m){return Mm(f,dt(m,3),Ar)}function Ff(f,m){return f==null?f:Fu(f,dt(m,3),Na)}function Uv(f,m){return f==null?f:Wi(f,dt(m,3),Na)}function ul(f,m){return f&&Qa(f,dt(m,3))}function hc(f,m){return f&&Ar(f,dt(m,3))}function Vv(f){return f==null?[]:hi(f,Sa(f))}function $p(f){return f==null?[]:hi(f,Na(f))}function Xf(f,m,T){var D=f==null?i:Ni(f,m);return D===i?T:D}function Hp(f,m){return f!=null&&uh(f,m,qm)}function Eo(f,m){return f!=null&&uh(f,m,Gs)}var U0=Tf(function(f,m,T){m!=null&&typeof m.toString!="function"&&(m=ci.call(m)),f[m]=T},de(he)),V0=Tf(function(f,m,T){m!=null&&typeof m.toString!="function"&&(m=ci.call(m)),an.call(f,m)?f[m].push(T):f[m]=[T]},dt),Bv=_t(ao);function Sa(f){return ha(f)?Pm(f):yf(f)}function Na(f){return ha(f)?Pm(f,!0):e0(f)}function jv(f,m){var T={};return m=dt(m,3),Qa(f,function(D,z,k){Tl(T,m(D,z,k),D)}),T}function $v(f,m){var T={};return m=dt(m,3),Qa(f,function(D,z,k){Tl(T,z,m(D,z,k))}),T}var B0=Xs(function(f,m,T){Xu(f,m,T)}),Zf=Xs(function(f,m,T,D){Xu(f,m,T,D)}),Kf=$n(function(f,m){var T={};if(f==null)return T;var D=!1;m=Qt(m,function(k){return k=ro(k,f),D||(D=k.length>1),k}),zi(f,Ol(f),T),D&&(T=ga(T,C|M|R,ar));for(var z=m.length;z--;)Zu(T,m[z]);return T});function Oh(f,m){return $i(f,jf(dt(m)))}var Rr=$n(function(f,m){return f==null?{}:Km(f,m)});function $i(f,m){if(f==null)return{};var T=Qt(Ol(f),function(D){return[D]});return m=dt(m),Jd(f,T,function(D,z){return m(D,z[0])})}function Nb(f,m,T){m=ro(m,f);var D=-1,z=m.length;for(z||(z=1,f=i);++D<z;){var k=f==null?i:f[vn(m[D])];k===i&&(D=z,k=T),f=Dr(k)?k.call(f):k}return f}function j0(f,m,T){return f==null?f:Wo(f,m,T)}function $0(f,m,T,D){return D=typeof D=="function"?D:i,f==null?f:Wo(f,m,T,D)}var Pp=Af(Sa),kp=Af(Na);function Yp(f,m,T){var D=bt(f),z=D||xo(f)||qf(f);if(m=dt(m,4),T==null){var k=f&&f.constructor;z?T=D?new k:[]:Sn(f)?T=Dr(k)?Ki(Io(f)):{}:T={}}return(z?br:Qa)(f,function(K,te,ue){return m(T,K,te,ue)}),T}function H0(f,m){return f==null?!0:Zu(f,m)}function Mh(f,m,T){return f==null?f:Jm(f,m,tr(T))}function Hv(f,m,T,D){return D=typeof D=="function"?D:i,f==null?f:Jm(f,m,tr(T),D)}function mc(f){return f==null?[]:Jc(f,Sa(f))}function P0(f){return f==null?[]:Jc(f,Na(f))}function qp(f,m,T){return T===i&&(T=m,m=i),T!==i&&(T=ji(T),T=T===T?T:0),m!==i&&(m=ji(m),m=m===m?m:0),tl(ji(f),m,T)}function Gp(f,m,T){return m=Xn(m),T===i?(T=m,m=0):T=Xn(T),f=ji(f),Jg(f,m,T)}function k0(f,m,T){if(T&&typeof T!="boolean"&&pi(f,m,T)&&(m=T=i),T===i&&(typeof m=="boolean"?(T=m,m=i):typeof f=="boolean"&&(T=f,f=i)),f===i&&m===i?(f=0,m=1):(f=Xn(f),m===i?(m=f,f=0):m=Xn(m)),f>m){var D=f;f=m,m=D}if(T||f%1||m%1){var z=$d();return jn(f+z*(m-f+Od("1e-"+((z+"").length-1))),m)}return nl(f,m)}var Y0=da(function(f,m,T){return m=m.toLowerCase(),f+(T?pc(m):m)});function pc(f){return p(Vt(f).toLowerCase())}function Ll(f){return f=Vt(f),f&&f.replace(Rs,Zl).replace(Gl,"")}function hs(f,m,T){f=Vt(f),m=Ma(m);var D=f.length;T=T===i?D:tl(Ot(T),0,D);var z=T;return T-=m.length,T>=0&&f.slice(T,z)==m}function ms(f){return f=Vt(f),f&&md.test(f)?f.replace(Os,Pg):f}function Dh(f){return f=Vt(f),f&&Ei.test(f)?f.replace(pa,"\\$&"):f}var Rh=da(function(f,m,T){return f+(T?"-":"")+m.toLowerCase()}),cu=da(function(f,m,T){return f+(T?" ":"")+m.toLowerCase()}),Pv=nr("toLowerCase");function gc(f,m,T){f=Vt(f),m=Ot(m);var D=m?xr(f):0;if(!m||D>=m)return f;var z=(m-D)/2;return ns(bl(z),T)+f+ns(Bn(z),T)}function yc(f,m,T){f=Vt(f),m=Ot(m);var D=m?xr(f):0;return m&&D<m?f+ns(m-D,T):f}function kv(f,m,T){f=Vt(f),m=Ot(m);var D=m?xr(f):0;return m&&D<m?ns(m-D,T)+f:f}function q0(f,m,T){return T||m==null?m=0:m&&(m=+m),en(Vt(f).replace(Ms,""),m||0)}function _h(f,m,T){return(T?pi(f,m,T):m===i)?m=1:m=Ot(m),n0(Vt(f),m)}function Nh(){var f=arguments,m=Vt(f[0]);return f.length<3?m:m.replace(f[1],f[2])}var Qf=da(function(f,m,T){return f+(T?"_":"")+m.toLowerCase()});function Ip(f,m,T){return T&&typeof T!="number"&&pi(f,m,T)&&(m=T=i),T=T===i?fe:T>>>0,T?(f=Vt(f),f&&(typeof m=="string"||m!=null&&!Yf(m))&&(m=Ma(m),!m&&Fr(f))?es(Va(f),0,T):f.split(m,T)):[]}var vc=da(function(f,m,T){return f+(T?" ":"")+p(m)});function G0(f,m,T){return f=Vt(f),T=T==null?0:tl(Ot(T),0,f.length),m=Ma(m),f.slice(T,T+m.length)==m}function Ao(f,m,T){var D=j.templateSettings;T&&pi(f,m,T)&&(m=i),f=Vt(f),m=zl({},m,D,rp);var z=zl({},m.imports,D.imports,rp),k=Sa(z),K=Jc(z,k),te,ue,ze=0,Re=m.interpolate||bd,Ve="__p += '",Fe=Rm((m.escape||bd).source+"|"+Re.source+"|"+(Re===gd?Cu:bd).source+"|"+(m.evaluate||bd).source+"|$","g"),ut="//# sourceURL="+(an.call(m,"sourceURL")?(m.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++zg+"]")+`
|
|
635
635
|
`;f.replace(Fe,function(gt,Zt,ln,cl,cr,fl){return ln||(ln=cl),Ve+=f.slice(ze,fl).replace(gm,kg),Zt&&(te=!0,Ve+=`' +
|
|
636
636
|
__e(`+Zt+`) +
|
|
637
637
|
'`),cr&&(ue=!0,Ve+=`';
|
|
@@ -648,7 +648,7 @@ __p += '`),ln&&(Ve+=`' +
|
|
|
648
648
|
function print() { __p += __j.call(arguments, '') }
|
|
649
649
|
`:`;
|
|
650
650
|
`)+Ve+`return __p
|
|
651
|
-
}`;var Bt=w(function(){return Mt(k,ut+"return "+Ve).apply(i,K)});if(Bt.source=Ve,Tt(Bt))throw Bt;return Bt}function I0(f){return Vt(f).toLowerCase()}function Fp(f){return Vt(f).toUpperCase()}function F0(f,m,T){if(f=Vt(f),f&&(T||m===i))return Bs(f);if(!f||!(m=Ma(m)))return f;var D=Va(f),z=Va(m),k=Gr(D,z),K=Ir(D,z)+1;return es(D,k,K).join("")}function Hi(f,m,T){if(f=Vt(f),f&&(T||m===i))return f.slice(0,Vn(f)+1);if(!f||!(m=Ma(m)))return f;var D=Va(f),z=Ir(D,Va(m))+1;return es(D,0,z).join("")}function zh(f,m,T){if(f=Vt(f),f&&(T||m===i))return f.replace(Ms,"");if(!f||!(m=Ma(m)))return f;var D=Va(f),z=Gr(D,Va(m));return es(D,z).join("")}function r(f,m){var T=He,D=Be;if(Sn(m)){var z="separator"in m?m.separator:z;T="length"in m?Ot(m.length):T,D="omission"in m?Ma(m.omission):D}f=Vt(f);var k=f.length;if(Fr(f)){var K=Va(f);k=K.length}if(T>=k)return f;var te=T-xr(D);if(te<1)return D;var ue=K?es(K,0,te).join(""):f.slice(0,te);if(z===i)return ue+D;if(K&&(te+=ue.length-te),Yf(z)){if(f.slice(te).search(z)){var ze,Re=ue;for(z.global||(z=Rm(z.source,Vt(Hc.exec(z))+"g")),z.lastIndex=0;ze=z.exec(Re);)var Ve=ze.index;ue=ue.slice(0,Ve===i?te:Ve)}}else if(f.indexOf(Ma(z),te)!=te){var Fe=ue.lastIndexOf(z);Fe>-1&&(ue=ue.slice(0,Fe))}return ue+D}function s(f){return f=Vt(f),f&&tv.test(f)?f.replace(Bo,Ud):f}var c=fa(function(f,m,T){return f+(T?" ":"")+m.toUpperCase()}),p=nr("toUpperCase");function x(f,m,T){return f=Vt(f),m=T?i:m,m===i?Yg(f)?ju(f):Uu(f):f.match(m)||[]}var w=_t(function(f,m){try{return Ci(f,i,m)}catch(T){return Tt(T)?T:new St(T)}}),N=$n(function(f,m){return br(m,function(T){T=vn(T),Tl(f,T,So(f[T],f))}),f});function $(f){var m=f==null?0:f.length,T=dt();return f=m?Qt(f,function(D){if(typeof D[1]!="function")throw new Tr(g);return[T(D[0]),D[1]]}):[],_t(function(D){for(var z=-1;++z<m;){var k=f[z];if(Ci(k[0],this,D))return Ci(k[1],this,D)}})}function Z(f){return km(ga(f,C))}function de(f){return function(){return f}}function De(f,m){return f==null||f!==f?m:f}var Ne=al(),ye=al(!0);function he(f){return f}function ft(f){return gf(typeof f=="function"?f:ga(f,C))}function pt(f){return Qd(ga(f,C))}function pn(f,m){return vf(f,ga(m,C))}var se=_t(function(f,m){return function(T){return ao(T,f,m)}}),ae=_t(function(f,m){return function(T){return ao(f,T,m)}});function ce(f,m,T){var D=Sa(m),z=hi(m,D);T==null&&!(Sn(m)&&(z.length||!D.length))&&(T=m,m=f,f=this,z=hi(m,Sa(m)));var k=!(Sn(T)&&"chain"in T)||!!T.chain,K=Dr(f);return br(z,function(te){var ue=m[te];f[te]=ue,K&&(f.prototype[te]=function(){var ze=this.__chain__;if(k||ze){var Re=f(this.__wrapped__),Ve=Re.__actions__=va(this.__actions__);return Ve.push({func:ue,args:arguments,thisArg:f}),Re.__chain__=ze,Re}return ue.apply(f,Yr([this.value()],arguments))})}),f}function _e(){return ca._===this&&(ca._=$s),this}function Je(){}function Pt(f){return f=Ot(f),_t(function(m){return Wd(m,f)})}var ct=Ef(Qt),xt=Ef(Bg),Pa=Ef(si);function tn(f){return hp(f)?qr(vn(f)):t0(f)}function fu(f){return function(m){return f==null?i:Ni(f,m)}}var zb=as(),yw=as(!0);function Lb(){return[]}function Ub(){return!1}function Hx(){return{}}function vw(){return""}function bw(){return!0}function Sw(f,m){if(f=Ot(f),f<1||f>oe)return[];var T=fe,D=jn(f,fe);m=dt(m),f-=fe;for(var z=Xl(D,m);++T<f;)m(T);return z}function xw(f){return bt(f)?Qt(f,vn):ni(f)?[f]:va(Dl(Vt(f)))}function Tw(f){var m=++Zr;return Vt(f)+m}var Ew=wl(function(f,m){return f+m},0),Aw=lh("ceil"),Px=wl(function(f,m){return f/m},1),ww=lh("floor");function Cw(f){return f&&f.length?_i(f,he,mf):i}function Ow(f,m){return f&&f.length?_i(f,dt(m,2),mf):i}function Mw(f){return Dm(f,he)}function Dw(f,m){return Dm(f,dt(m,2))}function Rw(f){return f&&f.length?_i(f,he,Kd):i}function _w(f,m){return f&&f.length?_i(f,dt(m,2),Kd):i}var Nw=wl(function(f,m){return f*m},1),zw=lh("round"),kx=wl(function(f,m){return f-m},0);function Vb(f){return f&&f.length?Fl(f,he):0}function X0(f,m){return f&&f.length?Fl(f,dt(m,2)):0}return j.after=Ob,j.ary=Mv,j.assign=ds,j.assignIn=Ch,j.assignInWith=zl,j.assignWith=bi,j.at=ur,j.before=yh,j.bind=So,j.bindAll=N,j.bindKey=Bf,j.castArray=Ut,j.chain=lc,j.chunk=u0,j.compact=c0,j.concat=f0,j.cond=$,j.conforms=Z,j.constant=de,j.countBy=bo,j.create=uu,j.curry=cc,j.curryRight=vh,j.debounce=cs,j.defaults=L0,j.defaultsDeep=Lv,j.defer=or,j.delay=bh,j.difference=In,j.differenceBy=Wa,j.differenceWith=mo,j.drop=Gt,j.dropRight=bp,j.dropRightWhile=d0,j.dropWhile=Sp,j.fill=Ui,j.filter=Av,j.flatMap=wp,j.flatMapDeep=Cp,j.flatMapDepth=C0,j.flatten=_a,j.flattenDeep=h0,j.flattenDepth=po,j.flip=Dv,j.flow=Ne,j.flowRight=ye,j.fromPairs=Fn,j.functions=Vv,j.functionsIn=$p,j.groupBy=O0,j.initial=xp,j.intersection=Ja,j.intersectionBy=m0,j.intersectionWith=ls,j.invert=U0,j.invertBy=V0,j.invokeMap=mh,j.iteratee=ft,j.keyBy=wv,j.keys=Sa,j.keysIn=Na,j.map=ph,j.mapKeys=jv,j.mapValues=$v,j.matches=pt,j.matchesProperty=pn,j.memoize=ru,j.merge=B0,j.mergeWith=Zf,j.method=se,j.methodOf=ae,j.mixin=ce,j.negate=jf,j.nthArg=Pt,j.omit=Kf,j.omitBy=Oh,j.once=Rv,j.orderBy=Cv,j.over=ct,j.overArgs=Sh,j.overEvery=xt,j.overSome=Pa,j.partial=zp,j.partialRight=lu,j.partition=gh,j.pick=Rr,j.pickBy=$i,j.property=tn,j.propertyOf=fu,j.pull=p0,j.pullAll=nu,j.pullAllBy=g0,j.pullAllWith=Vi,j.pullAt=y0,j.range=zb,j.rangeRight=yw,j.rearg=Lp,j.reject=Rp,j.remove=v0,j.rest=xh,j.reverse=Tp,j.sampleSize=D0,j.set=j0,j.setWith=$0,j.shuffle=Cn,j.slice=bn,j.sortBy=_0,j.sortedUniq=Rf,j.sortedUniqBy=b0,j.split=Ip,j.spread=_v,j.tail=os,j.take=ra,j.takeRight=ss,j.takeRightWhile=ic,j.takeWhile=yo,j.tap=E0,j.throttle=la,j.thru=yi,j.toArray=Kn,j.toPairs=Pp,j.toPairsIn=kp,j.toPath=xw,j.toPlainObject=wh,j.transform=Yp,j.unary=Th,j.union=ol,j.unionBy=_f,j.unionWith=Nf,j.uniq=lr,j.uniqBy=S0,j.uniqWith=x0,j.unset=H0,j.unzip=zf,j.unzipWith=rc,j.update=Mh,j.updateWith=Hv,j.values=mc,j.valuesIn=P0,j.without=au,j.words=x,j.wrap=Mb,j.xor=ei,j.xorBy=vo,j.xorWith=Lf,j.zip=ti,j.zipObject=Ep,j.zipObjectDeep=Ap,j.zipWith=T0,j.entries=Pp,j.entriesIn=kp,j.extend=Ch,j.extendWith=zl,ce(j,j),j.add=Ew,j.attempt=w,j.camelCase=Y0,j.capitalize=pc,j.ceil=Aw,j.clamp=qp,j.clone=Eh,j.cloneDeep=fc,j.cloneDeepWith=Nt,j.cloneWith=ou,j.conformsTo=$f,j.deburr=Ll,j.defaultTo=De,j.divide=Px,j.endsWith=hs,j.eq=vi,j.escape=ms,j.escapeRegExp=Dh,j.every=w0,j.find=sc,j.findIndex=gi,j.findKey=Gf,j.findLast=uc,j.findLastIndex=Df,j.findLastKey=If,j.floor=ww,j.forEach=Op,j.forEachRight=Mp,j.forIn=Ff,j.forInRight=Uv,j.forOwn=ul,j.forOwnRight=hc,j.get=Xf,j.gt=N0,j.gte=Up,j.has=Hp,j.hasIn=Eo,j.head=rs,j.identity=he,j.includes=Vf,j.indexOf=ll,j.inRange=Gp,j.invoke=Bv,j.isArguments=Ha,j.isArray=bt,j.isArrayBuffer=Hf,j.isArrayLike=da,j.isArrayLikeObject=qn,j.isBoolean=Mr,j.isBuffer=xo,j.isDate=Nv,j.isElement=z0,j.isEmpty=Vp,j.isEqual=Ct,j.isEqualWith=xe,j.isError=Tt,j.isFinite=Db,j.isFunction=Dr,j.isInteger=Pf,j.isLength=Bi,j.isMap=Rl,j.isMatch=kf,j.isMatchWith=fs,j.isNaN=Bp,j.isNative=Rb,j.isNil=_b,j.isNull=zv,j.isNumber=_l,j.isObject=Sn,j.isObjectLike=Nn,j.isPlainObject=sl,j.isRegExp=Yf,j.isSafeInteger=Ah,j.isSet=dc,j.isString=jp,j.isSymbol=ni,j.isTypedArray=qf,j.isUndefined=Nl,j.isWeakMap=su,j.isWeakSet=ai,j.join=mn,j.kebabCase=Rh,j.last=$a,j.lastIndexOf=ia,j.lowerCase=cu,j.lowerFirst=Pv,j.lt=Ke,j.lte=sr,j.max=Cw,j.maxBy=Ow,j.mean=Mw,j.meanBy=Dw,j.min=Rw,j.minBy=_w,j.stubArray=Lb,j.stubFalse=Ub,j.stubObject=Hx,j.stubString=vw,j.stubTrue=bw,j.multiply=Nw,j.nth=Tv,j.noConflict=_e,j.noop=Je,j.now=Np,j.pad=gc,j.padEnd=yc,j.padStart=kv,j.parseInt=q0,j.random=k0,j.reduce=Dp,j.reduceRight=Ov,j.repeat=_h,j.replace=Nh,j.result=Nb,j.round=zw,j.runInContext=re,j.sample=M0,j.size=_p,j.snakeCase=Qf,j.some=R0,j.sortedIndex=_n,j.sortedIndexBy=Ft,j.sortedIndexOf=Xt,j.sortedLastIndex=xn,j.sortedLastIndexBy=rr,j.sortedLastIndexOf=go,j.startCase=vc,j.startsWith=G0,j.subtract=kx,j.sum=Vb,j.sumBy=X0,j.template=Ao,j.times=Sw,j.toFinite=Xn,j.toInteger=Ot,j.toLength=To,j.toLower=I0,j.toNumber=ji,j.toSafeInteger=ii,j.toString=Vt,j.toUpper=Fp,j.trim=F0,j.trimEnd=Hi,j.trimStart=zh,j.truncate=r,j.unescape=s,j.uniqueId=Tw,j.upperCase=c,j.upperFirst=p,j.each=Op,j.eachRight=Mp,j.first=rs,ce(j,function(){var f={};return Qa(j,function(m,T){an.call(j.prototype,T)||(f[T]=m)}),f}(),{chain:!1}),j.VERSION=o,br(["bind","bindKey","curry","curryRight","partial","partialRight"],function(f){j[f].placeholder=j}),br(["drop","take"],function(f,m){qt.prototype[f]=function(T){T=T===i?1:Mn(Ot(T),0);var D=this.__filtered__&&!m?new qt(this):this.clone();return D.__filtered__?D.__takeCount__=jn(T,D.__takeCount__):D.__views__.push({size:jn(T,fe),type:f+(D.__dir__<0?"Right":"")}),D},qt.prototype[f+"Right"]=function(T){return this.reverse()[f](T).reverse()}}),br(["filter","map","takeWhile"],function(f,m){var T=m+1,D=T==Xe||T==F;qt.prototype[f]=function(z){var k=this.clone();return k.__iteratees__.push({iteratee:dt(z,3),type:T}),k.__filtered__=k.__filtered__||D,k}}),br(["head","last"],function(f,m){var T="take"+(m?"Right":"");qt.prototype[f]=function(){return this[T](1).value()[0]}}),br(["initial","tail"],function(f,m){var T="drop"+(m?"":"Right");qt.prototype[f]=function(){return this.__filtered__?new qt(this):this[T](1)}}),qt.prototype.compact=function(){return this.filter(he)},qt.prototype.find=function(f){return this.filter(f).head()},qt.prototype.findLast=function(f){return this.reverse().find(f)},qt.prototype.invokeMap=_t(function(f,m){return typeof f=="function"?new qt(this):this.map(function(T){return ao(T,f,m)})}),qt.prototype.reject=function(f){return this.filter(jf(dt(f)))},qt.prototype.slice=function(f,m){f=Ot(f);var T=this;return T.__filtered__&&(f>0||m<0)?new qt(T):(f<0?T=T.takeRight(-f):f&&(T=T.drop(f)),m!==i&&(m=Ot(m),T=m<0?T.dropRight(-m):T.take(m-f)),T)},qt.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},qt.prototype.toArray=function(){return this.take(fe)},Qa(qt.prototype,function(f,m){var T=/^(?:filter|find|map|reject)|While$/.test(m),D=/^(?:head|last)$/.test(m),z=j[D?"take"+(m=="last"?"Right":""):m],k=D||/^find/.test(m);z&&(j.prototype[m]=function(){var K=this.__wrapped__,te=D?[1]:arguments,ue=K instanceof qt,ze=te[0],Re=ue||bt(K),Ve=function(Zt){var ln=z.apply(j,Yr([Zt],te));return D&&Fe?ln[0]:ln};Re&&T&&typeof ze=="function"&&ze.length!=1&&(ue=Re=!1);var Fe=this.__chain__,ut=!!this.__actions__.length,vt=k&&!Fe,Bt=ue&&!ut;if(!k&&Re){K=Bt?K:new qt(this);var gt=f.apply(K,te);return gt.__actions__.push({func:yi,args:[Ve],thisArg:i}),new Ri(gt,Fe)}return vt&&Bt?f.apply(this,te):(gt=this.thru(Ve),vt?D?gt.value()[0]:gt.value():gt)})}),br(["pop","push","shift","sort","splice","unshift"],function(f){var m=tf[f],T=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",D=/^(?:pop|shift)$/.test(f);j.prototype[f]=function(){var z=arguments;if(D&&!this.__chain__){var k=this.value();return m.apply(bt(k)?k:[],z)}return this[T](function(K){return m.apply(bt(K)?K:[],z)})}}),Qa(qt.prototype,function(f,m){var T=j[m];if(T){var D=T.name+"";an.call(Zi,D)||(Zi[D]=[]),Zi[D].push({name:m,func:T})}}),Zi[yn(i,U).name]=[{name:"wrapper",func:i}],qt.prototype.clone=uf,qt.prototype.reverse=Pd,qt.prototype.value=Hs,j.prototype.at=A0,j.prototype.chain=Or,j.prototype.commit=Uf,j.prototype.next=hh,j.prototype.plant=us,j.prototype.reverse=oc,j.prototype.toJSON=j.prototype.valueOf=j.prototype.value=iu,j.prototype.first=j.prototype.head,Fo&&(j.prototype[Fo]=Ev),j},ui=Kl();qo?((qo.exports=ui)._=ui,Yo._=ui):ca._=ui}).call(T$)}(q1,q1.exports)),q1.exports}var E4=E$();const DE=ee.createContext({});function RE(t){const n=ee.useRef(null);return n.current===null&&(n.current=t()),n.current}const _E=typeof window<"u",A4=_E?ee.useLayoutEffect:ee.useEffect,JS=ee.createContext(null),NE=ee.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class A$ extends lt.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(i&&n.isPresent&&!this.props.isPresent){const o=i.offsetParent,u=o instanceof HTMLElement&&o.offsetWidth||0,h=this.props.sizeRef.current;h.height=i.offsetHeight||0,h.width=i.offsetWidth||0,h.top=i.offsetTop,h.left=i.offsetLeft,h.right=u-h.width-h.left}return null}componentDidUpdate(){}render(){return this.props.children}}function w$({children:t,isPresent:n,anchorX:i}){const o=ee.useId(),u=ee.useRef(null),h=ee.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:g}=ee.useContext(NE);return ee.useInsertionEffect(()=>{const{width:v,height:S,top:E,left:A,right:C}=h.current;if(n||!u.current||!v||!S)return;const M=i==="left"?`left: ${A}`:`right: ${C}`;u.current.dataset.motionPopId=o;const R=document.createElement("style");return g&&(R.nonce=g),document.head.appendChild(R),R.sheet&&R.sheet.insertRule(`
|
|
651
|
+
}`;var Bt=w(function(){return Mt(k,ut+"return "+Ve).apply(i,K)});if(Bt.source=Ve,Tt(Bt))throw Bt;return Bt}function I0(f){return Vt(f).toLowerCase()}function Fp(f){return Vt(f).toUpperCase()}function F0(f,m,T){if(f=Vt(f),f&&(T||m===i))return Bs(f);if(!f||!(m=Ma(m)))return f;var D=Va(f),z=Va(m),k=Gr(D,z),K=Ir(D,z)+1;return es(D,k,K).join("")}function Hi(f,m,T){if(f=Vt(f),f&&(T||m===i))return f.slice(0,Vn(f)+1);if(!f||!(m=Ma(m)))return f;var D=Va(f),z=Ir(D,Va(m))+1;return es(D,0,z).join("")}function zh(f,m,T){if(f=Vt(f),f&&(T||m===i))return f.replace(Ms,"");if(!f||!(m=Ma(m)))return f;var D=Va(f),z=Gr(D,Va(m));return es(D,z).join("")}function r(f,m){var T=He,D=Be;if(Sn(m)){var z="separator"in m?m.separator:z;T="length"in m?Ot(m.length):T,D="omission"in m?Ma(m.omission):D}f=Vt(f);var k=f.length;if(Fr(f)){var K=Va(f);k=K.length}if(T>=k)return f;var te=T-xr(D);if(te<1)return D;var ue=K?es(K,0,te).join(""):f.slice(0,te);if(z===i)return ue+D;if(K&&(te+=ue.length-te),Yf(z)){if(f.slice(te).search(z)){var ze,Re=ue;for(z.global||(z=Rm(z.source,Vt(Hc.exec(z))+"g")),z.lastIndex=0;ze=z.exec(Re);)var Ve=ze.index;ue=ue.slice(0,Ve===i?te:Ve)}}else if(f.indexOf(Ma(z),te)!=te){var Fe=ue.lastIndexOf(z);Fe>-1&&(ue=ue.slice(0,Fe))}return ue+D}function s(f){return f=Vt(f),f&&tv.test(f)?f.replace(Bo,Ud):f}var c=da(function(f,m,T){return f+(T?" ":"")+m.toUpperCase()}),p=nr("toUpperCase");function x(f,m,T){return f=Vt(f),m=T?i:m,m===i?Yg(f)?ju(f):Uu(f):f.match(m)||[]}var w=_t(function(f,m){try{return Ci(f,i,m)}catch(T){return Tt(T)?T:new St(T)}}),N=$n(function(f,m){return br(m,function(T){T=vn(T),Tl(f,T,So(f[T],f))}),f});function $(f){var m=f==null?0:f.length,T=dt();return f=m?Qt(f,function(D){if(typeof D[1]!="function")throw new Tr(g);return[T(D[0]),D[1]]}):[],_t(function(D){for(var z=-1;++z<m;){var k=f[z];if(Ci(k[0],this,D))return Ci(k[1],this,D)}})}function Z(f){return km(ga(f,C))}function de(f){return function(){return f}}function De(f,m){return f==null||f!==f?m:f}var Ne=al(),ye=al(!0);function he(f){return f}function ft(f){return gf(typeof f=="function"?f:ga(f,C))}function pt(f){return Qd(ga(f,C))}function pn(f,m){return vf(f,ga(m,C))}var se=_t(function(f,m){return function(T){return ao(T,f,m)}}),ae=_t(function(f,m){return function(T){return ao(f,T,m)}});function ce(f,m,T){var D=Sa(m),z=hi(m,D);T==null&&!(Sn(m)&&(z.length||!D.length))&&(T=m,m=f,f=this,z=hi(m,Sa(m)));var k=!(Sn(T)&&"chain"in T)||!!T.chain,K=Dr(f);return br(z,function(te){var ue=m[te];f[te]=ue,K&&(f.prototype[te]=function(){var ze=this.__chain__;if(k||ze){var Re=f(this.__wrapped__),Ve=Re.__actions__=va(this.__actions__);return Ve.push({func:ue,args:arguments,thisArg:f}),Re.__chain__=ze,Re}return ue.apply(f,Yr([this.value()],arguments))})}),f}function _e(){return fa._===this&&(fa._=$s),this}function Je(){}function Pt(f){return f=Ot(f),_t(function(m){return Wd(m,f)})}var ct=Ef(Qt),xt=Ef(Bg),Pa=Ef(si);function tn(f){return hp(f)?qr(vn(f)):t0(f)}function fu(f){return function(m){return f==null?i:Ni(f,m)}}var zb=as(),yw=as(!0);function Lb(){return[]}function Ub(){return!1}function Hx(){return{}}function vw(){return""}function bw(){return!0}function Sw(f,m){if(f=Ot(f),f<1||f>oe)return[];var T=fe,D=jn(f,fe);m=dt(m),f-=fe;for(var z=Xl(D,m);++T<f;)m(T);return z}function xw(f){return bt(f)?Qt(f,vn):ni(f)?[f]:va(Dl(Vt(f)))}function Tw(f){var m=++Zr;return Vt(f)+m}var Ew=wl(function(f,m){return f+m},0),Aw=lh("ceil"),Px=wl(function(f,m){return f/m},1),ww=lh("floor");function Cw(f){return f&&f.length?_i(f,he,mf):i}function Ow(f,m){return f&&f.length?_i(f,dt(m,2),mf):i}function Mw(f){return Dm(f,he)}function Dw(f,m){return Dm(f,dt(m,2))}function Rw(f){return f&&f.length?_i(f,he,Kd):i}function _w(f,m){return f&&f.length?_i(f,dt(m,2),Kd):i}var Nw=wl(function(f,m){return f*m},1),zw=lh("round"),kx=wl(function(f,m){return f-m},0);function Vb(f){return f&&f.length?Fl(f,he):0}function X0(f,m){return f&&f.length?Fl(f,dt(m,2)):0}return j.after=Ob,j.ary=Mv,j.assign=ds,j.assignIn=Ch,j.assignInWith=zl,j.assignWith=bi,j.at=ur,j.before=yh,j.bind=So,j.bindAll=N,j.bindKey=Bf,j.castArray=Ut,j.chain=lc,j.chunk=u0,j.compact=c0,j.concat=f0,j.cond=$,j.conforms=Z,j.constant=de,j.countBy=bo,j.create=uu,j.curry=cc,j.curryRight=vh,j.debounce=cs,j.defaults=L0,j.defaultsDeep=Lv,j.defer=or,j.delay=bh,j.difference=In,j.differenceBy=Wa,j.differenceWith=mo,j.drop=Gt,j.dropRight=bp,j.dropRightWhile=d0,j.dropWhile=Sp,j.fill=Ui,j.filter=Av,j.flatMap=wp,j.flatMapDeep=Cp,j.flatMapDepth=C0,j.flatten=_a,j.flattenDeep=h0,j.flattenDepth=po,j.flip=Dv,j.flow=Ne,j.flowRight=ye,j.fromPairs=Fn,j.functions=Vv,j.functionsIn=$p,j.groupBy=O0,j.initial=xp,j.intersection=Ja,j.intersectionBy=m0,j.intersectionWith=ls,j.invert=U0,j.invertBy=V0,j.invokeMap=mh,j.iteratee=ft,j.keyBy=wv,j.keys=Sa,j.keysIn=Na,j.map=ph,j.mapKeys=jv,j.mapValues=$v,j.matches=pt,j.matchesProperty=pn,j.memoize=ru,j.merge=B0,j.mergeWith=Zf,j.method=se,j.methodOf=ae,j.mixin=ce,j.negate=jf,j.nthArg=Pt,j.omit=Kf,j.omitBy=Oh,j.once=Rv,j.orderBy=Cv,j.over=ct,j.overArgs=Sh,j.overEvery=xt,j.overSome=Pa,j.partial=zp,j.partialRight=lu,j.partition=gh,j.pick=Rr,j.pickBy=$i,j.property=tn,j.propertyOf=fu,j.pull=p0,j.pullAll=nu,j.pullAllBy=g0,j.pullAllWith=Vi,j.pullAt=y0,j.range=zb,j.rangeRight=yw,j.rearg=Lp,j.reject=Rp,j.remove=v0,j.rest=xh,j.reverse=Tp,j.sampleSize=D0,j.set=j0,j.setWith=$0,j.shuffle=Cn,j.slice=bn,j.sortBy=_0,j.sortedUniq=Rf,j.sortedUniqBy=b0,j.split=Ip,j.spread=_v,j.tail=os,j.take=ra,j.takeRight=ss,j.takeRightWhile=ic,j.takeWhile=yo,j.tap=E0,j.throttle=la,j.thru=yi,j.toArray=Kn,j.toPairs=Pp,j.toPairsIn=kp,j.toPath=xw,j.toPlainObject=wh,j.transform=Yp,j.unary=Th,j.union=ol,j.unionBy=_f,j.unionWith=Nf,j.uniq=lr,j.uniqBy=S0,j.uniqWith=x0,j.unset=H0,j.unzip=zf,j.unzipWith=rc,j.update=Mh,j.updateWith=Hv,j.values=mc,j.valuesIn=P0,j.without=au,j.words=x,j.wrap=Mb,j.xor=ei,j.xorBy=vo,j.xorWith=Lf,j.zip=ti,j.zipObject=Ep,j.zipObjectDeep=Ap,j.zipWith=T0,j.entries=Pp,j.entriesIn=kp,j.extend=Ch,j.extendWith=zl,ce(j,j),j.add=Ew,j.attempt=w,j.camelCase=Y0,j.capitalize=pc,j.ceil=Aw,j.clamp=qp,j.clone=Eh,j.cloneDeep=fc,j.cloneDeepWith=Nt,j.cloneWith=ou,j.conformsTo=$f,j.deburr=Ll,j.defaultTo=De,j.divide=Px,j.endsWith=hs,j.eq=vi,j.escape=ms,j.escapeRegExp=Dh,j.every=w0,j.find=sc,j.findIndex=gi,j.findKey=Gf,j.findLast=uc,j.findLastIndex=Df,j.findLastKey=If,j.floor=ww,j.forEach=Op,j.forEachRight=Mp,j.forIn=Ff,j.forInRight=Uv,j.forOwn=ul,j.forOwnRight=hc,j.get=Xf,j.gt=N0,j.gte=Up,j.has=Hp,j.hasIn=Eo,j.head=rs,j.identity=he,j.includes=Vf,j.indexOf=ll,j.inRange=Gp,j.invoke=Bv,j.isArguments=Ha,j.isArray=bt,j.isArrayBuffer=Hf,j.isArrayLike=ha,j.isArrayLikeObject=qn,j.isBoolean=Mr,j.isBuffer=xo,j.isDate=Nv,j.isElement=z0,j.isEmpty=Vp,j.isEqual=Ct,j.isEqualWith=xe,j.isError=Tt,j.isFinite=Db,j.isFunction=Dr,j.isInteger=Pf,j.isLength=Bi,j.isMap=Rl,j.isMatch=kf,j.isMatchWith=fs,j.isNaN=Bp,j.isNative=Rb,j.isNil=_b,j.isNull=zv,j.isNumber=_l,j.isObject=Sn,j.isObjectLike=Nn,j.isPlainObject=sl,j.isRegExp=Yf,j.isSafeInteger=Ah,j.isSet=dc,j.isString=jp,j.isSymbol=ni,j.isTypedArray=qf,j.isUndefined=Nl,j.isWeakMap=su,j.isWeakSet=ai,j.join=mn,j.kebabCase=Rh,j.last=$a,j.lastIndexOf=ia,j.lowerCase=cu,j.lowerFirst=Pv,j.lt=Ke,j.lte=sr,j.max=Cw,j.maxBy=Ow,j.mean=Mw,j.meanBy=Dw,j.min=Rw,j.minBy=_w,j.stubArray=Lb,j.stubFalse=Ub,j.stubObject=Hx,j.stubString=vw,j.stubTrue=bw,j.multiply=Nw,j.nth=Tv,j.noConflict=_e,j.noop=Je,j.now=Np,j.pad=gc,j.padEnd=yc,j.padStart=kv,j.parseInt=q0,j.random=k0,j.reduce=Dp,j.reduceRight=Ov,j.repeat=_h,j.replace=Nh,j.result=Nb,j.round=zw,j.runInContext=re,j.sample=M0,j.size=_p,j.snakeCase=Qf,j.some=R0,j.sortedIndex=_n,j.sortedIndexBy=Ft,j.sortedIndexOf=Xt,j.sortedLastIndex=xn,j.sortedLastIndexBy=rr,j.sortedLastIndexOf=go,j.startCase=vc,j.startsWith=G0,j.subtract=kx,j.sum=Vb,j.sumBy=X0,j.template=Ao,j.times=Sw,j.toFinite=Xn,j.toInteger=Ot,j.toLength=To,j.toLower=I0,j.toNumber=ji,j.toSafeInteger=ii,j.toString=Vt,j.toUpper=Fp,j.trim=F0,j.trimEnd=Hi,j.trimStart=zh,j.truncate=r,j.unescape=s,j.uniqueId=Tw,j.upperCase=c,j.upperFirst=p,j.each=Op,j.eachRight=Mp,j.first=rs,ce(j,function(){var f={};return Qa(j,function(m,T){an.call(j.prototype,T)||(f[T]=m)}),f}(),{chain:!1}),j.VERSION=o,br(["bind","bindKey","curry","curryRight","partial","partialRight"],function(f){j[f].placeholder=j}),br(["drop","take"],function(f,m){qt.prototype[f]=function(T){T=T===i?1:Mn(Ot(T),0);var D=this.__filtered__&&!m?new qt(this):this.clone();return D.__filtered__?D.__takeCount__=jn(T,D.__takeCount__):D.__views__.push({size:jn(T,fe),type:f+(D.__dir__<0?"Right":"")}),D},qt.prototype[f+"Right"]=function(T){return this.reverse()[f](T).reverse()}}),br(["filter","map","takeWhile"],function(f,m){var T=m+1,D=T==Xe||T==F;qt.prototype[f]=function(z){var k=this.clone();return k.__iteratees__.push({iteratee:dt(z,3),type:T}),k.__filtered__=k.__filtered__||D,k}}),br(["head","last"],function(f,m){var T="take"+(m?"Right":"");qt.prototype[f]=function(){return this[T](1).value()[0]}}),br(["initial","tail"],function(f,m){var T="drop"+(m?"":"Right");qt.prototype[f]=function(){return this.__filtered__?new qt(this):this[T](1)}}),qt.prototype.compact=function(){return this.filter(he)},qt.prototype.find=function(f){return this.filter(f).head()},qt.prototype.findLast=function(f){return this.reverse().find(f)},qt.prototype.invokeMap=_t(function(f,m){return typeof f=="function"?new qt(this):this.map(function(T){return ao(T,f,m)})}),qt.prototype.reject=function(f){return this.filter(jf(dt(f)))},qt.prototype.slice=function(f,m){f=Ot(f);var T=this;return T.__filtered__&&(f>0||m<0)?new qt(T):(f<0?T=T.takeRight(-f):f&&(T=T.drop(f)),m!==i&&(m=Ot(m),T=m<0?T.dropRight(-m):T.take(m-f)),T)},qt.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},qt.prototype.toArray=function(){return this.take(fe)},Qa(qt.prototype,function(f,m){var T=/^(?:filter|find|map|reject)|While$/.test(m),D=/^(?:head|last)$/.test(m),z=j[D?"take"+(m=="last"?"Right":""):m],k=D||/^find/.test(m);z&&(j.prototype[m]=function(){var K=this.__wrapped__,te=D?[1]:arguments,ue=K instanceof qt,ze=te[0],Re=ue||bt(K),Ve=function(Zt){var ln=z.apply(j,Yr([Zt],te));return D&&Fe?ln[0]:ln};Re&&T&&typeof ze=="function"&&ze.length!=1&&(ue=Re=!1);var Fe=this.__chain__,ut=!!this.__actions__.length,vt=k&&!Fe,Bt=ue&&!ut;if(!k&&Re){K=Bt?K:new qt(this);var gt=f.apply(K,te);return gt.__actions__.push({func:yi,args:[Ve],thisArg:i}),new Ri(gt,Fe)}return vt&&Bt?f.apply(this,te):(gt=this.thru(Ve),vt?D?gt.value()[0]:gt.value():gt)})}),br(["pop","push","shift","sort","splice","unshift"],function(f){var m=tf[f],T=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",D=/^(?:pop|shift)$/.test(f);j.prototype[f]=function(){var z=arguments;if(D&&!this.__chain__){var k=this.value();return m.apply(bt(k)?k:[],z)}return this[T](function(K){return m.apply(bt(K)?K:[],z)})}}),Qa(qt.prototype,function(f,m){var T=j[m];if(T){var D=T.name+"";an.call(Zi,D)||(Zi[D]=[]),Zi[D].push({name:m,func:T})}}),Zi[yn(i,U).name]=[{name:"wrapper",func:i}],qt.prototype.clone=uf,qt.prototype.reverse=Pd,qt.prototype.value=Hs,j.prototype.at=A0,j.prototype.chain=Or,j.prototype.commit=Uf,j.prototype.next=hh,j.prototype.plant=us,j.prototype.reverse=oc,j.prototype.toJSON=j.prototype.valueOf=j.prototype.value=iu,j.prototype.first=j.prototype.head,Fo&&(j.prototype[Fo]=Ev),j},ui=Kl();qo?((qo.exports=ui)._=ui,Yo._=ui):fa._=ui}).call(T$)}(q1,q1.exports)),q1.exports}var E4=E$();const DE=ee.createContext({});function RE(t){const n=ee.useRef(null);return n.current===null&&(n.current=t()),n.current}const _E=typeof window<"u",A4=_E?ee.useLayoutEffect:ee.useEffect,JS=ee.createContext(null),NE=ee.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class A$ extends lt.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(i&&n.isPresent&&!this.props.isPresent){const o=i.offsetParent,u=o instanceof HTMLElement&&o.offsetWidth||0,h=this.props.sizeRef.current;h.height=i.offsetHeight||0,h.width=i.offsetWidth||0,h.top=i.offsetTop,h.left=i.offsetLeft,h.right=u-h.width-h.left}return null}componentDidUpdate(){}render(){return this.props.children}}function w$({children:t,isPresent:n,anchorX:i}){const o=ee.useId(),u=ee.useRef(null),h=ee.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:g}=ee.useContext(NE);return ee.useInsertionEffect(()=>{const{width:v,height:S,top:E,left:A,right:C}=h.current;if(n||!u.current||!v||!S)return;const M=i==="left"?`left: ${A}`:`right: ${C}`;u.current.dataset.motionPopId=o;const R=document.createElement("style");return g&&(R.nonce=g),document.head.appendChild(R),R.sheet&&R.sheet.insertRule(`
|
|
652
652
|
[data-motion-pop-id="${o}"] {
|
|
653
653
|
position: absolute !important;
|
|
654
654
|
width: ${v}px !important;
|
|
@@ -656,19 +656,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
656
656
|
${M}px !important;
|
|
657
657
|
top: ${E}px !important;
|
|
658
658
|
}
|
|
659
|
-
`),()=>{document.head.removeChild(R)}},[n]),V.jsx(A$,{isPresent:n,childRef:u,sizeRef:h,children:lt.cloneElement(t,{ref:u})})}const C$=({children:t,initial:n,isPresent:i,onExitComplete:o,custom:u,presenceAffectsLayout:h,mode:g,anchorX:v})=>{const S=RE(O$),E=ee.useId(),A=ee.useCallback(M=>{S.set(M,!0);for(const R of S.values())if(!R)return;o&&o()},[S,o]),C=ee.useMemo(()=>({id:E,initial:n,isPresent:i,custom:u,onExitComplete:A,register:M=>(S.set(M,!1),()=>S.delete(M))}),h?[Math.random(),A]:[i,A]);return ee.useMemo(()=>{S.forEach((M,R)=>S.set(R,!1))},[i]),lt.useEffect(()=>{!i&&!S.size&&o&&o()},[i]),g==="popLayout"&&(t=V.jsx(w$,{isPresent:i,anchorX:v,children:t})),V.jsx(JS.Provider,{value:C,children:t})};function O$(){return new Map}function w4(t=!0){const n=ee.useContext(JS);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:o,register:u}=n,h=ee.useId();ee.useEffect(()=>{if(t)return u(h)},[t]);const g=ee.useCallback(()=>t&&o&&o(h),[h,o,t]);return!i&&o?[!1,g]:[!0]}const ex=t=>t.key||"";function C4(t){const n=[];return ee.Children.forEach(t,i=>{ee.isValidElement(i)&&n.push(i)}),n}const nm=({children:t,custom:n,initial:i=!0,onExitComplete:o,presenceAffectsLayout:u=!0,mode:h="sync",propagate:g=!1,anchorX:v="left"})=>{const[S,E]=w4(g),A=ee.useMemo(()=>C4(t),[t]),C=g&&!S?[]:A.map(ex),M=ee.useRef(!0),R=ee.useRef(A),B=RE(()=>new Map),[L,P]=ee.useState(A),[U,G]=ee.useState(A);A4(()=>{M.current=!1,R.current=A;for(let Y=0;Y<U.length;Y++){const le=ex(U[Y]);C.includes(le)?B.delete(le):B.get(le)!==!0&&B.set(le,!1)}},[U,C.length,C.join("-")]);const q=[];if(A!==L){let Y=[...A];for(let le=0;le<U.length;le++){const me=U[le],pe=ex(me);C.includes(pe)||(Y.splice(le,0,me),q.push(me))}return h==="wait"&&q.length&&(Y=q),G(C4(Y)),P(A),null}process.env.NODE_ENV!=="production"&&h==="wait"&&U.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:J}=ee.useContext(DE);return V.jsx(V.Fragment,{children:U.map(Y=>{const le=ex(Y),me=g&&!S?!1:A===U||C.includes(le),pe=()=>{if(B.has(le))B.set(le,!0);else return;let ve=!0;B.forEach(He=>{He||(ve=!1)}),ve&&(J==null||J(),G(R.current),g&&(E==null||E()),o&&o())};return V.jsx(C$,{isPresent:me,initial:!M.current||i?void 0:!1,custom:n,presenceAffectsLayout:u,mode:h,onExitComplete:me?void 0:pe,anchorX:v,children:Y},le)})})},Hl=t=>t;let Ly=Hl,am=Hl;process.env.NODE_ENV!=="production"&&(Ly=(t,n)=>{!t&&typeof console<"u"&&console.warn(n)},am=(t,n)=>{if(!t)throw new Error(n)});const M$={useManualTiming:!1},tx=["read","resolveKeyframes","update","preRender","render","postRender"],O4={value:null};function D$(t,n){let i=new Set,o=new Set,u=!1,h=!1;const g=new WeakSet;let v={delta:0,timestamp:0,isProcessing:!1},S=0;function E(C){g.has(C)&&(A.schedule(C),t()),S++,C(v)}const A={schedule:(C,M=!1,R=!1)=>{const L=R&&u?i:o;return M&&g.add(C),L.has(C)||L.add(C),C},cancel:C=>{o.delete(C),g.delete(C)},process:C=>{if(v=C,u){h=!0;return}u=!0,[i,o]=[o,i],i.forEach(E),n&&O4.value&&O4.value.frameloop[n].push(S),S=0,i.clear(),u=!1,h&&(h=!1,A.process(C))}};return A}const R$=40;function M4(t,n){let i=!1,o=!0;const u={delta:0,timestamp:0,isProcessing:!1},h=()=>i=!0,g=tx.reduce((U,G)=>(U[G]=D$(h,n?G:void 0),U),{}),{read:v,resolveKeyframes:S,update:E,preRender:A,render:C,postRender:M}=g,R=()=>{const U=performance.now();i=!1,u.delta=o?1e3/60:Math.max(Math.min(U-u.timestamp,R$),1),u.timestamp=U,u.isProcessing=!0,v.process(u),S.process(u),E.process(u),A.process(u),C.process(u),M.process(u),u.isProcessing=!1,i&&n&&(o=!1,t(R))},B=()=>{i=!0,o=!0,u.isProcessing||t(R)};return{schedule:tx.reduce((U,G)=>{const q=g[G];return U[G]=(J,Y=!1,le=!1)=>(i||B(),q.schedule(J,Y,le)),U},{}),cancel:U=>{for(let G=0;G<tx.length;G++)g[tx[G]].cancel(U)},state:u,steps:g}}const{schedule:ea,cancel:im,state:mr,steps:zE}=M4(typeof requestAnimationFrame<"u"?requestAnimationFrame:Hl,!0),D4=ee.createContext({strict:!1}),R4={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Uy={};for(const t in R4)Uy[t]={isEnabled:n=>R4[t].some(i=>!!n[i])};function _$(t){for(const n in t)Uy[n]={...Uy[n],...t[n]}}const N$=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nx(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||N$.has(t)}let _4=t=>!nx(t);function z$(t){t&&(_4=n=>n.startsWith("on")?!nx(n):t(n))}try{z$(require("@emotion/is-prop-valid").default)}catch{}function L$(t,n,i){const o={};for(const u in t)u==="values"&&typeof t.values=="object"||(_4(u)||i===!0&&nx(u)||!n&&!nx(u)||t.draggable&&u.startsWith("onDrag"))&&(o[u]=t[u]);return o}const N4=new Set;function ax(t,n,i){t||N4.has(n)||(console.warn(n),N4.add(n))}function U$(t){if(typeof Proxy>"u")return t;const n=new Map,i=(...o)=>(process.env.NODE_ENV!=="production"&&ax(!1,"motion() is deprecated. Use motion.create() instead."),t(...o));return new Proxy(i,{get:(o,u)=>u==="create"?t:(n.has(u)||n.set(u,t(u)),n.get(u))})}const ix=ee.createContext({});function rx(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function G1(t){return typeof t=="string"||Array.isArray(t)}const LE=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],UE=["initial",...LE];function lx(t){return rx(t.animate)||UE.some(n=>G1(t[n]))}function z4(t){return!!(lx(t)||t.variants)}function V$(t,n){if(lx(t)){const{initial:i,animate:o}=t;return{initial:i===!1||G1(i)?i:void 0,animate:G1(o)?o:void 0}}return t.inherit!==!1?n:{}}function B$(t){const{initial:n,animate:i}=V$(t,ee.useContext(ix));return ee.useMemo(()=>({initial:n,animate:i}),[L4(n),L4(i)])}function L4(t){return Array.isArray(t)?t.join(" "):t}const j$=Symbol.for("motionComponentSymbol");function Vy(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function $$(t,n,i){return ee.useCallback(o=>{o&&t.onMount&&t.onMount(o),n&&(o?n.mount(o):n.unmount()),i&&(typeof i=="function"?i(o):Vy(i)&&(i.current=o))},[n])}const{schedule:VE}=M4(queueMicrotask,!1),BE=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),U4="data-"+BE("framerAppearId"),V4=ee.createContext({});function H$(t,n,i,o,u){var h,g;const{visualElement:v}=ee.useContext(ix),S=ee.useContext(D4),E=ee.useContext(JS),A=ee.useContext(NE).reducedMotion,C=ee.useRef(null);o=o||S.renderer,!C.current&&o&&(C.current=o(t,{visualState:n,parent:v,props:i,presenceContext:E,blockInitialAnimation:E?E.initial===!1:!1,reducedMotionConfig:A}));const M=C.current,R=ee.useContext(V4);M&&!M.projection&&u&&(M.type==="html"||M.type==="svg")&&P$(C.current,i,u,R);const B=ee.useRef(!1);ee.useInsertionEffect(()=>{M&&B.current&&M.update(i,E)});const L=i[U4],P=ee.useRef(!!L&&!(!((h=window.MotionHandoffIsComplete)===null||h===void 0)&&h.call(window,L))&&((g=window.MotionHasOptimisedAnimation)===null||g===void 0?void 0:g.call(window,L)));return A4(()=>{M&&(B.current=!0,window.MotionIsMounted=!0,M.updateFeatures(),VE.render(M.render),P.current&&M.animationState&&M.animationState.animateChanges())}),ee.useEffect(()=>{M&&(!P.current&&M.animationState&&M.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var U;(U=window.MotionHandoffMarkAsComplete)===null||U===void 0||U.call(window,L)}),P.current=!1))}),M}function P$(t,n,i,o){const{layoutId:u,layout:h,drag:g,dragConstraints:v,layoutScroll:S,layoutRoot:E}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:B4(t.parent)),t.projection.setOptions({layoutId:u,layout:h,alwaysMeasureLayout:!!g||v&&Vy(v),visualElement:t,animationType:typeof h=="string"?h:"both",initialPromotionConfig:o,layoutScroll:S,layoutRoot:E})}function B4(t){if(t)return t.options.allowProjection!==!1?t.projection:B4(t.parent)}function k$({preloadedFeatures:t,createVisualElement:n,useRender:i,useVisualState:o,Component:u}){var h,g;t&&_$(t);function v(E,A){let C;const M={...ee.useContext(NE),...E,layoutId:Y$(E)},{isStatic:R}=M,B=B$(E),L=o(E,R);if(!R&&_E){q$(M,t);const P=G$(M);C=P.MeasureLayout,B.visualElement=H$(u,L,M,n,P.ProjectionNode)}return V.jsxs(ix.Provider,{value:B,children:[C&&B.visualElement?V.jsx(C,{visualElement:B.visualElement,...M}):null,i(u,E,$$(L,B.visualElement,A),L,R,B.visualElement)]})}v.displayName=`motion.${typeof u=="string"?u:`create(${(g=(h=u.displayName)!==null&&h!==void 0?h:u.name)!==null&&g!==void 0?g:""})`}`;const S=ee.forwardRef(v);return S[j$]=u,S}function Y$({layoutId:t}){const n=ee.useContext(DE).id;return n&&t!==void 0?n+"-"+t:t}function q$(t,n){const i=ee.useContext(D4).strict;if(process.env.NODE_ENV!=="production"&&n&&i){const o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Ly(!1,o):am(!1,o)}}function G$(t){const{drag:n,layout:i}=Uy;if(!n&&!i)return{};const o={...n,...i};return{MeasureLayout:n!=null&&n.isEnabled(t)||i!=null&&i.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}const j4=t=>n=>typeof n=="string"&&n.startsWith(t),jE=j4("--"),I$=j4("var(--"),$E=t=>I$(t)?F$.test(t.split("/*")[0].trim()):!1,F$=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,I1={};function X$(t){for(const n in t)I1[n]=t[n],jE(n)&&(I1[n].isCSSVariable=!0)}const By=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],vg=new Set(By);function $4(t,{layout:n,layoutId:i}){return vg.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!I1[t]||t==="opacity")}const Br=t=>!!(t&&t.getVelocity),H4=(t,n)=>n&&typeof t=="number"?n.transform(t):t,od=(t,n,i)=>i>n?n:i<t?t:i,jy={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},F1={...jy,transform:t=>od(0,1,t)},ox={...jy,default:1},X1=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),rm=X1("deg"),zc=X1("%"),At=X1("px"),Z$=X1("vh"),K$=X1("vw"),P4={...zc,parse:t=>zc.parse(t)/100,transform:t=>zc.transform(t*100)},Q$={borderWidth:At,borderTopWidth:At,borderRightWidth:At,borderBottomWidth:At,borderLeftWidth:At,borderRadius:At,radius:At,borderTopLeftRadius:At,borderTopRightRadius:At,borderBottomRightRadius:At,borderBottomLeftRadius:At,width:At,maxWidth:At,height:At,maxHeight:At,top:At,right:At,bottom:At,left:At,padding:At,paddingTop:At,paddingRight:At,paddingBottom:At,paddingLeft:At,margin:At,marginTop:At,marginRight:At,marginBottom:At,marginLeft:At,backgroundPositionX:At,backgroundPositionY:At},W$={rotate:rm,rotateX:rm,rotateY:rm,rotateZ:rm,scale:ox,scaleX:ox,scaleY:ox,scaleZ:ox,skew:rm,skewX:rm,skewY:rm,distance:At,translateX:At,translateY:At,translateZ:At,x:At,y:At,z:At,perspective:At,transformPerspective:At,opacity:F1,originX:P4,originY:P4,originZ:At},k4={...jy,transform:Math.round},HE={...Q$,...W$,zIndex:k4,size:At,fillOpacity:F1,strokeOpacity:F1,numOctaves:k4},J$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eH=By.length;function tH(t,n,i){let o="",u=!0;for(let h=0;h<eH;h++){const g=By[h],v=t[g];if(v===void 0)continue;let S=!0;if(typeof v=="number"?S=v===(g.startsWith("scale")?1:0):S=parseFloat(v)===0,!S||i){const E=H4(v,HE[g]);if(!S){u=!1;const A=J$[g]||g;o+=`${A}(${E}) `}i&&(n[g]=E)}}return o=o.trim(),i?o=i(n,u?"":o):u&&(o="none"),o}function PE(t,n,i){const{style:o,vars:u,transformOrigin:h}=t;let g=!1,v=!1;for(const S in n){const E=n[S];if(vg.has(S)){g=!0;continue}else if(jE(S)){u[S]=E;continue}else{const A=H4(E,HE[S]);S.startsWith("origin")?(v=!0,h[S]=A):o[S]=A}}if(n.transform||(g||i?o.transform=tH(n,t.transform,i):o.transform&&(o.transform="none")),v){const{originX:S="50%",originY:E="50%",originZ:A=0}=h;o.transformOrigin=`${S} ${E} ${A}`}}const kE=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Y4(t,n,i){for(const o in n)!Br(n[o])&&!$4(o,i)&&(t[o]=n[o])}function nH({transformTemplate:t},n){return ee.useMemo(()=>{const i=kE();return PE(i,n,t),Object.assign({},i.vars,i.style)},[n])}function aH(t,n){const i=t.style||{},o={};return Y4(o,i,t),Object.assign(o,nH(t,n)),o}function iH(t,n){const i={},o=aH(t,n);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=o,i}const rH=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function YE(t){return typeof t!="string"||t.includes("-")?!1:!!(rH.indexOf(t)>-1||/[A-Z]/u.test(t))}const lH={offset:"stroke-dashoffset",array:"stroke-dasharray"},oH={offset:"strokeDashoffset",array:"strokeDasharray"};function sH(t,n,i=1,o=0,u=!0){t.pathLength=1;const h=u?lH:oH;t[h.offset]=At.transform(-o);const g=At.transform(n),v=At.transform(i);t[h.array]=`${g} ${v}`}function q4(t,n,i){return typeof t=="string"?t:At.transform(n+i*t)}function uH(t,n,i){const o=q4(n,t.x,t.width),u=q4(i,t.y,t.height);return`${o} ${u}`}function qE(t,{attrX:n,attrY:i,attrScale:o,originX:u,originY:h,pathLength:g,pathSpacing:v=1,pathOffset:S=0,...E},A,C){if(PE(t,E,C),A){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:M,style:R,dimensions:B}=t;M.transform&&(B&&(R.transform=M.transform),delete M.transform),B&&(u!==void 0||h!==void 0||R.transform)&&(R.transformOrigin=uH(B,u!==void 0?u:.5,h!==void 0?h:.5)),n!==void 0&&(M.x=n),i!==void 0&&(M.y=i),o!==void 0&&(M.scale=o),g!==void 0&&sH(M,g,v,S,!1)}const G4=()=>({...kE(),attrs:{}}),GE=t=>typeof t=="string"&&t.toLowerCase()==="svg";function cH(t,n,i,o){const u=ee.useMemo(()=>{const h=G4();return qE(h,n,GE(o),t.transformTemplate),{...h.attrs,style:{...h.style}}},[n]);if(t.style){const h={};Y4(h,t.style,t),u.style={...h,...u.style}}return u}function fH(t=!1){return(i,o,u,{latestValues:h},g)=>{const S=(YE(i)?cH:iH)(o,h,g,i),E=L$(o,typeof i=="string",t),A=i!==ee.Fragment?{...E,...S,ref:u}:{},{children:C}=o,M=ee.useMemo(()=>Br(C)?C.get():C,[C]);return ee.createElement(i,{...A,children:M})}}function I4(t){const n=[{},{}];return t==null||t.values.forEach((i,o)=>{n[0][o]=i.get(),n[1][o]=i.getVelocity()}),n}function IE(t,n,i,o){if(typeof n=="function"){const[u,h]=I4(o);n=n(i!==void 0?i:t.custom,u,h)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[u,h]=I4(o);n=n(i!==void 0?i:t.custom,u,h)}return n}const FE=t=>Array.isArray(t),dH=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),hH=t=>FE(t)?t[t.length-1]||0:t;function sx(t){const n=Br(t)?t.get():t;return dH(n)?n.toValue():n}function mH({scrapeMotionValuesFromProps:t,createRenderState:n,onUpdate:i},o,u,h){const g={latestValues:pH(o,u,h,t),renderState:n()};return i&&(g.onMount=v=>i({props:o,current:v,...g}),g.onUpdate=v=>i(v)),g}const F4=t=>(n,i)=>{const o=ee.useContext(ix),u=ee.useContext(JS),h=()=>mH(t,n,o,u);return i?h():RE(h)};function pH(t,n,i,o){const u={},h=o(t,{});for(const M in h)u[M]=sx(h[M]);let{initial:g,animate:v}=t;const S=lx(t),E=z4(t);n&&E&&!S&&t.inherit!==!1&&(g===void 0&&(g=n.initial),v===void 0&&(v=n.animate));let A=i?i.initial===!1:!1;A=A||g===!1;const C=A?v:g;if(C&&typeof C!="boolean"&&!rx(C)){const M=Array.isArray(C)?C:[C];for(let R=0;R<M.length;R++){const B=IE(t,M[R]);if(B){const{transitionEnd:L,transition:P,...U}=B;for(const G in U){let q=U[G];if(Array.isArray(q)){const J=A?q.length-1:0;q=q[J]}q!==null&&(u[G]=q)}for(const G in L)u[G]=L[G]}}}return u}function XE(t,n,i){var o;const{style:u}=t,h={};for(const g in u)(Br(u[g])||n.style&&Br(n.style[g])||$4(g,t)||((o=i==null?void 0:i.getValue(g))===null||o===void 0?void 0:o.liveStyle)!==void 0)&&(h[g]=u[g]);return h}const gH={useVisualState:F4({scrapeMotionValuesFromProps:XE,createRenderState:kE})};function X4(t,n){try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}function Z4(t,{style:n,vars:i},o,u){Object.assign(t.style,n,u&&u.getProjectionStyles(o));for(const h in i)t.style.setProperty(h,i[h])}const K4=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Q4(t,n,i,o){Z4(t,n,void 0,o);for(const u in n.attrs)t.setAttribute(K4.has(u)?u:BE(u),n.attrs[u])}function W4(t,n,i){const o=XE(t,n,i);for(const u in t)if(Br(t[u])||Br(n[u])){const h=By.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;o[h]=t[u]}return o}const J4=["x","y","width","height","cx","cy","r"],yH={useVisualState:F4({scrapeMotionValuesFromProps:W4,createRenderState:G4,onUpdate:({props:t,prevProps:n,current:i,renderState:o,latestValues:u})=>{if(!i)return;let h=!!t.drag;if(!h){for(const v in u)if(vg.has(v)){h=!0;break}}if(!h)return;let g=!n;if(n)for(let v=0;v<J4.length;v++){const S=J4[v];t[S]!==n[S]&&(g=!0)}g&&ea.read(()=>{X4(i,o),ea.render(()=>{qE(o,u,GE(i.tagName),t.transformTemplate),Q4(i,o)})})}})};function vH(t,n){return function(o,{forwardMotionProps:u}={forwardMotionProps:!1}){const g={...YE(o)?yH:gH,preloadedFeatures:t,useRender:fH(u),createVisualElement:n,Component:o};return k$(g)}}function Z1(t,n,i){const o=t.getProps();return IE(o,n,i!==void 0?i:o.custom,t)}function ZE(t,n){return t?t[n]||t.default||t:void 0}const eR=new Set(["width","height","top","left","right","bottom",...By]);function KE(t,n){t.indexOf(n)===-1&&t.push(n)}function QE(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}class WE{constructor(){this.subscriptions=[]}add(n){return KE(this.subscriptions,n),()=>QE(this.subscriptions,n)}notify(n,i,o){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](n,i,o);else for(let h=0;h<u;h++){const g=this.subscriptions[h];g&&g(n,i,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tR(t,n){return n?t*(1e3/n):0}let ux;function bH(){ux=void 0}const Lc={now:()=>(ux===void 0&&Lc.set(mr.isProcessing||M$.useManualTiming?mr.timestamp:performance.now()),ux),set:t=>{ux=t,queueMicrotask(bH)}},nR=30,SH=t=>!isNaN(parseFloat(t));class xH{constructor(n,i={}){this.version="12.6.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,u=!0)=>{const h=Lc.now();this.updatedAt!==h&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),u&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=Lc.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=SH(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return process.env.NODE_ENV!=="production"&&ax(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new WE);const o=this.events[n].add(i);return n==="change"?()=>{o(),ea.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n,i=!0){!i||!this.passiveEffect?this.updateAndNotify(n,i):this.passiveEffect(n,this.updateAndNotify)}setWithVelocity(n,i,o){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-o}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=Lc.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>nR)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,nR);return tR(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function K1(t,n){return new xH(t,n)}function TH(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,K1(i))}function EH(t,n){const i=Z1(t,n);let{transitionEnd:o={},transition:u={},...h}=i||{};h={...h,...o};for(const g in h){const v=hH(h[g]);TH(t,g,v)}}function AH(t){return!!(Br(t)&&t.add)}function JE(t,n){const i=t.getValue("willChange");if(AH(i))return i.add(n)}function aR(t){return t.props[U4]}function eA(t){let n;return()=>(n===void 0&&(n=t()),n)}const wH=eA(()=>window.ScrollTimeline!==void 0);class CH{constructor(n){this.stop=()=>this.runAll("stop"),this.animations=n.filter(Boolean)}get finished(){return Promise.all(this.animations.map(n=>"finished"in n?n.finished:n))}getAll(n){return this.animations[0][n]}setAll(n,i){for(let o=0;o<this.animations.length;o++)this.animations[o][n]=i}attachTimeline(n,i){const o=this.animations.map(u=>{if(wH()&&u.attachTimeline)return u.attachTimeline(n);if(typeof i=="function")return i(u)});return()=>{o.forEach((u,h)=>{u&&u(),this.animations[h].stop()})}}get time(){return this.getAll("time")}set time(n){this.setAll("time",n)}get speed(){return this.getAll("speed")}set speed(n){this.setAll("speed",n)}get startTime(){return this.getAll("startTime")}get duration(){let n=0;for(let i=0;i<this.animations.length;i++)n=Math.max(n,this.animations[i].duration);return n}runAll(n){this.animations.forEach(i=>i[n]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class OH extends CH{then(n,i){return Promise.all(this.animations).then(n).catch(i)}}const Uc=t=>t*1e3,sd=t=>t/1e3;function tA(t){return typeof t=="function"}function iR(t,n){t.timeline=n,t.onfinish=null}const nA=t=>Array.isArray(t)&&typeof t[0]=="number",MH={linearEasing:void 0};function DH(t,n){const i=eA(t);return()=>{var o;return(o=MH[n])!==null&&o!==void 0?o:i()}}const cx=DH(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),$y=(t,n,i)=>{const o=n-t;return o===0?1:(i-t)/o},rR=(t,n,i=10)=>{let o="";const u=Math.max(Math.round(n/i),2);for(let h=0;h<u;h++)o+=t($y(0,u-1,h))+", ";return`linear(${o.substring(0,o.length-2)})`};function lR(t){return!!(typeof t=="function"&&cx()||!t||typeof t=="string"&&(t in aA||cx())||nA(t)||Array.isArray(t)&&t.every(lR))}const Q1=([t,n,i,o])=>`cubic-bezier(${t}, ${n}, ${i}, ${o})`,aA={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Q1([0,.65,.55,1]),circOut:Q1([.55,0,1,.45]),backIn:Q1([.31,.01,.66,-.59]),backOut:Q1([.33,1.53,.69,.99])};function oR(t,n){if(t)return typeof t=="function"&&cx()?rR(t,n):nA(t)?Q1(t):Array.isArray(t)?t.map(i=>oR(i,n)||aA.easeOut):aA[t]}const sR=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,RH=1e-7,_H=12;function NH(t,n,i,o,u){let h,g,v=0;do g=n+(i-n)/2,h=sR(g,o,u)-t,h>0?i=g:n=g;while(Math.abs(h)>RH&&++v<_H);return g}function W1(t,n,i,o){if(t===n&&i===o)return Hl;const u=h=>NH(h,0,1,t,i);return h=>h===0||h===1?h:sR(u(h),n,o)}const uR=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,cR=t=>n=>1-t(1-n),fR=W1(.33,1.53,.69,.99),iA=cR(fR),dR=uR(iA),hR=t=>(t*=2)<1?.5*iA(t):.5*(2-Math.pow(2,-10*(t-1))),rA=t=>1-Math.sin(Math.acos(t)),mR=cR(rA),pR=uR(rA),gR=t=>/^0[^.\s]+$/u.test(t);function zH(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||gR(t):!0}const J1=t=>Math.round(t*1e5)/1e5,lA=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function LH(t){return t==null}const UH=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,oA=(t,n)=>i=>!!(typeof i=="string"&&UH.test(i)&&i.startsWith(t)||n&&!LH(i)&&Object.prototype.hasOwnProperty.call(i,n)),yR=(t,n,i)=>o=>{if(typeof o!="string")return o;const[u,h,g,v]=o.match(lA);return{[t]:parseFloat(u),[n]:parseFloat(h),[i]:parseFloat(g),alpha:v!==void 0?parseFloat(v):1}},VH=t=>od(0,255,t),sA={...jy,transform:t=>Math.round(VH(t))},bg={test:oA("rgb","red"),parse:yR("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:o=1})=>"rgba("+sA.transform(t)+", "+sA.transform(n)+", "+sA.transform(i)+", "+J1(F1.transform(o))+")"};function BH(t){let n="",i="",o="",u="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),o=t.substring(5,7),u=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),o=t.substring(3,4),u=t.substring(4,5),n+=n,i+=i,o+=o,u+=u),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(o,16),alpha:u?parseInt(u,16)/255:1}}const uA={test:oA("#"),parse:BH,transform:bg.transform},Hy={test:oA("hsl","hue"),parse:yR("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+zc.transform(J1(n))+", "+zc.transform(J1(i))+", "+J1(F1.transform(o))+")"},jr={test:t=>bg.test(t)||uA.test(t)||Hy.test(t),parse:t=>bg.test(t)?bg.parse(t):Hy.test(t)?Hy.parse(t):uA.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?bg.transform(t):Hy.transform(t)},jH=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $H(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(lA))===null||n===void 0?void 0:n.length)||0)+(((i=t.match(jH))===null||i===void 0?void 0:i.length)||0)>0}const vR="number",bR="color",HH="var",PH="var(",SR="${}",kH=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function eb(t){const n=t.toString(),i=[],o={color:[],number:[],var:[]},u=[];let h=0;const v=n.replace(kH,S=>(jr.test(S)?(o.color.push(h),u.push(bR),i.push(jr.parse(S))):S.startsWith(PH)?(o.var.push(h),u.push(HH),i.push(S)):(o.number.push(h),u.push(vR),i.push(parseFloat(S))),++h,SR)).split(SR);return{values:i,split:v,indexes:o,types:u}}function xR(t){return eb(t).values}function TR(t){const{split:n,types:i}=eb(t),o=n.length;return u=>{let h="";for(let g=0;g<o;g++)if(h+=n[g],u[g]!==void 0){const v=i[g];v===vR?h+=J1(u[g]):v===bR?h+=jr.transform(u[g]):h+=u[g]}return h}}const YH=t=>typeof t=="number"?0:t;function qH(t){const n=xR(t);return TR(t)(n.map(YH))}const lm={test:$H,parse:xR,createTransformer:TR,getAnimatableNone:qH},GH=new Set(["brightness","contrast","saturate","opacity"]);function IH(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[o]=i.match(lA)||[];if(!o)return t;const u=i.replace(o,"");let h=GH.has(n)?1:0;return o!==i&&(h*=100),n+"("+h+u+")"}const FH=/\b([a-z-]*)\(.*?\)/gu,cA={...lm,getAnimatableNone:t=>{const n=t.match(FH);return n?n.map(IH).join(" "):t}},XH={...HE,color:jr,backgroundColor:jr,outlineColor:jr,fill:jr,stroke:jr,borderColor:jr,borderTopColor:jr,borderRightColor:jr,borderBottomColor:jr,borderLeftColor:jr,filter:cA,WebkitFilter:cA},ER=t=>XH[t];function AR(t,n){let i=ER(t);return i!==cA&&(i=lm),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const ZH=new Set(["auto","none","0"]);function KH(t,n,i){let o=0,u;for(;o<t.length&&!u;){const h=t[o];typeof h=="string"&&!ZH.has(h)&&eb(h).values.length&&(u=t[o]),o++}if(u&&i)for(const h of n)t[h]=AR(i,u)}const Sg=t=>t*180/Math.PI,fA=t=>{const n=Sg(Math.atan2(t[1],t[0]));return dA(n)},QH={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:fA,rotateZ:fA,skewX:t=>Sg(Math.atan(t[1])),skewY:t=>Sg(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},dA=t=>(t=t%360,t<0&&(t+=360),t),wR=fA,CR=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),OR=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),WH={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:CR,scaleY:OR,scale:t=>(CR(t)+OR(t))/2,rotateX:t=>dA(Sg(Math.atan2(t[6],t[5]))),rotateY:t=>dA(Sg(Math.atan2(-t[2],t[0]))),rotateZ:wR,rotate:wR,skewX:t=>Sg(Math.atan(t[4])),skewY:t=>Sg(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function MR(t){return t.includes("scale")?1:0}function hA(t,n){if(!t||t==="none")return MR(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,u;if(i)o=WH,u=i;else{const v=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=QH,u=v}if(!u)return MR(n);const h=o[n],g=u[1].split(",").map(eP);return typeof h=="function"?h(g):g[h]}const JH=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return hA(i,n)};function eP(t){return parseFloat(t.trim())}const DR=t=>t===jy||t===At,tP=new Set(["x","y","z"]),nP=By.filter(t=>!tP.has(t));function aP(t){const n=[];return nP.forEach(i=>{const o=t.getValue(i);o!==void 0&&(n.push([i,o.get()]),o.set(i.startsWith("scale")?1:0))}),n}const Py={width:({x:t},{paddingLeft:n="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),height:({y:t},{paddingTop:n="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>hA(n,"x"),y:(t,{transform:n})=>hA(n,"y")};Py.translateX=Py.x,Py.translateY=Py.y;const xg=new Set;let mA=!1,pA=!1;function RR(){if(pA){const t=Array.from(xg).filter(o=>o.needsMeasurement),n=new Set(t.map(o=>o.element)),i=new Map;n.forEach(o=>{const u=aP(o);u.length&&(i.set(o,u),o.render())}),t.forEach(o=>o.measureInitialState()),n.forEach(o=>{o.render();const u=i.get(o);u&&u.forEach(([h,g])=>{var v;(v=o.getValue(h))===null||v===void 0||v.set(g)})}),t.forEach(o=>o.measureEndState()),t.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}pA=!1,mA=!1,xg.forEach(t=>t.complete()),xg.clear()}function _R(){xg.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(pA=!0)})}function iP(){_R(),RR()}class gA{constructor(n,i,o,u,h,g=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=o,this.motionValue=u,this.element=h,this.isAsync=g}scheduleResolve(){this.isScheduled=!0,this.isAsync?(xg.add(this),mA||(mA=!0,ea.read(_R),ea.resolveKeyframes(RR))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:o,motionValue:u}=this;for(let h=0;h<n.length;h++)if(n[h]===null)if(h===0){const g=u==null?void 0:u.get(),v=n[n.length-1];if(g!==void 0)n[0]=g;else if(o&&i){const S=o.readValue(i,v);S!=null&&(n[0]=S)}n[0]===void 0&&(n[0]=v),u&&g===void 0&&u.set(n[0])}else n[h]=n[h-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),xg.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,xg.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const NR=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),rP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function lP(t){const n=rP.exec(t);if(!n)return[,];const[,i,o,u]=n;return[`--${i??o}`,u]}const oP=4;function zR(t,n,i=1){am(i<=oP,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[o,u]=lP(t);if(!o)return;const h=window.getComputedStyle(n).getPropertyValue(o);if(h){const g=h.trim();return NR(g)?parseFloat(g):g}return $E(u)?zR(u,n,i+1):u}const LR=t=>n=>n.test(t),UR=[jy,At,zc,rm,K$,Z$,{test:t=>t==="auto",parse:t=>t}],VR=t=>UR.find(LR(t));class BR extends gA{constructor(n,i,o,u,h){super(n,i,o,u,h,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:o}=this;if(!i||!i.current)return;super.readKeyframes();for(let S=0;S<n.length;S++){let E=n[S];if(typeof E=="string"&&(E=E.trim(),$E(E))){const A=zR(E,i.current);A!==void 0&&(n[S]=A),S===n.length-1&&(this.finalKeyframe=E)}}if(this.resolveNoneKeyframes(),!eR.has(o)||n.length!==2)return;const[u,h]=n,g=VR(u),v=VR(h);if(g!==v)if(DR(g)&&DR(v))for(let S=0;S<n.length;S++){const E=n[S];typeof E=="string"&&(n[S]=parseFloat(E))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,o=[];for(let u=0;u<n.length;u++)zH(n[u])&&o.push(u);o.length&&KH(n,o,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:o}=this;if(!n||!n.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Py[o](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const u=i[i.length-1];u!==void 0&&n.getValue(o,u).jump(u,!1)}measureEndState(){var n;const{element:i,name:o,unresolvedKeyframes:u}=this;if(!i||!i.current)return;const h=i.getValue(o);h&&h.jump(this.measuredOrigin,!1);const g=u.length-1,v=u[g];u[g]=Py[o](i.measureViewportBox(),window.getComputedStyle(i.current)),v!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=v),!((n=this.removedTransforms)===null||n===void 0)&&n.length&&this.removedTransforms.forEach(([S,E])=>{i.getValue(S).set(E)}),this.resolveNoneKeyframes()}}const jR=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(lm.test(t)||t==="0")&&!t.startsWith("url("));function sP(t){const n=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}function uP(t,n,i,o){const u=t[0];if(u===null)return!1;if(n==="display"||n==="visibility")return!0;const h=t[t.length-1],g=jR(u,n),v=jR(h,n);return Ly(g===v,`You are trying to animate ${n} from "${u}" to "${h}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${h} via the \`style\` property.`),!g||!v?!1:sP(t)||(i==="spring"||tA(i))&&o}const cP=t=>t!==null;function fx(t,{repeat:n,repeatType:i="loop"},o){const u=t.filter(cP),h=n&&i!=="loop"&&n%2===1?0:u.length-1;return!h||o===void 0?u[h]:o}const fP=40;class $R{constructor({autoplay:n=!0,delay:i=0,type:o="keyframes",repeat:u=0,repeatDelay:h=0,repeatType:g="loop",...v}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Lc.now(),this.options={autoplay:n,delay:i,type:o,repeat:u,repeatDelay:h,repeatType:g,...v},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>fP?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&iP(),this._resolved}onKeyframesResolved(n,i){this.resolvedAt=Lc.now(),this.hasAttemptedResolve=!0;const{name:o,type:u,velocity:h,delay:g,onComplete:v,onUpdate:S,isGenerator:E}=this.options;if(!E&&!uP(n,o,u,h))if(g)this.options.duration=0;else{S&&S(fx(n,this.options,i)),v&&v(),this.resolveFinishedPromise();return}const A=this.initPlayback(n,i);A!==!1&&(this._resolved={keyframes:n,finalKeyframe:i,...A},this.onPostResolved())}onPostResolved(){}then(n,i){return this.currentFinishedPromise.then(n,i)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(n=>{this.resolveFinishedPromise=n})}}const yA=2e4;function HR(t){let n=0;const i=50;let o=t.next(n);for(;!o.done&&n<yA;)n+=i,o=t.next(n);return n>=yA?1/0:n}const Ea=(t,n,i)=>t+(n-t)*i;function vA(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}function dP({hue:t,saturation:n,lightness:i,alpha:o}){t/=360,n/=100,i/=100;let u=0,h=0,g=0;if(!n)u=h=g=i;else{const v=i<.5?i*(1+n):i+n-i*n,S=2*i-v;u=vA(S,v,t+1/3),h=vA(S,v,t),g=vA(S,v,t-1/3)}return{red:Math.round(u*255),green:Math.round(h*255),blue:Math.round(g*255),alpha:o}}function dx(t,n){return i=>i>0?n:t}const bA=(t,n,i)=>{const o=t*t,u=i*(n*n-o)+o;return u<0?0:Math.sqrt(u)},hP=[uA,bg,Hy],mP=t=>hP.find(n=>n.test(t));function PR(t){const n=mP(t);if(Ly(!!n,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!n)return!1;let i=n.parse(t);return n===Hy&&(i=dP(i)),i}const kR=(t,n)=>{const i=PR(t),o=PR(n);if(!i||!o)return dx(t,n);const u={...i};return h=>(u.red=bA(i.red,o.red,h),u.green=bA(i.green,o.green,h),u.blue=bA(i.blue,o.blue,h),u.alpha=Ea(i.alpha,o.alpha,h),bg.transform(u))},pP=(t,n)=>i=>n(t(i)),tb=(...t)=>t.reduce(pP),SA=new Set(["none","hidden"]);function gP(t,n){return SA.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function yP(t,n){return i=>Ea(t,n,i)}function xA(t){return typeof t=="number"?yP:typeof t=="string"?$E(t)?dx:jr.test(t)?kR:SP:Array.isArray(t)?YR:typeof t=="object"?jr.test(t)?kR:vP:dx}function YR(t,n){const i=[...t],o=i.length,u=t.map((h,g)=>xA(h)(h,n[g]));return h=>{for(let g=0;g<o;g++)i[g]=u[g](h);return i}}function vP(t,n){const i={...t,...n},o={};for(const u in i)t[u]!==void 0&&n[u]!==void 0&&(o[u]=xA(t[u])(t[u],n[u]));return u=>{for(const h in o)i[h]=o[h](u);return i}}function bP(t,n){var i;const o=[],u={color:0,var:0,number:0};for(let h=0;h<n.values.length;h++){const g=n.types[h],v=t.indexes[g][u[g]],S=(i=t.values[v])!==null&&i!==void 0?i:0;o[h]=S,u[g]++}return o}const SP=(t,n)=>{const i=lm.createTransformer(n),o=eb(t),u=eb(n);return o.indexes.var.length===u.indexes.var.length&&o.indexes.color.length===u.indexes.color.length&&o.indexes.number.length>=u.indexes.number.length?SA.has(t)&&!u.values.length||SA.has(n)&&!o.values.length?gP(t,n):tb(YR(bP(o,u),u.values),i):(Ly(!0,`Complex values '${t}' and '${n}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),dx(t,n))};function qR(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?Ea(t,n,i):xA(t)(t,n)}const xP=5;function GR(t,n,i){const o=Math.max(n-xP,0);return tR(i-t(o),n-o)}const Aa={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},IR=.001;function TP({duration:t=Aa.duration,bounce:n=Aa.bounce,velocity:i=Aa.velocity,mass:o=Aa.mass}){let u,h;Ly(t<=Uc(Aa.maxDuration),"Spring duration must be 10 seconds or less");let g=1-n;g=od(Aa.minDamping,Aa.maxDamping,g),t=od(Aa.minDuration,Aa.maxDuration,sd(t)),g<1?(u=E=>{const A=E*g,C=A*t,M=A-i,R=TA(E,g),B=Math.exp(-C);return IR-M/R*B},h=E=>{const C=E*g*t,M=C*i+i,R=Math.pow(g,2)*Math.pow(E,2)*t,B=Math.exp(-C),L=TA(Math.pow(E,2),g);return(-u(E)+IR>0?-1:1)*((M-R)*B)/L}):(u=E=>{const A=Math.exp(-E*t),C=(E-i)*t+1;return-.001+A*C},h=E=>{const A=Math.exp(-E*t),C=(i-E)*(t*t);return A*C});const v=5/t,S=AP(u,h,v);if(t=Uc(t),isNaN(S))return{stiffness:Aa.stiffness,damping:Aa.damping,duration:t};{const E=Math.pow(S,2)*o;return{stiffness:E,damping:g*2*Math.sqrt(o*E),duration:t}}}const EP=12;function AP(t,n,i){let o=i;for(let u=1;u<EP;u++)o=o-t(o)/n(o);return o}function TA(t,n){return t*Math.sqrt(1-n*n)}const wP=["duration","bounce"],CP=["stiffness","damping","mass"];function FR(t,n){return n.some(i=>t[i]!==void 0)}function OP(t){let n={velocity:Aa.velocity,stiffness:Aa.stiffness,damping:Aa.damping,mass:Aa.mass,isResolvedFromDuration:!1,...t};if(!FR(t,CP)&&FR(t,wP))if(t.visualDuration){const i=t.visualDuration,o=2*Math.PI/(i*1.2),u=o*o,h=2*od(.05,1,1-(t.bounce||0))*Math.sqrt(u);n={...n,mass:Aa.mass,stiffness:u,damping:h}}else{const i=TP(t);n={...n,...i,mass:Aa.mass},n.isResolvedFromDuration=!0}return n}function XR(t=Aa.visualDuration,n=Aa.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:o,restDelta:u}=i;const h=i.keyframes[0],g=i.keyframes[i.keyframes.length-1],v={done:!1,value:h},{stiffness:S,damping:E,mass:A,duration:C,velocity:M,isResolvedFromDuration:R}=OP({...i,velocity:-sd(i.velocity||0)}),B=M||0,L=E/(2*Math.sqrt(S*A)),P=g-h,U=sd(Math.sqrt(S/A)),G=Math.abs(P)<5;o||(o=G?Aa.restSpeed.granular:Aa.restSpeed.default),u||(u=G?Aa.restDelta.granular:Aa.restDelta.default);let q;if(L<1){const Y=TA(U,L);q=le=>{const me=Math.exp(-L*U*le);return g-me*((B+L*U*P)/Y*Math.sin(Y*le)+P*Math.cos(Y*le))}}else if(L===1)q=Y=>g-Math.exp(-U*Y)*(P+(B+U*P)*Y);else{const Y=U*Math.sqrt(L*L-1);q=le=>{const me=Math.exp(-L*U*le),pe=Math.min(Y*le,300);return g-me*((B+L*U*P)*Math.sinh(pe)+Y*P*Math.cosh(pe))/Y}}const J={calculatedDuration:R&&C||null,next:Y=>{const le=q(Y);if(R)v.done=Y>=C;else{let me=0;L<1&&(me=Y===0?Uc(B):GR(q,Y,le));const pe=Math.abs(me)<=o,ve=Math.abs(g-le)<=u;v.done=pe&&ve}return v.value=v.done?g:le,v},toString:()=>{const Y=Math.min(HR(J),yA),le=rR(me=>J.next(Y*me).value,Y,30);return Y+"ms "+le}};return J}function ZR({keyframes:t,velocity:n=0,power:i=.8,timeConstant:o=325,bounceDamping:u=10,bounceStiffness:h=500,modifyTarget:g,min:v,max:S,restDelta:E=.5,restSpeed:A}){const C=t[0],M={done:!1,value:C},R=pe=>v!==void 0&&pe<v||S!==void 0&&pe>S,B=pe=>v===void 0?S:S===void 0||Math.abs(v-pe)<Math.abs(S-pe)?v:S;let L=i*n;const P=C+L,U=g===void 0?P:g(P);U!==P&&(L=U-C);const G=pe=>-L*Math.exp(-pe/o),q=pe=>U+G(pe),J=pe=>{const ve=G(pe),He=q(pe);M.done=Math.abs(ve)<=E,M.value=M.done?U:He};let Y,le;const me=pe=>{R(M.value)&&(Y=pe,le=XR({keyframes:[M.value,B(M.value)],velocity:GR(q,pe,M.value),damping:u,stiffness:h,restDelta:E,restSpeed:A}))};return me(0),{calculatedDuration:null,next:pe=>{let ve=!1;return!le&&Y===void 0&&(ve=!0,J(pe),me(pe)),Y!==void 0&&pe>=Y?le.next(pe-Y):(!ve&&J(pe),M)}}}const MP=W1(.42,0,1,1),DP=W1(0,0,.58,1),KR=W1(.42,0,.58,1),RP=t=>Array.isArray(t)&&typeof t[0]!="number",QR={linear:Hl,easeIn:MP,easeInOut:KR,easeOut:DP,circIn:rA,circInOut:pR,circOut:mR,backIn:iA,backInOut:dR,backOut:fR,anticipate:hR},WR=t=>{if(nA(t)){am(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[n,i,o,u]=t;return W1(n,i,o,u)}else if(typeof t=="string")return am(QR[t]!==void 0,`Invalid easing type '${t}'`),QR[t];return t};function _P(t,n,i){const o=[],u=i||qR,h=t.length-1;for(let g=0;g<h;g++){let v=u(t[g],t[g+1]);if(n){const S=Array.isArray(n)?n[g]||Hl:n;v=tb(S,v)}o.push(v)}return o}function NP(t,n,{clamp:i=!0,ease:o,mixer:u}={}){const h=t.length;if(am(h===n.length,"Both input and output ranges must be the same length"),h===1)return()=>n[0];if(h===2&&n[0]===n[1])return()=>n[1];const g=t[0]===t[1];t[0]>t[h-1]&&(t=[...t].reverse(),n=[...n].reverse());const v=_P(n,o,u),S=v.length,E=A=>{if(g&&A<t[0])return n[0];let C=0;if(S>1)for(;C<t.length-2&&!(A<t[C+1]);C++);const M=$y(t[C],t[C+1],A);return v[C](M)};return i?A=>E(od(t[0],t[h-1],A)):E}function zP(t,n){const i=t[t.length-1];for(let o=1;o<=n;o++){const u=$y(0,n,o);t.push(Ea(i,1,u))}}function LP(t){const n=[0];return zP(n,t.length-1),n}function UP(t,n){return t.map(i=>i*n)}function VP(t,n){return t.map(()=>n||KR).splice(0,t.length-1)}function nb({duration:t=300,keyframes:n,times:i,ease:o="easeInOut"}){const u=RP(o)?o.map(WR):WR(o),h={done:!1,value:n[0]},g=UP(i&&i.length===n.length?i:LP(n),t),v=NP(g,n,{ease:Array.isArray(u)?u:VP(n,u)});return{calculatedDuration:t,next:S=>(h.value=v(S),h.done=S>=t,h)}}const BP=t=>{const n=({timestamp:i})=>t(i);return{start:()=>ea.update(n,!0),stop:()=>im(n),now:()=>mr.isProcessing?mr.timestamp:Lc.now()}},jP={decay:ZR,inertia:ZR,tween:nb,keyframes:nb,spring:XR},$P=t=>t/100;class EA extends $R{constructor(n){super(n),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:S}=this.options;S&&S()};const{name:i,motionValue:o,element:u,keyframes:h}=this.options,g=(u==null?void 0:u.KeyframeResolver)||gA,v=(S,E)=>this.onKeyframesResolved(S,E);this.resolver=new g(h,v,i,o,u),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(n){const{type:i="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:h,velocity:g=0}=this.options,v=tA(i)?i:jP[i]||nb;let S,E;process.env.NODE_ENV!=="production"&&v!==nb&&am(n.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${n}`),v!==nb&&typeof n[0]!="number"&&(S=tb($P,qR(n[0],n[1])),n=[0,100]);const A=v({...this.options,keyframes:n});h==="mirror"&&(E=v({...this.options,keyframes:[...n].reverse(),velocity:-g})),A.calculatedDuration===null&&(A.calculatedDuration=HR(A));const{calculatedDuration:C}=A,M=C+u,R=M*(o+1)-u;return{generator:A,mirroredGenerator:E,mapPercentToKeyframes:S,calculatedDuration:C,resolvedDuration:M,totalDuration:R}}onPostResolved(){const{autoplay:n=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!n?this.pause():this.state=this.pendingPlayState}tick(n,i=!1){const{resolved:o}=this;if(!o){const{keyframes:pe}=this.options;return{done:!0,value:pe[pe.length-1]}}const{finalKeyframe:u,generator:h,mirroredGenerator:g,mapPercentToKeyframes:v,keyframes:S,calculatedDuration:E,totalDuration:A,resolvedDuration:C}=o;if(this.startTime===null)return h.next(0);const{delay:M,repeat:R,repeatType:B,repeatDelay:L,onUpdate:P}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-A/this.speed,this.startTime)),i?this.currentTime=n:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(n-this.startTime)*this.speed;const U=this.currentTime-M*(this.speed>=0?1:-1),G=this.speed>=0?U<0:U>A;this.currentTime=Math.max(U,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=A);let q=this.currentTime,J=h;if(R){const pe=Math.min(this.currentTime,A)/C;let ve=Math.floor(pe),He=pe%1;!He&&pe>=1&&(He=1),He===1&&ve--,ve=Math.min(ve,R+1),!!(ve%2)&&(B==="reverse"?(He=1-He,L&&(He-=L/C)):B==="mirror"&&(J=g)),q=od(0,1,He)*C}const Y=G?{done:!1,value:S[0]}:J.next(q);v&&(Y.value=v(Y.value));let{done:le}=Y;!G&&E!==null&&(le=this.speed>=0?this.currentTime>=A:this.currentTime<=0);const me=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&le);return me&&u!==void 0&&(Y.value=fx(S,this.options,u)),P&&P(Y.value),me&&this.finish(),Y}get duration(){const{resolved:n}=this;return n?sd(n.calculatedDuration):0}get time(){return sd(this.currentTime)}set time(n){n=Uc(n),this.currentTime=n,this.holdTime!==null||this.speed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.speed)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;this.playbackSpeed=n,i&&(this.time=sd(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:n=BP,onPlay:i,startTime:o}=this.options;this.driver||(this.driver=n(h=>this.tick(h))),i&&i();const u=this.driver.now();this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=u):this.startTime=o??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var n;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(n=this.currentTime)!==null&&n!==void 0?n:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:n}=this.options;n&&n()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}}const HP=new Set(["opacity","clipPath","filter","transform"]);function PP(t,n,i,{delay:o=0,duration:u=300,repeat:h=0,repeatType:g="loop",ease:v="easeInOut",times:S}={}){const E={[n]:i};S&&(E.offset=S);const A=oR(v,u);return Array.isArray(A)&&(E.easing=A),t.animate(E,{delay:o,duration:u,easing:Array.isArray(A)?"linear":A,fill:"both",iterations:h+1,direction:g==="reverse"?"alternate":"normal"})}const kP=eA(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),hx=10,YP=2e4;function qP(t){return tA(t.type)||t.type==="spring"||!lR(t.ease)}function GP(t,n){const i=new EA({...n,keyframes:t,repeat:0,delay:0,isGenerator:!0});let o={done:!1,value:t[0]};const u=[];let h=0;for(;!o.done&&h<YP;)o=i.sample(h),u.push(o.value),h+=hx;return{times:void 0,keyframes:u,duration:h-hx,ease:"linear"}}const JR={anticipate:hR,backInOut:dR,circInOut:pR};function IP(t){return t in JR}class e6 extends $R{constructor(n){super(n);const{name:i,motionValue:o,element:u,keyframes:h}=this.options;this.resolver=new BR(h,(g,v)=>this.onKeyframesResolved(g,v),i,o,u),this.resolver.scheduleResolve()}initPlayback(n,i){let{duration:o=300,times:u,ease:h,type:g,motionValue:v,name:S,startTime:E}=this.options;if(!v.owner||!v.owner.current)return!1;if(typeof h=="string"&&cx()&&IP(h)&&(h=JR[h]),qP(this.options)){const{onComplete:C,onUpdate:M,motionValue:R,element:B,...L}=this.options,P=GP(n,L);n=P.keyframes,n.length===1&&(n[1]=n[0]),o=P.duration,u=P.times,h=P.ease,g="keyframes"}const A=PP(v.owner.current,S,n,{...this.options,duration:o,times:u,ease:h});return A.startTime=E??this.calcStartTime(),this.pendingTimeline?(iR(A,this.pendingTimeline),this.pendingTimeline=void 0):A.onfinish=()=>{const{onComplete:C}=this.options;v.set(fx(n,this.options,i)),C&&C(),this.cancel(),this.resolveFinishedPromise()},{animation:A,duration:o,times:u,type:g,ease:h,keyframes:n}}get duration(){const{resolved:n}=this;if(!n)return 0;const{duration:i}=n;return sd(i)}get time(){const{resolved:n}=this;if(!n)return 0;const{animation:i}=n;return sd(i.currentTime||0)}set time(n){const{resolved:i}=this;if(!i)return;const{animation:o}=i;o.currentTime=Uc(n)}get speed(){const{resolved:n}=this;if(!n)return 1;const{animation:i}=n;return i.playbackRate}set speed(n){const{resolved:i}=this;if(!i)return;const{animation:o}=i;o.playbackRate=n}get state(){const{resolved:n}=this;if(!n)return"idle";const{animation:i}=n;return i.playState}get startTime(){const{resolved:n}=this;if(!n)return null;const{animation:i}=n;return i.startTime}attachTimeline(n){if(!this._resolved)this.pendingTimeline=n;else{const{resolved:i}=this;if(!i)return Hl;const{animation:o}=i;iR(o,n)}return Hl}play(){if(this.isStopped)return;const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playState==="finished"&&this.updateFinishedPromise(),i.play()}pause(){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:n}=this;if(!n)return;const{animation:i,keyframes:o,duration:u,type:h,ease:g,times:v}=n;if(i.playState==="idle"||i.playState==="finished")return;if(this.time){const{motionValue:E,onUpdate:A,onComplete:C,element:M,...R}=this.options,B=new EA({...R,keyframes:o,duration:u,type:h,ease:g,times:v,isGenerator:!0}),L=Uc(this.time);E.setWithVelocity(B.sample(L-hx).value,B.sample(L).value,hx)}const{onStop:S}=this.options;S&&S(),this.cancel()}complete(){const{resolved:n}=this;n&&n.animation.finish()}cancel(){const{resolved:n}=this;n&&n.animation.cancel()}static supports(n){const{motionValue:i,name:o,repeatDelay:u,repeatType:h,damping:g,type:v}=n;if(!i||!i.owner||!(i.owner.current instanceof HTMLElement))return!1;const{onUpdate:S,transformTemplate:E}=i.owner.getProps();return kP()&&o&&HP.has(o)&&(o!=="transform"||!E)&&!S&&!u&&h!=="mirror"&&g!==0&&v!=="inertia"}}const FP={type:"spring",stiffness:500,damping:25,restSpeed:10},XP=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),ZP={type:"keyframes",duration:.8},KP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},QP=(t,{keyframes:n})=>n.length>2?ZP:vg.has(t)?t.startsWith("scale")?XP(n[1]):FP:KP;function WP({when:t,delay:n,delayChildren:i,staggerChildren:o,staggerDirection:u,repeat:h,repeatType:g,repeatDelay:v,from:S,elapsed:E,...A}){return!!Object.keys(A).length}const AA=(t,n,i,o={},u,h)=>g=>{const v=ZE(o,t)||{},S=v.delay||o.delay||0;let{elapsed:E=0}=o;E=E-Uc(S);let A={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...v,delay:-E,onUpdate:M=>{n.set(M),v.onUpdate&&v.onUpdate(M)},onComplete:()=>{g(),v.onComplete&&v.onComplete()},name:t,motionValue:n,element:h?void 0:u};WP(v)||(A={...A,...QP(t,A)}),A.duration&&(A.duration=Uc(A.duration)),A.repeatDelay&&(A.repeatDelay=Uc(A.repeatDelay)),A.from!==void 0&&(A.keyframes[0]=A.from);let C=!1;if((A.type===!1||A.duration===0&&!A.repeatDelay)&&(A.duration=0,A.delay===0&&(C=!0)),A.allowFlatten=!v.type&&!v.ease,C&&!h&&n.get()!==void 0){const M=fx(A.keyframes,v);if(M!==void 0)return ea.update(()=>{A.onUpdate(M),A.onComplete()}),new OH([])}return!h&&e6.supports(A)?new e6(A):new EA(A)};function JP({protectedKeys:t,needsAnimating:n},i){const o=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,o}function t6(t,n,{delay:i=0,transitionOverride:o,type:u}={}){var h;let{transition:g=t.getDefaultTransition(),transitionEnd:v,...S}=n;o&&(g=o);const E=[],A=u&&t.animationState&&t.animationState.getState()[u];for(const C in S){const M=t.getValue(C,(h=t.latestValues[C])!==null&&h!==void 0?h:null),R=S[C];if(R===void 0||A&&JP(A,C))continue;const B={delay:i,...ZE(g||{},C)};let L=!1;if(window.MotionHandoffAnimation){const U=aR(t);if(U){const G=window.MotionHandoffAnimation(U,C,ea);G!==null&&(B.startTime=G,L=!0)}}JE(t,C),M.start(AA(C,M,R,t.shouldReduceMotion&&eR.has(C)?{type:!1}:B,t,L));const P=M.animation;P&&E.push(P)}return v&&Promise.all(E).then(()=>{ea.update(()=>{v&&EH(t,v)})}),E}function wA(t,n,i={}){var o;const u=Z1(t,n,i.type==="exit"?(o=t.presenceContext)===null||o===void 0?void 0:o.custom:void 0);let{transition:h=t.getDefaultTransition()||{}}=u||{};i.transitionOverride&&(h=i.transitionOverride);const g=u?()=>Promise.all(t6(t,u,i)):()=>Promise.resolve(),v=t.variantChildren&&t.variantChildren.size?(E=0)=>{const{delayChildren:A=0,staggerChildren:C,staggerDirection:M}=h;return ek(t,n,A+E,C,M,i)}:()=>Promise.resolve(),{when:S}=h;if(S){const[E,A]=S==="beforeChildren"?[g,v]:[v,g];return E().then(()=>A())}else return Promise.all([g(),v(i.delay)])}function ek(t,n,i=0,o=0,u=1,h){const g=[],v=(t.variantChildren.size-1)*o,S=u===1?(E=0)=>E*o:(E=0)=>v-E*o;return Array.from(t.variantChildren).sort(tk).forEach((E,A)=>{E.notify("AnimationStart",n),g.push(wA(E,n,{...h,delay:i+S(A)}).then(()=>E.notify("AnimationComplete",n)))}),Promise.all(g)}function tk(t,n){return t.sortNodePosition(n)}function nk(t,n,i={}){t.notify("AnimationStart",n);let o;if(Array.isArray(n)){const u=n.map(h=>wA(t,h,i));o=Promise.all(u)}else if(typeof n=="string")o=wA(t,n,i);else{const u=typeof n=="function"?Z1(t,n,i.custom):n;o=Promise.all(t6(t,u,i))}return o.then(()=>{t.notify("AnimationComplete",n)})}function n6(t,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==t.length)return!1;for(let o=0;o<i;o++)if(n[o]!==t[o])return!1;return!0}const ak=UE.length;function a6(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?a6(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<ak;i++){const o=UE[i],u=t.props[o];(G1(u)||u===!1)&&(n[o]=u)}return n}const ik=[...LE].reverse(),rk=LE.length;function lk(t){return n=>Promise.all(n.map(({animation:i,options:o})=>nk(t,i,o)))}function ok(t){let n=lk(t),i=i6(),o=!0;const u=S=>(E,A)=>{var C;const M=Z1(t,A,S==="exit"?(C=t.presenceContext)===null||C===void 0?void 0:C.custom:void 0);if(M){const{transition:R,transitionEnd:B,...L}=M;E={...E,...L,...B}}return E};function h(S){n=S(t)}function g(S){const{props:E}=t,A=a6(t.parent)||{},C=[],M=new Set;let R={},B=1/0;for(let P=0;P<rk;P++){const U=ik[P],G=i[U],q=E[U]!==void 0?E[U]:A[U],J=G1(q),Y=U===S?G.isActive:null;Y===!1&&(B=P);let le=q===A[U]&&q!==E[U]&&J;if(le&&o&&t.manuallyAnimateOnMount&&(le=!1),G.protectedKeys={...R},!G.isActive&&Y===null||!q&&!G.prevProp||rx(q)||typeof q=="boolean")continue;const me=sk(G.prevProp,q);let pe=me||U===S&&G.isActive&&!le&&J||P>B&&J,ve=!1;const He=Array.isArray(q)?q:[q];let Be=He.reduce(u(U),{});Y===!1&&(Be={});const{prevResolvedValues:Pe={}}=G,Qe={...Pe,...Be},Xe=ne=>{pe=!0,M.has(ne)&&(ve=!0,M.delete(ne)),G.needsAnimating[ne]=!0;const oe=t.getValue(ne);oe&&(oe.liveStyle=!1)};for(const ne in Qe){const oe=Be[ne],Me=Pe[ne];if(R.hasOwnProperty(ne))continue;let X=!1;FE(oe)&&FE(Me)?X=!n6(oe,Me):X=oe!==Me,X?oe!=null?Xe(ne):M.add(ne):oe!==void 0&&M.has(ne)?Xe(ne):G.protectedKeys[ne]=!0}G.prevProp=q,G.prevResolvedValues=Be,G.isActive&&(R={...R,...Be}),o&&t.blockInitialAnimation&&(pe=!1),pe&&(!(le&&me)||ve)&&C.push(...He.map(ne=>({animation:ne,options:{type:U}})))}if(M.size){const P={};if(typeof E.initial!="boolean"){const U=Z1(t,Array.isArray(E.initial)?E.initial[0]:E.initial);U&&U.transition&&(P.transition=U.transition)}M.forEach(U=>{const G=t.getBaseTarget(U),q=t.getValue(U);q&&(q.liveStyle=!0),P[U]=G??null}),C.push({animation:P})}let L=!!C.length;return o&&(E.initial===!1||E.initial===E.animate)&&!t.manuallyAnimateOnMount&&(L=!1),o=!1,L?n(C):Promise.resolve()}function v(S,E){var A;if(i[S].isActive===E)return Promise.resolve();(A=t.variantChildren)===null||A===void 0||A.forEach(M=>{var R;return(R=M.animationState)===null||R===void 0?void 0:R.setActive(S,E)}),i[S].isActive=E;const C=g(S);for(const M in i)i[M].protectedKeys={};return C}return{animateChanges:g,setActive:v,setAnimateFunction:h,getState:()=>i,reset:()=>{i=i6(),o=!0}}}function sk(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!n6(n,t):!1}function Tg(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function i6(){return{animate:Tg(!0),whileInView:Tg(),whileHover:Tg(),whileTap:Tg(),whileDrag:Tg(),whileFocus:Tg(),exit:Tg()}}class om{constructor(n){this.isMounted=!1,this.node=n}update(){}}class uk extends om{constructor(n){super(n),n.animationState||(n.animationState=ok(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();rx(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)===null||n===void 0||n.call(this)}}let ck=0;class fk extends om{constructor(){super(...arguments),this.id=ck++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===o)return;const u=this.node.animationState.setActive("exit",!n);i&&!n&&u.then(()=>{i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const dk={animation:{Feature:uk},exit:{Feature:fk}},Au={x:!1,y:!1};function r6(){return Au.x||Au.y}function hk(t){return t==="x"||t==="y"?Au[t]?null:(Au[t]=!0,()=>{Au[t]=!1}):Au.x||Au.y?null:(Au.x=Au.y=!0,()=>{Au.x=Au.y=!1})}function ab(t,n,i,o={passive:!0}){return t.addEventListener(n,i,o),()=>t.removeEventListener(n,i)}const CA=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function ib(t){return{point:{x:t.pageX,y:t.pageY}}}const mk=t=>n=>CA(n)&&t(n,ib(n));function rb(t,n,i,o){return ab(t,n,mk(i),o)}function l6({top:t,left:n,right:i,bottom:o}){return{x:{min:n,max:i},y:{min:t,max:o}}}function pk({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function gk(t,n){if(!n)return t;const i=n({x:t.left,y:t.top}),o=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:o.y,right:o.x}}const o6=1e-4,yk=1-o6,vk=1+o6,s6=.01,bk=0-s6,Sk=0+s6;function ml(t){return t.max-t.min}function xk(t,n,i){return Math.abs(t-n)<=i}function u6(t,n,i,o=.5){t.origin=o,t.originPoint=Ea(n.min,n.max,t.origin),t.scale=ml(i)/ml(n),t.translate=Ea(i.min,i.max,t.origin)-t.originPoint,(t.scale>=yk&&t.scale<=vk||isNaN(t.scale))&&(t.scale=1),(t.translate>=bk&&t.translate<=Sk||isNaN(t.translate))&&(t.translate=0)}function lb(t,n,i,o){u6(t.x,n.x,i.x,o?o.originX:void 0),u6(t.y,n.y,i.y,o?o.originY:void 0)}function c6(t,n,i){t.min=i.min+n.min,t.max=t.min+ml(n)}function Tk(t,n,i){c6(t.x,n.x,i.x),c6(t.y,n.y,i.y)}function f6(t,n,i){t.min=n.min-i.min,t.max=t.min+ml(n)}function ob(t,n,i){f6(t.x,n.x,i.x),f6(t.y,n.y,i.y)}const d6=()=>({translate:0,scale:1,origin:0,originPoint:0}),ky=()=>({x:d6(),y:d6()}),h6=()=>({min:0,max:0}),Ga=()=>({x:h6(),y:h6()});function xs(t){return[t("x"),t("y")]}function OA(t){return t===void 0||t===1}function MA({scale:t,scaleX:n,scaleY:i}){return!OA(t)||!OA(n)||!OA(i)}function Eg(t){return MA(t)||m6(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function m6(t){return p6(t.x)||p6(t.y)}function p6(t){return t&&t!=="0%"}function mx(t,n,i){const o=t-i,u=n*o;return i+u}function g6(t,n,i,o,u){return u!==void 0&&(t=mx(t,u,o)),mx(t,i,o)+n}function DA(t,n=0,i=1,o,u){t.min=g6(t.min,n,i,o,u),t.max=g6(t.max,n,i,o,u)}function y6(t,{x:n,y:i}){DA(t.x,n.translate,n.scale,n.originPoint),DA(t.y,i.translate,i.scale,i.originPoint)}const v6=.999999999999,b6=1.0000000000001;function Ek(t,n,i,o=!1){const u=i.length;if(!u)return;n.x=n.y=1;let h,g;for(let v=0;v<u;v++){h=i[v],g=h.projectionDelta;const{visualElement:S}=h.options;S&&S.props.style&&S.props.style.display==="contents"||(o&&h.options.layoutScroll&&h.scroll&&h!==h.root&&qy(t,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),g&&(n.x*=g.x.scale,n.y*=g.y.scale,y6(t,g)),o&&Eg(h.latestValues)&&qy(t,h.latestValues))}n.x<b6&&n.x>v6&&(n.x=1),n.y<b6&&n.y>v6&&(n.y=1)}function Yy(t,n){t.min=t.min+n,t.max=t.max+n}function S6(t,n,i,o,u=.5){const h=Ea(t.min,t.max,u);DA(t,n,i,h,o)}function qy(t,n){S6(t.x,n.x,n.scaleX,n.scale,n.originX),S6(t.y,n.y,n.scaleY,n.scale,n.originY)}function x6(t,n){return l6(gk(t.getBoundingClientRect(),n))}function Ak(t,n,i){const o=x6(t,i),{scroll:u}=n;return u&&(Yy(o.x,u.offset.x),Yy(o.y,u.offset.y)),o}const T6=({current:t})=>t?t.ownerDocument.defaultView:null,E6=(t,n)=>Math.abs(t-n);function wk(t,n){const i=E6(t.x,n.x),o=E6(t.y,n.y);return Math.sqrt(i**2+o**2)}class A6{constructor(n,i,{transformPagePoint:o,contextWindow:u,dragSnapToOrigin:h=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=_A(this.lastMoveEventInfo,this.history),M=this.startEvent!==null,R=wk(C.offset,{x:0,y:0})>=3;if(!M&&!R)return;const{point:B}=C,{timestamp:L}=mr;this.history.push({...B,timestamp:L});const{onStart:P,onMove:U}=this.handlers;M||(P&&P(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),U&&U(this.lastMoveEvent,C)},this.handlePointerMove=(C,M)=>{this.lastMoveEvent=C,this.lastMoveEventInfo=RA(M,this.transformPagePoint),ea.update(this.updatePoint,!0)},this.handlePointerUp=(C,M)=>{this.end();const{onEnd:R,onSessionEnd:B,resumeAnimation:L}=this.handlers;if(this.dragSnapToOrigin&&L&&L(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const P=_A(C.type==="pointercancel"?this.lastMoveEventInfo:RA(M,this.transformPagePoint),this.history);this.startEvent&&R&&R(C,P),B&&B(C,P)},!CA(n))return;this.dragSnapToOrigin=h,this.handlers=i,this.transformPagePoint=o,this.contextWindow=u||window;const g=ib(n),v=RA(g,this.transformPagePoint),{point:S}=v,{timestamp:E}=mr;this.history=[{...S,timestamp:E}];const{onSessionStart:A}=i;A&&A(n,_A(v,this.history)),this.removeListeners=tb(rb(this.contextWindow,"pointermove",this.handlePointerMove),rb(this.contextWindow,"pointerup",this.handlePointerUp),rb(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),im(this.updatePoint)}}function RA(t,n){return n?{point:n(t.point)}:t}function w6(t,n){return{x:t.x-n.x,y:t.y-n.y}}function _A({point:t},n){return{point:t,delta:w6(t,C6(n)),offset:w6(t,Ck(n)),velocity:Ok(n,.1)}}function Ck(t){return t[0]}function C6(t){return t[t.length-1]}function Ok(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,o=null;const u=C6(t);for(;i>=0&&(o=t[i],!(u.timestamp-o.timestamp>Uc(n)));)i--;if(!o)return{x:0,y:0};const h=sd(u.timestamp-o.timestamp);if(h===0)return{x:0,y:0};const g={x:(u.x-o.x)/h,y:(u.y-o.y)/h};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function Mk(t,{min:n,max:i},o){return n!==void 0&&t<n?t=o?Ea(n,t,o.min):Math.max(t,n):i!==void 0&&t>i&&(t=o?Ea(i,t,o.max):Math.min(t,i)),t}function O6(t,n,i){return{min:n!==void 0?t.min+n:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function Dk(t,{top:n,left:i,bottom:o,right:u}){return{x:O6(t.x,i,u),y:O6(t.y,n,o)}}function M6(t,n){let i=n.min-t.min,o=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,o]=[o,i]),{min:i,max:o}}function Rk(t,n){return{x:M6(t.x,n.x),y:M6(t.y,n.y)}}function _k(t,n){let i=.5;const o=ml(t),u=ml(n);return u>o?i=$y(n.min,n.max-o,t.min):o>u&&(i=$y(t.min,t.max-u,n.min)),od(0,1,i)}function Nk(t,n){const i={};return n.min!==void 0&&(i.min=n.min-t.min),n.max!==void 0&&(i.max=n.max-t.min),i}const NA=.35;function zk(t=NA){return t===!1?t=0:t===!0&&(t=NA),{x:D6(t,"left","right"),y:D6(t,"top","bottom")}}function D6(t,n,i){return{min:R6(t,n),max:R6(t,i)}}function R6(t,n){return typeof t=="number"?t:t[n]||0}const Lk=new WeakMap;class Uk{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ga(),this.visualElement=n}start(n,{snapToCursor:i=!1}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const u=A=>{const{dragSnapToOrigin:C}=this.getProps();C?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(ib(A).point)},h=(A,C)=>{const{drag:M,dragPropagation:R,onDragStart:B}=this.getProps();if(M&&!R&&(this.openDragLock&&this.openDragLock(),this.openDragLock=hk(M),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),xs(P=>{let U=this.getAxisMotionValue(P).get()||0;if(zc.test(U)){const{projection:G}=this.visualElement;if(G&&G.layout){const q=G.layout.layoutBox[P];q&&(U=ml(q)*(parseFloat(U)/100))}}this.originPoint[P]=U}),B&&ea.postRender(()=>B(A,C)),JE(this.visualElement,"transform");const{animationState:L}=this.visualElement;L&&L.setActive("whileDrag",!0)},g=(A,C)=>{const{dragPropagation:M,dragDirectionLock:R,onDirectionLock:B,onDrag:L}=this.getProps();if(!M&&!this.openDragLock)return;const{offset:P}=C;if(R&&this.currentDirection===null){this.currentDirection=Vk(P),this.currentDirection!==null&&B&&B(this.currentDirection);return}this.updateAxis("x",C.point,P),this.updateAxis("y",C.point,P),this.visualElement.render(),L&&L(A,C)},v=(A,C)=>this.stop(A,C),S=()=>xs(A=>{var C;return this.getAnimationState(A)==="paused"&&((C=this.getAxisMotionValue(A).animation)===null||C===void 0?void 0:C.play())}),{dragSnapToOrigin:E}=this.getProps();this.panSession=new A6(n,{onSessionStart:u,onStart:h,onMove:g,onSessionEnd:v,resumeAnimation:S},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:E,contextWindow:T6(this.visualElement)})}stop(n,i){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:u}=i;this.startAnimation(u);const{onDragEnd:h}=this.getProps();h&&ea.postRender(()=>h(n,i))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(n,i,o){const{drag:u}=this.getProps();if(!o||!px(n,u,this.currentDirection))return;const h=this.getAxisMotionValue(n);let g=this.originPoint[n]+o[n];this.constraints&&this.constraints[n]&&(g=Mk(g,this.constraints[n],this.elastic[n])),h.set(g)}resolveConstraints(){var n;const{dragConstraints:i,dragElastic:o}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(n=this.visualElement.projection)===null||n===void 0?void 0:n.layout,h=this.constraints;i&&Vy(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&u?this.constraints=Dk(u.layoutBox,i):this.constraints=!1,this.elastic=zk(o),h!==this.constraints&&u&&this.constraints&&!this.hasMutatedConstraints&&xs(g=>{this.constraints!==!1&&this.getAxisMotionValue(g)&&(this.constraints[g]=Nk(u.layoutBox[g],this.constraints[g]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!Vy(n))return!1;const o=n.current;am(o!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const h=Ak(o,u.root,this.visualElement.getTransformPagePoint());let g=Rk(u.layout.layoutBox,h);if(i){const v=i(pk(g));this.hasMutatedConstraints=!!v,v&&(g=l6(v))}return g}startAnimation(n){const{drag:i,dragMomentum:o,dragElastic:u,dragTransition:h,dragSnapToOrigin:g,onDragTransitionEnd:v}=this.getProps(),S=this.constraints||{},E=xs(A=>{if(!px(A,i,this.currentDirection))return;let C=S&&S[A]||{};g&&(C={min:0,max:0});const M=u?200:1e6,R=u?40:1e7,B={type:"inertia",velocity:o?n[A]:0,bounceStiffness:M,bounceDamping:R,timeConstant:750,restDelta:1,restSpeed:10,...h,...C};return this.startAxisValueAnimation(A,B)});return Promise.all(E).then(v)}startAxisValueAnimation(n,i){const o=this.getAxisMotionValue(n);return JE(this.visualElement,n),o.start(AA(n,o,0,i,this.visualElement,!1))}stopAnimation(){xs(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){xs(n=>{var i;return(i=this.getAxisMotionValue(n).animation)===null||i===void 0?void 0:i.pause()})}getAnimationState(n){var i;return(i=this.getAxisMotionValue(n).animation)===null||i===void 0?void 0:i.state}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,o=this.visualElement.getProps(),u=o[i];return u||this.visualElement.getValue(n,(o.initial?o.initial[n]:void 0)||0)}snapToCursor(n){xs(i=>{const{drag:o}=this.getProps();if(!px(i,o,this.currentDirection))return;const{projection:u}=this.visualElement,h=this.getAxisMotionValue(i);if(u&&u.layout){const{min:g,max:v}=u.layout.layoutBox[i];h.set(n[i]-Ea(g,v,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:o}=this.visualElement;if(!Vy(i)||!o||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};xs(g=>{const v=this.getAxisMotionValue(g);if(v&&this.constraints!==!1){const S=v.get();u[g]=_k({min:S,max:S},this.constraints[g])}});const{transformTemplate:h}=this.visualElement.getProps();this.visualElement.current.style.transform=h?h({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),xs(g=>{if(!px(g,n,null))return;const v=this.getAxisMotionValue(g),{min:S,max:E}=this.constraints[g];v.set(Ea(S,E,u[g]))})}addListeners(){if(!this.visualElement.current)return;Lk.set(this.visualElement,this);const n=this.visualElement.current,i=rb(n,"pointerdown",S=>{const{drag:E,dragListener:A=!0}=this.getProps();E&&A&&this.start(S)}),o=()=>{const{dragConstraints:S}=this.getProps();Vy(S)&&S.current&&(this.constraints=this.resolveRefConstraints())},{projection:u}=this.visualElement,h=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),ea.read(o);const g=ab(window,"resize",()=>this.scalePositionWithinConstraints()),v=u.addEventListener("didUpdate",({delta:S,hasLayoutChanged:E})=>{this.isDragging&&E&&(xs(A=>{const C=this.getAxisMotionValue(A);C&&(this.originPoint[A]+=S[A].translate,C.set(C.get()+S[A].translate))}),this.visualElement.render())});return()=>{g(),i(),h(),v&&v()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:o=!1,dragPropagation:u=!1,dragConstraints:h=!1,dragElastic:g=NA,dragMomentum:v=!0}=n;return{...n,drag:i,dragDirectionLock:o,dragPropagation:u,dragConstraints:h,dragElastic:g,dragMomentum:v}}}function px(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function Vk(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class Bk extends om{constructor(n){super(n),this.removeGroupControls=Hl,this.removeListeners=Hl,this.controls=new Uk(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Hl}unmount(){this.removeGroupControls(),this.removeListeners()}}const _6=t=>(n,i)=>{t&&ea.postRender(()=>t(n,i))};class jk extends om{constructor(){super(...arguments),this.removePointerDownListener=Hl}onPointerDown(n){this.session=new A6(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:T6(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:o,onPanEnd:u}=this.node.getProps();return{onSessionStart:_6(n),onStart:_6(i),onMove:o,onEnd:(h,g)=>{delete this.session,u&&ea.postRender(()=>u(h,g))}}}mount(){this.removePointerDownListener=rb(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const gx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function N6(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const sb={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(At.test(t))t=parseFloat(t);else return t;const i=N6(t,n.target.x),o=N6(t,n.target.y);return`${i}% ${o}%`}},$k={correct:(t,{treeScale:n,projectionDelta:i})=>{const o=t,u=lm.parse(t);if(u.length>5)return o;const h=lm.createTransformer(t),g=typeof u[0]!="number"?1:0,v=i.x.scale*n.x,S=i.y.scale*n.y;u[0+g]/=v,u[1+g]/=S;const E=Ea(v,S,.5);return typeof u[2+g]=="number"&&(u[2+g]/=E),typeof u[3+g]=="number"&&(u[3+g]/=E),h(u)}};class Hk extends ee.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o,layoutId:u}=this.props,{projection:h}=n;X$(Pk),h&&(i.group&&i.group.add(h),o&&o.register&&u&&o.register(h),h.root.didUpdate(),h.addEventListener("animationComplete",()=>{this.safeToRemove()}),h.setOptions({...h.options,onExitComplete:()=>this.safeToRemove()})),gx.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:o,drag:u,isPresent:h}=this.props,g=o.projection;return g&&(g.isPresent=h,u||n.layoutDependency!==i||i===void 0||n.isPresent!==h?g.willUpdate():this.safeToRemove(),n.isPresent!==h&&(h?g.promote():g.relegate()||ea.postRender(()=>{const v=g.getStack();(!v||!v.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),VE.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o}=this.props,{projection:u}=n;u&&(u.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(u),o&&o.deregister&&o.deregister(u))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function z6(t){const[n,i]=w4(),o=ee.useContext(DE);return V.jsx(Hk,{...t,layoutGroup:o,switchLayoutGroup:ee.useContext(V4),isPresent:n,safeToRemove:i})}const Pk={borderRadius:{...sb,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:sb,borderTopRightRadius:sb,borderBottomLeftRadius:sb,borderBottomRightRadius:sb,boxShadow:$k};function kk(t,n,i){const o=Br(t)?t:K1(t);return o.start(AA("",o,n,i)),o.animation}function Yk(t){return t instanceof SVGElement&&t.tagName!=="svg"}const qk=(t,n)=>t.depth-n.depth;class Gk{constructor(){this.children=[],this.isDirty=!1}add(n){KE(this.children,n),this.isDirty=!0}remove(n){QE(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(qk),this.isDirty=!1,this.children.forEach(n)}}function Ik(t,n){const i=Lc.now(),o=({timestamp:u})=>{const h=u-i;h>=n&&(im(o),t(h-n))};return ea.read(o,!0),()=>im(o)}const L6=["TopLeft","TopRight","BottomLeft","BottomRight"],Fk=L6.length,U6=t=>typeof t=="string"?parseFloat(t):t,V6=t=>typeof t=="number"||At.test(t);function Xk(t,n,i,o,u,h){u?(t.opacity=Ea(0,i.opacity!==void 0?i.opacity:1,Zk(o)),t.opacityExit=Ea(n.opacity!==void 0?n.opacity:1,0,Kk(o))):h&&(t.opacity=Ea(n.opacity!==void 0?n.opacity:1,i.opacity!==void 0?i.opacity:1,o));for(let g=0;g<Fk;g++){const v=`border${L6[g]}Radius`;let S=B6(n,v),E=B6(i,v);if(S===void 0&&E===void 0)continue;S||(S=0),E||(E=0),S===0||E===0||V6(S)===V6(E)?(t[v]=Math.max(Ea(U6(S),U6(E),o),0),(zc.test(E)||zc.test(S))&&(t[v]+="%")):t[v]=E}(n.rotate||i.rotate)&&(t.rotate=Ea(n.rotate||0,i.rotate||0,o))}function B6(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const Zk=j6(0,.5,mR),Kk=j6(.5,.95,Hl);function j6(t,n,i){return o=>o<t?0:o>n?1:i($y(t,n,o))}function $6(t,n){t.min=n.min,t.max=n.max}function Ts(t,n){$6(t.x,n.x),$6(t.y,n.y)}function H6(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function P6(t,n,i,o,u){return t-=n,t=mx(t,1/i,o),u!==void 0&&(t=mx(t,1/u,o)),t}function Qk(t,n=0,i=1,o=.5,u,h=t,g=t){if(zc.test(n)&&(n=parseFloat(n),n=Ea(g.min,g.max,n/100)-g.min),typeof n!="number")return;let v=Ea(h.min,h.max,o);t===h&&(v-=n),t.min=P6(t.min,n,i,v,u),t.max=P6(t.max,n,i,v,u)}function k6(t,n,[i,o,u],h,g){Qk(t,n[i],n[o],n[u],n.scale,h,g)}const Wk=["x","scaleX","originX"],Jk=["y","scaleY","originY"];function Y6(t,n,i,o){k6(t.x,n,Wk,i?i.x:void 0,o?o.x:void 0),k6(t.y,n,Jk,i?i.y:void 0,o?o.y:void 0)}function q6(t){return t.translate===0&&t.scale===1}function G6(t){return q6(t.x)&&q6(t.y)}function I6(t,n){return t.min===n.min&&t.max===n.max}function eY(t,n){return I6(t.x,n.x)&&I6(t.y,n.y)}function F6(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function X6(t,n){return F6(t.x,n.x)&&F6(t.y,n.y)}function Z6(t){return ml(t.x)/ml(t.y)}function K6(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class tY{constructor(){this.members=[]}add(n){KE(this.members,n),n.scheduleRender()}remove(n){if(QE(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){const i=this.members.findIndex(u=>n===u);if(i===0)return!1;let o;for(let u=i;u>=0;u--){const h=this.members[u];if(h.isPresent!==!1){o=h;break}}return o?(this.promote(o),!0):!1}promote(n,i){const o=this.lead;if(n!==o&&(this.prevLead=o,this.lead=n,n.show(),o)){o.instance&&o.scheduleRender(),n.scheduleRender(),n.resumeFrom=o,i&&(n.resumeFrom.preserveOpacity=!0),o.snapshot&&(n.snapshot=o.snapshot,n.snapshot.latestValues=o.animationValues||o.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:u}=n.options;u===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:i,resumingFrom:o}=n;i.onExitComplete&&i.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function nY(t,n,i){let o="";const u=t.x.translate/n.x,h=t.y.translate/n.y,g=(i==null?void 0:i.z)||0;if((u||h||g)&&(o=`translate3d(${u}px, ${h}px, ${g}px) `),(n.x!==1||n.y!==1)&&(o+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:E,rotate:A,rotateX:C,rotateY:M,skewX:R,skewY:B}=i;E&&(o=`perspective(${E}px) ${o}`),A&&(o+=`rotate(${A}deg) `),C&&(o+=`rotateX(${C}deg) `),M&&(o+=`rotateY(${M}deg) `),R&&(o+=`skewX(${R}deg) `),B&&(o+=`skewY(${B}deg) `)}const v=t.x.scale*n.x,S=t.y.scale*n.y;return(v!==1||S!==1)&&(o+=`scale(${v}, ${S})`),o||"none"}const zA=["","X","Y","Z"],aY={visibility:"hidden"},Q6=1e3;let iY=0;function LA(t,n,i,o){const{latestValues:u}=n;u[t]&&(i[t]=u[t],n.setStaticValue(t,0),o&&(o[t]=0))}function W6(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=aR(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:u,layoutId:h}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",ea,!(u||h))}const{parent:o}=t;o&&!o.hasCheckedOptimisedAppear&&W6(o)}function J6({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:o,resetTransform:u}){return class{constructor(g={},v=n==null?void 0:n()){this.id=iY++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(oY),this.nodes.forEach(dY),this.nodes.forEach(hY),this.nodes.forEach(sY)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=g,this.root=v?v.root||v:this,this.path=v?[...v.path,v]:[],this.parent=v,this.depth=v?v.depth+1:0;for(let S=0;S<this.path.length;S++)this.path[S].shouldResetTransform=!0;this.root===this&&(this.nodes=new Gk)}addEventListener(g,v){return this.eventHandlers.has(g)||this.eventHandlers.set(g,new WE),this.eventHandlers.get(g).add(v)}notifyListeners(g,...v){const S=this.eventHandlers.get(g);S&&S.notify(...v)}hasListeners(g){return this.eventHandlers.has(g)}mount(g,v=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Yk(g),this.instance=g;const{layoutId:S,layout:E,visualElement:A}=this.options;if(A&&!A.current&&A.mount(g),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),v&&(E||S)&&(this.isLayoutDirty=!0),t){let C;const M=()=>this.root.updateBlockedByResize=!1;t(g,()=>{this.root.updateBlockedByResize=!0,C&&C(),C=Ik(M,250),gx.hasAnimatedSinceResize&&(gx.hasAnimatedSinceResize=!1,this.nodes.forEach(t5))})}S&&this.root.registerSharedNode(S,this),this.options.animate!==!1&&A&&(S||E)&&this.addEventListener("didUpdate",({delta:C,hasLayoutChanged:M,hasRelativeLayoutChanged:R,layout:B})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const L=this.options.transition||A.getDefaultTransition()||vY,{onLayoutAnimationStart:P,onLayoutAnimationComplete:U}=A.getProps(),G=!this.targetLayout||!X6(this.targetLayout,B),q=!M&&R;if(this.options.layoutRoot||this.resumeFrom||q||M&&(G||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(C,q);const J={...ZE(L,"layout"),onPlay:P,onComplete:U};(A.shouldReduceMotion||this.options.layoutRoot)&&(J.delay=0,J.type=!1),this.startAnimation(J)}else M||t5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=B})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const g=this.getStack();g&&g.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,im(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(mY),this.animationId++)}getTransformTemplate(){const{visualElement:g}=this.options;return g&&g.getProps().transformTemplate}willUpdate(g=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&W6(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let A=0;A<this.path.length;A++){const C=this.path[A];C.shouldResetTransform=!0,C.updateScroll("snapshot"),C.options.layoutRoot&&C.willUpdate(!1)}const{layoutId:v,layout:S}=this.options;if(v===void 0&&!S)return;const E=this.getTransformTemplate();this.prevTransformTemplateValue=E?E(this.latestValues,""):void 0,this.updateSnapshot(),g&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(e5);return}this.isUpdating||this.nodes.forEach(cY),this.isUpdating=!1,this.nodes.forEach(fY),this.nodes.forEach(rY),this.nodes.forEach(lY),this.clearAllSnapshots();const v=Lc.now();mr.delta=od(0,1e3/60,v-mr.timestamp),mr.timestamp=v,mr.isProcessing=!0,zE.update.process(mr),zE.preRender.process(mr),zE.render.process(mr),mr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,VE.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(uY),this.sharedNodes.forEach(pY)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ea.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ea.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ml(this.snapshot.measuredBox.x)&&!ml(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let S=0;S<this.path.length;S++)this.path[S].updateScroll();const g=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ga(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:v}=this.options;v&&v.notify("LayoutMeasure",this.layout.layoutBox,g?g.layoutBox:void 0)}updateScroll(g="measure"){let v=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===g&&(v=!1),v){const S=o(this.instance);this.scroll={animationId:this.root.animationId,phase:g,isRoot:S,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:S}}}resetTransform(){if(!u)return;const g=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,v=this.projectionDelta&&!G6(this.projectionDelta),S=this.getTransformTemplate(),E=S?S(this.latestValues,""):void 0,A=E!==this.prevTransformTemplateValue;g&&(v||Eg(this.latestValues)||A)&&(u(this.instance,E),this.shouldResetTransform=!1,this.scheduleRender())}measure(g=!0){const v=this.measurePageBox();let S=this.removeElementScroll(v);return g&&(S=this.removeTransform(S)),bY(S),{animationId:this.root.animationId,measuredBox:v,layoutBox:S,latestValues:{},source:this.id}}measurePageBox(){var g;const{visualElement:v}=this.options;if(!v)return Ga();const S=v.measureViewportBox();if(!(((g=this.scroll)===null||g===void 0?void 0:g.wasRoot)||this.path.some(SY))){const{scroll:A}=this.root;A&&(Yy(S.x,A.offset.x),Yy(S.y,A.offset.y))}return S}removeElementScroll(g){var v;const S=Ga();if(Ts(S,g),!((v=this.scroll)===null||v===void 0)&&v.wasRoot)return S;for(let E=0;E<this.path.length;E++){const A=this.path[E],{scroll:C,options:M}=A;A!==this.root&&C&&M.layoutScroll&&(C.wasRoot&&Ts(S,g),Yy(S.x,C.offset.x),Yy(S.y,C.offset.y))}return S}applyTransform(g,v=!1){const S=Ga();Ts(S,g);for(let E=0;E<this.path.length;E++){const A=this.path[E];!v&&A.options.layoutScroll&&A.scroll&&A!==A.root&&qy(S,{x:-A.scroll.offset.x,y:-A.scroll.offset.y}),Eg(A.latestValues)&&qy(S,A.latestValues)}return Eg(this.latestValues)&&qy(S,this.latestValues),S}removeTransform(g){const v=Ga();Ts(v,g);for(let S=0;S<this.path.length;S++){const E=this.path[S];if(!E.instance||!Eg(E.latestValues))continue;MA(E.latestValues)&&E.updateSnapshot();const A=Ga(),C=E.measurePageBox();Ts(A,C),Y6(v,E.latestValues,E.snapshot?E.snapshot.layoutBox:void 0,A)}return Eg(this.latestValues)&&Y6(v,this.latestValues),v}setTargetDelta(g){this.targetDelta=g,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(g){this.options={...this.options,...g,crossfade:g.crossfade!==void 0?g.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==mr.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(g=!1){var v;const S=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=S.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=S.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=S.isSharedProjectionDirty);const E=!!this.resumingFrom||this!==S;if(!(g||E&&this.isSharedProjectionDirty||this.isProjectionDirty||!((v=this.parent)===null||v===void 0)&&v.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:C,layoutId:M}=this.options;if(!(!this.layout||!(C||M))){if(this.resolvedRelativeTargetAt=mr.timestamp,!this.targetDelta&&!this.relativeTarget){const R=this.getClosestProjectingParent();R&&R.layout&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ga(),this.relativeTargetOrigin=Ga(),ob(this.relativeTargetOrigin,this.layout.layoutBox,R.layout.layoutBox),Ts(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ga(),this.targetWithTransforms=Ga()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Tk(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ts(this.target,this.layout.layoutBox),y6(this.target,this.targetDelta)):Ts(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const R=this.getClosestProjectingParent();R&&!!R.resumingFrom==!!this.resumingFrom&&!R.options.layoutScroll&&R.target&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ga(),this.relativeTargetOrigin=Ga(),ob(this.relativeTargetOrigin,this.target,R.target),Ts(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||MA(this.parent.latestValues)||m6(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var g;const v=this.getLead(),S=!!this.resumingFrom||this!==v;let E=!0;if((this.isProjectionDirty||!((g=this.parent)===null||g===void 0)&&g.isProjectionDirty)&&(E=!1),S&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(E=!1),this.resolvedRelativeTargetAt===mr.timestamp&&(E=!1),E)return;const{layout:A,layoutId:C}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(A||C))return;Ts(this.layoutCorrected,this.layout.layoutBox);const M=this.treeScale.x,R=this.treeScale.y;Ek(this.layoutCorrected,this.treeScale,this.path,S),v.layout&&!v.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(v.target=v.layout.layoutBox,v.targetWithTransforms=Ga());const{target:B}=v;if(!B){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(H6(this.prevProjectionDelta.x,this.projectionDelta.x),H6(this.prevProjectionDelta.y,this.projectionDelta.y)),lb(this.projectionDelta,this.layoutCorrected,B,this.latestValues),(this.treeScale.x!==M||this.treeScale.y!==R||!K6(this.projectionDelta.x,this.prevProjectionDelta.x)||!K6(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",B))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(g=!0){var v;if((v=this.options.visualElement)===null||v===void 0||v.scheduleRender(),g){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ky(),this.projectionDelta=ky(),this.projectionDeltaWithTransform=ky()}setAnimationOrigin(g,v=!1){const S=this.snapshot,E=S?S.latestValues:{},A={...this.latestValues},C=ky();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!v;const M=Ga(),R=S?S.source:void 0,B=this.layout?this.layout.source:void 0,L=R!==B,P=this.getStack(),U=!P||P.members.length<=1,G=!!(L&&!U&&this.options.crossfade===!0&&!this.path.some(yY));this.animationProgress=0;let q;this.mixTargetDelta=J=>{const Y=J/1e3;n5(C.x,g.x,Y),n5(C.y,g.y,Y),this.setTargetDelta(C),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ob(M,this.layout.layoutBox,this.relativeParent.layout.layoutBox),gY(this.relativeTarget,this.relativeTargetOrigin,M,Y),q&&eY(this.relativeTarget,q)&&(this.isProjectionDirty=!1),q||(q=Ga()),Ts(q,this.relativeTarget)),L&&(this.animationValues=A,Xk(A,E,this.latestValues,Y,G,U)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(g){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(im(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ea.update(()=>{gx.hasAnimatedSinceResize=!0,this.currentAnimation=kk(0,Q6,{...g,onUpdate:v=>{this.mixTargetDelta(v),g.onUpdate&&g.onUpdate(v)},onStop:()=>{},onComplete:()=>{g.onComplete&&g.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const g=this.getStack();g&&g.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Q6),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const g=this.getLead();let{targetWithTransforms:v,target:S,layout:E,latestValues:A}=g;if(!(!v||!S||!E)){if(this!==g&&this.layout&&E&&o5(this.options.animationType,this.layout.layoutBox,E.layoutBox)){S=this.target||Ga();const C=ml(this.layout.layoutBox.x);S.x.min=g.target.x.min,S.x.max=S.x.min+C;const M=ml(this.layout.layoutBox.y);S.y.min=g.target.y.min,S.y.max=S.y.min+M}Ts(v,S),qy(v,A),lb(this.projectionDeltaWithTransform,this.layoutCorrected,v,A)}}registerSharedNode(g,v){this.sharedNodes.has(g)||this.sharedNodes.set(g,new tY),this.sharedNodes.get(g).add(v);const E=v.options.initialPromotionConfig;v.promote({transition:E?E.transition:void 0,preserveFollowOpacity:E&&E.shouldPreserveFollowOpacity?E.shouldPreserveFollowOpacity(v):void 0})}isLead(){const g=this.getStack();return g?g.lead===this:!0}getLead(){var g;const{layoutId:v}=this.options;return v?((g=this.getStack())===null||g===void 0?void 0:g.lead)||this:this}getPrevLead(){var g;const{layoutId:v}=this.options;return v?(g=this.getStack())===null||g===void 0?void 0:g.prevLead:void 0}getStack(){const{layoutId:g}=this.options;if(g)return this.root.sharedNodes.get(g)}promote({needsReset:g,transition:v,preserveFollowOpacity:S}={}){const E=this.getStack();E&&E.promote(this,S),g&&(this.projectionDelta=void 0,this.needsReset=!0),v&&this.setOptions({transition:v})}relegate(){const g=this.getStack();return g?g.relegate(this):!1}resetSkewAndRotation(){const{visualElement:g}=this.options;if(!g)return;let v=!1;const{latestValues:S}=g;if((S.z||S.rotate||S.rotateX||S.rotateY||S.rotateZ||S.skewX||S.skewY)&&(v=!0),!v)return;const E={};S.z&&LA("z",g,E,this.animationValues);for(let A=0;A<zA.length;A++)LA(`rotate${zA[A]}`,g,E,this.animationValues),LA(`skew${zA[A]}`,g,E,this.animationValues);g.render();for(const A in E)g.setStaticValue(A,E[A]),this.animationValues&&(this.animationValues[A]=E[A]);g.scheduleRender()}getProjectionStyles(g){var v,S;if(!this.instance||this.isSVG)return;if(!this.isVisible)return aY;const E={visibility:""},A=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,E.opacity="",E.pointerEvents=sx(g==null?void 0:g.pointerEvents)||"",E.transform=A?A(this.latestValues,""):"none",E;const C=this.getLead();if(!this.projectionDelta||!this.layout||!C.target){const L={};return this.options.layoutId&&(L.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,L.pointerEvents=sx(g==null?void 0:g.pointerEvents)||""),this.hasProjected&&!Eg(this.latestValues)&&(L.transform=A?A({},""):"none",this.hasProjected=!1),L}const M=C.animationValues||C.latestValues;this.applyTransformsToTarget(),E.transform=nY(this.projectionDeltaWithTransform,this.treeScale,M),A&&(E.transform=A(M,E.transform));const{x:R,y:B}=this.projectionDelta;E.transformOrigin=`${R.origin*100}% ${B.origin*100}% 0`,C.animationValues?E.opacity=C===this?(S=(v=M.opacity)!==null&&v!==void 0?v:this.latestValues.opacity)!==null&&S!==void 0?S:1:this.preserveOpacity?this.latestValues.opacity:M.opacityExit:E.opacity=C===this?M.opacity!==void 0?M.opacity:"":M.opacityExit!==void 0?M.opacityExit:0;for(const L in I1){if(M[L]===void 0)continue;const{correct:P,applyTo:U,isCSSVariable:G}=I1[L],q=E.transform==="none"?M[L]:P(M[L],C);if(U){const J=U.length;for(let Y=0;Y<J;Y++)E[U[Y]]=q}else G?this.options.visualElement.renderState.vars[L]=q:E[L]=q}return this.options.layoutId&&(E.pointerEvents=C===this?sx(g==null?void 0:g.pointerEvents)||"":"none"),E}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(g=>{var v;return(v=g.currentAnimation)===null||v===void 0?void 0:v.stop()}),this.root.nodes.forEach(e5),this.root.sharedNodes.clear()}}}function rY(t){t.updateLayout()}function lY(t){var n;const i=((n=t.resumeFrom)===null||n===void 0?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:u}=t.layout,{animationType:h}=t.options,g=i.source!==t.layout.source;h==="size"?xs(C=>{const M=g?i.measuredBox[C]:i.layoutBox[C],R=ml(M);M.min=o[C].min,M.max=M.min+R}):o5(h,i.layoutBox,o)&&xs(C=>{const M=g?i.measuredBox[C]:i.layoutBox[C],R=ml(o[C]);M.max=M.min+R,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[C].max=t.relativeTarget[C].min+R)});const v=ky();lb(v,o,i.layoutBox);const S=ky();g?lb(S,t.applyTransform(u,!0),i.measuredBox):lb(S,o,i.layoutBox);const E=!G6(v);let A=!1;if(!t.resumeFrom){const C=t.getClosestProjectingParent();if(C&&!C.resumeFrom){const{snapshot:M,layout:R}=C;if(M&&R){const B=Ga();ob(B,i.layoutBox,M.layoutBox);const L=Ga();ob(L,o,R.layoutBox),X6(B,L)||(A=!0),C.options.layoutRoot&&(t.relativeTarget=L,t.relativeTargetOrigin=B,t.relativeParent=C)}}}t.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:S,layoutDelta:v,hasLayoutChanged:E,hasRelativeLayoutChanged:A})}else if(t.isLead()){const{onExitComplete:o}=t.options;o&&o()}t.options.transition=void 0}function oY(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function sY(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function uY(t){t.clearSnapshot()}function e5(t){t.clearMeasurements()}function cY(t){t.isLayoutDirty=!1}function fY(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function t5(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function dY(t){t.resolveTargetDelta()}function hY(t){t.calcProjection()}function mY(t){t.resetSkewAndRotation()}function pY(t){t.removeLeadSnapshot()}function n5(t,n,i){t.translate=Ea(n.translate,0,i),t.scale=Ea(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function a5(t,n,i,o){t.min=Ea(n.min,i.min,o),t.max=Ea(n.max,i.max,o)}function gY(t,n,i,o){a5(t.x,n.x,i.x,o),a5(t.y,n.y,i.y,o)}function yY(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const vY={duration:.45,ease:[.4,0,.1,1]},i5=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),r5=i5("applewebkit/")&&!i5("chrome/")?Math.round:Hl;function l5(t){t.min=r5(t.min),t.max=r5(t.max)}function bY(t){l5(t.x),l5(t.y)}function o5(t,n,i){return t==="position"||t==="preserve-aspect"&&!xk(Z6(n),Z6(i),.2)}function SY(t){var n;return t!==t.root&&((n=t.scroll)===null||n===void 0?void 0:n.wasRoot)}const xY=J6({attachResizeListener:(t,n)=>ab(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),UA={current:void 0},s5=J6({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!UA.current){const t=new xY({});t.mount(window),t.setOptions({layoutScroll:!0}),UA.current=t}return UA.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),TY={pan:{Feature:jk},drag:{Feature:Bk,ProjectionNode:s5,MeasureLayout:z6}};function EY(t,n,i){var o;if(t instanceof EventTarget)return[t];if(typeof t=="string"){let u=document;const h=(o=void 0)!==null&&o!==void 0?o:u.querySelectorAll(t);return h?Array.from(h):[]}return Array.from(t)}function u5(t,n){const i=EY(t),o=new AbortController,u={passive:!0,...n,signal:o.signal};return[i,u,()=>o.abort()]}function c5(t){return!(t.pointerType==="touch"||r6())}function AY(t,n,i={}){const[o,u,h]=u5(t,i),g=v=>{if(!c5(v))return;const{target:S}=v,E=n(S,v);if(typeof E!="function"||!S)return;const A=C=>{c5(C)&&(E(C),S.removeEventListener("pointerleave",A))};S.addEventListener("pointerleave",A,u)};return o.forEach(v=>{v.addEventListener("pointerenter",g,u)}),h}function f5(t,n,i){const{props:o}=t;t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",i==="Start");const u="onHover"+i,h=o[u];h&&ea.postRender(()=>h(n,ib(n)))}class wY extends om{mount(){const{current:n}=this.node;n&&(this.unmount=AY(n,(i,o)=>(f5(this.node,o,"Start"),u=>f5(this.node,u,"End"))))}unmount(){}}class CY extends om{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tb(ab(this.node.current,"focus",()=>this.onFocus()),ab(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const d5=(t,n)=>n?t===n?!0:d5(t,n.parentElement):!1,OY=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function MY(t){return OY.has(t.tagName)||t.tabIndex!==-1}const ub=new WeakSet;function h5(t){return n=>{n.key==="Enter"&&t(n)}}function VA(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const DY=(t,n)=>{const i=t.currentTarget;if(!i)return;const o=h5(()=>{if(ub.has(i))return;VA(i,"down");const u=h5(()=>{VA(i,"up")}),h=()=>VA(i,"cancel");i.addEventListener("keyup",u,n),i.addEventListener("blur",h,n)});i.addEventListener("keydown",o,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",o),n)};function m5(t){return CA(t)&&!r6()}function RY(t,n,i={}){const[o,u,h]=u5(t,i),g=v=>{const S=v.currentTarget;if(!m5(v)||ub.has(S))return;ub.add(S);const E=n(S,v),A=(R,B)=>{window.removeEventListener("pointerup",C),window.removeEventListener("pointercancel",M),!(!m5(R)||!ub.has(S))&&(ub.delete(S),typeof E=="function"&&E(R,{success:B}))},C=R=>{A(R,S===window||S===document||i.useGlobalTarget||d5(S,R.target))},M=R=>{A(R,!1)};window.addEventListener("pointerup",C,u),window.addEventListener("pointercancel",M,u)};return o.forEach(v=>{(i.useGlobalTarget?window:v).addEventListener("pointerdown",g,u),v instanceof HTMLElement&&(v.addEventListener("focus",E=>DY(E,u)),!MY(v)&&v.tabIndex===null&&(v.tabIndex=0))}),h}function p5(t,n,i){const{props:o}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&o.whileTap&&t.animationState.setActive("whileTap",i==="Start");const u="onTap"+(i==="End"?"":i),h=o[u];h&&ea.postRender(()=>h(n,ib(n)))}class _Y extends om{mount(){const{current:n}=this.node;n&&(this.unmount=RY(n,(i,o)=>(p5(this.node,o,"Start"),(u,{success:h})=>p5(this.node,u,h?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const BA=new WeakMap,jA=new WeakMap,NY=t=>{const n=BA.get(t.target);n&&n(t)},zY=t=>{t.forEach(NY)};function LY({root:t,...n}){const i=t||document;jA.has(i)||jA.set(i,{});const o=jA.get(i),u=JSON.stringify(n);return o[u]||(o[u]=new IntersectionObserver(zY,{root:t,...n})),o[u]}function UY(t,n,i){const o=LY(n);return BA.set(t,i),o.observe(t),()=>{BA.delete(t),o.unobserve(t)}}const VY={some:0,all:1};class BY extends om{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:i,margin:o,amount:u="some",once:h}=n,g={root:i?i.current:void 0,rootMargin:o,threshold:typeof u=="number"?u:VY[u]},v=S=>{const{isIntersecting:E}=S;if(this.isInView===E||(this.isInView=E,h&&!E&&this.hasEnteredView))return;E&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",E);const{onViewportEnter:A,onViewportLeave:C}=this.node.getProps(),M=E?A:C;M&&M(S)};return UY(this.node.current,g,v)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(jY(n,i))&&this.startObserver()}unmount(){}}function jY({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const $Y={inView:{Feature:BY},tap:{Feature:_Y},focus:{Feature:CY},hover:{Feature:wY}},HY={layout:{ProjectionNode:s5,MeasureLayout:z6}},$A={current:null},g5={current:!1};function PY(){if(g5.current=!0,!!_E)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>$A.current=t.matches;t.addListener(n),n()}else $A.current=!1}const kY=[...UR,jr,lm],YY=t=>kY.find(LR(t)),qY=new WeakMap;function GY(t,n,i){for(const o in n){const u=n[o],h=i[o];if(Br(u))t.addValue(o,u),process.env.NODE_ENV==="development"&&ax(u.version==="12.6.2",`Attempting to mix Motion versions ${u.version} with 12.6.2 may not work as expected.`);else if(Br(h))t.addValue(o,K1(u,{owner:t}));else if(h!==u)if(t.hasValue(o)){const g=t.getValue(o);g.liveStyle===!0?g.jump(u):g.hasAnimated||g.set(u)}else{const g=t.getStaticValue(o);t.addValue(o,K1(g!==void 0?g:u,{owner:t}))}}for(const o in i)n[o]===void 0&&t.removeValue(o);return n}const y5=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class IY{scrapeMotionValuesFromProps(n,i,o){return{}}constructor({parent:n,props:i,presenceContext:o,reducedMotionConfig:u,blockInitialAnimation:h,visualState:g},v={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=gA,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const R=Lc.now();this.renderScheduledAt<R&&(this.renderScheduledAt=R,ea.render(this.render,!1,!0))};const{latestValues:S,renderState:E,onUpdate:A}=g;this.onUpdate=A,this.latestValues=S,this.baseTarget={...S},this.initialValues=i.initial?{...S}:{},this.renderState=E,this.parent=n,this.props=i,this.presenceContext=o,this.depth=n?n.depth+1:0,this.reducedMotionConfig=u,this.options=v,this.blockInitialAnimation=!!h,this.isControllingVariants=lx(i),this.isVariantNode=z4(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:C,...M}=this.scrapeMotionValuesFromProps(i,{},this);for(const R in M){const B=M[R];S[R]!==void 0&&Br(B)&&B.set(S[R],!1)}}mount(n){this.current=n,qY.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,o)=>this.bindToMotionValue(o,i)),g5.current||PY(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:$A.current,process.env.NODE_ENV!=="production"&&ax(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),im(this.notifyUpdate),im(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}bindToMotionValue(n,i){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const o=vg.has(n);o&&this.onBindTransform&&this.onBindTransform();const u=i.on("change",v=>{this.latestValues[n]=v,this.props.onUpdate&&ea.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0)}),h=i.on("renderRequest",this.scheduleRender);let g;window.MotionCheckAppearSync&&(g=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{u(),h(),g&&g(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in Uy){const i=Uy[n];if(!i)continue;const{isEnabled:o,Feature:u}=i;if(!this.features[n]&&u&&o(this.props)&&(this.features[n]=new u(this)),this.features[n]){const h=this.features[n];h.isMounted?h.update():(h.mount(),h.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ga()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let o=0;o<y5.length;o++){const u=y5[o];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const h="on"+u,g=n[h];g&&(this.propEventSubscriptions[u]=this.on(u,g))}this.prevMotionValues=GY(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const o=this.values.get(n);i!==o&&(o&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let o=this.values.get(n);return o===void 0&&i!==void 0&&(o=K1(i===null?void 0:i,{owner:this}),this.addValue(n,o)),o}readValue(n,i){var o;let u=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:(o=this.getBaseTargetFromProps(this.props,n))!==null&&o!==void 0?o:this.readValueFromInstance(this.current,n,this.options);return u!=null&&(typeof u=="string"&&(NR(u)||gR(u))?u=parseFloat(u):!YY(u)&&lm.test(i)&&(u=AR(n,i)),this.setBaseTarget(n,Br(u)?u.get():u)),Br(u)?u.get():u}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){var i;const{initial:o}=this.props;let u;if(typeof o=="string"||typeof o=="object"){const g=IE(this.props,o,(i=this.presenceContext)===null||i===void 0?void 0:i.custom);g&&(u=g[n])}if(o&&u!==void 0)return u;const h=this.getBaseTargetFromProps(this.props,n);return h!==void 0&&!Br(h)?h:this.initialValues[n]!==void 0&&u===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new WE),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}}class v5 extends IY{constructor(){super(...arguments),this.KeyframeResolver=BR}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){return n.style?n.style[i]:void 0}removeValueFromRenderState(n,{vars:i,style:o}){delete i[n],delete o[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Br(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function FY(t){return window.getComputedStyle(t)}class XY extends v5{constructor(){super(...arguments),this.type="html",this.renderInstance=Z4}readValueFromInstance(n,i){if(vg.has(i))return JH(n,i);{const o=FY(n),u=(jE(i)?o.getPropertyValue(i):o[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(n,{transformPagePoint:i}){return x6(n,i)}build(n,i,o){PE(n,i,o.transformTemplate)}scrapeMotionValuesFromProps(n,i,o){return XE(n,i,o)}}class ZY extends v5{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ga,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&X4(this.current,this.renderState)}}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(vg.has(i)){const o=ER(i);return o&&o.default||0}return i=K4.has(i)?i:BE(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,o){return W4(n,i,o)}onBindTransform(){this.current&&!this.renderState.dimensions&&ea.postRender(this.updateDimensions)}build(n,i,o){qE(n,i,this.isSVGTag,o.transformTemplate)}renderInstance(n,i,o,u){Q4(n,i,o,u)}mount(n){this.isSVGTag=GE(n.tagName),super.mount(n)}}const KY=(t,n)=>YE(t)?new ZY(n):new XY(n,{allowProjection:t!==ee.Fragment}),QY=vH({...dk,...$Y,...TY,...HY},KY),ha=U$(QY),HA={defaultColorScheme:"aqua",t:t=>t},b5=ee.createContext(HA),ma=()=>ee.useContext(b5),S5=({title:t,description:n,open:i,onClose:o,onConfirm:u,onCancel:h})=>{const{t:g}=ma(),v={hidden:{opacity:0},visible:{opacity:1}},S={hidden:{opacity:0,scale:.8,y:-20},visible:{opacity:1,scale:1,y:0,transition:{type:"spring",stiffness:300,damping:25}},exit:{opacity:0,scale:.8,y:20,transition:{duration:.2}}},E=()=>{u(),o()},A=()=>{h(),o()};return V.jsx(nm,{children:i&&V.jsx(V.Fragment,{children:V.jsx(ha.div,{className:"fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:v,onClick:o,children:V.jsx(ha.div,{className:"w-full max-w-4xl mx-16 z-50",variants:S,initial:"hidden",animate:"visible",exit:"exit",onClick:C=>C.stopPropagation(),children:V.jsxs(Wy,{className:"flex flex-col gap-16 p-32",children:[V.jsxs("div",{className:"flex justify-between items-center gap-16",children:[V.jsx("h3",{className:"text-black font-700 text-3xl",children:t}),V.jsx(fn,{icon:mT,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700",onClick:o})]}),V.jsx("p",{className:"text-gray-500 text-xl font-600",children:n}),V.jsxs("div",{className:"flex justify-end w-full gap-16",children:[V.jsx(Eb,{onClick:A,variant:"transparent",className:"px-24 py-10! text-lg!",children:g("cancel")}),V.jsx(Eb,{onClick:E,className:"px-24 py-16 text-lg!",children:g("confirm")})]})]})})})})})};/*!
|
|
659
|
+
`),()=>{document.head.removeChild(R)}},[n]),V.jsx(A$,{isPresent:n,childRef:u,sizeRef:h,children:lt.cloneElement(t,{ref:u})})}const C$=({children:t,initial:n,isPresent:i,onExitComplete:o,custom:u,presenceAffectsLayout:h,mode:g,anchorX:v})=>{const S=RE(O$),E=ee.useId(),A=ee.useCallback(M=>{S.set(M,!0);for(const R of S.values())if(!R)return;o&&o()},[S,o]),C=ee.useMemo(()=>({id:E,initial:n,isPresent:i,custom:u,onExitComplete:A,register:M=>(S.set(M,!1),()=>S.delete(M))}),h?[Math.random(),A]:[i,A]);return ee.useMemo(()=>{S.forEach((M,R)=>S.set(R,!1))},[i]),lt.useEffect(()=>{!i&&!S.size&&o&&o()},[i]),g==="popLayout"&&(t=V.jsx(w$,{isPresent:i,anchorX:v,children:t})),V.jsx(JS.Provider,{value:C,children:t})};function O$(){return new Map}function w4(t=!0){const n=ee.useContext(JS);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:o,register:u}=n,h=ee.useId();ee.useEffect(()=>{if(t)return u(h)},[t]);const g=ee.useCallback(()=>t&&o&&o(h),[h,o,t]);return!i&&o?[!1,g]:[!0]}const ex=t=>t.key||"";function C4(t){const n=[];return ee.Children.forEach(t,i=>{ee.isValidElement(i)&&n.push(i)}),n}const nm=({children:t,custom:n,initial:i=!0,onExitComplete:o,presenceAffectsLayout:u=!0,mode:h="sync",propagate:g=!1,anchorX:v="left"})=>{const[S,E]=w4(g),A=ee.useMemo(()=>C4(t),[t]),C=g&&!S?[]:A.map(ex),M=ee.useRef(!0),R=ee.useRef(A),B=RE(()=>new Map),[L,P]=ee.useState(A),[U,G]=ee.useState(A);A4(()=>{M.current=!1,R.current=A;for(let Y=0;Y<U.length;Y++){const le=ex(U[Y]);C.includes(le)?B.delete(le):B.get(le)!==!0&&B.set(le,!1)}},[U,C.length,C.join("-")]);const q=[];if(A!==L){let Y=[...A];for(let le=0;le<U.length;le++){const me=U[le],pe=ex(me);C.includes(pe)||(Y.splice(le,0,me),q.push(me))}return h==="wait"&&q.length&&(Y=q),G(C4(Y)),P(A),null}process.env.NODE_ENV!=="production"&&h==="wait"&&U.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:J}=ee.useContext(DE);return V.jsx(V.Fragment,{children:U.map(Y=>{const le=ex(Y),me=g&&!S?!1:A===U||C.includes(le),pe=()=>{if(B.has(le))B.set(le,!0);else return;let ve=!0;B.forEach(He=>{He||(ve=!1)}),ve&&(J==null||J(),G(R.current),g&&(E==null||E()),o&&o())};return V.jsx(C$,{isPresent:me,initial:!M.current||i?void 0:!1,custom:n,presenceAffectsLayout:u,mode:h,onExitComplete:me?void 0:pe,anchorX:v,children:Y},le)})})},Hl=t=>t;let Ly=Hl,am=Hl;process.env.NODE_ENV!=="production"&&(Ly=(t,n)=>{!t&&typeof console<"u"&&console.warn(n)},am=(t,n)=>{if(!t)throw new Error(n)});const M$={useManualTiming:!1},tx=["read","resolveKeyframes","update","preRender","render","postRender"],O4={value:null};function D$(t,n){let i=new Set,o=new Set,u=!1,h=!1;const g=new WeakSet;let v={delta:0,timestamp:0,isProcessing:!1},S=0;function E(C){g.has(C)&&(A.schedule(C),t()),S++,C(v)}const A={schedule:(C,M=!1,R=!1)=>{const L=R&&u?i:o;return M&&g.add(C),L.has(C)||L.add(C),C},cancel:C=>{o.delete(C),g.delete(C)},process:C=>{if(v=C,u){h=!0;return}u=!0,[i,o]=[o,i],i.forEach(E),n&&O4.value&&O4.value.frameloop[n].push(S),S=0,i.clear(),u=!1,h&&(h=!1,A.process(C))}};return A}const R$=40;function M4(t,n){let i=!1,o=!0;const u={delta:0,timestamp:0,isProcessing:!1},h=()=>i=!0,g=tx.reduce((U,G)=>(U[G]=D$(h,n?G:void 0),U),{}),{read:v,resolveKeyframes:S,update:E,preRender:A,render:C,postRender:M}=g,R=()=>{const U=performance.now();i=!1,u.delta=o?1e3/60:Math.max(Math.min(U-u.timestamp,R$),1),u.timestamp=U,u.isProcessing=!0,v.process(u),S.process(u),E.process(u),A.process(u),C.process(u),M.process(u),u.isProcessing=!1,i&&n&&(o=!1,t(R))},B=()=>{i=!0,o=!0,u.isProcessing||t(R)};return{schedule:tx.reduce((U,G)=>{const q=g[G];return U[G]=(J,Y=!1,le=!1)=>(i||B(),q.schedule(J,Y,le)),U},{}),cancel:U=>{for(let G=0;G<tx.length;G++)g[tx[G]].cancel(U)},state:u,steps:g}}const{schedule:ea,cancel:im,state:mr,steps:zE}=M4(typeof requestAnimationFrame<"u"?requestAnimationFrame:Hl,!0),D4=ee.createContext({strict:!1}),R4={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Uy={};for(const t in R4)Uy[t]={isEnabled:n=>R4[t].some(i=>!!n[i])};function _$(t){for(const n in t)Uy[n]={...Uy[n],...t[n]}}const N$=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nx(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||N$.has(t)}let _4=t=>!nx(t);function z$(t){t&&(_4=n=>n.startsWith("on")?!nx(n):t(n))}try{z$(require("@emotion/is-prop-valid").default)}catch{}function L$(t,n,i){const o={};for(const u in t)u==="values"&&typeof t.values=="object"||(_4(u)||i===!0&&nx(u)||!n&&!nx(u)||t.draggable&&u.startsWith("onDrag"))&&(o[u]=t[u]);return o}const N4=new Set;function ax(t,n,i){t||N4.has(n)||(console.warn(n),N4.add(n))}function U$(t){if(typeof Proxy>"u")return t;const n=new Map,i=(...o)=>(process.env.NODE_ENV!=="production"&&ax(!1,"motion() is deprecated. Use motion.create() instead."),t(...o));return new Proxy(i,{get:(o,u)=>u==="create"?t:(n.has(u)||n.set(u,t(u)),n.get(u))})}const ix=ee.createContext({});function rx(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function G1(t){return typeof t=="string"||Array.isArray(t)}const LE=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],UE=["initial",...LE];function lx(t){return rx(t.animate)||UE.some(n=>G1(t[n]))}function z4(t){return!!(lx(t)||t.variants)}function V$(t,n){if(lx(t)){const{initial:i,animate:o}=t;return{initial:i===!1||G1(i)?i:void 0,animate:G1(o)?o:void 0}}return t.inherit!==!1?n:{}}function B$(t){const{initial:n,animate:i}=V$(t,ee.useContext(ix));return ee.useMemo(()=>({initial:n,animate:i}),[L4(n),L4(i)])}function L4(t){return Array.isArray(t)?t.join(" "):t}const j$=Symbol.for("motionComponentSymbol");function Vy(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function $$(t,n,i){return ee.useCallback(o=>{o&&t.onMount&&t.onMount(o),n&&(o?n.mount(o):n.unmount()),i&&(typeof i=="function"?i(o):Vy(i)&&(i.current=o))},[n])}const{schedule:VE}=M4(queueMicrotask,!1),BE=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),U4="data-"+BE("framerAppearId"),V4=ee.createContext({});function H$(t,n,i,o,u){var h,g;const{visualElement:v}=ee.useContext(ix),S=ee.useContext(D4),E=ee.useContext(JS),A=ee.useContext(NE).reducedMotion,C=ee.useRef(null);o=o||S.renderer,!C.current&&o&&(C.current=o(t,{visualState:n,parent:v,props:i,presenceContext:E,blockInitialAnimation:E?E.initial===!1:!1,reducedMotionConfig:A}));const M=C.current,R=ee.useContext(V4);M&&!M.projection&&u&&(M.type==="html"||M.type==="svg")&&P$(C.current,i,u,R);const B=ee.useRef(!1);ee.useInsertionEffect(()=>{M&&B.current&&M.update(i,E)});const L=i[U4],P=ee.useRef(!!L&&!(!((h=window.MotionHandoffIsComplete)===null||h===void 0)&&h.call(window,L))&&((g=window.MotionHasOptimisedAnimation)===null||g===void 0?void 0:g.call(window,L)));return A4(()=>{M&&(B.current=!0,window.MotionIsMounted=!0,M.updateFeatures(),VE.render(M.render),P.current&&M.animationState&&M.animationState.animateChanges())}),ee.useEffect(()=>{M&&(!P.current&&M.animationState&&M.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var U;(U=window.MotionHandoffMarkAsComplete)===null||U===void 0||U.call(window,L)}),P.current=!1))}),M}function P$(t,n,i,o){const{layoutId:u,layout:h,drag:g,dragConstraints:v,layoutScroll:S,layoutRoot:E}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:B4(t.parent)),t.projection.setOptions({layoutId:u,layout:h,alwaysMeasureLayout:!!g||v&&Vy(v),visualElement:t,animationType:typeof h=="string"?h:"both",initialPromotionConfig:o,layoutScroll:S,layoutRoot:E})}function B4(t){if(t)return t.options.allowProjection!==!1?t.projection:B4(t.parent)}function k$({preloadedFeatures:t,createVisualElement:n,useRender:i,useVisualState:o,Component:u}){var h,g;t&&_$(t);function v(E,A){let C;const M={...ee.useContext(NE),...E,layoutId:Y$(E)},{isStatic:R}=M,B=B$(E),L=o(E,R);if(!R&&_E){q$(M,t);const P=G$(M);C=P.MeasureLayout,B.visualElement=H$(u,L,M,n,P.ProjectionNode)}return V.jsxs(ix.Provider,{value:B,children:[C&&B.visualElement?V.jsx(C,{visualElement:B.visualElement,...M}):null,i(u,E,$$(L,B.visualElement,A),L,R,B.visualElement)]})}v.displayName=`motion.${typeof u=="string"?u:`create(${(g=(h=u.displayName)!==null&&h!==void 0?h:u.name)!==null&&g!==void 0?g:""})`}`;const S=ee.forwardRef(v);return S[j$]=u,S}function Y$({layoutId:t}){const n=ee.useContext(DE).id;return n&&t!==void 0?n+"-"+t:t}function q$(t,n){const i=ee.useContext(D4).strict;if(process.env.NODE_ENV!=="production"&&n&&i){const o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Ly(!1,o):am(!1,o)}}function G$(t){const{drag:n,layout:i}=Uy;if(!n&&!i)return{};const o={...n,...i};return{MeasureLayout:n!=null&&n.isEnabled(t)||i!=null&&i.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}const j4=t=>n=>typeof n=="string"&&n.startsWith(t),jE=j4("--"),I$=j4("var(--"),$E=t=>I$(t)?F$.test(t.split("/*")[0].trim()):!1,F$=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,I1={};function X$(t){for(const n in t)I1[n]=t[n],jE(n)&&(I1[n].isCSSVariable=!0)}const By=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],vg=new Set(By);function $4(t,{layout:n,layoutId:i}){return vg.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!I1[t]||t==="opacity")}const Br=t=>!!(t&&t.getVelocity),H4=(t,n)=>n&&typeof t=="number"?n.transform(t):t,od=(t,n,i)=>i>n?n:i<t?t:i,jy={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},F1={...jy,transform:t=>od(0,1,t)},ox={...jy,default:1},X1=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),rm=X1("deg"),zc=X1("%"),At=X1("px"),Z$=X1("vh"),K$=X1("vw"),P4={...zc,parse:t=>zc.parse(t)/100,transform:t=>zc.transform(t*100)},Q$={borderWidth:At,borderTopWidth:At,borderRightWidth:At,borderBottomWidth:At,borderLeftWidth:At,borderRadius:At,radius:At,borderTopLeftRadius:At,borderTopRightRadius:At,borderBottomRightRadius:At,borderBottomLeftRadius:At,width:At,maxWidth:At,height:At,maxHeight:At,top:At,right:At,bottom:At,left:At,padding:At,paddingTop:At,paddingRight:At,paddingBottom:At,paddingLeft:At,margin:At,marginTop:At,marginRight:At,marginBottom:At,marginLeft:At,backgroundPositionX:At,backgroundPositionY:At},W$={rotate:rm,rotateX:rm,rotateY:rm,rotateZ:rm,scale:ox,scaleX:ox,scaleY:ox,scaleZ:ox,skew:rm,skewX:rm,skewY:rm,distance:At,translateX:At,translateY:At,translateZ:At,x:At,y:At,z:At,perspective:At,transformPerspective:At,opacity:F1,originX:P4,originY:P4,originZ:At},k4={...jy,transform:Math.round},HE={...Q$,...W$,zIndex:k4,size:At,fillOpacity:F1,strokeOpacity:F1,numOctaves:k4},J$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eH=By.length;function tH(t,n,i){let o="",u=!0;for(let h=0;h<eH;h++){const g=By[h],v=t[g];if(v===void 0)continue;let S=!0;if(typeof v=="number"?S=v===(g.startsWith("scale")?1:0):S=parseFloat(v)===0,!S||i){const E=H4(v,HE[g]);if(!S){u=!1;const A=J$[g]||g;o+=`${A}(${E}) `}i&&(n[g]=E)}}return o=o.trim(),i?o=i(n,u?"":o):u&&(o="none"),o}function PE(t,n,i){const{style:o,vars:u,transformOrigin:h}=t;let g=!1,v=!1;for(const S in n){const E=n[S];if(vg.has(S)){g=!0;continue}else if(jE(S)){u[S]=E;continue}else{const A=H4(E,HE[S]);S.startsWith("origin")?(v=!0,h[S]=A):o[S]=A}}if(n.transform||(g||i?o.transform=tH(n,t.transform,i):o.transform&&(o.transform="none")),v){const{originX:S="50%",originY:E="50%",originZ:A=0}=h;o.transformOrigin=`${S} ${E} ${A}`}}const kE=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Y4(t,n,i){for(const o in n)!Br(n[o])&&!$4(o,i)&&(t[o]=n[o])}function nH({transformTemplate:t},n){return ee.useMemo(()=>{const i=kE();return PE(i,n,t),Object.assign({},i.vars,i.style)},[n])}function aH(t,n){const i=t.style||{},o={};return Y4(o,i,t),Object.assign(o,nH(t,n)),o}function iH(t,n){const i={},o=aH(t,n);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=o,i}const rH=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function YE(t){return typeof t!="string"||t.includes("-")?!1:!!(rH.indexOf(t)>-1||/[A-Z]/u.test(t))}const lH={offset:"stroke-dashoffset",array:"stroke-dasharray"},oH={offset:"strokeDashoffset",array:"strokeDasharray"};function sH(t,n,i=1,o=0,u=!0){t.pathLength=1;const h=u?lH:oH;t[h.offset]=At.transform(-o);const g=At.transform(n),v=At.transform(i);t[h.array]=`${g} ${v}`}function q4(t,n,i){return typeof t=="string"?t:At.transform(n+i*t)}function uH(t,n,i){const o=q4(n,t.x,t.width),u=q4(i,t.y,t.height);return`${o} ${u}`}function qE(t,{attrX:n,attrY:i,attrScale:o,originX:u,originY:h,pathLength:g,pathSpacing:v=1,pathOffset:S=0,...E},A,C){if(PE(t,E,C),A){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:M,style:R,dimensions:B}=t;M.transform&&(B&&(R.transform=M.transform),delete M.transform),B&&(u!==void 0||h!==void 0||R.transform)&&(R.transformOrigin=uH(B,u!==void 0?u:.5,h!==void 0?h:.5)),n!==void 0&&(M.x=n),i!==void 0&&(M.y=i),o!==void 0&&(M.scale=o),g!==void 0&&sH(M,g,v,S,!1)}const G4=()=>({...kE(),attrs:{}}),GE=t=>typeof t=="string"&&t.toLowerCase()==="svg";function cH(t,n,i,o){const u=ee.useMemo(()=>{const h=G4();return qE(h,n,GE(o),t.transformTemplate),{...h.attrs,style:{...h.style}}},[n]);if(t.style){const h={};Y4(h,t.style,t),u.style={...h,...u.style}}return u}function fH(t=!1){return(i,o,u,{latestValues:h},g)=>{const S=(YE(i)?cH:iH)(o,h,g,i),E=L$(o,typeof i=="string",t),A=i!==ee.Fragment?{...E,...S,ref:u}:{},{children:C}=o,M=ee.useMemo(()=>Br(C)?C.get():C,[C]);return ee.createElement(i,{...A,children:M})}}function I4(t){const n=[{},{}];return t==null||t.values.forEach((i,o)=>{n[0][o]=i.get(),n[1][o]=i.getVelocity()}),n}function IE(t,n,i,o){if(typeof n=="function"){const[u,h]=I4(o);n=n(i!==void 0?i:t.custom,u,h)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[u,h]=I4(o);n=n(i!==void 0?i:t.custom,u,h)}return n}const FE=t=>Array.isArray(t),dH=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),hH=t=>FE(t)?t[t.length-1]||0:t;function sx(t){const n=Br(t)?t.get():t;return dH(n)?n.toValue():n}function mH({scrapeMotionValuesFromProps:t,createRenderState:n,onUpdate:i},o,u,h){const g={latestValues:pH(o,u,h,t),renderState:n()};return i&&(g.onMount=v=>i({props:o,current:v,...g}),g.onUpdate=v=>i(v)),g}const F4=t=>(n,i)=>{const o=ee.useContext(ix),u=ee.useContext(JS),h=()=>mH(t,n,o,u);return i?h():RE(h)};function pH(t,n,i,o){const u={},h=o(t,{});for(const M in h)u[M]=sx(h[M]);let{initial:g,animate:v}=t;const S=lx(t),E=z4(t);n&&E&&!S&&t.inherit!==!1&&(g===void 0&&(g=n.initial),v===void 0&&(v=n.animate));let A=i?i.initial===!1:!1;A=A||g===!1;const C=A?v:g;if(C&&typeof C!="boolean"&&!rx(C)){const M=Array.isArray(C)?C:[C];for(let R=0;R<M.length;R++){const B=IE(t,M[R]);if(B){const{transitionEnd:L,transition:P,...U}=B;for(const G in U){let q=U[G];if(Array.isArray(q)){const J=A?q.length-1:0;q=q[J]}q!==null&&(u[G]=q)}for(const G in L)u[G]=L[G]}}}return u}function XE(t,n,i){var o;const{style:u}=t,h={};for(const g in u)(Br(u[g])||n.style&&Br(n.style[g])||$4(g,t)||((o=i==null?void 0:i.getValue(g))===null||o===void 0?void 0:o.liveStyle)!==void 0)&&(h[g]=u[g]);return h}const gH={useVisualState:F4({scrapeMotionValuesFromProps:XE,createRenderState:kE})};function X4(t,n){try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}function Z4(t,{style:n,vars:i},o,u){Object.assign(t.style,n,u&&u.getProjectionStyles(o));for(const h in i)t.style.setProperty(h,i[h])}const K4=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Q4(t,n,i,o){Z4(t,n,void 0,o);for(const u in n.attrs)t.setAttribute(K4.has(u)?u:BE(u),n.attrs[u])}function W4(t,n,i){const o=XE(t,n,i);for(const u in t)if(Br(t[u])||Br(n[u])){const h=By.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;o[h]=t[u]}return o}const J4=["x","y","width","height","cx","cy","r"],yH={useVisualState:F4({scrapeMotionValuesFromProps:W4,createRenderState:G4,onUpdate:({props:t,prevProps:n,current:i,renderState:o,latestValues:u})=>{if(!i)return;let h=!!t.drag;if(!h){for(const v in u)if(vg.has(v)){h=!0;break}}if(!h)return;let g=!n;if(n)for(let v=0;v<J4.length;v++){const S=J4[v];t[S]!==n[S]&&(g=!0)}g&&ea.read(()=>{X4(i,o),ea.render(()=>{qE(o,u,GE(i.tagName),t.transformTemplate),Q4(i,o)})})}})};function vH(t,n){return function(o,{forwardMotionProps:u}={forwardMotionProps:!1}){const g={...YE(o)?yH:gH,preloadedFeatures:t,useRender:fH(u),createVisualElement:n,Component:o};return k$(g)}}function Z1(t,n,i){const o=t.getProps();return IE(o,n,i!==void 0?i:o.custom,t)}function ZE(t,n){return t?t[n]||t.default||t:void 0}const eR=new Set(["width","height","top","left","right","bottom",...By]);function KE(t,n){t.indexOf(n)===-1&&t.push(n)}function QE(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}class WE{constructor(){this.subscriptions=[]}add(n){return KE(this.subscriptions,n),()=>QE(this.subscriptions,n)}notify(n,i,o){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](n,i,o);else for(let h=0;h<u;h++){const g=this.subscriptions[h];g&&g(n,i,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tR(t,n){return n?t*(1e3/n):0}let ux;function bH(){ux=void 0}const Lc={now:()=>(ux===void 0&&Lc.set(mr.isProcessing||M$.useManualTiming?mr.timestamp:performance.now()),ux),set:t=>{ux=t,queueMicrotask(bH)}},nR=30,SH=t=>!isNaN(parseFloat(t));class xH{constructor(n,i={}){this.version="12.6.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,u=!0)=>{const h=Lc.now();this.updatedAt!==h&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),u&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=Lc.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=SH(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return process.env.NODE_ENV!=="production"&&ax(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new WE);const o=this.events[n].add(i);return n==="change"?()=>{o(),ea.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n,i=!0){!i||!this.passiveEffect?this.updateAndNotify(n,i):this.passiveEffect(n,this.updateAndNotify)}setWithVelocity(n,i,o){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-o}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=Lc.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>nR)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,nR);return tR(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function K1(t,n){return new xH(t,n)}function TH(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,K1(i))}function EH(t,n){const i=Z1(t,n);let{transitionEnd:o={},transition:u={},...h}=i||{};h={...h,...o};for(const g in h){const v=hH(h[g]);TH(t,g,v)}}function AH(t){return!!(Br(t)&&t.add)}function JE(t,n){const i=t.getValue("willChange");if(AH(i))return i.add(n)}function aR(t){return t.props[U4]}function eA(t){let n;return()=>(n===void 0&&(n=t()),n)}const wH=eA(()=>window.ScrollTimeline!==void 0);class CH{constructor(n){this.stop=()=>this.runAll("stop"),this.animations=n.filter(Boolean)}get finished(){return Promise.all(this.animations.map(n=>"finished"in n?n.finished:n))}getAll(n){return this.animations[0][n]}setAll(n,i){for(let o=0;o<this.animations.length;o++)this.animations[o][n]=i}attachTimeline(n,i){const o=this.animations.map(u=>{if(wH()&&u.attachTimeline)return u.attachTimeline(n);if(typeof i=="function")return i(u)});return()=>{o.forEach((u,h)=>{u&&u(),this.animations[h].stop()})}}get time(){return this.getAll("time")}set time(n){this.setAll("time",n)}get speed(){return this.getAll("speed")}set speed(n){this.setAll("speed",n)}get startTime(){return this.getAll("startTime")}get duration(){let n=0;for(let i=0;i<this.animations.length;i++)n=Math.max(n,this.animations[i].duration);return n}runAll(n){this.animations.forEach(i=>i[n]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class OH extends CH{then(n,i){return Promise.all(this.animations).then(n).catch(i)}}const Uc=t=>t*1e3,sd=t=>t/1e3;function tA(t){return typeof t=="function"}function iR(t,n){t.timeline=n,t.onfinish=null}const nA=t=>Array.isArray(t)&&typeof t[0]=="number",MH={linearEasing:void 0};function DH(t,n){const i=eA(t);return()=>{var o;return(o=MH[n])!==null&&o!==void 0?o:i()}}const cx=DH(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),$y=(t,n,i)=>{const o=n-t;return o===0?1:(i-t)/o},rR=(t,n,i=10)=>{let o="";const u=Math.max(Math.round(n/i),2);for(let h=0;h<u;h++)o+=t($y(0,u-1,h))+", ";return`linear(${o.substring(0,o.length-2)})`};function lR(t){return!!(typeof t=="function"&&cx()||!t||typeof t=="string"&&(t in aA||cx())||nA(t)||Array.isArray(t)&&t.every(lR))}const Q1=([t,n,i,o])=>`cubic-bezier(${t}, ${n}, ${i}, ${o})`,aA={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Q1([0,.65,.55,1]),circOut:Q1([.55,0,1,.45]),backIn:Q1([.31,.01,.66,-.59]),backOut:Q1([.33,1.53,.69,.99])};function oR(t,n){if(t)return typeof t=="function"&&cx()?rR(t,n):nA(t)?Q1(t):Array.isArray(t)?t.map(i=>oR(i,n)||aA.easeOut):aA[t]}const sR=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,RH=1e-7,_H=12;function NH(t,n,i,o,u){let h,g,v=0;do g=n+(i-n)/2,h=sR(g,o,u)-t,h>0?i=g:n=g;while(Math.abs(h)>RH&&++v<_H);return g}function W1(t,n,i,o){if(t===n&&i===o)return Hl;const u=h=>NH(h,0,1,t,i);return h=>h===0||h===1?h:sR(u(h),n,o)}const uR=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,cR=t=>n=>1-t(1-n),fR=W1(.33,1.53,.69,.99),iA=cR(fR),dR=uR(iA),hR=t=>(t*=2)<1?.5*iA(t):.5*(2-Math.pow(2,-10*(t-1))),rA=t=>1-Math.sin(Math.acos(t)),mR=cR(rA),pR=uR(rA),gR=t=>/^0[^.\s]+$/u.test(t);function zH(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||gR(t):!0}const J1=t=>Math.round(t*1e5)/1e5,lA=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function LH(t){return t==null}const UH=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,oA=(t,n)=>i=>!!(typeof i=="string"&&UH.test(i)&&i.startsWith(t)||n&&!LH(i)&&Object.prototype.hasOwnProperty.call(i,n)),yR=(t,n,i)=>o=>{if(typeof o!="string")return o;const[u,h,g,v]=o.match(lA);return{[t]:parseFloat(u),[n]:parseFloat(h),[i]:parseFloat(g),alpha:v!==void 0?parseFloat(v):1}},VH=t=>od(0,255,t),sA={...jy,transform:t=>Math.round(VH(t))},bg={test:oA("rgb","red"),parse:yR("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:o=1})=>"rgba("+sA.transform(t)+", "+sA.transform(n)+", "+sA.transform(i)+", "+J1(F1.transform(o))+")"};function BH(t){let n="",i="",o="",u="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),o=t.substring(5,7),u=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),o=t.substring(3,4),u=t.substring(4,5),n+=n,i+=i,o+=o,u+=u),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(o,16),alpha:u?parseInt(u,16)/255:1}}const uA={test:oA("#"),parse:BH,transform:bg.transform},Hy={test:oA("hsl","hue"),parse:yR("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+zc.transform(J1(n))+", "+zc.transform(J1(i))+", "+J1(F1.transform(o))+")"},jr={test:t=>bg.test(t)||uA.test(t)||Hy.test(t),parse:t=>bg.test(t)?bg.parse(t):Hy.test(t)?Hy.parse(t):uA.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?bg.transform(t):Hy.transform(t)},jH=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $H(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(lA))===null||n===void 0?void 0:n.length)||0)+(((i=t.match(jH))===null||i===void 0?void 0:i.length)||0)>0}const vR="number",bR="color",HH="var",PH="var(",SR="${}",kH=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function eb(t){const n=t.toString(),i=[],o={color:[],number:[],var:[]},u=[];let h=0;const v=n.replace(kH,S=>(jr.test(S)?(o.color.push(h),u.push(bR),i.push(jr.parse(S))):S.startsWith(PH)?(o.var.push(h),u.push(HH),i.push(S)):(o.number.push(h),u.push(vR),i.push(parseFloat(S))),++h,SR)).split(SR);return{values:i,split:v,indexes:o,types:u}}function xR(t){return eb(t).values}function TR(t){const{split:n,types:i}=eb(t),o=n.length;return u=>{let h="";for(let g=0;g<o;g++)if(h+=n[g],u[g]!==void 0){const v=i[g];v===vR?h+=J1(u[g]):v===bR?h+=jr.transform(u[g]):h+=u[g]}return h}}const YH=t=>typeof t=="number"?0:t;function qH(t){const n=xR(t);return TR(t)(n.map(YH))}const lm={test:$H,parse:xR,createTransformer:TR,getAnimatableNone:qH},GH=new Set(["brightness","contrast","saturate","opacity"]);function IH(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[o]=i.match(lA)||[];if(!o)return t;const u=i.replace(o,"");let h=GH.has(n)?1:0;return o!==i&&(h*=100),n+"("+h+u+")"}const FH=/\b([a-z-]*)\(.*?\)/gu,cA={...lm,getAnimatableNone:t=>{const n=t.match(FH);return n?n.map(IH).join(" "):t}},XH={...HE,color:jr,backgroundColor:jr,outlineColor:jr,fill:jr,stroke:jr,borderColor:jr,borderTopColor:jr,borderRightColor:jr,borderBottomColor:jr,borderLeftColor:jr,filter:cA,WebkitFilter:cA},ER=t=>XH[t];function AR(t,n){let i=ER(t);return i!==cA&&(i=lm),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const ZH=new Set(["auto","none","0"]);function KH(t,n,i){let o=0,u;for(;o<t.length&&!u;){const h=t[o];typeof h=="string"&&!ZH.has(h)&&eb(h).values.length&&(u=t[o]),o++}if(u&&i)for(const h of n)t[h]=AR(i,u)}const Sg=t=>t*180/Math.PI,fA=t=>{const n=Sg(Math.atan2(t[1],t[0]));return dA(n)},QH={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:fA,rotateZ:fA,skewX:t=>Sg(Math.atan(t[1])),skewY:t=>Sg(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},dA=t=>(t=t%360,t<0&&(t+=360),t),wR=fA,CR=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),OR=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),WH={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:CR,scaleY:OR,scale:t=>(CR(t)+OR(t))/2,rotateX:t=>dA(Sg(Math.atan2(t[6],t[5]))),rotateY:t=>dA(Sg(Math.atan2(-t[2],t[0]))),rotateZ:wR,rotate:wR,skewX:t=>Sg(Math.atan(t[4])),skewY:t=>Sg(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function MR(t){return t.includes("scale")?1:0}function hA(t,n){if(!t||t==="none")return MR(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,u;if(i)o=WH,u=i;else{const v=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=QH,u=v}if(!u)return MR(n);const h=o[n],g=u[1].split(",").map(eP);return typeof h=="function"?h(g):g[h]}const JH=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return hA(i,n)};function eP(t){return parseFloat(t.trim())}const DR=t=>t===jy||t===At,tP=new Set(["x","y","z"]),nP=By.filter(t=>!tP.has(t));function aP(t){const n=[];return nP.forEach(i=>{const o=t.getValue(i);o!==void 0&&(n.push([i,o.get()]),o.set(i.startsWith("scale")?1:0))}),n}const Py={width:({x:t},{paddingLeft:n="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),height:({y:t},{paddingTop:n="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>hA(n,"x"),y:(t,{transform:n})=>hA(n,"y")};Py.translateX=Py.x,Py.translateY=Py.y;const xg=new Set;let mA=!1,pA=!1;function RR(){if(pA){const t=Array.from(xg).filter(o=>o.needsMeasurement),n=new Set(t.map(o=>o.element)),i=new Map;n.forEach(o=>{const u=aP(o);u.length&&(i.set(o,u),o.render())}),t.forEach(o=>o.measureInitialState()),n.forEach(o=>{o.render();const u=i.get(o);u&&u.forEach(([h,g])=>{var v;(v=o.getValue(h))===null||v===void 0||v.set(g)})}),t.forEach(o=>o.measureEndState()),t.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}pA=!1,mA=!1,xg.forEach(t=>t.complete()),xg.clear()}function _R(){xg.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(pA=!0)})}function iP(){_R(),RR()}class gA{constructor(n,i,o,u,h,g=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=o,this.motionValue=u,this.element=h,this.isAsync=g}scheduleResolve(){this.isScheduled=!0,this.isAsync?(xg.add(this),mA||(mA=!0,ea.read(_R),ea.resolveKeyframes(RR))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:o,motionValue:u}=this;for(let h=0;h<n.length;h++)if(n[h]===null)if(h===0){const g=u==null?void 0:u.get(),v=n[n.length-1];if(g!==void 0)n[0]=g;else if(o&&i){const S=o.readValue(i,v);S!=null&&(n[0]=S)}n[0]===void 0&&(n[0]=v),u&&g===void 0&&u.set(n[0])}else n[h]=n[h-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),xg.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,xg.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const NR=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),rP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function lP(t){const n=rP.exec(t);if(!n)return[,];const[,i,o,u]=n;return[`--${i??o}`,u]}const oP=4;function zR(t,n,i=1){am(i<=oP,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[o,u]=lP(t);if(!o)return;const h=window.getComputedStyle(n).getPropertyValue(o);if(h){const g=h.trim();return NR(g)?parseFloat(g):g}return $E(u)?zR(u,n,i+1):u}const LR=t=>n=>n.test(t),UR=[jy,At,zc,rm,K$,Z$,{test:t=>t==="auto",parse:t=>t}],VR=t=>UR.find(LR(t));class BR extends gA{constructor(n,i,o,u,h){super(n,i,o,u,h,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:o}=this;if(!i||!i.current)return;super.readKeyframes();for(let S=0;S<n.length;S++){let E=n[S];if(typeof E=="string"&&(E=E.trim(),$E(E))){const A=zR(E,i.current);A!==void 0&&(n[S]=A),S===n.length-1&&(this.finalKeyframe=E)}}if(this.resolveNoneKeyframes(),!eR.has(o)||n.length!==2)return;const[u,h]=n,g=VR(u),v=VR(h);if(g!==v)if(DR(g)&&DR(v))for(let S=0;S<n.length;S++){const E=n[S];typeof E=="string"&&(n[S]=parseFloat(E))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,o=[];for(let u=0;u<n.length;u++)zH(n[u])&&o.push(u);o.length&&KH(n,o,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:o}=this;if(!n||!n.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Py[o](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const u=i[i.length-1];u!==void 0&&n.getValue(o,u).jump(u,!1)}measureEndState(){var n;const{element:i,name:o,unresolvedKeyframes:u}=this;if(!i||!i.current)return;const h=i.getValue(o);h&&h.jump(this.measuredOrigin,!1);const g=u.length-1,v=u[g];u[g]=Py[o](i.measureViewportBox(),window.getComputedStyle(i.current)),v!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=v),!((n=this.removedTransforms)===null||n===void 0)&&n.length&&this.removedTransforms.forEach(([S,E])=>{i.getValue(S).set(E)}),this.resolveNoneKeyframes()}}const jR=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(lm.test(t)||t==="0")&&!t.startsWith("url("));function sP(t){const n=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}function uP(t,n,i,o){const u=t[0];if(u===null)return!1;if(n==="display"||n==="visibility")return!0;const h=t[t.length-1],g=jR(u,n),v=jR(h,n);return Ly(g===v,`You are trying to animate ${n} from "${u}" to "${h}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${h} via the \`style\` property.`),!g||!v?!1:sP(t)||(i==="spring"||tA(i))&&o}const cP=t=>t!==null;function fx(t,{repeat:n,repeatType:i="loop"},o){const u=t.filter(cP),h=n&&i!=="loop"&&n%2===1?0:u.length-1;return!h||o===void 0?u[h]:o}const fP=40;class $R{constructor({autoplay:n=!0,delay:i=0,type:o="keyframes",repeat:u=0,repeatDelay:h=0,repeatType:g="loop",...v}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Lc.now(),this.options={autoplay:n,delay:i,type:o,repeat:u,repeatDelay:h,repeatType:g,...v},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>fP?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&iP(),this._resolved}onKeyframesResolved(n,i){this.resolvedAt=Lc.now(),this.hasAttemptedResolve=!0;const{name:o,type:u,velocity:h,delay:g,onComplete:v,onUpdate:S,isGenerator:E}=this.options;if(!E&&!uP(n,o,u,h))if(g)this.options.duration=0;else{S&&S(fx(n,this.options,i)),v&&v(),this.resolveFinishedPromise();return}const A=this.initPlayback(n,i);A!==!1&&(this._resolved={keyframes:n,finalKeyframe:i,...A},this.onPostResolved())}onPostResolved(){}then(n,i){return this.currentFinishedPromise.then(n,i)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(n=>{this.resolveFinishedPromise=n})}}const yA=2e4;function HR(t){let n=0;const i=50;let o=t.next(n);for(;!o.done&&n<yA;)n+=i,o=t.next(n);return n>=yA?1/0:n}const Ea=(t,n,i)=>t+(n-t)*i;function vA(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}function dP({hue:t,saturation:n,lightness:i,alpha:o}){t/=360,n/=100,i/=100;let u=0,h=0,g=0;if(!n)u=h=g=i;else{const v=i<.5?i*(1+n):i+n-i*n,S=2*i-v;u=vA(S,v,t+1/3),h=vA(S,v,t),g=vA(S,v,t-1/3)}return{red:Math.round(u*255),green:Math.round(h*255),blue:Math.round(g*255),alpha:o}}function dx(t,n){return i=>i>0?n:t}const bA=(t,n,i)=>{const o=t*t,u=i*(n*n-o)+o;return u<0?0:Math.sqrt(u)},hP=[uA,bg,Hy],mP=t=>hP.find(n=>n.test(t));function PR(t){const n=mP(t);if(Ly(!!n,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!n)return!1;let i=n.parse(t);return n===Hy&&(i=dP(i)),i}const kR=(t,n)=>{const i=PR(t),o=PR(n);if(!i||!o)return dx(t,n);const u={...i};return h=>(u.red=bA(i.red,o.red,h),u.green=bA(i.green,o.green,h),u.blue=bA(i.blue,o.blue,h),u.alpha=Ea(i.alpha,o.alpha,h),bg.transform(u))},pP=(t,n)=>i=>n(t(i)),tb=(...t)=>t.reduce(pP),SA=new Set(["none","hidden"]);function gP(t,n){return SA.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function yP(t,n){return i=>Ea(t,n,i)}function xA(t){return typeof t=="number"?yP:typeof t=="string"?$E(t)?dx:jr.test(t)?kR:SP:Array.isArray(t)?YR:typeof t=="object"?jr.test(t)?kR:vP:dx}function YR(t,n){const i=[...t],o=i.length,u=t.map((h,g)=>xA(h)(h,n[g]));return h=>{for(let g=0;g<o;g++)i[g]=u[g](h);return i}}function vP(t,n){const i={...t,...n},o={};for(const u in i)t[u]!==void 0&&n[u]!==void 0&&(o[u]=xA(t[u])(t[u],n[u]));return u=>{for(const h in o)i[h]=o[h](u);return i}}function bP(t,n){var i;const o=[],u={color:0,var:0,number:0};for(let h=0;h<n.values.length;h++){const g=n.types[h],v=t.indexes[g][u[g]],S=(i=t.values[v])!==null&&i!==void 0?i:0;o[h]=S,u[g]++}return o}const SP=(t,n)=>{const i=lm.createTransformer(n),o=eb(t),u=eb(n);return o.indexes.var.length===u.indexes.var.length&&o.indexes.color.length===u.indexes.color.length&&o.indexes.number.length>=u.indexes.number.length?SA.has(t)&&!u.values.length||SA.has(n)&&!o.values.length?gP(t,n):tb(YR(bP(o,u),u.values),i):(Ly(!0,`Complex values '${t}' and '${n}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),dx(t,n))};function qR(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?Ea(t,n,i):xA(t)(t,n)}const xP=5;function GR(t,n,i){const o=Math.max(n-xP,0);return tR(i-t(o),n-o)}const Aa={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},IR=.001;function TP({duration:t=Aa.duration,bounce:n=Aa.bounce,velocity:i=Aa.velocity,mass:o=Aa.mass}){let u,h;Ly(t<=Uc(Aa.maxDuration),"Spring duration must be 10 seconds or less");let g=1-n;g=od(Aa.minDamping,Aa.maxDamping,g),t=od(Aa.minDuration,Aa.maxDuration,sd(t)),g<1?(u=E=>{const A=E*g,C=A*t,M=A-i,R=TA(E,g),B=Math.exp(-C);return IR-M/R*B},h=E=>{const C=E*g*t,M=C*i+i,R=Math.pow(g,2)*Math.pow(E,2)*t,B=Math.exp(-C),L=TA(Math.pow(E,2),g);return(-u(E)+IR>0?-1:1)*((M-R)*B)/L}):(u=E=>{const A=Math.exp(-E*t),C=(E-i)*t+1;return-.001+A*C},h=E=>{const A=Math.exp(-E*t),C=(i-E)*(t*t);return A*C});const v=5/t,S=AP(u,h,v);if(t=Uc(t),isNaN(S))return{stiffness:Aa.stiffness,damping:Aa.damping,duration:t};{const E=Math.pow(S,2)*o;return{stiffness:E,damping:g*2*Math.sqrt(o*E),duration:t}}}const EP=12;function AP(t,n,i){let o=i;for(let u=1;u<EP;u++)o=o-t(o)/n(o);return o}function TA(t,n){return t*Math.sqrt(1-n*n)}const wP=["duration","bounce"],CP=["stiffness","damping","mass"];function FR(t,n){return n.some(i=>t[i]!==void 0)}function OP(t){let n={velocity:Aa.velocity,stiffness:Aa.stiffness,damping:Aa.damping,mass:Aa.mass,isResolvedFromDuration:!1,...t};if(!FR(t,CP)&&FR(t,wP))if(t.visualDuration){const i=t.visualDuration,o=2*Math.PI/(i*1.2),u=o*o,h=2*od(.05,1,1-(t.bounce||0))*Math.sqrt(u);n={...n,mass:Aa.mass,stiffness:u,damping:h}}else{const i=TP(t);n={...n,...i,mass:Aa.mass},n.isResolvedFromDuration=!0}return n}function XR(t=Aa.visualDuration,n=Aa.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:o,restDelta:u}=i;const h=i.keyframes[0],g=i.keyframes[i.keyframes.length-1],v={done:!1,value:h},{stiffness:S,damping:E,mass:A,duration:C,velocity:M,isResolvedFromDuration:R}=OP({...i,velocity:-sd(i.velocity||0)}),B=M||0,L=E/(2*Math.sqrt(S*A)),P=g-h,U=sd(Math.sqrt(S/A)),G=Math.abs(P)<5;o||(o=G?Aa.restSpeed.granular:Aa.restSpeed.default),u||(u=G?Aa.restDelta.granular:Aa.restDelta.default);let q;if(L<1){const Y=TA(U,L);q=le=>{const me=Math.exp(-L*U*le);return g-me*((B+L*U*P)/Y*Math.sin(Y*le)+P*Math.cos(Y*le))}}else if(L===1)q=Y=>g-Math.exp(-U*Y)*(P+(B+U*P)*Y);else{const Y=U*Math.sqrt(L*L-1);q=le=>{const me=Math.exp(-L*U*le),pe=Math.min(Y*le,300);return g-me*((B+L*U*P)*Math.sinh(pe)+Y*P*Math.cosh(pe))/Y}}const J={calculatedDuration:R&&C||null,next:Y=>{const le=q(Y);if(R)v.done=Y>=C;else{let me=0;L<1&&(me=Y===0?Uc(B):GR(q,Y,le));const pe=Math.abs(me)<=o,ve=Math.abs(g-le)<=u;v.done=pe&&ve}return v.value=v.done?g:le,v},toString:()=>{const Y=Math.min(HR(J),yA),le=rR(me=>J.next(Y*me).value,Y,30);return Y+"ms "+le}};return J}function ZR({keyframes:t,velocity:n=0,power:i=.8,timeConstant:o=325,bounceDamping:u=10,bounceStiffness:h=500,modifyTarget:g,min:v,max:S,restDelta:E=.5,restSpeed:A}){const C=t[0],M={done:!1,value:C},R=pe=>v!==void 0&&pe<v||S!==void 0&&pe>S,B=pe=>v===void 0?S:S===void 0||Math.abs(v-pe)<Math.abs(S-pe)?v:S;let L=i*n;const P=C+L,U=g===void 0?P:g(P);U!==P&&(L=U-C);const G=pe=>-L*Math.exp(-pe/o),q=pe=>U+G(pe),J=pe=>{const ve=G(pe),He=q(pe);M.done=Math.abs(ve)<=E,M.value=M.done?U:He};let Y,le;const me=pe=>{R(M.value)&&(Y=pe,le=XR({keyframes:[M.value,B(M.value)],velocity:GR(q,pe,M.value),damping:u,stiffness:h,restDelta:E,restSpeed:A}))};return me(0),{calculatedDuration:null,next:pe=>{let ve=!1;return!le&&Y===void 0&&(ve=!0,J(pe),me(pe)),Y!==void 0&&pe>=Y?le.next(pe-Y):(!ve&&J(pe),M)}}}const MP=W1(.42,0,1,1),DP=W1(0,0,.58,1),KR=W1(.42,0,.58,1),RP=t=>Array.isArray(t)&&typeof t[0]!="number",QR={linear:Hl,easeIn:MP,easeInOut:KR,easeOut:DP,circIn:rA,circInOut:pR,circOut:mR,backIn:iA,backInOut:dR,backOut:fR,anticipate:hR},WR=t=>{if(nA(t)){am(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[n,i,o,u]=t;return W1(n,i,o,u)}else if(typeof t=="string")return am(QR[t]!==void 0,`Invalid easing type '${t}'`),QR[t];return t};function _P(t,n,i){const o=[],u=i||qR,h=t.length-1;for(let g=0;g<h;g++){let v=u(t[g],t[g+1]);if(n){const S=Array.isArray(n)?n[g]||Hl:n;v=tb(S,v)}o.push(v)}return o}function NP(t,n,{clamp:i=!0,ease:o,mixer:u}={}){const h=t.length;if(am(h===n.length,"Both input and output ranges must be the same length"),h===1)return()=>n[0];if(h===2&&n[0]===n[1])return()=>n[1];const g=t[0]===t[1];t[0]>t[h-1]&&(t=[...t].reverse(),n=[...n].reverse());const v=_P(n,o,u),S=v.length,E=A=>{if(g&&A<t[0])return n[0];let C=0;if(S>1)for(;C<t.length-2&&!(A<t[C+1]);C++);const M=$y(t[C],t[C+1],A);return v[C](M)};return i?A=>E(od(t[0],t[h-1],A)):E}function zP(t,n){const i=t[t.length-1];for(let o=1;o<=n;o++){const u=$y(0,n,o);t.push(Ea(i,1,u))}}function LP(t){const n=[0];return zP(n,t.length-1),n}function UP(t,n){return t.map(i=>i*n)}function VP(t,n){return t.map(()=>n||KR).splice(0,t.length-1)}function nb({duration:t=300,keyframes:n,times:i,ease:o="easeInOut"}){const u=RP(o)?o.map(WR):WR(o),h={done:!1,value:n[0]},g=UP(i&&i.length===n.length?i:LP(n),t),v=NP(g,n,{ease:Array.isArray(u)?u:VP(n,u)});return{calculatedDuration:t,next:S=>(h.value=v(S),h.done=S>=t,h)}}const BP=t=>{const n=({timestamp:i})=>t(i);return{start:()=>ea.update(n,!0),stop:()=>im(n),now:()=>mr.isProcessing?mr.timestamp:Lc.now()}},jP={decay:ZR,inertia:ZR,tween:nb,keyframes:nb,spring:XR},$P=t=>t/100;class EA extends $R{constructor(n){super(n),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:S}=this.options;S&&S()};const{name:i,motionValue:o,element:u,keyframes:h}=this.options,g=(u==null?void 0:u.KeyframeResolver)||gA,v=(S,E)=>this.onKeyframesResolved(S,E);this.resolver=new g(h,v,i,o,u),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(n){const{type:i="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:h,velocity:g=0}=this.options,v=tA(i)?i:jP[i]||nb;let S,E;process.env.NODE_ENV!=="production"&&v!==nb&&am(n.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${n}`),v!==nb&&typeof n[0]!="number"&&(S=tb($P,qR(n[0],n[1])),n=[0,100]);const A=v({...this.options,keyframes:n});h==="mirror"&&(E=v({...this.options,keyframes:[...n].reverse(),velocity:-g})),A.calculatedDuration===null&&(A.calculatedDuration=HR(A));const{calculatedDuration:C}=A,M=C+u,R=M*(o+1)-u;return{generator:A,mirroredGenerator:E,mapPercentToKeyframes:S,calculatedDuration:C,resolvedDuration:M,totalDuration:R}}onPostResolved(){const{autoplay:n=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!n?this.pause():this.state=this.pendingPlayState}tick(n,i=!1){const{resolved:o}=this;if(!o){const{keyframes:pe}=this.options;return{done:!0,value:pe[pe.length-1]}}const{finalKeyframe:u,generator:h,mirroredGenerator:g,mapPercentToKeyframes:v,keyframes:S,calculatedDuration:E,totalDuration:A,resolvedDuration:C}=o;if(this.startTime===null)return h.next(0);const{delay:M,repeat:R,repeatType:B,repeatDelay:L,onUpdate:P}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-A/this.speed,this.startTime)),i?this.currentTime=n:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(n-this.startTime)*this.speed;const U=this.currentTime-M*(this.speed>=0?1:-1),G=this.speed>=0?U<0:U>A;this.currentTime=Math.max(U,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=A);let q=this.currentTime,J=h;if(R){const pe=Math.min(this.currentTime,A)/C;let ve=Math.floor(pe),He=pe%1;!He&&pe>=1&&(He=1),He===1&&ve--,ve=Math.min(ve,R+1),!!(ve%2)&&(B==="reverse"?(He=1-He,L&&(He-=L/C)):B==="mirror"&&(J=g)),q=od(0,1,He)*C}const Y=G?{done:!1,value:S[0]}:J.next(q);v&&(Y.value=v(Y.value));let{done:le}=Y;!G&&E!==null&&(le=this.speed>=0?this.currentTime>=A:this.currentTime<=0);const me=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&le);return me&&u!==void 0&&(Y.value=fx(S,this.options,u)),P&&P(Y.value),me&&this.finish(),Y}get duration(){const{resolved:n}=this;return n?sd(n.calculatedDuration):0}get time(){return sd(this.currentTime)}set time(n){n=Uc(n),this.currentTime=n,this.holdTime!==null||this.speed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.speed)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;this.playbackSpeed=n,i&&(this.time=sd(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:n=BP,onPlay:i,startTime:o}=this.options;this.driver||(this.driver=n(h=>this.tick(h))),i&&i();const u=this.driver.now();this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=u):this.startTime=o??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var n;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(n=this.currentTime)!==null&&n!==void 0?n:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:n}=this.options;n&&n()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}}const HP=new Set(["opacity","clipPath","filter","transform"]);function PP(t,n,i,{delay:o=0,duration:u=300,repeat:h=0,repeatType:g="loop",ease:v="easeInOut",times:S}={}){const E={[n]:i};S&&(E.offset=S);const A=oR(v,u);return Array.isArray(A)&&(E.easing=A),t.animate(E,{delay:o,duration:u,easing:Array.isArray(A)?"linear":A,fill:"both",iterations:h+1,direction:g==="reverse"?"alternate":"normal"})}const kP=eA(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),hx=10,YP=2e4;function qP(t){return tA(t.type)||t.type==="spring"||!lR(t.ease)}function GP(t,n){const i=new EA({...n,keyframes:t,repeat:0,delay:0,isGenerator:!0});let o={done:!1,value:t[0]};const u=[];let h=0;for(;!o.done&&h<YP;)o=i.sample(h),u.push(o.value),h+=hx;return{times:void 0,keyframes:u,duration:h-hx,ease:"linear"}}const JR={anticipate:hR,backInOut:dR,circInOut:pR};function IP(t){return t in JR}class e6 extends $R{constructor(n){super(n);const{name:i,motionValue:o,element:u,keyframes:h}=this.options;this.resolver=new BR(h,(g,v)=>this.onKeyframesResolved(g,v),i,o,u),this.resolver.scheduleResolve()}initPlayback(n,i){let{duration:o=300,times:u,ease:h,type:g,motionValue:v,name:S,startTime:E}=this.options;if(!v.owner||!v.owner.current)return!1;if(typeof h=="string"&&cx()&&IP(h)&&(h=JR[h]),qP(this.options)){const{onComplete:C,onUpdate:M,motionValue:R,element:B,...L}=this.options,P=GP(n,L);n=P.keyframes,n.length===1&&(n[1]=n[0]),o=P.duration,u=P.times,h=P.ease,g="keyframes"}const A=PP(v.owner.current,S,n,{...this.options,duration:o,times:u,ease:h});return A.startTime=E??this.calcStartTime(),this.pendingTimeline?(iR(A,this.pendingTimeline),this.pendingTimeline=void 0):A.onfinish=()=>{const{onComplete:C}=this.options;v.set(fx(n,this.options,i)),C&&C(),this.cancel(),this.resolveFinishedPromise()},{animation:A,duration:o,times:u,type:g,ease:h,keyframes:n}}get duration(){const{resolved:n}=this;if(!n)return 0;const{duration:i}=n;return sd(i)}get time(){const{resolved:n}=this;if(!n)return 0;const{animation:i}=n;return sd(i.currentTime||0)}set time(n){const{resolved:i}=this;if(!i)return;const{animation:o}=i;o.currentTime=Uc(n)}get speed(){const{resolved:n}=this;if(!n)return 1;const{animation:i}=n;return i.playbackRate}set speed(n){const{resolved:i}=this;if(!i)return;const{animation:o}=i;o.playbackRate=n}get state(){const{resolved:n}=this;if(!n)return"idle";const{animation:i}=n;return i.playState}get startTime(){const{resolved:n}=this;if(!n)return null;const{animation:i}=n;return i.startTime}attachTimeline(n){if(!this._resolved)this.pendingTimeline=n;else{const{resolved:i}=this;if(!i)return Hl;const{animation:o}=i;iR(o,n)}return Hl}play(){if(this.isStopped)return;const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playState==="finished"&&this.updateFinishedPromise(),i.play()}pause(){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:n}=this;if(!n)return;const{animation:i,keyframes:o,duration:u,type:h,ease:g,times:v}=n;if(i.playState==="idle"||i.playState==="finished")return;if(this.time){const{motionValue:E,onUpdate:A,onComplete:C,element:M,...R}=this.options,B=new EA({...R,keyframes:o,duration:u,type:h,ease:g,times:v,isGenerator:!0}),L=Uc(this.time);E.setWithVelocity(B.sample(L-hx).value,B.sample(L).value,hx)}const{onStop:S}=this.options;S&&S(),this.cancel()}complete(){const{resolved:n}=this;n&&n.animation.finish()}cancel(){const{resolved:n}=this;n&&n.animation.cancel()}static supports(n){const{motionValue:i,name:o,repeatDelay:u,repeatType:h,damping:g,type:v}=n;if(!i||!i.owner||!(i.owner.current instanceof HTMLElement))return!1;const{onUpdate:S,transformTemplate:E}=i.owner.getProps();return kP()&&o&&HP.has(o)&&(o!=="transform"||!E)&&!S&&!u&&h!=="mirror"&&g!==0&&v!=="inertia"}}const FP={type:"spring",stiffness:500,damping:25,restSpeed:10},XP=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),ZP={type:"keyframes",duration:.8},KP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},QP=(t,{keyframes:n})=>n.length>2?ZP:vg.has(t)?t.startsWith("scale")?XP(n[1]):FP:KP;function WP({when:t,delay:n,delayChildren:i,staggerChildren:o,staggerDirection:u,repeat:h,repeatType:g,repeatDelay:v,from:S,elapsed:E,...A}){return!!Object.keys(A).length}const AA=(t,n,i,o={},u,h)=>g=>{const v=ZE(o,t)||{},S=v.delay||o.delay||0;let{elapsed:E=0}=o;E=E-Uc(S);let A={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...v,delay:-E,onUpdate:M=>{n.set(M),v.onUpdate&&v.onUpdate(M)},onComplete:()=>{g(),v.onComplete&&v.onComplete()},name:t,motionValue:n,element:h?void 0:u};WP(v)||(A={...A,...QP(t,A)}),A.duration&&(A.duration=Uc(A.duration)),A.repeatDelay&&(A.repeatDelay=Uc(A.repeatDelay)),A.from!==void 0&&(A.keyframes[0]=A.from);let C=!1;if((A.type===!1||A.duration===0&&!A.repeatDelay)&&(A.duration=0,A.delay===0&&(C=!0)),A.allowFlatten=!v.type&&!v.ease,C&&!h&&n.get()!==void 0){const M=fx(A.keyframes,v);if(M!==void 0)return ea.update(()=>{A.onUpdate(M),A.onComplete()}),new OH([])}return!h&&e6.supports(A)?new e6(A):new EA(A)};function JP({protectedKeys:t,needsAnimating:n},i){const o=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,o}function t6(t,n,{delay:i=0,transitionOverride:o,type:u}={}){var h;let{transition:g=t.getDefaultTransition(),transitionEnd:v,...S}=n;o&&(g=o);const E=[],A=u&&t.animationState&&t.animationState.getState()[u];for(const C in S){const M=t.getValue(C,(h=t.latestValues[C])!==null&&h!==void 0?h:null),R=S[C];if(R===void 0||A&&JP(A,C))continue;const B={delay:i,...ZE(g||{},C)};let L=!1;if(window.MotionHandoffAnimation){const U=aR(t);if(U){const G=window.MotionHandoffAnimation(U,C,ea);G!==null&&(B.startTime=G,L=!0)}}JE(t,C),M.start(AA(C,M,R,t.shouldReduceMotion&&eR.has(C)?{type:!1}:B,t,L));const P=M.animation;P&&E.push(P)}return v&&Promise.all(E).then(()=>{ea.update(()=>{v&&EH(t,v)})}),E}function wA(t,n,i={}){var o;const u=Z1(t,n,i.type==="exit"?(o=t.presenceContext)===null||o===void 0?void 0:o.custom:void 0);let{transition:h=t.getDefaultTransition()||{}}=u||{};i.transitionOverride&&(h=i.transitionOverride);const g=u?()=>Promise.all(t6(t,u,i)):()=>Promise.resolve(),v=t.variantChildren&&t.variantChildren.size?(E=0)=>{const{delayChildren:A=0,staggerChildren:C,staggerDirection:M}=h;return ek(t,n,A+E,C,M,i)}:()=>Promise.resolve(),{when:S}=h;if(S){const[E,A]=S==="beforeChildren"?[g,v]:[v,g];return E().then(()=>A())}else return Promise.all([g(),v(i.delay)])}function ek(t,n,i=0,o=0,u=1,h){const g=[],v=(t.variantChildren.size-1)*o,S=u===1?(E=0)=>E*o:(E=0)=>v-E*o;return Array.from(t.variantChildren).sort(tk).forEach((E,A)=>{E.notify("AnimationStart",n),g.push(wA(E,n,{...h,delay:i+S(A)}).then(()=>E.notify("AnimationComplete",n)))}),Promise.all(g)}function tk(t,n){return t.sortNodePosition(n)}function nk(t,n,i={}){t.notify("AnimationStart",n);let o;if(Array.isArray(n)){const u=n.map(h=>wA(t,h,i));o=Promise.all(u)}else if(typeof n=="string")o=wA(t,n,i);else{const u=typeof n=="function"?Z1(t,n,i.custom):n;o=Promise.all(t6(t,u,i))}return o.then(()=>{t.notify("AnimationComplete",n)})}function n6(t,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==t.length)return!1;for(let o=0;o<i;o++)if(n[o]!==t[o])return!1;return!0}const ak=UE.length;function a6(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?a6(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<ak;i++){const o=UE[i],u=t.props[o];(G1(u)||u===!1)&&(n[o]=u)}return n}const ik=[...LE].reverse(),rk=LE.length;function lk(t){return n=>Promise.all(n.map(({animation:i,options:o})=>nk(t,i,o)))}function ok(t){let n=lk(t),i=i6(),o=!0;const u=S=>(E,A)=>{var C;const M=Z1(t,A,S==="exit"?(C=t.presenceContext)===null||C===void 0?void 0:C.custom:void 0);if(M){const{transition:R,transitionEnd:B,...L}=M;E={...E,...L,...B}}return E};function h(S){n=S(t)}function g(S){const{props:E}=t,A=a6(t.parent)||{},C=[],M=new Set;let R={},B=1/0;for(let P=0;P<rk;P++){const U=ik[P],G=i[U],q=E[U]!==void 0?E[U]:A[U],J=G1(q),Y=U===S?G.isActive:null;Y===!1&&(B=P);let le=q===A[U]&&q!==E[U]&&J;if(le&&o&&t.manuallyAnimateOnMount&&(le=!1),G.protectedKeys={...R},!G.isActive&&Y===null||!q&&!G.prevProp||rx(q)||typeof q=="boolean")continue;const me=sk(G.prevProp,q);let pe=me||U===S&&G.isActive&&!le&&J||P>B&&J,ve=!1;const He=Array.isArray(q)?q:[q];let Be=He.reduce(u(U),{});Y===!1&&(Be={});const{prevResolvedValues:Pe={}}=G,Qe={...Pe,...Be},Xe=ne=>{pe=!0,M.has(ne)&&(ve=!0,M.delete(ne)),G.needsAnimating[ne]=!0;const oe=t.getValue(ne);oe&&(oe.liveStyle=!1)};for(const ne in Qe){const oe=Be[ne],Me=Pe[ne];if(R.hasOwnProperty(ne))continue;let X=!1;FE(oe)&&FE(Me)?X=!n6(oe,Me):X=oe!==Me,X?oe!=null?Xe(ne):M.add(ne):oe!==void 0&&M.has(ne)?Xe(ne):G.protectedKeys[ne]=!0}G.prevProp=q,G.prevResolvedValues=Be,G.isActive&&(R={...R,...Be}),o&&t.blockInitialAnimation&&(pe=!1),pe&&(!(le&&me)||ve)&&C.push(...He.map(ne=>({animation:ne,options:{type:U}})))}if(M.size){const P={};if(typeof E.initial!="boolean"){const U=Z1(t,Array.isArray(E.initial)?E.initial[0]:E.initial);U&&U.transition&&(P.transition=U.transition)}M.forEach(U=>{const G=t.getBaseTarget(U),q=t.getValue(U);q&&(q.liveStyle=!0),P[U]=G??null}),C.push({animation:P})}let L=!!C.length;return o&&(E.initial===!1||E.initial===E.animate)&&!t.manuallyAnimateOnMount&&(L=!1),o=!1,L?n(C):Promise.resolve()}function v(S,E){var A;if(i[S].isActive===E)return Promise.resolve();(A=t.variantChildren)===null||A===void 0||A.forEach(M=>{var R;return(R=M.animationState)===null||R===void 0?void 0:R.setActive(S,E)}),i[S].isActive=E;const C=g(S);for(const M in i)i[M].protectedKeys={};return C}return{animateChanges:g,setActive:v,setAnimateFunction:h,getState:()=>i,reset:()=>{i=i6(),o=!0}}}function sk(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!n6(n,t):!1}function Tg(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function i6(){return{animate:Tg(!0),whileInView:Tg(),whileHover:Tg(),whileTap:Tg(),whileDrag:Tg(),whileFocus:Tg(),exit:Tg()}}class om{constructor(n){this.isMounted=!1,this.node=n}update(){}}class uk extends om{constructor(n){super(n),n.animationState||(n.animationState=ok(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();rx(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)===null||n===void 0||n.call(this)}}let ck=0;class fk extends om{constructor(){super(...arguments),this.id=ck++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===o)return;const u=this.node.animationState.setActive("exit",!n);i&&!n&&u.then(()=>{i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const dk={animation:{Feature:uk},exit:{Feature:fk}},Au={x:!1,y:!1};function r6(){return Au.x||Au.y}function hk(t){return t==="x"||t==="y"?Au[t]?null:(Au[t]=!0,()=>{Au[t]=!1}):Au.x||Au.y?null:(Au.x=Au.y=!0,()=>{Au.x=Au.y=!1})}function ab(t,n,i,o={passive:!0}){return t.addEventListener(n,i,o),()=>t.removeEventListener(n,i)}const CA=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function ib(t){return{point:{x:t.pageX,y:t.pageY}}}const mk=t=>n=>CA(n)&&t(n,ib(n));function rb(t,n,i,o){return ab(t,n,mk(i),o)}function l6({top:t,left:n,right:i,bottom:o}){return{x:{min:n,max:i},y:{min:t,max:o}}}function pk({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function gk(t,n){if(!n)return t;const i=n({x:t.left,y:t.top}),o=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:o.y,right:o.x}}const o6=1e-4,yk=1-o6,vk=1+o6,s6=.01,bk=0-s6,Sk=0+s6;function ml(t){return t.max-t.min}function xk(t,n,i){return Math.abs(t-n)<=i}function u6(t,n,i,o=.5){t.origin=o,t.originPoint=Ea(n.min,n.max,t.origin),t.scale=ml(i)/ml(n),t.translate=Ea(i.min,i.max,t.origin)-t.originPoint,(t.scale>=yk&&t.scale<=vk||isNaN(t.scale))&&(t.scale=1),(t.translate>=bk&&t.translate<=Sk||isNaN(t.translate))&&(t.translate=0)}function lb(t,n,i,o){u6(t.x,n.x,i.x,o?o.originX:void 0),u6(t.y,n.y,i.y,o?o.originY:void 0)}function c6(t,n,i){t.min=i.min+n.min,t.max=t.min+ml(n)}function Tk(t,n,i){c6(t.x,n.x,i.x),c6(t.y,n.y,i.y)}function f6(t,n,i){t.min=n.min-i.min,t.max=t.min+ml(n)}function ob(t,n,i){f6(t.x,n.x,i.x),f6(t.y,n.y,i.y)}const d6=()=>({translate:0,scale:1,origin:0,originPoint:0}),ky=()=>({x:d6(),y:d6()}),h6=()=>({min:0,max:0}),Ga=()=>({x:h6(),y:h6()});function xs(t){return[t("x"),t("y")]}function OA(t){return t===void 0||t===1}function MA({scale:t,scaleX:n,scaleY:i}){return!OA(t)||!OA(n)||!OA(i)}function Eg(t){return MA(t)||m6(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function m6(t){return p6(t.x)||p6(t.y)}function p6(t){return t&&t!=="0%"}function mx(t,n,i){const o=t-i,u=n*o;return i+u}function g6(t,n,i,o,u){return u!==void 0&&(t=mx(t,u,o)),mx(t,i,o)+n}function DA(t,n=0,i=1,o,u){t.min=g6(t.min,n,i,o,u),t.max=g6(t.max,n,i,o,u)}function y6(t,{x:n,y:i}){DA(t.x,n.translate,n.scale,n.originPoint),DA(t.y,i.translate,i.scale,i.originPoint)}const v6=.999999999999,b6=1.0000000000001;function Ek(t,n,i,o=!1){const u=i.length;if(!u)return;n.x=n.y=1;let h,g;for(let v=0;v<u;v++){h=i[v],g=h.projectionDelta;const{visualElement:S}=h.options;S&&S.props.style&&S.props.style.display==="contents"||(o&&h.options.layoutScroll&&h.scroll&&h!==h.root&&qy(t,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),g&&(n.x*=g.x.scale,n.y*=g.y.scale,y6(t,g)),o&&Eg(h.latestValues)&&qy(t,h.latestValues))}n.x<b6&&n.x>v6&&(n.x=1),n.y<b6&&n.y>v6&&(n.y=1)}function Yy(t,n){t.min=t.min+n,t.max=t.max+n}function S6(t,n,i,o,u=.5){const h=Ea(t.min,t.max,u);DA(t,n,i,h,o)}function qy(t,n){S6(t.x,n.x,n.scaleX,n.scale,n.originX),S6(t.y,n.y,n.scaleY,n.scale,n.originY)}function x6(t,n){return l6(gk(t.getBoundingClientRect(),n))}function Ak(t,n,i){const o=x6(t,i),{scroll:u}=n;return u&&(Yy(o.x,u.offset.x),Yy(o.y,u.offset.y)),o}const T6=({current:t})=>t?t.ownerDocument.defaultView:null,E6=(t,n)=>Math.abs(t-n);function wk(t,n){const i=E6(t.x,n.x),o=E6(t.y,n.y);return Math.sqrt(i**2+o**2)}class A6{constructor(n,i,{transformPagePoint:o,contextWindow:u,dragSnapToOrigin:h=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=_A(this.lastMoveEventInfo,this.history),M=this.startEvent!==null,R=wk(C.offset,{x:0,y:0})>=3;if(!M&&!R)return;const{point:B}=C,{timestamp:L}=mr;this.history.push({...B,timestamp:L});const{onStart:P,onMove:U}=this.handlers;M||(P&&P(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),U&&U(this.lastMoveEvent,C)},this.handlePointerMove=(C,M)=>{this.lastMoveEvent=C,this.lastMoveEventInfo=RA(M,this.transformPagePoint),ea.update(this.updatePoint,!0)},this.handlePointerUp=(C,M)=>{this.end();const{onEnd:R,onSessionEnd:B,resumeAnimation:L}=this.handlers;if(this.dragSnapToOrigin&&L&&L(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const P=_A(C.type==="pointercancel"?this.lastMoveEventInfo:RA(M,this.transformPagePoint),this.history);this.startEvent&&R&&R(C,P),B&&B(C,P)},!CA(n))return;this.dragSnapToOrigin=h,this.handlers=i,this.transformPagePoint=o,this.contextWindow=u||window;const g=ib(n),v=RA(g,this.transformPagePoint),{point:S}=v,{timestamp:E}=mr;this.history=[{...S,timestamp:E}];const{onSessionStart:A}=i;A&&A(n,_A(v,this.history)),this.removeListeners=tb(rb(this.contextWindow,"pointermove",this.handlePointerMove),rb(this.contextWindow,"pointerup",this.handlePointerUp),rb(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),im(this.updatePoint)}}function RA(t,n){return n?{point:n(t.point)}:t}function w6(t,n){return{x:t.x-n.x,y:t.y-n.y}}function _A({point:t},n){return{point:t,delta:w6(t,C6(n)),offset:w6(t,Ck(n)),velocity:Ok(n,.1)}}function Ck(t){return t[0]}function C6(t){return t[t.length-1]}function Ok(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,o=null;const u=C6(t);for(;i>=0&&(o=t[i],!(u.timestamp-o.timestamp>Uc(n)));)i--;if(!o)return{x:0,y:0};const h=sd(u.timestamp-o.timestamp);if(h===0)return{x:0,y:0};const g={x:(u.x-o.x)/h,y:(u.y-o.y)/h};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function Mk(t,{min:n,max:i},o){return n!==void 0&&t<n?t=o?Ea(n,t,o.min):Math.max(t,n):i!==void 0&&t>i&&(t=o?Ea(i,t,o.max):Math.min(t,i)),t}function O6(t,n,i){return{min:n!==void 0?t.min+n:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function Dk(t,{top:n,left:i,bottom:o,right:u}){return{x:O6(t.x,i,u),y:O6(t.y,n,o)}}function M6(t,n){let i=n.min-t.min,o=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,o]=[o,i]),{min:i,max:o}}function Rk(t,n){return{x:M6(t.x,n.x),y:M6(t.y,n.y)}}function _k(t,n){let i=.5;const o=ml(t),u=ml(n);return u>o?i=$y(n.min,n.max-o,t.min):o>u&&(i=$y(t.min,t.max-u,n.min)),od(0,1,i)}function Nk(t,n){const i={};return n.min!==void 0&&(i.min=n.min-t.min),n.max!==void 0&&(i.max=n.max-t.min),i}const NA=.35;function zk(t=NA){return t===!1?t=0:t===!0&&(t=NA),{x:D6(t,"left","right"),y:D6(t,"top","bottom")}}function D6(t,n,i){return{min:R6(t,n),max:R6(t,i)}}function R6(t,n){return typeof t=="number"?t:t[n]||0}const Lk=new WeakMap;class Uk{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ga(),this.visualElement=n}start(n,{snapToCursor:i=!1}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const u=A=>{const{dragSnapToOrigin:C}=this.getProps();C?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(ib(A).point)},h=(A,C)=>{const{drag:M,dragPropagation:R,onDragStart:B}=this.getProps();if(M&&!R&&(this.openDragLock&&this.openDragLock(),this.openDragLock=hk(M),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),xs(P=>{let U=this.getAxisMotionValue(P).get()||0;if(zc.test(U)){const{projection:G}=this.visualElement;if(G&&G.layout){const q=G.layout.layoutBox[P];q&&(U=ml(q)*(parseFloat(U)/100))}}this.originPoint[P]=U}),B&&ea.postRender(()=>B(A,C)),JE(this.visualElement,"transform");const{animationState:L}=this.visualElement;L&&L.setActive("whileDrag",!0)},g=(A,C)=>{const{dragPropagation:M,dragDirectionLock:R,onDirectionLock:B,onDrag:L}=this.getProps();if(!M&&!this.openDragLock)return;const{offset:P}=C;if(R&&this.currentDirection===null){this.currentDirection=Vk(P),this.currentDirection!==null&&B&&B(this.currentDirection);return}this.updateAxis("x",C.point,P),this.updateAxis("y",C.point,P),this.visualElement.render(),L&&L(A,C)},v=(A,C)=>this.stop(A,C),S=()=>xs(A=>{var C;return this.getAnimationState(A)==="paused"&&((C=this.getAxisMotionValue(A).animation)===null||C===void 0?void 0:C.play())}),{dragSnapToOrigin:E}=this.getProps();this.panSession=new A6(n,{onSessionStart:u,onStart:h,onMove:g,onSessionEnd:v,resumeAnimation:S},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:E,contextWindow:T6(this.visualElement)})}stop(n,i){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:u}=i;this.startAnimation(u);const{onDragEnd:h}=this.getProps();h&&ea.postRender(()=>h(n,i))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(n,i,o){const{drag:u}=this.getProps();if(!o||!px(n,u,this.currentDirection))return;const h=this.getAxisMotionValue(n);let g=this.originPoint[n]+o[n];this.constraints&&this.constraints[n]&&(g=Mk(g,this.constraints[n],this.elastic[n])),h.set(g)}resolveConstraints(){var n;const{dragConstraints:i,dragElastic:o}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(n=this.visualElement.projection)===null||n===void 0?void 0:n.layout,h=this.constraints;i&&Vy(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&u?this.constraints=Dk(u.layoutBox,i):this.constraints=!1,this.elastic=zk(o),h!==this.constraints&&u&&this.constraints&&!this.hasMutatedConstraints&&xs(g=>{this.constraints!==!1&&this.getAxisMotionValue(g)&&(this.constraints[g]=Nk(u.layoutBox[g],this.constraints[g]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!Vy(n))return!1;const o=n.current;am(o!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const h=Ak(o,u.root,this.visualElement.getTransformPagePoint());let g=Rk(u.layout.layoutBox,h);if(i){const v=i(pk(g));this.hasMutatedConstraints=!!v,v&&(g=l6(v))}return g}startAnimation(n){const{drag:i,dragMomentum:o,dragElastic:u,dragTransition:h,dragSnapToOrigin:g,onDragTransitionEnd:v}=this.getProps(),S=this.constraints||{},E=xs(A=>{if(!px(A,i,this.currentDirection))return;let C=S&&S[A]||{};g&&(C={min:0,max:0});const M=u?200:1e6,R=u?40:1e7,B={type:"inertia",velocity:o?n[A]:0,bounceStiffness:M,bounceDamping:R,timeConstant:750,restDelta:1,restSpeed:10,...h,...C};return this.startAxisValueAnimation(A,B)});return Promise.all(E).then(v)}startAxisValueAnimation(n,i){const o=this.getAxisMotionValue(n);return JE(this.visualElement,n),o.start(AA(n,o,0,i,this.visualElement,!1))}stopAnimation(){xs(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){xs(n=>{var i;return(i=this.getAxisMotionValue(n).animation)===null||i===void 0?void 0:i.pause()})}getAnimationState(n){var i;return(i=this.getAxisMotionValue(n).animation)===null||i===void 0?void 0:i.state}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,o=this.visualElement.getProps(),u=o[i];return u||this.visualElement.getValue(n,(o.initial?o.initial[n]:void 0)||0)}snapToCursor(n){xs(i=>{const{drag:o}=this.getProps();if(!px(i,o,this.currentDirection))return;const{projection:u}=this.visualElement,h=this.getAxisMotionValue(i);if(u&&u.layout){const{min:g,max:v}=u.layout.layoutBox[i];h.set(n[i]-Ea(g,v,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:o}=this.visualElement;if(!Vy(i)||!o||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};xs(g=>{const v=this.getAxisMotionValue(g);if(v&&this.constraints!==!1){const S=v.get();u[g]=_k({min:S,max:S},this.constraints[g])}});const{transformTemplate:h}=this.visualElement.getProps();this.visualElement.current.style.transform=h?h({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),xs(g=>{if(!px(g,n,null))return;const v=this.getAxisMotionValue(g),{min:S,max:E}=this.constraints[g];v.set(Ea(S,E,u[g]))})}addListeners(){if(!this.visualElement.current)return;Lk.set(this.visualElement,this);const n=this.visualElement.current,i=rb(n,"pointerdown",S=>{const{drag:E,dragListener:A=!0}=this.getProps();E&&A&&this.start(S)}),o=()=>{const{dragConstraints:S}=this.getProps();Vy(S)&&S.current&&(this.constraints=this.resolveRefConstraints())},{projection:u}=this.visualElement,h=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),ea.read(o);const g=ab(window,"resize",()=>this.scalePositionWithinConstraints()),v=u.addEventListener("didUpdate",({delta:S,hasLayoutChanged:E})=>{this.isDragging&&E&&(xs(A=>{const C=this.getAxisMotionValue(A);C&&(this.originPoint[A]+=S[A].translate,C.set(C.get()+S[A].translate))}),this.visualElement.render())});return()=>{g(),i(),h(),v&&v()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:o=!1,dragPropagation:u=!1,dragConstraints:h=!1,dragElastic:g=NA,dragMomentum:v=!0}=n;return{...n,drag:i,dragDirectionLock:o,dragPropagation:u,dragConstraints:h,dragElastic:g,dragMomentum:v}}}function px(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function Vk(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class Bk extends om{constructor(n){super(n),this.removeGroupControls=Hl,this.removeListeners=Hl,this.controls=new Uk(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Hl}unmount(){this.removeGroupControls(),this.removeListeners()}}const _6=t=>(n,i)=>{t&&ea.postRender(()=>t(n,i))};class jk extends om{constructor(){super(...arguments),this.removePointerDownListener=Hl}onPointerDown(n){this.session=new A6(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:T6(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:o,onPanEnd:u}=this.node.getProps();return{onSessionStart:_6(n),onStart:_6(i),onMove:o,onEnd:(h,g)=>{delete this.session,u&&ea.postRender(()=>u(h,g))}}}mount(){this.removePointerDownListener=rb(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const gx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function N6(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const sb={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(At.test(t))t=parseFloat(t);else return t;const i=N6(t,n.target.x),o=N6(t,n.target.y);return`${i}% ${o}%`}},$k={correct:(t,{treeScale:n,projectionDelta:i})=>{const o=t,u=lm.parse(t);if(u.length>5)return o;const h=lm.createTransformer(t),g=typeof u[0]!="number"?1:0,v=i.x.scale*n.x,S=i.y.scale*n.y;u[0+g]/=v,u[1+g]/=S;const E=Ea(v,S,.5);return typeof u[2+g]=="number"&&(u[2+g]/=E),typeof u[3+g]=="number"&&(u[3+g]/=E),h(u)}};class Hk extends ee.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o,layoutId:u}=this.props,{projection:h}=n;X$(Pk),h&&(i.group&&i.group.add(h),o&&o.register&&u&&o.register(h),h.root.didUpdate(),h.addEventListener("animationComplete",()=>{this.safeToRemove()}),h.setOptions({...h.options,onExitComplete:()=>this.safeToRemove()})),gx.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:o,drag:u,isPresent:h}=this.props,g=o.projection;return g&&(g.isPresent=h,u||n.layoutDependency!==i||i===void 0||n.isPresent!==h?g.willUpdate():this.safeToRemove(),n.isPresent!==h&&(h?g.promote():g.relegate()||ea.postRender(()=>{const v=g.getStack();(!v||!v.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),VE.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o}=this.props,{projection:u}=n;u&&(u.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(u),o&&o.deregister&&o.deregister(u))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function z6(t){const[n,i]=w4(),o=ee.useContext(DE);return V.jsx(Hk,{...t,layoutGroup:o,switchLayoutGroup:ee.useContext(V4),isPresent:n,safeToRemove:i})}const Pk={borderRadius:{...sb,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:sb,borderTopRightRadius:sb,borderBottomLeftRadius:sb,borderBottomRightRadius:sb,boxShadow:$k};function kk(t,n,i){const o=Br(t)?t:K1(t);return o.start(AA("",o,n,i)),o.animation}function Yk(t){return t instanceof SVGElement&&t.tagName!=="svg"}const qk=(t,n)=>t.depth-n.depth;class Gk{constructor(){this.children=[],this.isDirty=!1}add(n){KE(this.children,n),this.isDirty=!0}remove(n){QE(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(qk),this.isDirty=!1,this.children.forEach(n)}}function Ik(t,n){const i=Lc.now(),o=({timestamp:u})=>{const h=u-i;h>=n&&(im(o),t(h-n))};return ea.read(o,!0),()=>im(o)}const L6=["TopLeft","TopRight","BottomLeft","BottomRight"],Fk=L6.length,U6=t=>typeof t=="string"?parseFloat(t):t,V6=t=>typeof t=="number"||At.test(t);function Xk(t,n,i,o,u,h){u?(t.opacity=Ea(0,i.opacity!==void 0?i.opacity:1,Zk(o)),t.opacityExit=Ea(n.opacity!==void 0?n.opacity:1,0,Kk(o))):h&&(t.opacity=Ea(n.opacity!==void 0?n.opacity:1,i.opacity!==void 0?i.opacity:1,o));for(let g=0;g<Fk;g++){const v=`border${L6[g]}Radius`;let S=B6(n,v),E=B6(i,v);if(S===void 0&&E===void 0)continue;S||(S=0),E||(E=0),S===0||E===0||V6(S)===V6(E)?(t[v]=Math.max(Ea(U6(S),U6(E),o),0),(zc.test(E)||zc.test(S))&&(t[v]+="%")):t[v]=E}(n.rotate||i.rotate)&&(t.rotate=Ea(n.rotate||0,i.rotate||0,o))}function B6(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const Zk=j6(0,.5,mR),Kk=j6(.5,.95,Hl);function j6(t,n,i){return o=>o<t?0:o>n?1:i($y(t,n,o))}function $6(t,n){t.min=n.min,t.max=n.max}function Ts(t,n){$6(t.x,n.x),$6(t.y,n.y)}function H6(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function P6(t,n,i,o,u){return t-=n,t=mx(t,1/i,o),u!==void 0&&(t=mx(t,1/u,o)),t}function Qk(t,n=0,i=1,o=.5,u,h=t,g=t){if(zc.test(n)&&(n=parseFloat(n),n=Ea(g.min,g.max,n/100)-g.min),typeof n!="number")return;let v=Ea(h.min,h.max,o);t===h&&(v-=n),t.min=P6(t.min,n,i,v,u),t.max=P6(t.max,n,i,v,u)}function k6(t,n,[i,o,u],h,g){Qk(t,n[i],n[o],n[u],n.scale,h,g)}const Wk=["x","scaleX","originX"],Jk=["y","scaleY","originY"];function Y6(t,n,i,o){k6(t.x,n,Wk,i?i.x:void 0,o?o.x:void 0),k6(t.y,n,Jk,i?i.y:void 0,o?o.y:void 0)}function q6(t){return t.translate===0&&t.scale===1}function G6(t){return q6(t.x)&&q6(t.y)}function I6(t,n){return t.min===n.min&&t.max===n.max}function eY(t,n){return I6(t.x,n.x)&&I6(t.y,n.y)}function F6(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function X6(t,n){return F6(t.x,n.x)&&F6(t.y,n.y)}function Z6(t){return ml(t.x)/ml(t.y)}function K6(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class tY{constructor(){this.members=[]}add(n){KE(this.members,n),n.scheduleRender()}remove(n){if(QE(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){const i=this.members.findIndex(u=>n===u);if(i===0)return!1;let o;for(let u=i;u>=0;u--){const h=this.members[u];if(h.isPresent!==!1){o=h;break}}return o?(this.promote(o),!0):!1}promote(n,i){const o=this.lead;if(n!==o&&(this.prevLead=o,this.lead=n,n.show(),o)){o.instance&&o.scheduleRender(),n.scheduleRender(),n.resumeFrom=o,i&&(n.resumeFrom.preserveOpacity=!0),o.snapshot&&(n.snapshot=o.snapshot,n.snapshot.latestValues=o.animationValues||o.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:u}=n.options;u===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:i,resumingFrom:o}=n;i.onExitComplete&&i.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function nY(t,n,i){let o="";const u=t.x.translate/n.x,h=t.y.translate/n.y,g=(i==null?void 0:i.z)||0;if((u||h||g)&&(o=`translate3d(${u}px, ${h}px, ${g}px) `),(n.x!==1||n.y!==1)&&(o+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:E,rotate:A,rotateX:C,rotateY:M,skewX:R,skewY:B}=i;E&&(o=`perspective(${E}px) ${o}`),A&&(o+=`rotate(${A}deg) `),C&&(o+=`rotateX(${C}deg) `),M&&(o+=`rotateY(${M}deg) `),R&&(o+=`skewX(${R}deg) `),B&&(o+=`skewY(${B}deg) `)}const v=t.x.scale*n.x,S=t.y.scale*n.y;return(v!==1||S!==1)&&(o+=`scale(${v}, ${S})`),o||"none"}const zA=["","X","Y","Z"],aY={visibility:"hidden"},Q6=1e3;let iY=0;function LA(t,n,i,o){const{latestValues:u}=n;u[t]&&(i[t]=u[t],n.setStaticValue(t,0),o&&(o[t]=0))}function W6(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=aR(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:u,layoutId:h}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",ea,!(u||h))}const{parent:o}=t;o&&!o.hasCheckedOptimisedAppear&&W6(o)}function J6({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:o,resetTransform:u}){return class{constructor(g={},v=n==null?void 0:n()){this.id=iY++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(oY),this.nodes.forEach(dY),this.nodes.forEach(hY),this.nodes.forEach(sY)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=g,this.root=v?v.root||v:this,this.path=v?[...v.path,v]:[],this.parent=v,this.depth=v?v.depth+1:0;for(let S=0;S<this.path.length;S++)this.path[S].shouldResetTransform=!0;this.root===this&&(this.nodes=new Gk)}addEventListener(g,v){return this.eventHandlers.has(g)||this.eventHandlers.set(g,new WE),this.eventHandlers.get(g).add(v)}notifyListeners(g,...v){const S=this.eventHandlers.get(g);S&&S.notify(...v)}hasListeners(g){return this.eventHandlers.has(g)}mount(g,v=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Yk(g),this.instance=g;const{layoutId:S,layout:E,visualElement:A}=this.options;if(A&&!A.current&&A.mount(g),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),v&&(E||S)&&(this.isLayoutDirty=!0),t){let C;const M=()=>this.root.updateBlockedByResize=!1;t(g,()=>{this.root.updateBlockedByResize=!0,C&&C(),C=Ik(M,250),gx.hasAnimatedSinceResize&&(gx.hasAnimatedSinceResize=!1,this.nodes.forEach(t5))})}S&&this.root.registerSharedNode(S,this),this.options.animate!==!1&&A&&(S||E)&&this.addEventListener("didUpdate",({delta:C,hasLayoutChanged:M,hasRelativeLayoutChanged:R,layout:B})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const L=this.options.transition||A.getDefaultTransition()||vY,{onLayoutAnimationStart:P,onLayoutAnimationComplete:U}=A.getProps(),G=!this.targetLayout||!X6(this.targetLayout,B),q=!M&&R;if(this.options.layoutRoot||this.resumeFrom||q||M&&(G||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(C,q);const J={...ZE(L,"layout"),onPlay:P,onComplete:U};(A.shouldReduceMotion||this.options.layoutRoot)&&(J.delay=0,J.type=!1),this.startAnimation(J)}else M||t5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=B})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const g=this.getStack();g&&g.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,im(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(mY),this.animationId++)}getTransformTemplate(){const{visualElement:g}=this.options;return g&&g.getProps().transformTemplate}willUpdate(g=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&W6(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let A=0;A<this.path.length;A++){const C=this.path[A];C.shouldResetTransform=!0,C.updateScroll("snapshot"),C.options.layoutRoot&&C.willUpdate(!1)}const{layoutId:v,layout:S}=this.options;if(v===void 0&&!S)return;const E=this.getTransformTemplate();this.prevTransformTemplateValue=E?E(this.latestValues,""):void 0,this.updateSnapshot(),g&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(e5);return}this.isUpdating||this.nodes.forEach(cY),this.isUpdating=!1,this.nodes.forEach(fY),this.nodes.forEach(rY),this.nodes.forEach(lY),this.clearAllSnapshots();const v=Lc.now();mr.delta=od(0,1e3/60,v-mr.timestamp),mr.timestamp=v,mr.isProcessing=!0,zE.update.process(mr),zE.preRender.process(mr),zE.render.process(mr),mr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,VE.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(uY),this.sharedNodes.forEach(pY)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ea.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ea.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ml(this.snapshot.measuredBox.x)&&!ml(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let S=0;S<this.path.length;S++)this.path[S].updateScroll();const g=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ga(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:v}=this.options;v&&v.notify("LayoutMeasure",this.layout.layoutBox,g?g.layoutBox:void 0)}updateScroll(g="measure"){let v=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===g&&(v=!1),v){const S=o(this.instance);this.scroll={animationId:this.root.animationId,phase:g,isRoot:S,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:S}}}resetTransform(){if(!u)return;const g=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,v=this.projectionDelta&&!G6(this.projectionDelta),S=this.getTransformTemplate(),E=S?S(this.latestValues,""):void 0,A=E!==this.prevTransformTemplateValue;g&&(v||Eg(this.latestValues)||A)&&(u(this.instance,E),this.shouldResetTransform=!1,this.scheduleRender())}measure(g=!0){const v=this.measurePageBox();let S=this.removeElementScroll(v);return g&&(S=this.removeTransform(S)),bY(S),{animationId:this.root.animationId,measuredBox:v,layoutBox:S,latestValues:{},source:this.id}}measurePageBox(){var g;const{visualElement:v}=this.options;if(!v)return Ga();const S=v.measureViewportBox();if(!(((g=this.scroll)===null||g===void 0?void 0:g.wasRoot)||this.path.some(SY))){const{scroll:A}=this.root;A&&(Yy(S.x,A.offset.x),Yy(S.y,A.offset.y))}return S}removeElementScroll(g){var v;const S=Ga();if(Ts(S,g),!((v=this.scroll)===null||v===void 0)&&v.wasRoot)return S;for(let E=0;E<this.path.length;E++){const A=this.path[E],{scroll:C,options:M}=A;A!==this.root&&C&&M.layoutScroll&&(C.wasRoot&&Ts(S,g),Yy(S.x,C.offset.x),Yy(S.y,C.offset.y))}return S}applyTransform(g,v=!1){const S=Ga();Ts(S,g);for(let E=0;E<this.path.length;E++){const A=this.path[E];!v&&A.options.layoutScroll&&A.scroll&&A!==A.root&&qy(S,{x:-A.scroll.offset.x,y:-A.scroll.offset.y}),Eg(A.latestValues)&&qy(S,A.latestValues)}return Eg(this.latestValues)&&qy(S,this.latestValues),S}removeTransform(g){const v=Ga();Ts(v,g);for(let S=0;S<this.path.length;S++){const E=this.path[S];if(!E.instance||!Eg(E.latestValues))continue;MA(E.latestValues)&&E.updateSnapshot();const A=Ga(),C=E.measurePageBox();Ts(A,C),Y6(v,E.latestValues,E.snapshot?E.snapshot.layoutBox:void 0,A)}return Eg(this.latestValues)&&Y6(v,this.latestValues),v}setTargetDelta(g){this.targetDelta=g,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(g){this.options={...this.options,...g,crossfade:g.crossfade!==void 0?g.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==mr.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(g=!1){var v;const S=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=S.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=S.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=S.isSharedProjectionDirty);const E=!!this.resumingFrom||this!==S;if(!(g||E&&this.isSharedProjectionDirty||this.isProjectionDirty||!((v=this.parent)===null||v===void 0)&&v.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:C,layoutId:M}=this.options;if(!(!this.layout||!(C||M))){if(this.resolvedRelativeTargetAt=mr.timestamp,!this.targetDelta&&!this.relativeTarget){const R=this.getClosestProjectingParent();R&&R.layout&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ga(),this.relativeTargetOrigin=Ga(),ob(this.relativeTargetOrigin,this.layout.layoutBox,R.layout.layoutBox),Ts(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ga(),this.targetWithTransforms=Ga()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Tk(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ts(this.target,this.layout.layoutBox),y6(this.target,this.targetDelta)):Ts(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const R=this.getClosestProjectingParent();R&&!!R.resumingFrom==!!this.resumingFrom&&!R.options.layoutScroll&&R.target&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ga(),this.relativeTargetOrigin=Ga(),ob(this.relativeTargetOrigin,this.target,R.target),Ts(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||MA(this.parent.latestValues)||m6(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var g;const v=this.getLead(),S=!!this.resumingFrom||this!==v;let E=!0;if((this.isProjectionDirty||!((g=this.parent)===null||g===void 0)&&g.isProjectionDirty)&&(E=!1),S&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(E=!1),this.resolvedRelativeTargetAt===mr.timestamp&&(E=!1),E)return;const{layout:A,layoutId:C}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(A||C))return;Ts(this.layoutCorrected,this.layout.layoutBox);const M=this.treeScale.x,R=this.treeScale.y;Ek(this.layoutCorrected,this.treeScale,this.path,S),v.layout&&!v.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(v.target=v.layout.layoutBox,v.targetWithTransforms=Ga());const{target:B}=v;if(!B){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(H6(this.prevProjectionDelta.x,this.projectionDelta.x),H6(this.prevProjectionDelta.y,this.projectionDelta.y)),lb(this.projectionDelta,this.layoutCorrected,B,this.latestValues),(this.treeScale.x!==M||this.treeScale.y!==R||!K6(this.projectionDelta.x,this.prevProjectionDelta.x)||!K6(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",B))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(g=!0){var v;if((v=this.options.visualElement)===null||v===void 0||v.scheduleRender(),g){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ky(),this.projectionDelta=ky(),this.projectionDeltaWithTransform=ky()}setAnimationOrigin(g,v=!1){const S=this.snapshot,E=S?S.latestValues:{},A={...this.latestValues},C=ky();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!v;const M=Ga(),R=S?S.source:void 0,B=this.layout?this.layout.source:void 0,L=R!==B,P=this.getStack(),U=!P||P.members.length<=1,G=!!(L&&!U&&this.options.crossfade===!0&&!this.path.some(yY));this.animationProgress=0;let q;this.mixTargetDelta=J=>{const Y=J/1e3;n5(C.x,g.x,Y),n5(C.y,g.y,Y),this.setTargetDelta(C),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ob(M,this.layout.layoutBox,this.relativeParent.layout.layoutBox),gY(this.relativeTarget,this.relativeTargetOrigin,M,Y),q&&eY(this.relativeTarget,q)&&(this.isProjectionDirty=!1),q||(q=Ga()),Ts(q,this.relativeTarget)),L&&(this.animationValues=A,Xk(A,E,this.latestValues,Y,G,U)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(g){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(im(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ea.update(()=>{gx.hasAnimatedSinceResize=!0,this.currentAnimation=kk(0,Q6,{...g,onUpdate:v=>{this.mixTargetDelta(v),g.onUpdate&&g.onUpdate(v)},onStop:()=>{},onComplete:()=>{g.onComplete&&g.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const g=this.getStack();g&&g.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Q6),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const g=this.getLead();let{targetWithTransforms:v,target:S,layout:E,latestValues:A}=g;if(!(!v||!S||!E)){if(this!==g&&this.layout&&E&&o5(this.options.animationType,this.layout.layoutBox,E.layoutBox)){S=this.target||Ga();const C=ml(this.layout.layoutBox.x);S.x.min=g.target.x.min,S.x.max=S.x.min+C;const M=ml(this.layout.layoutBox.y);S.y.min=g.target.y.min,S.y.max=S.y.min+M}Ts(v,S),qy(v,A),lb(this.projectionDeltaWithTransform,this.layoutCorrected,v,A)}}registerSharedNode(g,v){this.sharedNodes.has(g)||this.sharedNodes.set(g,new tY),this.sharedNodes.get(g).add(v);const E=v.options.initialPromotionConfig;v.promote({transition:E?E.transition:void 0,preserveFollowOpacity:E&&E.shouldPreserveFollowOpacity?E.shouldPreserveFollowOpacity(v):void 0})}isLead(){const g=this.getStack();return g?g.lead===this:!0}getLead(){var g;const{layoutId:v}=this.options;return v?((g=this.getStack())===null||g===void 0?void 0:g.lead)||this:this}getPrevLead(){var g;const{layoutId:v}=this.options;return v?(g=this.getStack())===null||g===void 0?void 0:g.prevLead:void 0}getStack(){const{layoutId:g}=this.options;if(g)return this.root.sharedNodes.get(g)}promote({needsReset:g,transition:v,preserveFollowOpacity:S}={}){const E=this.getStack();E&&E.promote(this,S),g&&(this.projectionDelta=void 0,this.needsReset=!0),v&&this.setOptions({transition:v})}relegate(){const g=this.getStack();return g?g.relegate(this):!1}resetSkewAndRotation(){const{visualElement:g}=this.options;if(!g)return;let v=!1;const{latestValues:S}=g;if((S.z||S.rotate||S.rotateX||S.rotateY||S.rotateZ||S.skewX||S.skewY)&&(v=!0),!v)return;const E={};S.z&&LA("z",g,E,this.animationValues);for(let A=0;A<zA.length;A++)LA(`rotate${zA[A]}`,g,E,this.animationValues),LA(`skew${zA[A]}`,g,E,this.animationValues);g.render();for(const A in E)g.setStaticValue(A,E[A]),this.animationValues&&(this.animationValues[A]=E[A]);g.scheduleRender()}getProjectionStyles(g){var v,S;if(!this.instance||this.isSVG)return;if(!this.isVisible)return aY;const E={visibility:""},A=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,E.opacity="",E.pointerEvents=sx(g==null?void 0:g.pointerEvents)||"",E.transform=A?A(this.latestValues,""):"none",E;const C=this.getLead();if(!this.projectionDelta||!this.layout||!C.target){const L={};return this.options.layoutId&&(L.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,L.pointerEvents=sx(g==null?void 0:g.pointerEvents)||""),this.hasProjected&&!Eg(this.latestValues)&&(L.transform=A?A({},""):"none",this.hasProjected=!1),L}const M=C.animationValues||C.latestValues;this.applyTransformsToTarget(),E.transform=nY(this.projectionDeltaWithTransform,this.treeScale,M),A&&(E.transform=A(M,E.transform));const{x:R,y:B}=this.projectionDelta;E.transformOrigin=`${R.origin*100}% ${B.origin*100}% 0`,C.animationValues?E.opacity=C===this?(S=(v=M.opacity)!==null&&v!==void 0?v:this.latestValues.opacity)!==null&&S!==void 0?S:1:this.preserveOpacity?this.latestValues.opacity:M.opacityExit:E.opacity=C===this?M.opacity!==void 0?M.opacity:"":M.opacityExit!==void 0?M.opacityExit:0;for(const L in I1){if(M[L]===void 0)continue;const{correct:P,applyTo:U,isCSSVariable:G}=I1[L],q=E.transform==="none"?M[L]:P(M[L],C);if(U){const J=U.length;for(let Y=0;Y<J;Y++)E[U[Y]]=q}else G?this.options.visualElement.renderState.vars[L]=q:E[L]=q}return this.options.layoutId&&(E.pointerEvents=C===this?sx(g==null?void 0:g.pointerEvents)||"":"none"),E}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(g=>{var v;return(v=g.currentAnimation)===null||v===void 0?void 0:v.stop()}),this.root.nodes.forEach(e5),this.root.sharedNodes.clear()}}}function rY(t){t.updateLayout()}function lY(t){var n;const i=((n=t.resumeFrom)===null||n===void 0?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:u}=t.layout,{animationType:h}=t.options,g=i.source!==t.layout.source;h==="size"?xs(C=>{const M=g?i.measuredBox[C]:i.layoutBox[C],R=ml(M);M.min=o[C].min,M.max=M.min+R}):o5(h,i.layoutBox,o)&&xs(C=>{const M=g?i.measuredBox[C]:i.layoutBox[C],R=ml(o[C]);M.max=M.min+R,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[C].max=t.relativeTarget[C].min+R)});const v=ky();lb(v,o,i.layoutBox);const S=ky();g?lb(S,t.applyTransform(u,!0),i.measuredBox):lb(S,o,i.layoutBox);const E=!G6(v);let A=!1;if(!t.resumeFrom){const C=t.getClosestProjectingParent();if(C&&!C.resumeFrom){const{snapshot:M,layout:R}=C;if(M&&R){const B=Ga();ob(B,i.layoutBox,M.layoutBox);const L=Ga();ob(L,o,R.layoutBox),X6(B,L)||(A=!0),C.options.layoutRoot&&(t.relativeTarget=L,t.relativeTargetOrigin=B,t.relativeParent=C)}}}t.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:S,layoutDelta:v,hasLayoutChanged:E,hasRelativeLayoutChanged:A})}else if(t.isLead()){const{onExitComplete:o}=t.options;o&&o()}t.options.transition=void 0}function oY(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function sY(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function uY(t){t.clearSnapshot()}function e5(t){t.clearMeasurements()}function cY(t){t.isLayoutDirty=!1}function fY(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function t5(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function dY(t){t.resolveTargetDelta()}function hY(t){t.calcProjection()}function mY(t){t.resetSkewAndRotation()}function pY(t){t.removeLeadSnapshot()}function n5(t,n,i){t.translate=Ea(n.translate,0,i),t.scale=Ea(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function a5(t,n,i,o){t.min=Ea(n.min,i.min,o),t.max=Ea(n.max,i.max,o)}function gY(t,n,i,o){a5(t.x,n.x,i.x,o),a5(t.y,n.y,i.y,o)}function yY(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const vY={duration:.45,ease:[.4,0,.1,1]},i5=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),r5=i5("applewebkit/")&&!i5("chrome/")?Math.round:Hl;function l5(t){t.min=r5(t.min),t.max=r5(t.max)}function bY(t){l5(t.x),l5(t.y)}function o5(t,n,i){return t==="position"||t==="preserve-aspect"&&!xk(Z6(n),Z6(i),.2)}function SY(t){var n;return t!==t.root&&((n=t.scroll)===null||n===void 0?void 0:n.wasRoot)}const xY=J6({attachResizeListener:(t,n)=>ab(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),UA={current:void 0},s5=J6({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!UA.current){const t=new xY({});t.mount(window),t.setOptions({layoutScroll:!0}),UA.current=t}return UA.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),TY={pan:{Feature:jk},drag:{Feature:Bk,ProjectionNode:s5,MeasureLayout:z6}};function EY(t,n,i){var o;if(t instanceof EventTarget)return[t];if(typeof t=="string"){let u=document;const h=(o=void 0)!==null&&o!==void 0?o:u.querySelectorAll(t);return h?Array.from(h):[]}return Array.from(t)}function u5(t,n){const i=EY(t),o=new AbortController,u={passive:!0,...n,signal:o.signal};return[i,u,()=>o.abort()]}function c5(t){return!(t.pointerType==="touch"||r6())}function AY(t,n,i={}){const[o,u,h]=u5(t,i),g=v=>{if(!c5(v))return;const{target:S}=v,E=n(S,v);if(typeof E!="function"||!S)return;const A=C=>{c5(C)&&(E(C),S.removeEventListener("pointerleave",A))};S.addEventListener("pointerleave",A,u)};return o.forEach(v=>{v.addEventListener("pointerenter",g,u)}),h}function f5(t,n,i){const{props:o}=t;t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",i==="Start");const u="onHover"+i,h=o[u];h&&ea.postRender(()=>h(n,ib(n)))}class wY extends om{mount(){const{current:n}=this.node;n&&(this.unmount=AY(n,(i,o)=>(f5(this.node,o,"Start"),u=>f5(this.node,u,"End"))))}unmount(){}}class CY extends om{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tb(ab(this.node.current,"focus",()=>this.onFocus()),ab(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const d5=(t,n)=>n?t===n?!0:d5(t,n.parentElement):!1,OY=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function MY(t){return OY.has(t.tagName)||t.tabIndex!==-1}const ub=new WeakSet;function h5(t){return n=>{n.key==="Enter"&&t(n)}}function VA(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const DY=(t,n)=>{const i=t.currentTarget;if(!i)return;const o=h5(()=>{if(ub.has(i))return;VA(i,"down");const u=h5(()=>{VA(i,"up")}),h=()=>VA(i,"cancel");i.addEventListener("keyup",u,n),i.addEventListener("blur",h,n)});i.addEventListener("keydown",o,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",o),n)};function m5(t){return CA(t)&&!r6()}function RY(t,n,i={}){const[o,u,h]=u5(t,i),g=v=>{const S=v.currentTarget;if(!m5(v)||ub.has(S))return;ub.add(S);const E=n(S,v),A=(R,B)=>{window.removeEventListener("pointerup",C),window.removeEventListener("pointercancel",M),!(!m5(R)||!ub.has(S))&&(ub.delete(S),typeof E=="function"&&E(R,{success:B}))},C=R=>{A(R,S===window||S===document||i.useGlobalTarget||d5(S,R.target))},M=R=>{A(R,!1)};window.addEventListener("pointerup",C,u),window.addEventListener("pointercancel",M,u)};return o.forEach(v=>{(i.useGlobalTarget?window:v).addEventListener("pointerdown",g,u),v instanceof HTMLElement&&(v.addEventListener("focus",E=>DY(E,u)),!MY(v)&&v.tabIndex===null&&(v.tabIndex=0))}),h}function p5(t,n,i){const{props:o}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&o.whileTap&&t.animationState.setActive("whileTap",i==="Start");const u="onTap"+(i==="End"?"":i),h=o[u];h&&ea.postRender(()=>h(n,ib(n)))}class _Y extends om{mount(){const{current:n}=this.node;n&&(this.unmount=RY(n,(i,o)=>(p5(this.node,o,"Start"),(u,{success:h})=>p5(this.node,u,h?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const BA=new WeakMap,jA=new WeakMap,NY=t=>{const n=BA.get(t.target);n&&n(t)},zY=t=>{t.forEach(NY)};function LY({root:t,...n}){const i=t||document;jA.has(i)||jA.set(i,{});const o=jA.get(i),u=JSON.stringify(n);return o[u]||(o[u]=new IntersectionObserver(zY,{root:t,...n})),o[u]}function UY(t,n,i){const o=LY(n);return BA.set(t,i),o.observe(t),()=>{BA.delete(t),o.unobserve(t)}}const VY={some:0,all:1};class BY extends om{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:i,margin:o,amount:u="some",once:h}=n,g={root:i?i.current:void 0,rootMargin:o,threshold:typeof u=="number"?u:VY[u]},v=S=>{const{isIntersecting:E}=S;if(this.isInView===E||(this.isInView=E,h&&!E&&this.hasEnteredView))return;E&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",E);const{onViewportEnter:A,onViewportLeave:C}=this.node.getProps(),M=E?A:C;M&&M(S)};return UY(this.node.current,g,v)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(jY(n,i))&&this.startObserver()}unmount(){}}function jY({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const $Y={inView:{Feature:BY},tap:{Feature:_Y},focus:{Feature:CY},hover:{Feature:wY}},HY={layout:{ProjectionNode:s5,MeasureLayout:z6}},$A={current:null},g5={current:!1};function PY(){if(g5.current=!0,!!_E)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>$A.current=t.matches;t.addListener(n),n()}else $A.current=!1}const kY=[...UR,jr,lm],YY=t=>kY.find(LR(t)),qY=new WeakMap;function GY(t,n,i){for(const o in n){const u=n[o],h=i[o];if(Br(u))t.addValue(o,u),process.env.NODE_ENV==="development"&&ax(u.version==="12.6.2",`Attempting to mix Motion versions ${u.version} with 12.6.2 may not work as expected.`);else if(Br(h))t.addValue(o,K1(u,{owner:t}));else if(h!==u)if(t.hasValue(o)){const g=t.getValue(o);g.liveStyle===!0?g.jump(u):g.hasAnimated||g.set(u)}else{const g=t.getStaticValue(o);t.addValue(o,K1(g!==void 0?g:u,{owner:t}))}}for(const o in i)n[o]===void 0&&t.removeValue(o);return n}const y5=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class IY{scrapeMotionValuesFromProps(n,i,o){return{}}constructor({parent:n,props:i,presenceContext:o,reducedMotionConfig:u,blockInitialAnimation:h,visualState:g},v={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=gA,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const R=Lc.now();this.renderScheduledAt<R&&(this.renderScheduledAt=R,ea.render(this.render,!1,!0))};const{latestValues:S,renderState:E,onUpdate:A}=g;this.onUpdate=A,this.latestValues=S,this.baseTarget={...S},this.initialValues=i.initial?{...S}:{},this.renderState=E,this.parent=n,this.props=i,this.presenceContext=o,this.depth=n?n.depth+1:0,this.reducedMotionConfig=u,this.options=v,this.blockInitialAnimation=!!h,this.isControllingVariants=lx(i),this.isVariantNode=z4(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:C,...M}=this.scrapeMotionValuesFromProps(i,{},this);for(const R in M){const B=M[R];S[R]!==void 0&&Br(B)&&B.set(S[R],!1)}}mount(n){this.current=n,qY.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,o)=>this.bindToMotionValue(o,i)),g5.current||PY(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:$A.current,process.env.NODE_ENV!=="production"&&ax(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),im(this.notifyUpdate),im(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}bindToMotionValue(n,i){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const o=vg.has(n);o&&this.onBindTransform&&this.onBindTransform();const u=i.on("change",v=>{this.latestValues[n]=v,this.props.onUpdate&&ea.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0)}),h=i.on("renderRequest",this.scheduleRender);let g;window.MotionCheckAppearSync&&(g=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{u(),h(),g&&g(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in Uy){const i=Uy[n];if(!i)continue;const{isEnabled:o,Feature:u}=i;if(!this.features[n]&&u&&o(this.props)&&(this.features[n]=new u(this)),this.features[n]){const h=this.features[n];h.isMounted?h.update():(h.mount(),h.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ga()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let o=0;o<y5.length;o++){const u=y5[o];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const h="on"+u,g=n[h];g&&(this.propEventSubscriptions[u]=this.on(u,g))}this.prevMotionValues=GY(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const o=this.values.get(n);i!==o&&(o&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let o=this.values.get(n);return o===void 0&&i!==void 0&&(o=K1(i===null?void 0:i,{owner:this}),this.addValue(n,o)),o}readValue(n,i){var o;let u=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:(o=this.getBaseTargetFromProps(this.props,n))!==null&&o!==void 0?o:this.readValueFromInstance(this.current,n,this.options);return u!=null&&(typeof u=="string"&&(NR(u)||gR(u))?u=parseFloat(u):!YY(u)&&lm.test(i)&&(u=AR(n,i)),this.setBaseTarget(n,Br(u)?u.get():u)),Br(u)?u.get():u}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){var i;const{initial:o}=this.props;let u;if(typeof o=="string"||typeof o=="object"){const g=IE(this.props,o,(i=this.presenceContext)===null||i===void 0?void 0:i.custom);g&&(u=g[n])}if(o&&u!==void 0)return u;const h=this.getBaseTargetFromProps(this.props,n);return h!==void 0&&!Br(h)?h:this.initialValues[n]!==void 0&&u===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new WE),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}}class v5 extends IY{constructor(){super(...arguments),this.KeyframeResolver=BR}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){return n.style?n.style[i]:void 0}removeValueFromRenderState(n,{vars:i,style:o}){delete i[n],delete o[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Br(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function FY(t){return window.getComputedStyle(t)}class XY extends v5{constructor(){super(...arguments),this.type="html",this.renderInstance=Z4}readValueFromInstance(n,i){if(vg.has(i))return JH(n,i);{const o=FY(n),u=(jE(i)?o.getPropertyValue(i):o[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(n,{transformPagePoint:i}){return x6(n,i)}build(n,i,o){PE(n,i,o.transformTemplate)}scrapeMotionValuesFromProps(n,i,o){return XE(n,i,o)}}class ZY extends v5{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ga,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&X4(this.current,this.renderState)}}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(vg.has(i)){const o=ER(i);return o&&o.default||0}return i=K4.has(i)?i:BE(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,o){return W4(n,i,o)}onBindTransform(){this.current&&!this.renderState.dimensions&&ea.postRender(this.updateDimensions)}build(n,i,o){qE(n,i,this.isSVGTag,o.transformTemplate)}renderInstance(n,i,o,u){Q4(n,i,o,u)}mount(n){this.isSVGTag=GE(n.tagName),super.mount(n)}}const KY=(t,n)=>YE(t)?new ZY(n):new XY(n,{allowProjection:t!==ee.Fragment}),QY=vH({...dk,...$Y,...TY,...HY},KY),ma=U$(QY),HA={defaultColorScheme:"aqua",t:t=>t},b5=ee.createContext(HA),ca=()=>ee.useContext(b5),S5=({title:t,description:n,open:i,onClose:o,onConfirm:u,onCancel:h})=>{const{t:g}=ca(),v={hidden:{opacity:0},visible:{opacity:1}},S={hidden:{opacity:0,scale:.8,y:-20},visible:{opacity:1,scale:1,y:0,transition:{type:"spring",stiffness:300,damping:25}},exit:{opacity:0,scale:.8,y:20,transition:{duration:.2}}},E=()=>{u(),o()},A=()=>{h(),o()};return V.jsx(nm,{children:i&&V.jsx(V.Fragment,{children:V.jsx(ma.div,{className:"fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:v,onClick:o,children:V.jsx(ma.div,{className:"w-full max-w-4xl mx-16 z-50",variants:S,initial:"hidden",animate:"visible",exit:"exit",onClick:C=>C.stopPropagation(),children:V.jsxs(Wy,{className:"flex flex-col gap-16 p-32",children:[V.jsxs("div",{className:"flex justify-between items-center gap-16",children:[V.jsx("h3",{className:"text-black font-700 text-3xl",children:t}),V.jsx(fn,{icon:mT,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700",onClick:o})]}),V.jsx("p",{className:"text-gray-500 text-xl font-600",children:n}),V.jsxs("div",{className:"flex justify-end w-full gap-16",children:[V.jsx(Eb,{onClick:A,variant:"transparent",className:"px-24 py-10! text-lg!",children:g("cancel")}),V.jsx(Eb,{onClick:E,className:"px-24 py-16 text-lg!",children:g("confirm")})]})]})})})})})};/*!
|
|
660
660
|
* Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com
|
|
661
661
|
* License - https://fontawesome.com/license (Commercial License)
|
|
662
662
|
* Copyright 2024 Fonticons, Inc.
|
|
663
|
-
*/const WY={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},JY={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},eq={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},tq={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},nq={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]};function yx(){return typeof window<"u"}function Gy(t){return x5(t)?(t.nodeName||"").toLowerCase():"#document"}function Ro(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function Vc(t){var n;return(n=(x5(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function x5(t){return yx()?t instanceof Node||t instanceof Ro(t).Node:!1}function La(t){return yx()?t instanceof Element||t instanceof Ro(t).Element:!1}function _o(t){return yx()?t instanceof HTMLElement||t instanceof Ro(t).HTMLElement:!1}function PA(t){return!yx()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ro(t).ShadowRoot}function cb(t){const{overflow:n,overflowX:i,overflowY:o,display:u}=Es(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+i)&&!["inline","contents"].includes(u)}function aq(t){return["table","td","th"].includes(Gy(t))}function vx(t){return[":popover-open",":modal"].some(n=>{try{return t.matches(n)}catch{return!1}})}function kA(t){const n=bx(),i=La(t)?Es(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>i[o]?i[o]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!n&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!n&&(i.filter?i.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(i.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(i.contain||"").includes(o))}function iq(t){let n=cd(t);for(;_o(n)&&!ud(n);){if(kA(n))return n;if(vx(n))return null;n=cd(n)}return null}function bx(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ud(t){return["html","body","#document"].includes(Gy(t))}function Es(t){return Ro(t).getComputedStyle(t)}function Sx(t){return La(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function cd(t){if(Gy(t)==="html")return t;const n=t.assignedSlot||t.parentNode||PA(t)&&t.host||Vc(t);return PA(n)?n.host:n}function T5(t){const n=cd(t);return ud(n)?t.ownerDocument?t.ownerDocument.body:t.body:_o(n)&&cb(n)?n:T5(n)}function sm(t,n,i){var o;n===void 0&&(n=[]),i===void 0&&(i=!0);const u=T5(t),h=u===((o=t.ownerDocument)==null?void 0:o.body),g=Ro(u);if(h){const v=YA(g);return n.concat(g,g.visualViewport||[],cb(u)?u:[],v&&i?sm(v):[])}return n.concat(u,sm(u,[],i))}function YA(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function E5(t,n){if(!t||!n)return!1;const i=n.getRootNode==null?void 0:n.getRootNode();if(t.contains(n))return!0;if(i&&PA(i)){let o=n;for(;o;){if(t===o)return!0;o=o.parentNode||o.host}}return!1}function A5(t,n){return["mouse","pen"].includes(t)}function rq(t){return"nativeEvent"in t}function lq(t){return t.matches("html,body")}function w5(t){return(t==null?void 0:t.ownerDocument)||document}function qA(t,n){if(n==null)return!1;if("composedPath"in t)return t.composedPath().includes(n);const i=t;return i.target!=null&&n.contains(i.target)}function fb(t){return"composedPath"in t?t.composedPath()[0]:t.target}const oq="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function sq(t){return _o(t)&&t.matches(oq)}const um=Math.min,No=Math.max,xx=Math.round,Tx=Math.floor,Bc=t=>({x:t,y:t}),uq={left:"right",right:"left",bottom:"top",top:"bottom"},cq={start:"end",end:"start"};function GA(t,n,i){return No(t,um(n,i))}function Iy(t,n){return typeof t=="function"?t(n):t}function cm(t){return t.split("-")[0]}function Fy(t){return t.split("-")[1]}function C5(t){return t==="x"?"y":"x"}function IA(t){return t==="y"?"height":"width"}function Ag(t){return["top","bottom"].includes(cm(t))?"y":"x"}function FA(t){return C5(Ag(t))}function fq(t,n,i){i===void 0&&(i=!1);const o=Fy(t),u=FA(t),h=IA(u);let g=u==="x"?o===(i?"end":"start")?"right":"left":o==="start"?"bottom":"top";return n.reference[h]>n.floating[h]&&(g=Ex(g)),[g,Ex(g)]}function dq(t){const n=Ex(t);return[XA(t),n,XA(n)]}function XA(t){return t.replace(/start|end/g,n=>cq[n])}function hq(t,n,i){const o=["left","right"],u=["right","left"],h=["top","bottom"],g=["bottom","top"];switch(t){case"top":case"bottom":return i?n?u:o:n?o:u;case"left":case"right":return n?h:g;default:return[]}}function mq(t,n,i,o){const u=Fy(t);let h=hq(cm(t),i==="start",o);return u&&(h=h.map(g=>g+"-"+u),n&&(h=h.concat(h.map(XA)))),h}function Ex(t){return t.replace(/left|right|bottom|top/g,n=>uq[n])}function pq(t){return{top:0,right:0,bottom:0,left:0,...t}}function O5(t){return typeof t!="number"?pq(t):{top:t,right:t,bottom:t,left:t}}function Ax(t){const{x:n,y:i,width:o,height:u}=t;return{width:o,height:u,top:i,left:n,right:n+o,bottom:i+u,x:n,y:i}}function M5(t,n,i){let{reference:o,floating:u}=t;const h=Ag(n),g=FA(n),v=IA(g),S=cm(n),E=h==="y",A=o.x+o.width/2-u.width/2,C=o.y+o.height/2-u.height/2,M=o[v]/2-u[v]/2;let R;switch(S){case"top":R={x:A,y:o.y-u.height};break;case"bottom":R={x:A,y:o.y+o.height};break;case"right":R={x:o.x+o.width,y:C};break;case"left":R={x:o.x-u.width,y:C};break;default:R={x:o.x,y:o.y}}switch(Fy(n)){case"start":R[g]-=M*(i&&E?-1:1);break;case"end":R[g]+=M*(i&&E?-1:1);break}return R}const gq=async(t,n,i)=>{const{placement:o="bottom",strategy:u="absolute",middleware:h=[],platform:g}=i,v=h.filter(Boolean),S=await(g.isRTL==null?void 0:g.isRTL(n));let E=await g.getElementRects({reference:t,floating:n,strategy:u}),{x:A,y:C}=M5(E,o,S),M=o,R={},B=0;for(let L=0;L<v.length;L++){const{name:P,fn:U}=v[L],{x:G,y:q,data:J,reset:Y}=await U({x:A,y:C,initialPlacement:o,placement:M,strategy:u,middlewareData:R,rects:E,platform:g,elements:{reference:t,floating:n}});A=G??A,C=q??C,R={...R,[P]:{...R[P],...J}},Y&&B<=50&&(B++,typeof Y=="object"&&(Y.placement&&(M=Y.placement),Y.rects&&(E=Y.rects===!0?await g.getElementRects({reference:t,floating:n,strategy:u}):Y.rects),{x:A,y:C}=M5(E,M,S)),L=-1)}return{x:A,y:C,placement:M,strategy:u,middlewareData:R}};async function ZA(t,n){var i;n===void 0&&(n={});const{x:o,y:u,platform:h,rects:g,elements:v,strategy:S}=t,{boundary:E="clippingAncestors",rootBoundary:A="viewport",elementContext:C="floating",altBoundary:M=!1,padding:R=0}=Iy(n,t),B=O5(R),P=v[M?C==="floating"?"reference":"floating":C],U=Ax(await h.getClippingRect({element:(i=await(h.isElement==null?void 0:h.isElement(P)))==null||i?P:P.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(v.floating)),boundary:E,rootBoundary:A,strategy:S})),G=C==="floating"?{x:o,y:u,width:g.floating.width,height:g.floating.height}:g.reference,q=await(h.getOffsetParent==null?void 0:h.getOffsetParent(v.floating)),J=await(h.isElement==null?void 0:h.isElement(q))?await(h.getScale==null?void 0:h.getScale(q))||{x:1,y:1}:{x:1,y:1},Y=Ax(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:v,rect:G,offsetParent:q,strategy:S}):G);return{top:(U.top-Y.top+B.top)/J.y,bottom:(Y.bottom-U.bottom+B.bottom)/J.y,left:(U.left-Y.left+B.left)/J.x,right:(Y.right-U.right+B.right)/J.x}}const yq=t=>({name:"arrow",options:t,async fn(n){const{x:i,y:o,placement:u,rects:h,platform:g,elements:v,middlewareData:S}=n,{element:E,padding:A=0}=Iy(t,n)||{};if(E==null)return{};const C=O5(A),M={x:i,y:o},R=FA(u),B=IA(R),L=await g.getDimensions(E),P=R==="y",U=P?"top":"left",G=P?"bottom":"right",q=P?"clientHeight":"clientWidth",J=h.reference[B]+h.reference[R]-M[R]-h.floating[B],Y=M[R]-h.reference[R],le=await(g.getOffsetParent==null?void 0:g.getOffsetParent(E));let me=le?le[q]:0;(!me||!await(g.isElement==null?void 0:g.isElement(le)))&&(me=v.floating[q]||h.floating[B]);const pe=J/2-Y/2,ve=me/2-L[B]/2-1,He=um(C[U],ve),Be=um(C[G],ve),Pe=He,Qe=me-L[B]-Be,Xe=me/2-L[B]/2+pe,qe=GA(Pe,Xe,Qe),F=!S.arrow&&Fy(u)!=null&&Xe!==qe&&h.reference[B]/2-(Xe<Pe?He:Be)-L[B]/2<0,ne=F?Xe<Pe?Xe-Pe:Xe-Qe:0;return{[R]:M[R]+ne,data:{[R]:qe,centerOffset:Xe-qe-ne,...F&&{alignmentOffset:ne}},reset:F}}}),vq=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var i,o;const{placement:u,middlewareData:h,rects:g,initialPlacement:v,platform:S,elements:E}=n,{mainAxis:A=!0,crossAxis:C=!0,fallbackPlacements:M,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:B="none",flipAlignment:L=!0,...P}=Iy(t,n);if((i=h.arrow)!=null&&i.alignmentOffset)return{};const U=cm(u),G=Ag(v),q=cm(v)===v,J=await(S.isRTL==null?void 0:S.isRTL(E.floating)),Y=M||(q||!L?[Ex(v)]:dq(v)),le=B!=="none";!M&&le&&Y.push(...mq(v,L,B,J));const me=[v,...Y],pe=await ZA(n,P),ve=[];let He=((o=h.flip)==null?void 0:o.overflows)||[];if(A&&ve.push(pe[U]),C){const Xe=fq(u,g,J);ve.push(pe[Xe[0]],pe[Xe[1]])}if(He=[...He,{placement:u,overflows:ve}],!ve.every(Xe=>Xe<=0)){var Be,Pe;const Xe=(((Be=h.flip)==null?void 0:Be.index)||0)+1,qe=me[Xe];if(qe)return{data:{index:Xe,overflows:He},reset:{placement:qe}};let F=(Pe=He.filter(ne=>ne.overflows[0]<=0).sort((ne,oe)=>ne.overflows[1]-oe.overflows[1])[0])==null?void 0:Pe.placement;if(!F)switch(R){case"bestFit":{var Qe;const ne=(Qe=He.filter(oe=>{if(le){const Me=Ag(oe.placement);return Me===G||Me==="y"}return!0}).map(oe=>[oe.placement,oe.overflows.filter(Me=>Me>0).reduce((Me,X)=>Me+X,0)]).sort((oe,Me)=>oe[1]-Me[1])[0])==null?void 0:Qe[0];ne&&(F=ne);break}case"initialPlacement":F=v;break}if(u!==F)return{reset:{placement:F}}}return{}}}};async function bq(t,n){const{placement:i,platform:o,elements:u}=t,h=await(o.isRTL==null?void 0:o.isRTL(u.floating)),g=cm(i),v=Fy(i),S=Ag(i)==="y",E=["left","top"].includes(g)?-1:1,A=h&&S?-1:1,C=Iy(n,t);let{mainAxis:M,crossAxis:R,alignmentAxis:B}=typeof C=="number"?{mainAxis:C,crossAxis:0,alignmentAxis:null}:{mainAxis:C.mainAxis||0,crossAxis:C.crossAxis||0,alignmentAxis:C.alignmentAxis};return v&&typeof B=="number"&&(R=v==="end"?B*-1:B),S?{x:R*A,y:M*E}:{x:M*E,y:R*A}}const Sq=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(n){var i,o;const{x:u,y:h,placement:g,middlewareData:v}=n,S=await bq(n,t);return g===((i=v.offset)==null?void 0:i.placement)&&(o=v.arrow)!=null&&o.alignmentOffset?{}:{x:u+S.x,y:h+S.y,data:{...S,placement:g}}}}},xq=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:i,y:o,placement:u}=n,{mainAxis:h=!0,crossAxis:g=!1,limiter:v={fn:P=>{let{x:U,y:G}=P;return{x:U,y:G}}},...S}=Iy(t,n),E={x:i,y:o},A=await ZA(n,S),C=Ag(cm(u)),M=C5(C);let R=E[M],B=E[C];if(h){const P=M==="y"?"top":"left",U=M==="y"?"bottom":"right",G=R+A[P],q=R-A[U];R=GA(G,R,q)}if(g){const P=C==="y"?"top":"left",U=C==="y"?"bottom":"right",G=B+A[P],q=B-A[U];B=GA(G,B,q)}const L=v.fn({...n,[M]:R,[C]:B});return{...L,data:{x:L.x-i,y:L.y-o,enabled:{[M]:h,[C]:g}}}}}},Tq=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(n){var i,o;const{placement:u,rects:h,platform:g,elements:v}=n,{apply:S=()=>{},...E}=Iy(t,n),A=await ZA(n,E),C=cm(u),M=Fy(u),R=Ag(u)==="y",{width:B,height:L}=h.floating;let P,U;C==="top"||C==="bottom"?(P=C,U=M===(await(g.isRTL==null?void 0:g.isRTL(v.floating))?"start":"end")?"left":"right"):(U=C,P=M==="end"?"top":"bottom");const G=L-A.top-A.bottom,q=B-A.left-A.right,J=um(L-A[P],G),Y=um(B-A[U],q),le=!n.middlewareData.shift;let me=J,pe=Y;if((i=n.middlewareData.shift)!=null&&i.enabled.x&&(pe=q),(o=n.middlewareData.shift)!=null&&o.enabled.y&&(me=G),le&&!M){const He=No(A.left,0),Be=No(A.right,0),Pe=No(A.top,0),Qe=No(A.bottom,0);R?pe=B-2*(He!==0||Be!==0?He+Be:No(A.left,A.right)):me=L-2*(Pe!==0||Qe!==0?Pe+Qe:No(A.top,A.bottom))}await S({...n,availableWidth:pe,availableHeight:me});const ve=await g.getDimensions(v.floating);return B!==ve.width||L!==ve.height?{reset:{rects:!0}}:{}}}};function D5(t){const n=Es(t);let i=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const u=_o(t),h=u?t.offsetWidth:i,g=u?t.offsetHeight:o,v=xx(i)!==h||xx(o)!==g;return v&&(i=h,o=g),{width:i,height:o,$:v}}function KA(t){return La(t)?t:t.contextElement}function Xy(t){const n=KA(t);if(!_o(n))return Bc(1);const i=n.getBoundingClientRect(),{width:o,height:u,$:h}=D5(n);let g=(h?xx(i.width):i.width)/o,v=(h?xx(i.height):i.height)/u;return(!g||!Number.isFinite(g))&&(g=1),(!v||!Number.isFinite(v))&&(v=1),{x:g,y:v}}const Eq=Bc(0);function R5(t){const n=Ro(t);return!bx()||!n.visualViewport?Eq:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Aq(t,n,i){return n===void 0&&(n=!1),!i||n&&i!==Ro(t)?!1:n}function wg(t,n,i,o){n===void 0&&(n=!1),i===void 0&&(i=!1);const u=t.getBoundingClientRect(),h=KA(t);let g=Bc(1);n&&(o?La(o)&&(g=Xy(o)):g=Xy(t));const v=Aq(h,i,o)?R5(h):Bc(0);let S=(u.left+v.x)/g.x,E=(u.top+v.y)/g.y,A=u.width/g.x,C=u.height/g.y;if(h){const M=Ro(h),R=o&&La(o)?Ro(o):o;let B=M,L=YA(B);for(;L&&o&&R!==B;){const P=Xy(L),U=L.getBoundingClientRect(),G=Es(L),q=U.left+(L.clientLeft+parseFloat(G.paddingLeft))*P.x,J=U.top+(L.clientTop+parseFloat(G.paddingTop))*P.y;S*=P.x,E*=P.y,A*=P.x,C*=P.y,S+=q,E+=J,B=Ro(L),L=YA(B)}}return Ax({width:A,height:C,x:S,y:E})}function QA(t,n){const i=Sx(t).scrollLeft;return n?n.left+i:wg(Vc(t)).left+i}function _5(t,n,i){i===void 0&&(i=!1);const o=t.getBoundingClientRect(),u=o.left+n.scrollLeft-(i?0:QA(t,o)),h=o.top+n.scrollTop;return{x:u,y:h}}function wq(t){let{elements:n,rect:i,offsetParent:o,strategy:u}=t;const h=u==="fixed",g=Vc(o),v=n?vx(n.floating):!1;if(o===g||v&&h)return i;let S={scrollLeft:0,scrollTop:0},E=Bc(1);const A=Bc(0),C=_o(o);if((C||!C&&!h)&&((Gy(o)!=="body"||cb(g))&&(S=Sx(o)),_o(o))){const R=wg(o);E=Xy(o),A.x=R.x+o.clientLeft,A.y=R.y+o.clientTop}const M=g&&!C&&!h?_5(g,S,!0):Bc(0);return{width:i.width*E.x,height:i.height*E.y,x:i.x*E.x-S.scrollLeft*E.x+A.x+M.x,y:i.y*E.y-S.scrollTop*E.y+A.y+M.y}}function Cq(t){return Array.from(t.getClientRects())}function Oq(t){const n=Vc(t),i=Sx(t),o=t.ownerDocument.body,u=No(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),h=No(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let g=-i.scrollLeft+QA(t);const v=-i.scrollTop;return Es(o).direction==="rtl"&&(g+=No(n.clientWidth,o.clientWidth)-u),{width:u,height:h,x:g,y:v}}function Mq(t,n){const i=Ro(t),o=Vc(t),u=i.visualViewport;let h=o.clientWidth,g=o.clientHeight,v=0,S=0;if(u){h=u.width,g=u.height;const E=bx();(!E||E&&n==="fixed")&&(v=u.offsetLeft,S=u.offsetTop)}return{width:h,height:g,x:v,y:S}}function Dq(t,n){const i=wg(t,!0,n==="fixed"),o=i.top+t.clientTop,u=i.left+t.clientLeft,h=_o(t)?Xy(t):Bc(1),g=t.clientWidth*h.x,v=t.clientHeight*h.y,S=u*h.x,E=o*h.y;return{width:g,height:v,x:S,y:E}}function N5(t,n,i){let o;if(n==="viewport")o=Mq(t,i);else if(n==="document")o=Oq(Vc(t));else if(La(n))o=Dq(n,i);else{const u=R5(t);o={x:n.x-u.x,y:n.y-u.y,width:n.width,height:n.height}}return Ax(o)}function z5(t,n){const i=cd(t);return i===n||!La(i)||ud(i)?!1:Es(i).position==="fixed"||z5(i,n)}function Rq(t,n){const i=n.get(t);if(i)return i;let o=sm(t,[],!1).filter(v=>La(v)&&Gy(v)!=="body"),u=null;const h=Es(t).position==="fixed";let g=h?cd(t):t;for(;La(g)&&!ud(g);){const v=Es(g),S=kA(g);!S&&v.position==="fixed"&&(u=null),(h?!S&&!u:!S&&v.position==="static"&&!!u&&["absolute","fixed"].includes(u.position)||cb(g)&&!S&&z5(t,g))?o=o.filter(A=>A!==g):u=v,g=cd(g)}return n.set(t,o),o}function _q(t){let{element:n,boundary:i,rootBoundary:o,strategy:u}=t;const g=[...i==="clippingAncestors"?vx(n)?[]:Rq(n,this._c):[].concat(i),o],v=g[0],S=g.reduce((E,A)=>{const C=N5(n,A,u);return E.top=No(C.top,E.top),E.right=um(C.right,E.right),E.bottom=um(C.bottom,E.bottom),E.left=No(C.left,E.left),E},N5(n,v,u));return{width:S.right-S.left,height:S.bottom-S.top,x:S.left,y:S.top}}function Nq(t){const{width:n,height:i}=D5(t);return{width:n,height:i}}function zq(t,n,i){const o=_o(n),u=Vc(n),h=i==="fixed",g=wg(t,!0,h,n);let v={scrollLeft:0,scrollTop:0};const S=Bc(0);if(o||!o&&!h)if((Gy(n)!=="body"||cb(u))&&(v=Sx(n)),o){const M=wg(n,!0,h,n);S.x=M.x+n.clientLeft,S.y=M.y+n.clientTop}else u&&(S.x=QA(u));const E=u&&!o&&!h?_5(u,v):Bc(0),A=g.left+v.scrollLeft-S.x-E.x,C=g.top+v.scrollTop-S.y-E.y;return{x:A,y:C,width:g.width,height:g.height}}function WA(t){return Es(t).position==="static"}function L5(t,n){if(!_o(t)||Es(t).position==="fixed")return null;if(n)return n(t);let i=t.offsetParent;return Vc(t)===i&&(i=i.ownerDocument.body),i}function U5(t,n){const i=Ro(t);if(vx(t))return i;if(!_o(t)){let u=cd(t);for(;u&&!ud(u);){if(La(u)&&!WA(u))return u;u=cd(u)}return i}let o=L5(t,n);for(;o&&aq(o)&&WA(o);)o=L5(o,n);return o&&ud(o)&&WA(o)&&!kA(o)?i:o||iq(t)||i}const Lq=async function(t){const n=this.getOffsetParent||U5,i=this.getDimensions,o=await i(t.floating);return{reference:zq(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Uq(t){return Es(t).direction==="rtl"}const Vq={convertOffsetParentRelativeRectToViewportRelativeRect:wq,getDocumentElement:Vc,getClippingRect:_q,getOffsetParent:U5,getElementRects:Lq,getClientRects:Cq,getDimensions:Nq,getScale:Xy,isElement:La,isRTL:Uq};function V5(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function Bq(t,n){let i=null,o;const u=Vc(t);function h(){var v;clearTimeout(o),(v=i)==null||v.disconnect(),i=null}function g(v,S){v===void 0&&(v=!1),S===void 0&&(S=1),h();const E=t.getBoundingClientRect(),{left:A,top:C,width:M,height:R}=E;if(v||n(),!M||!R)return;const B=Tx(C),L=Tx(u.clientWidth-(A+M)),P=Tx(u.clientHeight-(C+R)),U=Tx(A),q={rootMargin:-B+"px "+-L+"px "+-P+"px "+-U+"px",threshold:No(0,um(1,S))||1};let J=!0;function Y(le){const me=le[0].intersectionRatio;if(me!==S){if(!J)return g();me?g(!1,me):o=setTimeout(()=>{g(!1,1e-7)},1e3)}me===1&&!V5(E,t.getBoundingClientRect())&&g(),J=!1}try{i=new IntersectionObserver(Y,{...q,root:u.ownerDocument})}catch{i=new IntersectionObserver(Y,q)}i.observe(t)}return g(!0),h}function db(t,n,i,o){o===void 0&&(o={});const{ancestorScroll:u=!0,ancestorResize:h=!0,elementResize:g=typeof ResizeObserver=="function",layoutShift:v=typeof IntersectionObserver=="function",animationFrame:S=!1}=o,E=KA(t),A=u||h?[...E?sm(E):[],...sm(n)]:[];A.forEach(U=>{u&&U.addEventListener("scroll",i,{passive:!0}),h&&U.addEventListener("resize",i)});const C=E&&v?Bq(E,i):null;let M=-1,R=null;g&&(R=new ResizeObserver(U=>{let[G]=U;G&&G.target===E&&R&&(R.unobserve(n),cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var q;(q=R)==null||q.observe(n)})),i()}),E&&!S&&R.observe(E),R.observe(n));let B,L=S?wg(t):null;S&&P();function P(){const U=wg(t);L&&!V5(L,U)&&i(),L=U,B=requestAnimationFrame(P)}return i(),()=>{var U;A.forEach(G=>{u&&G.removeEventListener("scroll",i),h&&G.removeEventListener("resize",i)}),C==null||C(),(U=R)==null||U.disconnect(),R=null,S&&cancelAnimationFrame(B)}}const jq=Sq,$q=xq,Hq=vq,Pq=Tq,B5=yq,kq=(t,n,i)=>{const o=new Map,u={platform:Vq,...i},h={...u.platform,_c:o};return gq(t,n,{...u,platform:h})};var wx=typeof document<"u"?ee.useLayoutEffect:ee.useEffect;function Cx(t,n){if(t===n)return!0;if(typeof t!=typeof n)return!1;if(typeof t=="function"&&t.toString()===n.toString())return!0;let i,o,u;if(t&&n&&typeof t=="object"){if(Array.isArray(t)){if(i=t.length,i!==n.length)return!1;for(o=i;o--!==0;)if(!Cx(t[o],n[o]))return!1;return!0}if(u=Object.keys(t),i=u.length,i!==Object.keys(n).length)return!1;for(o=i;o--!==0;)if(!{}.hasOwnProperty.call(n,u[o]))return!1;for(o=i;o--!==0;){const h=u[o];if(!(h==="_owner"&&t.$$typeof)&&!Cx(t[h],n[h]))return!1}return!0}return t!==t&&n!==n}function j5(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function $5(t,n){const i=j5(t);return Math.round(n*i)/i}function JA(t){const n=lt.useRef(t);return wx(()=>{n.current=t}),n}function Yq(t){t===void 0&&(t={});const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:u,elements:{reference:h,floating:g}={},transform:v=!0,whileElementsMounted:S,open:E}=t,[A,C]=lt.useState({x:0,y:0,strategy:i,placement:n,middlewareData:{},isPositioned:!1}),[M,R]=lt.useState(o);Cx(M,o)||R(o);const[B,L]=lt.useState(null),[P,U]=lt.useState(null),G=lt.useCallback(oe=>{oe!==le.current&&(le.current=oe,L(oe))},[]),q=lt.useCallback(oe=>{oe!==me.current&&(me.current=oe,U(oe))},[]),J=h||B,Y=g||P,le=lt.useRef(null),me=lt.useRef(null),pe=lt.useRef(A),ve=S!=null,He=JA(S),Be=JA(u),Pe=JA(E),Qe=lt.useCallback(()=>{if(!le.current||!me.current)return;const oe={placement:n,strategy:i,middleware:M};Be.current&&(oe.platform=Be.current),kq(le.current,me.current,oe).then(Me=>{const X={...Me,isPositioned:Pe.current!==!1};Xe.current&&!Cx(pe.current,X)&&(pe.current=X,wN.flushSync(()=>{C(X)}))})},[M,n,i,Be,Pe]);wx(()=>{E===!1&&pe.current.isPositioned&&(pe.current.isPositioned=!1,C(oe=>({...oe,isPositioned:!1})))},[E]);const Xe=lt.useRef(!1);wx(()=>(Xe.current=!0,()=>{Xe.current=!1}),[]),wx(()=>{if(J&&(le.current=J),Y&&(me.current=Y),J&&Y){if(He.current)return He.current(J,Y,Qe);Qe()}},[J,Y,Qe,He,ve]);const qe=lt.useMemo(()=>({reference:le,floating:me,setReference:G,setFloating:q}),[G,q]),F=lt.useMemo(()=>({reference:J,floating:Y}),[J,Y]),ne=lt.useMemo(()=>{const oe={position:i,left:0,top:0};if(!F.floating)return oe;const Me=$5(F.floating,A.x),X=$5(F.floating,A.y);return v?{...oe,transform:"translate("+Me+"px, "+X+"px)",...j5(F.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:Me,top:X}},[i,v,F.floating,A.x,A.y]);return lt.useMemo(()=>({...A,update:Qe,refs:qe,elements:F,floatingStyles:ne}),[A,Qe,qe,F,ne])}const qq=t=>{function n(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:t,fn(i){const{element:o,padding:u}=typeof t=="function"?t(i):t;return o&&n(o)?o.current!=null?B5({element:o.current,padding:u}).fn(i):{}:o?B5({element:o,padding:u}).fn(i):{}}}},hb=(t,n)=>({...jq(t),options:[t,n]}),mb=(t,n)=>({...$q(t),options:[t,n]}),pb=(t,n)=>({...Hq(t),options:[t,n]}),Ox=(t,n)=>({...Pq(t),options:[t,n]}),Mx=(t,n)=>({...qq(t),options:[t,n]}),H5={...lt},Gq=H5.useInsertionEffect||(t=>t());function Zy(t){const n=lt.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Gq(()=>{n.current=t}),lt.useCallback(function(){for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return n.current==null?void 0:n.current(...o)},[])}var Ky=typeof document<"u"?ee.useLayoutEffect:ee.useEffect;let P5=!1,Iq=0;const k5=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Iq++;function Fq(){const[t,n]=lt.useState(()=>P5?k5():void 0);return Ky(()=>{t==null&&n(k5())},[]),lt.useEffect(()=>{P5=!0},[]),t}const Xq=H5.useId||Fq;let ew;process.env.NODE_ENV!=="production"&&(ew=new Set);function Zq(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];const u="Floating UI: "+i.join(" ");if(!((t=ew)!=null&&t.has(u))){var h;(h=ew)==null||h.add(u),console.error(u)}}function Kq(){const t=new Map;return{emit(n,i){var o;(o=t.get(n))==null||o.forEach(u=>u(i))},on(n,i){t.set(n,[...t.get(n)||[],i])},off(n,i){var o;t.set(n,((o=t.get(n))==null?void 0:o.filter(u=>u!==i))||[])}}}const Qq=lt.createContext(null),Wq=lt.createContext(null),Jq=()=>{var t;return((t=lt.useContext(Qq))==null?void 0:t.id)||null},Y5=()=>lt.useContext(Wq);function eG(t){return"data-floating-ui-"+t}function Dx(t){const n=ee.useRef(t);return Ky(()=>{n.current=t}),n}function tw(t,n){let i=t.filter(u=>{var h;return u.parentId===n&&((h=u.context)==null?void 0:h.open)}),o=i;for(;o.length;)o=t.filter(u=>{var h;return(h=o)==null?void 0:h.some(g=>{var v;return u.parentId===g.id&&((v=u.context)==null?void 0:v.open)})}),i=i.concat(o);return i}const tG="data-floating-ui-focusable";function q5(t){return _o(t.target)&&t.target.tagName==="BUTTON"}function G5(t){return sq(t)}function gb(t,n){n===void 0&&(n={});const{open:i,onOpenChange:o,dataRef:u,elements:{domReference:h}}=t,{enabled:g=!0,event:v="click",toggle:S=!0,ignoreMouse:E=!1,keyboardHandlers:A=!0,stickIfOpen:C=!0}=n,M=lt.useRef(),R=lt.useRef(!1),B=lt.useMemo(()=>({onPointerDown(L){M.current=L.pointerType},onMouseDown(L){const P=M.current;L.button===0&&v!=="click"&&(A5(P)&&E||(i&&S&&(!(u.current.openEvent&&C)||u.current.openEvent.type==="mousedown")?o(!1,L.nativeEvent,"click"):(L.preventDefault(),o(!0,L.nativeEvent,"click"))))},onClick(L){const P=M.current;if(v==="mousedown"&&M.current){M.current=void 0;return}A5(P)&&E||(i&&S&&(!(u.current.openEvent&&C)||u.current.openEvent.type==="click")?o(!1,L.nativeEvent,"click"):o(!0,L.nativeEvent,"click"))},onKeyDown(L){M.current=void 0,!(L.defaultPrevented||!A||q5(L))&&(L.key===" "&&!G5(h)&&(L.preventDefault(),R.current=!0),L.key==="Enter"&&o(!(i&&S),L.nativeEvent,"click"))},onKeyUp(L){L.defaultPrevented||!A||q5(L)||G5(h)||L.key===" "&&R.current&&(R.current=!1,o(!(i&&S),L.nativeEvent,"click"))}}),[u,h,v,E,A,o,i,C,S]);return lt.useMemo(()=>g?{reference:B}:{},[g,B])}const nG={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},aG={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},I5=t=>{var n,i;return{escapeKey:typeof t=="boolean"?t:(n=t==null?void 0:t.escapeKey)!=null?n:!1,outsidePress:typeof t=="boolean"?t:(i=t==null?void 0:t.outsidePress)!=null?i:!0}};function yb(t,n){n===void 0&&(n={});const{open:i,onOpenChange:o,elements:u,dataRef:h}=t,{enabled:g=!0,escapeKey:v=!0,outsidePress:S=!0,outsidePressEvent:E="pointerdown",referencePress:A=!1,referencePressEvent:C="pointerdown",ancestorScroll:M=!1,bubbles:R,capture:B}=n,L=Y5(),P=Zy(typeof S=="function"?S:()=>!1),U=typeof S=="function"?P:S,G=lt.useRef(!1),q=lt.useRef(!1),{escapeKey:J,outsidePress:Y}=I5(R),{escapeKey:le,outsidePress:me}=I5(B),pe=lt.useRef(!1),ve=Zy(qe=>{var F;if(!i||!g||!v||qe.key!=="Escape"||pe.current)return;const ne=(F=h.current.floatingContext)==null?void 0:F.nodeId,oe=L?tw(L.nodesRef.current,ne):[];if(!J&&(qe.stopPropagation(),oe.length>0)){let Me=!0;if(oe.forEach(X=>{var fe;if((fe=X.context)!=null&&fe.open&&!X.context.dataRef.current.__escapeKeyBubbles){Me=!1;return}}),!Me)return}o(!1,rq(qe)?qe.nativeEvent:qe,"escape-key")}),He=Zy(qe=>{var F;const ne=()=>{var oe;ve(qe),(oe=fb(qe))==null||oe.removeEventListener("keydown",ne)};(F=fb(qe))==null||F.addEventListener("keydown",ne)}),Be=Zy(qe=>{var F;const ne=G.current;G.current=!1;const oe=q.current;if(q.current=!1,E==="click"&&oe||ne||typeof U=="function"&&!U(qe))return;const Me=fb(qe),X="["+eG("inert")+"]",fe=w5(u.floating).querySelectorAll(X);let Ae=La(Me)?Me:null;for(;Ae&&!ud(Ae);){const Ue=cd(Ae);if(ud(Ue)||!La(Ue))break;Ae=Ue}if(fe.length&&La(Me)&&!lq(Me)&&!E5(Me,u.floating)&&Array.from(fe).every(Ue=>!E5(Ae,Ue)))return;if(_o(Me)&&Xe){const Ue=ud(Me),et=Es(Me),We=/auto|scroll/,it=Ue||We.test(et.overflowX),yt=Ue||We.test(et.overflowY),un=it&&Me.clientWidth>0&&Me.scrollWidth>Me.clientWidth,Ge=yt&&Me.clientHeight>0&&Me.scrollHeight>Me.clientHeight,nt=et.direction==="rtl",Jt=Ge&&(nt?qe.offsetX<=Me.offsetWidth-Me.clientWidth:qe.offsetX>Me.clientWidth),wa=un&&qe.offsetY>Me.clientHeight;if(Jt||wa)return}const je=(F=h.current.floatingContext)==null?void 0:F.nodeId,Ye=L&&tw(L.nodesRef.current,je).some(Ue=>{var et;return qA(qe,(et=Ue.context)==null?void 0:et.elements.floating)});if(qA(qe,u.floating)||qA(qe,u.domReference)||Ye)return;const Le=L?tw(L.nodesRef.current,je):[];if(Le.length>0){let Ue=!0;if(Le.forEach(et=>{var We;if((We=et.context)!=null&&We.open&&!et.context.dataRef.current.__outsidePressBubbles){Ue=!1;return}}),!Ue)return}o(!1,qe,"outside-press")}),Pe=Zy(qe=>{var F;const ne=()=>{var oe;Be(qe),(oe=fb(qe))==null||oe.removeEventListener(E,ne)};(F=fb(qe))==null||F.addEventListener(E,ne)});lt.useEffect(()=>{if(!i||!g)return;h.current.__escapeKeyBubbles=J,h.current.__outsidePressBubbles=Y;let qe=-1;function F(fe){o(!1,fe,"ancestor-scroll")}function ne(){window.clearTimeout(qe),pe.current=!0}function oe(){qe=window.setTimeout(()=>{pe.current=!1},bx()?5:0)}const Me=w5(u.floating);v&&(Me.addEventListener("keydown",le?He:ve,le),Me.addEventListener("compositionstart",ne),Me.addEventListener("compositionend",oe)),U&&Me.addEventListener(E,me?Pe:Be,me);let X=[];return M&&(La(u.domReference)&&(X=sm(u.domReference)),La(u.floating)&&(X=X.concat(sm(u.floating))),!La(u.reference)&&u.reference&&u.reference.contextElement&&(X=X.concat(sm(u.reference.contextElement)))),X=X.filter(fe=>{var Ae;return fe!==((Ae=Me.defaultView)==null?void 0:Ae.visualViewport)}),X.forEach(fe=>{fe.addEventListener("scroll",F,{passive:!0})}),()=>{v&&(Me.removeEventListener("keydown",le?He:ve,le),Me.removeEventListener("compositionstart",ne),Me.removeEventListener("compositionend",oe)),U&&Me.removeEventListener(E,me?Pe:Be,me),X.forEach(fe=>{fe.removeEventListener("scroll",F)}),window.clearTimeout(qe)}},[h,u,v,U,E,i,o,M,g,J,Y,ve,le,He,Be,me,Pe]),lt.useEffect(()=>{G.current=!1},[U,E]);const Qe=lt.useMemo(()=>({onKeyDown:ve,...A&&{[nG[C]]:qe=>{o(!1,qe.nativeEvent,"reference-press")},...C!=="click"&&{onClick(qe){o(!1,qe.nativeEvent,"reference-press")}}}}),[ve,o,A,C]),Xe=lt.useMemo(()=>({onKeyDown:ve,onMouseDown(){q.current=!0},onMouseUp(){q.current=!0},[aG[E]]:()=>{G.current=!0}}),[ve,E]);return lt.useMemo(()=>g?{reference:Qe,floating:Xe}:{},[g,Qe,Xe])}function iG(t){const{open:n=!1,onOpenChange:i,elements:o}=t,u=Xq(),h=lt.useRef({}),[g]=lt.useState(()=>Kq()),v=Jq()!=null;if(process.env.NODE_ENV!=="production"){const R=o.reference;R&&!La(R)&&Zq("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[S,E]=lt.useState(o.reference),A=Zy((R,B,L)=>{h.current.openEvent=R?B:void 0,g.emit("openchange",{open:R,event:B,reason:L,nested:v}),i==null||i(R,B,L)}),C=lt.useMemo(()=>({setPositionReference:E}),[]),M=lt.useMemo(()=>({reference:S||o.reference||null,floating:o.floating||null,domReference:o.reference}),[S,o.reference,o.floating]);return lt.useMemo(()=>({dataRef:h,open:n,onOpenChange:A,elements:M,events:g,floatingId:u,refs:C}),[n,A,M,g,u,C])}function vb(t){t===void 0&&(t={});const{nodeId:n}=t,i=iG({...t,elements:{reference:null,floating:null,...t.elements}}),o=t.rootContext||i,u=o.elements,[h,g]=lt.useState(null),[v,S]=lt.useState(null),A=(u==null?void 0:u.domReference)||h,C=lt.useRef(null),M=Y5();Ky(()=>{A&&(C.current=A)},[A]);const R=Yq({...t,elements:{...u,...v&&{reference:v}}}),B=lt.useCallback(q=>{const J=La(q)?{getBoundingClientRect:()=>q.getBoundingClientRect(),contextElement:q}:q;S(J),R.refs.setReference(J)},[R.refs]),L=lt.useCallback(q=>{(La(q)||q===null)&&(C.current=q,g(q)),(La(R.refs.reference.current)||R.refs.reference.current===null||q!==null&&!La(q))&&R.refs.setReference(q)},[R.refs]),P=lt.useMemo(()=>({...R.refs,setReference:L,setPositionReference:B,domReference:C}),[R.refs,L,B]),U=lt.useMemo(()=>({...R.elements,domReference:A}),[R.elements,A]),G=lt.useMemo(()=>({...R,...o,refs:P,elements:U,nodeId:n}),[R,P,U,n,o]);return Ky(()=>{o.dataRef.current.floatingContext=G;const q=M==null?void 0:M.nodesRef.current.find(J=>J.id===n);q&&(q.context=G)}),lt.useMemo(()=>({...R,context:G,refs:P,elements:U}),[R,P,U,G])}const F5="active",X5="selected";function nw(t,n,i){const o=new Map,u=i==="item";let h=t;if(u&&t){const{[F5]:g,[X5]:v,...S}=t;h=S}return{...i==="floating"&&{tabIndex:-1,[tG]:""},...h,...n.map(g=>{const v=g?g[i]:null;return typeof v=="function"?t?v(t):null:v}).concat(t).reduce((g,v)=>(v&&Object.entries(v).forEach(S=>{let[E,A]=S;if(!(u&&[F5,X5].includes(E)))if(E.indexOf("on")===0){if(o.has(E)||o.set(E,[]),typeof A=="function"){var C;(C=o.get(E))==null||C.push(A),g[E]=function(){for(var M,R=arguments.length,B=new Array(R),L=0;L<R;L++)B[L]=arguments[L];return(M=o.get(E))==null?void 0:M.map(P=>P(...B)).find(P=>P!==void 0)}}}else g[E]=A}),g),{})}}function bb(t){t===void 0&&(t=[]);const n=t.map(v=>v==null?void 0:v.reference),i=t.map(v=>v==null?void 0:v.floating),o=t.map(v=>v==null?void 0:v.item),u=lt.useCallback(v=>nw(v,t,"reference"),n),h=lt.useCallback(v=>nw(v,t,"floating"),i),g=lt.useCallback(v=>nw(v,t,"item"),o);return lt.useMemo(()=>({getReferenceProps:u,getFloatingProps:h,getItemProps:g}),[u,h,g])}const Z5=t=>t.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(n,i)=>(i?"-":"")+n.toLowerCase());function Qy(t,n){return typeof t=="function"?t(n):t}function rG(t,n){const[i,o]=lt.useState(t);return t&&!i&&o(!0),lt.useEffect(()=>{if(!t&&i){const u=setTimeout(()=>o(!1),n);return()=>clearTimeout(u)}},[t,i,n]),i}function lG(t,n){n===void 0&&(n={});const{open:i,elements:{floating:o}}=t,{duration:u=250}=n,g=(typeof u=="number"?u:u.close)||0,[v,S]=lt.useState("unmounted"),E=rG(i,g);return!E&&v==="close"&&S("unmounted"),Ky(()=>{if(o){if(i){S("initial");const A=requestAnimationFrame(()=>{S("open")});return()=>{cancelAnimationFrame(A)}}S("close")}},[i,o]),{isMounted:E,status:v}}function Sb(t,n){n===void 0&&(n={});const{initial:i={opacity:0},open:o,close:u,common:h,duration:g=250}=n,v=t.placement,S=v.split("-")[0],E=lt.useMemo(()=>({side:S,placement:v}),[S,v]),A=typeof g=="number",C=(A?g:g.open)||0,M=(A?g:g.close)||0,[R,B]=lt.useState(()=>({...Qy(h,E),...Qy(i,E)})),{isMounted:L,status:P}=lG(t,{duration:g}),U=Dx(i),G=Dx(o),q=Dx(u),J=Dx(h);return Ky(()=>{const Y=Qy(U.current,E),le=Qy(q.current,E),me=Qy(J.current,E),pe=Qy(G.current,E)||Object.keys(Y).reduce((ve,He)=>(ve[He]="",ve),{});if(P==="initial"&&B(ve=>({transitionProperty:ve.transitionProperty,...me,...Y})),P==="open"&&B({transitionProperty:Object.keys(pe).map(Z5).join(","),transitionDuration:C+"ms",...me,...pe}),P==="close"){const ve=le||Y;B({transitionProperty:Object.keys(ve).map(Z5).join(","),transitionDuration:M+"ms",...me,...ve})}},[M,q,U,G,J,C,P,E]),{isMounted:L,styles:R}}const xb=({open:t,onClose:n,component:i,children:o,placement:u="bottom",className:h="",strategy:g="absolute",offset:v=8,padding:S=8})=>{const[E,A]=ee.useState(t);ee.useEffect(()=>{A(t)},[t]);const C=()=>{A(!1),n==null||n()},{x:M,y:R,strategy:B,refs:L,context:P}=vb({strategy:g,open:E,onOpenChange:me=>{me||C()},middleware:[hb(v),pb(),mb({padding:S})],whileElementsMounted:db,placement:u}),U=gb(P),G=yb(P),{getReferenceProps:q,getFloatingProps:J}=bb([U,G]),{isMounted:Y,styles:le}=Sb(P,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px) scale(0.95)"}});return V.jsxs("div",{className:"relative",children:[V.jsx("div",{ref:L.setReference,...q(),className:"reference-element",children:o}),Y&&V.jsx("div",{ref:L.setFloating,style:{position:B,top:R??0,left:M??0,...le,zIndex:9999},...J(),className:"floating-element",children:V.jsx(Wy,{className:h,children:typeof i=="function"?i():i})})]})},K5={initial:{backgroundColor:"#ffffff",color:"#57595f"},active:{backgroundColor:"#dee7fc",color:"#111827"},exit:{backgroundColor:"#ffffff",color:"#57595f"}},oG=({selectedPeriod:t,handlePeriodChange:n})=>V.jsxs("div",{className:"flex border border-blue-100 rounded-xl p-6 gap-2",children:[V.jsx(ha.button,{variants:K5,initial:"initial",animate:t==="AM"?"active":"initial",exit:"exit",transition:{duration:.2},onClick:()=>n("AM"),disabled:t==="AM",className:"flex items-center justify-center font-500 px-10 py-2 rounded-lg",children:"AM"}),V.jsx(ha.button,{variants:K5,initial:"initial",animate:t==="PM"?"active":"initial",exit:"exit",transition:{duration:.2},onClick:()=>n("PM"),disabled:t==="PM",className:"flex items-center justify-center font-500 px-10 py-2 rounded-lg",children:"PM"})]}),sG=({setHourMenuOpen:t,hourMenuOpen:n,selectedHour:i})=>V.jsx("button",{onClick:()=>t(!n),className:"flex justify-center items-center w-72 h-full border py-8 px-14 rounded-xl border-blue-100 text-gray-600 font-500",children:`${String(i).padStart(2,"0")}:00`});/*!
|
|
663
|
+
*/const WY={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},JY={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},eq={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},tq={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},nq={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]};function yx(){return typeof window<"u"}function Gy(t){return x5(t)?(t.nodeName||"").toLowerCase():"#document"}function Ro(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function Vc(t){var n;return(n=(x5(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function x5(t){return yx()?t instanceof Node||t instanceof Ro(t).Node:!1}function La(t){return yx()?t instanceof Element||t instanceof Ro(t).Element:!1}function _o(t){return yx()?t instanceof HTMLElement||t instanceof Ro(t).HTMLElement:!1}function PA(t){return!yx()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ro(t).ShadowRoot}function cb(t){const{overflow:n,overflowX:i,overflowY:o,display:u}=Es(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+i)&&!["inline","contents"].includes(u)}function aq(t){return["table","td","th"].includes(Gy(t))}function vx(t){return[":popover-open",":modal"].some(n=>{try{return t.matches(n)}catch{return!1}})}function kA(t){const n=bx(),i=La(t)?Es(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>i[o]?i[o]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!n&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!n&&(i.filter?i.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(i.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(i.contain||"").includes(o))}function iq(t){let n=cd(t);for(;_o(n)&&!ud(n);){if(kA(n))return n;if(vx(n))return null;n=cd(n)}return null}function bx(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ud(t){return["html","body","#document"].includes(Gy(t))}function Es(t){return Ro(t).getComputedStyle(t)}function Sx(t){return La(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function cd(t){if(Gy(t)==="html")return t;const n=t.assignedSlot||t.parentNode||PA(t)&&t.host||Vc(t);return PA(n)?n.host:n}function T5(t){const n=cd(t);return ud(n)?t.ownerDocument?t.ownerDocument.body:t.body:_o(n)&&cb(n)?n:T5(n)}function sm(t,n,i){var o;n===void 0&&(n=[]),i===void 0&&(i=!0);const u=T5(t),h=u===((o=t.ownerDocument)==null?void 0:o.body),g=Ro(u);if(h){const v=YA(g);return n.concat(g,g.visualViewport||[],cb(u)?u:[],v&&i?sm(v):[])}return n.concat(u,sm(u,[],i))}function YA(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function E5(t,n){if(!t||!n)return!1;const i=n.getRootNode==null?void 0:n.getRootNode();if(t.contains(n))return!0;if(i&&PA(i)){let o=n;for(;o;){if(t===o)return!0;o=o.parentNode||o.host}}return!1}function A5(t,n){return["mouse","pen"].includes(t)}function rq(t){return"nativeEvent"in t}function lq(t){return t.matches("html,body")}function w5(t){return(t==null?void 0:t.ownerDocument)||document}function qA(t,n){if(n==null)return!1;if("composedPath"in t)return t.composedPath().includes(n);const i=t;return i.target!=null&&n.contains(i.target)}function fb(t){return"composedPath"in t?t.composedPath()[0]:t.target}const oq="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function sq(t){return _o(t)&&t.matches(oq)}const um=Math.min,No=Math.max,xx=Math.round,Tx=Math.floor,Bc=t=>({x:t,y:t}),uq={left:"right",right:"left",bottom:"top",top:"bottom"},cq={start:"end",end:"start"};function GA(t,n,i){return No(t,um(n,i))}function Iy(t,n){return typeof t=="function"?t(n):t}function cm(t){return t.split("-")[0]}function Fy(t){return t.split("-")[1]}function C5(t){return t==="x"?"y":"x"}function IA(t){return t==="y"?"height":"width"}function Ag(t){return["top","bottom"].includes(cm(t))?"y":"x"}function FA(t){return C5(Ag(t))}function fq(t,n,i){i===void 0&&(i=!1);const o=Fy(t),u=FA(t),h=IA(u);let g=u==="x"?o===(i?"end":"start")?"right":"left":o==="start"?"bottom":"top";return n.reference[h]>n.floating[h]&&(g=Ex(g)),[g,Ex(g)]}function dq(t){const n=Ex(t);return[XA(t),n,XA(n)]}function XA(t){return t.replace(/start|end/g,n=>cq[n])}function hq(t,n,i){const o=["left","right"],u=["right","left"],h=["top","bottom"],g=["bottom","top"];switch(t){case"top":case"bottom":return i?n?u:o:n?o:u;case"left":case"right":return n?h:g;default:return[]}}function mq(t,n,i,o){const u=Fy(t);let h=hq(cm(t),i==="start",o);return u&&(h=h.map(g=>g+"-"+u),n&&(h=h.concat(h.map(XA)))),h}function Ex(t){return t.replace(/left|right|bottom|top/g,n=>uq[n])}function pq(t){return{top:0,right:0,bottom:0,left:0,...t}}function O5(t){return typeof t!="number"?pq(t):{top:t,right:t,bottom:t,left:t}}function Ax(t){const{x:n,y:i,width:o,height:u}=t;return{width:o,height:u,top:i,left:n,right:n+o,bottom:i+u,x:n,y:i}}function M5(t,n,i){let{reference:o,floating:u}=t;const h=Ag(n),g=FA(n),v=IA(g),S=cm(n),E=h==="y",A=o.x+o.width/2-u.width/2,C=o.y+o.height/2-u.height/2,M=o[v]/2-u[v]/2;let R;switch(S){case"top":R={x:A,y:o.y-u.height};break;case"bottom":R={x:A,y:o.y+o.height};break;case"right":R={x:o.x+o.width,y:C};break;case"left":R={x:o.x-u.width,y:C};break;default:R={x:o.x,y:o.y}}switch(Fy(n)){case"start":R[g]-=M*(i&&E?-1:1);break;case"end":R[g]+=M*(i&&E?-1:1);break}return R}const gq=async(t,n,i)=>{const{placement:o="bottom",strategy:u="absolute",middleware:h=[],platform:g}=i,v=h.filter(Boolean),S=await(g.isRTL==null?void 0:g.isRTL(n));let E=await g.getElementRects({reference:t,floating:n,strategy:u}),{x:A,y:C}=M5(E,o,S),M=o,R={},B=0;for(let L=0;L<v.length;L++){const{name:P,fn:U}=v[L],{x:G,y:q,data:J,reset:Y}=await U({x:A,y:C,initialPlacement:o,placement:M,strategy:u,middlewareData:R,rects:E,platform:g,elements:{reference:t,floating:n}});A=G??A,C=q??C,R={...R,[P]:{...R[P],...J}},Y&&B<=50&&(B++,typeof Y=="object"&&(Y.placement&&(M=Y.placement),Y.rects&&(E=Y.rects===!0?await g.getElementRects({reference:t,floating:n,strategy:u}):Y.rects),{x:A,y:C}=M5(E,M,S)),L=-1)}return{x:A,y:C,placement:M,strategy:u,middlewareData:R}};async function ZA(t,n){var i;n===void 0&&(n={});const{x:o,y:u,platform:h,rects:g,elements:v,strategy:S}=t,{boundary:E="clippingAncestors",rootBoundary:A="viewport",elementContext:C="floating",altBoundary:M=!1,padding:R=0}=Iy(n,t),B=O5(R),P=v[M?C==="floating"?"reference":"floating":C],U=Ax(await h.getClippingRect({element:(i=await(h.isElement==null?void 0:h.isElement(P)))==null||i?P:P.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(v.floating)),boundary:E,rootBoundary:A,strategy:S})),G=C==="floating"?{x:o,y:u,width:g.floating.width,height:g.floating.height}:g.reference,q=await(h.getOffsetParent==null?void 0:h.getOffsetParent(v.floating)),J=await(h.isElement==null?void 0:h.isElement(q))?await(h.getScale==null?void 0:h.getScale(q))||{x:1,y:1}:{x:1,y:1},Y=Ax(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:v,rect:G,offsetParent:q,strategy:S}):G);return{top:(U.top-Y.top+B.top)/J.y,bottom:(Y.bottom-U.bottom+B.bottom)/J.y,left:(U.left-Y.left+B.left)/J.x,right:(Y.right-U.right+B.right)/J.x}}const yq=t=>({name:"arrow",options:t,async fn(n){const{x:i,y:o,placement:u,rects:h,platform:g,elements:v,middlewareData:S}=n,{element:E,padding:A=0}=Iy(t,n)||{};if(E==null)return{};const C=O5(A),M={x:i,y:o},R=FA(u),B=IA(R),L=await g.getDimensions(E),P=R==="y",U=P?"top":"left",G=P?"bottom":"right",q=P?"clientHeight":"clientWidth",J=h.reference[B]+h.reference[R]-M[R]-h.floating[B],Y=M[R]-h.reference[R],le=await(g.getOffsetParent==null?void 0:g.getOffsetParent(E));let me=le?le[q]:0;(!me||!await(g.isElement==null?void 0:g.isElement(le)))&&(me=v.floating[q]||h.floating[B]);const pe=J/2-Y/2,ve=me/2-L[B]/2-1,He=um(C[U],ve),Be=um(C[G],ve),Pe=He,Qe=me-L[B]-Be,Xe=me/2-L[B]/2+pe,qe=GA(Pe,Xe,Qe),F=!S.arrow&&Fy(u)!=null&&Xe!==qe&&h.reference[B]/2-(Xe<Pe?He:Be)-L[B]/2<0,ne=F?Xe<Pe?Xe-Pe:Xe-Qe:0;return{[R]:M[R]+ne,data:{[R]:qe,centerOffset:Xe-qe-ne,...F&&{alignmentOffset:ne}},reset:F}}}),vq=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var i,o;const{placement:u,middlewareData:h,rects:g,initialPlacement:v,platform:S,elements:E}=n,{mainAxis:A=!0,crossAxis:C=!0,fallbackPlacements:M,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:B="none",flipAlignment:L=!0,...P}=Iy(t,n);if((i=h.arrow)!=null&&i.alignmentOffset)return{};const U=cm(u),G=Ag(v),q=cm(v)===v,J=await(S.isRTL==null?void 0:S.isRTL(E.floating)),Y=M||(q||!L?[Ex(v)]:dq(v)),le=B!=="none";!M&&le&&Y.push(...mq(v,L,B,J));const me=[v,...Y],pe=await ZA(n,P),ve=[];let He=((o=h.flip)==null?void 0:o.overflows)||[];if(A&&ve.push(pe[U]),C){const Xe=fq(u,g,J);ve.push(pe[Xe[0]],pe[Xe[1]])}if(He=[...He,{placement:u,overflows:ve}],!ve.every(Xe=>Xe<=0)){var Be,Pe;const Xe=(((Be=h.flip)==null?void 0:Be.index)||0)+1,qe=me[Xe];if(qe)return{data:{index:Xe,overflows:He},reset:{placement:qe}};let F=(Pe=He.filter(ne=>ne.overflows[0]<=0).sort((ne,oe)=>ne.overflows[1]-oe.overflows[1])[0])==null?void 0:Pe.placement;if(!F)switch(R){case"bestFit":{var Qe;const ne=(Qe=He.filter(oe=>{if(le){const Me=Ag(oe.placement);return Me===G||Me==="y"}return!0}).map(oe=>[oe.placement,oe.overflows.filter(Me=>Me>0).reduce((Me,X)=>Me+X,0)]).sort((oe,Me)=>oe[1]-Me[1])[0])==null?void 0:Qe[0];ne&&(F=ne);break}case"initialPlacement":F=v;break}if(u!==F)return{reset:{placement:F}}}return{}}}};async function bq(t,n){const{placement:i,platform:o,elements:u}=t,h=await(o.isRTL==null?void 0:o.isRTL(u.floating)),g=cm(i),v=Fy(i),S=Ag(i)==="y",E=["left","top"].includes(g)?-1:1,A=h&&S?-1:1,C=Iy(n,t);let{mainAxis:M,crossAxis:R,alignmentAxis:B}=typeof C=="number"?{mainAxis:C,crossAxis:0,alignmentAxis:null}:{mainAxis:C.mainAxis||0,crossAxis:C.crossAxis||0,alignmentAxis:C.alignmentAxis};return v&&typeof B=="number"&&(R=v==="end"?B*-1:B),S?{x:R*A,y:M*E}:{x:M*E,y:R*A}}const Sq=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(n){var i,o;const{x:u,y:h,placement:g,middlewareData:v}=n,S=await bq(n,t);return g===((i=v.offset)==null?void 0:i.placement)&&(o=v.arrow)!=null&&o.alignmentOffset?{}:{x:u+S.x,y:h+S.y,data:{...S,placement:g}}}}},xq=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:i,y:o,placement:u}=n,{mainAxis:h=!0,crossAxis:g=!1,limiter:v={fn:P=>{let{x:U,y:G}=P;return{x:U,y:G}}},...S}=Iy(t,n),E={x:i,y:o},A=await ZA(n,S),C=Ag(cm(u)),M=C5(C);let R=E[M],B=E[C];if(h){const P=M==="y"?"top":"left",U=M==="y"?"bottom":"right",G=R+A[P],q=R-A[U];R=GA(G,R,q)}if(g){const P=C==="y"?"top":"left",U=C==="y"?"bottom":"right",G=B+A[P],q=B-A[U];B=GA(G,B,q)}const L=v.fn({...n,[M]:R,[C]:B});return{...L,data:{x:L.x-i,y:L.y-o,enabled:{[M]:h,[C]:g}}}}}},Tq=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(n){var i,o;const{placement:u,rects:h,platform:g,elements:v}=n,{apply:S=()=>{},...E}=Iy(t,n),A=await ZA(n,E),C=cm(u),M=Fy(u),R=Ag(u)==="y",{width:B,height:L}=h.floating;let P,U;C==="top"||C==="bottom"?(P=C,U=M===(await(g.isRTL==null?void 0:g.isRTL(v.floating))?"start":"end")?"left":"right"):(U=C,P=M==="end"?"top":"bottom");const G=L-A.top-A.bottom,q=B-A.left-A.right,J=um(L-A[P],G),Y=um(B-A[U],q),le=!n.middlewareData.shift;let me=J,pe=Y;if((i=n.middlewareData.shift)!=null&&i.enabled.x&&(pe=q),(o=n.middlewareData.shift)!=null&&o.enabled.y&&(me=G),le&&!M){const He=No(A.left,0),Be=No(A.right,0),Pe=No(A.top,0),Qe=No(A.bottom,0);R?pe=B-2*(He!==0||Be!==0?He+Be:No(A.left,A.right)):me=L-2*(Pe!==0||Qe!==0?Pe+Qe:No(A.top,A.bottom))}await S({...n,availableWidth:pe,availableHeight:me});const ve=await g.getDimensions(v.floating);return B!==ve.width||L!==ve.height?{reset:{rects:!0}}:{}}}};function D5(t){const n=Es(t);let i=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const u=_o(t),h=u?t.offsetWidth:i,g=u?t.offsetHeight:o,v=xx(i)!==h||xx(o)!==g;return v&&(i=h,o=g),{width:i,height:o,$:v}}function KA(t){return La(t)?t:t.contextElement}function Xy(t){const n=KA(t);if(!_o(n))return Bc(1);const i=n.getBoundingClientRect(),{width:o,height:u,$:h}=D5(n);let g=(h?xx(i.width):i.width)/o,v=(h?xx(i.height):i.height)/u;return(!g||!Number.isFinite(g))&&(g=1),(!v||!Number.isFinite(v))&&(v=1),{x:g,y:v}}const Eq=Bc(0);function R5(t){const n=Ro(t);return!bx()||!n.visualViewport?Eq:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Aq(t,n,i){return n===void 0&&(n=!1),!i||n&&i!==Ro(t)?!1:n}function wg(t,n,i,o){n===void 0&&(n=!1),i===void 0&&(i=!1);const u=t.getBoundingClientRect(),h=KA(t);let g=Bc(1);n&&(o?La(o)&&(g=Xy(o)):g=Xy(t));const v=Aq(h,i,o)?R5(h):Bc(0);let S=(u.left+v.x)/g.x,E=(u.top+v.y)/g.y,A=u.width/g.x,C=u.height/g.y;if(h){const M=Ro(h),R=o&&La(o)?Ro(o):o;let B=M,L=YA(B);for(;L&&o&&R!==B;){const P=Xy(L),U=L.getBoundingClientRect(),G=Es(L),q=U.left+(L.clientLeft+parseFloat(G.paddingLeft))*P.x,J=U.top+(L.clientTop+parseFloat(G.paddingTop))*P.y;S*=P.x,E*=P.y,A*=P.x,C*=P.y,S+=q,E+=J,B=Ro(L),L=YA(B)}}return Ax({width:A,height:C,x:S,y:E})}function QA(t,n){const i=Sx(t).scrollLeft;return n?n.left+i:wg(Vc(t)).left+i}function _5(t,n,i){i===void 0&&(i=!1);const o=t.getBoundingClientRect(),u=o.left+n.scrollLeft-(i?0:QA(t,o)),h=o.top+n.scrollTop;return{x:u,y:h}}function wq(t){let{elements:n,rect:i,offsetParent:o,strategy:u}=t;const h=u==="fixed",g=Vc(o),v=n?vx(n.floating):!1;if(o===g||v&&h)return i;let S={scrollLeft:0,scrollTop:0},E=Bc(1);const A=Bc(0),C=_o(o);if((C||!C&&!h)&&((Gy(o)!=="body"||cb(g))&&(S=Sx(o)),_o(o))){const R=wg(o);E=Xy(o),A.x=R.x+o.clientLeft,A.y=R.y+o.clientTop}const M=g&&!C&&!h?_5(g,S,!0):Bc(0);return{width:i.width*E.x,height:i.height*E.y,x:i.x*E.x-S.scrollLeft*E.x+A.x+M.x,y:i.y*E.y-S.scrollTop*E.y+A.y+M.y}}function Cq(t){return Array.from(t.getClientRects())}function Oq(t){const n=Vc(t),i=Sx(t),o=t.ownerDocument.body,u=No(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),h=No(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let g=-i.scrollLeft+QA(t);const v=-i.scrollTop;return Es(o).direction==="rtl"&&(g+=No(n.clientWidth,o.clientWidth)-u),{width:u,height:h,x:g,y:v}}function Mq(t,n){const i=Ro(t),o=Vc(t),u=i.visualViewport;let h=o.clientWidth,g=o.clientHeight,v=0,S=0;if(u){h=u.width,g=u.height;const E=bx();(!E||E&&n==="fixed")&&(v=u.offsetLeft,S=u.offsetTop)}return{width:h,height:g,x:v,y:S}}function Dq(t,n){const i=wg(t,!0,n==="fixed"),o=i.top+t.clientTop,u=i.left+t.clientLeft,h=_o(t)?Xy(t):Bc(1),g=t.clientWidth*h.x,v=t.clientHeight*h.y,S=u*h.x,E=o*h.y;return{width:g,height:v,x:S,y:E}}function N5(t,n,i){let o;if(n==="viewport")o=Mq(t,i);else if(n==="document")o=Oq(Vc(t));else if(La(n))o=Dq(n,i);else{const u=R5(t);o={x:n.x-u.x,y:n.y-u.y,width:n.width,height:n.height}}return Ax(o)}function z5(t,n){const i=cd(t);return i===n||!La(i)||ud(i)?!1:Es(i).position==="fixed"||z5(i,n)}function Rq(t,n){const i=n.get(t);if(i)return i;let o=sm(t,[],!1).filter(v=>La(v)&&Gy(v)!=="body"),u=null;const h=Es(t).position==="fixed";let g=h?cd(t):t;for(;La(g)&&!ud(g);){const v=Es(g),S=kA(g);!S&&v.position==="fixed"&&(u=null),(h?!S&&!u:!S&&v.position==="static"&&!!u&&["absolute","fixed"].includes(u.position)||cb(g)&&!S&&z5(t,g))?o=o.filter(A=>A!==g):u=v,g=cd(g)}return n.set(t,o),o}function _q(t){let{element:n,boundary:i,rootBoundary:o,strategy:u}=t;const g=[...i==="clippingAncestors"?vx(n)?[]:Rq(n,this._c):[].concat(i),o],v=g[0],S=g.reduce((E,A)=>{const C=N5(n,A,u);return E.top=No(C.top,E.top),E.right=um(C.right,E.right),E.bottom=um(C.bottom,E.bottom),E.left=No(C.left,E.left),E},N5(n,v,u));return{width:S.right-S.left,height:S.bottom-S.top,x:S.left,y:S.top}}function Nq(t){const{width:n,height:i}=D5(t);return{width:n,height:i}}function zq(t,n,i){const o=_o(n),u=Vc(n),h=i==="fixed",g=wg(t,!0,h,n);let v={scrollLeft:0,scrollTop:0};const S=Bc(0);if(o||!o&&!h)if((Gy(n)!=="body"||cb(u))&&(v=Sx(n)),o){const M=wg(n,!0,h,n);S.x=M.x+n.clientLeft,S.y=M.y+n.clientTop}else u&&(S.x=QA(u));const E=u&&!o&&!h?_5(u,v):Bc(0),A=g.left+v.scrollLeft-S.x-E.x,C=g.top+v.scrollTop-S.y-E.y;return{x:A,y:C,width:g.width,height:g.height}}function WA(t){return Es(t).position==="static"}function L5(t,n){if(!_o(t)||Es(t).position==="fixed")return null;if(n)return n(t);let i=t.offsetParent;return Vc(t)===i&&(i=i.ownerDocument.body),i}function U5(t,n){const i=Ro(t);if(vx(t))return i;if(!_o(t)){let u=cd(t);for(;u&&!ud(u);){if(La(u)&&!WA(u))return u;u=cd(u)}return i}let o=L5(t,n);for(;o&&aq(o)&&WA(o);)o=L5(o,n);return o&&ud(o)&&WA(o)&&!kA(o)?i:o||iq(t)||i}const Lq=async function(t){const n=this.getOffsetParent||U5,i=this.getDimensions,o=await i(t.floating);return{reference:zq(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Uq(t){return Es(t).direction==="rtl"}const Vq={convertOffsetParentRelativeRectToViewportRelativeRect:wq,getDocumentElement:Vc,getClippingRect:_q,getOffsetParent:U5,getElementRects:Lq,getClientRects:Cq,getDimensions:Nq,getScale:Xy,isElement:La,isRTL:Uq};function V5(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function Bq(t,n){let i=null,o;const u=Vc(t);function h(){var v;clearTimeout(o),(v=i)==null||v.disconnect(),i=null}function g(v,S){v===void 0&&(v=!1),S===void 0&&(S=1),h();const E=t.getBoundingClientRect(),{left:A,top:C,width:M,height:R}=E;if(v||n(),!M||!R)return;const B=Tx(C),L=Tx(u.clientWidth-(A+M)),P=Tx(u.clientHeight-(C+R)),U=Tx(A),q={rootMargin:-B+"px "+-L+"px "+-P+"px "+-U+"px",threshold:No(0,um(1,S))||1};let J=!0;function Y(le){const me=le[0].intersectionRatio;if(me!==S){if(!J)return g();me?g(!1,me):o=setTimeout(()=>{g(!1,1e-7)},1e3)}me===1&&!V5(E,t.getBoundingClientRect())&&g(),J=!1}try{i=new IntersectionObserver(Y,{...q,root:u.ownerDocument})}catch{i=new IntersectionObserver(Y,q)}i.observe(t)}return g(!0),h}function db(t,n,i,o){o===void 0&&(o={});const{ancestorScroll:u=!0,ancestorResize:h=!0,elementResize:g=typeof ResizeObserver=="function",layoutShift:v=typeof IntersectionObserver=="function",animationFrame:S=!1}=o,E=KA(t),A=u||h?[...E?sm(E):[],...sm(n)]:[];A.forEach(U=>{u&&U.addEventListener("scroll",i,{passive:!0}),h&&U.addEventListener("resize",i)});const C=E&&v?Bq(E,i):null;let M=-1,R=null;g&&(R=new ResizeObserver(U=>{let[G]=U;G&&G.target===E&&R&&(R.unobserve(n),cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var q;(q=R)==null||q.observe(n)})),i()}),E&&!S&&R.observe(E),R.observe(n));let B,L=S?wg(t):null;S&&P();function P(){const U=wg(t);L&&!V5(L,U)&&i(),L=U,B=requestAnimationFrame(P)}return i(),()=>{var U;A.forEach(G=>{u&&G.removeEventListener("scroll",i),h&&G.removeEventListener("resize",i)}),C==null||C(),(U=R)==null||U.disconnect(),R=null,S&&cancelAnimationFrame(B)}}const jq=Sq,$q=xq,Hq=vq,Pq=Tq,B5=yq,kq=(t,n,i)=>{const o=new Map,u={platform:Vq,...i},h={...u.platform,_c:o};return gq(t,n,{...u,platform:h})};var wx=typeof document<"u"?ee.useLayoutEffect:ee.useEffect;function Cx(t,n){if(t===n)return!0;if(typeof t!=typeof n)return!1;if(typeof t=="function"&&t.toString()===n.toString())return!0;let i,o,u;if(t&&n&&typeof t=="object"){if(Array.isArray(t)){if(i=t.length,i!==n.length)return!1;for(o=i;o--!==0;)if(!Cx(t[o],n[o]))return!1;return!0}if(u=Object.keys(t),i=u.length,i!==Object.keys(n).length)return!1;for(o=i;o--!==0;)if(!{}.hasOwnProperty.call(n,u[o]))return!1;for(o=i;o--!==0;){const h=u[o];if(!(h==="_owner"&&t.$$typeof)&&!Cx(t[h],n[h]))return!1}return!0}return t!==t&&n!==n}function j5(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function $5(t,n){const i=j5(t);return Math.round(n*i)/i}function JA(t){const n=lt.useRef(t);return wx(()=>{n.current=t}),n}function Yq(t){t===void 0&&(t={});const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:u,elements:{reference:h,floating:g}={},transform:v=!0,whileElementsMounted:S,open:E}=t,[A,C]=lt.useState({x:0,y:0,strategy:i,placement:n,middlewareData:{},isPositioned:!1}),[M,R]=lt.useState(o);Cx(M,o)||R(o);const[B,L]=lt.useState(null),[P,U]=lt.useState(null),G=lt.useCallback(oe=>{oe!==le.current&&(le.current=oe,L(oe))},[]),q=lt.useCallback(oe=>{oe!==me.current&&(me.current=oe,U(oe))},[]),J=h||B,Y=g||P,le=lt.useRef(null),me=lt.useRef(null),pe=lt.useRef(A),ve=S!=null,He=JA(S),Be=JA(u),Pe=JA(E),Qe=lt.useCallback(()=>{if(!le.current||!me.current)return;const oe={placement:n,strategy:i,middleware:M};Be.current&&(oe.platform=Be.current),kq(le.current,me.current,oe).then(Me=>{const X={...Me,isPositioned:Pe.current!==!1};Xe.current&&!Cx(pe.current,X)&&(pe.current=X,wN.flushSync(()=>{C(X)}))})},[M,n,i,Be,Pe]);wx(()=>{E===!1&&pe.current.isPositioned&&(pe.current.isPositioned=!1,C(oe=>({...oe,isPositioned:!1})))},[E]);const Xe=lt.useRef(!1);wx(()=>(Xe.current=!0,()=>{Xe.current=!1}),[]),wx(()=>{if(J&&(le.current=J),Y&&(me.current=Y),J&&Y){if(He.current)return He.current(J,Y,Qe);Qe()}},[J,Y,Qe,He,ve]);const qe=lt.useMemo(()=>({reference:le,floating:me,setReference:G,setFloating:q}),[G,q]),F=lt.useMemo(()=>({reference:J,floating:Y}),[J,Y]),ne=lt.useMemo(()=>{const oe={position:i,left:0,top:0};if(!F.floating)return oe;const Me=$5(F.floating,A.x),X=$5(F.floating,A.y);return v?{...oe,transform:"translate("+Me+"px, "+X+"px)",...j5(F.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:Me,top:X}},[i,v,F.floating,A.x,A.y]);return lt.useMemo(()=>({...A,update:Qe,refs:qe,elements:F,floatingStyles:ne}),[A,Qe,qe,F,ne])}const qq=t=>{function n(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:t,fn(i){const{element:o,padding:u}=typeof t=="function"?t(i):t;return o&&n(o)?o.current!=null?B5({element:o.current,padding:u}).fn(i):{}:o?B5({element:o,padding:u}).fn(i):{}}}},hb=(t,n)=>({...jq(t),options:[t,n]}),mb=(t,n)=>({...$q(t),options:[t,n]}),pb=(t,n)=>({...Hq(t),options:[t,n]}),Ox=(t,n)=>({...Pq(t),options:[t,n]}),Mx=(t,n)=>({...qq(t),options:[t,n]}),H5={...lt},Gq=H5.useInsertionEffect||(t=>t());function Zy(t){const n=lt.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Gq(()=>{n.current=t}),lt.useCallback(function(){for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return n.current==null?void 0:n.current(...o)},[])}var Ky=typeof document<"u"?ee.useLayoutEffect:ee.useEffect;let P5=!1,Iq=0;const k5=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Iq++;function Fq(){const[t,n]=lt.useState(()=>P5?k5():void 0);return Ky(()=>{t==null&&n(k5())},[]),lt.useEffect(()=>{P5=!0},[]),t}const Xq=H5.useId||Fq;let ew;process.env.NODE_ENV!=="production"&&(ew=new Set);function Zq(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];const u="Floating UI: "+i.join(" ");if(!((t=ew)!=null&&t.has(u))){var h;(h=ew)==null||h.add(u),console.error(u)}}function Kq(){const t=new Map;return{emit(n,i){var o;(o=t.get(n))==null||o.forEach(u=>u(i))},on(n,i){t.set(n,[...t.get(n)||[],i])},off(n,i){var o;t.set(n,((o=t.get(n))==null?void 0:o.filter(u=>u!==i))||[])}}}const Qq=lt.createContext(null),Wq=lt.createContext(null),Jq=()=>{var t;return((t=lt.useContext(Qq))==null?void 0:t.id)||null},Y5=()=>lt.useContext(Wq);function eG(t){return"data-floating-ui-"+t}function Dx(t){const n=ee.useRef(t);return Ky(()=>{n.current=t}),n}function tw(t,n){let i=t.filter(u=>{var h;return u.parentId===n&&((h=u.context)==null?void 0:h.open)}),o=i;for(;o.length;)o=t.filter(u=>{var h;return(h=o)==null?void 0:h.some(g=>{var v;return u.parentId===g.id&&((v=u.context)==null?void 0:v.open)})}),i=i.concat(o);return i}const tG="data-floating-ui-focusable";function q5(t){return _o(t.target)&&t.target.tagName==="BUTTON"}function G5(t){return sq(t)}function gb(t,n){n===void 0&&(n={});const{open:i,onOpenChange:o,dataRef:u,elements:{domReference:h}}=t,{enabled:g=!0,event:v="click",toggle:S=!0,ignoreMouse:E=!1,keyboardHandlers:A=!0,stickIfOpen:C=!0}=n,M=lt.useRef(),R=lt.useRef(!1),B=lt.useMemo(()=>({onPointerDown(L){M.current=L.pointerType},onMouseDown(L){const P=M.current;L.button===0&&v!=="click"&&(A5(P)&&E||(i&&S&&(!(u.current.openEvent&&C)||u.current.openEvent.type==="mousedown")?o(!1,L.nativeEvent,"click"):(L.preventDefault(),o(!0,L.nativeEvent,"click"))))},onClick(L){const P=M.current;if(v==="mousedown"&&M.current){M.current=void 0;return}A5(P)&&E||(i&&S&&(!(u.current.openEvent&&C)||u.current.openEvent.type==="click")?o(!1,L.nativeEvent,"click"):o(!0,L.nativeEvent,"click"))},onKeyDown(L){M.current=void 0,!(L.defaultPrevented||!A||q5(L))&&(L.key===" "&&!G5(h)&&(L.preventDefault(),R.current=!0),L.key==="Enter"&&o(!(i&&S),L.nativeEvent,"click"))},onKeyUp(L){L.defaultPrevented||!A||q5(L)||G5(h)||L.key===" "&&R.current&&(R.current=!1,o(!(i&&S),L.nativeEvent,"click"))}}),[u,h,v,E,A,o,i,C,S]);return lt.useMemo(()=>g?{reference:B}:{},[g,B])}const nG={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},aG={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},I5=t=>{var n,i;return{escapeKey:typeof t=="boolean"?t:(n=t==null?void 0:t.escapeKey)!=null?n:!1,outsidePress:typeof t=="boolean"?t:(i=t==null?void 0:t.outsidePress)!=null?i:!0}};function yb(t,n){n===void 0&&(n={});const{open:i,onOpenChange:o,elements:u,dataRef:h}=t,{enabled:g=!0,escapeKey:v=!0,outsidePress:S=!0,outsidePressEvent:E="pointerdown",referencePress:A=!1,referencePressEvent:C="pointerdown",ancestorScroll:M=!1,bubbles:R,capture:B}=n,L=Y5(),P=Zy(typeof S=="function"?S:()=>!1),U=typeof S=="function"?P:S,G=lt.useRef(!1),q=lt.useRef(!1),{escapeKey:J,outsidePress:Y}=I5(R),{escapeKey:le,outsidePress:me}=I5(B),pe=lt.useRef(!1),ve=Zy(qe=>{var F;if(!i||!g||!v||qe.key!=="Escape"||pe.current)return;const ne=(F=h.current.floatingContext)==null?void 0:F.nodeId,oe=L?tw(L.nodesRef.current,ne):[];if(!J&&(qe.stopPropagation(),oe.length>0)){let Me=!0;if(oe.forEach(X=>{var fe;if((fe=X.context)!=null&&fe.open&&!X.context.dataRef.current.__escapeKeyBubbles){Me=!1;return}}),!Me)return}o(!1,rq(qe)?qe.nativeEvent:qe,"escape-key")}),He=Zy(qe=>{var F;const ne=()=>{var oe;ve(qe),(oe=fb(qe))==null||oe.removeEventListener("keydown",ne)};(F=fb(qe))==null||F.addEventListener("keydown",ne)}),Be=Zy(qe=>{var F;const ne=G.current;G.current=!1;const oe=q.current;if(q.current=!1,E==="click"&&oe||ne||typeof U=="function"&&!U(qe))return;const Me=fb(qe),X="["+eG("inert")+"]",fe=w5(u.floating).querySelectorAll(X);let Ae=La(Me)?Me:null;for(;Ae&&!ud(Ae);){const Ue=cd(Ae);if(ud(Ue)||!La(Ue))break;Ae=Ue}if(fe.length&&La(Me)&&!lq(Me)&&!E5(Me,u.floating)&&Array.from(fe).every(Ue=>!E5(Ae,Ue)))return;if(_o(Me)&&Xe){const Ue=ud(Me),et=Es(Me),We=/auto|scroll/,it=Ue||We.test(et.overflowX),yt=Ue||We.test(et.overflowY),un=it&&Me.clientWidth>0&&Me.scrollWidth>Me.clientWidth,Ge=yt&&Me.clientHeight>0&&Me.scrollHeight>Me.clientHeight,nt=et.direction==="rtl",Jt=Ge&&(nt?qe.offsetX<=Me.offsetWidth-Me.clientWidth:qe.offsetX>Me.clientWidth),wa=un&&qe.offsetY>Me.clientHeight;if(Jt||wa)return}const je=(F=h.current.floatingContext)==null?void 0:F.nodeId,Ye=L&&tw(L.nodesRef.current,je).some(Ue=>{var et;return qA(qe,(et=Ue.context)==null?void 0:et.elements.floating)});if(qA(qe,u.floating)||qA(qe,u.domReference)||Ye)return;const Le=L?tw(L.nodesRef.current,je):[];if(Le.length>0){let Ue=!0;if(Le.forEach(et=>{var We;if((We=et.context)!=null&&We.open&&!et.context.dataRef.current.__outsidePressBubbles){Ue=!1;return}}),!Ue)return}o(!1,qe,"outside-press")}),Pe=Zy(qe=>{var F;const ne=()=>{var oe;Be(qe),(oe=fb(qe))==null||oe.removeEventListener(E,ne)};(F=fb(qe))==null||F.addEventListener(E,ne)});lt.useEffect(()=>{if(!i||!g)return;h.current.__escapeKeyBubbles=J,h.current.__outsidePressBubbles=Y;let qe=-1;function F(fe){o(!1,fe,"ancestor-scroll")}function ne(){window.clearTimeout(qe),pe.current=!0}function oe(){qe=window.setTimeout(()=>{pe.current=!1},bx()?5:0)}const Me=w5(u.floating);v&&(Me.addEventListener("keydown",le?He:ve,le),Me.addEventListener("compositionstart",ne),Me.addEventListener("compositionend",oe)),U&&Me.addEventListener(E,me?Pe:Be,me);let X=[];return M&&(La(u.domReference)&&(X=sm(u.domReference)),La(u.floating)&&(X=X.concat(sm(u.floating))),!La(u.reference)&&u.reference&&u.reference.contextElement&&(X=X.concat(sm(u.reference.contextElement)))),X=X.filter(fe=>{var Ae;return fe!==((Ae=Me.defaultView)==null?void 0:Ae.visualViewport)}),X.forEach(fe=>{fe.addEventListener("scroll",F,{passive:!0})}),()=>{v&&(Me.removeEventListener("keydown",le?He:ve,le),Me.removeEventListener("compositionstart",ne),Me.removeEventListener("compositionend",oe)),U&&Me.removeEventListener(E,me?Pe:Be,me),X.forEach(fe=>{fe.removeEventListener("scroll",F)}),window.clearTimeout(qe)}},[h,u,v,U,E,i,o,M,g,J,Y,ve,le,He,Be,me,Pe]),lt.useEffect(()=>{G.current=!1},[U,E]);const Qe=lt.useMemo(()=>({onKeyDown:ve,...A&&{[nG[C]]:qe=>{o(!1,qe.nativeEvent,"reference-press")},...C!=="click"&&{onClick(qe){o(!1,qe.nativeEvent,"reference-press")}}}}),[ve,o,A,C]),Xe=lt.useMemo(()=>({onKeyDown:ve,onMouseDown(){q.current=!0},onMouseUp(){q.current=!0},[aG[E]]:()=>{G.current=!0}}),[ve,E]);return lt.useMemo(()=>g?{reference:Qe,floating:Xe}:{},[g,Qe,Xe])}function iG(t){const{open:n=!1,onOpenChange:i,elements:o}=t,u=Xq(),h=lt.useRef({}),[g]=lt.useState(()=>Kq()),v=Jq()!=null;if(process.env.NODE_ENV!=="production"){const R=o.reference;R&&!La(R)&&Zq("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[S,E]=lt.useState(o.reference),A=Zy((R,B,L)=>{h.current.openEvent=R?B:void 0,g.emit("openchange",{open:R,event:B,reason:L,nested:v}),i==null||i(R,B,L)}),C=lt.useMemo(()=>({setPositionReference:E}),[]),M=lt.useMemo(()=>({reference:S||o.reference||null,floating:o.floating||null,domReference:o.reference}),[S,o.reference,o.floating]);return lt.useMemo(()=>({dataRef:h,open:n,onOpenChange:A,elements:M,events:g,floatingId:u,refs:C}),[n,A,M,g,u,C])}function vb(t){t===void 0&&(t={});const{nodeId:n}=t,i=iG({...t,elements:{reference:null,floating:null,...t.elements}}),o=t.rootContext||i,u=o.elements,[h,g]=lt.useState(null),[v,S]=lt.useState(null),A=(u==null?void 0:u.domReference)||h,C=lt.useRef(null),M=Y5();Ky(()=>{A&&(C.current=A)},[A]);const R=Yq({...t,elements:{...u,...v&&{reference:v}}}),B=lt.useCallback(q=>{const J=La(q)?{getBoundingClientRect:()=>q.getBoundingClientRect(),contextElement:q}:q;S(J),R.refs.setReference(J)},[R.refs]),L=lt.useCallback(q=>{(La(q)||q===null)&&(C.current=q,g(q)),(La(R.refs.reference.current)||R.refs.reference.current===null||q!==null&&!La(q))&&R.refs.setReference(q)},[R.refs]),P=lt.useMemo(()=>({...R.refs,setReference:L,setPositionReference:B,domReference:C}),[R.refs,L,B]),U=lt.useMemo(()=>({...R.elements,domReference:A}),[R.elements,A]),G=lt.useMemo(()=>({...R,...o,refs:P,elements:U,nodeId:n}),[R,P,U,n,o]);return Ky(()=>{o.dataRef.current.floatingContext=G;const q=M==null?void 0:M.nodesRef.current.find(J=>J.id===n);q&&(q.context=G)}),lt.useMemo(()=>({...R,context:G,refs:P,elements:U}),[R,P,U,G])}const F5="active",X5="selected";function nw(t,n,i){const o=new Map,u=i==="item";let h=t;if(u&&t){const{[F5]:g,[X5]:v,...S}=t;h=S}return{...i==="floating"&&{tabIndex:-1,[tG]:""},...h,...n.map(g=>{const v=g?g[i]:null;return typeof v=="function"?t?v(t):null:v}).concat(t).reduce((g,v)=>(v&&Object.entries(v).forEach(S=>{let[E,A]=S;if(!(u&&[F5,X5].includes(E)))if(E.indexOf("on")===0){if(o.has(E)||o.set(E,[]),typeof A=="function"){var C;(C=o.get(E))==null||C.push(A),g[E]=function(){for(var M,R=arguments.length,B=new Array(R),L=0;L<R;L++)B[L]=arguments[L];return(M=o.get(E))==null?void 0:M.map(P=>P(...B)).find(P=>P!==void 0)}}}else g[E]=A}),g),{})}}function bb(t){t===void 0&&(t=[]);const n=t.map(v=>v==null?void 0:v.reference),i=t.map(v=>v==null?void 0:v.floating),o=t.map(v=>v==null?void 0:v.item),u=lt.useCallback(v=>nw(v,t,"reference"),n),h=lt.useCallback(v=>nw(v,t,"floating"),i),g=lt.useCallback(v=>nw(v,t,"item"),o);return lt.useMemo(()=>({getReferenceProps:u,getFloatingProps:h,getItemProps:g}),[u,h,g])}const Z5=t=>t.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(n,i)=>(i?"-":"")+n.toLowerCase());function Qy(t,n){return typeof t=="function"?t(n):t}function rG(t,n){const[i,o]=lt.useState(t);return t&&!i&&o(!0),lt.useEffect(()=>{if(!t&&i){const u=setTimeout(()=>o(!1),n);return()=>clearTimeout(u)}},[t,i,n]),i}function lG(t,n){n===void 0&&(n={});const{open:i,elements:{floating:o}}=t,{duration:u=250}=n,g=(typeof u=="number"?u:u.close)||0,[v,S]=lt.useState("unmounted"),E=rG(i,g);return!E&&v==="close"&&S("unmounted"),Ky(()=>{if(o){if(i){S("initial");const A=requestAnimationFrame(()=>{S("open")});return()=>{cancelAnimationFrame(A)}}S("close")}},[i,o]),{isMounted:E,status:v}}function Sb(t,n){n===void 0&&(n={});const{initial:i={opacity:0},open:o,close:u,common:h,duration:g=250}=n,v=t.placement,S=v.split("-")[0],E=lt.useMemo(()=>({side:S,placement:v}),[S,v]),A=typeof g=="number",C=(A?g:g.open)||0,M=(A?g:g.close)||0,[R,B]=lt.useState(()=>({...Qy(h,E),...Qy(i,E)})),{isMounted:L,status:P}=lG(t,{duration:g}),U=Dx(i),G=Dx(o),q=Dx(u),J=Dx(h);return Ky(()=>{const Y=Qy(U.current,E),le=Qy(q.current,E),me=Qy(J.current,E),pe=Qy(G.current,E)||Object.keys(Y).reduce((ve,He)=>(ve[He]="",ve),{});if(P==="initial"&&B(ve=>({transitionProperty:ve.transitionProperty,...me,...Y})),P==="open"&&B({transitionProperty:Object.keys(pe).map(Z5).join(","),transitionDuration:C+"ms",...me,...pe}),P==="close"){const ve=le||Y;B({transitionProperty:Object.keys(ve).map(Z5).join(","),transitionDuration:M+"ms",...me,...ve})}},[M,q,U,G,J,C,P,E]),{isMounted:L,styles:R}}const xb=({open:t,onClose:n,component:i,children:o,placement:u="bottom",className:h="",strategy:g="absolute",offset:v=8,padding:S=8})=>{const[E,A]=ee.useState(t);ee.useEffect(()=>{A(t)},[t]);const C=()=>{A(!1),n==null||n()},{x:M,y:R,strategy:B,refs:L,context:P}=vb({strategy:g,open:E,onOpenChange:me=>{me||C()},middleware:[hb(v),pb(),mb({padding:S})],whileElementsMounted:db,placement:u}),U=gb(P),G=yb(P),{getReferenceProps:q,getFloatingProps:J}=bb([U,G]),{isMounted:Y,styles:le}=Sb(P,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px) scale(0.95)"}});return V.jsxs("div",{className:"relative",children:[V.jsx("div",{ref:L.setReference,...q(),className:"reference-element",children:o}),Y&&V.jsx("div",{ref:L.setFloating,style:{position:B,top:R??0,left:M??0,...le,zIndex:9999},...J(),className:"floating-element",children:V.jsx(Wy,{className:h,children:typeof i=="function"?i():i})})]})},K5={initial:{backgroundColor:"#ffffff",color:"#57595f"},active:{backgroundColor:"#dee7fc",color:"#111827"},exit:{backgroundColor:"#ffffff",color:"#57595f"}},oG=({selectedPeriod:t,handlePeriodChange:n})=>V.jsxs("div",{className:"flex border border-blue-100 rounded-xl p-6 gap-2",children:[V.jsx(ma.button,{variants:K5,initial:"initial",animate:t==="AM"?"active":"initial",exit:"exit",transition:{duration:.2},onClick:()=>n("AM"),disabled:t==="AM",className:"flex items-center justify-center font-500 px-10 py-2 rounded-lg",children:"AM"}),V.jsx(ma.button,{variants:K5,initial:"initial",animate:t==="PM"?"active":"initial",exit:"exit",transition:{duration:.2},onClick:()=>n("PM"),disabled:t==="PM",className:"flex items-center justify-center font-500 px-10 py-2 rounded-lg",children:"PM"})]}),sG=({setHourMenuOpen:t,hourMenuOpen:n,selectedHour:i})=>V.jsx("button",{onClick:()=>t(!n),className:"flex justify-center items-center w-72 h-full border py-8 px-14 rounded-xl border-blue-100 text-gray-600 font-500",children:`${String(i).padStart(2,"0")}:00`});/*!
|
|
664
664
|
* Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com
|
|
665
665
|
* License - https://fontawesome.com/license (Commercial License)
|
|
666
666
|
* Copyright 2024 Fonticons, Inc.
|
|
667
|
-
*/const uG={prefix:"far",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},aw={prefix:"far",iconName:"chevron-down",icon:[512,512,[],"f078","M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]},cG={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},Q5=({date:t,onDateChange:n,showTimeSelector:i=!0,maxDate:o})=>{const[u,h]=ee.useState(t),[g,v]=ee.useState(t),[S,E]=ee.useState(t.getHours()%12||12),[A,C]=ee.useState(t.getHours()>=12?"PM":"AM"),[M,R]=ee.useState(0),{t:B}=
|
|
667
|
+
*/const uG={prefix:"far",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},aw={prefix:"far",iconName:"chevron-down",icon:[512,512,[],"f078","M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]},cG={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},Q5=({date:t,onDateChange:n,showTimeSelector:i=!0,maxDate:o})=>{const[u,h]=ee.useState(t),[g,v]=ee.useState(t),[S,E]=ee.useState(t.getHours()%12||12),[A,C]=ee.useState(t.getHours()>=12?"PM":"AM"),[M,R]=ee.useState(0),{t:B}=ca(),[L,P]=ee.useState(!1),[U,G]=ee.useState(!1);ee.useEffect(()=>{h(t),v(t),E(t.getHours()%12||12),C(t.getHours()>=12?"PM":"AM")},[t]);const q=()=>{R(-1),setTimeout(()=>{h(Gj(u))},10)},J=()=>{R(1),setTimeout(()=>{h(a4(u,1))},10)},Y=Qe=>{if(o&&Qe>o)return;const Xe=p4(g4(y4(Qe,0),0),A==="AM"?S%12:S%12+12);v(Xe),n(Xe)},le=Qe=>{E(Qe);const Xe=p4(g4(y4(g,0),0),A==="AM"?Qe%12:Qe%12+12);v(Xe),n(Xe),P(!1)},me=Qe=>{C(Qe)},pe=()=>{const Qe=new Date,Xe=[];for(let F=0;F<=20;F++){const ne=new Date(Qe.getFullYear(),Qe.getMonth()-F,1);Xe.push({name:zy(ne,"MMMM",{locale:WS}).replace(/^./,oe=>oe.toUpperCase()),index:ne.getMonth(),year:ne.getFullYear(),displayName:`${zy(ne,"MMMM",{locale:WS}).replace(/^./,oe=>oe.toUpperCase())} ${ne.getFullYear()}`})}const qe=(F,ne)=>{const oe=new Date(u);oe.setMonth(F),oe.setFullYear(ne),h(oe),G(!1)};return V.jsx("div",{className:"flex flex-col p-8 max-h-200 overflow-y-auto bg-light gap-4",children:Xe.map((F,ne)=>V.jsx("button",{onClick:()=>qe(F.index,F.year),className:`text-start p-6 font-600 transition-all duration-100 rounded-lg hover:bg-gray-100 ${u.getMonth()===F.index&&u.getFullYear()===F.year?"bg-blue-100":""}`,children:F.displayName},`${F.name}-${F.year}-${ne}`))})},ve=()=>V.jsxs("div",{className:"flex justify-between items-center mb-8",children:[V.jsx(xb,{open:U,onClose:()=>G(!1),component:pe,placement:"bottom",className:"!p-0 overflow-hidden bg-light",strategy:"fixed",children:V.jsxs("button",{onClick:()=>G(!U),className:"hover:text-blue-500 transition-colors duration-150 flex gap-6 items-center",children:[V.jsx("h4",{className:"text-header-4",children:zy(u,"MMMM yyyy",{locale:WS}).replace(/^./,Qe=>Qe.toUpperCase())}),V.jsx(fn,{icon:aw,className:"w-12 h-12"})]})}),V.jsxs("div",{className:"flex items-center gap-8",children:[V.jsx(Bx,{variant:"transparent",color:"gray",icon:tq,onClick:q}),V.jsx(Bx,{variant:"transparent",color:"gray",icon:LB,onClick:J})]})]}),He=()=>{const Qe=Ry(IB(u)),Xe=XB(YB(u)),qe=GB({start:Qe,end:Xe});return V.jsx("div",{className:"grid grid-cols-7 gap-2",children:qe.map((F,ne)=>{const oe=l4(F,g),Me=Yj(F,u),X=qj(F),fe=o?F>o:!1;return V.jsx(ma.div,{className:`
|
|
668
668
|
p-2 text-center w-[40px] h-[40px] rounded-full flex items-center justify-center font-600 select-none
|
|
669
669
|
${!Me||fe?"text-gray-400 pointer-events-none":"cursor-pointer"}
|
|
670
670
|
${X&&!oe?"text-blue-600":""}
|
|
671
|
-
`,onClick:()=>Y(F),initial:!1,animate:{backgroundColor:oe?"#93C5FD":"transparent",color:oe?"#FFFFFF":X?"#2563EB":Me&&!fe?"#000000":"#9CA3AF"},transition:{duration:.2,ease:"easeInOut",backgroundColor:{duration:.2,ease:"easeOut"}},whileHover:Me&&!oe&&!fe?{backgroundColor:"#E5E7EB"}:{},whileTap:Me&&!fe?{backgroundColor:oe?"#7AA5E0":"#D1D5DB"}:{},children:zy(F,"d")},ne)})})},Be=()=>{const Qe=Array.from({length:12},(qe,F)=>F+1),Xe=()=>V.jsx("div",{className:"bg-white rounded-lg shadow-lg w-80 max-h-[150px] overflow-y-auto p-4 flex flex-col gap-4",children:Qe.map(qe=>V.jsxs("button",{onClick:()=>le(qe),className:`w-full text-center py-2 transition-all duration-100 rounded-lg hover:bg-gray-100 ${qe===S?"text-blue-500 font-medium":""}`,children:[String(qe).padStart(2,"0"),":00"]},qe))});return V.jsxs("div",{className:"flex justify-between items-center mt-4 mb-4",children:[V.jsx("h4",{className:"text-body-m font-medium",children:B("time")}),V.jsxs("div",{className:"flex items-center gap-6",children:[V.jsx(xb,{open:L,onClose:()=>P(!1),component:Xe,placement:"bottom",className:"!p-0 overflow-hidden",strategy:"fixed",children:V.jsx(sG,{setHourMenuOpen:P,hourMenuOpen:L,selectedHour:S})}),V.jsx(oG,{selectedPeriod:A,handlePeriodChange:me})]})]})},Pe={slideNextEnter:{x:300,opacity:0},slidePrevEnter:{x:-300,opacity:0},center:{x:0,opacity:1,transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}}},slideNextExit:{x:-300,opacity:0,transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}}},slidePrevExit:{x:300,opacity:0,transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}}}};return V.jsxs("div",{className:"rounded-3xl max-w-[300px] mx-auto bg-white p-24 relative overflow-hidden",children:[ve(),V.jsx(nm,{initial:!1,mode:"popLayout",children:V.jsx(
|
|
671
|
+
`,onClick:()=>Y(F),initial:!1,animate:{backgroundColor:oe?"#93C5FD":"transparent",color:oe?"#FFFFFF":X?"#2563EB":Me&&!fe?"#000000":"#9CA3AF"},transition:{duration:.2,ease:"easeInOut",backgroundColor:{duration:.2,ease:"easeOut"}},whileHover:Me&&!oe&&!fe?{backgroundColor:"#E5E7EB"}:{},whileTap:Me&&!fe?{backgroundColor:oe?"#7AA5E0":"#D1D5DB"}:{},children:zy(F,"d")},ne)})})},Be=()=>{const Qe=Array.from({length:12},(qe,F)=>F+1),Xe=()=>V.jsx("div",{className:"bg-white rounded-lg shadow-lg w-80 max-h-[150px] overflow-y-auto p-4 flex flex-col gap-4",children:Qe.map(qe=>V.jsxs("button",{onClick:()=>le(qe),className:`w-full text-center py-2 transition-all duration-100 rounded-lg hover:bg-gray-100 ${qe===S?"text-blue-500 font-medium":""}`,children:[String(qe).padStart(2,"0"),":00"]},qe))});return V.jsxs("div",{className:"flex justify-between items-center mt-4 mb-4",children:[V.jsx("h4",{className:"text-body-m font-medium",children:B("time")}),V.jsxs("div",{className:"flex items-center gap-6",children:[V.jsx(xb,{open:L,onClose:()=>P(!1),component:Xe,placement:"bottom",className:"!p-0 overflow-hidden",strategy:"fixed",children:V.jsx(sG,{setHourMenuOpen:P,hourMenuOpen:L,selectedHour:S})}),V.jsx(oG,{selectedPeriod:A,handlePeriodChange:me})]})]})},Pe={slideNextEnter:{x:300,opacity:0},slidePrevEnter:{x:-300,opacity:0},center:{x:0,opacity:1,transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}}},slideNextExit:{x:-300,opacity:0,transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}}},slidePrevExit:{x:300,opacity:0,transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}}}};return V.jsxs("div",{className:"rounded-3xl max-w-[300px] mx-auto bg-white p-24 relative overflow-hidden",children:[ve(),V.jsx(nm,{initial:!1,mode:"popLayout",children:V.jsx(ma.div,{variants:Pe,initial:M===1?"slideNextEnter":M===-1?"slidePrevEnter":!1,animate:"center",exit:M===1?"slideNextExit":"slidePrevExit",className:"w-full",children:He()},zy(u,"yyyy-MM"))}),i&&Be()]})},W5=({label:t,onChange:n,value:i,name:o,error:u,placeholder:h,className:g="",disabled:v=!1,disabledInput:S=!1,leftSide:E,rightSide:A,...C})=>{const{t:M}=ca();return V.jsxs("label",{className:`flex flex-col group gap-8 select-none ${v&&"cursor-not-allowed"} ${g}`,htmlFor:o,children:[V.jsx("h6",{className:`text-gray-600 font-600 group ${u&&"!text-red-500"} text-label ${v&&"text-gray-300"}`,children:t}),V.jsxs("label",{htmlFor:o,className:`
|
|
672
672
|
flex items-center justify-between gap-8 p-16
|
|
673
673
|
|
|
674
674
|
${u&&"!border-red-500"}
|
|
@@ -684,19 +684,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
684
684
|
group-focus-within:border-blue-500 transition-colors duration-200 ease-in-out
|
|
685
685
|
${S&&"hover:!cursor-pointer"}
|
|
686
686
|
group-disabled:bg-gray-500
|
|
687
|
-
`,children:[E&&E,V.jsx("input",{...C,id:o,name:o,disabled:v,placeholder:h,value:i,onChange:R=>{n(R.target.value)},className:`group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-none ${S&&"pointer-events-none !select-none !caret-transparent"}`}),A&&A]}),V.jsx("h4",{className:"font-500 text-label text-red-500 leading-none",children:u&&M(u||"",{x:M(o)})})]})},fG=({control:t,name:n,showTimeSelector:i=!1,label:o,placeholder:u})=>{const{field:{value:h=new Date,onChange:g,onBlur:v},fieldState:{error:S}}=Gh.useController({name:n,control:t}),{t:E}=
|
|
687
|
+
`,children:[E&&E,V.jsx("input",{...C,id:o,name:o,disabled:v,placeholder:h,value:i,onChange:R=>{n(R.target.value)},className:`group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-none ${S&&"pointer-events-none !select-none !caret-transparent"}`}),A&&A]}),V.jsx("h4",{className:"font-500 text-label text-red-500 leading-none",children:u&&M(u||"",{x:M(o)})})]})},fG=({control:t,name:n,showTimeSelector:i=!1,label:o,placeholder:u})=>{const{field:{value:h=new Date,onChange:g,onBlur:v},fieldState:{error:S}}=Gh.useController({name:n,control:t}),{t:E}=ca(),A=E(n),[C,M]=ee.useState(!1);return V.jsx(xb,{open:C,strategy:"fixed",padding:0,offset:0,onClose:()=>M(!1),className:"!p-0",component:V.jsx(Q5,{date:h||new Date,onDateChange:R=>{g(R)},showTimeSelector:i}),children:V.jsx(W5,{onBlur:v,name:A,label:o,onFocus:R=>{R.preventDefault(),M(!0)},value:h&&b4(h)||"",disabledInput:!0,onChange:()=>{},onSelect:()=>{},onSelectCapture:()=>{},placeholder:u,error:S==null?void 0:S.message,rightSide:h&&V.jsx(fn,{icon:UB,className:"text-gray-500 cursor-pointer",onClick:()=>g(null)})})})},J5=({title:t,description:n,open:i,onClose:o,onConfirm:u,onCancel:h,icon:g=nq})=>{const v={hidden:{opacity:0},visible:{opacity:1}},S={hidden:{opacity:0,scale:.8,y:-20},visible:{opacity:1,scale:1,y:0,transition:{type:"spring",stiffness:300,damping:25}},exit:{opacity:0,scale:.8,y:20,transition:{duration:.2}}},E=()=>{u(),o()},A=()=>{h==null||h(),o()},{t:C}=ca();return V.jsx(nm,{children:i&&V.jsx(V.Fragment,{children:V.jsx(ma.div,{className:"fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:v,onClick:o,children:V.jsx(ma.div,{className:"w-full max-w-sm mx-16 z-50",variants:S,initial:"hidden",animate:"visible",exit:"exit",onClick:M=>M.stopPropagation(),children:V.jsxs(Wy,{className:"flex flex-col gap-20 p-32",children:[V.jsxs("div",{className:"flex flex-col",children:[V.jsx("div",{className:"flex justify-end",children:V.jsx(fn,{icon:mT,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700",onClick:o})}),V.jsx("div",{className:"flex justify-center",children:V.jsx("div",{className:"bg-blue-100 rounded-full w-76 h-76 flex justify-center items-center",children:V.jsx(fn,{icon:g,className:"w-32 h-36 min-h-36 min-w-36 text-blue-500",onClick:o})})})]}),V.jsxs("div",{className:"flex flex-col gap-20 items-center justify-center",children:[V.jsxs("div",{className:"text-center w-full",children:[V.jsx("h3",{className:"text-black font-700 text-3xl w-full",children:t}),V.jsx("p",{className:"text-gray-500 text-xl font-600 w-full",children:n})]}),V.jsxs("div",{className:"flex justify-center w-full gap-16",children:[!!h&&V.jsx(Eb,{size:"lg",onClick:A,variant:"transparent",children:C("cancel")}),V.jsx(Eb,{size:"lg",onClick:E,children:C("confirm")})]})]})]})})})})})},e_={duration:.3,ease:[.32,.72,0,1]},dG={initial:{opacity:0,height:0,y:-8},animate:{opacity:1,height:"auto",y:0},exit:{opacity:0,height:0,y:-8}},hG=({isOpen:t})=>V.jsx(ma.div,{animate:{rotate:t?180:0},transition:{duration:.5,ease:[.16,1,.3,1]},children:V.jsx(fn,{icon:JY,className:"text-gray-500 w-12 h-12 max-w-12 max-h-12"})}),mG=({label:t,children:n,subtitle:i,open:o,onClick:u,className:h="",labelClassName:g=""})=>{const{t:v}=ca(),[S,E]=ee.useState(!1),A=o!==void 0?o:S,C=u||(()=>E(!S));return V.jsxs(ma.div,{className:"relative w-full bg-white border border-blue-100 rounded-2xl overflow-hidden",children:[V.jsxs("button",{onClick:C,className:`py-24 px-32 text-black font-semibold border-b
|
|
688
688
|
${A?"border-blue-100 bg-gray-50/50":"border-transparent"}
|
|
689
689
|
transition-all duration-200 ease-in-out ${g} focus:outline-none hover:bg-gray-50/50
|
|
690
|
-
flex items-center gap-2 group w-full justify-between`,children:[V.jsx("span",{className:"truncate text-nowrap text-lg md:text-xl font-700",children:v(t)}),V.jsxs("div",{className:"flex gap-10 items-center",children:[V.jsx("span",{className:"text-gray-500 font-normal text-base md:text-lg",children:i}),V.jsx(hG,{isOpen:A})]})]}),V.jsx(nm,{mode:"wait",children:A&&V.jsx(ha.div,{...dG,transition:{height:{duration:e_.duration,ease:e_.ease},opacity:{duration:.15,ease:"easeOut"}},className:`w-full bg-white overflow-hidden ${h}`,children:n})})]})},zo={LOADING:"loading",COMPLETE:"complete",ERROR:"error"},pG=({file:t,onDelete:n,onRetry:i,uploadDuration:o=4e3})=>{const{t:u}=ma(),h=()=>t.error?zo.ERROR:t.loading?zo.LOADING:zo.COMPLETE,[g,v]=ee.useState(h()),[S,E]=ee.useState(0),[A,C]=ee.useState(10);ee.useEffect(()=>{const L=h();v(L);let P;if(L===zo.LOADING&&S<100){const q=100/(o/100);P=setInterval(()=>{E(J=>{const Y=Math.min(J+q,99),le=Math.max(0,Math.round((100-Y)/10));return C(le),Y})},100)}else L===zo.COMPLETE&&S<100&&E(100);return()=>{P&&clearInterval(P)}},[t.loading,t.error,o,h,S]);const M=()=>{switch(g){case zo.LOADING:return`${Math.round(S)}% (${A} ${u("seconds_left")})`;case zo.COMPLETE:return u("file_uploaded");case zo.ERROR:return u("upload_error");default:return""}},R=()=>{switch(g){case zo.COMPLETE:return"text-green-500 font-600";case zo.ERROR:return"text-red-500 font-600";default:return"text-gray-300 font-400"}},B=()=>{if(!(t!=null&&t.file_size))return u("unknown");const L=t.file_size/1024;return L<1024?`${L.toFixed(1)} KB`:`${(L/1024).toFixed(1)} MB`};return V.jsxs("div",{className:"border border-gray-100 bg-white rounded-lg p-16 shadow-sm w-full",children:[V.jsxs("div",{className:"flex items-center justify-between",children:[V.jsxs("div",{className:"flex items-center gap-4",children:[V.jsx(fn,{icon:tL,className:"w-12 h-12 min-w-12 min-h-12 text-gray-400"}),V.jsx("span",{className:"text-gray-500 text-sm",children:t.user_file_name})]}),g===zo.COMPLETE&&V.jsx("button",{onClick:n,className:"text-gray-400 transition-all duration-200 hover:text-gray-600 focus:outline-none",children:V.jsx(fn,{icon:eL})}),g===zo.ERROR&&V.jsx("button",{onClick:i,className:"text-gray-400 transition-all duration-200 hover:text-gray-600 focus:outline-none",children:V.jsx(fn,{icon:W7})})]}),V.jsx("div",{className:"flex items-center mt-2",children:t!=null&&t.analyzing?V.jsxs("div",{className:"flex items-center gap-6",children:[V.jsx(ha.div,{className:"h-14 w-14 rounded-full border-2 border-t-blue-500 border-r-blue-300 border-b-blue-200 border-l-blue-400",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),V.jsxs("span",{className:"text-sm text-gray-500",children:[u("analyzing_file_with_ai"),"..."]})]}):V.jsxs("div",{className:"text-sm",children:[V.jsxs("span",{className:"text-gray-500",children:[B()," |"]})," ",V.jsx("span",{className:R(),children:M()})]})}),g===zo.LOADING&&V.jsx("div",{className:"mt-2 bg-gray-200 rounded-full h-2",children:V.jsx("div",{className:"h-2 rounded-full transition-all duration-100 ease-linear bg-blue-500",style:{width:`${S}%`}})})]})},Wy=({children:t,className:n,element:i="div"})=>{const o=i;return V.jsx(o,{className:`bg-white p-24 border border-blue-100 rounded-2xl ${n||""}`,children:t})},gG=({isOpen:t,onClose:n})=>{const i={hidden:{opacity:0},visible:{opacity:1}},o={hidden:{opacity:0,scale:.8,y:-20},visible:{opacity:1,scale:1,y:0,transition:{type:"spring",stiffness:300,damping:25}},exit:{opacity:0,scale:.8,y:20,transition:{duration:.2}}};return V.jsx(nm,{children:t&&V.jsx(V.Fragment,{children:V.jsx(ha.div,{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:i,onClick:n,children:V.jsx(ha.div,{className:"w-full max-w-4xl mx-16 z-50",variants:o,initial:"hidden",animate:"visible",exit:"exit",onClick:u=>u.stopPropagation(),children:V.jsx(Wy,{className:"flex flex-col gap-16 md:gap-24 !p-0",children:V.jsx(V.Fragment,{})})})})})})},yG={completedBgColor:"#dae2fb",focusBorderColor:"#4570EB",pendingBorderColor:"#ABACAF70",iconActiveColor:"text-blue-500",lineActiveColor:"bg-blue-500",lineGradientFrom:"from-blue-500"},vG={completedBgColor:"#C7F9F5",focusBorderColor:"#1DA696",pendingBorderColor:"#ABACAF70",iconActiveColor:"text-aqua-500",lineActiveColor:"bg-aqua-500",lineGradientFrom:"from-aqua-500"},iw=t=>{switch(t){case"aqua":return vG;case"blue":default:return yG}},bG=({status:t,label:n,shouldAnimate:i,color:o})=>{const{t:u}=ma(),h=t==="done",g=t==="focus",{completedBgColor:v,focusBorderColor:S,pendingBorderColor:E,iconActiveColor:A}=iw(o);return V.jsxs("div",{className:"flex items-center gap-8 h-fit",children:[V.jsx(ha.div,{initial:i?!1:{backgroundColor:h?v:"white",borderWidth:g?"1px":"0px",borderColor:g?S:E},animate:{backgroundColor:h?v:"white",borderWidth:g||!h?"1px":"0px",borderColor:g?S:E},transition:{duration:i?.3:0,ease:"easeOut"},className:"min-w-28 min-h-28 rounded-full flex items-center justify-center text-xl font-bold border-[1px]",children:V.jsx(ha.div,{initial:i?!1:{color:h?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},animate:{color:h||g?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},transition:{duration:i?.2:0},className:"flex items-center justify-center",children:V.jsx(nm,{mode:"wait",children:h||g?V.jsx(ha.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:V.jsx(fn,{icon:iM,className:`w-14 h-14 min-w-14 min-h-14 ${A}`})},"check"):V.jsx(ha.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:V.jsx(fn,{icon:aM,className:"w-14 h-14 min-w-14 min-h-14"})},"clock")})})}),V.jsx("span",{className:`text-body-s font-medium transition-all duration-300 text-center w-full ${h?"text-black":"text-gray-400"}`,children:u(n)})]})},SG=({status:t,label:n,shouldAnimate:i,color:o})=>{const{t:u}=ma(),h=t==="done",g=t==="focus",{completedBgColor:v,focusBorderColor:S,pendingBorderColor:E,iconActiveColor:A}=iw(o);return V.jsxs("div",{className:"flex items-center gap-8 h-fit",children:[V.jsx(ha.div,{initial:i?!1:{backgroundColor:h?v:"white",borderWidth:g||!h?"1px":"0px",borderColor:g?S:E},animate:{backgroundColor:h?v:"white",borderWidth:g||!h?"1px":"0px",borderColor:g?S:E},transition:{duration:i?.3:0,ease:"easeOut"},className:"min-w-24 min-h-24 rounded-full flex items-center justify-center text-xs font-bold z-10",children:V.jsx(ha.div,{initial:i?!1:{color:g||h?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},animate:{color:g||h?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},transition:{duration:i?.2:0},className:"flex items-center justify-center",children:V.jsx(nm,{mode:"wait",children:h||g?V.jsx(ha.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:V.jsx(fn,{icon:iM,className:`w-14 h-14 min-w-14 min-h-14 ${A}`})},"check"):V.jsx(ha.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:V.jsx(fn,{icon:aM,className:"w-14 h-14 min-w-14 min-h-14"})},"clock")})})}),V.jsx("span",{className:`text-body-s font-medium transition-all duration-300 text-center w-full ${h||g?"text-black":"text-gray-400"}`,children:u(n)})]})},xG=({steps:t,direction:n="horizontal",color:i})=>{const{defaultColorScheme:o}=ma(),u=i||o,{lineActiveColor:h,lineGradientFrom:g}=iw(u),[v,S]=ee.useState([]),[E,A]=ee.useState(null),[C,M]=ee.useState(!1),R=t.findIndex(U=>!U.completed),B=U=>R===U;ee.useEffect(()=>{const U=t.map((G,q)=>B(q)?"focus":G.completed?"done":"pending");if(!C)S(U),M(!0),A(null);else{const G=U.findIndex((q,J)=>q!==v[J]);A(G!==-1?G:null),S(U)}},[t,R]);const L=()=>V.jsx("div",{className:"flex flex-col gap-16 relative",children:t.map((U,G)=>{var le;const q=B(G-1)?"focus":(le=t[G-1])!=null&&le.completed?"done":"pending",J=B(G)?"focus":U.completed?"done":"pending",Y=C&&E===G;return V.jsxs("div",{className:"flex items-center gap-10 relative",children:[G!==0&&V.jsx("div",{className:`absolute left-[13px] bottom-[28px] w-[1.5px] h-16 ${J==="done"||J==="focus"?h:q==="done"||q==="focus"?`bg-gradient-to-b ${g} to-[rgb(243,244,246)]`:"bg-[rgb(243,244,246)]"}`}),V.jsx(bG,{status:J,shouldAnimate:Y,label:U.label,color:u})]},G)})}),P=()=>V.jsx("div",{className:"w-full flex items-center gap-12",children:t.map((U,G)=>{const q=B(G)?"focus":U.completed?"done":"pending",J=C&&E===G;return V.jsx("div",{className:"flex flex-col items-center justify-evenly w-full gap-2 relative col-span-1",children:V.jsx(SG,{status:q,shouldAnimate:J,label:U.label,color:u})},G)})});return n==="horizontal"?V.jsx(P,{}):V.jsx(L,{})},TG=({variant:t="underline",color:n="blue",tabs:i,activeTab:o,onTabChange:u,className:h="",direction:g="row",showLabel:v=!0})=>{const S=ee.useRef([]),[E,A]=ee.useState({left:0,width:0}),C=ee.useRef(null),{defaultColorScheme:M}=ma(),R=n||M,B=()=>{const L=i.findIndex(P=>P.id===o);if(L>=0&&S.current[L]){const P=S.current[L];if(P&&C.current){const U=C.current.getBoundingClientRect(),G=P.getBoundingClientRect();A({left:G.left-U.left,width:G.width})}}};return ee.useEffect(()=>{B()},[o,i]),ee.useEffect(()=>{const L=()=>{B()};return window.addEventListener("resize",L),()=>{window.removeEventListener("resize",L)}},[o,i]),V.jsxs("div",{ref:C,className:`flex items-center relative ${h}`,children:[i.map((L,P)=>V.jsx(CE.div,{ref:U=>{S.current[P]=U},className:"w-full",children:V.jsx(D_,{href:L.href,label:v?L.label:"",icon:L.icon,direction:g,isSelected:o===L.id,onClick:()=>u(L.id),variant:t})},L.id)),V.jsx(CE.div,{className:`absolute bottom-0 h-2 bg-${R}-500`,initial:!1,animate:{left:E.left,width:E.width},transition:{type:"spring",stiffness:300,damping:30}})]})},EG=()=>{const[t,n]=ee.useState([]),i=ee.useRef([]),o=ee.useCallback(h=>{const g={...h,id:(h==null?void 0:h.id)||E4.uniqueId(),open:!0,type:(h==null?void 0:h.type)||"center",props:{...h.props,open:!0,onClose:()=>u(h.id||E4.uniqueId())}};i.current=[...i.current,g],n(i.current)},[]),u=ee.useCallback(h=>{i.current=i.current.map(g=>g.id===h?{...g,open:!1}:g),n(i.current),setTimeout(()=>{i.current=i.current.filter(g=>g.id!==h),n(i.current)},150)},[]);return ee.useEffect(()=>{window.openModal=o,window.closeModal=u},[o,u]),V.jsx(V.Fragment,{children:t.map(h=>{if(h.type==="dialog"){const{props:v}=h;return V.jsx(J5,{...v,open:h.open,onClose:()=>u(h.id)},h.id)}if(h.type==="alert"){const{props:v}=h;return V.jsx(S5,{...v,open:h.open,onClose:()=>u(h.id)},h.id)}const{props:g}=h;return V.jsx(f_,{...g,open:h.open,onClose:()=>u(h.id),children:typeof g.children=="function"?g.children(()=>u(h.id)):g.children},h.id)})})};function AG(t){var n;(n=window==null?void 0:window.openModal)==null||n.call(window,t)}function wG(t){var n;(n=window==null?void 0:window.closeModal)==null||n.call(window,t)}function CG(t,n,i){const o=n[t];if(ee.isValidElement(o)&&typeof o.type!="string")return ee.cloneElement(o,i);if(typeof o=="function"){const u=o;return V.jsx(u,{...i})}return o??V.jsx("div",{children:"no content"})}const rw=[];function t_(t="bottom-center"){var n;if(!rw.find(i=>i.id===t)){const i=document.createElement("div");switch(i.classList.add("fixed","z-50","flex","flex-col","items-center","w-fit","min-w-[18rem]"),t){case"top-left":i.classList.add("top-8","left-8");break;case"top-right":i.classList.add("top-8","right-8");break;case"bottom-left":i.classList.add("bottom-8","left-8");break;case"bottom-right":i.classList.add("bottom-8","right-8");break;case"top-center":i.classList.add("top-8","left-1/2","-translate-x-1/2");break;case"bottom-center":default:i.classList.add("bottom-8","left-1/2","-translate-x-1/2")}rw.push({id:t,element:i}),document.body.appendChild(i)}return(n=rw.find(i=>i.id===t))==null?void 0:n.element}function n_({container:t,children:n,onMount:i}){return ee.useEffect(()=>{const o=setTimeout(()=>{t.firstChild instanceof HTMLElement&&t.firstChild.classList.add("mt-[0.5rem]")},10);return i&&i(),()=>clearTimeout(o)},[t,i]),mS.createPortal(n,t)}function Rx(t,n="success",{position:i="top-right",duration:o=3e3}={}){const u=t_(i);if(!u)return;const h=document.createElement("div");u.prepend(h);const g=()=>{const[S,E]=ee.useState(!0),A=()=>{E(!1),setTimeout(()=>{h.parentNode===u&&u.removeChild(h)},300)};return S?V.jsx(n_,{container:h,children:V.jsx(OE,{content:t,type:n,duration:o,onClose:A})}):null},v=document.createElement("div");h.appendChild(v),Promise.resolve().then(()=>j_).then(({createRoot:S})=>{S(v).render(V.jsx(g,{}))})}const lw=(t,n,i={})=>{const o=t_(i.position);if(!o)return;const u=document.createElement("div");o.prepend(u);const h=()=>{const[v,S]=ee.useState(!0),E=()=>{S(!1),setTimeout(()=>{u.parentNode===o&&o.removeChild(u)},300)};return v?V.jsx(n_,{container:u,children:V.jsx(e4,{promise:t,messages:n,options:i,onClose:E})}):null},g=document.createElement("div");u.appendChild(g),Promise.resolve().then(()=>j_).then(({createRoot:v})=>{v(g).render(V.jsx(h,{}))})},a_=(t,n={})=>{let i=()=>{},o=()=>{};const u=new Promise((h,g)=>{i=h,o=g});return lw(u,t,n),{resolve:i,reject:o}},OG={success:(t,n={})=>Rx(t,"success",n),error:(t,n={})=>Rx(t,"error",n),warning:(t,n={})=>Rx(t,"warning",n),info:(t,n={})=>Rx(t,"info",n),async:(t,n,i={})=>lw(t,n,i),loading:(t,n={})=>a_(t,n)},i_=({containerProps:t={},imageProps:n={},src:i="",alt:o="",size:u=30,user:h=null})=>{const{className:g=" ",...v}=t,{className:S=" ",...E}=n,A=u+"px",C=u*.5+"px",M=u*.4+"px",[R,B]=ee.useState(!1),L=()=>o?ME(o):h?ME(h!=null&&h.first_name||h!=null&&h.last_name?((h==null?void 0:h.first_name)||"")+" "+((h==null?void 0:h.last_name)||""):h==null?void 0:h.email):"#9CA1B6",P=Y=>{try{return Y?(new URL(Y),!0):!1}catch(le){return console.log(le),!1}},U=()=>P(i)?i:h!=null&&h.image&&P(h.image)?h.image:h!=null&&h.image?x4(h.image):"",G=()=>o?V.jsx("h4",{className:"text-white uppercase font-600 text-nowrap",style:{fontSize:M},children:o}):h?V.jsx("h4",{className:"text-white uppercase font-600 text-nowrap",style:{fontSize:M},children:h!=null&&h.first_name||h!=null&&h.last_name?((h==null?void 0:h.first_name)||" ")[0]+((h==null?void 0:h.last_name)||" ")[0]:((h==null?void 0:h.email)||" ")[0]}):V.jsx(fn,{style:{maxWidth:C,maxHeight:C,minWidth:C,minHeight:C},icon:zB,className:"w-full text-white"}),q=()=>{B(!0)},J=U();return V.jsxs("div",{className:"flex items-center justify-center rounded-full overflow-hidden h-full relative "+g,style:{maxWidth:A,maxHeight:A,minWidth:A,minHeight:A,backgroundColor:L()},...v,children:[J&&!R&&V.jsx("img",{src:J,alt:o,className:`
|
|
690
|
+
flex items-center gap-2 group w-full justify-between`,children:[V.jsx("span",{className:"truncate text-nowrap text-lg md:text-xl font-700",children:v(t)}),V.jsxs("div",{className:"flex gap-10 items-center",children:[V.jsx("span",{className:"text-gray-500 font-normal text-base md:text-lg",children:i}),V.jsx(hG,{isOpen:A})]})]}),V.jsx(nm,{mode:"wait",children:A&&V.jsx(ma.div,{...dG,transition:{height:{duration:e_.duration,ease:e_.ease},opacity:{duration:.15,ease:"easeOut"}},className:`w-full bg-white overflow-hidden ${h}`,children:n})})]})},zo={LOADING:"loading",COMPLETE:"complete",ERROR:"error"},pG=({file:t,onDelete:n,onRetry:i,uploadDuration:o=4e3})=>{const{t:u}=ca(),h=()=>t.error?zo.ERROR:t.loading?zo.LOADING:zo.COMPLETE,[g,v]=ee.useState(h()),[S,E]=ee.useState(0),[A,C]=ee.useState(10);ee.useEffect(()=>{const L=h();v(L);let P;if(L===zo.LOADING&&S<100){const q=100/(o/100);P=setInterval(()=>{E(J=>{const Y=Math.min(J+q,99),le=Math.max(0,Math.round((100-Y)/10));return C(le),Y})},100)}else L===zo.COMPLETE&&S<100&&E(100);return()=>{P&&clearInterval(P)}},[t.loading,t.error,o,h,S]);const M=()=>{switch(g){case zo.LOADING:return`${Math.round(S)}% (${A} ${u("seconds_left")})`;case zo.COMPLETE:return u("file_uploaded");case zo.ERROR:return u("upload_error");default:return""}},R=()=>{switch(g){case zo.COMPLETE:return"text-green-500 font-600";case zo.ERROR:return"text-red-500 font-600";default:return"text-gray-300 font-400"}},B=()=>{if(!(t!=null&&t.file_size))return u("unknown");const L=t.file_size/1024;return L<1024?`${L.toFixed(1)} KB`:`${(L/1024).toFixed(1)} MB`};return V.jsxs("div",{className:"border border-gray-100 bg-white rounded-lg p-16 shadow-sm w-full",children:[V.jsxs("div",{className:"flex items-center justify-between",children:[V.jsxs("div",{className:"flex items-center gap-4",children:[V.jsx(fn,{icon:tL,className:"w-12 h-12 min-w-12 min-h-12 text-gray-400"}),V.jsx("span",{className:"text-gray-500 text-sm",children:t.user_file_name})]}),g===zo.COMPLETE&&V.jsx("button",{onClick:n,className:"text-gray-400 transition-all duration-200 hover:text-gray-600 focus:outline-none",children:V.jsx(fn,{icon:eL})}),g===zo.ERROR&&V.jsx("button",{onClick:i,className:"text-gray-400 transition-all duration-200 hover:text-gray-600 focus:outline-none",children:V.jsx(fn,{icon:W7})})]}),V.jsx("div",{className:"flex items-center mt-2",children:t!=null&&t.analyzing?V.jsxs("div",{className:"flex items-center gap-6",children:[V.jsx(ma.div,{className:"h-14 w-14 rounded-full border-2 border-t-blue-500 border-r-blue-300 border-b-blue-200 border-l-blue-400",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),V.jsxs("span",{className:"text-sm text-gray-500",children:[u("analyzing_file_with_ai"),"..."]})]}):V.jsxs("div",{className:"text-sm",children:[V.jsxs("span",{className:"text-gray-500",children:[B()," |"]})," ",V.jsx("span",{className:R(),children:M()})]})}),g===zo.LOADING&&V.jsx("div",{className:"mt-2 bg-gray-200 rounded-full h-2",children:V.jsx("div",{className:"h-2 rounded-full transition-all duration-100 ease-linear bg-blue-500",style:{width:`${S}%`}})})]})},Wy=({children:t,className:n,element:i="div"})=>{const o=i;return V.jsx(o,{className:`bg-white p-24 border border-blue-100 rounded-2xl ${n||""}`,children:t})},gG=({isOpen:t,onClose:n})=>{const i={hidden:{opacity:0},visible:{opacity:1}},o={hidden:{opacity:0,scale:.8,y:-20},visible:{opacity:1,scale:1,y:0,transition:{type:"spring",stiffness:300,damping:25}},exit:{opacity:0,scale:.8,y:20,transition:{duration:.2}}};return V.jsx(nm,{children:t&&V.jsx(V.Fragment,{children:V.jsx(ma.div,{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:i,onClick:n,children:V.jsx(ma.div,{className:"w-full max-w-4xl mx-16 z-50",variants:o,initial:"hidden",animate:"visible",exit:"exit",onClick:u=>u.stopPropagation(),children:V.jsx(Wy,{className:"flex flex-col gap-16 md:gap-24 !p-0",children:V.jsx(V.Fragment,{})})})})})})},yG={completedBgColor:"#dae2fb",focusBorderColor:"#4570EB",pendingBorderColor:"#ABACAF70",iconActiveColor:"text-blue-500",lineActiveColor:"bg-blue-500",lineGradientFrom:"from-blue-500"},vG={completedBgColor:"#C7F9F5",focusBorderColor:"#1DA696",pendingBorderColor:"#ABACAF70",iconActiveColor:"text-aqua-500",lineActiveColor:"bg-aqua-500",lineGradientFrom:"from-aqua-500"},iw=t=>{switch(t){case"aqua":return vG;case"blue":default:return yG}},bG=({status:t,label:n,shouldAnimate:i,color:o})=>{const{t:u}=ca(),h=t==="done",g=t==="focus",{completedBgColor:v,focusBorderColor:S,pendingBorderColor:E,iconActiveColor:A}=iw(o);return V.jsxs("div",{className:"flex items-center gap-8 h-fit",children:[V.jsx(ma.div,{initial:i?!1:{backgroundColor:h?v:"white",borderWidth:g?"1px":"0px",borderColor:g?S:E},animate:{backgroundColor:h?v:"white",borderWidth:g||!h?"1px":"0px",borderColor:g?S:E},transition:{duration:i?.3:0,ease:"easeOut"},className:"min-w-28 min-h-28 rounded-full flex items-center justify-center text-xl font-bold border-[1px]",children:V.jsx(ma.div,{initial:i?!1:{color:h?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},animate:{color:h||g?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},transition:{duration:i?.2:0},className:"flex items-center justify-center",children:V.jsx(nm,{mode:"wait",children:h||g?V.jsx(ma.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:V.jsx(fn,{icon:iM,className:`w-14 h-14 min-w-14 min-h-14 ${A}`})},"check"):V.jsx(ma.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:V.jsx(fn,{icon:aM,className:"w-14 h-14 min-w-14 min-h-14"})},"clock")})})}),V.jsx("span",{className:`text-body-s font-medium transition-all duration-300 text-center w-full ${h?"text-black":"text-gray-400"}`,children:u(n)})]})},SG=({status:t,label:n,shouldAnimate:i,color:o})=>{const{t:u}=ca(),h=t==="done",g=t==="focus",{completedBgColor:v,focusBorderColor:S,pendingBorderColor:E,iconActiveColor:A}=iw(o);return V.jsxs("div",{className:"flex items-center gap-8 h-fit",children:[V.jsx(ma.div,{initial:i?!1:{backgroundColor:h?v:"white",borderWidth:g||!h?"1px":"0px",borderColor:g?S:E},animate:{backgroundColor:h?v:"white",borderWidth:g||!h?"1px":"0px",borderColor:g?S:E},transition:{duration:i?.3:0,ease:"easeOut"},className:"min-w-24 min-h-24 rounded-full flex items-center justify-center text-xs font-bold z-10",children:V.jsx(ma.div,{initial:i?!1:{color:g||h?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},animate:{color:g||h?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},transition:{duration:i?.2:0},className:"flex items-center justify-center",children:V.jsx(nm,{mode:"wait",children:h||g?V.jsx(ma.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:V.jsx(fn,{icon:iM,className:`w-14 h-14 min-w-14 min-h-14 ${A}`})},"check"):V.jsx(ma.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:V.jsx(fn,{icon:aM,className:"w-14 h-14 min-w-14 min-h-14"})},"clock")})})}),V.jsx("span",{className:`text-body-s font-medium transition-all duration-300 text-center w-full ${h||g?"text-black":"text-gray-400"}`,children:u(n)})]})},xG=({steps:t,direction:n="horizontal",color:i})=>{const{defaultColorScheme:o}=ca(),u=i||o,{lineActiveColor:h,lineGradientFrom:g}=iw(u),[v,S]=ee.useState([]),[E,A]=ee.useState(null),[C,M]=ee.useState(!1),R=t.findIndex(U=>!U.completed),B=U=>R===U;ee.useEffect(()=>{const U=t.map((G,q)=>B(q)?"focus":G.completed?"done":"pending");if(!C)S(U),M(!0),A(null);else{const G=U.findIndex((q,J)=>q!==v[J]);A(G!==-1?G:null),S(U)}},[t,R]);const L=()=>V.jsx("div",{className:"flex flex-col gap-16 relative",children:t.map((U,G)=>{var le;const q=B(G-1)?"focus":(le=t[G-1])!=null&&le.completed?"done":"pending",J=B(G)?"focus":U.completed?"done":"pending",Y=C&&E===G;return V.jsxs("div",{className:"flex items-center gap-10 relative",children:[G!==0&&V.jsx("div",{className:`absolute left-[13px] bottom-[28px] w-[1.5px] h-16 ${J==="done"||J==="focus"?h:q==="done"||q==="focus"?`bg-gradient-to-b ${g} to-[rgb(243,244,246)]`:"bg-[rgb(243,244,246)]"}`}),V.jsx(bG,{status:J,shouldAnimate:Y,label:U.label,color:u})]},G)})}),P=()=>V.jsx("div",{className:"w-full flex items-center gap-12",children:t.map((U,G)=>{const q=B(G)?"focus":U.completed?"done":"pending",J=C&&E===G;return V.jsx("div",{className:"flex flex-col items-center justify-evenly w-full gap-2 relative col-span-1",children:V.jsx(SG,{status:q,shouldAnimate:J,label:U.label,color:u})},G)})});return n==="horizontal"?V.jsx(P,{}):V.jsx(L,{})},TG=({variant:t="underline",color:n="blue",tabs:i,activeTab:o,onTabChange:u,className:h="",direction:g="row",showLabel:v=!0})=>{const S=ee.useRef([]),[E,A]=ee.useState({left:0,width:0}),C=ee.useRef(null),{defaultColorScheme:M}=ca(),R=n||M,B=()=>{const L=i.findIndex(P=>P.id===o);if(L>=0&&S.current[L]){const P=S.current[L];if(P&&C.current){const U=C.current.getBoundingClientRect(),G=P.getBoundingClientRect();A({left:G.left-U.left,width:G.width})}}};return ee.useEffect(()=>{B()},[o,i]),ee.useEffect(()=>{const L=()=>{B()};return window.addEventListener("resize",L),()=>{window.removeEventListener("resize",L)}},[o,i]),V.jsxs("div",{ref:C,className:`flex items-center relative ${h}`,children:[i.map((L,P)=>V.jsx(CE.div,{ref:U=>{S.current[P]=U},className:"w-full",children:V.jsx(D_,{href:L.href,label:v?L.label:"",icon:L.icon,direction:g,isSelected:o===L.id,onClick:()=>u(L.id),variant:t})},L.id)),V.jsx(CE.div,{className:`absolute bottom-0 h-2 bg-${R}-500`,initial:!1,animate:{left:E.left,width:E.width},transition:{type:"spring",stiffness:300,damping:30}})]})},EG=()=>{const[t,n]=ee.useState([]),i=ee.useRef([]),o=ee.useCallback(h=>{const g={...h,id:(h==null?void 0:h.id)||E4.uniqueId(),open:!0,type:(h==null?void 0:h.type)||"center",props:{...h.props,open:!0,onClose:()=>u(h.id||E4.uniqueId())}};i.current=[...i.current,g],n(i.current)},[]),u=ee.useCallback(h=>{i.current=i.current.map(g=>g.id===h?{...g,open:!1}:g),n(i.current),setTimeout(()=>{i.current=i.current.filter(g=>g.id!==h),n(i.current)},150)},[]);return ee.useEffect(()=>{window.openModal=o,window.closeModal=u},[o,u]),V.jsx(V.Fragment,{children:t.map(h=>{if(h.type==="dialog"){const{props:v}=h;return V.jsx(J5,{...v,open:h.open,onClose:()=>u(h.id)},h.id)}if(h.type==="alert"){const{props:v}=h;return V.jsx(S5,{...v,open:h.open,onClose:()=>u(h.id)},h.id)}const{props:g}=h;return V.jsx(f_,{...g,open:h.open,onClose:()=>u(h.id),children:typeof g.children=="function"?g.children(()=>u(h.id)):g.children},h.id)})})};function AG(t){var n;(n=window==null?void 0:window.openModal)==null||n.call(window,t)}function wG(t){var n;(n=window==null?void 0:window.closeModal)==null||n.call(window,t)}function CG(t,n,i){const o=n[t];if(ee.isValidElement(o)&&typeof o.type!="string")return ee.cloneElement(o,i);if(typeof o=="function"){const u=o;return V.jsx(u,{...i})}return o??V.jsx("div",{children:"no content"})}const rw=[];function t_(t="bottom-center"){var n;if(!rw.find(i=>i.id===t)){const i=document.createElement("div");switch(i.classList.add("fixed","z-50","flex","flex-col","items-center","w-fit","min-w-[18rem]"),t){case"top-left":i.classList.add("top-8","left-8");break;case"top-right":i.classList.add("top-8","right-8");break;case"bottom-left":i.classList.add("bottom-8","left-8");break;case"bottom-right":i.classList.add("bottom-8","right-8");break;case"top-center":i.classList.add("top-8","left-1/2","-translate-x-1/2");break;case"bottom-center":default:i.classList.add("bottom-8","left-1/2","-translate-x-1/2")}rw.push({id:t,element:i}),document.body.appendChild(i)}return(n=rw.find(i=>i.id===t))==null?void 0:n.element}function n_({container:t,children:n,onMount:i}){return ee.useEffect(()=>{const o=setTimeout(()=>{t.firstChild instanceof HTMLElement&&t.firstChild.classList.add("mt-[0.5rem]")},10);return i&&i(),()=>clearTimeout(o)},[t,i]),mS.createPortal(n,t)}function Rx(t,n="success",{position:i="top-right",duration:o=3e3}={}){const u=t_(i);if(!u)return;const h=document.createElement("div");u.prepend(h);const g=()=>{const[S,E]=ee.useState(!0),A=()=>{E(!1),setTimeout(()=>{h.parentNode===u&&u.removeChild(h)},300)};return S?V.jsx(n_,{container:h,children:V.jsx(OE,{content:t,type:n,duration:o,onClose:A})}):null},v=document.createElement("div");h.appendChild(v),Promise.resolve().then(()=>j_).then(({createRoot:S})=>{S(v).render(V.jsx(g,{}))})}const lw=(t,n,i={})=>{const o=t_(i.position);if(!o)return;const u=document.createElement("div");o.prepend(u);const h=()=>{const[v,S]=ee.useState(!0),E=()=>{S(!1),setTimeout(()=>{u.parentNode===o&&o.removeChild(u)},300)};return v?V.jsx(n_,{container:u,children:V.jsx(e4,{promise:t,messages:n,options:i,onClose:E})}):null},g=document.createElement("div");u.appendChild(g),Promise.resolve().then(()=>j_).then(({createRoot:v})=>{v(g).render(V.jsx(h,{}))})},a_=(t,n={})=>{let i=()=>{},o=()=>{};const u=new Promise((h,g)=>{i=h,o=g});return lw(u,t,n),{resolve:i,reject:o}},OG={success:(t,n={})=>Rx(t,"success",n),error:(t,n={})=>Rx(t,"error",n),warning:(t,n={})=>Rx(t,"warning",n),info:(t,n={})=>Rx(t,"info",n),async:(t,n,i={})=>lw(t,n,i),loading:(t,n={})=>a_(t,n)},i_=({containerProps:t={},imageProps:n={},src:i="",alt:o="",size:u=30,user:h=null})=>{const{className:g=" ",...v}=t,{className:S=" ",...E}=n,A=u+"px",C=u*.5+"px",M=u*.4+"px",[R,B]=ee.useState(!1),L=()=>o?ME(o):h?ME(h!=null&&h.first_name||h!=null&&h.last_name?((h==null?void 0:h.first_name)||"")+" "+((h==null?void 0:h.last_name)||""):h==null?void 0:h.email):"#9CA1B6",P=Y=>{try{return Y?(new URL(Y),!0):!1}catch(le){return console.log(le),!1}},U=()=>P(i)?i:h!=null&&h.image&&P(h.image)?h.image:h!=null&&h.image?x4(h.image):"",G=()=>o?V.jsx("h4",{className:"text-white uppercase font-600 text-nowrap",style:{fontSize:M},children:o}):h?V.jsx("h4",{className:"text-white uppercase font-600 text-nowrap",style:{fontSize:M},children:h!=null&&h.first_name||h!=null&&h.last_name?((h==null?void 0:h.first_name)||" ")[0]+((h==null?void 0:h.last_name)||" ")[0]:((h==null?void 0:h.email)||" ")[0]}):V.jsx(fn,{style:{maxWidth:C,maxHeight:C,minWidth:C,minHeight:C},icon:zB,className:"w-full text-white"}),q=()=>{B(!0)},J=U();return V.jsxs("div",{className:"flex items-center justify-center rounded-full overflow-hidden h-full relative "+g,style:{maxWidth:A,maxHeight:A,minWidth:A,minHeight:A,backgroundColor:L()},...v,children:[J&&!R&&V.jsx("img",{src:J,alt:o,className:`
|
|
691
691
|
object-cover w-full h-full text-center indent-[10000px] absolute
|
|
692
692
|
z-10
|
|
693
693
|
${S}
|
|
694
694
|
`,onError:q,...E}),V.jsx("div",{className:`
|
|
695
695
|
flex items-center justify-center leading-none text-center absolute
|
|
696
|
-
`,style:{maxWidth:C,maxHeight:C,minWidth:C,minHeight:C},children:G()})]})};function r_(t){var n,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var u=t.length;for(n=0;n<u;n++)t[n]&&(i=r_(t[n]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function fd(){for(var t,n,i=0,o="",u=arguments.length;i<u;i++)(t=arguments[i])&&(n=r_(t))&&(o&&(o+=" "),o+=n);return o}const l_={filled:"bg-blue-500 text-white hover:bg-blue-600 hover:text-white active:bg-blue-700 active:text-white",transparent:"bg-blue-100 text-blue-500 hover:bg-blue-200 hover:text-blue-600 active:bg-blue-300/80 active:text-blue-700",outline:"bg-transparent border-1 border-blue-500 text-blue-500 hover:text-blue-600 hover:border-blue-600 active:text-blue-700 active:border-blue-700",invisible:"text-blue-500 hover:text-blue-600 active:text-blue-700"},o_={filled:"bg-aqua-500 text-white hover:bg-aqua-600 hover:text-white active:bg-aqua-700 active:text-white",transparent:"bg-aqua-100 text-aqua-500 hover:bg-aqua-200/50 hover:text-aqua-600 active:bg-aqua-200/70 active:text-aqua-700",outline:"bg-transparent border-1 border-aqua-500 text-aqua-500 hover:text-aqua-600 hover:border-aqua-600 active:text-aqua-700 active:border-aqua-700",invisible:"text-aqua-500 hover:text-aqua-600 active:text-aqua-700"},s_={filled:"bg-red-500 text-white hover:bg-red-600 hover:text-white active:bg-red-700 active:text-white",transparent:"bg-red-500/20 text-error hover:bg-red-500/30 hover:text-red-600 active:text-red-700 active:bg-red-700/40",outline:"bg-transparent border-1 border-red-500 text-error hover:text-red-600 hover:border-red-600 active:text-red-700 active:border-red-700",invisible:"text-red-500 hover:text-red-600 active:text-red-700"},u_={filled:"bg-gray-500 text-white hover:bg-gray-600 hover:text-white active:bg-gray-700 active:text-white",transparent:"bg-gray-100 text-gray-500 hover:bg-gray-200 hover:text-gray-600 active:text-gray-700 active:bg-gray-300",outline:"bg-transparent border-1 border-gray-500 text-gray-500 hover:text-gray-600 hover:border-gray-600 active:text-gray-700 active:border-gray-700",invisible:"text-gray-500 hover:text-gray-600 active:text-gray-700"},MG="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-600 text-body-s disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",DG={lg:"gap-12 px-24 py-8 text-lg",base:"gap-8 px-20 py-7",md:"gap-8 px-16 py-6",sm:"gap-4 px-12 py-5",xs:"gap-4 px-6 py-3"},RG=(t="filled",n="blue",i="base")=>{const o=fd(MG,DG[i]),u={blue:l_[t],aqua:o_[t],red:s_[t],gray:u_[t]}[n];return fd(o,u)},_G="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-600 leading-normal disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",NG={lg:"min-h-[46px] max-h-[46px] min-w-[46px] max-w-[46px]",base:"min-h-[40px] max-h-[40px] min-w-[40px] max-w-[40px]",md:"min-h-[28px] max-h-[28px] min-w-[28px] max-w-[28px]",sm:"min-h-[20px] max-h-[20px] min-w-[16px] max-w-[16px]",xs:"min-h-[12px] max-h-[12px] min-w-[12px] max-w-[12px]"},zG={none:"",blue:"shadow-blue-sh hover:shadow-blue-sh active:shadow-blue-sh"},LG=(t="filled",n="blue",i="base",o="none")=>{const u=fd(_G,NG[i],zG[o]),h={blue:l_[t],aqua:o_[t],red:s_[t],gray:u_[t]}[n];return fd(u,h)},UG={lg:"min-h-[20px] max-h-[20px]",base:"min-h-[15px] max-h-[15px]",md:"min-h-[15px] max-h-[15px]",sm:"min-h-[15px] max-h-[15px]",xs:"min-h-[15px] max-h-[15px]"},Tb=(t="base")=>UG[t],Eb=({icon:t,rightIcon:n,color:i,variant:o="filled",size:u="base",children:h,className:g,...v})=>{const{defaultColorScheme:S}=ma(),E=i||S;return V.jsxs("button",{type:"button",className:RG(o,E,u)+" "+g,...v,children:[t&&V.jsx(fn,{icon:t,className:Tb(u)}),h,n&&V.jsx(fn,{icon:n,className:Tb(u)})]})},c_=({className:t="",direction:n="horizontal"})=>n==="horizontal"?V.jsx("hr",{className:`w-full min-h-1 max-h-1 bg-blue-100 border-blue-100 ${t}`}):V.jsx("hr",{className:`h-full min-w-1 max-w-1 bg-blue-100 border-blue-100 ${t}`}),f_=({open:t,onClose:n,title:i,children:o})=>{const u={hidden:{opacity:0},visible:{opacity:1}},h={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.15}},exit:{opacity:0,scale:.9,transition:{duration:.15}}};return V.jsx(nm,{children:t&&V.jsx(V.Fragment,{children:V.jsx(ha.div,{className:"fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:u,onClick:n,children:V.jsx(ha.div,{className:"w-full max-w-lg mx-16 z-50",variants:h,initial:"hidden",animate:"visible",exit:"exit",onClick:g=>g.stopPropagation(),children:V.jsxs(Wy,{className:"flex flex-col gap-16 md:gap-24 p-0!",children:[V.jsxs("div",{className:"flex flex-col gap-16 md:gap-24 md:p-32 md:pb-0",children:[V.jsxs("div",{className:"flex justify-between items-center px-16 pt-16 md:px-0 md:pt-0",children:[i&&V.jsx("h2",{className:"text-black font-700 text-2xl",children:i}),V.jsx(fn,{icon:mT,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700 ml-auto",onClick:n})]}),i&&V.jsx(c_,{className:"bg-gray-100!"})]}),V.jsx("div",{className:"flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4",children:typeof o=="function"?o(n):o})]})})})})})},VG=({active:t,color:n="blue",variant:i="rounded",className:o,...u})=>{const h={blue:"border-blue-500 bg-blue-500",aqua:"border-aqua-500 bg-aqua-500",red:"border-red-500 bg-red-500",gray:"border-gray-500 bg-gray-500"}[n],g={rounded:"rounded-full",square:"rounded-md"}[i];return V.jsx("div",{className:`transition-colors ease-in-out duration-150 flex items-center justify-center ${g} border-[1.5px] bg-white ${t?h:"border-gray-400"} ${o}`,...u,children:V.jsx("div",{className:`absolute transition-colors ease-in-out duration-150 ${g} size-12 ${t?h:""}`})})};var ow,d_;function BG(){if(d_)return ow;d_=1;function t(U){this._maxSize=U,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(U){return this._values[U]},t.prototype.set=function(U,G){return this._size>=this._maxSize&&this.clear(),U in this._values||this._size++,this._values[U]=G};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,u=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,h=/^\s*(['"]?)(.*?)(\1)\s*$/,g=512,v=new t(g),S=new t(g),E=new t(g);ow={Cache:t,split:C,normalizePath:A,setter:function(U){var G=A(U);return S.get(U)||S.set(U,function(J,Y){for(var le=0,me=G.length,pe=J;le<me-1;){var ve=G[le];if(ve==="__proto__"||ve==="constructor"||ve==="prototype")return J;pe=pe[G[le++]]}pe[G[le]]=Y})},getter:function(U,G){var q=A(U);return E.get(U)||E.set(U,function(Y){for(var le=0,me=q.length;le<me;)if(Y!=null||!G)Y=Y[q[le++]];else return;return Y})},join:function(U){return U.reduce(function(G,q){return G+(R(q)||i.test(q)?"["+q+"]":(G?".":"")+q)},"")},forEach:function(U,G,q){M(Array.isArray(U)?U:C(U),G,q)}};function A(U){return v.get(U)||v.set(U,C(U).map(function(G){return G.replace(h,"$2")}))}function C(U){return U.match(n)||[""]}function M(U,G,q){var J=U.length,Y,le,me,pe;for(le=0;le<J;le++)Y=U[le],Y&&(P(Y)&&(Y='"'+Y+'"'),pe=R(Y),me=!pe&&/^\d+$/.test(Y),G.call(q,Y,pe,me,le,U))}function R(U){return typeof U=="string"&&U&&["'",'"'].indexOf(U.charAt(0))!==-1}function B(U){return U.match(o)&&!U.match(i)}function L(U){return u.test(U)}function P(U){return!R(U)&&(B(U)||L(U))}return ow}var Cg=BG(),sw,h_;function jG(){if(h_)return sw;h_=1;const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=A=>A.match(t)||[],i=A=>A[0].toUpperCase()+A.slice(1),o=(A,C)=>n(A).join(C).toLowerCase(),u=A=>n(A).reduce((C,M)=>`${C}${C?M[0].toUpperCase()+M.slice(1).toLowerCase():M.toLowerCase()}`,"");return sw={words:n,upperFirst:i,camelCase:u,pascalCase:A=>i(u(A)),snakeCase:A=>o(A,"_"),kebabCase:A=>o(A,"-"),sentenceCase:A=>i(o(A," ")),titleCase:A=>n(A).map(i).join(" ")},sw}var uw=jG(),_x={exports:{}},m_;function $G(){if(m_)return _x.exports;m_=1,_x.exports=function(u){return t(n(u),u)},_x.exports.array=t;function t(u,h){var g=u.length,v=new Array(g),S={},E=g,A=i(h),C=o(u);for(h.forEach(function(R){if(!C.has(R[0])||!C.has(R[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});E--;)S[E]||M(u[E],E,new Set);return v;function M(R,B,L){if(L.has(R)){var P;try{P=", node was:"+JSON.stringify(R)}catch{P=""}throw new Error("Cyclic dependency"+P)}if(!C.has(R))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(R));if(!S[B]){S[B]=!0;var U=A.get(R)||new Set;if(U=Array.from(U),B=U.length){L.add(R);do{var G=U[--B];M(G,C.get(G),L)}while(B);L.delete(R)}v[--g]=R}}}function n(u){for(var h=new Set,g=0,v=u.length;g<v;g++){var S=u[g];h.add(S[0]),h.add(S[1])}return Array.from(h)}function i(u){for(var h=new Map,g=0,v=u.length;g<v;g++){var S=u[g];h.has(S[0])||h.set(S[0],new Set),h.has(S[1])||h.set(S[1],new Set),h.get(S[0]).add(S[1])}return h}function o(u){for(var h=new Map,g=0,v=u.length;g<v;g++)h.set(u[g],g);return h}return _x.exports}var HG=$G();const PG=DC(HG),kG=Object.prototype.toString,YG=Error.prototype.toString,qG=RegExp.prototype.toString,GG=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",IG=/^Symbol\((.*)\)(.*)$/;function FG(t){return t!=+t?"NaN":t===0&&1/t<0?"-0":""+t}function p_(t,n=!1){if(t==null||t===!0||t===!1)return""+t;const i=typeof t;if(i==="number")return FG(t);if(i==="string")return n?`"${t}"`:t;if(i==="function")return"[Function "+(t.name||"anonymous")+"]";if(i==="symbol")return GG.call(t).replace(IG,"Symbol($1)");const o=kG.call(t).slice(8,-1);return o==="Date"?isNaN(t.getTime())?""+t:t.toISOString(t):o==="Error"||t instanceof Error?"["+YG.call(t)+"]":o==="RegExp"?qG.call(t):null}function fm(t,n){let i=p_(t,n);return i!==null?i:JSON.stringify(t,function(o,u){let h=p_(this[o],n);return h!==null?h:u},2)}function g_(t){return t==null?[]:[].concat(t)}let y_,v_,b_,XG=/\$\{\s*(\w+)\s*\}/g;y_=Symbol.toStringTag;class S_{constructor(n,i,o,u){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[y_]="Error",this.name="ValidationError",this.value=i,this.path=o,this.type=u,this.errors=[],this.inner=[],g_(n).forEach(h=>{if(Pl.isError(h)){this.errors.push(...h.errors);const g=h.inner.length?h.inner:[h];this.inner.push(...g)}else this.errors.push(h)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}v_=Symbol.hasInstance,b_=Symbol.toStringTag;class Pl extends Error{static formatError(n,i){const o=i.label||i.path||"this";return i=Object.assign({},i,{path:o,originalPath:i.path}),typeof n=="string"?n.replace(XG,(u,h)=>fm(i[h])):typeof n=="function"?n(i):n}static isError(n){return n&&n.name==="ValidationError"}constructor(n,i,o,u,h){const g=new S_(n,i,o,u);if(h)return g;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[b_]="Error",this.name=g.name,this.message=g.message,this.type=g.type,this.value=g.value,this.path=g.path,this.errors=g.errors,this.inner=g.inner,Error.captureStackTrace&&Error.captureStackTrace(this,Pl)}static[v_](n){return S_[Symbol.hasInstance](n)||super[Symbol.hasInstance](n)}}let jc={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:t,type:n,value:i,originalValue:o})=>{const u=o!=null&&o!==i?` (cast from the value \`${fm(o,!0)}\`).`:".";return n!=="mixed"?`${t} must be a \`${n}\` type, but the final value was: \`${fm(i,!0)}\``+u:`${t} must match the configured type. The validated value was: \`${fm(i,!0)}\``+u}},kl={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},ZG={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},cw={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},KG={isValue:"${path} field must be ${value}"},Nx={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"};Object.assign(Object.create(null),{mixed:jc,string:kl,number:ZG,date:cw,object:Nx,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:KG,tuple:{notType:t=>{const{path:n,value:i,spec:o}=t,u=o.types.length;if(Array.isArray(i)){if(i.length<u)return`${n} tuple value has too few items, expected a length of ${u} but got ${i.length} for value: \`${fm(i,!0)}\``;if(i.length>u)return`${n} tuple value has too many items, expected a length of ${u} but got ${i.length} for value: \`${fm(i,!0)}\``}return Pl.formatError(jc.notType,t)}}});const fw=t=>t&&t.__isYupSchema__;class zx{static fromOptions(n,i){if(!i.then&&!i.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:o,then:u,otherwise:h}=i,g=typeof o=="function"?o:(...v)=>v.every(S=>S===o);return new zx(n,(v,S)=>{var E;let A=g(...v)?u:h;return(E=A==null?void 0:A(S))!=null?E:S})}constructor(n,i){this.fn=void 0,this.refs=n,this.refs=n,this.fn=i}resolve(n,i){let o=this.refs.map(h=>h.getValue(i==null?void 0:i.value,i==null?void 0:i.parent,i==null?void 0:i.context)),u=this.fn(o,n,i);if(u===void 0||u===n)return n;if(!fw(u))throw new TypeError("conditions must return a schema object");return u.resolve(i)}}const Lx={context:"$",value:"."};class Og{constructor(n,i={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof n!="string")throw new TypeError("ref must be a string, got: "+n);if(this.key=n.trim(),n==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Lx.context,this.isValue=this.key[0]===Lx.value,this.isSibling=!this.isContext&&!this.isValue;let o=this.isContext?Lx.context:this.isValue?Lx.value:"";this.path=this.key.slice(o.length),this.getter=this.path&&Cg.getter(this.path,!0),this.map=i.map}getValue(n,i,o){let u=this.isContext?o:this.isValue?n:i;return this.getter&&(u=this.getter(u||{})),this.map&&(u=this.map(u)),u}cast(n,i){return this.getValue(n,i==null?void 0:i.parent,i==null?void 0:i.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(n){return n&&n.__isYupRef}}Og.prototype.__isYupRef=!0;const Mg=t=>t==null;function Jy(t){function n({value:i,path:o="",options:u,originalValue:h,schema:g},v,S){const{name:E,test:A,params:C,message:M,skipAbsent:R}=t;let{parent:B,context:L,abortEarly:P=g.spec.abortEarly,disableStackTrace:U=g.spec.disableStackTrace}=u;function G(Be){return Og.isRef(Be)?Be.getValue(i,B,L):Be}function q(Be={}){const Pe=Object.assign({value:i,originalValue:h,label:g.spec.label,path:Be.path||o,spec:g.spec,disableStackTrace:Be.disableStackTrace||U},C,Be.params);for(const Xe of Object.keys(Pe))Pe[Xe]=G(Pe[Xe]);const Qe=new Pl(Pl.formatError(Be.message||M,Pe),i,Pe.path,Be.type||E,Pe.disableStackTrace);return Qe.params=Pe,Qe}const J=P?v:S;let Y={path:o,parent:B,type:E,from:u.from,createError:q,resolve:G,options:u,originalValue:h,schema:g};const le=Be=>{Pl.isError(Be)?J(Be):Be?S(null):J(q())},me=Be=>{Pl.isError(Be)?J(Be):v(Be)};if(R&&Mg(i))return le(!0);let ve;try{var He;if(ve=A.call(Y,i,Y),typeof((He=ve)==null?void 0:He.then)=="function"){if(u.sync)throw new Error(`Validation test of type: "${Y.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(ve).then(le,me)}}catch(Be){me(Be);return}le(ve)}return n.OPTIONS=t,n}function QG(t,n,i,o=i){let u,h,g;return n?(Cg.forEach(n,(v,S,E)=>{let A=S?v.slice(1,v.length-1):v;t=t.resolve({context:o,parent:u,value:i});let C=t.type==="tuple",M=E?parseInt(A,10):0;if(t.innerType||C){if(C&&!E)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${g}" must contain an index to the tuple element, e.g. "${g}[0]"`);if(i&&M>=i.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${v}, in the path: ${n}. because there is no value at that index. `);u=i,i=i&&i[M],t=C?t.spec.types[M]:t.innerType}if(!E){if(!t.fields||!t.fields[A])throw new Error(`The schema does not contain the path: ${n}. (failed at: ${g} which is a type: "${t.type}")`);u=i,i=i&&i[A],t=t.fields[A]}h=A,g=S?"["+v+"]":"."+v}),{schema:t,parent:u,parentPath:h}):{parent:u,parentPath:n,schema:t}}class Ux extends Set{describe(){const n=[];for(const i of this.values())n.push(Og.isRef(i)?i.describe():i);return n}resolveAll(n){let i=[];for(const o of this.values())i.push(n(o));return i}clone(){return new Ux(this.values())}merge(n,i){const o=this.clone();return n.forEach(u=>o.add(u)),i.forEach(u=>o.delete(u)),o}}function ev(t,n=new Map){if(fw(t)||!t||typeof t!="object")return t;if(n.has(t))return n.get(t);let i;if(t instanceof Date)i=new Date(t.getTime()),n.set(t,i);else if(t instanceof RegExp)i=new RegExp(t),n.set(t,i);else if(Array.isArray(t)){i=new Array(t.length),n.set(t,i);for(let o=0;o<t.length;o++)i[o]=ev(t[o],n)}else if(t instanceof Map){i=new Map,n.set(t,i);for(const[o,u]of t.entries())i.set(o,ev(u,n))}else if(t instanceof Set){i=new Set,n.set(t,i);for(const o of t)i.add(ev(o,n))}else if(t instanceof Object){i={},n.set(t,i);for(const[o,u]of Object.entries(t))i[o]=ev(u,n)}else throw Error(`Unable to clone ${t}`);return i}class $c{constructor(n){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Ux,this._blacklist=new Ux,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(jc.notType)}),this.type=n.type,this._typeCheck=n.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},n==null?void 0:n.spec),this.withMutation(i=>{i.nonNullable()})}get _type(){return this.type}clone(n){if(this._mutate)return n&&Object.assign(this.spec,n),this;const i=Object.create(Object.getPrototypeOf(this));return i.type=this.type,i._typeCheck=this._typeCheck,i._whitelist=this._whitelist.clone(),i._blacklist=this._blacklist.clone(),i.internalTests=Object.assign({},this.internalTests),i.exclusiveTests=Object.assign({},this.exclusiveTests),i.deps=[...this.deps],i.conditions=[...this.conditions],i.tests=[...this.tests],i.transforms=[...this.transforms],i.spec=ev(Object.assign({},this.spec,n)),i}label(n){let i=this.clone();return i.spec.label=n,i}meta(...n){if(n.length===0)return this.spec.meta;let i=this.clone();return i.spec.meta=Object.assign(i.spec.meta||{},n[0]),i}withMutation(n){let i=this._mutate;this._mutate=!0;let o=n(this);return this._mutate=i,o}concat(n){if(!n||n===this)return this;if(n.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${n.type}`);let i=this,o=n.clone();const u=Object.assign({},i.spec,o.spec);return o.spec=u,o.internalTests=Object.assign({},i.internalTests,o.internalTests),o._whitelist=i._whitelist.merge(n._whitelist,n._blacklist),o._blacklist=i._blacklist.merge(n._blacklist,n._whitelist),o.tests=i.tests,o.exclusiveTests=i.exclusiveTests,o.withMutation(h=>{n.tests.forEach(g=>{h.test(g.OPTIONS)})}),o.transforms=[...i.transforms,...o.transforms],o}isType(n){return n==null?!!(this.spec.nullable&&n===null||this.spec.optional&&n===void 0):this._typeCheck(n)}resolve(n){let i=this;if(i.conditions.length){let o=i.conditions;i=i.clone(),i.conditions=[],i=o.reduce((u,h)=>h.resolve(u,n),i),i=i.resolve(n)}return i}resolveOptions(n){var i,o,u,h;return Object.assign({},n,{from:n.from||[],strict:(i=n.strict)!=null?i:this.spec.strict,abortEarly:(o=n.abortEarly)!=null?o:this.spec.abortEarly,recursive:(u=n.recursive)!=null?u:this.spec.recursive,disableStackTrace:(h=n.disableStackTrace)!=null?h:this.spec.disableStackTrace})}cast(n,i={}){let o=this.resolve(Object.assign({value:n},i)),u=i.assert==="ignore-optionality",h=o._cast(n,i);if(i.assert!==!1&&!o.isType(h)){if(u&&Mg(h))return h;let g=fm(n),v=fm(h);throw new TypeError(`The value of ${i.path||"field"} could not be cast to a value that satisfies the schema type: "${o.type}".
|
|
696
|
+
`,style:{maxWidth:C,maxHeight:C,minWidth:C,minHeight:C},children:G()})]})};function r_(t){var n,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var u=t.length;for(n=0;n<u;n++)t[n]&&(i=r_(t[n]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function fd(){for(var t,n,i=0,o="",u=arguments.length;i<u;i++)(t=arguments[i])&&(n=r_(t))&&(o&&(o+=" "),o+=n);return o}const l_={filled:"bg-blue-500 text-white hover:bg-blue-600 hover:text-white active:bg-blue-700 active:text-white",transparent:"bg-blue-100 text-blue-500 hover:bg-blue-200 hover:text-blue-600 active:bg-blue-300/80 active:text-blue-700",outline:"bg-transparent border-1 border-blue-500 text-blue-500 hover:text-blue-600 hover:border-blue-600 active:text-blue-700 active:border-blue-700",invisible:"text-blue-500 hover:text-blue-600 active:text-blue-700"},o_={filled:"bg-aqua-500 text-white hover:bg-aqua-600 hover:text-white active:bg-aqua-700 active:text-white",transparent:"bg-aqua-100 text-aqua-500 hover:bg-aqua-200/50 hover:text-aqua-600 active:bg-aqua-200/70 active:text-aqua-700",outline:"bg-transparent border-1 border-aqua-500 text-aqua-500 hover:text-aqua-600 hover:border-aqua-600 active:text-aqua-700 active:border-aqua-700",invisible:"text-aqua-500 hover:text-aqua-600 active:text-aqua-700"},s_={filled:"bg-red-500 text-white hover:bg-red-600 hover:text-white active:bg-red-700 active:text-white",transparent:"bg-red-500/20 text-error hover:bg-red-500/30 hover:text-red-600 active:text-red-700 active:bg-red-700/40",outline:"bg-transparent border-1 border-red-500 text-error hover:text-red-600 hover:border-red-600 active:text-red-700 active:border-red-700",invisible:"text-red-500 hover:text-red-600 active:text-red-700"},u_={filled:"bg-gray-500 text-white hover:bg-gray-600 hover:text-white active:bg-gray-700 active:text-white",transparent:"bg-gray-100 text-gray-500 hover:bg-gray-200 hover:text-gray-600 active:text-gray-700 active:bg-gray-300",outline:"bg-transparent border-1 border-gray-500 text-gray-500 hover:text-gray-600 hover:border-gray-600 active:text-gray-700 active:border-gray-700",invisible:"text-gray-500 hover:text-gray-600 active:text-gray-700"},MG="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-600 text-body-s disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",DG={lg:"gap-12 px-24 py-8 text-lg",base:"gap-8 px-20 py-7",md:"gap-8 px-16 py-6",sm:"gap-4 px-12 py-5",xs:"gap-4 px-6 py-3"},RG=(t="filled",n="blue",i="base")=>{const o=fd(MG,DG[i]),u={blue:l_[t],aqua:o_[t],red:s_[t],gray:u_[t]}[n];return fd(o,u)},_G="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-600 leading-normal disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",NG={lg:"min-h-[46px] max-h-[46px] min-w-[46px] max-w-[46px]",base:"min-h-[40px] max-h-[40px] min-w-[40px] max-w-[40px]",md:"min-h-[28px] max-h-[28px] min-w-[28px] max-w-[28px]",sm:"min-h-[20px] max-h-[20px] min-w-[16px] max-w-[16px]",xs:"min-h-[12px] max-h-[12px] min-w-[12px] max-w-[12px]"},zG={none:"",blue:"shadow-blue-sh hover:shadow-blue-sh active:shadow-blue-sh"},LG=(t="filled",n="blue",i="base",o="none")=>{const u=fd(_G,NG[i],zG[o]),h={blue:l_[t],aqua:o_[t],red:s_[t],gray:u_[t]}[n];return fd(u,h)},UG={lg:"min-h-[20px] max-h-[20px]",base:"min-h-[15px] max-h-[15px]",md:"min-h-[15px] max-h-[15px]",sm:"min-h-[15px] max-h-[15px]",xs:"min-h-[15px] max-h-[15px]"},Tb=(t="base")=>UG[t],Eb=({icon:t,rightIcon:n,color:i,variant:o="filled",size:u="base",children:h,className:g,...v})=>{const{defaultColorScheme:S}=ca(),E=i||S;return V.jsxs("button",{type:"button",className:RG(o,E,u)+" "+g,...v,children:[t&&V.jsx(fn,{icon:t,className:Tb(u)}),h,n&&V.jsx(fn,{icon:n,className:Tb(u)})]})},c_=({className:t="",direction:n="horizontal"})=>n==="horizontal"?V.jsx("hr",{className:`w-full min-h-1 max-h-1 bg-blue-100 border-blue-100 ${t}`}):V.jsx("hr",{className:`h-full min-w-1 max-w-1 bg-blue-100 border-blue-100 ${t}`}),f_=({open:t,onClose:n,title:i,children:o})=>{const u={hidden:{opacity:0},visible:{opacity:1}},h={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.15}},exit:{opacity:0,scale:.9,transition:{duration:.15}}};return V.jsx(nm,{children:t&&V.jsx(V.Fragment,{children:V.jsx(ma.div,{className:"fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:u,onClick:n,children:V.jsx(ma.div,{className:"w-full max-w-lg mx-16 z-50",variants:h,initial:"hidden",animate:"visible",exit:"exit",onClick:g=>g.stopPropagation(),children:V.jsxs(Wy,{className:"flex flex-col gap-16 md:gap-24 p-0!",children:[V.jsxs("div",{className:"flex flex-col gap-16 md:gap-24 md:p-32 md:pb-0",children:[V.jsxs("div",{className:"flex justify-between items-center px-16 pt-16 md:px-0 md:pt-0",children:[i&&V.jsx("h2",{className:"text-black font-700 text-2xl",children:i}),V.jsx(fn,{icon:mT,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700 ml-auto",onClick:n})]}),i&&V.jsx(c_,{className:"bg-gray-100!"})]}),V.jsx("div",{className:"flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4",children:typeof o=="function"?o(n):o})]})})})})})},VG=({active:t,color:n="blue",variant:i="rounded",className:o,size:u=16,...h})=>{const g={blue:"border-blue-500 bg-blue-500",aqua:"border-aqua-500 bg-aqua-500",red:"border-red-500 bg-red-500",gray:"border-gray-500 bg-gray-500"}[n],v={rounded:"rounded-full",square:"rounded-md"}[i],S=E=>({width:`${E}px`,height:`${E}px`,minWidth:`${E}px`,minHeight:`${E}px`});return V.jsx("div",{className:`transition-colors ease-in-out duration-150 flex items-center justify-center ${v} border-[1.5px] bg-white ${t?g:"border-gray-400"} ${o}`,style:S(u),...h,children:V.jsx("div",{className:`absolute transition-colors ease-in-out duration-150 ${v} size-12 ${t?g:""}`,style:S(u*.7)})})};var ow,d_;function BG(){if(d_)return ow;d_=1;function t(U){this._maxSize=U,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(U){return this._values[U]},t.prototype.set=function(U,G){return this._size>=this._maxSize&&this.clear(),U in this._values||this._size++,this._values[U]=G};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,u=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,h=/^\s*(['"]?)(.*?)(\1)\s*$/,g=512,v=new t(g),S=new t(g),E=new t(g);ow={Cache:t,split:C,normalizePath:A,setter:function(U){var G=A(U);return S.get(U)||S.set(U,function(J,Y){for(var le=0,me=G.length,pe=J;le<me-1;){var ve=G[le];if(ve==="__proto__"||ve==="constructor"||ve==="prototype")return J;pe=pe[G[le++]]}pe[G[le]]=Y})},getter:function(U,G){var q=A(U);return E.get(U)||E.set(U,function(Y){for(var le=0,me=q.length;le<me;)if(Y!=null||!G)Y=Y[q[le++]];else return;return Y})},join:function(U){return U.reduce(function(G,q){return G+(R(q)||i.test(q)?"["+q+"]":(G?".":"")+q)},"")},forEach:function(U,G,q){M(Array.isArray(U)?U:C(U),G,q)}};function A(U){return v.get(U)||v.set(U,C(U).map(function(G){return G.replace(h,"$2")}))}function C(U){return U.match(n)||[""]}function M(U,G,q){var J=U.length,Y,le,me,pe;for(le=0;le<J;le++)Y=U[le],Y&&(P(Y)&&(Y='"'+Y+'"'),pe=R(Y),me=!pe&&/^\d+$/.test(Y),G.call(q,Y,pe,me,le,U))}function R(U){return typeof U=="string"&&U&&["'",'"'].indexOf(U.charAt(0))!==-1}function B(U){return U.match(o)&&!U.match(i)}function L(U){return u.test(U)}function P(U){return!R(U)&&(B(U)||L(U))}return ow}var Cg=BG(),sw,h_;function jG(){if(h_)return sw;h_=1;const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=A=>A.match(t)||[],i=A=>A[0].toUpperCase()+A.slice(1),o=(A,C)=>n(A).join(C).toLowerCase(),u=A=>n(A).reduce((C,M)=>`${C}${C?M[0].toUpperCase()+M.slice(1).toLowerCase():M.toLowerCase()}`,"");return sw={words:n,upperFirst:i,camelCase:u,pascalCase:A=>i(u(A)),snakeCase:A=>o(A,"_"),kebabCase:A=>o(A,"-"),sentenceCase:A=>i(o(A," ")),titleCase:A=>n(A).map(i).join(" ")},sw}var uw=jG(),_x={exports:{}},m_;function $G(){if(m_)return _x.exports;m_=1,_x.exports=function(u){return t(n(u),u)},_x.exports.array=t;function t(u,h){var g=u.length,v=new Array(g),S={},E=g,A=i(h),C=o(u);for(h.forEach(function(R){if(!C.has(R[0])||!C.has(R[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});E--;)S[E]||M(u[E],E,new Set);return v;function M(R,B,L){if(L.has(R)){var P;try{P=", node was:"+JSON.stringify(R)}catch{P=""}throw new Error("Cyclic dependency"+P)}if(!C.has(R))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(R));if(!S[B]){S[B]=!0;var U=A.get(R)||new Set;if(U=Array.from(U),B=U.length){L.add(R);do{var G=U[--B];M(G,C.get(G),L)}while(B);L.delete(R)}v[--g]=R}}}function n(u){for(var h=new Set,g=0,v=u.length;g<v;g++){var S=u[g];h.add(S[0]),h.add(S[1])}return Array.from(h)}function i(u){for(var h=new Map,g=0,v=u.length;g<v;g++){var S=u[g];h.has(S[0])||h.set(S[0],new Set),h.has(S[1])||h.set(S[1],new Set),h.get(S[0]).add(S[1])}return h}function o(u){for(var h=new Map,g=0,v=u.length;g<v;g++)h.set(u[g],g);return h}return _x.exports}var HG=$G();const PG=DC(HG),kG=Object.prototype.toString,YG=Error.prototype.toString,qG=RegExp.prototype.toString,GG=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",IG=/^Symbol\((.*)\)(.*)$/;function FG(t){return t!=+t?"NaN":t===0&&1/t<0?"-0":""+t}function p_(t,n=!1){if(t==null||t===!0||t===!1)return""+t;const i=typeof t;if(i==="number")return FG(t);if(i==="string")return n?`"${t}"`:t;if(i==="function")return"[Function "+(t.name||"anonymous")+"]";if(i==="symbol")return GG.call(t).replace(IG,"Symbol($1)");const o=kG.call(t).slice(8,-1);return o==="Date"?isNaN(t.getTime())?""+t:t.toISOString(t):o==="Error"||t instanceof Error?"["+YG.call(t)+"]":o==="RegExp"?qG.call(t):null}function fm(t,n){let i=p_(t,n);return i!==null?i:JSON.stringify(t,function(o,u){let h=p_(this[o],n);return h!==null?h:u},2)}function g_(t){return t==null?[]:[].concat(t)}let y_,v_,b_,XG=/\$\{\s*(\w+)\s*\}/g;y_=Symbol.toStringTag;class S_{constructor(n,i,o,u){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[y_]="Error",this.name="ValidationError",this.value=i,this.path=o,this.type=u,this.errors=[],this.inner=[],g_(n).forEach(h=>{if(Pl.isError(h)){this.errors.push(...h.errors);const g=h.inner.length?h.inner:[h];this.inner.push(...g)}else this.errors.push(h)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}v_=Symbol.hasInstance,b_=Symbol.toStringTag;class Pl extends Error{static formatError(n,i){const o=i.label||i.path||"this";return i=Object.assign({},i,{path:o,originalPath:i.path}),typeof n=="string"?n.replace(XG,(u,h)=>fm(i[h])):typeof n=="function"?n(i):n}static isError(n){return n&&n.name==="ValidationError"}constructor(n,i,o,u,h){const g=new S_(n,i,o,u);if(h)return g;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[b_]="Error",this.name=g.name,this.message=g.message,this.type=g.type,this.value=g.value,this.path=g.path,this.errors=g.errors,this.inner=g.inner,Error.captureStackTrace&&Error.captureStackTrace(this,Pl)}static[v_](n){return S_[Symbol.hasInstance](n)||super[Symbol.hasInstance](n)}}let jc={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:t,type:n,value:i,originalValue:o})=>{const u=o!=null&&o!==i?` (cast from the value \`${fm(o,!0)}\`).`:".";return n!=="mixed"?`${t} must be a \`${n}\` type, but the final value was: \`${fm(i,!0)}\``+u:`${t} must match the configured type. The validated value was: \`${fm(i,!0)}\``+u}},kl={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},ZG={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},cw={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},KG={isValue:"${path} field must be ${value}"},Nx={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"};Object.assign(Object.create(null),{mixed:jc,string:kl,number:ZG,date:cw,object:Nx,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:KG,tuple:{notType:t=>{const{path:n,value:i,spec:o}=t,u=o.types.length;if(Array.isArray(i)){if(i.length<u)return`${n} tuple value has too few items, expected a length of ${u} but got ${i.length} for value: \`${fm(i,!0)}\``;if(i.length>u)return`${n} tuple value has too many items, expected a length of ${u} but got ${i.length} for value: \`${fm(i,!0)}\``}return Pl.formatError(jc.notType,t)}}});const fw=t=>t&&t.__isYupSchema__;class zx{static fromOptions(n,i){if(!i.then&&!i.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:o,then:u,otherwise:h}=i,g=typeof o=="function"?o:(...v)=>v.every(S=>S===o);return new zx(n,(v,S)=>{var E;let A=g(...v)?u:h;return(E=A==null?void 0:A(S))!=null?E:S})}constructor(n,i){this.fn=void 0,this.refs=n,this.refs=n,this.fn=i}resolve(n,i){let o=this.refs.map(h=>h.getValue(i==null?void 0:i.value,i==null?void 0:i.parent,i==null?void 0:i.context)),u=this.fn(o,n,i);if(u===void 0||u===n)return n;if(!fw(u))throw new TypeError("conditions must return a schema object");return u.resolve(i)}}const Lx={context:"$",value:"."};class Og{constructor(n,i={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof n!="string")throw new TypeError("ref must be a string, got: "+n);if(this.key=n.trim(),n==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Lx.context,this.isValue=this.key[0]===Lx.value,this.isSibling=!this.isContext&&!this.isValue;let o=this.isContext?Lx.context:this.isValue?Lx.value:"";this.path=this.key.slice(o.length),this.getter=this.path&&Cg.getter(this.path,!0),this.map=i.map}getValue(n,i,o){let u=this.isContext?o:this.isValue?n:i;return this.getter&&(u=this.getter(u||{})),this.map&&(u=this.map(u)),u}cast(n,i){return this.getValue(n,i==null?void 0:i.parent,i==null?void 0:i.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(n){return n&&n.__isYupRef}}Og.prototype.__isYupRef=!0;const Mg=t=>t==null;function Jy(t){function n({value:i,path:o="",options:u,originalValue:h,schema:g},v,S){const{name:E,test:A,params:C,message:M,skipAbsent:R}=t;let{parent:B,context:L,abortEarly:P=g.spec.abortEarly,disableStackTrace:U=g.spec.disableStackTrace}=u;function G(Be){return Og.isRef(Be)?Be.getValue(i,B,L):Be}function q(Be={}){const Pe=Object.assign({value:i,originalValue:h,label:g.spec.label,path:Be.path||o,spec:g.spec,disableStackTrace:Be.disableStackTrace||U},C,Be.params);for(const Xe of Object.keys(Pe))Pe[Xe]=G(Pe[Xe]);const Qe=new Pl(Pl.formatError(Be.message||M,Pe),i,Pe.path,Be.type||E,Pe.disableStackTrace);return Qe.params=Pe,Qe}const J=P?v:S;let Y={path:o,parent:B,type:E,from:u.from,createError:q,resolve:G,options:u,originalValue:h,schema:g};const le=Be=>{Pl.isError(Be)?J(Be):Be?S(null):J(q())},me=Be=>{Pl.isError(Be)?J(Be):v(Be)};if(R&&Mg(i))return le(!0);let ve;try{var He;if(ve=A.call(Y,i,Y),typeof((He=ve)==null?void 0:He.then)=="function"){if(u.sync)throw new Error(`Validation test of type: "${Y.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(ve).then(le,me)}}catch(Be){me(Be);return}le(ve)}return n.OPTIONS=t,n}function QG(t,n,i,o=i){let u,h,g;return n?(Cg.forEach(n,(v,S,E)=>{let A=S?v.slice(1,v.length-1):v;t=t.resolve({context:o,parent:u,value:i});let C=t.type==="tuple",M=E?parseInt(A,10):0;if(t.innerType||C){if(C&&!E)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${g}" must contain an index to the tuple element, e.g. "${g}[0]"`);if(i&&M>=i.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${v}, in the path: ${n}. because there is no value at that index. `);u=i,i=i&&i[M],t=C?t.spec.types[M]:t.innerType}if(!E){if(!t.fields||!t.fields[A])throw new Error(`The schema does not contain the path: ${n}. (failed at: ${g} which is a type: "${t.type}")`);u=i,i=i&&i[A],t=t.fields[A]}h=A,g=S?"["+v+"]":"."+v}),{schema:t,parent:u,parentPath:h}):{parent:u,parentPath:n,schema:t}}class Ux extends Set{describe(){const n=[];for(const i of this.values())n.push(Og.isRef(i)?i.describe():i);return n}resolveAll(n){let i=[];for(const o of this.values())i.push(n(o));return i}clone(){return new Ux(this.values())}merge(n,i){const o=this.clone();return n.forEach(u=>o.add(u)),i.forEach(u=>o.delete(u)),o}}function ev(t,n=new Map){if(fw(t)||!t||typeof t!="object")return t;if(n.has(t))return n.get(t);let i;if(t instanceof Date)i=new Date(t.getTime()),n.set(t,i);else if(t instanceof RegExp)i=new RegExp(t),n.set(t,i);else if(Array.isArray(t)){i=new Array(t.length),n.set(t,i);for(let o=0;o<t.length;o++)i[o]=ev(t[o],n)}else if(t instanceof Map){i=new Map,n.set(t,i);for(const[o,u]of t.entries())i.set(o,ev(u,n))}else if(t instanceof Set){i=new Set,n.set(t,i);for(const o of t)i.add(ev(o,n))}else if(t instanceof Object){i={},n.set(t,i);for(const[o,u]of Object.entries(t))i[o]=ev(u,n)}else throw Error(`Unable to clone ${t}`);return i}class $c{constructor(n){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Ux,this._blacklist=new Ux,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(jc.notType)}),this.type=n.type,this._typeCheck=n.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},n==null?void 0:n.spec),this.withMutation(i=>{i.nonNullable()})}get _type(){return this.type}clone(n){if(this._mutate)return n&&Object.assign(this.spec,n),this;const i=Object.create(Object.getPrototypeOf(this));return i.type=this.type,i._typeCheck=this._typeCheck,i._whitelist=this._whitelist.clone(),i._blacklist=this._blacklist.clone(),i.internalTests=Object.assign({},this.internalTests),i.exclusiveTests=Object.assign({},this.exclusiveTests),i.deps=[...this.deps],i.conditions=[...this.conditions],i.tests=[...this.tests],i.transforms=[...this.transforms],i.spec=ev(Object.assign({},this.spec,n)),i}label(n){let i=this.clone();return i.spec.label=n,i}meta(...n){if(n.length===0)return this.spec.meta;let i=this.clone();return i.spec.meta=Object.assign(i.spec.meta||{},n[0]),i}withMutation(n){let i=this._mutate;this._mutate=!0;let o=n(this);return this._mutate=i,o}concat(n){if(!n||n===this)return this;if(n.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${n.type}`);let i=this,o=n.clone();const u=Object.assign({},i.spec,o.spec);return o.spec=u,o.internalTests=Object.assign({},i.internalTests,o.internalTests),o._whitelist=i._whitelist.merge(n._whitelist,n._blacklist),o._blacklist=i._blacklist.merge(n._blacklist,n._whitelist),o.tests=i.tests,o.exclusiveTests=i.exclusiveTests,o.withMutation(h=>{n.tests.forEach(g=>{h.test(g.OPTIONS)})}),o.transforms=[...i.transforms,...o.transforms],o}isType(n){return n==null?!!(this.spec.nullable&&n===null||this.spec.optional&&n===void 0):this._typeCheck(n)}resolve(n){let i=this;if(i.conditions.length){let o=i.conditions;i=i.clone(),i.conditions=[],i=o.reduce((u,h)=>h.resolve(u,n),i),i=i.resolve(n)}return i}resolveOptions(n){var i,o,u,h;return Object.assign({},n,{from:n.from||[],strict:(i=n.strict)!=null?i:this.spec.strict,abortEarly:(o=n.abortEarly)!=null?o:this.spec.abortEarly,recursive:(u=n.recursive)!=null?u:this.spec.recursive,disableStackTrace:(h=n.disableStackTrace)!=null?h:this.spec.disableStackTrace})}cast(n,i={}){let o=this.resolve(Object.assign({value:n},i)),u=i.assert==="ignore-optionality",h=o._cast(n,i);if(i.assert!==!1&&!o.isType(h)){if(u&&Mg(h))return h;let g=fm(n),v=fm(h);throw new TypeError(`The value of ${i.path||"field"} could not be cast to a value that satisfies the schema type: "${o.type}".
|
|
697
697
|
|
|
698
698
|
attempted value: ${g}
|
|
699
|
-
`+(v!==g?`result of cast: ${v}`:""))}return h}_cast(n,i){let o=n===void 0?n:this.transforms.reduce((u,h)=>h.call(this,u,n,this),n);return o===void 0&&(o=this.getDefault(i)),o}_validate(n,i={},o,u){let{path:h,originalValue:g=n,strict:v=this.spec.strict}=i,S=n;v||(S=this._cast(S,Object.assign({assert:!1},i)));let E=[];for(let A of Object.values(this.internalTests))A&&E.push(A);this.runTests({path:h,value:S,originalValue:g,options:i,tests:E},o,A=>{if(A.length)return u(A,S);this.runTests({path:h,value:S,originalValue:g,options:i,tests:this.tests},o,u)})}runTests(n,i,o){let u=!1,{tests:h,value:g,originalValue:v,path:S,options:E}=n,A=L=>{u||(u=!0,i(L,g))},C=L=>{u||(u=!0,o(L,g))},M=h.length,R=[];if(!M)return C([]);let B={value:g,originalValue:v,path:S,options:E,schema:this};for(let L=0;L<h.length;L++){const P=h[L];P(B,A,function(G){G&&(Array.isArray(G)?R.push(...G):R.push(G)),--M<=0&&C(R)})}}asNestedTest({key:n,index:i,parent:o,parentPath:u,originalParent:h,options:g}){const v=n??i;if(v==null)throw TypeError("Must include `key` or `index` for nested validations");const S=typeof v=="number";let E=o[v];const A=Object.assign({},g,{strict:!0,parent:o,value:E,originalValue:h[v],key:void 0,[S?"index":"key"]:v,path:S||v.includes(".")?`${u||""}[${S?v:`"${v}"`}]`:(u?`${u}.`:"")+n});return(C,M,R)=>this.resolve(A)._validate(E,A,M,R)}validate(n,i){var o;let u=this.resolve(Object.assign({},i,{value:n})),h=(o=i==null?void 0:i.disableStackTrace)!=null?o:u.spec.disableStackTrace;return new Promise((g,v)=>u._validate(n,i,(S,E)=>{Pl.isError(S)&&(S.value=E),v(S)},(S,E)=>{S.length?v(new Pl(S,E,void 0,void 0,h)):g(E)}))}validateSync(n,i){var o;let u=this.resolve(Object.assign({},i,{value:n})),h,g=(o=i==null?void 0:i.disableStackTrace)!=null?o:u.spec.disableStackTrace;return u._validate(n,Object.assign({},i,{sync:!0}),(v,S)=>{throw Pl.isError(v)&&(v.value=S),v},(v,S)=>{if(v.length)throw new Pl(v,n,void 0,void 0,g);h=S}),h}isValid(n,i){return this.validate(n,i).then(()=>!0,o=>{if(Pl.isError(o))return!1;throw o})}isValidSync(n,i){try{return this.validateSync(n,i),!0}catch(o){if(Pl.isError(o))return!1;throw o}}_getDefault(n){let i=this.spec.default;return i==null?i:typeof i=="function"?i.call(this,n):ev(i)}getDefault(n){return this.resolve(n||{})._getDefault(n)}default(n){return arguments.length===0?this._getDefault():this.clone({default:n})}strict(n=!0){return this.clone({strict:n})}nullability(n,i){const o=this.clone({nullable:n});return o.internalTests.nullable=Jy({message:i,name:"nullable",test(u){return u===null?this.schema.spec.nullable:!0}}),o}optionality(n,i){const o=this.clone({optional:n});return o.internalTests.optionality=Jy({message:i,name:"optionality",test(u){return u===void 0?this.schema.spec.optional:!0}}),o}optional(){return this.optionality(!0)}defined(n=jc.defined){return this.optionality(!1,n)}nullable(){return this.nullability(!0)}nonNullable(n=jc.notNull){return this.nullability(!1,n)}required(n=jc.required){return this.clone().withMutation(i=>i.nonNullable(n).defined(n))}notRequired(){return this.clone().withMutation(n=>n.nullable().optional())}transform(n){let i=this.clone();return i.transforms.push(n),i}test(...n){let i;if(n.length===1?typeof n[0]=="function"?i={test:n[0]}:i=n[0]:n.length===2?i={name:n[0],test:n[1]}:i={name:n[0],message:n[1],test:n[2]},i.message===void 0&&(i.message=jc.default),typeof i.test!="function")throw new TypeError("`test` is a required parameters");let o=this.clone(),u=Jy(i),h=i.exclusive||i.name&&o.exclusiveTests[i.name]===!0;if(i.exclusive&&!i.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return i.name&&(o.exclusiveTests[i.name]=!!i.exclusive),o.tests=o.tests.filter(g=>!(g.OPTIONS.name===i.name&&(h||g.OPTIONS.test===u.OPTIONS.test))),o.tests.push(u),o}when(n,i){!Array.isArray(n)&&typeof n!="string"&&(i=n,n=".");let o=this.clone(),u=g_(n).map(h=>new Og(h));return u.forEach(h=>{h.isSibling&&o.deps.push(h.key)}),o.conditions.push(typeof i=="function"?new zx(u,i):zx.fromOptions(u,i)),o}typeError(n){let i=this.clone();return i.internalTests.typeError=Jy({message:n,name:"typeError",skipAbsent:!0,test(o){return this.schema._typeCheck(o)?!0:this.createError({params:{type:this.schema.type}})}}),i}oneOf(n,i=jc.oneOf){let o=this.clone();return n.forEach(u=>{o._whitelist.add(u),o._blacklist.delete(u)}),o.internalTests.whiteList=Jy({message:i,name:"oneOf",skipAbsent:!0,test(u){let h=this.schema._whitelist,g=h.resolveAll(this.resolve);return g.includes(u)?!0:this.createError({params:{values:Array.from(h).join(", "),resolved:g}})}}),o}notOneOf(n,i=jc.notOneOf){let o=this.clone();return n.forEach(u=>{o._blacklist.add(u),o._whitelist.delete(u)}),o.internalTests.blacklist=Jy({message:i,name:"notOneOf",test(u){let h=this.schema._blacklist,g=h.resolveAll(this.resolve);return g.includes(u)?this.createError({params:{values:Array.from(h).join(", "),resolved:g}}):!0}}),o}strip(n=!0){let i=this.clone();return i.spec.strip=n,i}describe(n){const i=(n?this.resolve(n):this).clone(),{label:o,meta:u,optional:h,nullable:g}=i.spec;return{meta:u,label:o,optional:h,nullable:g,default:i.getDefault(n),type:i.type,oneOf:i._whitelist.describe(),notOneOf:i._blacklist.describe(),tests:i.tests.map(S=>({name:S.OPTIONS.name,params:S.OPTIONS.params})).filter((S,E,A)=>A.findIndex(C=>C.name===S.name)===E)}}}$c.prototype.__isYupSchema__=!0;for(const t of["validate","validateSync"])$c.prototype[`${t}At`]=function(n,i,o={}){const{parent:u,parentPath:h,schema:g}=QG(this,n,i,o.context);return g[t](u&&u[h],Object.assign({},o,{parent:u,path:n}))};for(const t of["equals","is"])$c.prototype[t]=$c.prototype.oneOf;for(const t of["not","nope"])$c.prototype[t]=$c.prototype.notOneOf;const WG=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function JG(t){const n=dw(t);if(!n)return Date.parse?Date.parse(t):Number.NaN;if(n.z===void 0&&n.plusMinus===void 0)return new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond).valueOf();let i=0;return n.z!=="Z"&&n.plusMinus!==void 0&&(i=n.hourOffset*60+n.minuteOffset,n.plusMinus==="+"&&(i=0-i)),Date.UTC(n.year,n.month,n.day,n.hour,n.minute+i,n.second,n.millisecond)}function dw(t){var n,i;const o=WG.exec(t);return o?{year:dd(o[1]),month:dd(o[2],1)-1,day:dd(o[3],1),hour:dd(o[4]),minute:dd(o[5]),second:dd(o[6]),millisecond:o[7]?dd(o[7].substring(0,3)):0,precision:(n=(i=o[7])==null?void 0:i.length)!=null?n:void 0,z:o[8]||void 0,plusMinus:o[9]||void 0,hourOffset:dd(o[10]),minuteOffset:dd(o[11])}:null}function dd(t,n=0){return Number(t)||n}let eI=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,tI=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,nI=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,aI="^\\d{4}-\\d{2}-\\d{2}",iI="\\d{2}:\\d{2}:\\d{2}",rI="(([+-]\\d{2}(:?\\d{2})?)|Z)",lI=new RegExp(`${aI}T${iI}(\\.\\d+)?${rI}$`),oI=t=>Mg(t)||t===t.trim(),sI={}.toString();function dm(){return new x_}class x_ extends $c{constructor(){super({type:"string",check(n){return n instanceof String&&(n=n.valueOf()),typeof n=="string"}}),this.withMutation(()=>{this.transform((n,i,o)=>{if(!o.spec.coerce||o.isType(n)||Array.isArray(n))return n;const u=n!=null&&n.toString?n.toString():n;return u===sI?n:u})})}required(n){return super.required(n).withMutation(i=>i.test({message:n||jc.required,name:"required",skipAbsent:!0,test:o=>!!o.length}))}notRequired(){return super.notRequired().withMutation(n=>(n.tests=n.tests.filter(i=>i.OPTIONS.name!=="required"),n))}length(n,i=kl.length){return this.test({message:i,name:"length",exclusive:!0,params:{length:n},skipAbsent:!0,test(o){return o.length===this.resolve(n)}})}min(n,i=kl.min){return this.test({message:i,name:"min",exclusive:!0,params:{min:n},skipAbsent:!0,test(o){return o.length>=this.resolve(n)}})}max(n,i=kl.max){return this.test({name:"max",exclusive:!0,message:i,params:{max:n},skipAbsent:!0,test(o){return o.length<=this.resolve(n)}})}matches(n,i){let o=!1,u,h;return i&&(typeof i=="object"?{excludeEmptyString:o=!1,message:u,name:h}=i:u=i),this.test({name:h||"matches",message:u||kl.matches,params:{regex:n},skipAbsent:!0,test:g=>g===""&&o||g.search(n)!==-1})}email(n=kl.email){return this.matches(eI,{name:"email",message:n,excludeEmptyString:!0})}url(n=kl.url){return this.matches(tI,{name:"url",message:n,excludeEmptyString:!0})}uuid(n=kl.uuid){return this.matches(nI,{name:"uuid",message:n,excludeEmptyString:!1})}datetime(n){let i="",o,u;return n&&(typeof n=="object"?{message:i="",allowOffset:o=!1,precision:u=void 0}=n:i=n),this.matches(lI,{name:"datetime",message:i||kl.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:i||kl.datetime_offset,params:{allowOffset:o},skipAbsent:!0,test:h=>{if(!h||o)return!0;const g=dw(h);return g?!!g.z:!1}}).test({name:"datetime_precision",message:i||kl.datetime_precision,params:{precision:u},skipAbsent:!0,test:h=>{if(!h||u==null)return!0;const g=dw(h);return g?g.precision===u:!1}})}ensure(){return this.default("").transform(n=>n===null?"":n)}trim(n=kl.trim){return this.transform(i=>i!=null?i.trim():i).test({message:n,name:"trim",test:oI})}lowercase(n=kl.lowercase){return this.transform(i=>Mg(i)?i:i.toLowerCase()).test({message:n,name:"string_case",exclusive:!0,skipAbsent:!0,test:i=>Mg(i)||i===i.toLowerCase()})}uppercase(n=kl.uppercase){return this.transform(i=>Mg(i)?i:i.toUpperCase()).test({message:n,name:"string_case",exclusive:!0,skipAbsent:!0,test:i=>Mg(i)||i===i.toUpperCase()})}}dm.prototype=x_.prototype;let uI=new Date(""),cI=t=>Object.prototype.toString.call(t)==="[object Date]";class hw extends $c{constructor(){super({type:"date",check(n){return cI(n)&&!isNaN(n.getTime())}}),this.withMutation(()=>{this.transform((n,i,o)=>!o.spec.coerce||o.isType(n)||n===null?n:(n=JG(n),isNaN(n)?hw.INVALID_DATE:new Date(n)))})}prepareParam(n,i){let o;if(Og.isRef(n))o=n;else{let u=this.cast(n);if(!this._typeCheck(u))throw new TypeError(`\`${i}\` must be a Date or a value that can be \`cast()\` to a Date`);o=u}return o}min(n,i=cw.min){let o=this.prepareParam(n,"min");return this.test({message:i,name:"min",exclusive:!0,params:{min:n},skipAbsent:!0,test(u){return u>=this.resolve(o)}})}max(n,i=cw.max){let o=this.prepareParam(n,"max");return this.test({message:i,name:"max",exclusive:!0,params:{max:n},skipAbsent:!0,test(u){return u<=this.resolve(o)}})}}hw.INVALID_DATE=uI;function fI(t,n=[]){let i=[],o=new Set,u=new Set(n.map(([g,v])=>`${g}-${v}`));function h(g,v){let S=Cg.split(g)[0];o.add(S),u.has(`${v}-${S}`)||i.push([v,S])}for(const g of Object.keys(t)){let v=t[g];o.add(g),Og.isRef(v)&&v.isSibling?h(v.path,g):fw(v)&&"deps"in v&&v.deps.forEach(S=>h(S,g))}return PG.array(Array.from(o),i).reverse()}function T_(t,n){let i=1/0;return t.some((o,u)=>{var h;if((h=n.path)!=null&&h.includes(o))return i=u,!0}),i}function E_(t){return(n,i)=>T_(t,n)-T_(t,i)}const dI=(t,n,i)=>{if(typeof t!="string")return t;let o=t;try{o=JSON.parse(t)}catch{}return i.isType(o)?o:t};function Vx(t){if("fields"in t){const n={};for(const[i,o]of Object.entries(t.fields))n[i]=Vx(o);return t.setFields(n)}if(t.type==="array"){const n=t.optional();return n.innerType&&(n.innerType=Vx(n.innerType)),n}return t.type==="tuple"?t.optional().clone({types:t.spec.types.map(Vx)}):"optional"in t?t.optional():t}const hI=(t,n)=>{const i=[...Cg.normalizePath(n)];if(i.length===1)return i[0]in t;let o=i.pop(),u=Cg.getter(Cg.join(i),!0)(t);return!!(u&&o in u)};let A_=t=>Object.prototype.toString.call(t)==="[object Object]";function w_(t,n){let i=Object.keys(t.fields);return Object.keys(n).filter(o=>i.indexOf(o)===-1)}const mI=E_([]);function mw(t){return new C_(t)}class C_ extends $c{constructor(n){super({type:"object",check(i){return A_(i)||typeof i=="function"}}),this.fields=Object.create(null),this._sortErrors=mI,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{n&&this.shape(n)})}_cast(n,i={}){var o;let u=super._cast(n,i);if(u===void 0)return this.getDefault(i);if(!this._typeCheck(u))return u;let h=this.fields,g=(o=i.stripUnknown)!=null?o:this.spec.noUnknown,v=[].concat(this._nodes,Object.keys(u).filter(C=>!this._nodes.includes(C))),S={},E=Object.assign({},i,{parent:S,__validating:i.__validating||!1}),A=!1;for(const C of v){let M=h[C],R=C in u;if(M){let B,L=u[C];E.path=(i.path?`${i.path}.`:"")+C,M=M.resolve({value:L,context:i.context,parent:S});let P=M instanceof $c?M.spec:void 0,U=P==null?void 0:P.strict;if(P!=null&&P.strip){A=A||C in u;continue}B=!i.__validating||!U?M.cast(u[C],E):u[C],B!==void 0&&(S[C]=B)}else R&&!g&&(S[C]=u[C]);(R!==C in S||S[C]!==u[C])&&(A=!0)}return A?S:u}_validate(n,i={},o,u){let{from:h=[],originalValue:g=n,recursive:v=this.spec.recursive}=i;i.from=[{schema:this,value:g},...h],i.__validating=!0,i.originalValue=g,super._validate(n,i,o,(S,E)=>{if(!v||!A_(E)){u(S,E);return}g=g||E;let A=[];for(let C of this._nodes){let M=this.fields[C];!M||Og.isRef(M)||A.push(M.asNestedTest({options:i,key:C,parent:E,parentPath:i.path,originalParent:g}))}this.runTests({tests:A,value:E,originalValue:g,options:i},o,C=>{u(C.sort(this._sortErrors).concat(S),E)})})}clone(n){const i=super.clone(n);return i.fields=Object.assign({},this.fields),i._nodes=this._nodes,i._excludedEdges=this._excludedEdges,i._sortErrors=this._sortErrors,i}concat(n){let i=super.concat(n),o=i.fields;for(let[u,h]of Object.entries(this.fields)){const g=o[u];o[u]=g===void 0?h:g}return i.withMutation(u=>u.setFields(o,[...this._excludedEdges,...n._excludedEdges]))}_getDefault(n){if("default"in this.spec)return super._getDefault(n);if(!this._nodes.length)return;let i={};return this._nodes.forEach(o=>{var u;const h=this.fields[o];let g=n;(u=g)!=null&&u.value&&(g=Object.assign({},g,{parent:g.value,value:g.value[o]})),i[o]=h&&"getDefault"in h?h.getDefault(g):void 0}),i}setFields(n,i){let o=this.clone();return o.fields=n,o._nodes=fI(n,i),o._sortErrors=E_(Object.keys(n)),i&&(o._excludedEdges=i),o}shape(n,i=[]){return this.clone().withMutation(o=>{let u=o._excludedEdges;return i.length&&(Array.isArray(i[0])||(i=[i]),u=[...o._excludedEdges,...i]),o.setFields(Object.assign(o.fields,n),u)})}partial(){const n={};for(const[i,o]of Object.entries(this.fields))n[i]="optional"in o&&o.optional instanceof Function?o.optional():o;return this.setFields(n)}deepPartial(){return Vx(this)}pick(n){const i={};for(const o of n)this.fields[o]&&(i[o]=this.fields[o]);return this.setFields(i,this._excludedEdges.filter(([o,u])=>n.includes(o)&&n.includes(u)))}omit(n){const i=[];for(const o of Object.keys(this.fields))n.includes(o)||i.push(o);return this.pick(i)}from(n,i,o){let u=Cg.getter(n,!0);return this.transform(h=>{if(!h)return h;let g=h;return hI(h,n)&&(g=Object.assign({},h),o||delete g[n],g[i]=u(h)),g})}json(){return this.transform(dI)}exact(n){return this.test({name:"exact",exclusive:!0,message:n||Nx.exact,test(i){if(i==null)return!0;const o=w_(this.schema,i);return o.length===0||this.createError({params:{properties:o.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(n=!0,i=Nx.noUnknown){typeof n!="boolean"&&(i=n,n=!0);let o=this.test({name:"noUnknown",exclusive:!0,message:i,test(u){if(u==null)return!0;const h=w_(this.schema,u);return!n||h.length===0||this.createError({params:{unknown:h.join(", ")}})}});return o.spec.noUnknown=n,o}unknown(n=!0,i=Nx.noUnknown){return this.noUnknown(!n,i)}transformKeys(n){return this.transform(i=>{if(!i)return i;const o={};for(const u of Object.keys(i))o[n(u)]=i[u];return o})}camelCase(){return this.transformKeys(uw.camelCase)}snakeCase(){return this.transformKeys(uw.snakeCase)}constantCase(){return this.transformKeys(n=>uw.snakeCase(n).toUpperCase())}describe(n){const i=(n?this.resolve(n):this).clone(),o=super.describe(n);o.fields={};for(const[h,g]of Object.entries(i.fields)){var u;let v=n;(u=v)!=null&&u.value&&(v=Object.assign({},v,{parent:v.value,value:v.value[h]})),o.fields[h]=g.describe(v)}return o}}mw.prototype=C_.prototype,mw().shape({labelES:dm().required(),label:dm().required(),code:dm().required(),codeISO2:dm().required(),phone:dm().required()});const O_=[{labelES:"Afganistán",label:"Afghanistan",codeISO2:"AF",code:"AFG",phone:"93"},{labelES:"Albania",label:"Albania",codeISO2:"AL",code:"ALB",phone:"355"},{labelES:"Alemania",label:"Germany",codeISO2:"DE",code:"DEU",phone:"49"},{labelES:"Andorra",label:"Andorra",codeISO2:"AD",code:"AND",phone:"376"},{labelES:"Angola",label:"Angola",codeISO2:"AO",code:"AGO",phone:"244"},{labelES:"Anguila",label:"Anguilla",codeISO2:"AI",code:"AIA",phone:"1 264"},{labelES:"Antártida",label:"Antarctica",codeISO2:"AQ",code:"ATA",phone:"672"},{labelES:"Antigua y Barbuda",label:"Antigua and Barbuda",codeISO2:"AG",code:"ATG",phone:"1 268"},{labelES:"Arabia Saudita",label:"Saudi Arabia",codeISO2:"SA",code:"SAU",phone:"966"},{labelES:"Argelia",label:"Algeria",codeISO2:"DZ",code:"DZA",phone:"213"},{labelES:"Argentina",label:"Argentina",codeISO2:"AR",code:"ARG",phone:"54"},{labelES:"Armenia",label:"Armenia",codeISO2:"AM",code:"ARM",phone:"374"},{labelES:"Aruba",label:"Aruba",codeISO2:"AW",code:"ABW",phone:"297"},{labelES:"Australia",label:"Australia",codeISO2:"AU",code:"AUS",phone:"61"},{labelES:"Austria",label:"Austria",codeISO2:"AT",code:"AUT",phone:"43"},{labelES:"Azerbaiyán",label:"Azerbaijan",codeISO2:"AZ",code:"AZE",phone:"994"},{labelES:"Bélgica",label:"Belgium",codeISO2:"BE",code:"BEL",phone:"32"},{labelES:"Bahamas",label:"Bahamas",codeISO2:"BS",code:"BHS",phone:"1 242"},{labelES:"Bahrein",label:"Bahrain",codeISO2:"BH",code:"BHR",phone:"973"},{labelES:"Bangladesh",label:"Bangladesh",codeISO2:"BD",code:"BGD",phone:"880"},{labelES:"Barbados",label:"Barbados",codeISO2:"BB",code:"BRB",phone:"1 246"},{labelES:"Belice",label:"Belize",codeISO2:"BZ",code:"BLZ",phone:"501"},{labelES:"Benín",label:"Benin",codeISO2:"BJ",code:"BEN",phone:"229"},{labelES:"Bhután",label:"Bhutan",codeISO2:"BT",code:"BTN",phone:"975"},{labelES:"Bielorrusia",label:"Belarus",codeISO2:"BY",code:"BLR",phone:"375"},{labelES:"Birmania",label:"Myanmar",codeISO2:"MM",code:"MMR",phone:"95"},{labelES:"Bolivia",label:"Bolivia",codeISO2:"BO",code:"BOL",phone:"591"},{labelES:"Bosnia y Herzegovina",label:"Bosnia and Herzegovina",codeISO2:"BA",code:"BIH",phone:"387"},{labelES:"Botsuana",label:"Botswana",codeISO2:"BW",code:"BWA",phone:"267"},{labelES:"Brasil",label:"Brazil",codeISO2:"BR",code:"BRA",phone:"55"},{labelES:"Brunéi",label:"Brunei",codeISO2:"BN",code:"BRN",phone:"673"},{labelES:"Bulgaria",label:"Bulgaria",codeISO2:"BG",code:"BGR",phone:"359"},{labelES:"Burkina Faso",label:"Burkina Faso",codeISO2:"BF",code:"BFA",phone:"226"},{labelES:"Burundi",label:"Burundi",codeISO2:"BI",code:"BDI",phone:"257"},{labelES:"Cabo Verde",label:"Cape Verde",codeISO2:"CV",code:"CPV",phone:"238"},{labelES:"Camboya",label:"Cambodia",codeISO2:"KH",code:"KHM",phone:"855"},{labelES:"Camerún",label:"Cameroon",codeISO2:"CM",code:"CMR",phone:"237"},{labelES:"Canadá",label:"Canada",codeISO2:"CA",code:"CAN",phone:"1"},{labelES:"Chad",label:"Chad",codeISO2:"TD",code:"TCD",phone:"235"},{labelES:"Chile",label:"Chile",codeISO2:"CL",code:"CHL",phone:"56"},{labelES:"China",label:"China",codeISO2:"CN",code:"CHN",phone:"86"},{labelES:"Chipre",label:"Cyprus",codeISO2:"CY",code:"CYP",phone:"357"},{labelES:"Ciudad del Vaticano",label:"Vatican City State",codeISO2:"VA",code:"VAT",phone:"39"},{labelES:"Colombia",label:"Colombia",codeISO2:"CO",code:"COL",phone:"57"},{labelES:"Comoras",label:"Comoros",codeISO2:"KM",code:"COM",phone:"269"},{labelES:"República del Congo",label:"Republic of the Congo",codeISO2:"CG",code:"COG",phone:"242"},{labelES:"República Democrática del Congo",label:"Democratic Republic of the Congo",codeISO2:"CD",code:"COD",phone:"243"},{labelES:"Corea del Norte",label:"North Korea",codeISO2:"KP",code:"PRK",phone:"850"},{labelES:"Corea del Sur",label:"South Korea",codeISO2:"KR",code:"KOR",phone:"82"},{labelES:"Costa de Marfil",label:"Ivory Coast",codeISO2:"CI",code:"CIV",phone:"225"},{labelES:"Costa Rica",label:"Costa Rica",codeISO2:"CR",code:"CRI",phone:"506"},{labelES:"Croacia",label:"Croatia",codeISO2:"HR",code:"HRV",phone:"385"},{labelES:"Cuba",label:"Cuba",codeISO2:"CU",code:"CUB",phone:"53"},{labelES:"Curazao",label:"Curaçao",codeISO2:"CW",code:"CWU",phone:"5999"},{labelES:"Dinamarca",label:"Denmark",codeISO2:"DK",code:"DNK",phone:"45"},{labelES:"Dominica",label:"Dominica",codeISO2:"DM",code:"DMA",phone:"1 767"},{labelES:"Ecuador",label:"Ecuador",codeISO2:"EC",code:"ECU",phone:"593"},{labelES:"Egipto",label:"Egypt",codeISO2:"EG",code:"EGY",phone:"20"},{labelES:"El Salvador",label:"El Salvador",codeISO2:"SV",code:"SLV",phone:"503"},{labelES:"Emiratos Árabes Unidos",label:"United Arab Emirates",codeISO2:"AE",code:"ARE",phone:"971"},{labelES:"Eritrea",label:"Eritrea",codeISO2:"ER",code:"ERI",phone:"291"},{labelES:"Eslovaquia",label:"Slovakia",codeISO2:"SK",code:"SVK",phone:"421"},{labelES:"Eslovenia",label:"Slovenia",codeISO2:"SI",code:"SVN",phone:"386"},{labelES:"España",label:"Spain",codeISO2:"ES",code:"ESP",phone:"34"},{labelES:"Estados Unidos de América",label:"United States of America",codeISO2:"US",code:"USA",phone:"1"},{labelES:"Estonia",label:"Estonia",codeISO2:"EE",code:"EST",phone:"372"},{labelES:"Etiopía",label:"Ethiopia",codeISO2:"ET",code:"ETH",phone:"251"},{labelES:"Filipinas",label:"Philippines",codeISO2:"PH",code:"PHL",phone:"63"},{labelES:"Finlandia",label:"Finland",codeISO2:"FI",code:"FIN",phone:"358"},{labelES:"Fiyi",label:"Fiji",codeISO2:"FJ",code:"FJI",phone:"679"},{labelES:"Francia",label:"France",codeISO2:"FR",code:"FRA",phone:"33"},{labelES:"Gabón",label:"Gabon",codeISO2:"GA",code:"GAB",phone:"241"},{labelES:"Gambia",label:"Gambia",codeISO2:"GM",code:"GMB",phone:"220"},{labelES:"Georgia",label:"Georgia",codeISO2:"GE",code:"GEO",phone:"995"},{labelES:"Ghana",label:"Ghana",codeISO2:"GH",code:"GHA",phone:"233"},{labelES:"Gibraltar",label:"Gibraltar",codeISO2:"GI",code:"GIB",phone:"350"},{labelES:"Granada",label:"Grenada",codeISO2:"GD",code:"GRD",phone:"1 473"},{labelES:"Grecia",label:"Greece",codeISO2:"GR",code:"GRC",phone:"30"},{labelES:"Groenlandia",label:"Greenland",codeISO2:"GL",code:"GRL",phone:"299"},{labelES:"Guadalupe",label:"Guadeloupe",codeISO2:"GP",code:"GLP",phone:"590"},{labelES:"Guam",label:"Guam",codeISO2:"GU",code:"GUM",phone:"1 671"},{labelES:"Guatemala",label:"Guatemala",codeISO2:"GT",code:"GTM",phone:"502"},{labelES:"Guayana Francesa",label:"French Guiana",codeISO2:"GF",code:"GUF",phone:"594"},{labelES:"Guernsey",label:"Guernsey",codeISO2:"GG",code:"GGY",phone:"44"},{labelES:"Guinea",label:"Guinea",codeISO2:"GN",code:"GIN",phone:"224"},{labelES:"Guinea Ecuatorial",label:"Equatorial Guinea",codeISO2:"GQ",code:"GNQ",phone:"240"},{labelES:"Guinea-Bissau",label:"Guinea-Bissau",codeISO2:"GW",code:"GNB",phone:"245"},{labelES:"Guyana",label:"Guyana",codeISO2:"GY",code:"GUY",phone:"592"},{labelES:"Haití",label:"Haiti",codeISO2:"HT",code:"HTI",phone:"509"},{labelES:"Honduras",label:"Honduras",codeISO2:"HN",code:"HND",phone:"504"},{labelES:"Hong kong",label:"Hong Kong",codeISO2:"HK",code:"HKG",phone:"852"},{labelES:"Hungría",label:"Hungary",codeISO2:"HU",code:"HUN",phone:"36"},{labelES:"India",label:"India",codeISO2:"IN",code:"IND",phone:"91"},{labelES:"Indonesia",label:"Indonesia",codeISO2:"ID",code:"IDN",phone:"62"},{labelES:"Irán",label:"Iran",codeISO2:"IR",code:"IRN",phone:"98"},{labelES:"Irak",label:"Iraq",codeISO2:"IQ",code:"IRQ",phone:"964"},{labelES:"Irlanda",label:"Ireland",codeISO2:"IE",code:"IRL",phone:"353"},{labelES:"Isla Bouvet",label:"Bouvet Island",codeISO2:"BV",code:"BVT",phone:""},{labelES:"Isla de Man",label:"Isle of Man",codeISO2:"IM",code:"IMN",phone:"44"},{labelES:"Isla de Navidad",label:"Christmas Island",codeISO2:"CX",code:"CXR",phone:"61"},{labelES:"Isla Norfolk",label:"Norfolk Island",codeISO2:"NF",code:"NFK",phone:"672"},{labelES:"Islandia",label:"Iceland",codeISO2:"IS",code:"ISL",phone:"354"},{labelES:"Islas Bermudas",label:"Bermuda Islands",codeISO2:"BM",code:"BMU",phone:"1 441"},{labelES:"Islas Caimán",label:"Cayman Islands",codeISO2:"KY",code:"CYM",phone:"1 345"},{labelES:"Islas Cocos (Keeling)",label:"Cocos (Keeling) Islands",codeISO2:"CC",code:"CCK",phone:"61"},{labelES:"Islas Cook",label:"Cook Islands",codeISO2:"CK",code:"COK",phone:"682"},{labelES:"Islas de Åland",label:"Åland Islands",codeISO2:"AX",code:"ALA",phone:"358"},{labelES:"Islas Feroe",label:"Faroe Islands",codeISO2:"FO",code:"FRO",phone:"298"},{labelES:"Islas Georgias del Sur y Sandwich del Sur",label:"South Georgia and the South Sandwich Islands",codeISO2:"GS",code:"SGS",phone:"500"},{labelES:"Islas Heard y McDonald",label:"Heard Island and McDonald Islands",codeISO2:"HM",code:"HMD",phone:""},{labelES:"Islas Maldivas",label:"Maldives",codeISO2:"MV",code:"MDV",phone:"960"},{labelES:"Islas Malvinas",label:"Falkland Islands (Malvinas)",codeISO2:"FK",code:"FLK",phone:"500"},{labelES:"Islas Marianas del Norte",label:"Northern Mariana Islands",codeISO2:"MP",code:"MNP",phone:"1 670"},{labelES:"Islas Marshall",label:"Marshall Islands",codeISO2:"MH",code:"MHL",phone:"692"},{labelES:"Islas Pitcairn",label:"Pitcairn Islands",codeISO2:"PN",code:"PCN",phone:"870"},{labelES:"Islas Salomón",label:"Solomon Islands",codeISO2:"SB",code:"SLB",phone:"677"},{labelES:"Islas Turcas y Caicos",label:"Turks and Caicos Islands",codeISO2:"TC",code:"TCA",phone:"1 649"},{labelES:"Islas Ultramarinas Menores de Estados Unidos",label:"United States Minor Outlying Islands",codeISO2:"UM",code:"UMI",phone:"246"},{labelES:"Islas Vírgenes Británicas",label:"Virgin Islands",codeISO2:"VG",code:"VGB",phone:"1 284"},{labelES:"Islas Vírgenes de los Estados Unidos",label:"United States Virgin Islands",codeISO2:"VI",code:"VIR",phone:"1 340"},{labelES:"Israel",label:"Israel",codeISO2:"IL",code:"ISR",phone:"972"},{labelES:"Italia",label:"Italy",codeISO2:"IT",code:"ITA",phone:"39"},{labelES:"Jamaica",label:"Jamaica",codeISO2:"JM",code:"JAM",phone:"1 876"},{labelES:"Japón",label:"Japan",codeISO2:"JP",code:"JPN",phone:"81"},{labelES:"Jersey",label:"Jersey",codeISO2:"JE",code:"JEY",phone:"44"},{labelES:"Jordania",label:"Jordan",codeISO2:"JO",code:"JOR",phone:"962"},{labelES:"Kazajistán",label:"Kazakhstan",codeISO2:"KZ",code:"KAZ",phone:"7"},{labelES:"Kenia",label:"Kenya",codeISO2:"KE",code:"KEN",phone:"254"},{labelES:"Kirguistán",label:"Kyrgyzstan",codeISO2:"KG",code:"KGZ",phone:"996"},{labelES:"Kiribati",label:"Kiribati",codeISO2:"KI",code:"KIR",phone:"686"},{labelES:"Kuwait",label:"Kuwait",codeISO2:"KW",code:"KWT",phone:"965"},{labelES:"Líbano",label:"Lebanon",codeISO2:"LB",code:"LBN",phone:"961"},{labelES:"Laos",label:"Laos",codeISO2:"LA",code:"LAO",phone:"856"},{labelES:"Lesoto",label:"Lesotho",codeISO2:"LS",code:"LSO",phone:"266"},{labelES:"Letonia",label:"Latvia",codeISO2:"LV",code:"LVA",phone:"371"},{labelES:"Liberia",label:"Liberia",codeISO2:"LR",code:"LBR",phone:"231"},{labelES:"Libia",label:"Libya",codeISO2:"LY",code:"LBY",phone:"218"},{labelES:"Liechtenstein",label:"Liechtenstein",codeISO2:"LI",code:"LIE",phone:"423"},{labelES:"Lituania",label:"Lithuania",codeISO2:"LT",code:"LTU",phone:"370"},{labelES:"Luxemburgo",label:"Luxembourg",codeISO2:"LU",code:"LUX",phone:"352"},{labelES:"México",label:"Mexico",codeISO2:"MX",code:"MEX",phone:"52"},{labelES:"Mónaco",label:"Monaco",codeISO2:"MC",code:"MCO",phone:"377"},{labelES:"Macao",label:"Macao",codeISO2:"MO",code:"MAC",phone:"853"},{labelES:"Macedônia",label:"Macedonia",codeISO2:"MK",code:"MKD",phone:"389"},{labelES:"Madagascar",label:"Madagascar",codeISO2:"MG",code:"MDG",phone:"261"},{labelES:"Malasia",label:"Malaysia",codeISO2:"MY",code:"MYS",phone:"60"},{labelES:"Malawi",label:"Malawi",codeISO2:"MW",code:"MWI",phone:"265"},{labelES:"Mali",label:"Mali",codeISO2:"ML",code:"MLI",phone:"223"},{labelES:"Malta",label:"Malta",codeISO2:"MT",code:"MLT",phone:"356"},{labelES:"Marruecos",label:"Morocco",codeISO2:"MA",code:"MAR",phone:"212"},{labelES:"Martinica",label:"Martinique",codeISO2:"MQ",code:"MTQ",phone:"596"},{labelES:"Mauricio",label:"Mauritius",codeISO2:"MU",code:"MUS",phone:"230"},{labelES:"Mauritania",label:"Mauritania",codeISO2:"MR",code:"MRT",phone:"222"},{labelES:"Mayotte",label:"Mayotte",codeISO2:"YT",code:"MYT",phone:"262"},{labelES:"Micronesia",label:"Estados Federados de",codeISO2:"FM",code:"FSM",phone:"691"},{labelES:"Moldavia",label:"Moldova",codeISO2:"MD",code:"MDA",phone:"373"},{labelES:"Mongolia",label:"Mongolia",codeISO2:"MN",code:"MNG",phone:"976"},{labelES:"Montenegro",label:"Montenegro",codeISO2:"ME",code:"MNE",phone:"382"},{labelES:"Montserrat",label:"Montserrat",codeISO2:"MS",code:"MSR",phone:"1 664"},{labelES:"Mozambique",label:"Mozambique",codeISO2:"MZ",code:"MOZ",phone:"258"},{labelES:"Namibia",label:"Namibia",codeISO2:"NA",code:"NAM",phone:"264"},{labelES:"Nauru",label:"Nauru",codeISO2:"NR",code:"NRU",phone:"674"},{labelES:"Nepal",label:"Nepal",codeISO2:"NP",code:"NPL",phone:"977"},{labelES:"Nicaragua",label:"Nicaragua",codeISO2:"NI",code:"NIC",phone:"505"},{labelES:"Niger",label:"Niger",codeISO2:"NE",code:"NER",phone:"227"},{labelES:"Nigeria",label:"Nigeria",codeISO2:"NG",code:"NGA",phone:"234"},{labelES:"Niue",label:"Niue",codeISO2:"NU",code:"NIU",phone:"683"},{labelES:"Noruega",label:"Norway",codeISO2:"NO",code:"NOR",phone:"47"},{labelES:"Nueva Caledonia",label:"New Caledonia",codeISO2:"NC",code:"NCL",phone:"687"},{labelES:"Nueva Zelanda",label:"New Zealand",codeISO2:"NZ",code:"NZL",phone:"64"},{labelES:"Omán",label:"Oman",codeISO2:"OM",code:"OMN",phone:"968"},{labelES:"Países Bajos",label:"Netherlands",codeISO2:"NL",code:"NLD",phone:"31"},{labelES:"Pakistán",label:"Pakistan",codeISO2:"PK",code:"PAK",phone:"92"},{labelES:"Palau",label:"Palau",codeISO2:"PW",code:"PLW",phone:"680"},{labelES:"Palestina",label:"Palestine",codeISO2:"PS",code:"PSE",phone:"970"},{labelES:"Panamá",label:"Panama",codeISO2:"PA",code:"PAN",phone:"507"},{labelES:"Papúa Nueva Guinea",label:"Papua New Guinea",codeISO2:"PG",code:"PNG",phone:"675"},{labelES:"Paraguay",label:"Paraguay",codeISO2:"PY",code:"PRY",phone:"595"},{labelES:"Perú",label:"Peru",codeISO2:"PE",code:"PER",phone:"51"},{labelES:"Polinesia Francesa",label:"French Polynesia",codeISO2:"PF",code:"PYF",phone:"689"},{labelES:"Polonia",label:"Poland",codeISO2:"PL",code:"POL",phone:"48"},{labelES:"Portugal",label:"Portugal",codeISO2:"PT",code:"PRT",phone:"351"},{labelES:"Puerto Rico",label:"Puerto Rico",codeISO2:"PR",code:"PRI",phone:"1"},{labelES:"Qatar",label:"Qatar",codeISO2:"QA",code:"QAT",phone:"974"},{labelES:"Reino Unido",label:"United Kingdom",codeISO2:"GB",code:"GBR",phone:"44"},{labelES:"República Centroafricana",label:"Central African Republic",codeISO2:"CF",code:"CAF",phone:"236"},{labelES:"República Checa",label:"Czech Republic",codeISO2:"CZ",code:"CZE",phone:"420"},{labelES:"República Dominicana",label:"Dominican Republic",codeISO2:"DO",code:"DOM",phone:"1 809"},{labelES:"República de Sudán del Sur",label:"South Sudan",codeISO2:"SS",code:"SSD",phone:"211"},{labelES:"Reunión",label:"Réunion",codeISO2:"RE",code:"REU",phone:"262"},{labelES:"Ruanda",label:"Rwanda",codeISO2:"RW",code:"RWA",phone:"250"},{labelES:"Rumanía",label:"Romania",codeISO2:"RO",code:"ROU",phone:"40"},{labelES:"Rusia",label:"Russia",codeISO2:"RU",code:"RUS",phone:"7"},{labelES:"Sahara Occidental",label:"Western Sahara",codeISO2:"EH",code:"ESH",phone:"212"},{labelES:"Samoa",label:"Samoa",codeISO2:"WS",code:"WSM",phone:"685"},{labelES:"Samoa Americana",label:"American Samoa",codeISO2:"AS",code:"ASM",phone:"1 684"},{labelES:"San Bartolomé",label:"Saint Barthélemy",codeISO2:"BL",code:"BLM",phone:"590"},{labelES:"San Cristóbal y Nieves",label:"Saint Kitts and Nevis",codeISO2:"KN",code:"KNA",phone:"1 869"},{labelES:"San Marino",label:"San Marino",codeISO2:"SM",code:"SMR",phone:"378"},{labelES:"San Martín (Francia)",label:"Saint Martin (French part)",codeISO2:"MF",code:"MAF",phone:"1 599"},{labelES:"San Pedro y Miquelón",label:"Saint Pierre and Miquelon",codeISO2:"PM",code:"SPM",phone:"508"},{labelES:"San Vicente y las Granadinas",label:"Saint Vincent and the Grenadines",codeISO2:"VC",code:"VCT",phone:"1 784"},{labelES:"Santa Elena",label:"Ascensión y Tristán de Acuña",codeISO2:"SH",code:"SHN",phone:"290"},{labelES:"Santa Lucía",label:"Saint Lucia",codeISO2:"LC",code:"LCA",phone:"1 758"},{labelES:"Santo Tomé y Príncipe",label:"Sao Tome and Principe",codeISO2:"ST",code:"STP",phone:"239"},{labelES:"Senegal",label:"Senegal",codeISO2:"SN",code:"SEN",phone:"221"},{labelES:"Serbia",label:"Serbia",codeISO2:"RS",code:"SRB",phone:"381"},{labelES:"Seychelles",label:"Seychelles",codeISO2:"SC",code:"SYC",phone:"248"},{labelES:"Sierra Leona",label:"Sierra Leone",codeISO2:"SL",code:"SLE",phone:"232"},{labelES:"Singapur",label:"Singapore",codeISO2:"SG",code:"SGP",phone:"65"},{labelES:"Sint Maarten",label:"Sint Maarten",codeISO2:"SX",code:"SMX",phone:"1 721"},{labelES:"Siria",label:"Syria",codeISO2:"SY",code:"SYR",phone:"963"},{labelES:"Somalia",label:"Somalia",codeISO2:"SO",code:"SOM",phone:"252"},{labelES:"Sri lanka",label:"Sri Lanka",codeISO2:"LK",code:"LKA",phone:"94"},{labelES:"Sudáfrica",label:"South Africa",codeISO2:"ZA",code:"ZAF",phone:"27"},{labelES:"Sudán",label:"Sudan",codeISO2:"SD",code:"SDN",phone:"249"},{labelES:"Suecia",label:"Sweden",codeISO2:"SE",code:"SWE",phone:"46"},{labelES:"Suiza",label:"Switzerland",codeISO2:"CH",code:"CHE",phone:"41"},{labelES:"Surinám",label:"Suriname",codeISO2:"SR",code:"SUR",phone:"597"},{labelES:"Svalbard y Jan Mayen",label:"Svalbard and Jan Mayen",codeISO2:"SJ",code:"SJM",phone:"47"},{labelES:"Swazilandia",label:"Swaziland",codeISO2:"SZ",code:"SWZ",phone:"268"},{labelES:"Tayikistán",label:"Tajikistan",codeISO2:"TJ",code:"TJK",phone:"992"},{labelES:"Tailandia",label:"Thailand",codeISO2:"TH",code:"THA",phone:"66"},{labelES:"Taiwán",label:"Taiwan",codeISO2:"TW",code:"TWN",phone:"886"},{labelES:"Tanzania",label:"Tanzania",codeISO2:"TZ",code:"TZA",phone:"255"},{labelES:"Territorio Británico del Océano Índico",label:"British Indian Ocean Territory",codeISO2:"IO",code:"IOT",phone:"246"},{labelES:"Territorios Australes y Antárticas Franceses",label:"French Southern Territories",codeISO2:"TF",code:"ATF",phone:""},{labelES:"Timor Oriental",label:"East Timor",codeISO2:"TL",code:"TLS",phone:"670"},{labelES:"Togo",label:"Togo",codeISO2:"TG",code:"TGO",phone:"228"},{labelES:"Tokelau",label:"Tokelau",codeISO2:"TK",code:"TKL",phone:"690"},{labelES:"Tonga",label:"Tonga",codeISO2:"TO",code:"TON",phone:"676"},{labelES:"Trinidad y Tobago",label:"Trinidad and Tobago",codeISO2:"TT",code:"TTO",phone:"1 868"},{labelES:"Tunez",label:"Tunisia",codeISO2:"TN",code:"TUN",phone:"216"},{labelES:"Turkmenistán",label:"Turkmenistan",codeISO2:"TM",code:"TKM",phone:"993"},{labelES:"Turquía",label:"Turkey",codeISO2:"TR",code:"TUR",phone:"90"},{labelES:"Tuvalu",label:"Tuvalu",codeISO2:"TV",code:"TUV",phone:"688"},{labelES:"Ucrania",label:"Ukraine",codeISO2:"UA",code:"UKR",phone:"380"},{labelES:"Uganda",label:"Uganda",codeISO2:"UG",code:"UGA",phone:"256"},{labelES:"Uruguay",label:"Uruguay",codeISO2:"UY",code:"URY",phone:"598"},{labelES:"Uzbekistán",label:"Uzbekistan",codeISO2:"UZ",code:"UZB",phone:"998"},{labelES:"Vanuatu",label:"Vanuatu",codeISO2:"VU",code:"VUT",phone:"678"},{labelES:"Venezuela",label:"Venezuela",codeISO2:"VE",code:"VEN",phone:"58"},{labelES:"Vietnam",label:"Vietnam",codeISO2:"VN",code:"VNM",phone:"84"},{labelES:"Wallis y Futuna",label:"Wallis and Futuna",codeISO2:"WF",code:"WLF",phone:"681"},{labelES:"Yemen",label:"Yemen",codeISO2:"YE",code:"YEM",phone:"967"},{labelES:"Yibuti",label:"Djibouti",codeISO2:"DJ",code:"DJI",phone:"253"},{labelES:"Zambia",label:"Zambia",codeISO2:"ZM",code:"ZMB",phone:"260"},{labelES:"Zimbabue",label:"Zimbabwe",codeISO2:"ZW",code:"ZWE",phone:"263"}],pI=({countries:t=O_,name:n,control:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",className:g="",translateKey:v})=>{var yt,un,Ge;const{t:S}=ma(),{field:E,fieldState:A}=Gh.useController({name:n,control:i,rules:{validate:{}},defaultValue:null}),[C,M]=ee.useState(!1),[R,B]=ee.useState(""),[L,P]=ee.useState(E.value||null),U=ee.useRef(null),G=ee.useRef(null),q=ee.useRef(null),{x:J,y:Y,strategy:le,refs:me,context:pe,placement:ve,middlewareData:He}=vb({open:C,onOpenChange:M,middleware:[hb(8),pb(),mb({padding:8}),Ox({apply({availableHeight:nt,elements:Jt}){Object.assign(Jt.floating.style,{maxHeight:`${Math.min(nt-10,300)}px`})},padding:8}),Mx({element:G})],placement:"bottom-start",whileElementsMounted:db}),Be=gb(pe),Pe=yb(pe),{getReferenceProps:Qe,getFloatingProps:Xe}=bb([Be,Pe]),{isMounted:qe,styles:F}=Sb(pe,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),oe=(Array.isArray(t)?t:[]).filter(nt=>{if(!R.trim())return!0;const Jt=h==="es"&&nt.labelES?nt.labelES.toLowerCase():nt.label.toLowerCase(),wa=nt.code?nt.code.toLowerCase():"";return Jt.includes(R.toLowerCase())||wa.includes(R.toLowerCase())}),Me=nt=>{P(nt),M(!1),B(""),E.onChange(nt)},X=()=>{M(!C),!C&&U.current&&setTimeout(()=>{var nt;(nt=U.current)==null||nt.focus()},100)},fe=()=>{setTimeout(()=>{C||E.onBlur()},200)};ee.useEffect(()=>{P(E.value)},[E.value]),ee.useEffect(()=>{const nt=Jt=>{q.current&&!q.current.contains(Jt.target)&&E.onBlur()};return document.addEventListener("mousedown",nt),()=>{document.removeEventListener("mousedown",nt)}},[E]);const Ae=nt=>{var Jt;return nt?nt.codeISO2?nt.codeISO2.toLowerCase():((Jt=nt.code)==null?void 0:Jt.toLowerCase())||"":""},je=(yt=He.arrow)==null?void 0:yt.x,Ye=(un=He.arrow)==null?void 0:un.y,Le={top:"bottom",right:"left",bottom:"top",left:"right"}[ve.split("-")[0]],Ue=Qe({onClick:X,onBlur:fe}),et=S(o),We=S(u),it=(Ge=A.error)==null?void 0:Ge.message;return V.jsxs("div",{ref:q,className:`w-full relative flex flex-col gap-8 ${g}`,children:[V.jsx("label",{className:`text-gray-600 font-600 group ${it&&"!text-red-500"} text-label`,children:et}),V.jsxs("div",{ref:me.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer border transition-all duration-200 hover:border-blue-400 ${it&&"border-red-500 hover:border-red-600"} ${qe?"border-blue-400":"border-blue-100"}`,...Ue,tabIndex:0,children:[L!=null&&L.code?V.jsxs("div",{className:"flex items-center w-full",children:[Ae(L)&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${Ae(L)}.png`,srcSet:`https://flagcdn.com/w40/${Ae(L)}.png 2x`,alt:L.label,onError:nt=>{nt.currentTarget.style.display="none"}}),V.jsxs("span",{className:"flex-grow",children:[h==="es"&&L.labelES?L.labelES:L.label,L.code?` (${L.code})`:S("select_country")]})]}):V.jsx("span",{className:"text-gray-500",children:We}),V.jsx("svg",{className:`w-16 h-16 transition-transform ${C?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),it&&V.jsx("p",{className:"mt-1 text-sm text-red-600",children:S(it,{x:S(v||"")||S(n)})}),qe&&V.jsxs("div",{ref:me.setFloating,style:{position:le,top:Y??0,left:J??0,...F},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...Xe(),children:[V.jsx("div",{ref:G,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:je!=null?`${je}px`:"",top:Ye!=null?`${Ye}px`:"",right:"",bottom:"",[Le]:"-2px",borderRight:Le==="left"?"1px solid":"none",borderBottom:Le==="top"?"1px solid":"none",borderLeft:Le==="right"?"1px solid":"none",borderTop:Le==="bottom"?"1px solid":"none"}}),V.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:V.jsx("input",{ref:U,type:"text",className:"w-full p-16",placeholder:S("search")+"...",value:R,onChange:nt=>B(nt.target.value),onClick:nt=>nt.stopPropagation(),onBlur:nt=>{nt.stopPropagation()},autoFocus:!0})}),V.jsx("div",{children:oe.length>0?V.jsx("ul",{className:"flex flex-col",children:oe.map((nt,Jt)=>{var pr;const wa=nt.codeISO2?nt.codeISO2.toLowerCase():((pr=nt.code)==null?void 0:pr.toLowerCase())||"";return V.jsxs("li",{className:"flex items-center gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:gn=>{gn.stopPropagation(),Me(nt)},children:[wa&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${wa}.png`,srcSet:`https://flagcdn.com/w40/${wa}.png 2x`,alt:nt.label,onError:gn=>{gn.currentTarget.style.display="none"}}),V.jsxs("span",{children:[h==="es"&&nt.labelES?nt.labelES:nt.label,nt.code?` (${nt.code})`:"Country not found"]})]},`${nt.code}-${Jt}`)})}):V.jsx("div",{className:"px-3 py-2 text-gray-500",children:S("no_countries_found")})})]})]})},gI=({country:t})=>{const n=i=>{var o;return i?i.codeISO2?i.codeISO2.toLowerCase():((o=i.code)==null?void 0:o.toLowerCase())||"":""};return V.jsxs("div",{className:"flex items-center gap-8",children:[V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${n(t)}.png`,srcSet:`https://flagcdn.com/w40/${n(t)}.png 2x`,alt:t.label,onError:i=>{i.currentTarget.style.display="none"}}),V.jsx("p",{className:"text-body-s text-gray-600",children:t.label})]})},yI=({countries:t,name:n,control:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",className:g=""})=>{const{t:v}=ma();return V.jsx(Gh.Controller,{name:n,control:i,render:({field:{onChange:S,value:E},fieldState:{error:A}})=>V.jsx(vI,{countries:t,value:E,onChange:S,label:v(o),placeholder:v(u),language:h,error:A==null?void 0:A.message,className:g})})},vI=({countries:t,value:n,onChange:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",error:g,className:v=""})=>{var je,Ye;const{t:S}=ma(),[E,A]=ee.useState(!1),[C,M]=ee.useState(""),[R,B]=ee.useState(n||null),L=ee.useRef(null),P=ee.useRef(null),{x:U,y:G,strategy:q,refs:J,context:Y,placement:le,middlewareData:me}=vb({open:E,onOpenChange:A,middleware:[hb(8),pb(),mb({padding:8}),Ox({apply({availableHeight:Le,elements:Ue}){Object.assign(Ue.floating.style,{maxHeight:`${Math.min(Le-10,300)}px`})},padding:8}),Mx({element:P})],placement:"bottom-start",whileElementsMounted:db}),pe=gb(Y),ve=yb(Y),{getReferenceProps:He,getFloatingProps:Be}=bb([pe,ve]),{isMounted:Pe,styles:Qe}=Sb(Y,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),qe=(Array.isArray(t)?t:[]).filter(Le=>{if(!C.trim())return!0;const Ue=h==="es"&&Le.labelES?Le.labelES.toLowerCase():Le.label.toLowerCase(),et=Le.code?Le.code.toLowerCase():"";return Ue.includes(C.toLowerCase())||et.includes(C.toLowerCase())}),F=Le=>{B(Le),A(!1),M(""),i(Le)},ne=()=>{A(!E),!E&&L.current&&setTimeout(()=>{var Le;(Le=L.current)==null||Le.focus()},100)};ee.useEffect(()=>{B(n)},[n]);const oe=Le=>{var Ue;return Le?Le.codeISO2?Le.codeISO2.toLowerCase():((Ue=Le.code)==null?void 0:Ue.toLowerCase())||"":""},Me=(je=me.arrow)==null?void 0:je.x,X=(Ye=me.arrow)==null?void 0:Ye.y,fe={top:"bottom",right:"left",bottom:"top",left:"right"}[le.split("-")[0]],Ae=He({onClick:ne});return V.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${v}`,children:[V.jsx("label",{className:`text-gray-600 font-600 group ${g&&"!text-red-500"} text-label`,children:o}),V.jsxs("div",{ref:J.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer border transition-all duration-200 hover:border-blue-400 ${g&&"border-red-500 hover:border-red-600"} ${Pe?"border-blue-400":"border-blue-100"}`,...Ae,children:[R!=null&&R.code?V.jsxs("div",{className:"flex items-center w-full",children:[oe(R)&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${oe(R)}.png`,srcSet:`https://flagcdn.com/w40/${oe(R)}.png 2x`,alt:R.label,onError:Le=>{Le.currentTarget.style.display="none"}}),V.jsxs("span",{className:"flex-grow",children:[h==="es"&&R.labelES?R.labelES:R.label,R.code?` (${R.code})`:S("select_country")]})]}):V.jsx("span",{className:"text-gray-500",children:u}),V.jsx("svg",{className:`w-16 h-16 transition-transform ${E?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),g&&V.jsx("p",{className:"mt-1 text-sm text-red-600",children:g}),Pe&&V.jsxs("div",{ref:J.setFloating,style:{position:q,top:G??0,left:U??0,...Qe},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...Be(),children:[V.jsx("div",{ref:P,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:Me!=null?`${Me}px`:"",top:X!=null?`${X}px`:"",right:"",bottom:"",[fe]:"-2px",borderRight:fe==="left"?"1px solid":"none",borderBottom:fe==="top"?"1px solid":"none",borderLeft:fe==="right"?"1px solid":"none",borderTop:fe==="bottom"?"1px solid":"none"}}),V.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:V.jsx("input",{ref:L,type:"text",className:"w-full p-16",placeholder:S("search")+"...",value:C,onChange:Le=>M(Le.target.value),onClick:Le=>Le.stopPropagation(),autoFocus:!0})}),V.jsx("div",{children:qe.length>0?V.jsx("ul",{className:"flex flex-col",children:qe.map((Le,Ue)=>{var We;const et=Le.codeISO2?Le.codeISO2.toLowerCase():((We=Le.code)==null?void 0:We.toLowerCase())||"";return V.jsxs("li",{className:"flex items-center gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:it=>{it.stopPropagation(),F(Le)},children:[et&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${et}.png`,srcSet:`https://flagcdn.com/w40/${et}.png 2x`,alt:Le.label,onError:it=>{it.currentTarget.style.display="none"}}),V.jsxs("span",{children:[h==="es"&&Le.labelES?Le.labelES:Le.label,Le.code?` (${Le.code})`:"Country not found"]})]},`${Le.code}-${Ue}`)})}):V.jsx("div",{className:"px-3 py-2 text-gray-500",children:"No countries found"})})]})]})},Bx=({variant:t="filled",color:n,size:i="base",shadow:o="none",icon:u,iconProps:h={},children:g,className:v,...S})=>{const{defaultColorScheme:E}=ma(),A=n||E;return V.jsx("button",{...S,className:`${LG(t,A,i,o)} ${v}`,children:u?V.jsx(fn,{...h,className:Tb(i),icon:u}):g})};function bI(t){return t!==null&&typeof t=="object"&&"name"in t&&"size"in t&&"type"in t&&typeof t.name=="string"&&typeof t.size=="number"&&typeof t.type=="string"}const SI=({src:t,alt:n,isEditable:i=!1,onChange:o,className:u="",name:h,control:g,user:v})=>{const[S,E]=ee.useState(t||null),[A,C]=ee.useState(!!t),M=ee.useRef(null),R=Gh.useController({name:h,control:g}),B=!!g;ee.useEffect(()=>{if(B){const G=R==null?void 0:R.field.value;if(bI(G)){const q=URL.createObjectURL(G);return E(q),C(!0),()=>URL.revokeObjectURL(q)}else typeof G=="string"&&G&&G!==t?(E(G),C(!0)):t?(E(t),C(!0)):(E(null),C(!1))}},[R==null?void 0:R.field.value,t]);const L=()=>{var G;i&&((G=M.current)==null||G.click())},P=G=>{var J;const q=(J=G.target.files)==null?void 0:J[0];if(q){const Y=URL.createObjectURL(q);E(Y),C(!0),B&&(R==null||R.field.onChange(q)),o&&o(q)}},U=G=>{G.stopPropagation(),E(null),C(!1),M.current&&(M.current.value=""),B&&(R==null||R.field.onChange(null)),o&&o(null)};return V.jsxs("div",{className:"relative flex items-center gap-10",children:[i&&A&&V.jsx("button",{type:"button",onClick:U,className:"bg-red-500 text-white rounded-full w-20 h-20 flex items-center justify-center hover:bg-red-600 focus:outline-none","aria-label":"Eliminar imagen",children:V.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[V.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),V.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),V.jsxs("div",{className:`relative flex items-center justify-center h-40 w-40 ${i?"cursor-pointer hover:opacity-80":""} ${u}`,onClick:L,children:[S?V.jsx("img",{src:S,alt:n,className:"w-full h-full object-cover rounded-full"}):V.jsx(i_,{size:60,user:v}),i&&V.jsxs(V.Fragment,{children:[V.jsx("input",{type:"file",ref:G=>{M.current=G,R&&R.field.ref(G)},onChange:P,onBlur:R==null?void 0:R.field.onBlur,accept:"image/*",className:"hidden"}),!A&&V.jsx("div",{className:"absolute bottom-0 right-0 bg-blue-100 rounded-full h-20 w-20 flex items-center justify-center",children:V.jsx(fn,{icon:eq,className:"text-blue-500"})})]})]})]})},xI=mw({name:dm(),base64:dm()}),TI=({index:t,label:n,active:i,completed:o})=>V.jsxs("div",{className:"flex items-center gap-8",children:[V.jsx("div",{className:`
|
|
699
|
+
`+(v!==g?`result of cast: ${v}`:""))}return h}_cast(n,i){let o=n===void 0?n:this.transforms.reduce((u,h)=>h.call(this,u,n,this),n);return o===void 0&&(o=this.getDefault(i)),o}_validate(n,i={},o,u){let{path:h,originalValue:g=n,strict:v=this.spec.strict}=i,S=n;v||(S=this._cast(S,Object.assign({assert:!1},i)));let E=[];for(let A of Object.values(this.internalTests))A&&E.push(A);this.runTests({path:h,value:S,originalValue:g,options:i,tests:E},o,A=>{if(A.length)return u(A,S);this.runTests({path:h,value:S,originalValue:g,options:i,tests:this.tests},o,u)})}runTests(n,i,o){let u=!1,{tests:h,value:g,originalValue:v,path:S,options:E}=n,A=L=>{u||(u=!0,i(L,g))},C=L=>{u||(u=!0,o(L,g))},M=h.length,R=[];if(!M)return C([]);let B={value:g,originalValue:v,path:S,options:E,schema:this};for(let L=0;L<h.length;L++){const P=h[L];P(B,A,function(G){G&&(Array.isArray(G)?R.push(...G):R.push(G)),--M<=0&&C(R)})}}asNestedTest({key:n,index:i,parent:o,parentPath:u,originalParent:h,options:g}){const v=n??i;if(v==null)throw TypeError("Must include `key` or `index` for nested validations");const S=typeof v=="number";let E=o[v];const A=Object.assign({},g,{strict:!0,parent:o,value:E,originalValue:h[v],key:void 0,[S?"index":"key"]:v,path:S||v.includes(".")?`${u||""}[${S?v:`"${v}"`}]`:(u?`${u}.`:"")+n});return(C,M,R)=>this.resolve(A)._validate(E,A,M,R)}validate(n,i){var o;let u=this.resolve(Object.assign({},i,{value:n})),h=(o=i==null?void 0:i.disableStackTrace)!=null?o:u.spec.disableStackTrace;return new Promise((g,v)=>u._validate(n,i,(S,E)=>{Pl.isError(S)&&(S.value=E),v(S)},(S,E)=>{S.length?v(new Pl(S,E,void 0,void 0,h)):g(E)}))}validateSync(n,i){var o;let u=this.resolve(Object.assign({},i,{value:n})),h,g=(o=i==null?void 0:i.disableStackTrace)!=null?o:u.spec.disableStackTrace;return u._validate(n,Object.assign({},i,{sync:!0}),(v,S)=>{throw Pl.isError(v)&&(v.value=S),v},(v,S)=>{if(v.length)throw new Pl(v,n,void 0,void 0,g);h=S}),h}isValid(n,i){return this.validate(n,i).then(()=>!0,o=>{if(Pl.isError(o))return!1;throw o})}isValidSync(n,i){try{return this.validateSync(n,i),!0}catch(o){if(Pl.isError(o))return!1;throw o}}_getDefault(n){let i=this.spec.default;return i==null?i:typeof i=="function"?i.call(this,n):ev(i)}getDefault(n){return this.resolve(n||{})._getDefault(n)}default(n){return arguments.length===0?this._getDefault():this.clone({default:n})}strict(n=!0){return this.clone({strict:n})}nullability(n,i){const o=this.clone({nullable:n});return o.internalTests.nullable=Jy({message:i,name:"nullable",test(u){return u===null?this.schema.spec.nullable:!0}}),o}optionality(n,i){const o=this.clone({optional:n});return o.internalTests.optionality=Jy({message:i,name:"optionality",test(u){return u===void 0?this.schema.spec.optional:!0}}),o}optional(){return this.optionality(!0)}defined(n=jc.defined){return this.optionality(!1,n)}nullable(){return this.nullability(!0)}nonNullable(n=jc.notNull){return this.nullability(!1,n)}required(n=jc.required){return this.clone().withMutation(i=>i.nonNullable(n).defined(n))}notRequired(){return this.clone().withMutation(n=>n.nullable().optional())}transform(n){let i=this.clone();return i.transforms.push(n),i}test(...n){let i;if(n.length===1?typeof n[0]=="function"?i={test:n[0]}:i=n[0]:n.length===2?i={name:n[0],test:n[1]}:i={name:n[0],message:n[1],test:n[2]},i.message===void 0&&(i.message=jc.default),typeof i.test!="function")throw new TypeError("`test` is a required parameters");let o=this.clone(),u=Jy(i),h=i.exclusive||i.name&&o.exclusiveTests[i.name]===!0;if(i.exclusive&&!i.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return i.name&&(o.exclusiveTests[i.name]=!!i.exclusive),o.tests=o.tests.filter(g=>!(g.OPTIONS.name===i.name&&(h||g.OPTIONS.test===u.OPTIONS.test))),o.tests.push(u),o}when(n,i){!Array.isArray(n)&&typeof n!="string"&&(i=n,n=".");let o=this.clone(),u=g_(n).map(h=>new Og(h));return u.forEach(h=>{h.isSibling&&o.deps.push(h.key)}),o.conditions.push(typeof i=="function"?new zx(u,i):zx.fromOptions(u,i)),o}typeError(n){let i=this.clone();return i.internalTests.typeError=Jy({message:n,name:"typeError",skipAbsent:!0,test(o){return this.schema._typeCheck(o)?!0:this.createError({params:{type:this.schema.type}})}}),i}oneOf(n,i=jc.oneOf){let o=this.clone();return n.forEach(u=>{o._whitelist.add(u),o._blacklist.delete(u)}),o.internalTests.whiteList=Jy({message:i,name:"oneOf",skipAbsent:!0,test(u){let h=this.schema._whitelist,g=h.resolveAll(this.resolve);return g.includes(u)?!0:this.createError({params:{values:Array.from(h).join(", "),resolved:g}})}}),o}notOneOf(n,i=jc.notOneOf){let o=this.clone();return n.forEach(u=>{o._blacklist.add(u),o._whitelist.delete(u)}),o.internalTests.blacklist=Jy({message:i,name:"notOneOf",test(u){let h=this.schema._blacklist,g=h.resolveAll(this.resolve);return g.includes(u)?this.createError({params:{values:Array.from(h).join(", "),resolved:g}}):!0}}),o}strip(n=!0){let i=this.clone();return i.spec.strip=n,i}describe(n){const i=(n?this.resolve(n):this).clone(),{label:o,meta:u,optional:h,nullable:g}=i.spec;return{meta:u,label:o,optional:h,nullable:g,default:i.getDefault(n),type:i.type,oneOf:i._whitelist.describe(),notOneOf:i._blacklist.describe(),tests:i.tests.map(S=>({name:S.OPTIONS.name,params:S.OPTIONS.params})).filter((S,E,A)=>A.findIndex(C=>C.name===S.name)===E)}}}$c.prototype.__isYupSchema__=!0;for(const t of["validate","validateSync"])$c.prototype[`${t}At`]=function(n,i,o={}){const{parent:u,parentPath:h,schema:g}=QG(this,n,i,o.context);return g[t](u&&u[h],Object.assign({},o,{parent:u,path:n}))};for(const t of["equals","is"])$c.prototype[t]=$c.prototype.oneOf;for(const t of["not","nope"])$c.prototype[t]=$c.prototype.notOneOf;const WG=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function JG(t){const n=dw(t);if(!n)return Date.parse?Date.parse(t):Number.NaN;if(n.z===void 0&&n.plusMinus===void 0)return new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond).valueOf();let i=0;return n.z!=="Z"&&n.plusMinus!==void 0&&(i=n.hourOffset*60+n.minuteOffset,n.plusMinus==="+"&&(i=0-i)),Date.UTC(n.year,n.month,n.day,n.hour,n.minute+i,n.second,n.millisecond)}function dw(t){var n,i;const o=WG.exec(t);return o?{year:dd(o[1]),month:dd(o[2],1)-1,day:dd(o[3],1),hour:dd(o[4]),minute:dd(o[5]),second:dd(o[6]),millisecond:o[7]?dd(o[7].substring(0,3)):0,precision:(n=(i=o[7])==null?void 0:i.length)!=null?n:void 0,z:o[8]||void 0,plusMinus:o[9]||void 0,hourOffset:dd(o[10]),minuteOffset:dd(o[11])}:null}function dd(t,n=0){return Number(t)||n}let eI=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,tI=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,nI=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,aI="^\\d{4}-\\d{2}-\\d{2}",iI="\\d{2}:\\d{2}:\\d{2}",rI="(([+-]\\d{2}(:?\\d{2})?)|Z)",lI=new RegExp(`${aI}T${iI}(\\.\\d+)?${rI}$`),oI=t=>Mg(t)||t===t.trim(),sI={}.toString();function dm(){return new x_}class x_ extends $c{constructor(){super({type:"string",check(n){return n instanceof String&&(n=n.valueOf()),typeof n=="string"}}),this.withMutation(()=>{this.transform((n,i,o)=>{if(!o.spec.coerce||o.isType(n)||Array.isArray(n))return n;const u=n!=null&&n.toString?n.toString():n;return u===sI?n:u})})}required(n){return super.required(n).withMutation(i=>i.test({message:n||jc.required,name:"required",skipAbsent:!0,test:o=>!!o.length}))}notRequired(){return super.notRequired().withMutation(n=>(n.tests=n.tests.filter(i=>i.OPTIONS.name!=="required"),n))}length(n,i=kl.length){return this.test({message:i,name:"length",exclusive:!0,params:{length:n},skipAbsent:!0,test(o){return o.length===this.resolve(n)}})}min(n,i=kl.min){return this.test({message:i,name:"min",exclusive:!0,params:{min:n},skipAbsent:!0,test(o){return o.length>=this.resolve(n)}})}max(n,i=kl.max){return this.test({name:"max",exclusive:!0,message:i,params:{max:n},skipAbsent:!0,test(o){return o.length<=this.resolve(n)}})}matches(n,i){let o=!1,u,h;return i&&(typeof i=="object"?{excludeEmptyString:o=!1,message:u,name:h}=i:u=i),this.test({name:h||"matches",message:u||kl.matches,params:{regex:n},skipAbsent:!0,test:g=>g===""&&o||g.search(n)!==-1})}email(n=kl.email){return this.matches(eI,{name:"email",message:n,excludeEmptyString:!0})}url(n=kl.url){return this.matches(tI,{name:"url",message:n,excludeEmptyString:!0})}uuid(n=kl.uuid){return this.matches(nI,{name:"uuid",message:n,excludeEmptyString:!1})}datetime(n){let i="",o,u;return n&&(typeof n=="object"?{message:i="",allowOffset:o=!1,precision:u=void 0}=n:i=n),this.matches(lI,{name:"datetime",message:i||kl.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:i||kl.datetime_offset,params:{allowOffset:o},skipAbsent:!0,test:h=>{if(!h||o)return!0;const g=dw(h);return g?!!g.z:!1}}).test({name:"datetime_precision",message:i||kl.datetime_precision,params:{precision:u},skipAbsent:!0,test:h=>{if(!h||u==null)return!0;const g=dw(h);return g?g.precision===u:!1}})}ensure(){return this.default("").transform(n=>n===null?"":n)}trim(n=kl.trim){return this.transform(i=>i!=null?i.trim():i).test({message:n,name:"trim",test:oI})}lowercase(n=kl.lowercase){return this.transform(i=>Mg(i)?i:i.toLowerCase()).test({message:n,name:"string_case",exclusive:!0,skipAbsent:!0,test:i=>Mg(i)||i===i.toLowerCase()})}uppercase(n=kl.uppercase){return this.transform(i=>Mg(i)?i:i.toUpperCase()).test({message:n,name:"string_case",exclusive:!0,skipAbsent:!0,test:i=>Mg(i)||i===i.toUpperCase()})}}dm.prototype=x_.prototype;let uI=new Date(""),cI=t=>Object.prototype.toString.call(t)==="[object Date]";class hw extends $c{constructor(){super({type:"date",check(n){return cI(n)&&!isNaN(n.getTime())}}),this.withMutation(()=>{this.transform((n,i,o)=>!o.spec.coerce||o.isType(n)||n===null?n:(n=JG(n),isNaN(n)?hw.INVALID_DATE:new Date(n)))})}prepareParam(n,i){let o;if(Og.isRef(n))o=n;else{let u=this.cast(n);if(!this._typeCheck(u))throw new TypeError(`\`${i}\` must be a Date or a value that can be \`cast()\` to a Date`);o=u}return o}min(n,i=cw.min){let o=this.prepareParam(n,"min");return this.test({message:i,name:"min",exclusive:!0,params:{min:n},skipAbsent:!0,test(u){return u>=this.resolve(o)}})}max(n,i=cw.max){let o=this.prepareParam(n,"max");return this.test({message:i,name:"max",exclusive:!0,params:{max:n},skipAbsent:!0,test(u){return u<=this.resolve(o)}})}}hw.INVALID_DATE=uI;function fI(t,n=[]){let i=[],o=new Set,u=new Set(n.map(([g,v])=>`${g}-${v}`));function h(g,v){let S=Cg.split(g)[0];o.add(S),u.has(`${v}-${S}`)||i.push([v,S])}for(const g of Object.keys(t)){let v=t[g];o.add(g),Og.isRef(v)&&v.isSibling?h(v.path,g):fw(v)&&"deps"in v&&v.deps.forEach(S=>h(S,g))}return PG.array(Array.from(o),i).reverse()}function T_(t,n){let i=1/0;return t.some((o,u)=>{var h;if((h=n.path)!=null&&h.includes(o))return i=u,!0}),i}function E_(t){return(n,i)=>T_(t,n)-T_(t,i)}const dI=(t,n,i)=>{if(typeof t!="string")return t;let o=t;try{o=JSON.parse(t)}catch{}return i.isType(o)?o:t};function Vx(t){if("fields"in t){const n={};for(const[i,o]of Object.entries(t.fields))n[i]=Vx(o);return t.setFields(n)}if(t.type==="array"){const n=t.optional();return n.innerType&&(n.innerType=Vx(n.innerType)),n}return t.type==="tuple"?t.optional().clone({types:t.spec.types.map(Vx)}):"optional"in t?t.optional():t}const hI=(t,n)=>{const i=[...Cg.normalizePath(n)];if(i.length===1)return i[0]in t;let o=i.pop(),u=Cg.getter(Cg.join(i),!0)(t);return!!(u&&o in u)};let A_=t=>Object.prototype.toString.call(t)==="[object Object]";function w_(t,n){let i=Object.keys(t.fields);return Object.keys(n).filter(o=>i.indexOf(o)===-1)}const mI=E_([]);function mw(t){return new C_(t)}class C_ extends $c{constructor(n){super({type:"object",check(i){return A_(i)||typeof i=="function"}}),this.fields=Object.create(null),this._sortErrors=mI,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{n&&this.shape(n)})}_cast(n,i={}){var o;let u=super._cast(n,i);if(u===void 0)return this.getDefault(i);if(!this._typeCheck(u))return u;let h=this.fields,g=(o=i.stripUnknown)!=null?o:this.spec.noUnknown,v=[].concat(this._nodes,Object.keys(u).filter(C=>!this._nodes.includes(C))),S={},E=Object.assign({},i,{parent:S,__validating:i.__validating||!1}),A=!1;for(const C of v){let M=h[C],R=C in u;if(M){let B,L=u[C];E.path=(i.path?`${i.path}.`:"")+C,M=M.resolve({value:L,context:i.context,parent:S});let P=M instanceof $c?M.spec:void 0,U=P==null?void 0:P.strict;if(P!=null&&P.strip){A=A||C in u;continue}B=!i.__validating||!U?M.cast(u[C],E):u[C],B!==void 0&&(S[C]=B)}else R&&!g&&(S[C]=u[C]);(R!==C in S||S[C]!==u[C])&&(A=!0)}return A?S:u}_validate(n,i={},o,u){let{from:h=[],originalValue:g=n,recursive:v=this.spec.recursive}=i;i.from=[{schema:this,value:g},...h],i.__validating=!0,i.originalValue=g,super._validate(n,i,o,(S,E)=>{if(!v||!A_(E)){u(S,E);return}g=g||E;let A=[];for(let C of this._nodes){let M=this.fields[C];!M||Og.isRef(M)||A.push(M.asNestedTest({options:i,key:C,parent:E,parentPath:i.path,originalParent:g}))}this.runTests({tests:A,value:E,originalValue:g,options:i},o,C=>{u(C.sort(this._sortErrors).concat(S),E)})})}clone(n){const i=super.clone(n);return i.fields=Object.assign({},this.fields),i._nodes=this._nodes,i._excludedEdges=this._excludedEdges,i._sortErrors=this._sortErrors,i}concat(n){let i=super.concat(n),o=i.fields;for(let[u,h]of Object.entries(this.fields)){const g=o[u];o[u]=g===void 0?h:g}return i.withMutation(u=>u.setFields(o,[...this._excludedEdges,...n._excludedEdges]))}_getDefault(n){if("default"in this.spec)return super._getDefault(n);if(!this._nodes.length)return;let i={};return this._nodes.forEach(o=>{var u;const h=this.fields[o];let g=n;(u=g)!=null&&u.value&&(g=Object.assign({},g,{parent:g.value,value:g.value[o]})),i[o]=h&&"getDefault"in h?h.getDefault(g):void 0}),i}setFields(n,i){let o=this.clone();return o.fields=n,o._nodes=fI(n,i),o._sortErrors=E_(Object.keys(n)),i&&(o._excludedEdges=i),o}shape(n,i=[]){return this.clone().withMutation(o=>{let u=o._excludedEdges;return i.length&&(Array.isArray(i[0])||(i=[i]),u=[...o._excludedEdges,...i]),o.setFields(Object.assign(o.fields,n),u)})}partial(){const n={};for(const[i,o]of Object.entries(this.fields))n[i]="optional"in o&&o.optional instanceof Function?o.optional():o;return this.setFields(n)}deepPartial(){return Vx(this)}pick(n){const i={};for(const o of n)this.fields[o]&&(i[o]=this.fields[o]);return this.setFields(i,this._excludedEdges.filter(([o,u])=>n.includes(o)&&n.includes(u)))}omit(n){const i=[];for(const o of Object.keys(this.fields))n.includes(o)||i.push(o);return this.pick(i)}from(n,i,o){let u=Cg.getter(n,!0);return this.transform(h=>{if(!h)return h;let g=h;return hI(h,n)&&(g=Object.assign({},h),o||delete g[n],g[i]=u(h)),g})}json(){return this.transform(dI)}exact(n){return this.test({name:"exact",exclusive:!0,message:n||Nx.exact,test(i){if(i==null)return!0;const o=w_(this.schema,i);return o.length===0||this.createError({params:{properties:o.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(n=!0,i=Nx.noUnknown){typeof n!="boolean"&&(i=n,n=!0);let o=this.test({name:"noUnknown",exclusive:!0,message:i,test(u){if(u==null)return!0;const h=w_(this.schema,u);return!n||h.length===0||this.createError({params:{unknown:h.join(", ")}})}});return o.spec.noUnknown=n,o}unknown(n=!0,i=Nx.noUnknown){return this.noUnknown(!n,i)}transformKeys(n){return this.transform(i=>{if(!i)return i;const o={};for(const u of Object.keys(i))o[n(u)]=i[u];return o})}camelCase(){return this.transformKeys(uw.camelCase)}snakeCase(){return this.transformKeys(uw.snakeCase)}constantCase(){return this.transformKeys(n=>uw.snakeCase(n).toUpperCase())}describe(n){const i=(n?this.resolve(n):this).clone(),o=super.describe(n);o.fields={};for(const[h,g]of Object.entries(i.fields)){var u;let v=n;(u=v)!=null&&u.value&&(v=Object.assign({},v,{parent:v.value,value:v.value[h]})),o.fields[h]=g.describe(v)}return o}}mw.prototype=C_.prototype,mw().shape({labelES:dm().required(),label:dm().required(),code:dm().required(),codeISO2:dm().required(),phone:dm().required()});const O_=[{labelES:"Afganistán",label:"Afghanistan",codeISO2:"AF",code:"AFG",phone:"93"},{labelES:"Albania",label:"Albania",codeISO2:"AL",code:"ALB",phone:"355"},{labelES:"Alemania",label:"Germany",codeISO2:"DE",code:"DEU",phone:"49"},{labelES:"Andorra",label:"Andorra",codeISO2:"AD",code:"AND",phone:"376"},{labelES:"Angola",label:"Angola",codeISO2:"AO",code:"AGO",phone:"244"},{labelES:"Anguila",label:"Anguilla",codeISO2:"AI",code:"AIA",phone:"1 264"},{labelES:"Antártida",label:"Antarctica",codeISO2:"AQ",code:"ATA",phone:"672"},{labelES:"Antigua y Barbuda",label:"Antigua and Barbuda",codeISO2:"AG",code:"ATG",phone:"1 268"},{labelES:"Arabia Saudita",label:"Saudi Arabia",codeISO2:"SA",code:"SAU",phone:"966"},{labelES:"Argelia",label:"Algeria",codeISO2:"DZ",code:"DZA",phone:"213"},{labelES:"Argentina",label:"Argentina",codeISO2:"AR",code:"ARG",phone:"54"},{labelES:"Armenia",label:"Armenia",codeISO2:"AM",code:"ARM",phone:"374"},{labelES:"Aruba",label:"Aruba",codeISO2:"AW",code:"ABW",phone:"297"},{labelES:"Australia",label:"Australia",codeISO2:"AU",code:"AUS",phone:"61"},{labelES:"Austria",label:"Austria",codeISO2:"AT",code:"AUT",phone:"43"},{labelES:"Azerbaiyán",label:"Azerbaijan",codeISO2:"AZ",code:"AZE",phone:"994"},{labelES:"Bélgica",label:"Belgium",codeISO2:"BE",code:"BEL",phone:"32"},{labelES:"Bahamas",label:"Bahamas",codeISO2:"BS",code:"BHS",phone:"1 242"},{labelES:"Bahrein",label:"Bahrain",codeISO2:"BH",code:"BHR",phone:"973"},{labelES:"Bangladesh",label:"Bangladesh",codeISO2:"BD",code:"BGD",phone:"880"},{labelES:"Barbados",label:"Barbados",codeISO2:"BB",code:"BRB",phone:"1 246"},{labelES:"Belice",label:"Belize",codeISO2:"BZ",code:"BLZ",phone:"501"},{labelES:"Benín",label:"Benin",codeISO2:"BJ",code:"BEN",phone:"229"},{labelES:"Bhután",label:"Bhutan",codeISO2:"BT",code:"BTN",phone:"975"},{labelES:"Bielorrusia",label:"Belarus",codeISO2:"BY",code:"BLR",phone:"375"},{labelES:"Birmania",label:"Myanmar",codeISO2:"MM",code:"MMR",phone:"95"},{labelES:"Bolivia",label:"Bolivia",codeISO2:"BO",code:"BOL",phone:"591"},{labelES:"Bosnia y Herzegovina",label:"Bosnia and Herzegovina",codeISO2:"BA",code:"BIH",phone:"387"},{labelES:"Botsuana",label:"Botswana",codeISO2:"BW",code:"BWA",phone:"267"},{labelES:"Brasil",label:"Brazil",codeISO2:"BR",code:"BRA",phone:"55"},{labelES:"Brunéi",label:"Brunei",codeISO2:"BN",code:"BRN",phone:"673"},{labelES:"Bulgaria",label:"Bulgaria",codeISO2:"BG",code:"BGR",phone:"359"},{labelES:"Burkina Faso",label:"Burkina Faso",codeISO2:"BF",code:"BFA",phone:"226"},{labelES:"Burundi",label:"Burundi",codeISO2:"BI",code:"BDI",phone:"257"},{labelES:"Cabo Verde",label:"Cape Verde",codeISO2:"CV",code:"CPV",phone:"238"},{labelES:"Camboya",label:"Cambodia",codeISO2:"KH",code:"KHM",phone:"855"},{labelES:"Camerún",label:"Cameroon",codeISO2:"CM",code:"CMR",phone:"237"},{labelES:"Canadá",label:"Canada",codeISO2:"CA",code:"CAN",phone:"1"},{labelES:"Chad",label:"Chad",codeISO2:"TD",code:"TCD",phone:"235"},{labelES:"Chile",label:"Chile",codeISO2:"CL",code:"CHL",phone:"56"},{labelES:"China",label:"China",codeISO2:"CN",code:"CHN",phone:"86"},{labelES:"Chipre",label:"Cyprus",codeISO2:"CY",code:"CYP",phone:"357"},{labelES:"Ciudad del Vaticano",label:"Vatican City State",codeISO2:"VA",code:"VAT",phone:"39"},{labelES:"Colombia",label:"Colombia",codeISO2:"CO",code:"COL",phone:"57"},{labelES:"Comoras",label:"Comoros",codeISO2:"KM",code:"COM",phone:"269"},{labelES:"República del Congo",label:"Republic of the Congo",codeISO2:"CG",code:"COG",phone:"242"},{labelES:"República Democrática del Congo",label:"Democratic Republic of the Congo",codeISO2:"CD",code:"COD",phone:"243"},{labelES:"Corea del Norte",label:"North Korea",codeISO2:"KP",code:"PRK",phone:"850"},{labelES:"Corea del Sur",label:"South Korea",codeISO2:"KR",code:"KOR",phone:"82"},{labelES:"Costa de Marfil",label:"Ivory Coast",codeISO2:"CI",code:"CIV",phone:"225"},{labelES:"Costa Rica",label:"Costa Rica",codeISO2:"CR",code:"CRI",phone:"506"},{labelES:"Croacia",label:"Croatia",codeISO2:"HR",code:"HRV",phone:"385"},{labelES:"Cuba",label:"Cuba",codeISO2:"CU",code:"CUB",phone:"53"},{labelES:"Curazao",label:"Curaçao",codeISO2:"CW",code:"CWU",phone:"5999"},{labelES:"Dinamarca",label:"Denmark",codeISO2:"DK",code:"DNK",phone:"45"},{labelES:"Dominica",label:"Dominica",codeISO2:"DM",code:"DMA",phone:"1 767"},{labelES:"Ecuador",label:"Ecuador",codeISO2:"EC",code:"ECU",phone:"593"},{labelES:"Egipto",label:"Egypt",codeISO2:"EG",code:"EGY",phone:"20"},{labelES:"El Salvador",label:"El Salvador",codeISO2:"SV",code:"SLV",phone:"503"},{labelES:"Emiratos Árabes Unidos",label:"United Arab Emirates",codeISO2:"AE",code:"ARE",phone:"971"},{labelES:"Eritrea",label:"Eritrea",codeISO2:"ER",code:"ERI",phone:"291"},{labelES:"Eslovaquia",label:"Slovakia",codeISO2:"SK",code:"SVK",phone:"421"},{labelES:"Eslovenia",label:"Slovenia",codeISO2:"SI",code:"SVN",phone:"386"},{labelES:"España",label:"Spain",codeISO2:"ES",code:"ESP",phone:"34"},{labelES:"Estados Unidos de América",label:"United States of America",codeISO2:"US",code:"USA",phone:"1"},{labelES:"Estonia",label:"Estonia",codeISO2:"EE",code:"EST",phone:"372"},{labelES:"Etiopía",label:"Ethiopia",codeISO2:"ET",code:"ETH",phone:"251"},{labelES:"Filipinas",label:"Philippines",codeISO2:"PH",code:"PHL",phone:"63"},{labelES:"Finlandia",label:"Finland",codeISO2:"FI",code:"FIN",phone:"358"},{labelES:"Fiyi",label:"Fiji",codeISO2:"FJ",code:"FJI",phone:"679"},{labelES:"Francia",label:"France",codeISO2:"FR",code:"FRA",phone:"33"},{labelES:"Gabón",label:"Gabon",codeISO2:"GA",code:"GAB",phone:"241"},{labelES:"Gambia",label:"Gambia",codeISO2:"GM",code:"GMB",phone:"220"},{labelES:"Georgia",label:"Georgia",codeISO2:"GE",code:"GEO",phone:"995"},{labelES:"Ghana",label:"Ghana",codeISO2:"GH",code:"GHA",phone:"233"},{labelES:"Gibraltar",label:"Gibraltar",codeISO2:"GI",code:"GIB",phone:"350"},{labelES:"Granada",label:"Grenada",codeISO2:"GD",code:"GRD",phone:"1 473"},{labelES:"Grecia",label:"Greece",codeISO2:"GR",code:"GRC",phone:"30"},{labelES:"Groenlandia",label:"Greenland",codeISO2:"GL",code:"GRL",phone:"299"},{labelES:"Guadalupe",label:"Guadeloupe",codeISO2:"GP",code:"GLP",phone:"590"},{labelES:"Guam",label:"Guam",codeISO2:"GU",code:"GUM",phone:"1 671"},{labelES:"Guatemala",label:"Guatemala",codeISO2:"GT",code:"GTM",phone:"502"},{labelES:"Guayana Francesa",label:"French Guiana",codeISO2:"GF",code:"GUF",phone:"594"},{labelES:"Guernsey",label:"Guernsey",codeISO2:"GG",code:"GGY",phone:"44"},{labelES:"Guinea",label:"Guinea",codeISO2:"GN",code:"GIN",phone:"224"},{labelES:"Guinea Ecuatorial",label:"Equatorial Guinea",codeISO2:"GQ",code:"GNQ",phone:"240"},{labelES:"Guinea-Bissau",label:"Guinea-Bissau",codeISO2:"GW",code:"GNB",phone:"245"},{labelES:"Guyana",label:"Guyana",codeISO2:"GY",code:"GUY",phone:"592"},{labelES:"Haití",label:"Haiti",codeISO2:"HT",code:"HTI",phone:"509"},{labelES:"Honduras",label:"Honduras",codeISO2:"HN",code:"HND",phone:"504"},{labelES:"Hong kong",label:"Hong Kong",codeISO2:"HK",code:"HKG",phone:"852"},{labelES:"Hungría",label:"Hungary",codeISO2:"HU",code:"HUN",phone:"36"},{labelES:"India",label:"India",codeISO2:"IN",code:"IND",phone:"91"},{labelES:"Indonesia",label:"Indonesia",codeISO2:"ID",code:"IDN",phone:"62"},{labelES:"Irán",label:"Iran",codeISO2:"IR",code:"IRN",phone:"98"},{labelES:"Irak",label:"Iraq",codeISO2:"IQ",code:"IRQ",phone:"964"},{labelES:"Irlanda",label:"Ireland",codeISO2:"IE",code:"IRL",phone:"353"},{labelES:"Isla Bouvet",label:"Bouvet Island",codeISO2:"BV",code:"BVT",phone:""},{labelES:"Isla de Man",label:"Isle of Man",codeISO2:"IM",code:"IMN",phone:"44"},{labelES:"Isla de Navidad",label:"Christmas Island",codeISO2:"CX",code:"CXR",phone:"61"},{labelES:"Isla Norfolk",label:"Norfolk Island",codeISO2:"NF",code:"NFK",phone:"672"},{labelES:"Islandia",label:"Iceland",codeISO2:"IS",code:"ISL",phone:"354"},{labelES:"Islas Bermudas",label:"Bermuda Islands",codeISO2:"BM",code:"BMU",phone:"1 441"},{labelES:"Islas Caimán",label:"Cayman Islands",codeISO2:"KY",code:"CYM",phone:"1 345"},{labelES:"Islas Cocos (Keeling)",label:"Cocos (Keeling) Islands",codeISO2:"CC",code:"CCK",phone:"61"},{labelES:"Islas Cook",label:"Cook Islands",codeISO2:"CK",code:"COK",phone:"682"},{labelES:"Islas de Åland",label:"Åland Islands",codeISO2:"AX",code:"ALA",phone:"358"},{labelES:"Islas Feroe",label:"Faroe Islands",codeISO2:"FO",code:"FRO",phone:"298"},{labelES:"Islas Georgias del Sur y Sandwich del Sur",label:"South Georgia and the South Sandwich Islands",codeISO2:"GS",code:"SGS",phone:"500"},{labelES:"Islas Heard y McDonald",label:"Heard Island and McDonald Islands",codeISO2:"HM",code:"HMD",phone:""},{labelES:"Islas Maldivas",label:"Maldives",codeISO2:"MV",code:"MDV",phone:"960"},{labelES:"Islas Malvinas",label:"Falkland Islands (Malvinas)",codeISO2:"FK",code:"FLK",phone:"500"},{labelES:"Islas Marianas del Norte",label:"Northern Mariana Islands",codeISO2:"MP",code:"MNP",phone:"1 670"},{labelES:"Islas Marshall",label:"Marshall Islands",codeISO2:"MH",code:"MHL",phone:"692"},{labelES:"Islas Pitcairn",label:"Pitcairn Islands",codeISO2:"PN",code:"PCN",phone:"870"},{labelES:"Islas Salomón",label:"Solomon Islands",codeISO2:"SB",code:"SLB",phone:"677"},{labelES:"Islas Turcas y Caicos",label:"Turks and Caicos Islands",codeISO2:"TC",code:"TCA",phone:"1 649"},{labelES:"Islas Ultramarinas Menores de Estados Unidos",label:"United States Minor Outlying Islands",codeISO2:"UM",code:"UMI",phone:"246"},{labelES:"Islas Vírgenes Británicas",label:"Virgin Islands",codeISO2:"VG",code:"VGB",phone:"1 284"},{labelES:"Islas Vírgenes de los Estados Unidos",label:"United States Virgin Islands",codeISO2:"VI",code:"VIR",phone:"1 340"},{labelES:"Israel",label:"Israel",codeISO2:"IL",code:"ISR",phone:"972"},{labelES:"Italia",label:"Italy",codeISO2:"IT",code:"ITA",phone:"39"},{labelES:"Jamaica",label:"Jamaica",codeISO2:"JM",code:"JAM",phone:"1 876"},{labelES:"Japón",label:"Japan",codeISO2:"JP",code:"JPN",phone:"81"},{labelES:"Jersey",label:"Jersey",codeISO2:"JE",code:"JEY",phone:"44"},{labelES:"Jordania",label:"Jordan",codeISO2:"JO",code:"JOR",phone:"962"},{labelES:"Kazajistán",label:"Kazakhstan",codeISO2:"KZ",code:"KAZ",phone:"7"},{labelES:"Kenia",label:"Kenya",codeISO2:"KE",code:"KEN",phone:"254"},{labelES:"Kirguistán",label:"Kyrgyzstan",codeISO2:"KG",code:"KGZ",phone:"996"},{labelES:"Kiribati",label:"Kiribati",codeISO2:"KI",code:"KIR",phone:"686"},{labelES:"Kuwait",label:"Kuwait",codeISO2:"KW",code:"KWT",phone:"965"},{labelES:"Líbano",label:"Lebanon",codeISO2:"LB",code:"LBN",phone:"961"},{labelES:"Laos",label:"Laos",codeISO2:"LA",code:"LAO",phone:"856"},{labelES:"Lesoto",label:"Lesotho",codeISO2:"LS",code:"LSO",phone:"266"},{labelES:"Letonia",label:"Latvia",codeISO2:"LV",code:"LVA",phone:"371"},{labelES:"Liberia",label:"Liberia",codeISO2:"LR",code:"LBR",phone:"231"},{labelES:"Libia",label:"Libya",codeISO2:"LY",code:"LBY",phone:"218"},{labelES:"Liechtenstein",label:"Liechtenstein",codeISO2:"LI",code:"LIE",phone:"423"},{labelES:"Lituania",label:"Lithuania",codeISO2:"LT",code:"LTU",phone:"370"},{labelES:"Luxemburgo",label:"Luxembourg",codeISO2:"LU",code:"LUX",phone:"352"},{labelES:"México",label:"Mexico",codeISO2:"MX",code:"MEX",phone:"52"},{labelES:"Mónaco",label:"Monaco",codeISO2:"MC",code:"MCO",phone:"377"},{labelES:"Macao",label:"Macao",codeISO2:"MO",code:"MAC",phone:"853"},{labelES:"Macedônia",label:"Macedonia",codeISO2:"MK",code:"MKD",phone:"389"},{labelES:"Madagascar",label:"Madagascar",codeISO2:"MG",code:"MDG",phone:"261"},{labelES:"Malasia",label:"Malaysia",codeISO2:"MY",code:"MYS",phone:"60"},{labelES:"Malawi",label:"Malawi",codeISO2:"MW",code:"MWI",phone:"265"},{labelES:"Mali",label:"Mali",codeISO2:"ML",code:"MLI",phone:"223"},{labelES:"Malta",label:"Malta",codeISO2:"MT",code:"MLT",phone:"356"},{labelES:"Marruecos",label:"Morocco",codeISO2:"MA",code:"MAR",phone:"212"},{labelES:"Martinica",label:"Martinique",codeISO2:"MQ",code:"MTQ",phone:"596"},{labelES:"Mauricio",label:"Mauritius",codeISO2:"MU",code:"MUS",phone:"230"},{labelES:"Mauritania",label:"Mauritania",codeISO2:"MR",code:"MRT",phone:"222"},{labelES:"Mayotte",label:"Mayotte",codeISO2:"YT",code:"MYT",phone:"262"},{labelES:"Micronesia",label:"Estados Federados de",codeISO2:"FM",code:"FSM",phone:"691"},{labelES:"Moldavia",label:"Moldova",codeISO2:"MD",code:"MDA",phone:"373"},{labelES:"Mongolia",label:"Mongolia",codeISO2:"MN",code:"MNG",phone:"976"},{labelES:"Montenegro",label:"Montenegro",codeISO2:"ME",code:"MNE",phone:"382"},{labelES:"Montserrat",label:"Montserrat",codeISO2:"MS",code:"MSR",phone:"1 664"},{labelES:"Mozambique",label:"Mozambique",codeISO2:"MZ",code:"MOZ",phone:"258"},{labelES:"Namibia",label:"Namibia",codeISO2:"NA",code:"NAM",phone:"264"},{labelES:"Nauru",label:"Nauru",codeISO2:"NR",code:"NRU",phone:"674"},{labelES:"Nepal",label:"Nepal",codeISO2:"NP",code:"NPL",phone:"977"},{labelES:"Nicaragua",label:"Nicaragua",codeISO2:"NI",code:"NIC",phone:"505"},{labelES:"Niger",label:"Niger",codeISO2:"NE",code:"NER",phone:"227"},{labelES:"Nigeria",label:"Nigeria",codeISO2:"NG",code:"NGA",phone:"234"},{labelES:"Niue",label:"Niue",codeISO2:"NU",code:"NIU",phone:"683"},{labelES:"Noruega",label:"Norway",codeISO2:"NO",code:"NOR",phone:"47"},{labelES:"Nueva Caledonia",label:"New Caledonia",codeISO2:"NC",code:"NCL",phone:"687"},{labelES:"Nueva Zelanda",label:"New Zealand",codeISO2:"NZ",code:"NZL",phone:"64"},{labelES:"Omán",label:"Oman",codeISO2:"OM",code:"OMN",phone:"968"},{labelES:"Países Bajos",label:"Netherlands",codeISO2:"NL",code:"NLD",phone:"31"},{labelES:"Pakistán",label:"Pakistan",codeISO2:"PK",code:"PAK",phone:"92"},{labelES:"Palau",label:"Palau",codeISO2:"PW",code:"PLW",phone:"680"},{labelES:"Palestina",label:"Palestine",codeISO2:"PS",code:"PSE",phone:"970"},{labelES:"Panamá",label:"Panama",codeISO2:"PA",code:"PAN",phone:"507"},{labelES:"Papúa Nueva Guinea",label:"Papua New Guinea",codeISO2:"PG",code:"PNG",phone:"675"},{labelES:"Paraguay",label:"Paraguay",codeISO2:"PY",code:"PRY",phone:"595"},{labelES:"Perú",label:"Peru",codeISO2:"PE",code:"PER",phone:"51"},{labelES:"Polinesia Francesa",label:"French Polynesia",codeISO2:"PF",code:"PYF",phone:"689"},{labelES:"Polonia",label:"Poland",codeISO2:"PL",code:"POL",phone:"48"},{labelES:"Portugal",label:"Portugal",codeISO2:"PT",code:"PRT",phone:"351"},{labelES:"Puerto Rico",label:"Puerto Rico",codeISO2:"PR",code:"PRI",phone:"1"},{labelES:"Qatar",label:"Qatar",codeISO2:"QA",code:"QAT",phone:"974"},{labelES:"Reino Unido",label:"United Kingdom",codeISO2:"GB",code:"GBR",phone:"44"},{labelES:"República Centroafricana",label:"Central African Republic",codeISO2:"CF",code:"CAF",phone:"236"},{labelES:"República Checa",label:"Czech Republic",codeISO2:"CZ",code:"CZE",phone:"420"},{labelES:"República Dominicana",label:"Dominican Republic",codeISO2:"DO",code:"DOM",phone:"1 809"},{labelES:"República de Sudán del Sur",label:"South Sudan",codeISO2:"SS",code:"SSD",phone:"211"},{labelES:"Reunión",label:"Réunion",codeISO2:"RE",code:"REU",phone:"262"},{labelES:"Ruanda",label:"Rwanda",codeISO2:"RW",code:"RWA",phone:"250"},{labelES:"Rumanía",label:"Romania",codeISO2:"RO",code:"ROU",phone:"40"},{labelES:"Rusia",label:"Russia",codeISO2:"RU",code:"RUS",phone:"7"},{labelES:"Sahara Occidental",label:"Western Sahara",codeISO2:"EH",code:"ESH",phone:"212"},{labelES:"Samoa",label:"Samoa",codeISO2:"WS",code:"WSM",phone:"685"},{labelES:"Samoa Americana",label:"American Samoa",codeISO2:"AS",code:"ASM",phone:"1 684"},{labelES:"San Bartolomé",label:"Saint Barthélemy",codeISO2:"BL",code:"BLM",phone:"590"},{labelES:"San Cristóbal y Nieves",label:"Saint Kitts and Nevis",codeISO2:"KN",code:"KNA",phone:"1 869"},{labelES:"San Marino",label:"San Marino",codeISO2:"SM",code:"SMR",phone:"378"},{labelES:"San Martín (Francia)",label:"Saint Martin (French part)",codeISO2:"MF",code:"MAF",phone:"1 599"},{labelES:"San Pedro y Miquelón",label:"Saint Pierre and Miquelon",codeISO2:"PM",code:"SPM",phone:"508"},{labelES:"San Vicente y las Granadinas",label:"Saint Vincent and the Grenadines",codeISO2:"VC",code:"VCT",phone:"1 784"},{labelES:"Santa Elena",label:"Ascensión y Tristán de Acuña",codeISO2:"SH",code:"SHN",phone:"290"},{labelES:"Santa Lucía",label:"Saint Lucia",codeISO2:"LC",code:"LCA",phone:"1 758"},{labelES:"Santo Tomé y Príncipe",label:"Sao Tome and Principe",codeISO2:"ST",code:"STP",phone:"239"},{labelES:"Senegal",label:"Senegal",codeISO2:"SN",code:"SEN",phone:"221"},{labelES:"Serbia",label:"Serbia",codeISO2:"RS",code:"SRB",phone:"381"},{labelES:"Seychelles",label:"Seychelles",codeISO2:"SC",code:"SYC",phone:"248"},{labelES:"Sierra Leona",label:"Sierra Leone",codeISO2:"SL",code:"SLE",phone:"232"},{labelES:"Singapur",label:"Singapore",codeISO2:"SG",code:"SGP",phone:"65"},{labelES:"Sint Maarten",label:"Sint Maarten",codeISO2:"SX",code:"SMX",phone:"1 721"},{labelES:"Siria",label:"Syria",codeISO2:"SY",code:"SYR",phone:"963"},{labelES:"Somalia",label:"Somalia",codeISO2:"SO",code:"SOM",phone:"252"},{labelES:"Sri lanka",label:"Sri Lanka",codeISO2:"LK",code:"LKA",phone:"94"},{labelES:"Sudáfrica",label:"South Africa",codeISO2:"ZA",code:"ZAF",phone:"27"},{labelES:"Sudán",label:"Sudan",codeISO2:"SD",code:"SDN",phone:"249"},{labelES:"Suecia",label:"Sweden",codeISO2:"SE",code:"SWE",phone:"46"},{labelES:"Suiza",label:"Switzerland",codeISO2:"CH",code:"CHE",phone:"41"},{labelES:"Surinám",label:"Suriname",codeISO2:"SR",code:"SUR",phone:"597"},{labelES:"Svalbard y Jan Mayen",label:"Svalbard and Jan Mayen",codeISO2:"SJ",code:"SJM",phone:"47"},{labelES:"Swazilandia",label:"Swaziland",codeISO2:"SZ",code:"SWZ",phone:"268"},{labelES:"Tayikistán",label:"Tajikistan",codeISO2:"TJ",code:"TJK",phone:"992"},{labelES:"Tailandia",label:"Thailand",codeISO2:"TH",code:"THA",phone:"66"},{labelES:"Taiwán",label:"Taiwan",codeISO2:"TW",code:"TWN",phone:"886"},{labelES:"Tanzania",label:"Tanzania",codeISO2:"TZ",code:"TZA",phone:"255"},{labelES:"Territorio Británico del Océano Índico",label:"British Indian Ocean Territory",codeISO2:"IO",code:"IOT",phone:"246"},{labelES:"Territorios Australes y Antárticas Franceses",label:"French Southern Territories",codeISO2:"TF",code:"ATF",phone:""},{labelES:"Timor Oriental",label:"East Timor",codeISO2:"TL",code:"TLS",phone:"670"},{labelES:"Togo",label:"Togo",codeISO2:"TG",code:"TGO",phone:"228"},{labelES:"Tokelau",label:"Tokelau",codeISO2:"TK",code:"TKL",phone:"690"},{labelES:"Tonga",label:"Tonga",codeISO2:"TO",code:"TON",phone:"676"},{labelES:"Trinidad y Tobago",label:"Trinidad and Tobago",codeISO2:"TT",code:"TTO",phone:"1 868"},{labelES:"Tunez",label:"Tunisia",codeISO2:"TN",code:"TUN",phone:"216"},{labelES:"Turkmenistán",label:"Turkmenistan",codeISO2:"TM",code:"TKM",phone:"993"},{labelES:"Turquía",label:"Turkey",codeISO2:"TR",code:"TUR",phone:"90"},{labelES:"Tuvalu",label:"Tuvalu",codeISO2:"TV",code:"TUV",phone:"688"},{labelES:"Ucrania",label:"Ukraine",codeISO2:"UA",code:"UKR",phone:"380"},{labelES:"Uganda",label:"Uganda",codeISO2:"UG",code:"UGA",phone:"256"},{labelES:"Uruguay",label:"Uruguay",codeISO2:"UY",code:"URY",phone:"598"},{labelES:"Uzbekistán",label:"Uzbekistan",codeISO2:"UZ",code:"UZB",phone:"998"},{labelES:"Vanuatu",label:"Vanuatu",codeISO2:"VU",code:"VUT",phone:"678"},{labelES:"Venezuela",label:"Venezuela",codeISO2:"VE",code:"VEN",phone:"58"},{labelES:"Vietnam",label:"Vietnam",codeISO2:"VN",code:"VNM",phone:"84"},{labelES:"Wallis y Futuna",label:"Wallis and Futuna",codeISO2:"WF",code:"WLF",phone:"681"},{labelES:"Yemen",label:"Yemen",codeISO2:"YE",code:"YEM",phone:"967"},{labelES:"Yibuti",label:"Djibouti",codeISO2:"DJ",code:"DJI",phone:"253"},{labelES:"Zambia",label:"Zambia",codeISO2:"ZM",code:"ZMB",phone:"260"},{labelES:"Zimbabue",label:"Zimbabwe",codeISO2:"ZW",code:"ZWE",phone:"263"}],pI=({countries:t=O_,name:n,control:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",className:g="",translateKey:v})=>{var yt,un,Ge;const{t:S}=ca(),{field:E,fieldState:A}=Gh.useController({name:n,control:i,rules:{validate:{}},defaultValue:null}),[C,M]=ee.useState(!1),[R,B]=ee.useState(""),[L,P]=ee.useState(E.value||null),U=ee.useRef(null),G=ee.useRef(null),q=ee.useRef(null),{x:J,y:Y,strategy:le,refs:me,context:pe,placement:ve,middlewareData:He}=vb({open:C,onOpenChange:M,middleware:[hb(8),pb(),mb({padding:8}),Ox({apply({availableHeight:nt,elements:Jt}){Object.assign(Jt.floating.style,{maxHeight:`${Math.min(nt-10,300)}px`})},padding:8}),Mx({element:G})],placement:"bottom-start",whileElementsMounted:db}),Be=gb(pe),Pe=yb(pe),{getReferenceProps:Qe,getFloatingProps:Xe}=bb([Be,Pe]),{isMounted:qe,styles:F}=Sb(pe,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),oe=(Array.isArray(t)?t:[]).filter(nt=>{if(!R.trim())return!0;const Jt=h==="es"&&nt.labelES?nt.labelES.toLowerCase():nt.label.toLowerCase(),wa=nt.code?nt.code.toLowerCase():"";return Jt.includes(R.toLowerCase())||wa.includes(R.toLowerCase())}),Me=nt=>{P(nt),M(!1),B(""),E.onChange(nt)},X=()=>{M(!C),!C&&U.current&&setTimeout(()=>{var nt;(nt=U.current)==null||nt.focus()},100)},fe=()=>{setTimeout(()=>{C||E.onBlur()},200)};ee.useEffect(()=>{P(E.value)},[E.value]),ee.useEffect(()=>{const nt=Jt=>{q.current&&!q.current.contains(Jt.target)&&E.onBlur()};return document.addEventListener("mousedown",nt),()=>{document.removeEventListener("mousedown",nt)}},[E]);const Ae=nt=>{var Jt;return nt?nt.codeISO2?nt.codeISO2.toLowerCase():((Jt=nt.code)==null?void 0:Jt.toLowerCase())||"":""},je=(yt=He.arrow)==null?void 0:yt.x,Ye=(un=He.arrow)==null?void 0:un.y,Le={top:"bottom",right:"left",bottom:"top",left:"right"}[ve.split("-")[0]],Ue=Qe({onClick:X,onBlur:fe}),et=S(o),We=S(u),it=(Ge=A.error)==null?void 0:Ge.message;return V.jsxs("div",{ref:q,className:`w-full relative flex flex-col gap-8 ${g}`,children:[V.jsx("label",{className:`text-gray-600 font-600 group ${it&&"!text-red-500"} text-label`,children:et}),V.jsxs("div",{ref:me.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer border transition-all duration-200 hover:border-blue-400 ${it&&"border-red-500 hover:border-red-600"} ${qe?"border-blue-400":"border-blue-100"}`,...Ue,tabIndex:0,children:[L!=null&&L.code?V.jsxs("div",{className:"flex items-center w-full",children:[Ae(L)&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${Ae(L)}.png`,srcSet:`https://flagcdn.com/w40/${Ae(L)}.png 2x`,alt:L.label,onError:nt=>{nt.currentTarget.style.display="none"}}),V.jsxs("span",{className:"flex-grow",children:[h==="es"&&L.labelES?L.labelES:L.label,L.code?` (${L.code})`:S("select_country")]})]}):V.jsx("span",{className:"text-gray-500",children:We}),V.jsx("svg",{className:`w-16 h-16 transition-transform ${C?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),it&&V.jsx("p",{className:"mt-1 text-sm text-red-600",children:S(it,{x:S(v||"")||S(n)})}),qe&&V.jsxs("div",{ref:me.setFloating,style:{position:le,top:Y??0,left:J??0,...F},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...Xe(),children:[V.jsx("div",{ref:G,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:je!=null?`${je}px`:"",top:Ye!=null?`${Ye}px`:"",right:"",bottom:"",[Le]:"-2px",borderRight:Le==="left"?"1px solid":"none",borderBottom:Le==="top"?"1px solid":"none",borderLeft:Le==="right"?"1px solid":"none",borderTop:Le==="bottom"?"1px solid":"none"}}),V.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:V.jsx("input",{ref:U,type:"text",className:"w-full p-16",placeholder:S("search")+"...",value:R,onChange:nt=>B(nt.target.value),onClick:nt=>nt.stopPropagation(),onBlur:nt=>{nt.stopPropagation()},autoFocus:!0})}),V.jsx("div",{children:oe.length>0?V.jsx("ul",{className:"flex flex-col",children:oe.map((nt,Jt)=>{var pr;const wa=nt.codeISO2?nt.codeISO2.toLowerCase():((pr=nt.code)==null?void 0:pr.toLowerCase())||"";return V.jsxs("li",{className:"flex items-center gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:gn=>{gn.stopPropagation(),Me(nt)},children:[wa&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${wa}.png`,srcSet:`https://flagcdn.com/w40/${wa}.png 2x`,alt:nt.label,onError:gn=>{gn.currentTarget.style.display="none"}}),V.jsxs("span",{children:[h==="es"&&nt.labelES?nt.labelES:nt.label,nt.code?` (${nt.code})`:"Country not found"]})]},`${nt.code}-${Jt}`)})}):V.jsx("div",{className:"px-3 py-2 text-gray-500",children:S("no_countries_found")})})]})]})},gI=({country:t})=>{const n=i=>{var o;return i?i.codeISO2?i.codeISO2.toLowerCase():((o=i.code)==null?void 0:o.toLowerCase())||"":""};return V.jsxs("div",{className:"flex items-center gap-8",children:[V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${n(t)}.png`,srcSet:`https://flagcdn.com/w40/${n(t)}.png 2x`,alt:t.label,onError:i=>{i.currentTarget.style.display="none"}}),V.jsx("p",{className:"text-body-s text-gray-600",children:t.label})]})},yI=({countries:t,name:n,control:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",className:g=""})=>{const{t:v}=ca();return V.jsx(Gh.Controller,{name:n,control:i,render:({field:{onChange:S,value:E},fieldState:{error:A}})=>V.jsx(vI,{countries:t,value:E,onChange:S,label:v(o),placeholder:v(u),language:h,error:A==null?void 0:A.message,className:g})})},vI=({countries:t,value:n,onChange:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",error:g,className:v=""})=>{var je,Ye;const{t:S}=ca(),[E,A]=ee.useState(!1),[C,M]=ee.useState(""),[R,B]=ee.useState(n||null),L=ee.useRef(null),P=ee.useRef(null),{x:U,y:G,strategy:q,refs:J,context:Y,placement:le,middlewareData:me}=vb({open:E,onOpenChange:A,middleware:[hb(8),pb(),mb({padding:8}),Ox({apply({availableHeight:Le,elements:Ue}){Object.assign(Ue.floating.style,{maxHeight:`${Math.min(Le-10,300)}px`})},padding:8}),Mx({element:P})],placement:"bottom-start",whileElementsMounted:db}),pe=gb(Y),ve=yb(Y),{getReferenceProps:He,getFloatingProps:Be}=bb([pe,ve]),{isMounted:Pe,styles:Qe}=Sb(Y,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),qe=(Array.isArray(t)?t:[]).filter(Le=>{if(!C.trim())return!0;const Ue=h==="es"&&Le.labelES?Le.labelES.toLowerCase():Le.label.toLowerCase(),et=Le.code?Le.code.toLowerCase():"";return Ue.includes(C.toLowerCase())||et.includes(C.toLowerCase())}),F=Le=>{B(Le),A(!1),M(""),i(Le)},ne=()=>{A(!E),!E&&L.current&&setTimeout(()=>{var Le;(Le=L.current)==null||Le.focus()},100)};ee.useEffect(()=>{B(n)},[n]);const oe=Le=>{var Ue;return Le?Le.codeISO2?Le.codeISO2.toLowerCase():((Ue=Le.code)==null?void 0:Ue.toLowerCase())||"":""},Me=(je=me.arrow)==null?void 0:je.x,X=(Ye=me.arrow)==null?void 0:Ye.y,fe={top:"bottom",right:"left",bottom:"top",left:"right"}[le.split("-")[0]],Ae=He({onClick:ne});return V.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${v}`,children:[V.jsx("label",{className:`text-gray-600 font-600 group ${g&&"!text-red-500"} text-label`,children:o}),V.jsxs("div",{ref:J.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer border transition-all duration-200 hover:border-blue-400 ${g&&"border-red-500 hover:border-red-600"} ${Pe?"border-blue-400":"border-blue-100"}`,...Ae,children:[R!=null&&R.code?V.jsxs("div",{className:"flex items-center w-full",children:[oe(R)&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${oe(R)}.png`,srcSet:`https://flagcdn.com/w40/${oe(R)}.png 2x`,alt:R.label,onError:Le=>{Le.currentTarget.style.display="none"}}),V.jsxs("span",{className:"flex-grow",children:[h==="es"&&R.labelES?R.labelES:R.label,R.code?` (${R.code})`:S("select_country")]})]}):V.jsx("span",{className:"text-gray-500",children:u}),V.jsx("svg",{className:`w-16 h-16 transition-transform ${E?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),g&&V.jsx("p",{className:"mt-1 text-sm text-red-600",children:g}),Pe&&V.jsxs("div",{ref:J.setFloating,style:{position:q,top:G??0,left:U??0,...Qe},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...Be(),children:[V.jsx("div",{ref:P,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:Me!=null?`${Me}px`:"",top:X!=null?`${X}px`:"",right:"",bottom:"",[fe]:"-2px",borderRight:fe==="left"?"1px solid":"none",borderBottom:fe==="top"?"1px solid":"none",borderLeft:fe==="right"?"1px solid":"none",borderTop:fe==="bottom"?"1px solid":"none"}}),V.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:V.jsx("input",{ref:L,type:"text",className:"w-full p-16",placeholder:S("search")+"...",value:C,onChange:Le=>M(Le.target.value),onClick:Le=>Le.stopPropagation(),autoFocus:!0})}),V.jsx("div",{children:qe.length>0?V.jsx("ul",{className:"flex flex-col",children:qe.map((Le,Ue)=>{var We;const et=Le.codeISO2?Le.codeISO2.toLowerCase():((We=Le.code)==null?void 0:We.toLowerCase())||"";return V.jsxs("li",{className:"flex items-center gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:it=>{it.stopPropagation(),F(Le)},children:[et&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${et}.png`,srcSet:`https://flagcdn.com/w40/${et}.png 2x`,alt:Le.label,onError:it=>{it.currentTarget.style.display="none"}}),V.jsxs("span",{children:[h==="es"&&Le.labelES?Le.labelES:Le.label,Le.code?` (${Le.code})`:"Country not found"]})]},`${Le.code}-${Ue}`)})}):V.jsx("div",{className:"px-3 py-2 text-gray-500",children:"No countries found"})})]})]})},Bx=({variant:t="filled",color:n,size:i="base",shadow:o="none",icon:u,iconProps:h={},children:g,className:v,...S})=>{const{defaultColorScheme:E}=ca(),A=n||E;return V.jsx("button",{...S,className:`${LG(t,A,i,o)} ${v}`,children:u?V.jsx(fn,{...h,className:Tb(i),icon:u}):g})};function bI(t){return t!==null&&typeof t=="object"&&"name"in t&&"size"in t&&"type"in t&&typeof t.name=="string"&&typeof t.size=="number"&&typeof t.type=="string"}const SI=({src:t,alt:n,isEditable:i=!1,onChange:o,className:u="",name:h,control:g,user:v})=>{const[S,E]=ee.useState(t||null),[A,C]=ee.useState(!!t),M=ee.useRef(null),R=Gh.useController({name:h,control:g}),B=!!g;ee.useEffect(()=>{if(B){const G=R==null?void 0:R.field.value;if(bI(G)){const q=URL.createObjectURL(G);return E(q),C(!0),()=>URL.revokeObjectURL(q)}else typeof G=="string"&&G&&G!==t?(E(G),C(!0)):t?(E(t),C(!0)):(E(null),C(!1))}},[R==null?void 0:R.field.value,t]);const L=()=>{var G;i&&((G=M.current)==null||G.click())},P=G=>{var J;const q=(J=G.target.files)==null?void 0:J[0];if(q){const Y=URL.createObjectURL(q);E(Y),C(!0),B&&(R==null||R.field.onChange(q)),o&&o(q)}},U=G=>{G.stopPropagation(),E(null),C(!1),M.current&&(M.current.value=""),B&&(R==null||R.field.onChange(null)),o&&o(null)};return V.jsxs("div",{className:"relative flex items-center gap-10",children:[i&&A&&V.jsx("button",{type:"button",onClick:U,className:"bg-red-500 text-white rounded-full w-20 h-20 flex items-center justify-center hover:bg-red-600 focus:outline-none","aria-label":"Eliminar imagen",children:V.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[V.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),V.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),V.jsxs("div",{className:`relative flex items-center justify-center h-40 w-40 ${i?"cursor-pointer hover:opacity-80":""} ${u}`,onClick:L,children:[S?V.jsx("img",{src:S,alt:n,className:"w-full h-full object-cover rounded-full"}):V.jsx(i_,{size:60,user:v}),i&&V.jsxs(V.Fragment,{children:[V.jsx("input",{type:"file",ref:G=>{M.current=G,R&&R.field.ref(G)},onChange:P,onBlur:R==null?void 0:R.field.onBlur,accept:"image/*",className:"hidden"}),!A&&V.jsx("div",{className:"absolute bottom-0 right-0 bg-blue-100 rounded-full h-20 w-20 flex items-center justify-center",children:V.jsx(fn,{icon:eq,className:"text-blue-500"})})]})]})]})},xI=mw({name:dm(),base64:dm()}),TI=({index:t,label:n,active:i,completed:o})=>V.jsxs("div",{className:"flex items-center gap-8",children:[V.jsx("div",{className:`
|
|
700
700
|
size-24 rounded-full border-[1px] flex items-center justify-center text-center font-600 text-label transition-colors ease-in-out duration-200
|
|
701
701
|
${i&&"border-blue-500! text-blue-500!"}
|
|
702
702
|
${o?"text-blue-500 bg-blue-50 border-none!":"border-gray-300 text-gray-300"}
|
|
@@ -708,7 +708,7 @@ attempted value: ${g}
|
|
|
708
708
|
${i||o?"text-blue-500":"text-gray-300"}
|
|
709
709
|
${i&&"font-600"}
|
|
710
710
|
${o&&"font-500"}
|
|
711
|
-
`,children:n})]}),EI=({imageUrl:t,title:n,subtitle:i})=>V.jsxs("section",{className:"gap-10 flex flex-col items-center justify-center",children:[V.jsx("img",{src:t,alt:n,width:100,height:100}),V.jsx("h1",{className:"font-bold text-2xl align-middle",children:n}),V.jsx("p",{className:"text-lg align-middle font-semibold text-gray-500",children:i})]}),AI=t=>{switch(t){case"warning":return"bg-yellow-50 border-2 border-yellow-500";case"error":return"bg-red-50 border-2 border-red-500";default:return"bg-blue-50 border-2 border-blue-500"}},wI=({description:t,title:n,className:i,icon:o,type:u="informative"})=>V.jsxs("div",{className:`flex items-center gap-12 p-12 w-full ${AI(u)} rounded-lg ${i}`,children:[o?V.jsx(fn,{icon:o,className:"text-blue-500 min-h-20 h-20"}):V.jsx(fn,{icon:uG,className:"text-blue-500 min-h-20 h-20"}),V.jsxs("div",{className:"flex flex-col gap-4",children:[V.jsx("h4",{className:"text-body-s font-500 text-black leading-none",children:n}),V.jsx("p",{className:"text-gray-600 text-body-s leading-none",children:t})]})]}),CI=({size:t=16,strokeWidth:n=2,color:i="#1DA696",...o})=>{const u=(t-n)/2,h=2*Math.PI*u,{className:g="",...v}=o;return V.jsx("div",{...v,className:`relative flex items-center justify-center ${g}`,children:V.jsx("svg",{height:t,width:t,className:"animate-spin",children:V.jsx("circle",{stroke:i,fill:"transparent",strokeWidth:n,strokeDasharray:h+" "+h,strokeDashoffset:h/4,r:u,cx:t/2,cy:t/2})})})},OI=({label:t,control:n,name:i,placeholder:o,className:u="",disabled:h=!1,leftSide:g})=>{const{field:{value:v="",onChange:S,ref:E,onBlur:A},fieldState:{error:C}}=Gh.useController({name:i,control:n}),[M,R]=ee.useState(!1),{t:B}=
|
|
711
|
+
`,children:n})]}),EI=({imageUrl:t,title:n,subtitle:i})=>V.jsxs("section",{className:"gap-10 flex flex-col items-center justify-center",children:[V.jsx("img",{src:t,alt:n,width:100,height:100}),V.jsx("h1",{className:"font-bold text-2xl align-middle",children:n}),V.jsx("p",{className:"text-lg align-middle font-semibold text-gray-500",children:i})]}),AI=t=>{switch(t){case"warning":return"bg-yellow-50 border-2 border-yellow-500";case"error":return"bg-red-50 border-2 border-red-500";default:return"bg-blue-50 border-2 border-blue-500"}},wI=({description:t,title:n,className:i,icon:o,type:u="informative"})=>V.jsxs("div",{className:`flex items-center gap-12 p-12 w-full ${AI(u)} rounded-lg ${i}`,children:[o?V.jsx(fn,{icon:o,className:"text-blue-500 min-h-20 h-20"}):V.jsx(fn,{icon:uG,className:"text-blue-500 min-h-20 h-20"}),V.jsxs("div",{className:"flex flex-col gap-4",children:[V.jsx("h4",{className:"text-body-s font-500 text-black leading-none",children:n}),V.jsx("p",{className:"text-gray-600 text-body-s leading-none",children:t})]})]}),CI=({size:t=16,strokeWidth:n=2,color:i="#1DA696",...o})=>{const u=(t-n)/2,h=2*Math.PI*u,{className:g="",...v}=o;return V.jsx("div",{...v,className:`relative flex items-center justify-center ${g}`,children:V.jsx("svg",{height:t,width:t,className:"animate-spin",children:V.jsx("circle",{stroke:i,fill:"transparent",strokeWidth:n,strokeDasharray:h+" "+h,strokeDashoffset:h/4,r:u,cx:t/2,cy:t/2})})})},OI=({label:t,control:n,name:i,placeholder:o,className:u="",disabled:h=!1,leftSide:g})=>{const{field:{value:v="",onChange:S,ref:E,onBlur:A},fieldState:{error:C}}=Gh.useController({name:i,control:n}),[M,R]=ee.useState(!1),{t:B}=ca();return V.jsxs("label",{className:`flex flex-col group gap-8 select-none ${h&&"cursor-not-allowed"} ${u}`,htmlFor:i,children:[V.jsx("h6",{className:`text-gray-600 font-600 group ${C&&"!text-red-500"} text-label ${h&&"text-gray-300"}`,children:t}),V.jsxs("label",{htmlFor:i,className:`
|
|
712
712
|
flex items-center justify-between gap-8 p-16
|
|
713
713
|
|
|
714
714
|
${C&&"!border-red-500"}
|
|
@@ -724,9 +724,9 @@ attempted value: ${g}
|
|
|
724
724
|
group-focus-within:border-blue-500 transition-colors duration-200 ease-in-out
|
|
725
725
|
|
|
726
726
|
group-disabled:bg-gray-500
|
|
727
|
-
`,children:[g&&g,V.jsx("input",{id:i,type:M?"text":"password",autoComplete:"off","aria-autocomplete":"none",name:i,disabled:h,placeholder:o,value:v,onChange:L=>S(L.target.value),onBlur:A,ref:E,className:"group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-none"}),V.jsx(fn,{icon:M?J7:K7,className:"min-h-16 max-h-16 text-gray-400 hover:text-gray-500 transition-colors duration-150 cursor-pointer ease-in-out",onClick:()=>R(!M)})]}),V.jsx("h4",{className:"font-500 text-label text-red-500 leading-none",children:C&&B(C.message||"",{x:B(i)})})]})},MI=({name:t,control:n,label:i="phone_number",placeholder:o="enter_phone_number",language:u="en",className:h="",translateKey:g,countries:v=O_})=>{var $r,hm,Uo,Vo;const{t:S}=ma(),{field:E,fieldState:A}=Gh.useController({name:t,control:n,rules:{validate:{}}}),C=(($r=E.value)==null?void 0:$r.split(" "))||[],M=C[0]||"",R=C[1]||"",B=v.find(tt=>M===tt.phone),[L,P]=ee.useState(!1),[U,G]=ee.useState(""),[q,J]=ee.useState(B||null),[Y,le]=ee.useState(R),[me,pe]=ee.useState(!1),ve=ee.useRef(null),He=ee.useRef(null),Be=ee.useRef(null),Pe=ee.useRef(null),{x:Qe,y:Xe,strategy:qe,refs:F,context:ne,placement:oe,middlewareData:Me}=vb({open:L,onOpenChange:P,middleware:[hb(8),pb(),mb({padding:8}),Ox({apply({availableHeight:tt,elements:dn}){Object.assign(dn.floating.style,{maxHeight:`${Math.min(tt-10,300)}px`})},padding:8}),Mx({element:He})],placement:"bottom-start",whileElementsMounted:db}),X=gb(ne),fe=yb(ne),{getReferenceProps:Ae,getFloatingProps:je}=bb([X,fe]),{isMounted:Ye,styles:Le}=Sb(ne,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),et=(Array.isArray(v)?v:[]).filter(tt=>{if(!U.trim())return!0;const dn=u==="es"&&tt.labelES?tt.labelES.toLowerCase():tt.label.toLowerCase(),En=tt.code?tt.code.toLowerCase():"",yr=tt.phone?tt.phone.toLowerCase():"";return dn.includes(U.toLowerCase())||En.includes(U.toLowerCase())||yr.includes(U.toLowerCase())}),We=tt=>{J(tt),P(!1),G("");const dn=`${tt.phone} ${Y}`;E.onChange(dn),setTimeout(()=>{var En;(En=Be.current)==null||En.focus()},100)},it=tt=>{const dn=tt.target.value;if(le(dn),q){const En=`${q.phone} ${dn}`;E.onChange(En)}},yt=()=>{P(!L),!L&&ve.current&&setTimeout(()=>{var tt;(tt=ve.current)==null||tt.focus()},100)},un=()=>{setTimeout(()=>{L||E.onBlur()},200)},Ge=()=>{pe(!0)},nt=()=>{pe(!1)};ee.useEffect(()=>{if(E.value){const tt=E.value.split(" "),dn=tt[0]||"",En=tt[1]||"",yr=v.find(Yl=>Yl.phone===dn);yr&&J(yr),le(En)}},[E.value,v]),ee.useEffect(()=>{const tt=dn=>{Pe.current&&!Pe.current.contains(dn.target)&&E.onBlur()};return document.addEventListener("mousedown",tt),()=>{document.removeEventListener("mousedown",tt)}},[E]);const Jt=tt=>{var dn;return tt?tt.codeISO2?tt.codeISO2.toLowerCase():((dn=tt.code)==null?void 0:dn.toLowerCase())||"":""},wa=(hm=Me.arrow)==null?void 0:hm.x,pr=(Uo=Me.arrow)==null?void 0:Uo.y,gn={top:"bottom",right:"left",bottom:"top",left:"right"}[oe.split("-")[0]],As=Ae({onClick:yt,onBlur:un}),hd=()=>A.error?"border-red-500":me||L?"border-blue-400":"border-blue-100",Lo=S(i),Ia=S(o),gr=(Vo=A.error)==null?void 0:Vo.message;return V.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${h}`,children:[V.jsx("label",{className:`text-gray-600 font-600 group ${gr&&"!text-red-500"} text-label`,children:Lo}),V.jsxs("div",{ref:Pe,className:"flex items-center w-full",onMouseEnter:Ge,onMouseLeave:nt,children:[V.jsxs("div",{ref:F.setReference,className:`flex items-center justify-between text-lg max-w-120 font-600 bg-light rounded-l-full p-16 cursor-pointer border border-r-0 transition-all duration-200 ${gr?"border-red-500":hd()}`,style:{minWidth:"140px"},...As,tabIndex:0,children:[q!=null&&q.code?V.jsxs("div",{className:"flex items-center truncate",children:[Jt(q)&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${Jt(q)}.png`,srcSet:`https://flagcdn.com/w40/${Jt(q)}.png 2x`,alt:q.label,onError:tt=>{tt.currentTarget.style.display="none"}}),V.jsxs("span",{children:["+",q.phone]})]}):V.jsx("span",{className:"text-gray-500 truncate",children:S("select_country")}),V.jsx(fn,{icon:aw,className:"w-14 h-14 min-w-14 min-h-14"})]}),V.jsx("input",{ref:Be,type:"tel",className:`flex-grow bg-light rounded-r-full font-600 text-lg p-16 border transition-all duration-200 ${gr?"border-red-500":hd()}`,placeholder:Ia,value:Y,onChange:it,onBlur:un})]}),gr&&V.jsx("p",{className:"mt-1 text-sm text-red-600",children:S(gr,{x:S(g||"")||t})}),Ye&&V.jsxs("div",{ref:F.setFloating,style:{position:qe,top:Xe??0,left:Qe??0,...Le},className:"z-10 w-fit bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto max-w-120",...je(),children:[V.jsx("div",{ref:He,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:wa!=null?`${wa}px`:"",top:pr!=null?`${pr}px`:"",right:"",bottom:"",[gn]:"-2px",borderRight:gn==="left"?"1px solid":"none",borderBottom:gn==="top"?"1px solid":"none",borderLeft:gn==="right"?"1px solid":"none",borderTop:gn==="bottom"?"1px solid":"none"}}),V.jsx("div",{className:"sticky top-0 bg-white p-2 z-20 w-fit",children:V.jsx("input",{ref:ve,type:"text",className:"w-fit p-16",placeholder:S("search")+"...",value:U,onChange:tt=>G(tt.target.value),onClick:tt=>tt.stopPropagation(),onBlur:tt=>{tt.stopPropagation()},autoFocus:!0})}),V.jsx("div",{children:et.length>0?V.jsx("ul",{className:"flex flex-col",children:et.map((tt,dn)=>{var yr;const En=tt.codeISO2?tt.codeISO2.toLowerCase():((yr=tt.code)==null?void 0:yr.toLowerCase())||"";return V.jsxs("li",{className:"flex items-center justify-between gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:Yl=>{Yl.stopPropagation(),We(tt)},children:[En&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${En}.png`,srcSet:`https://flagcdn.com/w40/${En}.png 2x`,alt:tt.label,onError:Yl=>{Yl.currentTarget.style.display="none"}}),V.jsxs("span",{className:"text-gray-500",children:["+",tt.phone]})]},`${tt.code}-${dn}`)})}):V.jsx("div",{className:"px-3 py-2 text-gray-500",children:S("no_countries_found")})})]})]})},DI=({progress:t,showPercentage:n=!1})=>{const i=Math.min(Math.max(t,0),100);return V.jsxs("div",{className:"flex items-center gap-12",children:[V.jsx("div",{className:"w-full h-8 bg-blue-100 rounded-full",children:V.jsx("div",{className:"h-full bg-blue-500 rounded-full transition-all duration-300 ease-in-out",style:{width:`${i}%`}})}),n&&V.jsxs("span",{className:"text-sm text-gray-400 font-500",children:[i,"%"]})]})},RI=()=>{const[t,n]=ee.useState(!1),i=ee.useRef(null),o=()=>{n(!0),setTimeout(()=>{var h;return(h=i.current)==null?void 0:h.focus()},100)},u=()=>{n(!1)};return V.jsx("div",{className:"relative flex items-center",children:V.jsxs("div",{className:`flex items-center justify-center bg-white shadow-md rounded-full transition-all duration-300 ease-in-out ${t?"w-[200px] h-[40px]":"size-[40px]"}`,children:[V.jsx("button",{onClick:o,className:"size-[40px] flex items-center justify-center rounded-full hover:bg-gray-100 transition-all",children:V.jsx(fn,{icon:WY})}),V.jsx("input",{ref:i,type:"text",className:`w-full outline-none bg-transparent transition-all ${t?"w-full pr-[10px]":"w-0"}`,placeholder:"Buscar...",onBlur:u,style:{border:"none",outline:"none"}})]})})},_I="w-fit transition-colors ease-in-out duration-200 flex items-center justify-center gap-12 px-24 py-7 text-base rounded-full font-600 bg-transparent",NI={true:"bg-blue-100 text-blue-500 hover:bg-blue-100/80 active:bg-blue-100/50",false:"text-gray-800 hover:bg-blue-100/40 hover:text-blue-500 active:bg-blue-100/20 active:text-blue-500"},M_=(t=!1)=>fd(_I,NI[String(t)]),zI=({label:t,href:n,onClick:i,active:o=!1,disabled:u=!1,className:h,icon:g})=>{const v=E=>{if(u){E.preventDefault();return}i==null||i(E)},S=`${M_(o)} ${u?"!text-gray-300 cursor-not-allowed !bg-transparent":""}`;return n?V.jsxs("a",{href:n,className:`${S} ${h||""}`,onClick:v,"aria-disabled":u,children:[g&&V.jsx(fn,{icon:g,className:Tb()}),t]}):V.jsxs("button",{className:`${S} ${h||""}`,onClick:v,disabled:u,children:[g&&V.jsx(fn,{icon:g,className:Tb()}),t]})},LI="w-fit transition-colors ease-in-out duration-150 flex gap-10 items-center justify-center text-xs rounded-full font-600 bg-transparent",UI={true:"text-blue-500",false:"text-gray-800 hover:text-blue-500 active:text-blue-500"},VI="bg-transparent p-16",BI={true:"bg-blue-100 text-blue-500",false:"text-gray-800"},jI=(t=!1)=>fd(LI,UI[String(t)]),$I=(t=!1)=>fd(VI,BI[String(t)]),HI=({label:t,href:n,onClick:i,active:o=!1,disabled:u=!1,icon:h,className:g=""})=>{const v=S=>{if(u){S.preventDefault();return}i==null||i(S)};return n?V.jsxs("a",{href:n,onClick:v,className:`${jI(o)} flex flex-col items-center group ${g}`,children:[V.jsx(Bx,{icon:h,variant:o?"transparent":"invisible",disabled:u,size:"sm",className:`${$I(o)} group group-hover:!text-blue-500 duration-150 group-hover:!bg-blue-100 `}),V.jsx("p",{className:"group group-hover:!text-blue-500 duration-150",children:t})]}):V.jsxs("button",{className:`${M_(o)} ${u?"!text-gray-300 cursor-not-allowed !bg-transparent":""} ${g}`,onClick:v,"aria-disabled":u,children:[V.jsx(fn,{icon:h}),t]})},PI=t=>{const{display:n,...i}=t;return n==="desktop"?V.jsx(zI,{...i}):n==="mobile"?V.jsx(HI,{...i}):null},kI=({options:t,name:n,control:i,label:o="Select an option",placeholder:u="Type to search...",className:h="",input:g=!0})=>V.jsx(Gh.Controller,{name:n,control:i,render:({field:{onChange:v,value:S},fieldState:{error:E}})=>V.jsx(YI,{options:t,value:S,onChange:v,label:o,placeholder:u,error:E==null?void 0:E.message,className:h,input:g})}),YI=({options:t,value:n,onChange:i,label:o="Select an option",placeholder:u="Type to search...",error:h,className:g="",input:v=!0})=>{const{t:S}=ma(),[E,A]=ee.useState(!1),[C,M]=ee.useState(""),[R,B]=ee.useState(n||null),L=ee.useRef(null),P=ee.useRef(null),{x:U,y:G,strategy:q,refs:J,context:Y}=vb({open:E,onOpenChange:A,middleware:[hb(8),pb(),mb({padding:8}),Ox({apply({availableHeight:F,elements:ne}){Object.assign(ne.floating.style,{maxHeight:`${Math.min(F-10,300)}px`})},padding:8}),Mx({element:P})],placement:"bottom-start",whileElementsMounted:db}),le=gb(Y),me=yb(Y),{getReferenceProps:pe,getFloatingProps:ve}=bb([le,me]),{isMounted:He,styles:Be}=Sb(Y,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),Pe=(()=>{const F=Array.isArray(t)?t:[];if(!C.trim())return F;const ne=C.toLowerCase();return F.filter(oe=>{const Me=oe.label.toLowerCase(),X=oe.key.toLowerCase();return Me.includes(ne)||X.includes(ne)})})(),Qe=F=>{B(F),A(!1),M(""),i(F)},Xe=()=>{A(!E),!E&&L.current&&setTimeout(()=>{var F;return(F=L.current)==null?void 0:F.focus()},100)};ee.useEffect(()=>{B(n)},[n]);const qe=pe({onClick:Xe});return V.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${g}`,children:[V.jsx("label",{className:`text-gray-600 font-600 group ${h&&"!text-red-500"} text-label`,children:o}),V.jsxs("div",{ref:J.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer
|
|
727
|
+
`,children:[g&&g,V.jsx("input",{id:i,type:M?"text":"password",autoComplete:"off","aria-autocomplete":"none",name:i,disabled:h,placeholder:o,value:v,onChange:L=>S(L.target.value),onBlur:A,ref:E,className:"group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-none"}),V.jsx(fn,{icon:M?J7:K7,className:"min-h-16 max-h-16 text-gray-400 hover:text-gray-500 transition-colors duration-150 cursor-pointer ease-in-out",onClick:()=>R(!M)})]}),V.jsx("h4",{className:"font-500 text-label text-red-500 leading-none",children:C&&B(C.message||"",{x:B(i)})})]})},MI=({name:t,control:n,label:i="phone_number",placeholder:o="enter_phone_number",language:u="en",className:h="",translateKey:g,countries:v=O_})=>{var $r,hm,Uo,Vo;const{t:S}=ca(),{field:E,fieldState:A}=Gh.useController({name:t,control:n,rules:{validate:{}}}),C=(($r=E.value)==null?void 0:$r.split(" "))||[],M=C[0]||"",R=C[1]||"",B=v.find(tt=>M===tt.phone),[L,P]=ee.useState(!1),[U,G]=ee.useState(""),[q,J]=ee.useState(B||null),[Y,le]=ee.useState(R),[me,pe]=ee.useState(!1),ve=ee.useRef(null),He=ee.useRef(null),Be=ee.useRef(null),Pe=ee.useRef(null),{x:Qe,y:Xe,strategy:qe,refs:F,context:ne,placement:oe,middlewareData:Me}=vb({open:L,onOpenChange:P,middleware:[hb(8),pb(),mb({padding:8}),Ox({apply({availableHeight:tt,elements:dn}){Object.assign(dn.floating.style,{maxHeight:`${Math.min(tt-10,300)}px`})},padding:8}),Mx({element:He})],placement:"bottom-start",whileElementsMounted:db}),X=gb(ne),fe=yb(ne),{getReferenceProps:Ae,getFloatingProps:je}=bb([X,fe]),{isMounted:Ye,styles:Le}=Sb(ne,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),et=(Array.isArray(v)?v:[]).filter(tt=>{if(!U.trim())return!0;const dn=u==="es"&&tt.labelES?tt.labelES.toLowerCase():tt.label.toLowerCase(),En=tt.code?tt.code.toLowerCase():"",yr=tt.phone?tt.phone.toLowerCase():"";return dn.includes(U.toLowerCase())||En.includes(U.toLowerCase())||yr.includes(U.toLowerCase())}),We=tt=>{J(tt),P(!1),G("");const dn=`${tt.phone} ${Y}`;E.onChange(dn),setTimeout(()=>{var En;(En=Be.current)==null||En.focus()},100)},it=tt=>{const dn=tt.target.value;if(le(dn),q){const En=`${q.phone} ${dn}`;E.onChange(En)}},yt=()=>{P(!L),!L&&ve.current&&setTimeout(()=>{var tt;(tt=ve.current)==null||tt.focus()},100)},un=()=>{setTimeout(()=>{L||E.onBlur()},200)},Ge=()=>{pe(!0)},nt=()=>{pe(!1)};ee.useEffect(()=>{if(E.value){const tt=E.value.split(" "),dn=tt[0]||"",En=tt[1]||"",yr=v.find(Yl=>Yl.phone===dn);yr&&J(yr),le(En)}},[E.value,v]),ee.useEffect(()=>{const tt=dn=>{Pe.current&&!Pe.current.contains(dn.target)&&E.onBlur()};return document.addEventListener("mousedown",tt),()=>{document.removeEventListener("mousedown",tt)}},[E]);const Jt=tt=>{var dn;return tt?tt.codeISO2?tt.codeISO2.toLowerCase():((dn=tt.code)==null?void 0:dn.toLowerCase())||"":""},wa=(hm=Me.arrow)==null?void 0:hm.x,pr=(Uo=Me.arrow)==null?void 0:Uo.y,gn={top:"bottom",right:"left",bottom:"top",left:"right"}[oe.split("-")[0]],As=Ae({onClick:yt,onBlur:un}),hd=()=>A.error?"border-red-500":me||L?"border-blue-400":"border-blue-100",Lo=S(i),Ia=S(o),gr=(Vo=A.error)==null?void 0:Vo.message;return V.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${h}`,children:[V.jsx("label",{className:`text-gray-600 font-600 group ${gr&&"!text-red-500"} text-label`,children:Lo}),V.jsxs("div",{ref:Pe,className:"flex items-center w-full",onMouseEnter:Ge,onMouseLeave:nt,children:[V.jsxs("div",{ref:F.setReference,className:`flex items-center justify-between text-lg max-w-120 font-600 bg-light rounded-l-full p-16 cursor-pointer border border-r-0 transition-all duration-200 ${gr?"border-red-500":hd()}`,style:{minWidth:"140px"},...As,tabIndex:0,children:[q!=null&&q.code?V.jsxs("div",{className:"flex items-center truncate",children:[Jt(q)&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${Jt(q)}.png`,srcSet:`https://flagcdn.com/w40/${Jt(q)}.png 2x`,alt:q.label,onError:tt=>{tt.currentTarget.style.display="none"}}),V.jsxs("span",{children:["+",q.phone]})]}):V.jsx("span",{className:"text-gray-500 truncate",children:S("select_country")}),V.jsx(fn,{icon:aw,className:"w-14 h-14 min-w-14 min-h-14"})]}),V.jsx("input",{ref:Be,type:"tel",className:`flex-grow bg-light rounded-r-full font-600 text-lg p-16 border transition-all duration-200 ${gr?"border-red-500":hd()}`,placeholder:Ia,value:Y,onChange:it,onBlur:un})]}),gr&&V.jsx("p",{className:"mt-1 text-sm text-red-600",children:S(gr,{x:S(g||"")||t})}),Ye&&V.jsxs("div",{ref:F.setFloating,style:{position:qe,top:Xe??0,left:Qe??0,...Le},className:"z-10 w-fit bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto max-w-120",...je(),children:[V.jsx("div",{ref:He,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:wa!=null?`${wa}px`:"",top:pr!=null?`${pr}px`:"",right:"",bottom:"",[gn]:"-2px",borderRight:gn==="left"?"1px solid":"none",borderBottom:gn==="top"?"1px solid":"none",borderLeft:gn==="right"?"1px solid":"none",borderTop:gn==="bottom"?"1px solid":"none"}}),V.jsx("div",{className:"sticky top-0 bg-white p-2 z-20 w-fit",children:V.jsx("input",{ref:ve,type:"text",className:"w-fit p-16",placeholder:S("search")+"...",value:U,onChange:tt=>G(tt.target.value),onClick:tt=>tt.stopPropagation(),onBlur:tt=>{tt.stopPropagation()},autoFocus:!0})}),V.jsx("div",{children:et.length>0?V.jsx("ul",{className:"flex flex-col",children:et.map((tt,dn)=>{var yr;const En=tt.codeISO2?tt.codeISO2.toLowerCase():((yr=tt.code)==null?void 0:yr.toLowerCase())||"";return V.jsxs("li",{className:"flex items-center justify-between gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:Yl=>{Yl.stopPropagation(),We(tt)},children:[En&&V.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${En}.png`,srcSet:`https://flagcdn.com/w40/${En}.png 2x`,alt:tt.label,onError:Yl=>{Yl.currentTarget.style.display="none"}}),V.jsxs("span",{className:"text-gray-500",children:["+",tt.phone]})]},`${tt.code}-${dn}`)})}):V.jsx("div",{className:"px-3 py-2 text-gray-500",children:S("no_countries_found")})})]})]})},DI={bgColor:"bg-blue-100",fillColor:"bg-blue-500"},RI={bgColor:"bg-aqua-100",fillColor:"bg-aqua-500"},_I=t=>{switch(t){case"aqua":return RI;case"blue":default:return DI}},NI=({progress:t,showPercentage:n=!1,color:i})=>{const{defaultColorScheme:o}=ca(),u=i||o,{bgColor:h,fillColor:g}=_I(u),v=Math.min(Math.max(t,0),100);return V.jsxs("div",{className:"flex items-center gap-12",children:[V.jsx("div",{className:`w-full h-8 ${h} rounded-full`,children:V.jsx("div",{className:`h-full ${g} rounded-full transition-all duration-300 ease-in-out`,style:{width:`${v}%`}})}),n&&V.jsxs("span",{className:"text-sm text-gray-400 font-500",children:[v,"%"]})]})},zI=()=>{const[t,n]=ee.useState(!1),i=ee.useRef(null),o=()=>{n(!0),setTimeout(()=>{var h;return(h=i.current)==null?void 0:h.focus()},100)},u=()=>{n(!1)};return V.jsx("div",{className:"relative flex items-center",children:V.jsxs("div",{className:`flex items-center justify-center bg-white shadow-md rounded-full transition-all duration-300 ease-in-out ${t?"w-[200px] h-[40px]":"size-[40px]"}`,children:[V.jsx("button",{onClick:o,className:"size-[40px] flex items-center justify-center rounded-full hover:bg-gray-100 transition-all",children:V.jsx(fn,{icon:WY})}),V.jsx("input",{ref:i,type:"text",className:`w-full outline-none bg-transparent transition-all ${t?"w-full pr-[10px]":"w-0"}`,placeholder:"Buscar...",onBlur:u,style:{border:"none",outline:"none"}})]})})},LI="w-fit transition-colors ease-in-out duration-200 flex items-center justify-center gap-12 px-24 py-7 text-base rounded-full font-600 bg-transparent",UI={true:"bg-blue-100 text-blue-500 hover:bg-blue-100/80 active:bg-blue-100/50",false:"text-gray-800 hover:bg-blue-100/40 hover:text-blue-500 active:bg-blue-100/20 active:text-blue-500"},M_=(t=!1)=>fd(LI,UI[String(t)]),VI=({label:t,href:n,onClick:i,active:o=!1,disabled:u=!1,className:h,icon:g})=>{const v=E=>{if(u){E.preventDefault();return}i==null||i(E)},S=`${M_(o)} ${u?"!text-gray-300 cursor-not-allowed !bg-transparent":""}`;return n?V.jsxs("a",{href:n,className:`${S} ${h||""}`,onClick:v,"aria-disabled":u,children:[g&&V.jsx(fn,{icon:g,className:Tb()}),t]}):V.jsxs("button",{className:`${S} ${h||""}`,onClick:v,disabled:u,children:[g&&V.jsx(fn,{icon:g,className:Tb()}),t]})},BI="w-fit transition-colors ease-in-out duration-150 flex gap-10 items-center justify-center text-xs rounded-full font-600 bg-transparent",jI={true:"text-blue-500",false:"text-gray-800 hover:text-blue-500 active:text-blue-500"},$I="bg-transparent p-16",HI={true:"bg-blue-100 text-blue-500",false:"text-gray-800"},PI=(t=!1)=>fd(BI,jI[String(t)]),kI=(t=!1)=>fd($I,HI[String(t)]),YI=({label:t,href:n,onClick:i,active:o=!1,disabled:u=!1,icon:h,className:g=""})=>{const v=S=>{if(u){S.preventDefault();return}i==null||i(S)};return n?V.jsxs("a",{href:n,onClick:v,className:`${PI(o)} flex flex-col items-center group ${g}`,children:[V.jsx(Bx,{icon:h,variant:o?"transparent":"invisible",disabled:u,size:"sm",className:`${kI(o)} group group-hover:!text-blue-500 duration-150 group-hover:!bg-blue-100 `}),V.jsx("p",{className:"group group-hover:!text-blue-500 duration-150",children:t})]}):V.jsxs("button",{className:`${M_(o)} ${u?"!text-gray-300 cursor-not-allowed !bg-transparent":""} ${g}`,onClick:v,"aria-disabled":u,children:[V.jsx(fn,{icon:h}),t]})},qI=t=>{const{display:n,...i}=t;return n==="desktop"?V.jsx(VI,{...i}):n==="mobile"?V.jsx(YI,{...i}):null},GI=({options:t,name:n,control:i,label:o="Select an option",placeholder:u="Type to search...",className:h="",input:g=!0})=>V.jsx(Gh.Controller,{name:n,control:i,render:({field:{onChange:v,value:S},fieldState:{error:E}})=>V.jsx(II,{options:t,value:S,onChange:v,label:o,placeholder:u,error:E==null?void 0:E.message,className:h,input:g})}),II=({options:t,value:n,onChange:i,label:o="Select an option",placeholder:u="Type to search...",error:h,className:g="",input:v=!0})=>{const{t:S}=ca(),[E,A]=ee.useState(!1),[C,M]=ee.useState(""),[R,B]=ee.useState(n||null),L=ee.useRef(null),P=ee.useRef(null),{x:U,y:G,strategy:q,refs:J,context:Y}=vb({open:E,onOpenChange:A,middleware:[hb(8),pb(),mb({padding:8}),Ox({apply({availableHeight:F,elements:ne}){Object.assign(ne.floating.style,{maxHeight:`${Math.min(F-10,300)}px`})},padding:8}),Mx({element:P})],placement:"bottom-start",whileElementsMounted:db}),le=gb(Y),me=yb(Y),{getReferenceProps:pe,getFloatingProps:ve}=bb([le,me]),{isMounted:He,styles:Be}=Sb(Y,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),Pe=(()=>{const F=Array.isArray(t)?t:[];if(!C.trim())return F;const ne=C.toLowerCase();return F.filter(oe=>{const Me=oe.label.toLowerCase(),X=oe.key.toLowerCase();return Me.includes(ne)||X.includes(ne)})})(),Qe=F=>{B(F),A(!1),M(""),i(F)},Xe=()=>{A(!E),!E&&L.current&&setTimeout(()=>{var F;return(F=L.current)==null?void 0:F.focus()},100)};ee.useEffect(()=>{B(n)},[n]);const qe=pe({onClick:Xe});return V.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${g}`,children:[V.jsx("label",{className:`text-gray-600 font-600 group ${h&&"!text-red-500"} text-label`,children:o}),V.jsxs("div",{ref:J.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer
|
|
728
728
|
border transition-all duration-200 hover:border-blue-400
|
|
729
|
-
${h&&"border-red-500 hover:border-red-600"} ${He?"border-blue-400":"border-blue-100"}`,...qe,children:[R?V.jsx("div",{className:"flex items-center w-full",children:V.jsx("span",{className:"flex-grow",children:S(R.label)})}):V.jsx("span",{className:"text-gray-500",children:u}),V.jsx("svg",{className:`w-16 h-16 transition-transform ${E?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),h&&V.jsx("p",{className:"mt-1 text-sm text-red-600",children:h}),He&&V.jsxs("div",{ref:J.setFloating,style:{position:q,top:G??0,left:U??0,...Be},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...ve(),children:[v&&V.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:V.jsx("input",{ref:L,type:"text",className:"w-full p-16",placeholder:"Search...",value:C,onChange:F=>M(F.target.value),onClick:F=>F.stopPropagation(),autoFocus:!0})}),V.jsx("div",{className:"",children:Pe.length>0?V.jsx("ul",{children:Pe.map((F,ne)=>V.jsx("li",{className:"flex items-center justify-between px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:oe=>{oe.stopPropagation(),Qe(F)},children:V.jsx("span",{children:S(F.label)})},`${F.key}-${ne}`))}):V.jsx("div",{className:"px-3 py-2 text-gray-500",children:"No options found"})})]})]})},
|
|
729
|
+
${h&&"border-red-500 hover:border-red-600"} ${He?"border-blue-400":"border-blue-100"}`,...qe,children:[R?V.jsx("div",{className:"flex items-center w-full",children:V.jsx("span",{className:"flex-grow",children:S(R.label)})}):V.jsx("span",{className:"text-gray-500",children:u}),V.jsx("svg",{className:`w-16 h-16 transition-transform ${E?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:V.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),h&&V.jsx("p",{className:"mt-1 text-sm text-red-600",children:h}),He&&V.jsxs("div",{ref:J.setFloating,style:{position:q,top:G??0,left:U??0,...Be},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...ve(),children:[v&&V.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:V.jsx("input",{ref:L,type:"text",className:"w-full p-16",placeholder:"Search...",value:C,onChange:F=>M(F.target.value),onClick:F=>F.stopPropagation(),autoFocus:!0})}),V.jsx("div",{className:"",children:Pe.length>0?V.jsx("ul",{children:Pe.map((F,ne)=>V.jsx("li",{className:"flex items-center justify-between px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:oe=>{oe.stopPropagation(),Qe(F)},children:V.jsx("span",{children:S(F.label)})},`${F.key}-${ne}`))}):V.jsx("div",{className:"px-3 py-2 text-gray-500",children:"No options found"})})]})]})},FI={activeTextColor:"text-blue-500",activeBgColor:"bg-blue-100",hoverBgColor:"hover:bg-blue-100",activeIconColor:"text-blue-500"},XI={activeTextColor:"text-aqua-500",activeBgColor:"bg-aqua-100",hoverBgColor:"hover:bg-aqua-100",activeIconColor:"text-aqua-500"},ZI=t=>{switch(t){case"aqua":return XI;case"blue":default:return FI}},KI=({active:t,icon:n,label:i,onClick:o,expanded:u,disabled:h=!1,color:g})=>{const{defaultColorScheme:v}=ca(),S=g||v,{activeTextColor:E,activeBgColor:A,hoverBgColor:C,activeIconColor:M}=ZI(S);return V.jsxs("div",{onClick:()=>!h&&o(),className:`
|
|
730
730
|
flex items-center rounded-full text-gray transition-all duration-150 h-[40px] w-full px-[12.3px]
|
|
731
731
|
${!u&&"w-fit"}
|
|
732
732
|
${h?"cursor-not-allowed opacity-50":`cursor-pointer ${C}`}
|
|
@@ -739,7 +739,7 @@ attempted value: ${g}
|
|
|
739
739
|
transition-all duration-100 ease-in-out
|
|
740
740
|
opacity-0 capitalize
|
|
741
741
|
${u&&"translate-x-0 opacity-100 !w-full !h-auto ml-8"}
|
|
742
|
-
${t&&E}`,children:i})]})},
|
|
742
|
+
${t&&E}`,children:i})]})},QI="flex w-full h-full gap-12 px-10 py-6 items-center justify-center",WI={default:"flex-row rounded-full text-blue-500",underline:"flex-col border-b-[1.3px] px-24 pb-16 text-gray-700"},JI={true:"text-blue-500 border-b-blue-500",false:"text-gray-700 border-b-gray-700"},eF=(t="underline",n=!1)=>fd(QI,WI[t],JI[String(n)]),D_=({label:t,icon:n,isSelected:i,onClick:o,variant:u="default",direction:h="row"})=>V.jsxs("button",{className:`${eF(u,i)} w-full cursor-pointer transition-all duration-200 ${h==="row"&&"flex-row!"}`,onClick:o,children:[n&&V.jsx(fn,{icon:n,className:`${i?"text-blue-500":"text-gray-500"} w-20 h-20`}),V.jsx("span",{className:"text-lg font-500",children:t})]}),tF="transition-colors ease-in-out duration-200 flex items-center justify-center text-body-m rounded-full w-fit font-600 leading-normal disabled:cursor-not-allowed disabled:text-gray-300",nF={blue:"text-blue-500 hover:text-blue-600 active:text-blue-700",aqua:"text-aqua-500 hover:text-aqua-600 active:text-aqua-700",red:"text-red-500 hover:text-red-600 active:text-red-700",gray:"text-gray-500 hover:text-gray-600 active:text-gray-700"},aF=(t="blue")=>fd(tF,nF[t]),R_=({color:t,children:n,className:i,...o})=>{const{defaultColorScheme:u}=ca(),h=t||u;return V.jsx("button",{type:"button",className:aF(h)+" "+i,...o,children:n})},iF=({label:t,control:n,name:i,placeholder:o,className:u="",disabled:h=!1,leftSide:g,rightSide:v,translateKey:S="",...E})=>{const{field:{value:A="",onChange:C,ref:M,onBlur:R},fieldState:{error:B}}=Gh.useController({name:i,control:n}),{t:L}=ca(),P=L(i),U=L(S);return V.jsxs("label",{className:`flex flex-col group gap-8 select-none ${h&&"cursor-not-allowed"} ${u}`,htmlFor:i,children:[V.jsx("h6",{className:`text-gray-600 font-600 group ${B&&"text-red-500!"} text-label ${h&&"text-gray-300"}`,children:t}),V.jsxs("label",{htmlFor:i,className:`
|
|
743
743
|
flex items-center justify-between gap-8 p-16
|
|
744
744
|
|
|
745
745
|
${B&&"border-red-500!"}
|
|
@@ -755,7 +755,7 @@ attempted value: ${g}
|
|
|
755
755
|
group-focus-within:border-blue-500 transition-colors duration-200 ease-in-out
|
|
756
756
|
|
|
757
757
|
group-disabled:bg-gray-500
|
|
758
|
-
`,children:[g&&g,V.jsx("input",{id:i,name:i,disabled:h,placeholder:o,value:A,onChange:G=>C(G.target.value),onBlur:R,ref:M,className:"group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-hidden",...E}),v&&v]}),V.jsx("h4",{className:"font-500 text-label text-red-500 leading-none",children:(B==null?void 0:B.message)&&L(B.message,{x:U||P})})]})},
|
|
758
|
+
`,children:[g&&g,V.jsx("input",{id:i,name:i,disabled:h,placeholder:o,value:A,onChange:G=>C(G.target.value),onBlur:R,ref:M,className:"group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-hidden",...E}),v&&v]}),V.jsx("h4",{className:"font-500 text-label text-red-500 leading-none",children:(B==null?void 0:B.message)&&L(B.message,{x:U||P})})]})},rF=({label:t,value:n,className:i})=>V.jsxs("div",{className:`flex flex-col gap-4 ${i||""}`,children:[V.jsx("p",{className:"text-lg font-600 text-gray-800",children:t}),V.jsx("p",{className:"text-base font-400 text-gray-600",children:n})]}),lF=({options:t,onChange:n,value:i,disabled:o,error:u,label:h,placeholder:g})=>{var E;const[v,S]=ee.useState(!1);return V.jsx(xb,{open:v,onClose:()=>S(!1),offset:12,padding:0,placement:"bottom",className:"!p-0 overflow-hidden",strategy:"fixed",component:V.jsx("div",{className:"bg-white rounded-lg shadow-lg max-h-[150px] overflow-y-auto flex flex-col py-8",children:t.map(A=>V.jsx("button",{onClick:()=>n(A.value),className:`w-full text-center px-16 py-8 transition-all duration-100 hover:bg-blue-100 ${i===A.label?"text-blue-500 font-medium":""}`,children:A.label},A.value))}),children:V.jsxs("div",{className:"flex flex-col gap-8 relative",onClick:()=>S(!v),children:[V.jsx("h6",{className:`text-gray-600 font-600 group ${u&&"!text-red-500"} text-label ${o&&"text-gray-300"}`,children:h}),V.jsxs("div",{className:`px-10 py-8 bg-blue-50 border-1 border-blue-200 rounded-full flex items-center gap-8 cursor-pointer transition-colors duration-150 ease-in-out ${v?"!border-blue-500":""}`,children:[i?V.jsx("h4",{className:"text-body-m",children:(E=t.find(A=>A.value===i))==null?void 0:E.label}):V.jsx("h4",{className:"text-body-m text-gray-400",children:g}),V.jsx(fn,{icon:aw,className:`text-gray-400 transition-all duration-150 ease-in-out ${v?"rotate-180":""}`})]})]})})},oF=({title:t="drag_and_drop_your_files_here",subtitle:n=null,buttonTitle:i="choose_files",onUpload:o=()=>{},acceptedExtensions:u=["pdf","png","jpg","jpeg","svg","docx","doc","xls","xlsx"],maxSize:h=1024})=>{const{t:g}=ca(),[v,S]=ee.useState(!1),[E,A]=ee.useState(""),C=ee.useRef(null),M=u.map(J=>`.${J}`).join(","),R=J=>{const Y=[];let le=!1;Array.from(J).forEach(me=>{var ve;const pe=((ve=me.name.split(".").pop())==null?void 0:ve.toLowerCase())||"";if(!u.includes(pe)){A(`El archivo ${me.name} tiene una extensión no permitida.`),le=!0;return}if(me.size>h*1024){A(`El archivo ${me.name} excede el tamaño máximo de ${h}KB.`),le=!0;return}Y.push(me)}),!le&&Y.length>0&&(A(""),o(Y))},B=()=>{C.current&&C.current.click()},L=J=>{const Y=J.target.files;Y&&Y.length>0&&R(Y),J.target.value=""},P=J=>{J.preventDefault(),J.stopPropagation(),S(!0)},U=J=>{J.preventDefault(),J.stopPropagation(),S(!1)},G=J=>{J.preventDefault(),J.stopPropagation(),v||S(!0)},q=J=>{J.preventDefault(),J.stopPropagation(),S(!1);const Y=J.dataTransfer.files;Y.length>0&&R(Y)};return V.jsxs("div",{className:"w-full mx-auto font-sans",children:[V.jsxs("div",{className:`flex flex-col border-[1.4px] border-dashed rounded-2xl pt-28 p-32 text-center cursor-pointer transition-all duration-300 ${v?"border-blue-400 bg-blue-100/50":"border-gray-200 bg-white hover:border-blue-400"}`,onDragEnter:P,onDragLeave:U,onDragOver:G,onDrop:q,onClick:B,children:[V.jsx("div",{className:"flex justify-center translate-y-4",children:V.jsx("img",{className:"w-full h-auto max-w-160",src:"/images/svg/empty-state/empty-state-upload.svg",alt:"empty-state"})}),V.jsxs("div",{className:"flex flex-col items-center",children:[V.jsx("h3",{className:"font-600 text-xl text-dark",children:g(t)}),n&&V.jsx("p",{className:"font-400 text-lg text-gray-500",children:g(n)}),V.jsx(R_,{color:"blue",children:g(i)}),V.jsx("input",{type:"file",ref:C,className:"hidden",multiple:!0,accept:M,onChange:L})]})]}),E&&V.jsx("div",{className:"mt-3 text-sm text-red-500",children:E}),V.jsx("div",{className:"mt-10 w-full flex justify-center",children:V.jsxs("span",{className:"text-gray-500 font-400 text-base",children:[u.join(", ").toUpperCase()," formats. Maximus size:"," ",S4(h,"mb")]})})]})},sF="Alejo",uF=({theme:t={},children:n})=>{const i={...HA,...t};return V.jsx(b5.Provider,{value:i,children:n})};var jx={exports:{}},Ab={},$x={exports:{}},pw={};/**
|
|
759
759
|
* @license React
|
|
760
760
|
* scheduler.production.js
|
|
761
761
|
*
|
|
@@ -763,7 +763,7 @@ attempted value: ${g}
|
|
|
763
763
|
*
|
|
764
764
|
* This source code is licensed under the MIT license found in the
|
|
765
765
|
* LICENSE file in the root directory of this source tree.
|
|
766
|
-
*/var __;function
|
|
766
|
+
*/var __;function cF(){return __||(__=1,function(t){function n(F,ne){var oe=F.length;F.push(ne);e:for(;0<oe;){var Me=oe-1>>>1,X=F[Me];if(0<u(X,ne))F[Me]=ne,F[oe]=X,oe=Me;else break e}}function i(F){return F.length===0?null:F[0]}function o(F){if(F.length===0)return null;var ne=F[0],oe=F.pop();if(oe!==ne){F[0]=oe;e:for(var Me=0,X=F.length,fe=X>>>1;Me<fe;){var Ae=2*(Me+1)-1,je=F[Ae],Ye=Ae+1,Le=F[Ye];if(0>u(je,oe))Ye<X&&0>u(Le,je)?(F[Me]=Le,F[Ye]=oe,Me=Ye):(F[Me]=je,F[Ae]=oe,Me=Ae);else if(Ye<X&&0>u(Le,oe))F[Me]=Le,F[Ye]=oe,Me=Ye;else break e}}return ne}function u(F,ne){var oe=F.sortIndex-ne.sortIndex;return oe!==0?oe:F.id-ne.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;t.unstable_now=function(){return h.now()}}else{var g=Date,v=g.now();t.unstable_now=function(){return g.now()-v}}var S=[],E=[],A=1,C=null,M=3,R=!1,B=!1,L=!1,P=!1,U=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,q=typeof setImmediate<"u"?setImmediate:null;function J(F){for(var ne=i(E);ne!==null;){if(ne.callback===null)o(E);else if(ne.startTime<=F)o(E),ne.sortIndex=ne.expirationTime,n(S,ne);else break;ne=i(E)}}function Y(F){if(L=!1,J(F),!B)if(i(S)!==null)B=!0,le||(le=!0,Pe());else{var ne=i(E);ne!==null&&qe(Y,ne.startTime-F)}}var le=!1,me=-1,pe=5,ve=-1;function He(){return P?!0:!(t.unstable_now()-ve<pe)}function Be(){if(P=!1,le){var F=t.unstable_now();ve=F;var ne=!0;try{e:{B=!1,L&&(L=!1,G(me),me=-1),R=!0;var oe=M;try{t:{for(J(F),C=i(S);C!==null&&!(C.expirationTime>F&&He());){var Me=C.callback;if(typeof Me=="function"){C.callback=null,M=C.priorityLevel;var X=Me(C.expirationTime<=F);if(F=t.unstable_now(),typeof X=="function"){C.callback=X,J(F),ne=!0;break t}C===i(S)&&o(S),J(F)}else o(S);C=i(S)}if(C!==null)ne=!0;else{var fe=i(E);fe!==null&&qe(Y,fe.startTime-F),ne=!1}}break e}finally{C=null,M=oe,R=!1}ne=void 0}}finally{ne?Pe():le=!1}}}var Pe;if(typeof q=="function")Pe=function(){q(Be)};else if(typeof MessageChannel<"u"){var Qe=new MessageChannel,Xe=Qe.port2;Qe.port1.onmessage=Be,Pe=function(){Xe.postMessage(null)}}else Pe=function(){U(Be,0)};function qe(F,ne){me=U(function(){F(t.unstable_now())},ne)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(F){F.callback=null},t.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):pe=0<F?Math.floor(1e3/F):5},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_next=function(F){switch(M){case 1:case 2:case 3:var ne=3;break;default:ne=M}var oe=M;M=ne;try{return F()}finally{M=oe}},t.unstable_requestPaint=function(){P=!0},t.unstable_runWithPriority=function(F,ne){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var oe=M;M=F;try{return ne()}finally{M=oe}},t.unstable_scheduleCallback=function(F,ne,oe){var Me=t.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?Me+oe:Me):oe=Me,F){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=oe+X,F={id:A++,callback:ne,priorityLevel:F,startTime:oe,expirationTime:X,sortIndex:-1},oe>Me?(F.sortIndex=oe,n(E,F),i(S)===null&&F===i(E)&&(L?(G(me),me=-1):L=!0,qe(Y,oe-Me))):(F.sortIndex=X,n(S,F),B||R||(B=!0,le||(le=!0,Pe()))),F},t.unstable_shouldYield=He,t.unstable_wrapCallback=function(F){var ne=M;return function(){var oe=M;M=ne;try{return F.apply(this,arguments)}finally{M=oe}}}}(pw)),pw}var gw={};/**
|
|
767
767
|
* @license React
|
|
768
768
|
* scheduler.development.js
|
|
769
769
|
*
|
|
@@ -771,7 +771,7 @@ attempted value: ${g}
|
|
|
771
771
|
*
|
|
772
772
|
* This source code is licensed under the MIT license found in the
|
|
773
773
|
* LICENSE file in the root directory of this source tree.
|
|
774
|
-
*/var N_;function
|
|
774
|
+
*/var N_;function fF(){return N_||(N_=1,function(t){process.env.NODE_ENV!=="production"&&function(){function n(){if(Y=!1,ve){var F=t.unstable_now();Pe=F;var ne=!0;try{e:{q=!1,J&&(J=!1,me(He),He=-1),G=!0;var oe=U;try{t:{for(g(F),P=o(R);P!==null&&!(P.expirationTime>F&&S());){var Me=P.callback;if(typeof Me=="function"){P.callback=null,U=P.priorityLevel;var X=Me(P.expirationTime<=F);if(F=t.unstable_now(),typeof X=="function"){P.callback=X,g(F),ne=!0;break t}P===o(R)&&u(R),g(F)}else u(R);P=o(R)}if(P!==null)ne=!0;else{var fe=o(B);fe!==null&&E(v,fe.startTime-F),ne=!1}}break e}finally{P=null,U=oe,G=!1}ne=void 0}}finally{ne?Qe():ve=!1}}}function i(F,ne){var oe=F.length;F.push(ne);e:for(;0<oe;){var Me=oe-1>>>1,X=F[Me];if(0<h(X,ne))F[Me]=ne,F[oe]=X,oe=Me;else break e}}function o(F){return F.length===0?null:F[0]}function u(F){if(F.length===0)return null;var ne=F[0],oe=F.pop();if(oe!==ne){F[0]=oe;e:for(var Me=0,X=F.length,fe=X>>>1;Me<fe;){var Ae=2*(Me+1)-1,je=F[Ae],Ye=Ae+1,Le=F[Ye];if(0>h(je,oe))Ye<X&&0>h(Le,je)?(F[Me]=Le,F[Ye]=oe,Me=Ye):(F[Me]=je,F[Ae]=oe,Me=Ae);else if(Ye<X&&0>h(Le,oe))F[Me]=Le,F[Ye]=oe,Me=Ye;else break e}}return ne}function h(F,ne){var oe=F.sortIndex-ne.sortIndex;return oe!==0?oe:F.id-ne.id}function g(F){for(var ne=o(B);ne!==null;){if(ne.callback===null)u(B);else if(ne.startTime<=F)u(B),ne.sortIndex=ne.expirationTime,i(R,ne);else break;ne=o(B)}}function v(F){if(J=!1,g(F),!q)if(o(R)!==null)q=!0,ve||(ve=!0,Qe());else{var ne=o(B);ne!==null&&E(v,ne.startTime-F)}}function S(){return Y?!0:!(t.unstable_now()-Pe<Be)}function E(F,ne){He=le(function(){F(t.unstable_now())},ne)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var A=performance;t.unstable_now=function(){return A.now()}}else{var C=Date,M=C.now();t.unstable_now=function(){return C.now()-M}}var R=[],B=[],L=1,P=null,U=3,G=!1,q=!1,J=!1,Y=!1,le=typeof setTimeout=="function"?setTimeout:null,me=typeof clearTimeout=="function"?clearTimeout:null,pe=typeof setImmediate<"u"?setImmediate:null,ve=!1,He=-1,Be=5,Pe=-1;if(typeof pe=="function")var Qe=function(){pe(n)};else if(typeof MessageChannel<"u"){var Xe=new MessageChannel,qe=Xe.port2;Xe.port1.onmessage=n,Qe=function(){qe.postMessage(null)}}else Qe=function(){le(n,0)};t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(F){F.callback=null},t.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Be=0<F?Math.floor(1e3/F):5},t.unstable_getCurrentPriorityLevel=function(){return U},t.unstable_next=function(F){switch(U){case 1:case 2:case 3:var ne=3;break;default:ne=U}var oe=U;U=ne;try{return F()}finally{U=oe}},t.unstable_requestPaint=function(){Y=!0},t.unstable_runWithPriority=function(F,ne){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var oe=U;U=F;try{return ne()}finally{U=oe}},t.unstable_scheduleCallback=function(F,ne,oe){var Me=t.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?Me+oe:Me):oe=Me,F){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=oe+X,F={id:L++,callback:ne,priorityLevel:F,startTime:oe,expirationTime:X,sortIndex:-1},oe>Me?(F.sortIndex=oe,i(B,F),o(R)===null&&F===o(B)&&(J?(me(He),He=-1):J=!0,E(v,oe-Me))):(F.sortIndex=X,i(R,F),q||G||(q=!0,ve||(ve=!0,Qe()))),F},t.unstable_shouldYield=S,t.unstable_wrapCallback=function(F){var ne=U;return function(){var oe=U;U=ne;try{return F.apply(this,arguments)}finally{U=oe}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(gw)),gw}var z_;function L_(){return z_||(z_=1,process.env.NODE_ENV==="production"?$x.exports=cF():$x.exports=fF()),$x.exports}/**
|
|
775
775
|
* @license React
|
|
776
776
|
* react-dom-client.production.js
|
|
777
777
|
*
|
|
@@ -779,14 +779,14 @@ attempted value: ${g}
|
|
|
779
779
|
*
|
|
780
780
|
* This source code is licensed under the MIT license found in the
|
|
781
781
|
* LICENSE file in the root directory of this source tree.
|
|
782
|
-
*/var U_;function uF(){if(U_)return Ab;U_=1;var t=L_(),n=ee,i=mS;function o(r){var s="https://react.dev/errors/"+r;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)s+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function h(r){var s=r,c=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(c=s.return),r=s.return;while(r)}return s.tag===3?c:null}function g(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function v(r){if(h(r)!==r)throw Error(o(188))}function S(r){var s=r.alternate;if(!s){if(s=h(r),s===null)throw Error(o(188));return s!==r?null:r}for(var c=r,p=s;;){var x=c.return;if(x===null)break;var w=x.alternate;if(w===null){if(p=x.return,p!==null){c=p;continue}break}if(x.child===w.child){for(w=x.child;w;){if(w===c)return v(x),r;if(w===p)return v(x),s;w=w.sibling}throw Error(o(188))}if(c.return!==p.return)c=x,p=w;else{for(var N=!1,$=x.child;$;){if($===c){N=!0,c=x,p=w;break}if($===p){N=!0,p=x,c=w;break}$=$.sibling}if(!N){for($=w.child;$;){if($===c){N=!0,c=w,p=x;break}if($===p){N=!0,p=w,c=x;break}$=$.sibling}if(!N)throw Error(o(189))}}if(c.alternate!==p)throw Error(o(190))}if(c.tag!==3)throw Error(o(188));return c.stateNode.current===c?r:s}function E(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r;for(r=r.child;r!==null;){if(s=E(r),s!==null)return s;r=r.sibling}return null}var A=Object.assign,C=Symbol.for("react.element"),M=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),G=Symbol.for("react.consumer"),q=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),me=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),ve=Symbol.for("react.activity"),He=Symbol.for("react.memo_cache_sentinel"),Be=Symbol.iterator;function Pe(r){return r===null||typeof r!="object"?null:(r=Be&&r[Be]||r["@@iterator"],typeof r=="function"?r:null)}var Qe=Symbol.for("react.client.reference");function Xe(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===Qe?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case B:return"Fragment";case P:return"Profiler";case L:return"StrictMode";case Y:return"Suspense";case le:return"SuspenseList";case ve:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case R:return"Portal";case q:return(r.displayName||"Context")+".Provider";case G:return(r._context.displayName||"Context")+".Consumer";case J:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case me:return s=r.displayName||null,s!==null?s:Xe(r.type)||"Memo";case pe:s=r._payload,r=r._init;try{return Xe(r(s))}catch{}}return null}var qe=Array.isArray,F=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},Me=[],X=-1;function fe(r){return{current:r}}function Ae(r){0>X||(r.current=Me[X],Me[X]=null,X--)}function je(r,s){X++,Me[X]=r.current,r.current=s}var Ye=fe(null),Le=fe(null),Ue=fe(null),et=fe(null);function We(r,s){switch(je(Ue,s),je(Le,r),je(Ye,null),s.nodeType){case 9:case 11:r=(r=s.documentElement)&&(r=r.namespaceURI)?Sn(r):0;break;default:if(r=s.tagName,s=s.namespaceURI)s=Sn(s),r=Nn(s,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}Ae(Ye),je(Ye,r)}function it(){Ae(Ye),Ae(Le),Ae(Ue)}function yt(r){r.memoizedState!==null&&je(et,r);var s=Ye.current,c=Nn(s,r.type);s!==c&&(je(Le,r),je(Ye,c))}function un(r){Le.current===r&&(Ae(Ye),Ae(Le)),et.current===r&&(Ae(et),$i._currentValue=oe)}var Ge=Object.prototype.hasOwnProperty,nt=t.unstable_scheduleCallback,Jt=t.unstable_cancelCallback,wa=t.unstable_shouldYield,pr=t.unstable_requestPaint,gn=t.unstable_now,As=t.unstable_getCurrentPriorityLevel,hd=t.unstable_ImmediatePriority,Lo=t.unstable_UserBlockingPriority,Ia=t.unstable_NormalPriority,gr=t.unstable_LowPriority,$r=t.unstable_IdlePriority,hm=t.log,Uo=t.unstable_setDisableYieldValue,Vo=null,tt=null;function dn(r){if(typeof hm=="function"&&Uo(r),tt&&typeof tt.setStrictMode=="function")try{tt.setStrictMode(Vo,r)}catch{}}var En=Math.clz32?Math.clz32:Dg,yr=Math.log,Yl=Math.LN2;function Dg(r){return r>>>=0,r===0?32:31-(yr(r)/Yl|0)|0}var ws=256,pl=4194304;function Ti(r){var s=r&42;if(s!==0)return s;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function ql(r,s,c){var p=r.pendingLanes;if(p===0)return 0;var x=0,w=r.suspendedLanes,N=r.pingedLanes;r=r.warmLanes;var $=p&134217727;return $!==0?(p=$&~w,p!==0?x=Ti(p):(N&=$,N!==0?x=Ti(N):c||(c=$&~r,c!==0&&(x=Ti(c))))):($=p&~w,$!==0?x=Ti($):N!==0?x=Ti(N):c||(c=p&~r,c!==0&&(x=Ti(c)))),x===0?0:s!==0&&s!==x&&(s&w)===0&&(w=x&-x,c=s&-s,w>=c||w===32&&(c&4194048)!==0)?s:x}function Hr(r,s){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&s)===0}function Ua(r,s){switch(r){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Cs(){var r=ws;return ws<<=1,(ws&4194048)===0&&(ws=256),r}function wu(){var r=pl;return pl<<=1,(pl&62914560)===0&&(pl=4194304),r}function Bo(r){for(var s=[],c=0;31>c;c++)s.push(r);return s}function Os(r,s){r.pendingLanes|=s,s!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function tv(r,s,c,p,x,w){var N=r.pendingLanes;r.pendingLanes=c,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=c,r.entangledLanes&=c,r.errorRecoveryDisabledLanes&=c,r.shellSuspendCounter=0;var $=r.entanglements,Z=r.expirationTimes,de=r.hiddenUpdates;for(c=N&~c;0<c;){var De=31-En(c),Ne=1<<De;$[De]=0,Z[De]=-1;var ye=de[De];if(ye!==null)for(de[De]=null,De=0;De<ye.length;De++){var he=ye[De];he!==null&&(he.lane&=-536870913)}c&=~Ne}p!==0&&md(r,p,0),w!==0&&x===0&&r.tag!==0&&(r.suspendedLanes|=w&~(N&~s))}function md(r,s,c){r.pendingLanes|=s,r.suspendedLanes&=~s;var p=31-En(s);r.entangledLanes|=s,r.entanglements[p]=r.entanglements[p]|1073741824|c&4194090}function pd(r,s){var c=r.entangledLanes|=s;for(r=r.entanglements;c;){var p=31-En(c),x=1<<p;x&s|r[p]&s&&(r[p]|=s),c&=~x}}function gl(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function gd(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function nv(){var r=ne.p;return r!==0?r:(r=window.event,r===void 0?32:Y0(r.type))}function Cb(r,s){var c=ne.p;try{return ne.p=r,s()}finally{ne.p=c}}var Ca=Math.random().toString(36).slice(2),pa="__reactFiber$"+Ca,Ei="__reactProps$"+Ca,Ms="__reactContainer$"+Ca,mm="__reactEvents$"+Ca,av="__reactListeners$"+Ca,pm="__reactHandles$"+Ca,iv="__reactResources$"+Ca,rt="__reactMarker$"+Ca;function yd(r){delete r[pa],delete r[Ei],delete r[mm],delete r[av],delete r[pm]}function Fa(r){var s=r[pa];if(s)return s;for(var c=r.parentNode;c;){if(s=c[Ms]||c[pa]){if(c=s.alternate,s.child!==null||c!==null&&c.child!==null)for(r=ai(r);r!==null;){if(c=r[pa])return c;r=ai(r)}return s}r=c,c=r.parentNode}return null}function Cu(r){if(r=r[pa]||r[Ms]){var s=r.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return r}return null}function Hc(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r.stateNode;throw Error(o(33))}function jo(r){var s=r[iv];return s||(s=r[iv]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Oa(r){r[rt]=!0}var vd=new Set,vr={};function Ds(r,s){Rs(r,s),Rs(r+"Capture",s)}function Rs(r,s){for(vr[r]=s,r=0;r<s.length;r++)vd.add(s[r])}var bd=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),gm={},Pc={};function rv(r){return Ge.call(Pc,r)?!0:Ge.call(gm,r)?!1:bd.test(r)?Pc[r]=!0:(gm[r]=!0,!1)}function $o(r,s,c){if(rv(s))if(c===null)r.removeAttribute(s);else{switch(typeof c){case"undefined":case"function":case"symbol":r.removeAttribute(s);return;case"boolean":var p=s.toLowerCase().slice(0,5);if(p!=="data-"&&p!=="aria-"){r.removeAttribute(s);return}}r.setAttribute(s,""+c)}}function Sd(r,s,c){if(c===null)r.removeAttribute(s);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(s);return}r.setAttribute(s,""+c)}}function yl(r,s,c,p){if(p===null)r.removeAttribute(c);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(c);return}r.setAttributeNS(s,c,""+p)}}var xd,ym;function Ou(r){if(xd===void 0)try{throw Error()}catch(c){var s=c.stack.trim().match(/\n( *(at )?)/);xd=s&&s[1]||"",ym=-1<c.stack.indexOf(`
|
|
782
|
+
*/var U_;function dF(){if(U_)return Ab;U_=1;var t=L_(),n=ee,i=mS;function o(r){var s="https://react.dev/errors/"+r;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)s+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function h(r){var s=r,c=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(c=s.return),r=s.return;while(r)}return s.tag===3?c:null}function g(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function v(r){if(h(r)!==r)throw Error(o(188))}function S(r){var s=r.alternate;if(!s){if(s=h(r),s===null)throw Error(o(188));return s!==r?null:r}for(var c=r,p=s;;){var x=c.return;if(x===null)break;var w=x.alternate;if(w===null){if(p=x.return,p!==null){c=p;continue}break}if(x.child===w.child){for(w=x.child;w;){if(w===c)return v(x),r;if(w===p)return v(x),s;w=w.sibling}throw Error(o(188))}if(c.return!==p.return)c=x,p=w;else{for(var N=!1,$=x.child;$;){if($===c){N=!0,c=x,p=w;break}if($===p){N=!0,p=x,c=w;break}$=$.sibling}if(!N){for($=w.child;$;){if($===c){N=!0,c=w,p=x;break}if($===p){N=!0,p=w,c=x;break}$=$.sibling}if(!N)throw Error(o(189))}}if(c.alternate!==p)throw Error(o(190))}if(c.tag!==3)throw Error(o(188));return c.stateNode.current===c?r:s}function E(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r;for(r=r.child;r!==null;){if(s=E(r),s!==null)return s;r=r.sibling}return null}var A=Object.assign,C=Symbol.for("react.element"),M=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),G=Symbol.for("react.consumer"),q=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),me=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),ve=Symbol.for("react.activity"),He=Symbol.for("react.memo_cache_sentinel"),Be=Symbol.iterator;function Pe(r){return r===null||typeof r!="object"?null:(r=Be&&r[Be]||r["@@iterator"],typeof r=="function"?r:null)}var Qe=Symbol.for("react.client.reference");function Xe(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===Qe?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case B:return"Fragment";case P:return"Profiler";case L:return"StrictMode";case Y:return"Suspense";case le:return"SuspenseList";case ve:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case R:return"Portal";case q:return(r.displayName||"Context")+".Provider";case G:return(r._context.displayName||"Context")+".Consumer";case J:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case me:return s=r.displayName||null,s!==null?s:Xe(r.type)||"Memo";case pe:s=r._payload,r=r._init;try{return Xe(r(s))}catch{}}return null}var qe=Array.isArray,F=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},Me=[],X=-1;function fe(r){return{current:r}}function Ae(r){0>X||(r.current=Me[X],Me[X]=null,X--)}function je(r,s){X++,Me[X]=r.current,r.current=s}var Ye=fe(null),Le=fe(null),Ue=fe(null),et=fe(null);function We(r,s){switch(je(Ue,s),je(Le,r),je(Ye,null),s.nodeType){case 9:case 11:r=(r=s.documentElement)&&(r=r.namespaceURI)?Sn(r):0;break;default:if(r=s.tagName,s=s.namespaceURI)s=Sn(s),r=Nn(s,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}Ae(Ye),je(Ye,r)}function it(){Ae(Ye),Ae(Le),Ae(Ue)}function yt(r){r.memoizedState!==null&&je(et,r);var s=Ye.current,c=Nn(s,r.type);s!==c&&(je(Le,r),je(Ye,c))}function un(r){Le.current===r&&(Ae(Ye),Ae(Le)),et.current===r&&(Ae(et),$i._currentValue=oe)}var Ge=Object.prototype.hasOwnProperty,nt=t.unstable_scheduleCallback,Jt=t.unstable_cancelCallback,wa=t.unstable_shouldYield,pr=t.unstable_requestPaint,gn=t.unstable_now,As=t.unstable_getCurrentPriorityLevel,hd=t.unstable_ImmediatePriority,Lo=t.unstable_UserBlockingPriority,Ia=t.unstable_NormalPriority,gr=t.unstable_LowPriority,$r=t.unstable_IdlePriority,hm=t.log,Uo=t.unstable_setDisableYieldValue,Vo=null,tt=null;function dn(r){if(typeof hm=="function"&&Uo(r),tt&&typeof tt.setStrictMode=="function")try{tt.setStrictMode(Vo,r)}catch{}}var En=Math.clz32?Math.clz32:Dg,yr=Math.log,Yl=Math.LN2;function Dg(r){return r>>>=0,r===0?32:31-(yr(r)/Yl|0)|0}var ws=256,pl=4194304;function Ti(r){var s=r&42;if(s!==0)return s;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function ql(r,s,c){var p=r.pendingLanes;if(p===0)return 0;var x=0,w=r.suspendedLanes,N=r.pingedLanes;r=r.warmLanes;var $=p&134217727;return $!==0?(p=$&~w,p!==0?x=Ti(p):(N&=$,N!==0?x=Ti(N):c||(c=$&~r,c!==0&&(x=Ti(c))))):($=p&~w,$!==0?x=Ti($):N!==0?x=Ti(N):c||(c=p&~r,c!==0&&(x=Ti(c)))),x===0?0:s!==0&&s!==x&&(s&w)===0&&(w=x&-x,c=s&-s,w>=c||w===32&&(c&4194048)!==0)?s:x}function Hr(r,s){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&s)===0}function Ua(r,s){switch(r){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Cs(){var r=ws;return ws<<=1,(ws&4194048)===0&&(ws=256),r}function wu(){var r=pl;return pl<<=1,(pl&62914560)===0&&(pl=4194304),r}function Bo(r){for(var s=[],c=0;31>c;c++)s.push(r);return s}function Os(r,s){r.pendingLanes|=s,s!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function tv(r,s,c,p,x,w){var N=r.pendingLanes;r.pendingLanes=c,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=c,r.entangledLanes&=c,r.errorRecoveryDisabledLanes&=c,r.shellSuspendCounter=0;var $=r.entanglements,Z=r.expirationTimes,de=r.hiddenUpdates;for(c=N&~c;0<c;){var De=31-En(c),Ne=1<<De;$[De]=0,Z[De]=-1;var ye=de[De];if(ye!==null)for(de[De]=null,De=0;De<ye.length;De++){var he=ye[De];he!==null&&(he.lane&=-536870913)}c&=~Ne}p!==0&&md(r,p,0),w!==0&&x===0&&r.tag!==0&&(r.suspendedLanes|=w&~(N&~s))}function md(r,s,c){r.pendingLanes|=s,r.suspendedLanes&=~s;var p=31-En(s);r.entangledLanes|=s,r.entanglements[p]=r.entanglements[p]|1073741824|c&4194090}function pd(r,s){var c=r.entangledLanes|=s;for(r=r.entanglements;c;){var p=31-En(c),x=1<<p;x&s|r[p]&s&&(r[p]|=s),c&=~x}}function gl(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function gd(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function nv(){var r=ne.p;return r!==0?r:(r=window.event,r===void 0?32:Y0(r.type))}function Cb(r,s){var c=ne.p;try{return ne.p=r,s()}finally{ne.p=c}}var Ca=Math.random().toString(36).slice(2),pa="__reactFiber$"+Ca,Ei="__reactProps$"+Ca,Ms="__reactContainer$"+Ca,mm="__reactEvents$"+Ca,av="__reactListeners$"+Ca,pm="__reactHandles$"+Ca,iv="__reactResources$"+Ca,rt="__reactMarker$"+Ca;function yd(r){delete r[pa],delete r[Ei],delete r[mm],delete r[av],delete r[pm]}function Fa(r){var s=r[pa];if(s)return s;for(var c=r.parentNode;c;){if(s=c[Ms]||c[pa]){if(c=s.alternate,s.child!==null||c!==null&&c.child!==null)for(r=ai(r);r!==null;){if(c=r[pa])return c;r=ai(r)}return s}r=c,c=r.parentNode}return null}function Cu(r){if(r=r[pa]||r[Ms]){var s=r.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return r}return null}function Hc(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r.stateNode;throw Error(o(33))}function jo(r){var s=r[iv];return s||(s=r[iv]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Oa(r){r[rt]=!0}var vd=new Set,vr={};function Ds(r,s){Rs(r,s),Rs(r+"Capture",s)}function Rs(r,s){for(vr[r]=s,r=0;r<s.length;r++)vd.add(s[r])}var bd=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),gm={},Pc={};function rv(r){return Ge.call(Pc,r)?!0:Ge.call(gm,r)?!1:bd.test(r)?Pc[r]=!0:(gm[r]=!0,!1)}function $o(r,s,c){if(rv(s))if(c===null)r.removeAttribute(s);else{switch(typeof c){case"undefined":case"function":case"symbol":r.removeAttribute(s);return;case"boolean":var p=s.toLowerCase().slice(0,5);if(p!=="data-"&&p!=="aria-"){r.removeAttribute(s);return}}r.setAttribute(s,""+c)}}function Sd(r,s,c){if(c===null)r.removeAttribute(s);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(s);return}r.setAttribute(s,""+c)}}function yl(r,s,c,p){if(p===null)r.removeAttribute(c);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(c);return}r.setAttributeNS(s,c,""+p)}}var xd,ym;function Ou(r){if(xd===void 0)try{throw Error()}catch(c){var s=c.stack.trim().match(/\n( *(at )?)/);xd=s&&s[1]||"",ym=-1<c.stack.indexOf(`
|
|
783
783
|
at`)?" (<anonymous>)":-1<c.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
784
784
|
`+xd+r+ym}var Ai=!1;function _s(r,s){if(!r||Ai)return"";Ai=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var p={DetermineComponentFrameRoot:function(){try{if(s){var Ne=function(){throw Error()};if(Object.defineProperty(Ne.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ne,[])}catch(he){var ye=he}Reflect.construct(r,[],Ne)}else{try{Ne.call()}catch(he){ye=he}r.call(Ne.prototype)}}else{try{throw Error()}catch(he){ye=he}(Ne=r())&&typeof Ne.catch=="function"&&Ne.catch(function(){})}}catch(he){if(he&&ye&&typeof he.stack=="string")return[he.stack,ye.stack]}return[null,null]}};p.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var x=Object.getOwnPropertyDescriptor(p.DetermineComponentFrameRoot,"name");x&&x.configurable&&Object.defineProperty(p.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var w=p.DetermineComponentFrameRoot(),N=w[0],$=w[1];if(N&&$){var Z=N.split(`
|
|
785
785
|
`),de=$.split(`
|
|
786
786
|
`);for(x=p=0;p<Z.length&&!Z[p].includes("DetermineComponentFrameRoot");)p++;for(;x<de.length&&!de[x].includes("DetermineComponentFrameRoot");)x++;if(p===Z.length||x===de.length)for(p=Z.length-1,x=de.length-1;1<=p&&0<=x&&Z[p]!==de[x];)x--;for(;1<=p&&0<=x;p--,x--)if(Z[p]!==de[x]){if(p!==1||x!==1)do if(p--,x--,0>x||Z[p]!==de[x]){var De=`
|
|
787
787
|
`+Z[p].replace(" at new "," at ");return r.displayName&&De.includes("<anonymous>")&&(De=De.replace("<anonymous>",r.displayName)),De}while(1<=p&&0<=x);break}}}finally{Ai=!1,Error.prepareStackTrace=c}return(c=r?r.displayName||r.name:"")?Ou(c):""}function Mu(r){switch(r.tag){case 26:case 27:case 5:return Ou(r.type);case 16:return Ou("Lazy");case 13:return Ou("Suspense");case 19:return Ou("SuspenseList");case 0:case 15:return _s(r.type,!1);case 11:return _s(r.type.render,!1);case 1:return _s(r.type,!0);case 31:return Ou("Activity");default:return""}}function vm(r){try{var s="";do s+=Mu(r),r=r.return;while(r);return s}catch(c){return`
|
|
788
788
|
Error generating stack: `+c.message+`
|
|
789
|
-
`+c.stack}}function Xa(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function kc(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Td(r){var s=kc(r)?"checked":"value",c=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),p=""+r[s];if(!r.hasOwnProperty(s)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var x=c.get,w=c.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return x.call(this)},set:function(N){p=""+N,w.call(this,N)}}),Object.defineProperty(r,s,{enumerable:c.enumerable}),{getValue:function(){return p},setValue:function(N){p=""+N},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function Ns(r){r._valueTracker||(r._valueTracker=Td(r))}function zs(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var c=s.getValue(),p="";return r&&(p=kc(r)?r.checked?"true":"false":r.value),r=p,r!==c?(s.setValue(r),!0):!1}function Ho(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var lv=/[\n"\\]/g;function Pr(r){return r.replace(lv,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Ed(r,s,c,p,x,w,N,$){r.name="",N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?r.type=N:r.removeAttribute("type"),s!=null?N==="number"?(s===0&&r.value===""||r.value!=s)&&(r.value=""+Xa(s)):r.value!==""+Xa(s)&&(r.value=""+Xa(s)):N!=="submit"&&N!=="reset"||r.removeAttribute("value"),s!=null?Du(r,N,Xa(s)):c!=null?Du(r,N,Xa(c)):p!=null&&r.removeAttribute("value"),x==null&&w!=null&&(r.defaultChecked=!!w),x!=null&&(r.checked=x&&typeof x!="function"&&typeof x!="symbol"),$!=null&&typeof $!="function"&&typeof $!="symbol"&&typeof $!="boolean"?r.name=""+Xa($):r.removeAttribute("name")}function Ad(r,s,c,p,x,w,N,$){if(w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(r.type=w),s!=null||c!=null){if(!(w!=="submit"&&w!=="reset"||s!=null))return;c=c!=null?""+Xa(c):"",s=s!=null?""+Xa(s):c,$||s===r.value||(r.value=s),r.defaultValue=s}p=p??x,p=typeof p!="function"&&typeof p!="symbol"&&!!p,r.checked=$?r.checked:!!p,r.defaultChecked=!!p,N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"&&(r.name=N)}function Du(r,s,c){s==="number"&&Ho(r.ownerDocument)===r||r.defaultValue===""+c||(r.defaultValue=""+c)}function Ru(r,s,c,p){if(r=r.options,s){s={};for(var x=0;x<c.length;x++)s["$"+c[x]]=!0;for(c=0;c<r.length;c++)x=s.hasOwnProperty("$"+r[c].value),r[c].selected!==x&&(r[c].selected=x),x&&p&&(r[c].defaultSelected=!0)}else{for(c=""+Xa(c),s=null,x=0;x<r.length;x++){if(r[x].value===c){r[x].selected=!0,p&&(r[x].defaultSelected=!0);return}s!==null||r[x].disabled||(s=r[x])}s!==null&&(s.selected=!0)}}function bm(r,s,c){if(s!=null&&(s=""+Xa(s),s!==r.value&&(r.value=s),c==null)){r.defaultValue!==s&&(r.defaultValue=s);return}r.defaultValue=c!=null?""+Xa(c):""}function wd(r,s,c,p){if(s==null){if(p!=null){if(c!=null)throw Error(o(92));if(qe(p)){if(1<p.length)throw Error(o(93));p=p[0]}c=p}c==null&&(c=""),s=c}c=Xa(s),r.defaultValue=c,p=r.textContent,p===c&&p!==""&&p!==null&&(r.value=p)}function Ls(r,s){if(s){var c=r.firstChild;if(c&&c===r.lastChild&&c.nodeType===3){c.nodeValue=s;return}}r.textContent=s}var _u=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Cd(r,s,c){var p=s.indexOf("--")===0;c==null||typeof c=="boolean"||c===""?p?r.setProperty(s,""):s==="float"?r.cssFloat="":r[s]="":p?r.setProperty(s,c):typeof c!="number"||c===0||_u.has(s)?s==="float"?r.cssFloat=c:r[s]=(""+c).trim():r[s]=c+"px"}function Yc(r,s,c){if(s!=null&&typeof s!="object")throw Error(o(62));if(r=r.style,c!=null){for(var p in c)!c.hasOwnProperty(p)||s!=null&&s.hasOwnProperty(p)||(p.indexOf("--")===0?r.setProperty(p,""):p==="float"?r.cssFloat="":r[p]="");for(var x in s)p=s[x],s.hasOwnProperty(x)&&c[x]!==p&&Cd(r,x,p)}else for(var w in s)s.hasOwnProperty(w)&&Cd(r,w,s[w])}function Nu(r){if(r.indexOf("-")===-1)return!1;switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ov=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Rg=/^[\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;function qc(r){return Rg.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}var Us=null;function Sm(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Gc=null,Ic=null;function _g(r){var s=Cu(r);if(s&&(r=s.stateNode)){var c=r[Ei]||null;e:switch(r=s.stateNode,s.type){case"input":if(Ed(r,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name),s=c.name,c.type==="radio"&&s!=null){for(c=r;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll('input[name="'+Pr(""+s)+'"][type="radio"]'),s=0;s<c.length;s++){var p=c[s];if(p!==r&&p.form===r.form){var x=p[Ei]||null;if(!x)throw Error(o(90));Ed(p,x.value,x.defaultValue,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name)}}for(s=0;s<c.length;s++)p=c[s],p.form===r.form&&zs(p)}break e;case"textarea":bm(r,c.value,c.defaultValue);break e;case"select":s=c.value,s!=null&&Ru(r,!!c.multiple,s,!1)}}}var Ng=!1;function Fc(r,s,c){if(Ng)return r(s,c);Ng=!0;try{var p=r(s);return p}finally{if(Ng=!1,(Gc!==null||Ic!==null)&&(oc(),Gc&&(s=Gc,r=Ic,Ic=Gc=null,_g(s),r)))for(s=0;s<r.length;s++)_g(r[s])}}function zu(r,s){var c=r.stateNode;if(c===null)return null;var p=c[Ei]||null;if(p===null)return null;c=p[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(p=!p.disabled)||(r=r.type,p=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!p;break e;default:r=!1}if(r)return null;if(c&&typeof c!="function")throw Error(o(231,s,typeof c));return c}var Gl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xc=!1;if(Gl)try{var Po={};Object.defineProperty(Po,"passive",{get:function(){Xc=!0}}),window.addEventListener("test",Po,Po),window.removeEventListener("test",Po,Po)}catch{Xc=!1}var ko=null,Zc=null,Lu=null;function zg(){if(Lu)return Lu;var r,s=Zc,c=s.length,p,x="value"in ko?ko.value:ko.textContent,w=x.length;for(r=0;r<c&&s[r]===x[r];r++);var N=c-r;for(p=1;p<=N&&s[c-p]===x[w-p];p++);return Lu=x.slice(r,1<p?1-p:void 0)}function Lt(r){var s=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&s===13&&(r=13)):r=s,r===10&&(r=13),32<=r||r===13?r:0}function An(){return!0}function xm(){return!1}function wi(r){function s(c,p,x,w,N){this._reactName=c,this._targetInst=x,this.type=p,this.nativeEvent=w,this.target=N,this.currentTarget=null;for(var $ in r)r.hasOwnProperty($)&&(c=r[$],this[$]=c?c(w):w[$]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?An:xm,this.isPropagationStopped=xm,this}return A(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=An)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=An)},persist:function(){},isPersistent:An}),s}var Vs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tm=wi(Vs),Od=A({},Vs,{view:0,detail:0}),sv=wi(Od),Em,Am,ca,Yo=A({},Od,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:oi,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==ca&&(ca&&r.type==="mousemove"?(Em=r.screenX-ca.screenX,Am=r.screenY-ca.screenY):Am=Em=0,ca=r),Em)},movementY:function(r){return"movementY"in r?r.movementY:Am}}),qo=wi(Yo),Lg=A({},Yo,{dataTransfer:0}),wm=wi(Lg),kr=A({},Od,{relatedTarget:0}),Cm=wi(kr),uv=A({},Vs,{animationName:0,elapsedTime:0,pseudoElement:0}),cv=wi(uv),fv=A({},Vs,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Kc=wi(fv),Ug=A({},Vs,{data:0}),Ci=wi(Ug),dv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},br={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"},Vg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Bg(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=Vg[r])?!!s[r]:!1}function oi(){return Bg}var Il=A({},Od,{key:function(r){if(r.key){var s=dv[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=Lt(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?br[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:oi,charCode:function(r){return r.type==="keypress"?Lt(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Lt(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),Sr=wi(Il),Qt=A({},Yo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yr=wi(Qt),Qc=A({},Od,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:oi}),jg=wi(Qc),si=A({},Vs,{propertyName:0,elapsedTime:0,pseudoElement:0}),hv=wi(si),Om=A({},Yo,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),Uu=wi(Om),Mm=A({},Vs,{newState:0,oldState:0}),Md=wi(Mm),Vu=[9,13,27,32],Dd=Gl&&"CompositionEvent"in window,Wc=null;Gl&&"documentMode"in document&&(Wc=document.documentMode);var Dm=Gl&&"TextEvent"in window&&!Wc,qr=Gl&&(!Dd||Wc&&8<Wc&&11>=Wc),Rd=" ",_d=!1;function Nd(r,s){switch(r){case"keyup":return Vu.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fl(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Xl=!1;function $g(r,s){switch(r){case"compositionend":return Fl(s);case"keypress":return s.which!==32?null:(_d=!0,Rd);case"textInput":return r=s.data,r===Rd&&_d?null:r;default:return null}}function Bs(r,s){if(Xl)return r==="compositionend"||!Dd&&Nd(r,s)?(r=zg(),Lu=Zc=ko=null,Xl=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return qr&&s.locale!=="ko"?null:s.data;default:return null}}var Gi={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 Jc(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!Gi[r.type]:s==="textarea"}function js(r,s,c,p){Gc?Ic?Ic.push(p):Ic=[p]:Gc=p,s=Hf(s,"onChange"),0<s.length&&(c=new Tm("onChange","change",null,c,p),r.push({event:c,listeners:s}))}var Gr=null,Ir=null;function Hg(r){fc(r,0)}function Zl(r){var s=Hc(r);if(zs(s))return r}function Pg(r,s){if(r==="change")return s}var kg=!1;if(Gl){var Bu;if(Gl){var Fr="oninput"in document;if(!Fr){var Yg=document.createElement("div");Yg.setAttribute("oninput","return;"),Fr=typeof Yg.oninput=="function"}Bu=Fr}else Bu=!1;kg=Bu&&(!document.documentMode||9<document.documentMode)}function ef(){Gr&&(Gr.detachEvent("onpropertychange",zd),Ir=Gr=null)}function zd(r){if(r.propertyName==="value"&&Zl(Ir)){var s=[];js(s,Ir,r,Sm(r)),Fc(Hg,s)}}function Ld(r,s,c){r==="focusin"?(ef(),Gr=s,Ir=c,Gr.attachEvent("onpropertychange",zd)):r==="focusout"&&ef()}function Oi(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Zl(Ir)}function Xr(r,s){if(r==="click")return Zl(s)}function qg(r,s){if(r==="input"||r==="change")return Zl(s)}function Gg(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var Za=typeof Object.is=="function"?Object.is:Gg;function xr(r,s){if(Za(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var c=Object.keys(r),p=Object.keys(s);if(c.length!==p.length)return!1;for(p=0;p<c.length;p++){var x=c[p];if(!Ge.call(s,x)||!Za(r[x],s[x]))return!1}return!0}function Va(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Vn(r,s){var c=Va(r);r=0;for(var p;c;){if(c.nodeType===3){if(p=r+c.textContent.length,r<=s&&p>=s)return{node:c,offset:s-r};r=p}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=Va(c)}}function Ud(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?Ud(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function Ig(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var s=Ho(r.document);s instanceof r.HTMLIFrameElement;){try{var c=typeof s.contentWindow.location.href=="string"}catch{c=!1}if(c)r=s.contentWindow;else break;s=Ho(r.document)}return s}function Vd(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}var ju=Gl&&"documentMode"in document&&11>=document.documentMode,Kl=null,ui=null,re=null,we=!1;function Se(r,s,c){var p=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;we||Kl==null||Kl!==Ho(p)||(p=Kl,"selectionStart"in p&&Vd(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),re&&xr(re,p)||(re=p,p=Hf(ui,"onSelect"),0<p.length&&(s=new Tm("onSelect","select",null,s,c),r.push({event:s,listeners:p}),s.target=Kl)))}function Ze(r,s){var c={};return c[r.toLowerCase()]=s.toLowerCase(),c["Webkit"+r]="webkit"+s,c["Moz"+r]="moz"+s,c}var St={animationend:Ze("Animation","AnimationEnd"),animationiteration:Ze("Animation","AnimationIteration"),animationstart:Ze("Animation","AnimationStart"),transitionrun:Ze("Transition","TransitionRun"),transitionstart:Ze("Transition","TransitionStart"),transitioncancel:Ze("Transition","TransitionCancel"),transitionend:Ze("Transition","TransitionEnd")},Mt={},wn={};Gl&&(wn=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);function Wt(r){if(Mt[r])return Mt[r];if(!St[r])return r;var s=St[r],c;for(c in s)if(s.hasOwnProperty(c)&&c in wn)return Mt[r]=s[c];return r}var Rm=Wt("animationend"),Fg=Wt("animationiteration"),Tr=Wt("animationstart"),tf=Wt("transitionrun"),_m=Wt("transitionstart"),$u=Wt("transitioncancel"),nf=Wt("transitionend"),af=new Map,an="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");an.push("scrollEnd");function Zr(r,s){af.set(r,s),Ds(s,[r])}var Nm=new WeakMap;function ci(r,s){if(typeof r=="object"&&r!==null){var c=Nm.get(r);return c!==void 0?c:(s={value:r,source:s,stack:vm(s)},Nm.set(r,s),s)}return{value:r,source:s,stack:vm(s)}}var Ii=[],$s=0,Ql=0;function Fi(){for(var r=$s,s=Ql=$s=0;s<r;){var c=Ii[s];Ii[s++]=null;var p=Ii[s];Ii[s++]=null;var x=Ii[s];Ii[s++]=null;var w=Ii[s];if(Ii[s++]=null,p!==null&&x!==null){var N=p.pending;N===null?x.next=x:(x.next=N.next,N.next=x),p.pending=x}w!==0&&Io(c,x,w)}}function Mi(r,s,c,p){Ii[$s++]=r,Ii[$s++]=s,Ii[$s++]=c,Ii[$s++]=p,Ql|=p,r.lanes|=p,r=r.alternate,r!==null&&(r.lanes|=p)}function Go(r,s,c,p){return Mi(r,s,c,p),rf(r)}function vl(r,s){return Mi(r,null,null,s),rf(r)}function Io(r,s,c){r.lanes|=c;var p=r.alternate;p!==null&&(p.lanes|=c);for(var x=!1,w=r.return;w!==null;)w.childLanes|=c,p=w.alternate,p!==null&&(p.childLanes|=c),w.tag===22&&(r=w.stateNode,r===null||r._visibility&1||(x=!0)),r=w,w=w.return;return r.tag===3?(w=r.stateNode,x&&s!==null&&(x=31-En(c),r=w.hiddenUpdates,p=r[x],p===null?r[x]=[s]:p.push(s),s.lane=c|536870912),w):null}function rf(r){if(50<lc)throw lc=0,E0=null,Error(o(185));for(var s=r.return;s!==null;)r=s,s=r.return;return r.tag===3?r.stateNode:null}var Hu={};function Bd(r,s,c,p){this.tag=r,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=p,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Di(r,s,c,p){return new Bd(r,s,c,p)}function Fo(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Ka(r,s){var c=r.alternate;return c===null?(c=Di(r.tag,s,r.key,r.mode),c.elementType=r.elementType,c.type=r.type,c.stateNode=r.stateNode,c.alternate=r,r.alternate=c):(c.pendingProps=s,c.type=r.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=r.flags&65011712,c.childLanes=r.childLanes,c.lanes=r.lanes,c.child=r.child,c.memoizedProps=r.memoizedProps,c.memoizedState=r.memoizedState,c.updateQueue=r.updateQueue,s=r.dependencies,c.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},c.sibling=r.sibling,c.index=r.index,c.ref=r.ref,c.refCleanup=r.refCleanup,c}function Dt(r,s){r.flags&=65011714;var c=r.alternate;return c===null?(r.childLanes=0,r.lanes=s,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=c.childLanes,r.lanes=c.lanes,r.child=c.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=c.memoizedProps,r.memoizedState=c.memoizedState,r.updateQueue=c.updateQueue,r.type=c.type,s=c.dependencies,r.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),r}function $e(r,s,c,p,x,w){var N=0;if(p=r,typeof r=="function")Fo(r)&&(N=1);else if(typeof r=="string")N=Bv(r,c,Ye.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case ve:return r=Di(31,c,s,x),r.elementType=ve,r.lanes=w,r;case B:return Kr(c.children,x,w,s);case L:N=8,x|=24;break;case P:return r=Di(12,c,s,x|2),r.elementType=P,r.lanes=w,r;case Y:return r=Di(13,c,s,x),r.elementType=Y,r.lanes=w,r;case le:return r=Di(19,c,s,x),r.elementType=le,r.lanes=w,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case U:case q:N=10;break e;case G:N=9;break e;case J:N=11;break e;case me:N=14;break e;case pe:N=16,p=null;break e}N=29,c=Error(o(130,r===null?"null":typeof r,"")),p=null}return s=Di(N,c,s,x),s.elementType=r,s.type=p,s.lanes=w,s}function Kr(r,s,c,p){return r=Di(7,r,p,s),r.lanes=c,r}function lf(r,s,c){return r=Di(6,r,null,s),r.lanes=c,r}function Bn(r,s,c){return s=Di(4,r.children!==null?r.children:[],r.key,s),s.lanes=c,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}var bl=[],Wl=0,jd=null,Pu=0,Qr=[],Xi=0,Mn=null,jn=1,ta="";function en(r,s){bl[Wl++]=Pu,bl[Wl++]=jd,jd=r,Pu=s}function $d(r,s,c){Qr[Xi++]=jn,Qr[Xi++]=ta,Qr[Xi++]=Mn,Mn=r;var p=jn;r=ta;var x=32-En(p)-1;p&=~(1<<x),c+=1;var w=32-En(s)+x;if(30<w){var N=x-x%5;w=(p&(1<<N)-1).toString(32),p>>=N,x-=N,jn=1<<32-En(s)+x|c<<x|p,ta=w+r}else jn=1<<w|c<<x|p,ta=r}function ku(r){r.return!==null&&(en(r,1),$d(r,1,0))}function Wr(r){for(;r===jd;)jd=bl[--Wl],bl[Wl]=null,Pu=bl[--Wl],bl[Wl]=null;for(;r===Mn;)Mn=Qr[--Xi],Qr[Xi]=null,ta=Qr[--Xi],Qr[Xi]=null,jn=Qr[--Xi],Qr[Xi]=null}var kn=null,rn=null,Yt=!1,fi=null,di=!1,Jl=Error(o(519));function Zi(r){var s=Error(o(418,""));throw Xo(ci(s,r)),Jl}function Hd(r){var s=r.stateNode,c=r.type,p=r.memoizedProps;switch(s[pa]=r,s[Ei]=p,c){case"dialog":Nt("cancel",s),Nt("close",s);break;case"iframe":case"object":case"embed":Nt("load",s);break;case"video":case"audio":for(c=0;c<Eh.length;c++)Nt(Eh[c],s);break;case"source":Nt("error",s);break;case"img":case"image":case"link":Nt("error",s),Nt("load",s);break;case"details":Nt("toggle",s);break;case"input":Nt("invalid",s),Ad(s,p.value,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name,!0),Ns(s);break;case"select":Nt("invalid",s);break;case"textarea":Nt("invalid",s),wd(s,p.value,p.defaultValue,p.children),Ns(s)}c=p.children,typeof c!="string"&&typeof c!="number"&&typeof c!="bigint"||s.textContent===""+c||p.suppressHydrationWarning===!0||z0(s.textContent,c)?(p.popover!=null&&(Nt("beforetoggle",s),Nt("toggle",s)),p.onScroll!=null&&Nt("scroll",s),p.onScrollEnd!=null&&Nt("scrollend",s),p.onClick!=null&&(s.onclick=Vp),s=!0):s=!1,s||Zi(r)}function Xg(r){for(kn=r.return;kn;)switch(kn.tag){case 5:case 13:di=!1;return;case 27:case 3:di=!0;return;default:kn=kn.return}}function of(r){if(r!==kn)return!1;if(!Yt)return Xg(r),Yt=!0,!1;var s=r.tag,c;if((c=s!==3&&s!==27)&&((c=s===5)&&(c=r.type,c=!(c!=="form"&&c!=="button")||Rl(r.type,r.memoizedProps)),c=!c),c&&rn&&Zi(r),Xg(r),s===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));e:{for(r=r.nextSibling,s=0;r;){if(r.nodeType===8)if(c=r.data,c==="/$"){if(s===0){rn=Nl(r.nextSibling);break e}s--}else c!=="$"&&c!=="$!"&&c!=="$?"||s++;r=r.nextSibling}rn=null}}else s===27?(s=rn,sl(r.type)?(r=su,su=null,rn=r):rn=s):rn=kn?Nl(r.stateNode.nextSibling):null;return!0}function sf(){rn=kn=null,Yt=!1}function Zg(){var r=fi;return r!==null&&(lr===null?lr=r:lr.push.apply(lr,r),fi=null),r}function Xo(r){fi===null?fi=[r]:fi.push(r)}var Zo=fe(null),eo=null,j=null;function Ki(r,s,c){je(Zo,s._currentValue),s._currentValue=c}function Er(r){r._currentValue=Zo.current,Ae(Zo)}function Ri(r,s,c){for(;r!==null;){var p=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,p!==null&&(p.childLanes|=s)):p!==null&&(p.childLanes&s)!==s&&(p.childLanes|=s),r===c)break;r=r.return}}function qt(r,s,c,p){var x=r.child;for(x!==null&&(x.return=r);x!==null;){var w=x.dependencies;if(w!==null){var N=x.child;w=w.firstContext;e:for(;w!==null;){var $=w;w=x;for(var Z=0;Z<s.length;Z++)if($.context===s[Z]){w.lanes|=c,$=w.alternate,$!==null&&($.lanes|=c),Ri(w.return,c,r),p||(N=null);break e}w=$.next}}else if(x.tag===18){if(N=x.return,N===null)throw Error(o(341));N.lanes|=c,w=N.alternate,w!==null&&(w.lanes|=c),Ri(N,c,r),N=null}else N=x.child;if(N!==null)N.return=x;else for(N=x;N!==null;){if(N===r){N=null;break}if(x=N.sibling,x!==null){x.return=N.return,N=x;break}N=N.return}x=N}}function uf(r,s,c,p){r=null;for(var x=s,w=!1;x!==null;){if(!w){if((x.flags&524288)!==0)w=!0;else if((x.flags&262144)!==0)break}if(x.tag===10){var N=x.alternate;if(N===null)throw Error(o(387));if(N=N.memoizedProps,N!==null){var $=x.type;Za(x.pendingProps.value,N.value)||(r!==null?r.push($):r=[$])}}else if(x===et.current){if(N=x.alternate,N===null)throw Error(o(387));N.memoizedState.memoizedState!==x.memoizedState.memoizedState&&(r!==null?r.push($i):r=[$i])}x=x.return}r!==null&&qt(s,r,c,p),s.flags|=262144}function Pd(r){for(r=r.firstContext;r!==null;){if(!Za(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Hs(r){eo=r,j=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Gn(r){return Kg(eo,r)}function kd(r,s){return eo===null&&Hs(r),Kg(r,s)}function Kg(r,s){var c=s._currentValue;if(s={context:s,memoizedValue:c,next:null},j===null){if(r===null)throw Error(o(308));j=s,r.dependencies={lanes:0,firstContext:s},r.flags|=524288}else j=j.next=s;return c}var cf=typeof AbortController<"u"?AbortController:function(){var r=[],s=this.signal={aborted:!1,addEventListener:function(c,p){r.push(p)}};this.abort=function(){s.aborted=!0,r.forEach(function(c){return c()})}},zm=t.unstable_scheduleCallback,mv=t.unstable_NormalPriority,Dn={$$typeof:q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ff(){return{controller:new cf,data:new Map,refCount:0}}function to(r){r.refCount--,r.refCount===0&&zm(mv,function(){r.controller.abort()})}var Ps=null,Yd=0,Jr=0,Rn=null;function Lm(r,s){if(Ps===null){var c=Ps=[];Yd=0,Jr=lu(),Rn={status:"pending",value:void 0,then:function(p){c.push(p)}}}return Yd++,s.then(Um,Um),s}function Um(){if(--Yd===0&&Ps!==null){Rn!==null&&(Rn.status="fulfilled");var r=Ps;Ps=null,Jr=0,Rn=null;for(var s=0;s<r.length;s++)(0,r[s])()}}function pv(r,s){var c=[],p={status:"pending",value:null,reason:null,then:function(x){c.push(x)}};return r.then(function(){p.status="fulfilled",p.value=s;for(var x=0;x<c.length;x++)(0,c[x])(s)},function(x){for(p.status="rejected",p.reason=x,x=0;x<c.length;x++)(0,c[x])(void 0)}),p}var Vm=F.S;F.S=function(r,s){typeof s=="object"&&s!==null&&typeof s.then=="function"&&Lm(r,s),Vm!==null&&Vm(r,s)};var no=fe(null);function Sl(){var r=no.current;return r!==null?r:_n.pooledCache}function Yu(r,s){s===null?je(no,no.current):je(no,s.pool)}function Bm(){var r=Sl();return r===null?null:{parent:Dn._currentValue,pool:r}}var Ba=Error(o(460)),jm=Error(o(474)),qd=Error(o(542)),$m={then:function(){}};function Hm(r){return r=r.status,r==="fulfilled"||r==="rejected"}function Gd(){}function Pm(r,s,c){switch(c=r[c],c===void 0?r.push(s):c!==s&&(s.then(Gd,Gd),s=c),s.status){case"fulfilled":return s.value;case"rejected":throw r=s.reason,Wg(r),r;default:if(typeof s.status=="string")s.then(Gd,Gd);else{if(r=_n,r!==null&&100<r.shellSuspendCounter)throw Error(o(482));r=s,r.status="pending",r.then(function(p){if(s.status==="pending"){var x=s;x.status="fulfilled",x.value=p}},function(p){if(s.status==="pending"){var x=s;x.status="rejected",x.reason=p}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw r=s.reason,Wg(r),r}throw ks=s,Ba}}var ks=null;function Qg(){if(ks===null)throw Error(o(459));var r=ks;return ks=null,r}function Wg(r){if(r===Ba||r===qd)throw Error(o(483))}var el=!1;function Ys(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qu(r,s){r=r.updateQueue,s.updateQueue===r&&(s.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Qi(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function xl(r,s,c){var p=r.updateQueue;if(p===null)return null;if(p=p.shared,(bn&2)!==0){var x=p.pending;return x===null?s.next=s:(s.next=x.next,x.next=s),p.pending=s,s=rf(r),Io(r,null,c),s}return Mi(r,p,s,c),rf(r)}function Gu(r,s,c){if(s=s.updateQueue,s!==null&&(s=s.shared,(c&4194048)!==0)){var p=s.lanes;p&=r.pendingLanes,c|=p,s.lanes=c,pd(r,c)}}function Tl(r,s){var c=r.updateQueue,p=r.alternate;if(p!==null&&(p=p.updateQueue,c===p)){var x=null,w=null;if(c=c.firstBaseUpdate,c!==null){do{var N={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};w===null?x=w=N:w=w.next=N,c=c.next}while(c!==null);w===null?x=w=s:w=w.next=s}else x=w=s;c={baseState:p.baseState,firstBaseUpdate:x,lastBaseUpdate:w,shared:p.shared,callbacks:p.callbacks},r.updateQueue=c;return}r=c.lastBaseUpdate,r===null?c.firstBaseUpdate=s:r.next=s,c.lastBaseUpdate=s}var Id=!1;function tl(){if(Id){var r=Rn;if(r!==null)throw r}}function ga(r,s,c,p){Id=!1;var x=r.updateQueue;el=!1;var w=x.firstBaseUpdate,N=x.lastBaseUpdate,$=x.shared.pending;if($!==null){x.shared.pending=null;var Z=$,de=Z.next;Z.next=null,N===null?w=de:N.next=de,N=Z;var De=r.alternate;De!==null&&(De=De.updateQueue,$=De.lastBaseUpdate,$!==N&&($===null?De.firstBaseUpdate=de:$.next=de,De.lastBaseUpdate=Z))}if(w!==null){var Ne=x.baseState;N=0,De=de=Z=null,$=w;do{var ye=$.lane&-536870913,he=ye!==$.lane;if(he?(Xt&ye)===ye:(p&ye)===ye){ye!==0&&ye===Jr&&(Id=!0),De!==null&&(De=De.next={lane:0,tag:$.tag,payload:$.payload,callback:null,next:null});e:{var ft=r,pt=$;ye=s;var pn=c;switch(pt.tag){case 1:if(ft=pt.payload,typeof ft=="function"){Ne=ft.call(pn,Ne,ye);break e}Ne=ft;break e;case 3:ft.flags=ft.flags&-65537|128;case 0:if(ft=pt.payload,ye=typeof ft=="function"?ft.call(pn,Ne,ye):ft,ye==null)break e;Ne=A({},Ne,ye);break e;case 2:el=!0}}ye=$.callback,ye!==null&&(r.flags|=64,he&&(r.flags|=8192),he=x.callbacks,he===null?x.callbacks=[ye]:he.push(ye))}else he={lane:ye,tag:$.tag,payload:$.payload,callback:$.callback,next:null},De===null?(de=De=he,Z=Ne):De=De.next=he,N|=ye;if($=$.next,$===null){if($=x.shared.pending,$===null)break;he=$,$=he.next,he.next=null,x.lastBaseUpdate=he,x.shared.pending=null}}while(!0);De===null&&(Z=Ne),x.baseState=Z,x.firstBaseUpdate=de,x.lastBaseUpdate=De,w===null&&(x.shared.lanes=0),ss|=N,r.lanes=N,r.memoizedState=Ne}}function km(r,s){if(typeof r!="function")throw Error(o(191,r));r.call(s)}function df(r,s){var c=r.callbacks;if(c!==null)for(r.callbacks=null,r=0;r<c.length;r++)km(c[r],s)}var qs=fe(null),Ko=fe(0);function Yn(r,s){r=os,je(Ko,r),je(qs,s),os=r|s.baseLanes}function Iu(){je(Ko,os),je(qs,qs.current)}function hf(){os=Ko.current,Ae(qs),Ae(Ko)}var _i=0,Rt=null,hn=null,Ht=null,Fu=!1,Wi=!1,Qa=!1,Ar=0,hi=0,Ni=null,Ym=0;function It(){throw Error(o(321))}function mf(r,s){if(s===null)return!1;for(var c=0;c<s.length&&c<r.length;c++)if(!Za(r[c],s[c]))return!1;return!0}function qm(r,s,c,p,x,w){return _i=w,Rt=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,F.H=r===null||r.memoizedState===null?r0:ap,Qa=!1,w=c(p,x),Qa=!1,Wi&&(w=Jg(s,c,p,x)),Gs(r),w}function Gs(r){F.H=rh;var s=hn!==null&&hn.next!==null;if(_i=0,Ht=hn=Rt=null,Fu=!1,hi=0,Ni=null,s)throw Error(o(300));r===null||Ra||(r=r.dependencies,r!==null&&Pd(r)&&(Ra=!0))}function Jg(r,s,c,p){Rt=r;var x=0;do{if(Wi&&(Ni=null),hi=0,Wi=!1,25<=x)throw Error(o(301));if(x+=1,Ht=hn=null,r.updateQueue!=null){var w=r.updateQueue;w.lastEffect=null,w.events=null,w.stores=null,w.memoCache!=null&&(w.memoCache.index=0)}F.H=lo,w=s(c,p)}while(Wi);return w}function Gm(){var r=F.H,s=r.useState()[0];return s=typeof s.then=="function"?Xd(s):s,r=r.useState()[0],(hn!==null?hn.memoizedState:null)!==r&&(Rt.flags|=1024),s}function Im(){var r=Ar!==0;return Ar=0,r}function ao(r,s,c){s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~c}function Fd(r){if(Fu){for(r=r.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Fu=!1}_i=0,Ht=hn=Rt=null,Wi=!1,hi=Ar=0,Ni=null}function mi(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ht===null?Rt.memoizedState=Ht=r:Ht=Ht.next=r,Ht}function na(){if(hn===null){var r=Rt.alternate;r=r!==null?r.memoizedState:null}else r=hn.next;var s=Ht===null?Rt.memoizedState:Ht.next;if(s!==null)Ht=s,hn=r;else{if(r===null)throw Rt.alternate===null?Error(o(467)):Error(o(310));hn=r,r={memoizedState:hn.memoizedState,baseState:hn.baseState,baseQueue:hn.baseQueue,queue:hn.queue,next:null},Ht===null?Rt.memoizedState=Ht=r:Ht=Ht.next=r}return Ht}function Qo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xd(r){var s=hi;return hi+=1,Ni===null&&(Ni=[]),r=Pm(Ni,r,s),s=Rt,(Ht===null?s.memoizedState:Ht.next)===null&&(s=s.alternate,F.H=s===null||s.memoizedState===null?r0:ap),r}function ya(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Xd(r);if(r.$$typeof===q)return Gn(r)}throw Error(o(438,String(r)))}function pf(r){var s=null,c=Rt.updateQueue;if(c!==null&&(s=c.memoCache),s==null){var p=Rt.alternate;p!==null&&(p=p.updateQueue,p!==null&&(p=p.memoCache,p!=null&&(s={data:p.data.map(function(x){return x.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),c===null&&(c=Qo(),Rt.updateQueue=c),c.memoCache=s,c=s.data[s.index],c===void 0)for(c=s.data[s.index]=Array(r),p=0;p<r;p++)c[p]=He;return s.index++,c}function El(r,s){return typeof s=="function"?s(r):s}function Zd(r){var s=na();return Fm(s,hn,r)}function Fm(r,s,c){var p=r.queue;if(p===null)throw Error(o(311));p.lastRenderedReducer=c;var x=r.baseQueue,w=p.pending;if(w!==null){if(x!==null){var N=x.next;x.next=w.next,w.next=N}s.baseQueue=x=w,p.pending=null}if(w=r.baseState,x===null)r.memoizedState=w;else{s=x.next;var $=N=null,Z=null,de=s,De=!1;do{var Ne=de.lane&-536870913;if(Ne!==de.lane?(Xt&Ne)===Ne:(_i&Ne)===Ne){var ye=de.revertLane;if(ye===0)Z!==null&&(Z=Z.next={lane:0,revertLane:0,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null}),Ne===Jr&&(De=!0);else if((_i&ye)===ye){de=de.next,ye===Jr&&(De=!0);continue}else Ne={lane:0,revertLane:de.revertLane,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},Z===null?($=Z=Ne,N=w):Z=Z.next=Ne,Rt.lanes|=ye,ss|=ye;Ne=de.action,Qa&&c(w,Ne),w=de.hasEagerState?de.eagerState:c(w,Ne)}else ye={lane:Ne,revertLane:de.revertLane,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},Z===null?($=Z=ye,N=w):Z=Z.next=ye,Rt.lanes|=Ne,ss|=Ne;de=de.next}while(de!==null&&de!==s);if(Z===null?N=w:Z.next=$,!Za(w,r.memoizedState)&&(Ra=!0,De&&(c=Rn,c!==null)))throw c;r.memoizedState=w,r.baseState=N,r.baseQueue=Z,p.lastRenderedState=w}return x===null&&(p.lanes=0),[r.memoizedState,p.dispatch]}function Xm(r){var s=na(),c=s.queue;if(c===null)throw Error(o(311));c.lastRenderedReducer=r;var p=c.dispatch,x=c.pending,w=s.memoizedState;if(x!==null){c.pending=null;var N=x=x.next;do w=r(w,N.action),N=N.next;while(N!==x);Za(w,s.memoizedState)||(Ra=!0),s.memoizedState=w,s.baseQueue===null&&(s.baseState=w),c.lastRenderedState=w}return[w,p]}function gf(r,s,c){var p=Rt,x=na(),w=Yt;if(w){if(c===void 0)throw Error(o(407));c=c()}else c=s();var N=!Za((hn||x).memoizedState,c);N&&(x.memoizedState=c,Ra=!0),x=x.queue;var $=Kd.bind(null,p,x,r);if(On(2048,8,$,[r]),x.getSnapshot!==s||N||Ht!==null&&Ht.memoizedState.tag&1){if(p.flags|=2048,Ji(9,eh(),e0.bind(null,p,x,c,s),null),_n===null)throw Error(o(349));w||(_i&124)!==0||yf(p,s,c)}return c}function yf(r,s,c){r.flags|=16384,r={getSnapshot:s,value:c},s=Rt.updateQueue,s===null?(s=Qo(),Rt.updateQueue=s,s.stores=[r]):(c=s.stores,c===null?s.stores=[r]:c.push(r))}function e0(r,s,c,p){s.value=c,s.getSnapshot=p,Zm(s)&&Qd(r)}function Kd(r,s,c){return c(function(){Zm(s)&&Qd(r)})}function Zm(r){var s=r.getSnapshot;r=r.value;try{var c=s();return!Za(r,c)}catch{return!0}}function Qd(r){var s=vl(r,2);s!==null&&Or(s,r,2)}function vf(r){var s=mi();if(typeof r=="function"){var c=r;if(r=c(),Qa){dn(!0);try{c()}finally{dn(!1)}}}return s.memoizedState=s.baseState=r,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:El,lastRenderedState:r},s}function Xu(r,s,c,p){return r.baseState=c,Fm(r,hn,typeof p=="function"?p:El)}function gv(r,s,c,p,x){if(Ku(r))throw Error(o(485));if(r=s.action,r!==null){var w={payload:x,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(N){w.listeners.push(N)}};F.T!==null?c(!0):w.isTransition=!1,p(w),c=s.pending,c===null?(w.next=s.pending=w,Wd(s,w)):(w.next=c.next,s.pending=c.next=w)}}function Wd(r,s){var c=s.action,p=s.payload,x=r.state;if(s.isTransition){var w=F.T,N={};F.T=N;try{var $=c(x,p),Z=F.S;Z!==null&&Z(N,$),bf(r,s,$)}catch(de){Jd(r,s,de)}finally{F.T=w}}else try{w=c(x,p),bf(r,s,w)}catch(de){Jd(r,s,de)}}function bf(r,s,c){c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(function(p){Km(r,s,p)},function(p){return Jd(r,s,p)}):Km(r,s,c)}function Km(r,s,c){s.status="fulfilled",s.value=c,t0(s),r.state=c,s=r.pending,s!==null&&(c=s.next,c===s?r.pending=null:(c=c.next,s.next=c,Wd(r,c)))}function Jd(r,s,c){var p=r.pending;if(r.pending=null,p!==null){p=p.next;do s.status="rejected",s.reason=c,t0(s),s=s.next;while(s!==p)}r.action=null}function t0(r){r=r.listeners;for(var s=0;s<r.length;s++)(0,r[s])()}function Sf(r,s){return s}function Qm(r,s){if(Yt){var c=_n.formState;if(c!==null){e:{var p=Rt;if(Yt){if(rn){t:{for(var x=rn,w=di;x.nodeType!==8;){if(!w){x=null;break t}if(x=Nl(x.nextSibling),x===null){x=null;break t}}w=x.data,x=w==="F!"||w==="F"?x:null}if(x){rn=Nl(x.nextSibling),p=x.data==="F!";break e}}Zi(p)}p=!1}p&&(s=c[0])}}return c=mi(),c.memoizedState=c.baseState=s,p={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sf,lastRenderedState:s},c.queue=p,c=tp.bind(null,Rt,p),p.dispatch=c,p=vf(!1),w=ih.bind(null,Rt,!1,p.queue),p=mi(),x={state:s,dispatch:null,action:r,pending:null},p.queue=x,c=gv.bind(null,Rt,x,w,c),x.dispatch=c,p.memoizedState=r,[s,c,!1]}function nl(r){var s=na();return Wm(s,hn,r)}function Wm(r,s,c){if(s=Fm(r,s,Sf)[0],r=Zd(El)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var p=Xd(s)}catch(N){throw N===Ba?qd:N}else p=s;s=na();var x=s.queue,w=x.dispatch;return c!==s.memoizedState&&(Rt.flags|=2048,Ji(9,eh(),n0.bind(null,x,c),null)),[p,w,r]}function n0(r,s){r.action=s}function _t(r){var s=na(),c=hn;if(c!==null)return Wm(s,c,r);na(),s=s.memoizedState,c=na();var p=c.queue.dispatch;return c.memoizedState=r,[s,p,!1]}function Ji(r,s,c,p){return r={tag:r,create:c,deps:p,inst:s,next:null},s=Rt.updateQueue,s===null&&(s=Qo(),Rt.updateQueue=s),c=s.lastEffect,c===null?s.lastEffect=r.next=r:(p=c.next,c.next=r,r.next=p,s.lastEffect=r),r}function eh(){return{destroy:void 0,resource:void 0}}function Wo(){return na().memoizedState}function Jo(r,s,c,p){var x=mi();p=p===void 0?null:p,Rt.flags|=r,x.memoizedState=Ji(1|s,eh(),c,p)}function On(r,s,c,p){var x=na();p=p===void 0?null:p;var w=x.memoizedState.inst;hn!==null&&p!==null&&mf(p,hn.memoizedState.deps)?x.memoizedState=Ji(s,w,c,p):(Rt.flags|=r,x.memoizedState=Ji(1|s,w,c,p))}function yv(r,s){Jo(8390656,8,r,s)}function wr(r,s){On(2048,8,r,s)}function a0(r,s){return On(4,2,r,s)}function er(r,s){return On(4,4,r,s)}function th(r,s){if(typeof s=="function"){r=r();var c=s(r);return function(){typeof c=="function"?c():s(null)}}if(s!=null)return r=r(),s.current=r,function(){s.current=null}}function nh(r,s,c){c=c!=null?c.concat([r]):null,On(4,4,th.bind(null,s,r),c)}function Is(){}function Ma(r,s){var c=na();s=s===void 0?null:s;var p=c.memoizedState;return s!==null&&mf(s,p[1])?p[0]:(c.memoizedState=[r,s],r)}function io(r,s){var c=na();s=s===void 0?null:s;var p=c.memoizedState;if(s!==null&&mf(s,p[1]))return p[0];if(p=r(),Qa){dn(!0);try{r()}finally{dn(!1)}}return c.memoizedState=[p,s],p}function Zu(r,s,c){return c===void 0||(_i&1073741824)!==0?r.memoizedState=s:(r.memoizedState=c,r=A0(),Rt.lanes|=r,ss|=r,c)}function Jm(r,s,c,p){return Za(c,s)?c:qs.current!==null?(r=Zu(r,c,p),Za(r,s)||(Ra=!0),r):(_i&42)===0?(Ra=!0,r.memoizedState=c):(r=A0(),Rt.lanes|=r,ss|=r,s)}function ah(r,s,c,p,x){var w=ne.p;ne.p=w!==0&&8>w?w:8;var N=F.T,$={};F.T=$,ih(r,!1,s,c);try{var Z=x(),de=F.S;if(de!==null&&de($,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var De=pv(Z,p);ts(r,s,De,yi(r))}else ts(r,s,p,yi(r))}catch(Ne){ts(r,s,{then:function(){},status:"rejected",reason:Ne},yi())}finally{ne.p=w,F.T=N}}function vv(){}function xf(r,s,c,p){if(r.tag!==5)throw Error(o(476));var x=i0(r).queue;ah(r,x,s,oe,c===null?vv:function(){return Fs(r),c(p)})}function i0(r){var s=r.memoizedState;if(s!==null)return s;s={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:El,lastRenderedState:oe},next:null};var c={};return s.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:El,lastRenderedState:c},next:null},r.memoizedState=s,r=r.alternate,r!==null&&(r.memoizedState=s),s}function Fs(r){var s=i0(r).next.queue;ts(r,s,{},yi())}function tr(){return Gn($i)}function ro(){return na().memoizedState}function bv(){return na().memoizedState}function es(r){for(var s=r.return;s!==null;){switch(s.tag){case 24:case 3:var c=yi();r=Qi(c);var p=xl(s,r,c);p!==null&&(Or(p,s,c),Gu(p,s,c)),s={cache:ff()},r.payload=s;return}s=s.return}}function ep(r,s,c){var p=yi();c={lane:p,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null},Ku(r)?Sv(s,c):(c=Go(r,s,c,p),c!==null&&(Or(c,r,p),np(c,s,p)))}function tp(r,s,c){var p=yi();ts(r,s,c,p)}function ts(r,s,c,p){var x={lane:p,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Ku(r))Sv(s,x);else{var w=r.alternate;if(r.lanes===0&&(w===null||w.lanes===0)&&(w=s.lastRenderedReducer,w!==null))try{var N=s.lastRenderedState,$=w(N,c);if(x.hasEagerState=!0,x.eagerState=$,Za($,N))return Mi(r,s,x,0),_n===null&&Fi(),!1}catch{}finally{}if(c=Go(r,s,x,p),c!==null)return Or(c,r,p),np(c,s,p),!0}return!1}function ih(r,s,c,p){if(p={lane:2,revertLane:lu(),action:p,hasEagerState:!1,eagerState:null,next:null},Ku(r)){if(s)throw Error(o(479))}else s=Go(r,c,p,2),s!==null&&Or(s,r,2)}function Ku(r){var s=r.alternate;return r===Rt||s!==null&&s===Rt}function Sv(r,s){Wi=Fu=!0;var c=r.pending;c===null?s.next=s:(s.next=c.next,c.next=s),r.pending=s}function np(r,s,c){if((c&4194048)!==0){var p=s.lanes;p&=r.pendingLanes,c|=p,s.lanes=c,pd(r,c)}}var rh={readContext:Gn,use:ya,useCallback:It,useContext:It,useEffect:It,useImperativeHandle:It,useLayoutEffect:It,useInsertionEffect:It,useMemo:It,useReducer:It,useRef:It,useState:It,useDebugValue:It,useDeferredValue:It,useTransition:It,useSyncExternalStore:It,useId:It,useHostTransitionStatus:It,useFormState:It,useActionState:It,useOptimistic:It,useMemoCache:It,useCacheRefresh:It},r0={readContext:Gn,use:ya,useCallback:function(r,s){return mi().memoizedState=[r,s===void 0?null:s],r},useContext:Gn,useEffect:yv,useImperativeHandle:function(r,s,c){c=c!=null?c.concat([r]):null,Jo(4194308,4,th.bind(null,s,r),c)},useLayoutEffect:function(r,s){return Jo(4194308,4,r,s)},useInsertionEffect:function(r,s){Jo(4,2,r,s)},useMemo:function(r,s){var c=mi();s=s===void 0?null:s;var p=r();if(Qa){dn(!0);try{r()}finally{dn(!1)}}return c.memoizedState=[p,s],p},useReducer:function(r,s,c){var p=mi();if(c!==void 0){var x=c(s);if(Qa){dn(!0);try{c(s)}finally{dn(!1)}}}else x=s;return p.memoizedState=p.baseState=x,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:x},p.queue=r,r=r.dispatch=ep.bind(null,Rt,r),[p.memoizedState,r]},useRef:function(r){var s=mi();return r={current:r},s.memoizedState=r},useState:function(r){r=vf(r);var s=r.queue,c=tp.bind(null,Rt,s);return s.dispatch=c,[r.memoizedState,c]},useDebugValue:Is,useDeferredValue:function(r,s){var c=mi();return Zu(c,r,s)},useTransition:function(){var r=vf(!1);return r=ah.bind(null,Rt,r.queue,!0,!1),mi().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,s,c){var p=Rt,x=mi();if(Yt){if(c===void 0)throw Error(o(407));c=c()}else{if(c=s(),_n===null)throw Error(o(349));(Xt&124)!==0||yf(p,s,c)}x.memoizedState=c;var w={value:c,getSnapshot:s};return x.queue=w,yv(Kd.bind(null,p,w,r),[r]),p.flags|=2048,Ji(9,eh(),e0.bind(null,p,w,c,s),null),c},useId:function(){var r=mi(),s=_n.identifierPrefix;if(Yt){var c=ta,p=jn;c=(p&~(1<<32-En(p)-1)).toString(32)+c,s="«"+s+"R"+c,c=Ar++,0<c&&(s+="H"+c.toString(32)),s+="»"}else c=Ym++,s="«"+s+"r"+c.toString(32)+"»";return r.memoizedState=s},useHostTransitionStatus:tr,useFormState:Qm,useActionState:Qm,useOptimistic:function(r){var s=mi();s.memoizedState=s.baseState=r;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=c,s=ih.bind(null,Rt,!0,c),c.dispatch=s,[r,s]},useMemoCache:pf,useCacheRefresh:function(){return mi().memoizedState=es.bind(null,Rt)}},ap={readContext:Gn,use:ya,useCallback:Ma,useContext:Gn,useEffect:wr,useImperativeHandle:nh,useInsertionEffect:a0,useLayoutEffect:er,useMemo:io,useReducer:Zd,useRef:Wo,useState:function(){return Zd(El)},useDebugValue:Is,useDeferredValue:function(r,s){var c=na();return Jm(c,hn.memoizedState,r,s)},useTransition:function(){var r=Zd(El)[0],s=na().memoizedState;return[typeof r=="boolean"?r:Xd(r),s]},useSyncExternalStore:gf,useId:ro,useHostTransitionStatus:tr,useFormState:nl,useActionState:nl,useOptimistic:function(r,s){var c=na();return Xu(c,hn,r,s)},useMemoCache:pf,useCacheRefresh:bv},lo={readContext:Gn,use:ya,useCallback:Ma,useContext:Gn,useEffect:wr,useImperativeHandle:nh,useInsertionEffect:a0,useLayoutEffect:er,useMemo:io,useReducer:Xm,useRef:Wo,useState:function(){return Xm(El)},useDebugValue:Is,useDeferredValue:function(r,s){var c=na();return hn===null?Zu(c,r,s):Jm(c,hn.memoizedState,r,s)},useTransition:function(){var r=Xm(El)[0],s=na().memoizedState;return[typeof r=="boolean"?r:Xd(r),s]},useSyncExternalStore:gf,useId:ro,useHostTransitionStatus:tr,useFormState:_t,useActionState:_t,useOptimistic:function(r,s){var c=na();return hn!==null?Xu(c,hn,r,s):(c.baseState=r,[r,c.queue.dispatch])},useMemoCache:pf,useCacheRefresh:bv},va=null,zi=0;function ip(r){var s=zi;return zi+=1,va===null&&(va=[]),Pm(va,r,s)}function Qu(r,s){s=s.props.ref,r.ref=s!==void 0?s:null}function Da(r,s){throw s.$$typeof===C?Error(o(525)):(r=Object.prototype.toString.call(s),Error(o(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r)))}function Xs(r){var s=r._init;return s(r._payload)}function Li(r){function s(se,ae){if(r){var ce=se.deletions;ce===null?(se.deletions=[ae],se.flags|=16):ce.push(ae)}}function c(se,ae){if(!r)return null;for(;ae!==null;)s(se,ae),ae=ae.sibling;return null}function p(se){for(var ae=new Map;se!==null;)se.key!==null?ae.set(se.key,se):ae.set(se.index,se),se=se.sibling;return ae}function x(se,ae){return se=Ka(se,ae),se.index=0,se.sibling=null,se}function w(se,ae,ce){return se.index=ce,r?(ce=se.alternate,ce!==null?(ce=ce.index,ce<ae?(se.flags|=67108866,ae):ce):(se.flags|=67108866,ae)):(se.flags|=1048576,ae)}function N(se){return r&&se.alternate===null&&(se.flags|=67108866),se}function $(se,ae,ce,_e){return ae===null||ae.tag!==6?(ae=lf(ce,se.mode,_e),ae.return=se,ae):(ae=x(ae,ce),ae.return=se,ae)}function Z(se,ae,ce,_e){var Je=ce.type;return Je===B?De(se,ae,ce.props.children,_e,ce.key):ae!==null&&(ae.elementType===Je||typeof Je=="object"&&Je!==null&&Je.$$typeof===pe&&Xs(Je)===ae.type)?(ae=x(ae,ce.props),Qu(ae,ce),ae.return=se,ae):(ae=$e(ce.type,ce.key,ce.props,null,se.mode,_e),Qu(ae,ce),ae.return=se,ae)}function de(se,ae,ce,_e){return ae===null||ae.tag!==4||ae.stateNode.containerInfo!==ce.containerInfo||ae.stateNode.implementation!==ce.implementation?(ae=Bn(ce,se.mode,_e),ae.return=se,ae):(ae=x(ae,ce.children||[]),ae.return=se,ae)}function De(se,ae,ce,_e,Je){return ae===null||ae.tag!==7?(ae=Kr(ce,se.mode,_e,Je),ae.return=se,ae):(ae=x(ae,ce),ae.return=se,ae)}function Ne(se,ae,ce){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return ae=lf(""+ae,se.mode,ce),ae.return=se,ae;if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case M:return ce=$e(ae.type,ae.key,ae.props,null,se.mode,ce),Qu(ce,ae),ce.return=se,ce;case R:return ae=Bn(ae,se.mode,ce),ae.return=se,ae;case pe:var _e=ae._init;return ae=_e(ae._payload),Ne(se,ae,ce)}if(qe(ae)||Pe(ae))return ae=Kr(ae,se.mode,ce,null),ae.return=se,ae;if(typeof ae.then=="function")return Ne(se,ip(ae),ce);if(ae.$$typeof===q)return Ne(se,kd(se,ae),ce);Da(se,ae)}return null}function ye(se,ae,ce,_e){var Je=ae!==null?ae.key:null;if(typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint")return Je!==null?null:$(se,ae,""+ce,_e);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case M:return ce.key===Je?Z(se,ae,ce,_e):null;case R:return ce.key===Je?de(se,ae,ce,_e):null;case pe:return Je=ce._init,ce=Je(ce._payload),ye(se,ae,ce,_e)}if(qe(ce)||Pe(ce))return Je!==null?null:De(se,ae,ce,_e,null);if(typeof ce.then=="function")return ye(se,ae,ip(ce),_e);if(ce.$$typeof===q)return ye(se,ae,kd(se,ce),_e);Da(se,ce)}return null}function he(se,ae,ce,_e,Je){if(typeof _e=="string"&&_e!==""||typeof _e=="number"||typeof _e=="bigint")return se=se.get(ce)||null,$(ae,se,""+_e,Je);if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case M:return se=se.get(_e.key===null?ce:_e.key)||null,Z(ae,se,_e,Je);case R:return se=se.get(_e.key===null?ce:_e.key)||null,de(ae,se,_e,Je);case pe:var Pt=_e._init;return _e=Pt(_e._payload),he(se,ae,ce,_e,Je)}if(qe(_e)||Pe(_e))return se=se.get(ce)||null,De(ae,se,_e,Je,null);if(typeof _e.then=="function")return he(se,ae,ce,ip(_e),Je);if(_e.$$typeof===q)return he(se,ae,ce,kd(ae,_e),Je);Da(ae,_e)}return null}function ft(se,ae,ce,_e){for(var Je=null,Pt=null,ct=ae,xt=ae=0,Pa=null;ct!==null&&xt<ce.length;xt++){ct.index>xt?(Pa=ct,ct=null):Pa=ct.sibling;var tn=ye(se,ct,ce[xt],_e);if(tn===null){ct===null&&(ct=Pa);break}r&&ct&&tn.alternate===null&&s(se,ct),ae=w(tn,ae,xt),Pt===null?Je=tn:Pt.sibling=tn,Pt=tn,ct=Pa}if(xt===ce.length)return c(se,ct),Yt&&en(se,xt),Je;if(ct===null){for(;xt<ce.length;xt++)ct=Ne(se,ce[xt],_e),ct!==null&&(ae=w(ct,ae,xt),Pt===null?Je=ct:Pt.sibling=ct,Pt=ct);return Yt&&en(se,xt),Je}for(ct=p(ct);xt<ce.length;xt++)Pa=he(ct,se,xt,ce[xt],_e),Pa!==null&&(r&&Pa.alternate!==null&&ct.delete(Pa.key===null?xt:Pa.key),ae=w(Pa,ae,xt),Pt===null?Je=Pa:Pt.sibling=Pa,Pt=Pa);return r&&ct.forEach(function(fu){return s(se,fu)}),Yt&&en(se,xt),Je}function pt(se,ae,ce,_e){if(ce==null)throw Error(o(151));for(var Je=null,Pt=null,ct=ae,xt=ae=0,Pa=null,tn=ce.next();ct!==null&&!tn.done;xt++,tn=ce.next()){ct.index>xt?(Pa=ct,ct=null):Pa=ct.sibling;var fu=ye(se,ct,tn.value,_e);if(fu===null){ct===null&&(ct=Pa);break}r&&ct&&fu.alternate===null&&s(se,ct),ae=w(fu,ae,xt),Pt===null?Je=fu:Pt.sibling=fu,Pt=fu,ct=Pa}if(tn.done)return c(se,ct),Yt&&en(se,xt),Je;if(ct===null){for(;!tn.done;xt++,tn=ce.next())tn=Ne(se,tn.value,_e),tn!==null&&(ae=w(tn,ae,xt),Pt===null?Je=tn:Pt.sibling=tn,Pt=tn);return Yt&&en(se,xt),Je}for(ct=p(ct);!tn.done;xt++,tn=ce.next())tn=he(ct,se,xt,tn.value,_e),tn!==null&&(r&&tn.alternate!==null&&ct.delete(tn.key===null?xt:tn.key),ae=w(tn,ae,xt),Pt===null?Je=tn:Pt.sibling=tn,Pt=tn);return r&&ct.forEach(function(zb){return s(se,zb)}),Yt&&en(se,xt),Je}function pn(se,ae,ce,_e){if(typeof ce=="object"&&ce!==null&&ce.type===B&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case M:e:{for(var Je=ce.key;ae!==null;){if(ae.key===Je){if(Je=ce.type,Je===B){if(ae.tag===7){c(se,ae.sibling),_e=x(ae,ce.props.children),_e.return=se,se=_e;break e}}else if(ae.elementType===Je||typeof Je=="object"&&Je!==null&&Je.$$typeof===pe&&Xs(Je)===ae.type){c(se,ae.sibling),_e=x(ae,ce.props),Qu(_e,ce),_e.return=se,se=_e;break e}c(se,ae);break}else s(se,ae);ae=ae.sibling}ce.type===B?(_e=Kr(ce.props.children,se.mode,_e,ce.key),_e.return=se,se=_e):(_e=$e(ce.type,ce.key,ce.props,null,se.mode,_e),Qu(_e,ce),_e.return=se,se=_e)}return N(se);case R:e:{for(Je=ce.key;ae!==null;){if(ae.key===Je)if(ae.tag===4&&ae.stateNode.containerInfo===ce.containerInfo&&ae.stateNode.implementation===ce.implementation){c(se,ae.sibling),_e=x(ae,ce.children||[]),_e.return=se,se=_e;break e}else{c(se,ae);break}else s(se,ae);ae=ae.sibling}_e=Bn(ce,se.mode,_e),_e.return=se,se=_e}return N(se);case pe:return Je=ce._init,ce=Je(ce._payload),pn(se,ae,ce,_e)}if(qe(ce))return ft(se,ae,ce,_e);if(Pe(ce)){if(Je=Pe(ce),typeof Je!="function")throw Error(o(150));return ce=Je.call(ce),pt(se,ae,ce,_e)}if(typeof ce.then=="function")return pn(se,ae,ip(ce),_e);if(ce.$$typeof===q)return pn(se,ae,kd(se,ce),_e);Da(se,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint"?(ce=""+ce,ae!==null&&ae.tag===6?(c(se,ae.sibling),_e=x(ae,ce),_e.return=se,se=_e):(c(se,ae),_e=lf(ce,se.mode,_e),_e.return=se,se=_e),N(se)):c(se,ae)}return function(se,ae,ce,_e){try{zi=0;var Je=pn(se,ae,ce,_e);return va=null,Je}catch(ct){if(ct===Ba||ct===qd)throw ct;var Pt=Di(29,ct,null,se.mode);return Pt.lanes=_e,Pt.return=se,Pt}finally{}}}var Zs=Li(!0),oo=Li(!1),nr=fe(null),fa=null;function Cr(r){var s=r.alternate;je(yn,yn.current&1),je(nr,r),fa===null&&(s===null||qs.current!==null||s.memoizedState!==null)&&(fa=r)}function so(r){if(r.tag===22){if(je(yn,yn.current),je(nr,r),fa===null){var s=r.alternate;s!==null&&s.memoizedState!==null&&(fa=r)}}else Al()}function Al(){je(yn,yn.current),je(nr,nr.current)}function al(r){Ae(nr),fa===r&&(fa=null),Ae(yn)}var yn=fe(0);function Tf(r){for(var s=r;s!==null;){if(s.tag===13){var c=s.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||ni(c)))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}function wl(r,s,c,p){s=r.memoizedState,c=c(p,s),c=c==null?s:A({},s,c),r.memoizedState=c,r.lanes===0&&(r.updateQueue.baseState=c)}var Ef={enqueueSetState:function(r,s,c){r=r._reactInternals;var p=yi(),x=Qi(p);x.payload=s,c!=null&&(x.callback=c),s=xl(r,x,p),s!==null&&(Or(s,r,p),Gu(s,r,p))},enqueueReplaceState:function(r,s,c){r=r._reactInternals;var p=yi(),x=Qi(p);x.tag=1,x.payload=s,c!=null&&(x.callback=c),s=xl(r,x,p),s!==null&&(Or(s,r,p),Gu(s,r,p))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var c=yi(),p=Qi(c);p.tag=2,s!=null&&(p.callback=s),s=xl(r,p,c),s!==null&&(Or(s,r,c),Gu(s,r,c))}};function ns(r,s,c,p,x,w,N){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(p,w,N):s.prototype&&s.prototype.isPureReactComponent?!xr(c,p)||!xr(x,w):!0}function Wu(r,s,c,p){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(c,p),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(c,p),s.state!==r&&Ef.enqueueReplaceState(s,s.state,null)}function as(r,s){var c=s;if("ref"in s){c={};for(var p in s)p!=="ref"&&(c[p]=s[p])}if(r=r.defaultProps){c===s&&(c=A({},c));for(var x in r)c[x]===void 0&&(c[x]=r[x])}return c}var Ks=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)};function Ju(r){Ks(r)}function lh(r){console.error(r)}function oh(r){Ks(r)}function Af(r,s){try{var c=r.onUncaughtError;c(s.value,{componentStack:s.stack})}catch(p){setTimeout(function(){throw p})}}function Cl(r,s,c){try{var p=r.onCaughtError;p(c.value,{componentStack:c.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(x){setTimeout(function(){throw x})}}function rp(r,s,c){return c=Qi(c),c.tag=3,c.payload={element:null},c.callback=function(){Af(r,s)},c}function lp(r){return r=Qi(r),r.tag=3,r}function ar(r,s,c,p){var x=c.type.getDerivedStateFromError;if(typeof x=="function"){var w=p.value;r.payload=function(){return x(w)},r.callback=function(){Cl(s,c,p)}}var N=c.stateNode;N!==null&&typeof N.componentDidCatch=="function"&&(r.callback=function(){Cl(s,c,p),typeof x!="function"&&(au===null?au=new Set([this]):au.add(this));var $=p.stack;this.componentDidCatch(p.value,{componentStack:$!==null?$:""})})}function l0(r,s,c,p,x){if(c.flags|=32768,p!==null&&typeof p=="object"&&typeof p.then=="function"){if(s=c.alternate,s!==null&&uf(s,c,x,!0),c=nr.current,c!==null){switch(c.tag){case 13:return fa===null?uc():c.alternate===null&&ra===0&&(ra=3),c.flags&=-257,c.flags|=65536,c.lanes=x,p===$m?c.flags|=16384:(s=c.updateQueue,s===null?c.updateQueue=new Set([p]):s.add(p),_p(r,p,x)),!1;case 22:return c.flags|=65536,p===$m?c.flags|=16384:(s=c.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([p])},c.updateQueue=s):(c=s.retryQueue,c===null?s.retryQueue=new Set([p]):c.add(p)),_p(r,p,x)),!1}throw Error(o(435,c.tag))}return _p(r,p,x),uc(),!1}if(Yt)return s=nr.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=x,p!==Jl&&(r=Error(o(422),{cause:p}),Xo(ci(r,c)))):(p!==Jl&&(s=Error(o(423),{cause:p}),Xo(ci(s,c))),r=r.current.alternate,r.flags|=65536,x&=-x,r.lanes|=x,p=ci(p,c),x=rp(r.stateNode,p,x),Tl(r,x),ra!==4&&(ra=2)),!1;var w=Error(o(520),{cause:p});if(w=ci(w,c),Nf===null?Nf=[w]:Nf.push(w),ra!==4&&(ra=2),s===null)return!0;p=ci(p,c),c=s;do{switch(c.tag){case 3:return c.flags|=65536,r=x&-x,c.lanes|=r,r=rp(c.stateNode,p,r),Tl(c,r),!1;case 1:if(s=c.type,w=c.stateNode,(c.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(au===null||!au.has(w))))return c.flags|=65536,x&=-x,c.lanes|=x,x=lp(x),ar(x,r,c,p),Tl(c,x),!1}c=c.return}while(c!==null);return!1}var aa=Error(o(461)),Ra=!1;function $n(r,s,c,p){s.child=r===null?oo(s,null,c,p):Zs(s,r.child,c,p)}function op(r,s,c,p,x){c=c.render;var w=s.ref;if("ref"in p){var N={};for(var $ in p)$!=="ref"&&(N[$]=p[$])}else N=p;return Hs(s),p=qm(r,s,c,N,w,x),$=Im(),r!==null&&!Ra?(ao(r,s,x),co(r,s,x)):(Yt&&$&&ku(s),s.flags|=1,$n(r,s,p,x),s.child)}function Ol(r,s,c,p,x){if(r===null){var w=c.type;return typeof w=="function"&&!Fo(w)&&w.defaultProps===void 0&&c.compare===null?(s.tag=15,s.type=w,is(r,s,w,p,x)):(r=$e(c.type,null,p,s,s.mode,x),r.ref=s.ref,r.return=s,s.child=r)}if(w=r.child,!rl(r,x)){var N=w.memoizedProps;if(c=c.compare,c=c!==null?c:xr,c(N,p)&&r.ref===s.ref)return co(r,s,x)}return s.flags|=1,r=Ka(w,p),r.ref=s.ref,r.return=s,s.child=r}function is(r,s,c,p,x){if(r!==null){var w=r.memoizedProps;if(xr(w,p)&&r.ref===s.ref)if(Ra=!1,s.pendingProps=p=w,rl(r,x))(r.flags&131072)!==0&&(Ra=!0);else return s.lanes=r.lanes,co(r,s,x)}return tc(r,s,c,p,x)}function ec(r,s,c){var p=s.pendingProps,x=p.children,w=r!==null?r.memoizedState:null;if(p.mode==="hidden"){if((s.flags&128)!==0){if(p=w!==null?w.baseLanes|c:c,r!==null){for(x=s.child=r.child,w=0;x!==null;)w=w|x.lanes|x.childLanes,x=x.sibling;s.childLanes=w&~p}else s.childLanes=0,s.child=null;return il(r,s,p,c)}if((c&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},r!==null&&Yu(s,w!==null?w.cachePool:null),w!==null?Yn(s,w):Iu(),so(s);else return s.lanes=s.childLanes=536870912,il(r,s,w!==null?w.baseLanes|c:c,c)}else w!==null?(Yu(s,w.cachePool),Yn(s,w),Al(),s.memoizedState=null):(r!==null&&Yu(s,null),Iu(),Al());return $n(r,s,x,c),s.child}function il(r,s,c,p){var x=Sl();return x=x===null?null:{parent:Dn._currentValue,pool:x},s.memoizedState={baseLanes:c,cachePool:x},r!==null&&Yu(s,null),Iu(),so(s),r!==null&&uf(r,s,p,!0),null}function dt(r,s){var c=s.ref;if(c===null)r!==null&&r.ref!==null&&(s.flags|=4194816);else{if(typeof c!="function"&&typeof c!="object")throw Error(o(284));(r===null||r.ref!==c)&&(s.flags|=4194816)}}function tc(r,s,c,p,x){return Hs(s),c=qm(r,s,c,p,void 0,x),p=Im(),r!==null&&!Ra?(ao(r,s,x),co(r,s,x)):(Yt&&p&&ku(s),s.flags|=1,$n(r,s,c,x),s.child)}function sh(r,s,c,p,x,w){return Hs(s),s.updateQueue=null,c=Jg(s,p,c,x),Gs(r),p=Im(),r!==null&&!Ra?(ao(r,s,w),co(r,s,w)):(Yt&&p&&ku(s),s.flags|=1,$n(r,s,c,w),s.child)}function uo(r,s,c,p,x){if(Hs(s),s.stateNode===null){var w=Hu,N=c.contextType;typeof N=="object"&&N!==null&&(w=Gn(N)),w=new c(p,w),s.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,w.updater=Ef,s.stateNode=w,w._reactInternals=s,w=s.stateNode,w.props=p,w.state=s.memoizedState,w.refs={},Ys(s),N=c.contextType,w.context=typeof N=="object"&&N!==null?Gn(N):Hu,w.state=s.memoizedState,N=c.getDerivedStateFromProps,typeof N=="function"&&(wl(s,c,N,p),w.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(N=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),N!==w.state&&Ef.enqueueReplaceState(w,w.state,null),ga(s,p,w,x),tl(),w.state=s.memoizedState),typeof w.componentDidMount=="function"&&(s.flags|=4194308),p=!0}else if(r===null){w=s.stateNode;var $=s.memoizedProps,Z=as(c,$);w.props=Z;var de=w.context,De=c.contextType;N=Hu,typeof De=="object"&&De!==null&&(N=Gn(De));var Ne=c.getDerivedStateFromProps;De=typeof Ne=="function"||typeof w.getSnapshotBeforeUpdate=="function",$=s.pendingProps!==$,De||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||($||de!==N)&&Wu(s,w,p,N),el=!1;var ye=s.memoizedState;w.state=ye,ga(s,p,w,x),tl(),de=s.memoizedState,$||ye!==de||el?(typeof Ne=="function"&&(wl(s,c,Ne,p),de=s.memoizedState),(Z=el||ns(s,c,Z,p,ye,de,N))?(De||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(s.flags|=4194308)):(typeof w.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=p,s.memoizedState=de),w.props=p,w.state=de,w.context=N,p=Z):(typeof w.componentDidMount=="function"&&(s.flags|=4194308),p=!1)}else{w=s.stateNode,qu(r,s),N=s.memoizedProps,De=as(c,N),w.props=De,Ne=s.pendingProps,ye=w.context,de=c.contextType,Z=Hu,typeof de=="object"&&de!==null&&(Z=Gn(de)),$=c.getDerivedStateFromProps,(de=typeof $=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(N!==Ne||ye!==Z)&&Wu(s,w,p,Z),el=!1,ye=s.memoizedState,w.state=ye,ga(s,p,w,x),tl();var he=s.memoizedState;N!==Ne||ye!==he||el||r!==null&&r.dependencies!==null&&Pd(r.dependencies)?(typeof $=="function"&&(wl(s,c,$,p),he=s.memoizedState),(De=el||ns(s,c,De,p,ye,he,Z)||r!==null&&r.dependencies!==null&&Pd(r.dependencies))?(de||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(p,he,Z),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(p,he,Z)),typeof w.componentDidUpdate=="function"&&(s.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof w.componentDidUpdate!="function"||N===r.memoizedProps&&ye===r.memoizedState||(s.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||N===r.memoizedProps&&ye===r.memoizedState||(s.flags|=1024),s.memoizedProps=p,s.memoizedState=he),w.props=p,w.state=he,w.context=Z,p=De):(typeof w.componentDidUpdate!="function"||N===r.memoizedProps&&ye===r.memoizedState||(s.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||N===r.memoizedProps&&ye===r.memoizedState||(s.flags|=1024),p=!1)}return w=p,dt(r,s),p=(s.flags&128)!==0,w||p?(w=s.stateNode,c=p&&typeof c.getDerivedStateFromError!="function"?null:w.render(),s.flags|=1,r!==null&&p?(s.child=Zs(s,r.child,null,x),s.child=Zs(s,null,c,x)):$n(r,s,c,x),s.memoizedState=w.state,r=s.child):r=co(r,s,x),r}function sp(r,s,c,p){return sf(),s.flags|=256,$n(r,s,c,p),s.child}var wf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function up(r){return{baseLanes:r,cachePool:Bm()}}function ja(r,s,c){return r=r!==null?r.childLanes&~c:0,s&&(r|=ol),r}function o0(r,s,c){var p=s.pendingProps,x=!1,w=(s.flags&128)!==0,N;if((N=w)||(N=r!==null&&r.memoizedState===null?!1:(yn.current&2)!==0),N&&(x=!0,s.flags&=-129),N=(s.flags&32)!==0,s.flags&=-33,r===null){if(Yt){if(x?Cr(s):Al(),Yt){var $=rn,Z;if(Z=$){e:{for(Z=$,$=di;Z.nodeType!==8;){if(!$){$=null;break e}if(Z=Nl(Z.nextSibling),Z===null){$=null;break e}}$=Z}$!==null?(s.memoizedState={dehydrated:$,treeContext:Mn!==null?{id:jn,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},Z=Di(18,null,null,0),Z.stateNode=$,Z.return=s,s.child=Z,kn=s,rn=null,Z=!0):Z=!1}Z||Zi(s)}if($=s.memoizedState,$!==null&&($=$.dehydrated,$!==null))return ni($)?s.lanes=32:s.lanes=536870912,null;al(s)}return $=p.children,p=p.fallback,x?(Al(),x=s.mode,$=uh({mode:"hidden",children:$},x),p=Kr(p,x,c,null),$.return=s,p.return=s,$.sibling=p,s.child=$,x=s.child,x.memoizedState=up(c),x.childLanes=ja(r,N,c),s.memoizedState=wf,p):(Cr(s),cp(s,$))}if(Z=r.memoizedState,Z!==null&&($=Z.dehydrated,$!==null)){if(w)s.flags&256?(Cr(s),s.flags&=-257,s=Qs(r,s,c)):s.memoizedState!==null?(Al(),s.child=r.child,s.flags|=128,s=null):(Al(),x=p.fallback,$=s.mode,p=uh({mode:"visible",children:p.children},$),x=Kr(x,$,c,null),x.flags|=2,p.return=s,x.return=s,p.sibling=x,s.child=p,Zs(s,r.child,null,c),p=s.child,p.memoizedState=up(c),p.childLanes=ja(r,N,c),s.memoizedState=wf,s=x);else if(Cr(s),ni($)){if(N=$.nextSibling&&$.nextSibling.dataset,N)var de=N.dgst;N=de,p=Error(o(419)),p.stack="",p.digest=N,Xo({value:p,source:null,stack:null}),s=Qs(r,s,c)}else if(Ra||uf(r,s,c,!1),N=(c&r.childLanes)!==0,Ra||N){if(N=_n,N!==null&&(p=c&-c,p=(p&42)!==0?1:gl(p),p=(p&(N.suspendedLanes|c))!==0?0:p,p!==0&&p!==Z.retryLane))throw Z.retryLane=p,vl(r,p),Or(N,r,p),aa;$.data==="$?"||uc(),s=Qs(r,s,c)}else $.data==="$?"?(s.flags|=192,s.child=r.child,s=null):(r=Z.treeContext,rn=Nl($.nextSibling),kn=s,Yt=!0,fi=null,di=!1,r!==null&&(Qr[Xi++]=jn,Qr[Xi++]=ta,Qr[Xi++]=Mn,jn=r.id,ta=r.overflow,Mn=s),s=cp(s,p.children),s.flags|=4096);return s}return x?(Al(),x=p.fallback,$=s.mode,Z=r.child,de=Z.sibling,p=Ka(Z,{mode:"hidden",children:p.children}),p.subtreeFlags=Z.subtreeFlags&65011712,de!==null?x=Ka(de,x):(x=Kr(x,$,c,null),x.flags|=2),x.return=s,p.return=s,p.sibling=x,s.child=p,p=x,x=s.child,$=r.child.memoizedState,$===null?$=up(c):(Z=$.cachePool,Z!==null?(de=Dn._currentValue,Z=Z.parent!==de?{parent:de,pool:de}:Z):Z=Bm(),$={baseLanes:$.baseLanes|c,cachePool:Z}),x.memoizedState=$,x.childLanes=ja(r,N,c),s.memoizedState=wf,p):(Cr(s),c=r.child,r=c.sibling,c=Ka(c,{mode:"visible",children:p.children}),c.return=s,c.sibling=null,r!==null&&(N=s.deletions,N===null?(s.deletions=[r],s.flags|=16):N.push(r)),s.child=c,s.memoizedState=null,c)}function cp(r,s){return s=uh({mode:"visible",children:s},r.mode),s.return=r,r.child=s}function uh(r,s){return r=Di(22,r,null,s),r.lanes=0,r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},r}function Qs(r,s,c){return Zs(s,r.child,null,c),r=cp(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function Cf(r,s,c){r.lanes|=s;var p=r.alternate;p!==null&&(p.lanes|=s),Ri(r.return,s,c)}function fp(r,s,c,p,x){var w=r.memoizedState;w===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:p,tail:c,tailMode:x}:(w.isBackwards=s,w.rendering=null,w.renderingStartTime=0,w.last=p,w.tail=c,w.tailMode=x)}function dp(r,s,c){var p=s.pendingProps,x=p.revealOrder,w=p.tail;if($n(r,s,p.children,c),p=yn.current,(p&2)!==0)p=p&1|2,s.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=s.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Cf(r,c,s);else if(r.tag===19)Cf(r,c,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}p&=1}switch(je(yn,p),x){case"forwards":for(c=s.child,x=null;c!==null;)r=c.alternate,r!==null&&Tf(r)===null&&(x=c),c=c.sibling;c=x,c===null?(x=s.child,s.child=null):(x=c.sibling,c.sibling=null),fp(s,!1,x,c,w);break;case"backwards":for(c=null,x=s.child,s.child=null;x!==null;){if(r=x.alternate,r!==null&&Tf(r)===null){s.child=x;break}r=x.sibling,x.sibling=c,c=x,x=r}fp(s,!0,c,null,w);break;case"together":fp(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function co(r,s,c){if(r!==null&&(s.dependencies=r.dependencies),ss|=s.lanes,(c&s.childLanes)===0)if(r!==null){if(uf(r,s,c,!1),(c&s.childLanes)===0)return null}else return null;if(r!==null&&s.child!==r.child)throw Error(o(153));if(s.child!==null){for(r=s.child,c=Ka(r,r.pendingProps),s.child=c,c.return=s;r.sibling!==null;)r=r.sibling,c=c.sibling=Ka(r,r.pendingProps),c.return=s;c.sibling=null}return s.child}function rl(r,s){return(r.lanes&s)!==0?!0:(r=r.dependencies,!!(r!==null&&Pd(r)))}function pi(r,s,c){switch(s.tag){case 3:We(s,s.stateNode.containerInfo),Ki(s,Dn,r.memoizedState.cache),sf();break;case 27:case 5:yt(s);break;case 4:We(s,s.stateNode.containerInfo);break;case 10:Ki(s,s.type,s.memoizedProps.value);break;case 13:var p=s.memoizedState;if(p!==null)return p.dehydrated!==null?(Cr(s),s.flags|=128,null):(c&s.child.childLanes)!==0?o0(r,s,c):(Cr(s),r=co(r,s,c),r!==null?r.sibling:null);Cr(s);break;case 19:var x=(r.flags&128)!==0;if(p=(c&s.childLanes)!==0,p||(uf(r,s,c,!1),p=(c&s.childLanes)!==0),x){if(p)return dp(r,s,c);s.flags|=128}if(x=s.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),je(yn,yn.current),p)break;return null;case 22:case 23:return s.lanes=0,ec(r,s,c);case 24:Ki(s,Dn,r.memoizedState.cache)}return co(r,s,c)}function hp(r,s,c){if(r!==null)if(r.memoizedProps!==s.pendingProps)Ra=!0;else{if(!rl(r,c)&&(s.flags&128)===0)return Ra=!1,pi(r,s,c);Ra=(r.flags&131072)!==0}else Ra=!1,Yt&&(s.flags&1048576)!==0&&$d(s,Pu,s.index);switch(s.lanes=0,s.tag){case 16:e:{r=s.pendingProps;var p=s.elementType,x=p._init;if(p=x(p._payload),s.type=p,typeof p=="function")Fo(p)?(r=as(p,r),s.tag=1,s=uo(null,s,p,r,c)):(s.tag=0,s=tc(null,s,p,r,c));else{if(p!=null){if(x=p.$$typeof,x===J){s.tag=11,s=op(null,s,p,r,c);break e}else if(x===me){s.tag=14,s=Ol(null,s,p,r,c);break e}}throw s=Xe(p)||p,Error(o(306,s,""))}}return s;case 0:return tc(r,s,s.type,s.pendingProps,c);case 1:return p=s.type,x=as(p,s.pendingProps),uo(r,s,p,x,c);case 3:e:{if(We(s,s.stateNode.containerInfo),r===null)throw Error(o(387));p=s.pendingProps;var w=s.memoizedState;x=w.element,qu(r,s),ga(s,p,null,c);var N=s.memoizedState;if(p=N.cache,Ki(s,Dn,p),p!==w.cache&&qt(s,[Dn],c,!0),tl(),p=N.element,w.isDehydrated)if(w={element:p,isDehydrated:!1,cache:N.cache},s.updateQueue.baseState=w,s.memoizedState=w,s.flags&256){s=sp(r,s,p,c);break e}else if(p!==x){x=ci(Error(o(424)),s),Xo(x),s=sp(r,s,p,c);break e}else{switch(r=s.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(rn=Nl(r.firstChild),kn=s,Yt=!0,fi=null,di=!0,c=oo(s,null,p,c),s.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling}else{if(sf(),p===x){s=co(r,s,c);break e}$n(r,s,p,c)}s=s.child}return s;case 26:return dt(r,s),r===null?(c=Lv(s.type,null,s.pendingProps,null))?s.memoizedState=c:Yt||(c=s.type,r=s.pendingProps,p=Bi(Ue.current).createElement(c),p[pa]=s,p[Ei]=r,Tt(p,c,r),Oa(p),s.stateNode=p):s.memoizedState=Lv(s.type,r.memoizedProps,s.pendingProps,r.memoizedState),null;case 27:return yt(s),r===null&&Yt&&(p=s.stateNode=Ke(s.type,s.pendingProps,Ue.current),kn=s,di=!0,x=rn,sl(s.type)?(su=x,rn=Nl(p.firstChild)):rn=x),$n(r,s,s.pendingProps.children,c),dt(r,s),r===null&&(s.flags|=4194304),s.child;case 5:return r===null&&Yt&&((x=p=rn)&&(p=dc(p,s.type,s.pendingProps,di),p!==null?(s.stateNode=p,kn=s,rn=Nl(p.firstChild),di=!1,x=!0):x=!1),x||Zi(s)),yt(s),x=s.type,w=s.pendingProps,N=r!==null?r.memoizedProps:null,p=w.children,Rl(x,w)?p=null:N!==null&&Rl(x,N)&&(s.flags|=32),s.memoizedState!==null&&(x=qm(r,s,Gm,null,null,c),$i._currentValue=x),dt(r,s),$n(r,s,p,c),s.child;case 6:return r===null&&Yt&&((r=c=rn)&&(c=jp(c,s.pendingProps,di),c!==null?(s.stateNode=c,kn=s,rn=null,r=!0):r=!1),r||Zi(s)),null;case 13:return o0(r,s,c);case 4:return We(s,s.stateNode.containerInfo),p=s.pendingProps,r===null?s.child=Zs(s,null,p,c):$n(r,s,p,c),s.child;case 11:return op(r,s,s.type,s.pendingProps,c);case 7:return $n(r,s,s.pendingProps,c),s.child;case 8:return $n(r,s,s.pendingProps.children,c),s.child;case 12:return $n(r,s,s.pendingProps.children,c),s.child;case 10:return p=s.pendingProps,Ki(s,s.type,p.value),$n(r,s,p.children,c),s.child;case 9:return x=s.type._context,p=s.pendingProps.children,Hs(s),x=Gn(x),p=p(x),s.flags|=1,$n(r,s,p,c),s.child;case 14:return Ol(r,s,s.type,s.pendingProps,c);case 15:return is(r,s,s.type,s.pendingProps,c);case 19:return dp(r,s,c);case 31:return p=s.pendingProps,c=s.mode,p={mode:p.mode,children:p.children},r===null?(c=uh(p,c),c.ref=s.ref,s.child=c,c.return=s,s=c):(c=Ka(r.child,p),c.ref=s.ref,s.child=c,c.return=s,s=c),s;case 22:return ec(r,s,c);case 24:return Hs(s),p=Gn(Dn),r===null?(x=Sl(),x===null&&(x=_n,w=ff(),x.pooledCache=w,w.refCount++,w!==null&&(x.pooledCacheLanes|=c),x=w),s.memoizedState={parent:p,cache:x},Ys(s),Ki(s,Dn,x)):((r.lanes&c)!==0&&(qu(r,s),ga(s,null,null,c),tl()),x=r.memoizedState,w=s.memoizedState,x.parent!==p?(x={parent:p,cache:p},s.memoizedState=x,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=x),Ki(s,Dn,p)):(p=w.cache,Ki(s,Dn,p),p!==x.cache&&qt(s,[Dn],c,!0))),$n(r,s,s.pendingProps.children,c),s.child;case 29:throw s.pendingProps}throw Error(o(156,s.tag))}function fo(r){r.flags|=4}function Ws(r,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!Sa(s)){if(s=nr.current,s!==null&&((Xt&4194048)===Xt?fa!==null:(Xt&62914560)!==Xt&&(Xt&536870912)===0||s!==fa))throw ks=$m,jm;r.flags|=8192}}function ch(r,s){s!==null&&(r.flags|=4),r.flags&16384&&(s=r.tag!==22?wu():536870912,r.lanes|=s,_f|=s)}function Of(r,s){if(!Yt)switch(r.tailMode){case"hidden":s=r.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?r.tail=null:c.sibling=null;break;case"collapsed":c=r.tail;for(var p=null;c!==null;)c.alternate!==null&&(p=c),c=c.sibling;p===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:p.sibling=null}}function mt(r){var s=r.alternate!==null&&r.alternate.child===r.child,c=0,p=0;if(s)for(var x=r.child;x!==null;)c|=x.lanes|x.childLanes,p|=x.subtreeFlags&65011712,p|=x.flags&65011712,x.return=r,x=x.sibling;else for(x=r.child;x!==null;)c|=x.lanes|x.childLanes,p|=x.subtreeFlags,p|=x.flags,x.return=r,x=x.sibling;return r.subtreeFlags|=p,r.childLanes=c,s}function mp(r,s,c){var p=s.pendingProps;switch(Wr(s),s.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(s),null;case 1:return mt(s),null;case 3:return c=s.stateNode,p=null,r!==null&&(p=r.memoizedState.cache),s.memoizedState.cache!==p&&(s.flags|=2048),Er(Dn),it(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(r===null||r.child===null)&&(of(s)?fo(s):r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,Zg())),mt(s),null;case 26:return c=s.memoizedState,r===null?(fo(s),c!==null?(mt(s),Ws(s,c)):(mt(s),s.flags&=-16777217)):c?c!==r.memoizedState?(fo(s),mt(s),Ws(s,c)):(mt(s),s.flags&=-16777217):(r.memoizedProps!==p&&fo(s),mt(s),s.flags&=-16777217),null;case 27:un(s),c=Ue.current;var x=s.type;if(r!==null&&s.stateNode!=null)r.memoizedProps!==p&&fo(s);else{if(!p){if(s.stateNode===null)throw Error(o(166));return mt(s),null}r=Ye.current,of(s)?Hd(s):(r=Ke(x,p,c),s.stateNode=r,fo(s))}return mt(s),null;case 5:if(un(s),c=s.type,r!==null&&s.stateNode!=null)r.memoizedProps!==p&&fo(s);else{if(!p){if(s.stateNode===null)throw Error(o(166));return mt(s),null}if(r=Ye.current,of(s))Hd(s);else{switch(x=Bi(Ue.current),r){case 1:r=x.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:r=x.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":r=x.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":r=x.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":r=x.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof p.is=="string"?x.createElement("select",{is:p.is}):x.createElement("select"),p.multiple?r.multiple=!0:p.size&&(r.size=p.size);break;default:r=typeof p.is=="string"?x.createElement(c,{is:p.is}):x.createElement(c)}}r[pa]=s,r[Ei]=p;e:for(x=s.child;x!==null;){if(x.tag===5||x.tag===6)r.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===s)break e;for(;x.sibling===null;){if(x.return===null||x.return===s)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}s.stateNode=r;e:switch(Tt(r,c,p),c){case"button":case"input":case"select":case"textarea":r=!!p.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&fo(s)}}return mt(s),s.flags&=-16777217,null;case 6:if(r&&s.stateNode!=null)r.memoizedProps!==p&&fo(s);else{if(typeof p!="string"&&s.stateNode===null)throw Error(o(166));if(r=Ue.current,of(s)){if(r=s.stateNode,c=s.memoizedProps,p=null,x=kn,x!==null)switch(x.tag){case 27:case 5:p=x.memoizedProps}r[pa]=s,r=!!(r.nodeValue===c||p!==null&&p.suppressHydrationWarning===!0||z0(r.nodeValue,c)),r||Zi(s)}else r=Bi(r).createTextNode(p),r[pa]=s,s.stateNode=r}return mt(s),null;case 13:if(p=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(x=of(s),p!==null&&p.dehydrated!==null){if(r===null){if(!x)throw Error(o(318));if(x=s.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(o(317));x[pa]=s}else sf(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;mt(s),x=!1}else x=Zg(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=x),x=!0;if(!x)return s.flags&256?(al(s),s):(al(s),null)}if(al(s),(s.flags&128)!==0)return s.lanes=c,s;if(c=p!==null,r=r!==null&&r.memoizedState!==null,c){p=s.child,x=null,p.alternate!==null&&p.alternate.memoizedState!==null&&p.alternate.memoizedState.cachePool!==null&&(x=p.alternate.memoizedState.cachePool.pool);var w=null;p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(w=p.memoizedState.cachePool.pool),w!==x&&(p.flags|=2048)}return c!==r&&c&&(s.child.flags|=8192),ch(s,s.updateQueue),mt(s),null;case 4:return it(),r===null&&N0(s.stateNode.containerInfo),mt(s),null;case 10:return Er(s.type),mt(s),null;case 19:if(Ae(yn),x=s.memoizedState,x===null)return mt(s),null;if(p=(s.flags&128)!==0,w=x.rendering,w===null)if(p)Of(x,!1);else{if(ra!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(w=Tf(r),w!==null){for(s.flags|=128,Of(x,!1),r=w.updateQueue,s.updateQueue=r,ch(s,r),s.subtreeFlags=0,r=c,c=s.child;c!==null;)Dt(c,r),c=c.sibling;return je(yn,yn.current&1|2),s.child}r=r.sibling}x.tail!==null&&gn()>zf&&(s.flags|=128,p=!0,Of(x,!1),s.lanes=4194304)}else{if(!p)if(r=Tf(w),r!==null){if(s.flags|=128,p=!0,r=r.updateQueue,s.updateQueue=r,ch(s,r),Of(x,!0),x.tail===null&&x.tailMode==="hidden"&&!w.alternate&&!Yt)return mt(s),null}else 2*gn()-x.renderingStartTime>zf&&c!==536870912&&(s.flags|=128,p=!0,Of(x,!1),s.lanes=4194304);x.isBackwards?(w.sibling=s.child,s.child=w):(r=x.last,r!==null?r.sibling=w:s.child=w,x.last=w)}return x.tail!==null?(s=x.tail,x.rendering=s,x.tail=s.sibling,x.renderingStartTime=gn(),s.sibling=null,r=yn.current,je(yn,p?r&1|2:r&1),s):(mt(s),null);case 22:case 23:return al(s),hf(),p=s.memoizedState!==null,r!==null?r.memoizedState!==null!==p&&(s.flags|=8192):p&&(s.flags|=8192),p?(c&536870912)!==0&&(s.flags&128)===0&&(mt(s),s.subtreeFlags&6&&(s.flags|=8192)):mt(s),c=s.updateQueue,c!==null&&ch(s,c.retryQueue),c=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(c=r.memoizedState.cachePool.pool),p=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(p=s.memoizedState.cachePool.pool),p!==c&&(s.flags|=2048),r!==null&&Ae(no),null;case 24:return c=null,r!==null&&(c=r.memoizedState.cache),s.memoizedState.cache!==c&&(s.flags|=2048),Er(Dn),mt(s),null;case 25:return null;case 30:return null}throw Error(o(156,s.tag))}function xv(r,s){switch(Wr(s),s.tag){case 1:return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return Er(Dn),it(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 26:case 27:case 5:return un(s),null;case 13:if(al(s),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(o(340));sf()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return Ae(yn),null;case 4:return it(),null;case 10:return Er(s.type),null;case 22:case 23:return al(s),hf(),r!==null&&Ae(no),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 24:return Er(Dn),null;case 25:return null;default:return null}}function s0(r,s){switch(Wr(s),s.tag){case 3:Er(Dn),it();break;case 26:case 27:case 5:un(s);break;case 4:it();break;case 13:al(s);break;case 19:Ae(yn);break;case 10:Er(s.type);break;case 22:case 23:al(s),hf(),r!==null&&Ae(no);break;case 24:Er(Dn)}}function fh(r,s){try{var c=s.updateQueue,p=c!==null?c.lastEffect:null;if(p!==null){var x=p.next;c=x;do{if((c.tag&r)===r){p=void 0;var w=c.create,N=c.inst;p=w(),N.destroy=p}c=c.next}while(c!==x)}}catch($){Cn(s,s.return,$)}}function Js(r,s,c){try{var p=s.updateQueue,x=p!==null?p.lastEffect:null;if(x!==null){var w=x.next;p=w;do{if((p.tag&r)===r){var N=p.inst,$=N.destroy;if($!==void 0){N.destroy=void 0,x=s;var Z=c,de=$;try{de()}catch(De){Cn(x,Z,De)}}}p=p.next}while(p!==w)}}catch(De){Cn(s,s.return,De)}}function pp(r){var s=r.updateQueue;if(s!==null){var c=r.stateNode;try{df(s,c)}catch(p){Cn(r,r.return,p)}}}function gp(r,s,c){c.props=as(r.type,r.memoizedProps),c.state=r.memoizedState;try{c.componentWillUnmount()}catch(p){Cn(r,s,p)}}function nc(r,s){try{var c=r.ref;if(c!==null){switch(r.tag){case 26:case 27:case 5:var p=r.stateNode;break;case 30:p=r.stateNode;break;default:p=r.stateNode}typeof c=="function"?r.refCleanup=c(p):c.current=p}}catch(x){Cn(r,s,x)}}function Ml(r,s){var c=r.ref,p=r.refCleanup;if(c!==null)if(typeof p=="function")try{p()}catch(x){Cn(r,s,x)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof c=="function")try{c(null)}catch(x){Cn(r,s,x)}else c.current=null}function eu(r){var s=r.type,c=r.memoizedProps,p=r.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":c.autoFocus&&p.focus();break e;case"img":c.src?p.src=c.src:c.srcSet&&(p.srcset=c.srcSet)}}catch(x){Cn(r,r.return,x)}}function yp(r,s,c){try{var p=r.stateNode;Db(p,r.type,c,s),p[Ei]=s}catch(x){Cn(r,r.return,x)}}function Mf(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&sl(r.type)||r.tag===4}function ir(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Mf(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&sl(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function tu(r,s,c){var p=r.tag;if(p===5||p===6)r=r.stateNode,s?(c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c).insertBefore(r,s):(s=c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c,s.appendChild(r),c=c._reactRootContainer,c!=null||s.onclick!==null||(s.onclick=Vp));else if(p!==4&&(p===27&&sl(r.type)&&(c=r.stateNode,s=null),r=r.child,r!==null))for(tu(r,s,c),r=r.sibling;r!==null;)tu(r,s,c),r=r.sibling}function dh(r,s,c){var p=r.tag;if(p===5||p===6)r=r.stateNode,s?c.insertBefore(r,s):c.appendChild(r);else if(p!==4&&(p===27&&sl(r.type)&&(c=r.stateNode),r=r.child,r!==null))for(dh(r,s,c),r=r.sibling;r!==null;)dh(r,s,c),r=r.sibling}function ac(r){var s=r.stateNode,c=r.memoizedProps;try{for(var p=r.type,x=s.attributes;x.length;)s.removeAttributeNode(x[0]);Tt(s,p,c),s[pa]=r,s[Ei]=c}catch(w){Cn(r,r.return,w)}}var Dl=!1,vn=!1,ho=!1,vp=typeof WeakSet=="function"?WeakSet:Set,ba=null;function u0(r,s){if(r=r.containerInfo,Dr=Mh,r=Ig(r),Vd(r)){if("selectionStart"in r)var c={start:r.selectionStart,end:r.selectionEnd};else e:{c=(c=r.ownerDocument)&&c.defaultView||window;var p=c.getSelection&&c.getSelection();if(p&&p.rangeCount!==0){c=p.anchorNode;var x=p.anchorOffset,w=p.focusNode;p=p.focusOffset;try{c.nodeType,w.nodeType}catch{c=null;break e}var N=0,$=-1,Z=-1,de=0,De=0,Ne=r,ye=null;t:for(;;){for(var he;Ne!==c||x!==0&&Ne.nodeType!==3||($=N+x),Ne!==w||p!==0&&Ne.nodeType!==3||(Z=N+p),Ne.nodeType===3&&(N+=Ne.nodeValue.length),(he=Ne.firstChild)!==null;)ye=Ne,Ne=he;for(;;){if(Ne===r)break t;if(ye===c&&++de===x&&($=N),ye===w&&++De===p&&(Z=N),(he=Ne.nextSibling)!==null)break;Ne=ye,ye=Ne.parentNode}Ne=he}c=$===-1||Z===-1?null:{start:$,end:Z}}else c=null}c=c||{start:0,end:0}}else c=null;for(Pf={focusedElem:r,selectionRange:c},Mh=!1,ba=s;ba!==null;)if(s=ba,r=s.child,(s.subtreeFlags&1024)!==0&&r!==null)r.return=s,ba=r;else for(;ba!==null;){switch(s=ba,w=s.alternate,r=s.flags,s.tag){case 0:break;case 11:case 15:break;case 1:if((r&1024)!==0&&w!==null){r=void 0,c=s,x=w.memoizedProps,w=w.memoizedState,p=c.stateNode;try{var ft=as(c.type,x,c.elementType===c.type);r=p.getSnapshotBeforeUpdate(ft,w),p.__reactInternalSnapshotBeforeUpdate=r}catch(pt){Cn(c,c.return,pt)}}break;case 3:if((r&1024)!==0){if(r=s.stateNode.containerInfo,c=r.nodeType,c===9)Ah(r);else if(c===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Ah(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(o(163))}if(r=s.sibling,r!==null){r.return=s.return,ba=r;break}ba=s.return}}function c0(r,s,c){var p=c.flags;switch(c.tag){case 0:case 11:case 15:po(r,c),p&4&&fh(5,c);break;case 1:if(po(r,c),p&4)if(r=c.stateNode,s===null)try{r.componentDidMount()}catch(N){Cn(c,c.return,N)}else{var x=as(c.type,s.memoizedProps);s=s.memoizedState;try{r.componentDidUpdate(x,s,r.__reactInternalSnapshotBeforeUpdate)}catch(N){Cn(c,c.return,N)}}p&64&&pp(c),p&512&&nc(c,c.return);break;case 3:if(po(r,c),p&64&&(r=c.updateQueue,r!==null)){if(s=null,c.child!==null)switch(c.child.tag){case 27:case 5:s=c.child.stateNode;break;case 1:s=c.child.stateNode}try{df(r,s)}catch(N){Cn(c,c.return,N)}}break;case 27:s===null&&p&4&&ac(c);case 26:case 5:po(r,c),s===null&&p&4&&eu(c),p&512&&nc(c,c.return);break;case 12:po(r,c);break;case 13:po(r,c),p&4&&bp(r,c),p&64&&(r=c.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(c=Np.bind(null,c),qf(r,c))));break;case 22:if(p=c.memoizedState!==null||Dl,!p){s=s!==null&&s.memoizedState!==null||vn,x=Dl;var w=vn;Dl=p,(vn=s)&&!w?rs(r,c,(c.subtreeFlags&8772)!==0):po(r,c),Dl=x,vn=w}break;case 30:break;default:po(r,c)}}function f0(r){var s=r.alternate;s!==null&&(r.alternate=null,f0(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&yd(s)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var In=null,Wa=!1;function mo(r,s,c){for(c=c.child;c!==null;)Gt(r,s,c),c=c.sibling}function Gt(r,s,c){if(tt&&typeof tt.onCommitFiberUnmount=="function")try{tt.onCommitFiberUnmount(Vo,c)}catch{}switch(c.tag){case 26:vn||Ml(c,s),mo(r,s,c),c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:vn||Ml(c,s);var p=In,x=Wa;sl(c.type)&&(In=c.stateNode,Wa=!1),mo(r,s,c),sr(c.stateNode),In=p,Wa=x;break;case 5:vn||Ml(c,s);case 6:if(p=In,x=Wa,In=null,mo(r,s,c),In=p,Wa=x,In!==null)if(Wa)try{(In.nodeType===9?In.body:In.nodeName==="HTML"?In.ownerDocument.body:In).removeChild(c.stateNode)}catch(w){Cn(c,s,w)}else try{In.removeChild(c.stateNode)}catch(w){Cn(c,s,w)}break;case 18:In!==null&&(Wa?(r=In,Yf(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,c.stateNode),Ao(r)):Yf(In,c.stateNode));break;case 4:p=In,x=Wa,In=c.stateNode.containerInfo,Wa=!0,mo(r,s,c),In=p,Wa=x;break;case 0:case 11:case 14:case 15:vn||Js(2,c,s),vn||Js(4,c,s),mo(r,s,c);break;case 1:vn||(Ml(c,s),p=c.stateNode,typeof p.componentWillUnmount=="function"&&gp(c,s,p)),mo(r,s,c);break;case 21:mo(r,s,c);break;case 22:vn=(p=vn)||c.memoizedState!==null,mo(r,s,c),vn=p;break;default:mo(r,s,c)}}function bp(r,s){if(s.memoizedState===null&&(r=s.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Ao(r)}catch(c){Cn(s,s.return,c)}}function d0(r){switch(r.tag){case 13:case 19:var s=r.stateNode;return s===null&&(s=r.stateNode=new vp),s;case 22:return r=r.stateNode,s=r._retryCache,s===null&&(s=r._retryCache=new vp),s;default:throw Error(o(435,r.tag))}}function Sp(r,s){var c=d0(r);s.forEach(function(p){var x=Ob.bind(null,r,p);c.has(p)||(c.add(p),p.then(x,x))})}function Ui(r,s){var c=s.deletions;if(c!==null)for(var p=0;p<c.length;p++){var x=c[p],w=r,N=s,$=N;e:for(;$!==null;){switch($.tag){case 27:if(sl($.type)){In=$.stateNode,Wa=!1;break e}break;case 5:In=$.stateNode,Wa=!1;break e;case 3:case 4:In=$.stateNode.containerInfo,Wa=!0;break e}$=$.return}if(In===null)throw Error(o(160));Gt(w,N,x),In=null,Wa=!1,w=x.alternate,w!==null&&(w.return=null),x.return=null}if(s.subtreeFlags&13878)for(s=s.child;s!==null;)Df(s,r),s=s.sibling}var gi=null;function Df(r,s){var c=r.alternate,p=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:Ui(s,r),_a(r),p&4&&(Js(3,r,r.return),fh(3,r),Js(5,r,r.return));break;case 1:Ui(s,r),_a(r),p&512&&(vn||c===null||Ml(c,c.return)),p&64&&Dl&&(r=r.updateQueue,r!==null&&(p=r.callbacks,p!==null&&(c=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=c===null?p:c.concat(p))));break;case 26:var x=gi;if(Ui(s,r),_a(r),p&512&&(vn||c===null||Ml(c,c.return)),p&4){var w=c!==null?c.memoizedState:null;if(p=r.memoizedState,c===null)if(p===null)if(r.stateNode===null){e:{p=r.type,c=r.memoizedProps,x=x.ownerDocument||x;t:switch(p){case"title":w=x.getElementsByTagName("title")[0],(!w||w[rt]||w[pa]||w.namespaceURI==="http://www.w3.org/2000/svg"||w.hasAttribute("itemprop"))&&(w=x.createElement(p),x.head.insertBefore(w,x.querySelector("head > title"))),Tt(w,p,c),w[pa]=r,Oa(w),p=w;break e;case"link":var N=U0("link","href",x).get(p+(c.href||""));if(N){for(var $=0;$<N.length;$++)if(w=N[$],w.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&w.getAttribute("rel")===(c.rel==null?null:c.rel)&&w.getAttribute("title")===(c.title==null?null:c.title)&&w.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){N.splice($,1);break t}}w=x.createElement(p),Tt(w,p,c),x.head.appendChild(w);break;case"meta":if(N=U0("meta","content",x).get(p+(c.content||""))){for($=0;$<N.length;$++)if(w=N[$],w.getAttribute("content")===(c.content==null?null:""+c.content)&&w.getAttribute("name")===(c.name==null?null:c.name)&&w.getAttribute("property")===(c.property==null?null:c.property)&&w.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&w.getAttribute("charset")===(c.charSet==null?null:c.charSet)){N.splice($,1);break t}}w=x.createElement(p),Tt(w,p,c),x.head.appendChild(w);break;default:throw Error(o(468,p))}w[pa]=r,Oa(w),p=w}r.stateNode=p}else V0(x,r.type,r.stateNode);else r.stateNode=Vv(x,p,r.memoizedProps);else w!==p?(w===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):w.count--,p===null?V0(x,r.type,r.stateNode):Vv(x,p,r.memoizedProps)):p===null&&r.stateNode!==null&&yp(r,r.memoizedProps,c.memoizedProps)}break;case 27:Ui(s,r),_a(r),p&512&&(vn||c===null||Ml(c,c.return)),c!==null&&p&4&&yp(r,r.memoizedProps,c.memoizedProps);break;case 5:if(Ui(s,r),_a(r),p&512&&(vn||c===null||Ml(c,c.return)),r.flags&32){x=r.stateNode;try{Ls(x,"")}catch(he){Cn(r,r.return,he)}}p&4&&r.stateNode!=null&&(x=r.memoizedProps,yp(r,x,c!==null?c.memoizedProps:x)),p&1024&&(ho=!0);break;case 6:if(Ui(s,r),_a(r),p&4){if(r.stateNode===null)throw Error(o(162));p=r.memoizedProps,c=r.stateNode;try{c.nodeValue=p}catch(he){Cn(r,r.return,he)}}break;case 3:if(Eo=null,x=gi,gi=Ot(s.containerInfo),Ui(s,r),gi=x,_a(r),p&4&&c!==null&&c.memoizedState.isDehydrated)try{Ao(s.containerInfo)}catch(he){Cn(r,r.return,he)}ho&&(ho=!1,h0(r));break;case 4:p=gi,gi=Ot(r.stateNode.containerInfo),Ui(s,r),_a(r),gi=p;break;case 12:Ui(s,r),_a(r);break;case 13:Ui(s,r),_a(r),r.child.flags&8192&&r.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(x0=gn()),p&4&&(p=r.updateQueue,p!==null&&(r.updateQueue=null,Sp(r,p)));break;case 22:x=r.memoizedState!==null;var Z=c!==null&&c.memoizedState!==null,de=Dl,De=vn;if(Dl=de||x,vn=De||Z,Ui(s,r),vn=De,Dl=de,_a(r),p&8192)e:for(s=r.stateNode,s._visibility=x?s._visibility&-2:s._visibility|1,x&&(c===null||Z||Dl||vn||Fn(r)),c=null,s=r;;){if(s.tag===5||s.tag===26){if(c===null){Z=c=s;try{if(w=Z.stateNode,x)N=w.style,typeof N.setProperty=="function"?N.setProperty("display","none","important"):N.display="none";else{$=Z.stateNode;var Ne=Z.memoizedProps.style,ye=Ne!=null&&Ne.hasOwnProperty("display")?Ne.display:null;$.style.display=ye==null||typeof ye=="boolean"?"":(""+ye).trim()}}catch(he){Cn(Z,Z.return,he)}}}else if(s.tag===6){if(c===null){Z=s;try{Z.stateNode.nodeValue=x?"":Z.memoizedProps}catch(he){Cn(Z,Z.return,he)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===r)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break e;for(;s.sibling===null;){if(s.return===null||s.return===r)break e;c===s&&(c=null),s=s.return}c===s&&(c=null),s.sibling.return=s.return,s=s.sibling}p&4&&(p=r.updateQueue,p!==null&&(c=p.retryQueue,c!==null&&(p.retryQueue=null,Sp(r,c))));break;case 19:Ui(s,r),_a(r),p&4&&(p=r.updateQueue,p!==null&&(r.updateQueue=null,Sp(r,p)));break;case 30:break;case 21:break;default:Ui(s,r),_a(r)}}function _a(r){var s=r.flags;if(s&2){try{for(var c,p=r.return;p!==null;){if(Mf(p)){c=p;break}p=p.return}if(c==null)throw Error(o(160));switch(c.tag){case 27:var x=c.stateNode,w=ir(r);dh(r,w,x);break;case 5:var N=c.stateNode;c.flags&32&&(Ls(N,""),c.flags&=-33);var $=ir(r);dh(r,$,N);break;case 3:case 4:var Z=c.stateNode.containerInfo,de=ir(r);tu(r,de,Z);break;default:throw Error(o(161))}}catch(De){Cn(r,r.return,De)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function h0(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var s=r;h0(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),r=r.sibling}}function po(r,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)c0(r,s.alternate,s),s=s.sibling}function Fn(r){for(r=r.child;r!==null;){var s=r;switch(s.tag){case 0:case 11:case 14:case 15:Js(4,s,s.return),Fn(s);break;case 1:Ml(s,s.return);var c=s.stateNode;typeof c.componentWillUnmount=="function"&&gp(s,s.return,c),Fn(s);break;case 27:sr(s.stateNode);case 26:case 5:Ml(s,s.return),Fn(s);break;case 22:s.memoizedState===null&&Fn(s);break;case 30:Fn(s);break;default:Fn(s)}r=r.sibling}}function rs(r,s,c){for(c=c&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var p=s.alternate,x=r,w=s,N=w.flags;switch(w.tag){case 0:case 11:case 15:rs(x,w,c),fh(4,w);break;case 1:if(rs(x,w,c),p=w,x=p.stateNode,typeof x.componentDidMount=="function")try{x.componentDidMount()}catch(de){Cn(p,p.return,de)}if(p=w,x=p.updateQueue,x!==null){var $=p.stateNode;try{var Z=x.shared.hiddenCallbacks;if(Z!==null)for(x.shared.hiddenCallbacks=null,x=0;x<Z.length;x++)km(Z[x],$)}catch(de){Cn(p,p.return,de)}}c&&N&64&&pp(w),nc(w,w.return);break;case 27:ac(w);case 26:case 5:rs(x,w,c),c&&p===null&&N&4&&eu(w),nc(w,w.return);break;case 12:rs(x,w,c);break;case 13:rs(x,w,c),c&&N&4&&bp(x,w);break;case 22:w.memoizedState===null&&rs(x,w,c),nc(w,w.return);break;case 30:break;default:rs(x,w,c)}s=s.sibling}}function ll(r,s){var c=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(c=r.memoizedState.cachePool.pool),r=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(r=s.memoizedState.cachePool.pool),r!==c&&(r!=null&&r.refCount++,c!=null&&to(c))}function xp(r,s){r=null,s.alternate!==null&&(r=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==r&&(s.refCount++,r!=null&&to(r))}function Ja(r,s,c,p){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)m0(r,s,c,p),s=s.sibling}function m0(r,s,c,p){var x=s.flags;switch(s.tag){case 0:case 11:case 15:Ja(r,s,c,p),x&2048&&fh(9,s);break;case 1:Ja(r,s,c,p);break;case 3:Ja(r,s,c,p),x&2048&&(r=null,s.alternate!==null&&(r=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==r&&(s.refCount++,r!=null&&to(r)));break;case 12:if(x&2048){Ja(r,s,c,p),r=s.stateNode;try{var w=s.memoizedProps,N=w.id,$=w.onPostCommit;typeof $=="function"&&$(N,s.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(Z){Cn(s,s.return,Z)}}else Ja(r,s,c,p);break;case 13:Ja(r,s,c,p);break;case 23:break;case 22:w=s.stateNode,N=s.alternate,s.memoizedState!==null?w._visibility&2?Ja(r,s,c,p):mn(r,s):w._visibility&2?Ja(r,s,c,p):(w._visibility|=2,ls(r,s,c,p,(s.subtreeFlags&10256)!==0)),x&2048&&ll(N,s);break;case 24:Ja(r,s,c,p),x&2048&&xp(s.alternate,s);break;default:Ja(r,s,c,p)}}function ls(r,s,c,p,x){for(x=x&&(s.subtreeFlags&10256)!==0,s=s.child;s!==null;){var w=r,N=s,$=c,Z=p,de=N.flags;switch(N.tag){case 0:case 11:case 15:ls(w,N,$,Z,x),fh(8,N);break;case 23:break;case 22:var De=N.stateNode;N.memoizedState!==null?De._visibility&2?ls(w,N,$,Z,x):mn(w,N):(De._visibility|=2,ls(w,N,$,Z,x)),x&&de&2048&&ll(N.alternate,N);break;case 24:ls(w,N,$,Z,x),x&&de&2048&&xp(N.alternate,N);break;default:ls(w,N,$,Z,x)}s=s.sibling}}function mn(r,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var c=r,p=s,x=p.flags;switch(p.tag){case 22:mn(c,p),x&2048&&ll(p.alternate,p);break;case 24:mn(c,p),x&2048&&xp(p.alternate,p);break;default:mn(c,p)}s=s.sibling}}var $a=8192;function ia(r){if(r.subtreeFlags&$a)for(r=r.child;r!==null;)Tv(r),r=r.sibling}function Tv(r){switch(r.tag){case 26:ia(r),r.flags&$a&&r.memoizedState!==null&&$v(gi,r.memoizedState,r.memoizedProps);break;case 5:ia(r);break;case 3:case 4:var s=gi;gi=Ot(r.stateNode.containerInfo),ia(r),gi=s;break;case 22:r.memoizedState===null&&(s=r.alternate,s!==null&&s.memoizedState!==null?(s=$a,$a=16777216,ia(r),$a=s):ia(r));break;default:ia(r)}}function p0(r){var s=r.alternate;if(s!==null&&(r=s.child,r!==null)){s.child=null;do s=r.sibling,r.sibling=null,r=s;while(r!==null)}}function nu(r){var s=r.deletions;if((r.flags&16)!==0){if(s!==null)for(var c=0;c<s.length;c++){var p=s[c];ba=p,y0(p,r)}p0(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)g0(r),r=r.sibling}function g0(r){switch(r.tag){case 0:case 11:case 15:nu(r),r.flags&2048&&Js(9,r,r.return);break;case 3:nu(r);break;case 12:nu(r);break;case 22:var s=r.stateNode;r.memoizedState!==null&&s._visibility&2&&(r.return===null||r.return.tag!==13)?(s._visibility&=-3,Vi(r)):nu(r);break;default:nu(r)}}function Vi(r){var s=r.deletions;if((r.flags&16)!==0){if(s!==null)for(var c=0;c<s.length;c++){var p=s[c];ba=p,y0(p,r)}p0(r)}for(r=r.child;r!==null;){switch(s=r,s.tag){case 0:case 11:case 15:Js(8,s,s.return),Vi(s);break;case 22:c=s.stateNode,c._visibility&2&&(c._visibility&=-3,Vi(s));break;default:Vi(s)}r=r.sibling}}function y0(r,s){for(;ba!==null;){var c=ba;switch(c.tag){case 0:case 11:case 15:Js(8,c,s);break;case 23:case 22:if(c.memoizedState!==null&&c.memoizedState.cachePool!==null){var p=c.memoizedState.cachePool.pool;p!=null&&p.refCount++}break;case 24:to(c.memoizedState.cache)}if(p=c.child,p!==null)p.return=c,ba=p;else e:for(c=r;ba!==null;){p=ba;var x=p.sibling,w=p.return;if(f0(p),p===c){ba=null;break e}if(x!==null){x.return=w,ba=x;break e}ba=w}}}var v0={getCacheForType:function(r){var s=Gn(Dn),c=s.data.get(r);return c===void 0&&(c=r(),s.data.set(r,c)),c}},Tp=typeof WeakMap=="function"?WeakMap:Map,bn=0,_n=null,Ft=null,Xt=0,xn=0,rr=null,go=!1,Rf=!1,b0=!1,os=0,ra=0,ss=0,ic=0,yo=0,ol=0,_f=0,Nf=null,lr=null,S0=!1,x0=0,zf=1/0,rc=null,au=null,ei=0,vo=null,Lf=null,ti=0,Ep=0,Ap=null,T0=null,lc=0,E0=null;function yi(){if((bn&2)!==0&&Xt!==0)return Xt&-Xt;if(F.T!==null){var r=Jr;return r!==0?r:lu()}return nv()}function A0(){ol===0&&(ol=(Xt&536870912)===0||Yt?Cs():536870912);var r=nr.current;return r!==null&&(r.flags|=32),ol}function Or(r,s,c){(r===_n&&(xn===2||xn===9)||r.cancelPendingCommit!==null)&&(bo(r,0),us(r,Xt,ol,!1)),Os(r,c),((bn&2)===0||r!==_n)&&(r===_n&&((bn&2)===0&&(ic|=c),ra===4&&us(r,Xt,ol,!1)),or(r))}function Uf(r,s,c){if((bn&6)!==0)throw Error(o(327));var p=!c&&(s&124)===0&&(s&r.expiredLanes)===0||Hr(r,s),x=p?C0(r,s):wp(r,s,!0),w=p;do{if(x===0){Rf&&!p&&us(r,s,0,!1);break}else{if(c=r.current.alternate,w&&!Ev(c)){x=wp(r,s,!1),w=!1;continue}if(x===2){if(w=s,r.errorRecoveryDisabledLanes&w)var N=0;else N=r.pendingLanes&-536870913,N=N!==0?N:N&536870912?536870912:0;if(N!==0){s=N;e:{var $=r;x=Nf;var Z=$.current.memoizedState.isDehydrated;if(Z&&(bo($,N).flags|=256),N=wp($,N,!1),N!==2){if(b0&&!Z){$.errorRecoveryDisabledLanes|=w,ic|=w,x=4;break e}w=lr,lr=x,w!==null&&(lr===null?lr=w:lr.push.apply(lr,w))}x=N}if(w=!1,x!==2)continue}}if(x===1){bo(r,0),us(r,s,0,!0);break}e:{switch(p=r,w=x,w){case 0:case 1:throw Error(o(345));case 4:if((s&4194048)!==s)break;case 6:us(p,s,ol,!go);break e;case 2:lr=null;break;case 3:case 5:break;default:throw Error(o(329))}if((s&62914560)===s&&(x=x0+300-gn(),10<x)){if(us(p,s,ol,!go),ql(p,0,!0)!==0)break e;p.timeoutHandle=Bp(hh.bind(null,p,c,lr,rc,S0,s,ol,ic,_f,go,w,2,-0,0),x);break e}hh(p,c,lr,rc,S0,s,ol,ic,_f,go,w,0,-0,0)}}break}while(!0);or(r)}function hh(r,s,c,p,x,w,N,$,Z,de,De,Ne,ye,he){if(r.timeoutHandle=-1,Ne=s.subtreeFlags,(Ne&8192||(Ne&16785408)===16785408)&&(Na={stylesheets:null,count:0,unsuspend:jv},Tv(s),Ne=B0(),Ne!==null)){r.cancelPendingCommit=Ne(ph.bind(null,r,s,w,c,p,x,N,$,Z,De,1,ye,he)),us(r,w,N,!de);return}ph(r,s,w,c,p,x,N,$,Z)}function Ev(r){for(var s=r;;){var c=s.tag;if((c===0||c===11||c===15)&&s.flags&16384&&(c=s.updateQueue,c!==null&&(c=c.stores,c!==null)))for(var p=0;p<c.length;p++){var x=c[p],w=x.getSnapshot;x=x.value;try{if(!Za(w(),x))return!1}catch{return!1}}if(c=s.child,s.subtreeFlags&16384&&c!==null)c.return=s,s=c;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function us(r,s,c,p){s&=~yo,s&=~ic,r.suspendedLanes|=s,r.pingedLanes&=~s,p&&(r.warmLanes|=s),p=r.expirationTimes;for(var x=s;0<x;){var w=31-En(x),N=1<<w;p[w]=-1,x&=~N}c!==0&&md(r,c,s)}function oc(){return(bn&6)===0?(bh(0),!1):!0}function iu(){if(Ft!==null){if(xn===0)var r=Ft.return;else r=Ft,j=eo=null,Fd(r),va=null,zi=0,r=Ft;for(;r!==null;)s0(r.alternate,r),r=r.return;Ft=null}}function bo(r,s){var c=r.timeoutHandle;c!==-1&&(r.timeoutHandle=-1,Rb(c)),c=r.cancelPendingCommit,c!==null&&(r.cancelPendingCommit=null,c()),iu(),_n=r,Ft=c=Ka(r.current,null),Xt=s,xn=0,rr=null,go=!1,Rf=Hr(r,s),b0=!1,_f=ol=yo=ic=ss=ra=0,lr=Nf=null,S0=!1,(s&8)!==0&&(s|=s&32);var p=r.entangledLanes;if(p!==0)for(r=r.entanglements,p&=s;0<p;){var x=31-En(p),w=1<<x;s|=r[x],p&=~w}return os=s,Fi(),c}function w0(r,s){Rt=null,F.H=rh,s===Ba||s===qd?(s=Qg(),xn=3):s===jm?(s=Qg(),xn=4):xn=s===aa?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,rr=s,Ft===null&&(ra=1,Af(r,ci(s,r.current)))}function Av(){var r=F.H;return F.H=rh,r===null?rh:r}function sc(){var r=F.A;return F.A=v0,r}function uc(){ra=4,go||(Xt&4194048)!==Xt&&nr.current!==null||(Rf=!0),(ss&134217727)===0&&(ic&134217727)===0||_n===null||us(_n,Xt,ol,!1)}function wp(r,s,c){var p=bn;bn|=2;var x=Av(),w=sc();(_n!==r||Xt!==s)&&(rc=null,bo(r,s)),s=!1;var N=ra;e:do try{if(xn!==0&&Ft!==null){var $=Ft,Z=rr;switch(xn){case 8:iu(),N=6;break e;case 3:case 2:case 9:case 6:nr.current===null&&(s=!0);var de=xn;if(xn=0,rr=null,Vf(r,$,Z,de),c&&Rf){N=0;break e}break;default:de=xn,xn=0,rr=null,Vf(r,$,Z,de)}}Cp(),N=ra;break}catch(De){w0(r,De)}while(!0);return s&&r.shellSuspendCounter++,j=eo=null,bn=p,F.H=x,F.A=w,Ft===null&&(_n=null,Xt=0,Fi()),N}function Cp(){for(;Ft!==null;)Mp(Ft)}function C0(r,s){var c=bn;bn|=2;var p=Av(),x=sc();_n!==r||Xt!==s?(rc=null,zf=gn()+500,bo(r,s)):Rf=Hr(r,s);e:do try{if(xn!==0&&Ft!==null){s=Ft;var w=rr;t:switch(xn){case 1:xn=0,rr=null,Vf(r,s,w,1);break;case 2:case 9:if(Hm(w)){xn=0,rr=null,O0(s);break}s=function(){xn!==2&&xn!==9||_n!==r||(xn=7),or(r)},w.then(s,s);break e;case 3:xn=7;break e;case 4:xn=5;break e;case 7:Hm(w)?(xn=0,rr=null,O0(s)):(xn=0,rr=null,Vf(r,s,w,7));break;case 5:var N=null;switch(Ft.tag){case 26:N=Ft.memoizedState;case 5:case 27:var $=Ft;if(!N||Sa(N)){xn=0,rr=null;var Z=$.sibling;if(Z!==null)Ft=Z;else{var de=$.return;de!==null?(Ft=de,mh(de)):Ft=null}break t}}xn=0,rr=null,Vf(r,s,w,5);break;case 6:xn=0,rr=null,Vf(r,s,w,6);break;case 8:iu(),ra=6;break e;default:throw Error(o(462))}}Op();break}catch(De){w0(r,De)}while(!0);return j=eo=null,F.H=p,F.A=x,bn=c,Ft!==null?0:(_n=null,Xt=0,Fi(),ra)}function Op(){for(;Ft!==null&&!wa();)Mp(Ft)}function Mp(r){var s=hp(r.alternate,r,os);r.memoizedProps=r.pendingProps,s===null?mh(r):Ft=s}function O0(r){var s=r,c=s.alternate;switch(s.tag){case 15:case 0:s=sh(c,s,s.pendingProps,s.type,void 0,Xt);break;case 11:s=sh(c,s,s.pendingProps,s.type.render,s.ref,Xt);break;case 5:Fd(s);default:s0(c,s),s=Ft=Dt(s,os),s=hp(c,s,os)}r.memoizedProps=r.pendingProps,s===null?mh(r):Ft=s}function Vf(r,s,c,p){j=eo=null,Fd(s),va=null,zi=0;var x=s.return;try{if(l0(r,x,s,c,Xt)){ra=1,Af(r,ci(c,r.current)),Ft=null;return}}catch(w){if(x!==null)throw Ft=x,w;ra=1,Af(r,ci(c,r.current)),Ft=null;return}s.flags&32768?(Yt||p===1?r=!0:Rf||(Xt&536870912)!==0?r=!1:(go=r=!0,(p===2||p===9||p===3||p===6)&&(p=nr.current,p!==null&&p.tag===13&&(p.flags|=16384))),wv(s,r)):mh(s)}function mh(r){var s=r;do{if((s.flags&32768)!==0){wv(s,go);return}r=s.return;var c=mp(s.alternate,s,os);if(c!==null){Ft=c;return}if(s=s.sibling,s!==null){Ft=s;return}Ft=s=r}while(s!==null);ra===0&&(ra=5)}function wv(r,s){do{var c=xv(r.alternate,r);if(c!==null){c.flags&=32767,Ft=c;return}if(c=r.return,c!==null&&(c.flags|=32768,c.subtreeFlags=0,c.deletions=null),!s&&(r=r.sibling,r!==null)){Ft=r;return}Ft=r=c}while(r!==null);ra=6,Ft=null}function ph(r,s,c,p,x,w,N,$,Z){r.cancelPendingCommit=null;do Rp();while(ei!==0);if((bn&6)!==0)throw Error(o(327));if(s!==null){if(s===r.current)throw Error(o(177));if(w=s.lanes|s.childLanes,w|=Ql,tv(r,c,w,N,$,Z),r===_n&&(Ft=_n=null,Xt=0),Lf=s,vo=r,ti=c,Ep=w,Ap=x,T0=p,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,Mv(Ia,function(){return M0(),null})):(r.callbackNode=null,r.callbackPriority=0),p=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||p){p=F.T,F.T=null,x=ne.p,ne.p=2,N=bn,bn|=4;try{u0(r,s,c)}finally{bn=N,ne.p=x,F.T=p}}ei=1,Cv(),gh(),Dp()}}function Cv(){if(ei===1){ei=0;var r=vo,s=Lf,c=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||c){c=F.T,F.T=null;var p=ne.p;ne.p=2;var x=bn;bn|=4;try{Df(s,r);var w=Pf,N=Ig(r.containerInfo),$=w.focusedElem,Z=w.selectionRange;if(N!==$&&$&&$.ownerDocument&&Ud($.ownerDocument.documentElement,$)){if(Z!==null&&Vd($)){var de=Z.start,De=Z.end;if(De===void 0&&(De=de),"selectionStart"in $)$.selectionStart=de,$.selectionEnd=Math.min(De,$.value.length);else{var Ne=$.ownerDocument||document,ye=Ne&&Ne.defaultView||window;if(ye.getSelection){var he=ye.getSelection(),ft=$.textContent.length,pt=Math.min(Z.start,ft),pn=Z.end===void 0?pt:Math.min(Z.end,ft);!he.extend&&pt>pn&&(N=pn,pn=pt,pt=N);var se=Vn($,pt),ae=Vn($,pn);if(se&&ae&&(he.rangeCount!==1||he.anchorNode!==se.node||he.anchorOffset!==se.offset||he.focusNode!==ae.node||he.focusOffset!==ae.offset)){var ce=Ne.createRange();ce.setStart(se.node,se.offset),he.removeAllRanges(),pt>pn?(he.addRange(ce),he.extend(ae.node,ae.offset)):(ce.setEnd(ae.node,ae.offset),he.addRange(ce))}}}}for(Ne=[],he=$;he=he.parentNode;)he.nodeType===1&&Ne.push({element:he,left:he.scrollLeft,top:he.scrollTop});for(typeof $.focus=="function"&&$.focus(),$=0;$<Ne.length;$++){var _e=Ne[$];_e.element.scrollLeft=_e.left,_e.element.scrollTop=_e.top}}Mh=!!Dr,Pf=Dr=null}finally{bn=x,ne.p=p,F.T=c}}r.current=s,ei=2}}function gh(){if(ei===2){ei=0;var r=vo,s=Lf,c=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||c){c=F.T,F.T=null;var p=ne.p;ne.p=2;var x=bn;bn|=4;try{c0(r,s.alternate,s)}finally{bn=x,ne.p=p,F.T=c}}ei=3}}function Dp(){if(ei===4||ei===3){ei=0,pr();var r=vo,s=Lf,c=ti,p=T0;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?ei=5:(ei=0,Lf=vo=null,Ov(r,r.pendingLanes));var x=r.pendingLanes;if(x===0&&(au=null),gd(c),s=s.stateNode,tt&&typeof tt.onCommitFiberRoot=="function")try{tt.onCommitFiberRoot(Vo,s,void 0,(s.current.flags&128)===128)}catch{}if(p!==null){s=F.T,x=ne.p,ne.p=2,F.T=null;try{for(var w=r.onRecoverableError,N=0;N<p.length;N++){var $=p[N];w($.value,{componentStack:$.stack})}}finally{F.T=s,ne.p=x}}(ti&3)!==0&&Rp(),or(r),x=r.pendingLanes,(c&4194090)!==0&&(x&42)!==0?r===E0?lc++:(lc=0,E0=r):lc=0,bh(0)}}function Ov(r,s){(r.pooledCacheLanes&=s)===0&&(s=r.pooledCache,s!=null&&(r.pooledCache=null,to(s)))}function Rp(r){return Cv(),gh(),Dp(),M0()}function M0(){if(ei!==5)return!1;var r=vo,s=Ep;Ep=0;var c=gd(ti),p=F.T,x=ne.p;try{ne.p=32>c?32:c,F.T=null,c=Ap,Ap=null;var w=vo,N=ti;if(ei=0,Lf=vo=null,ti=0,(bn&6)!==0)throw Error(o(331));var $=bn;if(bn|=4,g0(w.current),m0(w,w.current,N,c),bn=$,bh(0,!1),tt&&typeof tt.onPostCommitFiberRoot=="function")try{tt.onPostCommitFiberRoot(Vo,w)}catch{}return!0}finally{ne.p=x,F.T=p,Ov(r,s)}}function D0(r,s,c){s=ci(c,s),s=rp(r.stateNode,s,2),r=xl(r,s,2),r!==null&&(Os(r,2),or(r))}function Cn(r,s,c){if(r.tag===3)D0(r,r,c);else for(;s!==null;){if(s.tag===3){D0(s,r,c);break}else if(s.tag===1){var p=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&(au===null||!au.has(p))){r=ci(c,r),c=lp(2),p=xl(s,c,2),p!==null&&(ar(c,p,s,r),Os(p,2),or(p));break}}s=s.return}}function _p(r,s,c){var p=r.pingCache;if(p===null){p=r.pingCache=new Tp;var x=new Set;p.set(s,x)}else x=p.get(s),x===void 0&&(x=new Set,p.set(s,x));x.has(c)||(b0=!0,x.add(c),r=R0.bind(null,r,s,c),s.then(r,r))}function R0(r,s,c){var p=r.pingCache;p!==null&&p.delete(s),r.pingedLanes|=r.suspendedLanes&c,r.warmLanes&=~c,_n===r&&(Xt&c)===c&&(ra===4||ra===3&&(Xt&62914560)===Xt&&300>gn()-x0?(bn&2)===0&&bo(r,0):yo|=c,_f===Xt&&(_f=0)),or(r)}function _0(r,s){s===0&&(s=wu()),r=vl(r,s),r!==null&&(Os(r,s),or(r))}function Np(r){var s=r.memoizedState,c=0;s!==null&&(c=s.retryLane),_0(r,c)}function Ob(r,s){var c=0;switch(r.tag){case 13:var p=r.stateNode,x=r.memoizedState;x!==null&&(c=x.retryLane);break;case 19:p=r.stateNode;break;case 22:p=r.stateNode._retryCache;break;default:throw Error(o(314))}p!==null&&p.delete(s),_0(r,c)}function Mv(r,s){return nt(r,s)}var yh=null,So=null,Bf=!1,cc=!1,vh=!1,cs=0;function or(r){r!==So&&r.next===null&&(So===null?yh=So=r:So=So.next=r),cc=!0,Bf||(Bf=!0,zp())}function bh(r,s){if(!vh&&cc){vh=!0;do for(var c=!1,p=yh;p!==null;){if(r!==0){var x=p.pendingLanes;if(x===0)var w=0;else{var N=p.suspendedLanes,$=p.pingedLanes;w=(1<<31-En(42|r)+1)-1,w&=x&~(N&~$),w=w&201326741?w&201326741|1:w?w|2:0}w!==0&&(c=!0,Sh(p,w))}else w=Xt,w=ql(p,p===_n?w:0,p.cancelPendingCommit!==null||p.timeoutHandle!==-1),(w&3)===0||Hr(p,w)||(c=!0,Sh(p,w));p=p.next}while(c);vh=!1}}function Dv(){ru()}function ru(){cc=Bf=!1;var r=0;cs!==0&&(fs()&&(r=cs),cs=0);for(var s=gn(),c=null,p=yh;p!==null;){var x=p.next,w=jf(p,s);w===0?(p.next=null,c===null?yh=x:c.next=x,x===null&&(So=c)):(c=p,(r!==0||(w&3)!==0)&&(cc=!0)),p=x}bh(r)}function jf(r,s){for(var c=r.suspendedLanes,p=r.pingedLanes,x=r.expirationTimes,w=r.pendingLanes&-62914561;0<w;){var N=31-En(w),$=1<<N,Z=x[N];Z===-1?(($&c)===0||($&p)!==0)&&(x[N]=Ua($,s)):Z<=s&&(r.expiredLanes|=$),w&=~$}if(s=_n,c=Xt,c=ql(r,r===s?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),p=r.callbackNode,c===0||r===s&&(xn===2||xn===9)||r.cancelPendingCommit!==null)return p!==null&&p!==null&&Jt(p),r.callbackNode=null,r.callbackPriority=0;if((c&3)===0||Hr(r,c)){if(s=c&-c,s===r.callbackPriority)return s;switch(p!==null&&Jt(p),gd(c)){case 2:case 8:c=Lo;break;case 32:c=Ia;break;case 268435456:c=$r;break;default:c=Ia}return p=Rv.bind(null,r),c=nt(c,p),r.callbackPriority=s,r.callbackNode=c,s}return p!==null&&p!==null&&Jt(p),r.callbackPriority=2,r.callbackNode=null,2}function Rv(r,s){if(ei!==0&&ei!==5)return r.callbackNode=null,r.callbackPriority=0,null;var c=r.callbackNode;if(Rp()&&r.callbackNode!==c)return null;var p=Xt;return p=ql(r,r===_n?p:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),p===0?null:(Uf(r,p,s),jf(r,gn()),r.callbackNode!=null&&r.callbackNode===c?Rv.bind(null,r):null)}function Sh(r,s){if(Rp())return null;Uf(r,s,!0)}function zp(){_b(function(){(bn&6)!==0?nt(hd,Dv):ru()})}function lu(){return cs===0&&(cs=Cs()),cs}function Lp(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:qc(""+r)}function xh(r,s){var c=s.ownerDocument.createElement("input");return c.name=s.name,c.value=s.value,r.id&&c.setAttribute("form",r.id),s.parentNode.insertBefore(c,s),r=new FormData(r),c.parentNode.removeChild(c),r}function _v(r,s,c,p,x){if(s==="submit"&&c&&c.stateNode===x){var w=Lp((x[Ei]||null).action),N=p.submitter;N&&(s=(s=N[Ei]||null)?Lp(s.formAction):N.getAttribute("formAction"),s!==null&&(w=s,N=null));var $=new Tm("action","action",null,p,x);r.push({event:$,listeners:[{instance:null,listener:function(){if(p.defaultPrevented){if(cs!==0){var Z=N?xh(x,N):new FormData(x);xf(c,{pending:!0,data:Z,method:x.method,action:w},null,Z)}}else typeof w=="function"&&($.preventDefault(),Z=N?xh(x,N):new FormData(x),xf(c,{pending:!0,data:Z,method:x.method,action:w},w,Z))},currentTarget:x}]})}}for(var la=0;la<an.length;la++){var Th=an[la],Mb=Th.toLowerCase(),Ut=Th[0].toUpperCase()+Th.slice(1);Zr(Mb,"on"+Ut)}Zr(Rm,"onAnimationEnd"),Zr(Fg,"onAnimationIteration"),Zr(Tr,"onAnimationStart"),Zr("dblclick","onDoubleClick"),Zr("focusin","onFocus"),Zr("focusout","onBlur"),Zr(tf,"onTransitionRun"),Zr(_m,"onTransitionStart"),Zr($u,"onTransitionCancel"),Zr(nf,"onTransitionEnd"),Rs("onMouseEnter",["mouseout","mouseover"]),Rs("onMouseLeave",["mouseout","mouseover"]),Rs("onPointerEnter",["pointerout","pointerover"]),Rs("onPointerLeave",["pointerout","pointerover"]),Ds("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ds("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ds("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ds("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ds("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ds("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Eh="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(" "),ou=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Eh));function fc(r,s){s=(s&4)!==0;for(var c=0;c<r.length;c++){var p=r[c],x=p.event;p=p.listeners;e:{var w=void 0;if(s)for(var N=p.length-1;0<=N;N--){var $=p[N],Z=$.instance,de=$.currentTarget;if($=$.listener,Z!==w&&x.isPropagationStopped())break e;w=$,x.currentTarget=de;try{w(x)}catch(De){Ks(De)}x.currentTarget=null,w=Z}else for(N=0;N<p.length;N++){if($=p[N],Z=$.instance,de=$.currentTarget,$=$.listener,Z!==w&&x.isPropagationStopped())break e;w=$,x.currentTarget=de;try{w(x)}catch(De){Ks(De)}x.currentTarget=null,w=Z}}}}function Nt(r,s){var c=s[mm];c===void 0&&(c=s[mm]=new Set);var p=r+"__bubble";c.has(p)||(Up(s,r,2,!1),c.add(p))}function $f(r,s,c){var p=0;s&&(p|=4),Up(c,r,p,s)}var vi="_reactListening"+Math.random().toString(36).slice(2);function N0(r){if(!r[vi]){r[vi]=!0,vd.forEach(function(c){c!=="selectionchange"&&(ou.has(c)||$f(c,!1,r),$f(c,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[vi]||(s[vi]=!0,$f("selectionchange",!1,s))}}function Up(r,s,c,p){switch(Y0(s)){case 2:var x=Hv;break;case 8:x=mc;break;default:x=P0}c=x.bind(null,s,c,r),x=void 0,!Xc||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(x=!0),p?x!==void 0?r.addEventListener(s,c,{capture:!0,passive:x}):r.addEventListener(s,c,!0):x!==void 0?r.addEventListener(s,c,{passive:x}):r.addEventListener(s,c,!1)}function Ha(r,s,c,p,x){var w=p;if((s&1)===0&&(s&2)===0&&p!==null)e:for(;;){if(p===null)return;var N=p.tag;if(N===3||N===4){var $=p.stateNode.containerInfo;if($===x)break;if(N===4)for(N=p.return;N!==null;){var Z=N.tag;if((Z===3||Z===4)&&N.stateNode.containerInfo===x)return;N=N.return}for(;$!==null;){if(N=Fa($),N===null)return;if(Z=N.tag,Z===5||Z===6||Z===26||Z===27){p=w=N;continue e}$=$.parentNode}}p=p.return}Fc(function(){var de=w,De=Sm(c),Ne=[];e:{var ye=af.get(r);if(ye!==void 0){var he=Tm,ft=r;switch(r){case"keypress":if(Lt(c)===0)break e;case"keydown":case"keyup":he=Sr;break;case"focusin":ft="focus",he=Cm;break;case"focusout":ft="blur",he=Cm;break;case"beforeblur":case"afterblur":he=Cm;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":he=qo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":he=wm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":he=jg;break;case Rm:case Fg:case Tr:he=cv;break;case nf:he=hv;break;case"scroll":case"scrollend":he=sv;break;case"wheel":he=Uu;break;case"copy":case"cut":case"paste":he=Kc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":he=Yr;break;case"toggle":case"beforetoggle":he=Md}var pt=(s&4)!==0,pn=!pt&&(r==="scroll"||r==="scrollend"),se=pt?ye!==null?ye+"Capture":null:ye;pt=[];for(var ae=de,ce;ae!==null;){var _e=ae;if(ce=_e.stateNode,_e=_e.tag,_e!==5&&_e!==26&&_e!==27||ce===null||se===null||(_e=zu(ae,se),_e!=null&&pt.push(bt(ae,_e,ce))),pn)break;ae=ae.return}0<pt.length&&(ye=new he(ye,ft,null,c,De),Ne.push({event:ye,listeners:pt}))}}if((s&7)===0){e:{if(ye=r==="mouseover"||r==="pointerover",he=r==="mouseout"||r==="pointerout",ye&&c!==Us&&(ft=c.relatedTarget||c.fromElement)&&(Fa(ft)||ft[Ms]))break e;if((he||ye)&&(ye=De.window===De?De:(ye=De.ownerDocument)?ye.defaultView||ye.parentWindow:window,he?(ft=c.relatedTarget||c.toElement,he=de,ft=ft?Fa(ft):null,ft!==null&&(pn=h(ft),pt=ft.tag,ft!==pn||pt!==5&&pt!==27&&pt!==6)&&(ft=null)):(he=null,ft=de),he!==ft)){if(pt=qo,_e="onMouseLeave",se="onMouseEnter",ae="mouse",(r==="pointerout"||r==="pointerover")&&(pt=Yr,_e="onPointerLeave",se="onPointerEnter",ae="pointer"),pn=he==null?ye:Hc(he),ce=ft==null?ye:Hc(ft),ye=new pt(_e,ae+"leave",he,c,De),ye.target=pn,ye.relatedTarget=ce,_e=null,Fa(De)===de&&(pt=new pt(se,ae+"enter",ft,c,De),pt.target=ce,pt.relatedTarget=pn,_e=pt),pn=_e,he&&ft)t:{for(pt=he,se=ft,ae=0,ce=pt;ce;ce=da(ce))ae++;for(ce=0,_e=se;_e;_e=da(_e))ce++;for(;0<ae-ce;)pt=da(pt),ae--;for(;0<ce-ae;)se=da(se),ce--;for(;ae--;){if(pt===se||se!==null&&pt===se.alternate)break t;pt=da(pt),se=da(se)}pt=null}else pt=null;he!==null&&qn(Ne,ye,he,pt,!1),ft!==null&&pn!==null&&qn(Ne,pn,ft,pt,!0)}}e:{if(ye=de?Hc(de):window,he=ye.nodeName&&ye.nodeName.toLowerCase(),he==="select"||he==="input"&&ye.type==="file")var Je=Pg;else if(Jc(ye))if(kg)Je=qg;else{Je=Oi;var Pt=Ld}else he=ye.nodeName,!he||he.toLowerCase()!=="input"||ye.type!=="checkbox"&&ye.type!=="radio"?de&&Nu(de.elementType)&&(Je=Pg):Je=Xr;if(Je&&(Je=Je(r,de))){js(Ne,Je,c,De);break e}Pt&&Pt(r,ye,de),r==="focusout"&&de&&ye.type==="number"&&de.memoizedProps.value!=null&&Du(ye,"number",ye.value)}switch(Pt=de?Hc(de):window,r){case"focusin":(Jc(Pt)||Pt.contentEditable==="true")&&(Kl=Pt,ui=de,re=null);break;case"focusout":re=ui=Kl=null;break;case"mousedown":we=!0;break;case"contextmenu":case"mouseup":case"dragend":we=!1,Se(Ne,c,De);break;case"selectionchange":if(ju)break;case"keydown":case"keyup":Se(Ne,c,De)}var ct;if(Dd)e:{switch(r){case"compositionstart":var xt="onCompositionStart";break e;case"compositionend":xt="onCompositionEnd";break e;case"compositionupdate":xt="onCompositionUpdate";break e}xt=void 0}else Xl?Nd(r,c)&&(xt="onCompositionEnd"):r==="keydown"&&c.keyCode===229&&(xt="onCompositionStart");xt&&(qr&&c.locale!=="ko"&&(Xl||xt!=="onCompositionStart"?xt==="onCompositionEnd"&&Xl&&(ct=zg()):(ko=De,Zc="value"in ko?ko.value:ko.textContent,Xl=!0)),Pt=Hf(de,xt),0<Pt.length&&(xt=new Ci(xt,r,null,c,De),Ne.push({event:xt,listeners:Pt}),ct?xt.data=ct:(ct=Fl(c),ct!==null&&(xt.data=ct)))),(ct=Dm?$g(r,c):Bs(r,c))&&(xt=Hf(de,"onBeforeInput"),0<xt.length&&(Pt=new Ci("onBeforeInput","beforeinput",null,c,De),Ne.push({event:Pt,listeners:xt}),Pt.data=ct)),_v(Ne,r,de,c,De)}fc(Ne,s)})}function bt(r,s,c){return{instance:r,listener:s,currentTarget:c}}function Hf(r,s){for(var c=s+"Capture",p=[];r!==null;){var x=r,w=x.stateNode;if(x=x.tag,x!==5&&x!==26&&x!==27||w===null||(x=zu(r,c),x!=null&&p.unshift(bt(r,x,w)),x=zu(r,s),x!=null&&p.push(bt(r,x,w))),r.tag===3)return p;r=r.return}return[]}function da(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function qn(r,s,c,p,x){for(var w=s._reactName,N=[];c!==null&&c!==p;){var $=c,Z=$.alternate,de=$.stateNode;if($=$.tag,Z!==null&&Z===p)break;$!==5&&$!==26&&$!==27||de===null||(Z=de,x?(de=zu(c,w),de!=null&&N.unshift(bt(c,de,Z))):x||(de=zu(c,w),de!=null&&N.push(bt(c,de,Z)))),c=c.return}N.length!==0&&r.push({event:s,listeners:N})}var Mr=/\r\n?/g,xo=/\u0000|\uFFFD/g;function Nv(r){return(typeof r=="string"?r:""+r).replace(Mr,`
|
|
789
|
+
`+c.stack}}function Xa(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function kc(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Td(r){var s=kc(r)?"checked":"value",c=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),p=""+r[s];if(!r.hasOwnProperty(s)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var x=c.get,w=c.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return x.call(this)},set:function(N){p=""+N,w.call(this,N)}}),Object.defineProperty(r,s,{enumerable:c.enumerable}),{getValue:function(){return p},setValue:function(N){p=""+N},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function Ns(r){r._valueTracker||(r._valueTracker=Td(r))}function zs(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var c=s.getValue(),p="";return r&&(p=kc(r)?r.checked?"true":"false":r.value),r=p,r!==c?(s.setValue(r),!0):!1}function Ho(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var lv=/[\n"\\]/g;function Pr(r){return r.replace(lv,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Ed(r,s,c,p,x,w,N,$){r.name="",N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?r.type=N:r.removeAttribute("type"),s!=null?N==="number"?(s===0&&r.value===""||r.value!=s)&&(r.value=""+Xa(s)):r.value!==""+Xa(s)&&(r.value=""+Xa(s)):N!=="submit"&&N!=="reset"||r.removeAttribute("value"),s!=null?Du(r,N,Xa(s)):c!=null?Du(r,N,Xa(c)):p!=null&&r.removeAttribute("value"),x==null&&w!=null&&(r.defaultChecked=!!w),x!=null&&(r.checked=x&&typeof x!="function"&&typeof x!="symbol"),$!=null&&typeof $!="function"&&typeof $!="symbol"&&typeof $!="boolean"?r.name=""+Xa($):r.removeAttribute("name")}function Ad(r,s,c,p,x,w,N,$){if(w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(r.type=w),s!=null||c!=null){if(!(w!=="submit"&&w!=="reset"||s!=null))return;c=c!=null?""+Xa(c):"",s=s!=null?""+Xa(s):c,$||s===r.value||(r.value=s),r.defaultValue=s}p=p??x,p=typeof p!="function"&&typeof p!="symbol"&&!!p,r.checked=$?r.checked:!!p,r.defaultChecked=!!p,N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"&&(r.name=N)}function Du(r,s,c){s==="number"&&Ho(r.ownerDocument)===r||r.defaultValue===""+c||(r.defaultValue=""+c)}function Ru(r,s,c,p){if(r=r.options,s){s={};for(var x=0;x<c.length;x++)s["$"+c[x]]=!0;for(c=0;c<r.length;c++)x=s.hasOwnProperty("$"+r[c].value),r[c].selected!==x&&(r[c].selected=x),x&&p&&(r[c].defaultSelected=!0)}else{for(c=""+Xa(c),s=null,x=0;x<r.length;x++){if(r[x].value===c){r[x].selected=!0,p&&(r[x].defaultSelected=!0);return}s!==null||r[x].disabled||(s=r[x])}s!==null&&(s.selected=!0)}}function bm(r,s,c){if(s!=null&&(s=""+Xa(s),s!==r.value&&(r.value=s),c==null)){r.defaultValue!==s&&(r.defaultValue=s);return}r.defaultValue=c!=null?""+Xa(c):""}function wd(r,s,c,p){if(s==null){if(p!=null){if(c!=null)throw Error(o(92));if(qe(p)){if(1<p.length)throw Error(o(93));p=p[0]}c=p}c==null&&(c=""),s=c}c=Xa(s),r.defaultValue=c,p=r.textContent,p===c&&p!==""&&p!==null&&(r.value=p)}function Ls(r,s){if(s){var c=r.firstChild;if(c&&c===r.lastChild&&c.nodeType===3){c.nodeValue=s;return}}r.textContent=s}var _u=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Cd(r,s,c){var p=s.indexOf("--")===0;c==null||typeof c=="boolean"||c===""?p?r.setProperty(s,""):s==="float"?r.cssFloat="":r[s]="":p?r.setProperty(s,c):typeof c!="number"||c===0||_u.has(s)?s==="float"?r.cssFloat=c:r[s]=(""+c).trim():r[s]=c+"px"}function Yc(r,s,c){if(s!=null&&typeof s!="object")throw Error(o(62));if(r=r.style,c!=null){for(var p in c)!c.hasOwnProperty(p)||s!=null&&s.hasOwnProperty(p)||(p.indexOf("--")===0?r.setProperty(p,""):p==="float"?r.cssFloat="":r[p]="");for(var x in s)p=s[x],s.hasOwnProperty(x)&&c[x]!==p&&Cd(r,x,p)}else for(var w in s)s.hasOwnProperty(w)&&Cd(r,w,s[w])}function Nu(r){if(r.indexOf("-")===-1)return!1;switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ov=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Rg=/^[\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;function qc(r){return Rg.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}var Us=null;function Sm(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Gc=null,Ic=null;function _g(r){var s=Cu(r);if(s&&(r=s.stateNode)){var c=r[Ei]||null;e:switch(r=s.stateNode,s.type){case"input":if(Ed(r,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name),s=c.name,c.type==="radio"&&s!=null){for(c=r;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll('input[name="'+Pr(""+s)+'"][type="radio"]'),s=0;s<c.length;s++){var p=c[s];if(p!==r&&p.form===r.form){var x=p[Ei]||null;if(!x)throw Error(o(90));Ed(p,x.value,x.defaultValue,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name)}}for(s=0;s<c.length;s++)p=c[s],p.form===r.form&&zs(p)}break e;case"textarea":bm(r,c.value,c.defaultValue);break e;case"select":s=c.value,s!=null&&Ru(r,!!c.multiple,s,!1)}}}var Ng=!1;function Fc(r,s,c){if(Ng)return r(s,c);Ng=!0;try{var p=r(s);return p}finally{if(Ng=!1,(Gc!==null||Ic!==null)&&(oc(),Gc&&(s=Gc,r=Ic,Ic=Gc=null,_g(s),r)))for(s=0;s<r.length;s++)_g(r[s])}}function zu(r,s){var c=r.stateNode;if(c===null)return null;var p=c[Ei]||null;if(p===null)return null;c=p[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(p=!p.disabled)||(r=r.type,p=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!p;break e;default:r=!1}if(r)return null;if(c&&typeof c!="function")throw Error(o(231,s,typeof c));return c}var Gl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xc=!1;if(Gl)try{var Po={};Object.defineProperty(Po,"passive",{get:function(){Xc=!0}}),window.addEventListener("test",Po,Po),window.removeEventListener("test",Po,Po)}catch{Xc=!1}var ko=null,Zc=null,Lu=null;function zg(){if(Lu)return Lu;var r,s=Zc,c=s.length,p,x="value"in ko?ko.value:ko.textContent,w=x.length;for(r=0;r<c&&s[r]===x[r];r++);var N=c-r;for(p=1;p<=N&&s[c-p]===x[w-p];p++);return Lu=x.slice(r,1<p?1-p:void 0)}function Lt(r){var s=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&s===13&&(r=13)):r=s,r===10&&(r=13),32<=r||r===13?r:0}function An(){return!0}function xm(){return!1}function wi(r){function s(c,p,x,w,N){this._reactName=c,this._targetInst=x,this.type=p,this.nativeEvent=w,this.target=N,this.currentTarget=null;for(var $ in r)r.hasOwnProperty($)&&(c=r[$],this[$]=c?c(w):w[$]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?An:xm,this.isPropagationStopped=xm,this}return A(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=An)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=An)},persist:function(){},isPersistent:An}),s}var Vs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tm=wi(Vs),Od=A({},Vs,{view:0,detail:0}),sv=wi(Od),Em,Am,fa,Yo=A({},Od,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:oi,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==fa&&(fa&&r.type==="mousemove"?(Em=r.screenX-fa.screenX,Am=r.screenY-fa.screenY):Am=Em=0,fa=r),Em)},movementY:function(r){return"movementY"in r?r.movementY:Am}}),qo=wi(Yo),Lg=A({},Yo,{dataTransfer:0}),wm=wi(Lg),kr=A({},Od,{relatedTarget:0}),Cm=wi(kr),uv=A({},Vs,{animationName:0,elapsedTime:0,pseudoElement:0}),cv=wi(uv),fv=A({},Vs,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Kc=wi(fv),Ug=A({},Vs,{data:0}),Ci=wi(Ug),dv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},br={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"},Vg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Bg(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=Vg[r])?!!s[r]:!1}function oi(){return Bg}var Il=A({},Od,{key:function(r){if(r.key){var s=dv[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=Lt(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?br[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:oi,charCode:function(r){return r.type==="keypress"?Lt(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Lt(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),Sr=wi(Il),Qt=A({},Yo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yr=wi(Qt),Qc=A({},Od,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:oi}),jg=wi(Qc),si=A({},Vs,{propertyName:0,elapsedTime:0,pseudoElement:0}),hv=wi(si),Om=A({},Yo,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),Uu=wi(Om),Mm=A({},Vs,{newState:0,oldState:0}),Md=wi(Mm),Vu=[9,13,27,32],Dd=Gl&&"CompositionEvent"in window,Wc=null;Gl&&"documentMode"in document&&(Wc=document.documentMode);var Dm=Gl&&"TextEvent"in window&&!Wc,qr=Gl&&(!Dd||Wc&&8<Wc&&11>=Wc),Rd=" ",_d=!1;function Nd(r,s){switch(r){case"keyup":return Vu.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fl(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Xl=!1;function $g(r,s){switch(r){case"compositionend":return Fl(s);case"keypress":return s.which!==32?null:(_d=!0,Rd);case"textInput":return r=s.data,r===Rd&&_d?null:r;default:return null}}function Bs(r,s){if(Xl)return r==="compositionend"||!Dd&&Nd(r,s)?(r=zg(),Lu=Zc=ko=null,Xl=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return qr&&s.locale!=="ko"?null:s.data;default:return null}}var Gi={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 Jc(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!Gi[r.type]:s==="textarea"}function js(r,s,c,p){Gc?Ic?Ic.push(p):Ic=[p]:Gc=p,s=Hf(s,"onChange"),0<s.length&&(c=new Tm("onChange","change",null,c,p),r.push({event:c,listeners:s}))}var Gr=null,Ir=null;function Hg(r){fc(r,0)}function Zl(r){var s=Hc(r);if(zs(s))return r}function Pg(r,s){if(r==="change")return s}var kg=!1;if(Gl){var Bu;if(Gl){var Fr="oninput"in document;if(!Fr){var Yg=document.createElement("div");Yg.setAttribute("oninput","return;"),Fr=typeof Yg.oninput=="function"}Bu=Fr}else Bu=!1;kg=Bu&&(!document.documentMode||9<document.documentMode)}function ef(){Gr&&(Gr.detachEvent("onpropertychange",zd),Ir=Gr=null)}function zd(r){if(r.propertyName==="value"&&Zl(Ir)){var s=[];js(s,Ir,r,Sm(r)),Fc(Hg,s)}}function Ld(r,s,c){r==="focusin"?(ef(),Gr=s,Ir=c,Gr.attachEvent("onpropertychange",zd)):r==="focusout"&&ef()}function Oi(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Zl(Ir)}function Xr(r,s){if(r==="click")return Zl(s)}function qg(r,s){if(r==="input"||r==="change")return Zl(s)}function Gg(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var Za=typeof Object.is=="function"?Object.is:Gg;function xr(r,s){if(Za(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var c=Object.keys(r),p=Object.keys(s);if(c.length!==p.length)return!1;for(p=0;p<c.length;p++){var x=c[p];if(!Ge.call(s,x)||!Za(r[x],s[x]))return!1}return!0}function Va(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Vn(r,s){var c=Va(r);r=0;for(var p;c;){if(c.nodeType===3){if(p=r+c.textContent.length,r<=s&&p>=s)return{node:c,offset:s-r};r=p}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=Va(c)}}function Ud(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?Ud(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function Ig(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var s=Ho(r.document);s instanceof r.HTMLIFrameElement;){try{var c=typeof s.contentWindow.location.href=="string"}catch{c=!1}if(c)r=s.contentWindow;else break;s=Ho(r.document)}return s}function Vd(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}var ju=Gl&&"documentMode"in document&&11>=document.documentMode,Kl=null,ui=null,re=null,we=!1;function Se(r,s,c){var p=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;we||Kl==null||Kl!==Ho(p)||(p=Kl,"selectionStart"in p&&Vd(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),re&&xr(re,p)||(re=p,p=Hf(ui,"onSelect"),0<p.length&&(s=new Tm("onSelect","select",null,s,c),r.push({event:s,listeners:p}),s.target=Kl)))}function Ze(r,s){var c={};return c[r.toLowerCase()]=s.toLowerCase(),c["Webkit"+r]="webkit"+s,c["Moz"+r]="moz"+s,c}var St={animationend:Ze("Animation","AnimationEnd"),animationiteration:Ze("Animation","AnimationIteration"),animationstart:Ze("Animation","AnimationStart"),transitionrun:Ze("Transition","TransitionRun"),transitionstart:Ze("Transition","TransitionStart"),transitioncancel:Ze("Transition","TransitionCancel"),transitionend:Ze("Transition","TransitionEnd")},Mt={},wn={};Gl&&(wn=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);function Wt(r){if(Mt[r])return Mt[r];if(!St[r])return r;var s=St[r],c;for(c in s)if(s.hasOwnProperty(c)&&c in wn)return Mt[r]=s[c];return r}var Rm=Wt("animationend"),Fg=Wt("animationiteration"),Tr=Wt("animationstart"),tf=Wt("transitionrun"),_m=Wt("transitionstart"),$u=Wt("transitioncancel"),nf=Wt("transitionend"),af=new Map,an="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");an.push("scrollEnd");function Zr(r,s){af.set(r,s),Ds(s,[r])}var Nm=new WeakMap;function ci(r,s){if(typeof r=="object"&&r!==null){var c=Nm.get(r);return c!==void 0?c:(s={value:r,source:s,stack:vm(s)},Nm.set(r,s),s)}return{value:r,source:s,stack:vm(s)}}var Ii=[],$s=0,Ql=0;function Fi(){for(var r=$s,s=Ql=$s=0;s<r;){var c=Ii[s];Ii[s++]=null;var p=Ii[s];Ii[s++]=null;var x=Ii[s];Ii[s++]=null;var w=Ii[s];if(Ii[s++]=null,p!==null&&x!==null){var N=p.pending;N===null?x.next=x:(x.next=N.next,N.next=x),p.pending=x}w!==0&&Io(c,x,w)}}function Mi(r,s,c,p){Ii[$s++]=r,Ii[$s++]=s,Ii[$s++]=c,Ii[$s++]=p,Ql|=p,r.lanes|=p,r=r.alternate,r!==null&&(r.lanes|=p)}function Go(r,s,c,p){return Mi(r,s,c,p),rf(r)}function vl(r,s){return Mi(r,null,null,s),rf(r)}function Io(r,s,c){r.lanes|=c;var p=r.alternate;p!==null&&(p.lanes|=c);for(var x=!1,w=r.return;w!==null;)w.childLanes|=c,p=w.alternate,p!==null&&(p.childLanes|=c),w.tag===22&&(r=w.stateNode,r===null||r._visibility&1||(x=!0)),r=w,w=w.return;return r.tag===3?(w=r.stateNode,x&&s!==null&&(x=31-En(c),r=w.hiddenUpdates,p=r[x],p===null?r[x]=[s]:p.push(s),s.lane=c|536870912),w):null}function rf(r){if(50<lc)throw lc=0,E0=null,Error(o(185));for(var s=r.return;s!==null;)r=s,s=r.return;return r.tag===3?r.stateNode:null}var Hu={};function Bd(r,s,c,p){this.tag=r,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=p,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Di(r,s,c,p){return new Bd(r,s,c,p)}function Fo(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Ka(r,s){var c=r.alternate;return c===null?(c=Di(r.tag,s,r.key,r.mode),c.elementType=r.elementType,c.type=r.type,c.stateNode=r.stateNode,c.alternate=r,r.alternate=c):(c.pendingProps=s,c.type=r.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=r.flags&65011712,c.childLanes=r.childLanes,c.lanes=r.lanes,c.child=r.child,c.memoizedProps=r.memoizedProps,c.memoizedState=r.memoizedState,c.updateQueue=r.updateQueue,s=r.dependencies,c.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},c.sibling=r.sibling,c.index=r.index,c.ref=r.ref,c.refCleanup=r.refCleanup,c}function Dt(r,s){r.flags&=65011714;var c=r.alternate;return c===null?(r.childLanes=0,r.lanes=s,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=c.childLanes,r.lanes=c.lanes,r.child=c.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=c.memoizedProps,r.memoizedState=c.memoizedState,r.updateQueue=c.updateQueue,r.type=c.type,s=c.dependencies,r.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),r}function $e(r,s,c,p,x,w){var N=0;if(p=r,typeof r=="function")Fo(r)&&(N=1);else if(typeof r=="string")N=Bv(r,c,Ye.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case ve:return r=Di(31,c,s,x),r.elementType=ve,r.lanes=w,r;case B:return Kr(c.children,x,w,s);case L:N=8,x|=24;break;case P:return r=Di(12,c,s,x|2),r.elementType=P,r.lanes=w,r;case Y:return r=Di(13,c,s,x),r.elementType=Y,r.lanes=w,r;case le:return r=Di(19,c,s,x),r.elementType=le,r.lanes=w,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case U:case q:N=10;break e;case G:N=9;break e;case J:N=11;break e;case me:N=14;break e;case pe:N=16,p=null;break e}N=29,c=Error(o(130,r===null?"null":typeof r,"")),p=null}return s=Di(N,c,s,x),s.elementType=r,s.type=p,s.lanes=w,s}function Kr(r,s,c,p){return r=Di(7,r,p,s),r.lanes=c,r}function lf(r,s,c){return r=Di(6,r,null,s),r.lanes=c,r}function Bn(r,s,c){return s=Di(4,r.children!==null?r.children:[],r.key,s),s.lanes=c,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}var bl=[],Wl=0,jd=null,Pu=0,Qr=[],Xi=0,Mn=null,jn=1,ta="";function en(r,s){bl[Wl++]=Pu,bl[Wl++]=jd,jd=r,Pu=s}function $d(r,s,c){Qr[Xi++]=jn,Qr[Xi++]=ta,Qr[Xi++]=Mn,Mn=r;var p=jn;r=ta;var x=32-En(p)-1;p&=~(1<<x),c+=1;var w=32-En(s)+x;if(30<w){var N=x-x%5;w=(p&(1<<N)-1).toString(32),p>>=N,x-=N,jn=1<<32-En(s)+x|c<<x|p,ta=w+r}else jn=1<<w|c<<x|p,ta=r}function ku(r){r.return!==null&&(en(r,1),$d(r,1,0))}function Wr(r){for(;r===jd;)jd=bl[--Wl],bl[Wl]=null,Pu=bl[--Wl],bl[Wl]=null;for(;r===Mn;)Mn=Qr[--Xi],Qr[Xi]=null,ta=Qr[--Xi],Qr[Xi]=null,jn=Qr[--Xi],Qr[Xi]=null}var kn=null,rn=null,Yt=!1,fi=null,di=!1,Jl=Error(o(519));function Zi(r){var s=Error(o(418,""));throw Xo(ci(s,r)),Jl}function Hd(r){var s=r.stateNode,c=r.type,p=r.memoizedProps;switch(s[pa]=r,s[Ei]=p,c){case"dialog":Nt("cancel",s),Nt("close",s);break;case"iframe":case"object":case"embed":Nt("load",s);break;case"video":case"audio":for(c=0;c<Eh.length;c++)Nt(Eh[c],s);break;case"source":Nt("error",s);break;case"img":case"image":case"link":Nt("error",s),Nt("load",s);break;case"details":Nt("toggle",s);break;case"input":Nt("invalid",s),Ad(s,p.value,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name,!0),Ns(s);break;case"select":Nt("invalid",s);break;case"textarea":Nt("invalid",s),wd(s,p.value,p.defaultValue,p.children),Ns(s)}c=p.children,typeof c!="string"&&typeof c!="number"&&typeof c!="bigint"||s.textContent===""+c||p.suppressHydrationWarning===!0||z0(s.textContent,c)?(p.popover!=null&&(Nt("beforetoggle",s),Nt("toggle",s)),p.onScroll!=null&&Nt("scroll",s),p.onScrollEnd!=null&&Nt("scrollend",s),p.onClick!=null&&(s.onclick=Vp),s=!0):s=!1,s||Zi(r)}function Xg(r){for(kn=r.return;kn;)switch(kn.tag){case 5:case 13:di=!1;return;case 27:case 3:di=!0;return;default:kn=kn.return}}function of(r){if(r!==kn)return!1;if(!Yt)return Xg(r),Yt=!0,!1;var s=r.tag,c;if((c=s!==3&&s!==27)&&((c=s===5)&&(c=r.type,c=!(c!=="form"&&c!=="button")||Rl(r.type,r.memoizedProps)),c=!c),c&&rn&&Zi(r),Xg(r),s===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));e:{for(r=r.nextSibling,s=0;r;){if(r.nodeType===8)if(c=r.data,c==="/$"){if(s===0){rn=Nl(r.nextSibling);break e}s--}else c!=="$"&&c!=="$!"&&c!=="$?"||s++;r=r.nextSibling}rn=null}}else s===27?(s=rn,sl(r.type)?(r=su,su=null,rn=r):rn=s):rn=kn?Nl(r.stateNode.nextSibling):null;return!0}function sf(){rn=kn=null,Yt=!1}function Zg(){var r=fi;return r!==null&&(lr===null?lr=r:lr.push.apply(lr,r),fi=null),r}function Xo(r){fi===null?fi=[r]:fi.push(r)}var Zo=fe(null),eo=null,j=null;function Ki(r,s,c){je(Zo,s._currentValue),s._currentValue=c}function Er(r){r._currentValue=Zo.current,Ae(Zo)}function Ri(r,s,c){for(;r!==null;){var p=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,p!==null&&(p.childLanes|=s)):p!==null&&(p.childLanes&s)!==s&&(p.childLanes|=s),r===c)break;r=r.return}}function qt(r,s,c,p){var x=r.child;for(x!==null&&(x.return=r);x!==null;){var w=x.dependencies;if(w!==null){var N=x.child;w=w.firstContext;e:for(;w!==null;){var $=w;w=x;for(var Z=0;Z<s.length;Z++)if($.context===s[Z]){w.lanes|=c,$=w.alternate,$!==null&&($.lanes|=c),Ri(w.return,c,r),p||(N=null);break e}w=$.next}}else if(x.tag===18){if(N=x.return,N===null)throw Error(o(341));N.lanes|=c,w=N.alternate,w!==null&&(w.lanes|=c),Ri(N,c,r),N=null}else N=x.child;if(N!==null)N.return=x;else for(N=x;N!==null;){if(N===r){N=null;break}if(x=N.sibling,x!==null){x.return=N.return,N=x;break}N=N.return}x=N}}function uf(r,s,c,p){r=null;for(var x=s,w=!1;x!==null;){if(!w){if((x.flags&524288)!==0)w=!0;else if((x.flags&262144)!==0)break}if(x.tag===10){var N=x.alternate;if(N===null)throw Error(o(387));if(N=N.memoizedProps,N!==null){var $=x.type;Za(x.pendingProps.value,N.value)||(r!==null?r.push($):r=[$])}}else if(x===et.current){if(N=x.alternate,N===null)throw Error(o(387));N.memoizedState.memoizedState!==x.memoizedState.memoizedState&&(r!==null?r.push($i):r=[$i])}x=x.return}r!==null&&qt(s,r,c,p),s.flags|=262144}function Pd(r){for(r=r.firstContext;r!==null;){if(!Za(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Hs(r){eo=r,j=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Gn(r){return Kg(eo,r)}function kd(r,s){return eo===null&&Hs(r),Kg(r,s)}function Kg(r,s){var c=s._currentValue;if(s={context:s,memoizedValue:c,next:null},j===null){if(r===null)throw Error(o(308));j=s,r.dependencies={lanes:0,firstContext:s},r.flags|=524288}else j=j.next=s;return c}var cf=typeof AbortController<"u"?AbortController:function(){var r=[],s=this.signal={aborted:!1,addEventListener:function(c,p){r.push(p)}};this.abort=function(){s.aborted=!0,r.forEach(function(c){return c()})}},zm=t.unstable_scheduleCallback,mv=t.unstable_NormalPriority,Dn={$$typeof:q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ff(){return{controller:new cf,data:new Map,refCount:0}}function to(r){r.refCount--,r.refCount===0&&zm(mv,function(){r.controller.abort()})}var Ps=null,Yd=0,Jr=0,Rn=null;function Lm(r,s){if(Ps===null){var c=Ps=[];Yd=0,Jr=lu(),Rn={status:"pending",value:void 0,then:function(p){c.push(p)}}}return Yd++,s.then(Um,Um),s}function Um(){if(--Yd===0&&Ps!==null){Rn!==null&&(Rn.status="fulfilled");var r=Ps;Ps=null,Jr=0,Rn=null;for(var s=0;s<r.length;s++)(0,r[s])()}}function pv(r,s){var c=[],p={status:"pending",value:null,reason:null,then:function(x){c.push(x)}};return r.then(function(){p.status="fulfilled",p.value=s;for(var x=0;x<c.length;x++)(0,c[x])(s)},function(x){for(p.status="rejected",p.reason=x,x=0;x<c.length;x++)(0,c[x])(void 0)}),p}var Vm=F.S;F.S=function(r,s){typeof s=="object"&&s!==null&&typeof s.then=="function"&&Lm(r,s),Vm!==null&&Vm(r,s)};var no=fe(null);function Sl(){var r=no.current;return r!==null?r:_n.pooledCache}function Yu(r,s){s===null?je(no,no.current):je(no,s.pool)}function Bm(){var r=Sl();return r===null?null:{parent:Dn._currentValue,pool:r}}var Ba=Error(o(460)),jm=Error(o(474)),qd=Error(o(542)),$m={then:function(){}};function Hm(r){return r=r.status,r==="fulfilled"||r==="rejected"}function Gd(){}function Pm(r,s,c){switch(c=r[c],c===void 0?r.push(s):c!==s&&(s.then(Gd,Gd),s=c),s.status){case"fulfilled":return s.value;case"rejected":throw r=s.reason,Wg(r),r;default:if(typeof s.status=="string")s.then(Gd,Gd);else{if(r=_n,r!==null&&100<r.shellSuspendCounter)throw Error(o(482));r=s,r.status="pending",r.then(function(p){if(s.status==="pending"){var x=s;x.status="fulfilled",x.value=p}},function(p){if(s.status==="pending"){var x=s;x.status="rejected",x.reason=p}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw r=s.reason,Wg(r),r}throw ks=s,Ba}}var ks=null;function Qg(){if(ks===null)throw Error(o(459));var r=ks;return ks=null,r}function Wg(r){if(r===Ba||r===qd)throw Error(o(483))}var el=!1;function Ys(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qu(r,s){r=r.updateQueue,s.updateQueue===r&&(s.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Qi(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function xl(r,s,c){var p=r.updateQueue;if(p===null)return null;if(p=p.shared,(bn&2)!==0){var x=p.pending;return x===null?s.next=s:(s.next=x.next,x.next=s),p.pending=s,s=rf(r),Io(r,null,c),s}return Mi(r,p,s,c),rf(r)}function Gu(r,s,c){if(s=s.updateQueue,s!==null&&(s=s.shared,(c&4194048)!==0)){var p=s.lanes;p&=r.pendingLanes,c|=p,s.lanes=c,pd(r,c)}}function Tl(r,s){var c=r.updateQueue,p=r.alternate;if(p!==null&&(p=p.updateQueue,c===p)){var x=null,w=null;if(c=c.firstBaseUpdate,c!==null){do{var N={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};w===null?x=w=N:w=w.next=N,c=c.next}while(c!==null);w===null?x=w=s:w=w.next=s}else x=w=s;c={baseState:p.baseState,firstBaseUpdate:x,lastBaseUpdate:w,shared:p.shared,callbacks:p.callbacks},r.updateQueue=c;return}r=c.lastBaseUpdate,r===null?c.firstBaseUpdate=s:r.next=s,c.lastBaseUpdate=s}var Id=!1;function tl(){if(Id){var r=Rn;if(r!==null)throw r}}function ga(r,s,c,p){Id=!1;var x=r.updateQueue;el=!1;var w=x.firstBaseUpdate,N=x.lastBaseUpdate,$=x.shared.pending;if($!==null){x.shared.pending=null;var Z=$,de=Z.next;Z.next=null,N===null?w=de:N.next=de,N=Z;var De=r.alternate;De!==null&&(De=De.updateQueue,$=De.lastBaseUpdate,$!==N&&($===null?De.firstBaseUpdate=de:$.next=de,De.lastBaseUpdate=Z))}if(w!==null){var Ne=x.baseState;N=0,De=de=Z=null,$=w;do{var ye=$.lane&-536870913,he=ye!==$.lane;if(he?(Xt&ye)===ye:(p&ye)===ye){ye!==0&&ye===Jr&&(Id=!0),De!==null&&(De=De.next={lane:0,tag:$.tag,payload:$.payload,callback:null,next:null});e:{var ft=r,pt=$;ye=s;var pn=c;switch(pt.tag){case 1:if(ft=pt.payload,typeof ft=="function"){Ne=ft.call(pn,Ne,ye);break e}Ne=ft;break e;case 3:ft.flags=ft.flags&-65537|128;case 0:if(ft=pt.payload,ye=typeof ft=="function"?ft.call(pn,Ne,ye):ft,ye==null)break e;Ne=A({},Ne,ye);break e;case 2:el=!0}}ye=$.callback,ye!==null&&(r.flags|=64,he&&(r.flags|=8192),he=x.callbacks,he===null?x.callbacks=[ye]:he.push(ye))}else he={lane:ye,tag:$.tag,payload:$.payload,callback:$.callback,next:null},De===null?(de=De=he,Z=Ne):De=De.next=he,N|=ye;if($=$.next,$===null){if($=x.shared.pending,$===null)break;he=$,$=he.next,he.next=null,x.lastBaseUpdate=he,x.shared.pending=null}}while(!0);De===null&&(Z=Ne),x.baseState=Z,x.firstBaseUpdate=de,x.lastBaseUpdate=De,w===null&&(x.shared.lanes=0),ss|=N,r.lanes=N,r.memoizedState=Ne}}function km(r,s){if(typeof r!="function")throw Error(o(191,r));r.call(s)}function df(r,s){var c=r.callbacks;if(c!==null)for(r.callbacks=null,r=0;r<c.length;r++)km(c[r],s)}var qs=fe(null),Ko=fe(0);function Yn(r,s){r=os,je(Ko,r),je(qs,s),os=r|s.baseLanes}function Iu(){je(Ko,os),je(qs,qs.current)}function hf(){os=Ko.current,Ae(qs),Ae(Ko)}var _i=0,Rt=null,hn=null,Ht=null,Fu=!1,Wi=!1,Qa=!1,Ar=0,hi=0,Ni=null,Ym=0;function It(){throw Error(o(321))}function mf(r,s){if(s===null)return!1;for(var c=0;c<s.length&&c<r.length;c++)if(!Za(r[c],s[c]))return!1;return!0}function qm(r,s,c,p,x,w){return _i=w,Rt=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,F.H=r===null||r.memoizedState===null?r0:ap,Qa=!1,w=c(p,x),Qa=!1,Wi&&(w=Jg(s,c,p,x)),Gs(r),w}function Gs(r){F.H=rh;var s=hn!==null&&hn.next!==null;if(_i=0,Ht=hn=Rt=null,Fu=!1,hi=0,Ni=null,s)throw Error(o(300));r===null||Ra||(r=r.dependencies,r!==null&&Pd(r)&&(Ra=!0))}function Jg(r,s,c,p){Rt=r;var x=0;do{if(Wi&&(Ni=null),hi=0,Wi=!1,25<=x)throw Error(o(301));if(x+=1,Ht=hn=null,r.updateQueue!=null){var w=r.updateQueue;w.lastEffect=null,w.events=null,w.stores=null,w.memoCache!=null&&(w.memoCache.index=0)}F.H=lo,w=s(c,p)}while(Wi);return w}function Gm(){var r=F.H,s=r.useState()[0];return s=typeof s.then=="function"?Xd(s):s,r=r.useState()[0],(hn!==null?hn.memoizedState:null)!==r&&(Rt.flags|=1024),s}function Im(){var r=Ar!==0;return Ar=0,r}function ao(r,s,c){s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~c}function Fd(r){if(Fu){for(r=r.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Fu=!1}_i=0,Ht=hn=Rt=null,Wi=!1,hi=Ar=0,Ni=null}function mi(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ht===null?Rt.memoizedState=Ht=r:Ht=Ht.next=r,Ht}function na(){if(hn===null){var r=Rt.alternate;r=r!==null?r.memoizedState:null}else r=hn.next;var s=Ht===null?Rt.memoizedState:Ht.next;if(s!==null)Ht=s,hn=r;else{if(r===null)throw Rt.alternate===null?Error(o(467)):Error(o(310));hn=r,r={memoizedState:hn.memoizedState,baseState:hn.baseState,baseQueue:hn.baseQueue,queue:hn.queue,next:null},Ht===null?Rt.memoizedState=Ht=r:Ht=Ht.next=r}return Ht}function Qo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xd(r){var s=hi;return hi+=1,Ni===null&&(Ni=[]),r=Pm(Ni,r,s),s=Rt,(Ht===null?s.memoizedState:Ht.next)===null&&(s=s.alternate,F.H=s===null||s.memoizedState===null?r0:ap),r}function ya(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Xd(r);if(r.$$typeof===q)return Gn(r)}throw Error(o(438,String(r)))}function pf(r){var s=null,c=Rt.updateQueue;if(c!==null&&(s=c.memoCache),s==null){var p=Rt.alternate;p!==null&&(p=p.updateQueue,p!==null&&(p=p.memoCache,p!=null&&(s={data:p.data.map(function(x){return x.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),c===null&&(c=Qo(),Rt.updateQueue=c),c.memoCache=s,c=s.data[s.index],c===void 0)for(c=s.data[s.index]=Array(r),p=0;p<r;p++)c[p]=He;return s.index++,c}function El(r,s){return typeof s=="function"?s(r):s}function Zd(r){var s=na();return Fm(s,hn,r)}function Fm(r,s,c){var p=r.queue;if(p===null)throw Error(o(311));p.lastRenderedReducer=c;var x=r.baseQueue,w=p.pending;if(w!==null){if(x!==null){var N=x.next;x.next=w.next,w.next=N}s.baseQueue=x=w,p.pending=null}if(w=r.baseState,x===null)r.memoizedState=w;else{s=x.next;var $=N=null,Z=null,de=s,De=!1;do{var Ne=de.lane&-536870913;if(Ne!==de.lane?(Xt&Ne)===Ne:(_i&Ne)===Ne){var ye=de.revertLane;if(ye===0)Z!==null&&(Z=Z.next={lane:0,revertLane:0,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null}),Ne===Jr&&(De=!0);else if((_i&ye)===ye){de=de.next,ye===Jr&&(De=!0);continue}else Ne={lane:0,revertLane:de.revertLane,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},Z===null?($=Z=Ne,N=w):Z=Z.next=Ne,Rt.lanes|=ye,ss|=ye;Ne=de.action,Qa&&c(w,Ne),w=de.hasEagerState?de.eagerState:c(w,Ne)}else ye={lane:Ne,revertLane:de.revertLane,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},Z===null?($=Z=ye,N=w):Z=Z.next=ye,Rt.lanes|=Ne,ss|=Ne;de=de.next}while(de!==null&&de!==s);if(Z===null?N=w:Z.next=$,!Za(w,r.memoizedState)&&(Ra=!0,De&&(c=Rn,c!==null)))throw c;r.memoizedState=w,r.baseState=N,r.baseQueue=Z,p.lastRenderedState=w}return x===null&&(p.lanes=0),[r.memoizedState,p.dispatch]}function Xm(r){var s=na(),c=s.queue;if(c===null)throw Error(o(311));c.lastRenderedReducer=r;var p=c.dispatch,x=c.pending,w=s.memoizedState;if(x!==null){c.pending=null;var N=x=x.next;do w=r(w,N.action),N=N.next;while(N!==x);Za(w,s.memoizedState)||(Ra=!0),s.memoizedState=w,s.baseQueue===null&&(s.baseState=w),c.lastRenderedState=w}return[w,p]}function gf(r,s,c){var p=Rt,x=na(),w=Yt;if(w){if(c===void 0)throw Error(o(407));c=c()}else c=s();var N=!Za((hn||x).memoizedState,c);N&&(x.memoizedState=c,Ra=!0),x=x.queue;var $=Kd.bind(null,p,x,r);if(On(2048,8,$,[r]),x.getSnapshot!==s||N||Ht!==null&&Ht.memoizedState.tag&1){if(p.flags|=2048,Ji(9,eh(),e0.bind(null,p,x,c,s),null),_n===null)throw Error(o(349));w||(_i&124)!==0||yf(p,s,c)}return c}function yf(r,s,c){r.flags|=16384,r={getSnapshot:s,value:c},s=Rt.updateQueue,s===null?(s=Qo(),Rt.updateQueue=s,s.stores=[r]):(c=s.stores,c===null?s.stores=[r]:c.push(r))}function e0(r,s,c,p){s.value=c,s.getSnapshot=p,Zm(s)&&Qd(r)}function Kd(r,s,c){return c(function(){Zm(s)&&Qd(r)})}function Zm(r){var s=r.getSnapshot;r=r.value;try{var c=s();return!Za(r,c)}catch{return!0}}function Qd(r){var s=vl(r,2);s!==null&&Or(s,r,2)}function vf(r){var s=mi();if(typeof r=="function"){var c=r;if(r=c(),Qa){dn(!0);try{c()}finally{dn(!1)}}}return s.memoizedState=s.baseState=r,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:El,lastRenderedState:r},s}function Xu(r,s,c,p){return r.baseState=c,Fm(r,hn,typeof p=="function"?p:El)}function gv(r,s,c,p,x){if(Ku(r))throw Error(o(485));if(r=s.action,r!==null){var w={payload:x,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(N){w.listeners.push(N)}};F.T!==null?c(!0):w.isTransition=!1,p(w),c=s.pending,c===null?(w.next=s.pending=w,Wd(s,w)):(w.next=c.next,s.pending=c.next=w)}}function Wd(r,s){var c=s.action,p=s.payload,x=r.state;if(s.isTransition){var w=F.T,N={};F.T=N;try{var $=c(x,p),Z=F.S;Z!==null&&Z(N,$),bf(r,s,$)}catch(de){Jd(r,s,de)}finally{F.T=w}}else try{w=c(x,p),bf(r,s,w)}catch(de){Jd(r,s,de)}}function bf(r,s,c){c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(function(p){Km(r,s,p)},function(p){return Jd(r,s,p)}):Km(r,s,c)}function Km(r,s,c){s.status="fulfilled",s.value=c,t0(s),r.state=c,s=r.pending,s!==null&&(c=s.next,c===s?r.pending=null:(c=c.next,s.next=c,Wd(r,c)))}function Jd(r,s,c){var p=r.pending;if(r.pending=null,p!==null){p=p.next;do s.status="rejected",s.reason=c,t0(s),s=s.next;while(s!==p)}r.action=null}function t0(r){r=r.listeners;for(var s=0;s<r.length;s++)(0,r[s])()}function Sf(r,s){return s}function Qm(r,s){if(Yt){var c=_n.formState;if(c!==null){e:{var p=Rt;if(Yt){if(rn){t:{for(var x=rn,w=di;x.nodeType!==8;){if(!w){x=null;break t}if(x=Nl(x.nextSibling),x===null){x=null;break t}}w=x.data,x=w==="F!"||w==="F"?x:null}if(x){rn=Nl(x.nextSibling),p=x.data==="F!";break e}}Zi(p)}p=!1}p&&(s=c[0])}}return c=mi(),c.memoizedState=c.baseState=s,p={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sf,lastRenderedState:s},c.queue=p,c=tp.bind(null,Rt,p),p.dispatch=c,p=vf(!1),w=ih.bind(null,Rt,!1,p.queue),p=mi(),x={state:s,dispatch:null,action:r,pending:null},p.queue=x,c=gv.bind(null,Rt,x,w,c),x.dispatch=c,p.memoizedState=r,[s,c,!1]}function nl(r){var s=na();return Wm(s,hn,r)}function Wm(r,s,c){if(s=Fm(r,s,Sf)[0],r=Zd(El)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var p=Xd(s)}catch(N){throw N===Ba?qd:N}else p=s;s=na();var x=s.queue,w=x.dispatch;return c!==s.memoizedState&&(Rt.flags|=2048,Ji(9,eh(),n0.bind(null,x,c),null)),[p,w,r]}function n0(r,s){r.action=s}function _t(r){var s=na(),c=hn;if(c!==null)return Wm(s,c,r);na(),s=s.memoizedState,c=na();var p=c.queue.dispatch;return c.memoizedState=r,[s,p,!1]}function Ji(r,s,c,p){return r={tag:r,create:c,deps:p,inst:s,next:null},s=Rt.updateQueue,s===null&&(s=Qo(),Rt.updateQueue=s),c=s.lastEffect,c===null?s.lastEffect=r.next=r:(p=c.next,c.next=r,r.next=p,s.lastEffect=r),r}function eh(){return{destroy:void 0,resource:void 0}}function Wo(){return na().memoizedState}function Jo(r,s,c,p){var x=mi();p=p===void 0?null:p,Rt.flags|=r,x.memoizedState=Ji(1|s,eh(),c,p)}function On(r,s,c,p){var x=na();p=p===void 0?null:p;var w=x.memoizedState.inst;hn!==null&&p!==null&&mf(p,hn.memoizedState.deps)?x.memoizedState=Ji(s,w,c,p):(Rt.flags|=r,x.memoizedState=Ji(1|s,w,c,p))}function yv(r,s){Jo(8390656,8,r,s)}function wr(r,s){On(2048,8,r,s)}function a0(r,s){return On(4,2,r,s)}function er(r,s){return On(4,4,r,s)}function th(r,s){if(typeof s=="function"){r=r();var c=s(r);return function(){typeof c=="function"?c():s(null)}}if(s!=null)return r=r(),s.current=r,function(){s.current=null}}function nh(r,s,c){c=c!=null?c.concat([r]):null,On(4,4,th.bind(null,s,r),c)}function Is(){}function Ma(r,s){var c=na();s=s===void 0?null:s;var p=c.memoizedState;return s!==null&&mf(s,p[1])?p[0]:(c.memoizedState=[r,s],r)}function io(r,s){var c=na();s=s===void 0?null:s;var p=c.memoizedState;if(s!==null&&mf(s,p[1]))return p[0];if(p=r(),Qa){dn(!0);try{r()}finally{dn(!1)}}return c.memoizedState=[p,s],p}function Zu(r,s,c){return c===void 0||(_i&1073741824)!==0?r.memoizedState=s:(r.memoizedState=c,r=A0(),Rt.lanes|=r,ss|=r,c)}function Jm(r,s,c,p){return Za(c,s)?c:qs.current!==null?(r=Zu(r,c,p),Za(r,s)||(Ra=!0),r):(_i&42)===0?(Ra=!0,r.memoizedState=c):(r=A0(),Rt.lanes|=r,ss|=r,s)}function ah(r,s,c,p,x){var w=ne.p;ne.p=w!==0&&8>w?w:8;var N=F.T,$={};F.T=$,ih(r,!1,s,c);try{var Z=x(),de=F.S;if(de!==null&&de($,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var De=pv(Z,p);ts(r,s,De,yi(r))}else ts(r,s,p,yi(r))}catch(Ne){ts(r,s,{then:function(){},status:"rejected",reason:Ne},yi())}finally{ne.p=w,F.T=N}}function vv(){}function xf(r,s,c,p){if(r.tag!==5)throw Error(o(476));var x=i0(r).queue;ah(r,x,s,oe,c===null?vv:function(){return Fs(r),c(p)})}function i0(r){var s=r.memoizedState;if(s!==null)return s;s={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:El,lastRenderedState:oe},next:null};var c={};return s.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:El,lastRenderedState:c},next:null},r.memoizedState=s,r=r.alternate,r!==null&&(r.memoizedState=s),s}function Fs(r){var s=i0(r).next.queue;ts(r,s,{},yi())}function tr(){return Gn($i)}function ro(){return na().memoizedState}function bv(){return na().memoizedState}function es(r){for(var s=r.return;s!==null;){switch(s.tag){case 24:case 3:var c=yi();r=Qi(c);var p=xl(s,r,c);p!==null&&(Or(p,s,c),Gu(p,s,c)),s={cache:ff()},r.payload=s;return}s=s.return}}function ep(r,s,c){var p=yi();c={lane:p,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null},Ku(r)?Sv(s,c):(c=Go(r,s,c,p),c!==null&&(Or(c,r,p),np(c,s,p)))}function tp(r,s,c){var p=yi();ts(r,s,c,p)}function ts(r,s,c,p){var x={lane:p,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Ku(r))Sv(s,x);else{var w=r.alternate;if(r.lanes===0&&(w===null||w.lanes===0)&&(w=s.lastRenderedReducer,w!==null))try{var N=s.lastRenderedState,$=w(N,c);if(x.hasEagerState=!0,x.eagerState=$,Za($,N))return Mi(r,s,x,0),_n===null&&Fi(),!1}catch{}finally{}if(c=Go(r,s,x,p),c!==null)return Or(c,r,p),np(c,s,p),!0}return!1}function ih(r,s,c,p){if(p={lane:2,revertLane:lu(),action:p,hasEagerState:!1,eagerState:null,next:null},Ku(r)){if(s)throw Error(o(479))}else s=Go(r,c,p,2),s!==null&&Or(s,r,2)}function Ku(r){var s=r.alternate;return r===Rt||s!==null&&s===Rt}function Sv(r,s){Wi=Fu=!0;var c=r.pending;c===null?s.next=s:(s.next=c.next,c.next=s),r.pending=s}function np(r,s,c){if((c&4194048)!==0){var p=s.lanes;p&=r.pendingLanes,c|=p,s.lanes=c,pd(r,c)}}var rh={readContext:Gn,use:ya,useCallback:It,useContext:It,useEffect:It,useImperativeHandle:It,useLayoutEffect:It,useInsertionEffect:It,useMemo:It,useReducer:It,useRef:It,useState:It,useDebugValue:It,useDeferredValue:It,useTransition:It,useSyncExternalStore:It,useId:It,useHostTransitionStatus:It,useFormState:It,useActionState:It,useOptimistic:It,useMemoCache:It,useCacheRefresh:It},r0={readContext:Gn,use:ya,useCallback:function(r,s){return mi().memoizedState=[r,s===void 0?null:s],r},useContext:Gn,useEffect:yv,useImperativeHandle:function(r,s,c){c=c!=null?c.concat([r]):null,Jo(4194308,4,th.bind(null,s,r),c)},useLayoutEffect:function(r,s){return Jo(4194308,4,r,s)},useInsertionEffect:function(r,s){Jo(4,2,r,s)},useMemo:function(r,s){var c=mi();s=s===void 0?null:s;var p=r();if(Qa){dn(!0);try{r()}finally{dn(!1)}}return c.memoizedState=[p,s],p},useReducer:function(r,s,c){var p=mi();if(c!==void 0){var x=c(s);if(Qa){dn(!0);try{c(s)}finally{dn(!1)}}}else x=s;return p.memoizedState=p.baseState=x,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:x},p.queue=r,r=r.dispatch=ep.bind(null,Rt,r),[p.memoizedState,r]},useRef:function(r){var s=mi();return r={current:r},s.memoizedState=r},useState:function(r){r=vf(r);var s=r.queue,c=tp.bind(null,Rt,s);return s.dispatch=c,[r.memoizedState,c]},useDebugValue:Is,useDeferredValue:function(r,s){var c=mi();return Zu(c,r,s)},useTransition:function(){var r=vf(!1);return r=ah.bind(null,Rt,r.queue,!0,!1),mi().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,s,c){var p=Rt,x=mi();if(Yt){if(c===void 0)throw Error(o(407));c=c()}else{if(c=s(),_n===null)throw Error(o(349));(Xt&124)!==0||yf(p,s,c)}x.memoizedState=c;var w={value:c,getSnapshot:s};return x.queue=w,yv(Kd.bind(null,p,w,r),[r]),p.flags|=2048,Ji(9,eh(),e0.bind(null,p,w,c,s),null),c},useId:function(){var r=mi(),s=_n.identifierPrefix;if(Yt){var c=ta,p=jn;c=(p&~(1<<32-En(p)-1)).toString(32)+c,s="«"+s+"R"+c,c=Ar++,0<c&&(s+="H"+c.toString(32)),s+="»"}else c=Ym++,s="«"+s+"r"+c.toString(32)+"»";return r.memoizedState=s},useHostTransitionStatus:tr,useFormState:Qm,useActionState:Qm,useOptimistic:function(r){var s=mi();s.memoizedState=s.baseState=r;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=c,s=ih.bind(null,Rt,!0,c),c.dispatch=s,[r,s]},useMemoCache:pf,useCacheRefresh:function(){return mi().memoizedState=es.bind(null,Rt)}},ap={readContext:Gn,use:ya,useCallback:Ma,useContext:Gn,useEffect:wr,useImperativeHandle:nh,useInsertionEffect:a0,useLayoutEffect:er,useMemo:io,useReducer:Zd,useRef:Wo,useState:function(){return Zd(El)},useDebugValue:Is,useDeferredValue:function(r,s){var c=na();return Jm(c,hn.memoizedState,r,s)},useTransition:function(){var r=Zd(El)[0],s=na().memoizedState;return[typeof r=="boolean"?r:Xd(r),s]},useSyncExternalStore:gf,useId:ro,useHostTransitionStatus:tr,useFormState:nl,useActionState:nl,useOptimistic:function(r,s){var c=na();return Xu(c,hn,r,s)},useMemoCache:pf,useCacheRefresh:bv},lo={readContext:Gn,use:ya,useCallback:Ma,useContext:Gn,useEffect:wr,useImperativeHandle:nh,useInsertionEffect:a0,useLayoutEffect:er,useMemo:io,useReducer:Xm,useRef:Wo,useState:function(){return Xm(El)},useDebugValue:Is,useDeferredValue:function(r,s){var c=na();return hn===null?Zu(c,r,s):Jm(c,hn.memoizedState,r,s)},useTransition:function(){var r=Xm(El)[0],s=na().memoizedState;return[typeof r=="boolean"?r:Xd(r),s]},useSyncExternalStore:gf,useId:ro,useHostTransitionStatus:tr,useFormState:_t,useActionState:_t,useOptimistic:function(r,s){var c=na();return hn!==null?Xu(c,hn,r,s):(c.baseState=r,[r,c.queue.dispatch])},useMemoCache:pf,useCacheRefresh:bv},va=null,zi=0;function ip(r){var s=zi;return zi+=1,va===null&&(va=[]),Pm(va,r,s)}function Qu(r,s){s=s.props.ref,r.ref=s!==void 0?s:null}function Da(r,s){throw s.$$typeof===C?Error(o(525)):(r=Object.prototype.toString.call(s),Error(o(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r)))}function Xs(r){var s=r._init;return s(r._payload)}function Li(r){function s(se,ae){if(r){var ce=se.deletions;ce===null?(se.deletions=[ae],se.flags|=16):ce.push(ae)}}function c(se,ae){if(!r)return null;for(;ae!==null;)s(se,ae),ae=ae.sibling;return null}function p(se){for(var ae=new Map;se!==null;)se.key!==null?ae.set(se.key,se):ae.set(se.index,se),se=se.sibling;return ae}function x(se,ae){return se=Ka(se,ae),se.index=0,se.sibling=null,se}function w(se,ae,ce){return se.index=ce,r?(ce=se.alternate,ce!==null?(ce=ce.index,ce<ae?(se.flags|=67108866,ae):ce):(se.flags|=67108866,ae)):(se.flags|=1048576,ae)}function N(se){return r&&se.alternate===null&&(se.flags|=67108866),se}function $(se,ae,ce,_e){return ae===null||ae.tag!==6?(ae=lf(ce,se.mode,_e),ae.return=se,ae):(ae=x(ae,ce),ae.return=se,ae)}function Z(se,ae,ce,_e){var Je=ce.type;return Je===B?De(se,ae,ce.props.children,_e,ce.key):ae!==null&&(ae.elementType===Je||typeof Je=="object"&&Je!==null&&Je.$$typeof===pe&&Xs(Je)===ae.type)?(ae=x(ae,ce.props),Qu(ae,ce),ae.return=se,ae):(ae=$e(ce.type,ce.key,ce.props,null,se.mode,_e),Qu(ae,ce),ae.return=se,ae)}function de(se,ae,ce,_e){return ae===null||ae.tag!==4||ae.stateNode.containerInfo!==ce.containerInfo||ae.stateNode.implementation!==ce.implementation?(ae=Bn(ce,se.mode,_e),ae.return=se,ae):(ae=x(ae,ce.children||[]),ae.return=se,ae)}function De(se,ae,ce,_e,Je){return ae===null||ae.tag!==7?(ae=Kr(ce,se.mode,_e,Je),ae.return=se,ae):(ae=x(ae,ce),ae.return=se,ae)}function Ne(se,ae,ce){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return ae=lf(""+ae,se.mode,ce),ae.return=se,ae;if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case M:return ce=$e(ae.type,ae.key,ae.props,null,se.mode,ce),Qu(ce,ae),ce.return=se,ce;case R:return ae=Bn(ae,se.mode,ce),ae.return=se,ae;case pe:var _e=ae._init;return ae=_e(ae._payload),Ne(se,ae,ce)}if(qe(ae)||Pe(ae))return ae=Kr(ae,se.mode,ce,null),ae.return=se,ae;if(typeof ae.then=="function")return Ne(se,ip(ae),ce);if(ae.$$typeof===q)return Ne(se,kd(se,ae),ce);Da(se,ae)}return null}function ye(se,ae,ce,_e){var Je=ae!==null?ae.key:null;if(typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint")return Je!==null?null:$(se,ae,""+ce,_e);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case M:return ce.key===Je?Z(se,ae,ce,_e):null;case R:return ce.key===Je?de(se,ae,ce,_e):null;case pe:return Je=ce._init,ce=Je(ce._payload),ye(se,ae,ce,_e)}if(qe(ce)||Pe(ce))return Je!==null?null:De(se,ae,ce,_e,null);if(typeof ce.then=="function")return ye(se,ae,ip(ce),_e);if(ce.$$typeof===q)return ye(se,ae,kd(se,ce),_e);Da(se,ce)}return null}function he(se,ae,ce,_e,Je){if(typeof _e=="string"&&_e!==""||typeof _e=="number"||typeof _e=="bigint")return se=se.get(ce)||null,$(ae,se,""+_e,Je);if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case M:return se=se.get(_e.key===null?ce:_e.key)||null,Z(ae,se,_e,Je);case R:return se=se.get(_e.key===null?ce:_e.key)||null,de(ae,se,_e,Je);case pe:var Pt=_e._init;return _e=Pt(_e._payload),he(se,ae,ce,_e,Je)}if(qe(_e)||Pe(_e))return se=se.get(ce)||null,De(ae,se,_e,Je,null);if(typeof _e.then=="function")return he(se,ae,ce,ip(_e),Je);if(_e.$$typeof===q)return he(se,ae,ce,kd(ae,_e),Je);Da(ae,_e)}return null}function ft(se,ae,ce,_e){for(var Je=null,Pt=null,ct=ae,xt=ae=0,Pa=null;ct!==null&&xt<ce.length;xt++){ct.index>xt?(Pa=ct,ct=null):Pa=ct.sibling;var tn=ye(se,ct,ce[xt],_e);if(tn===null){ct===null&&(ct=Pa);break}r&&ct&&tn.alternate===null&&s(se,ct),ae=w(tn,ae,xt),Pt===null?Je=tn:Pt.sibling=tn,Pt=tn,ct=Pa}if(xt===ce.length)return c(se,ct),Yt&&en(se,xt),Je;if(ct===null){for(;xt<ce.length;xt++)ct=Ne(se,ce[xt],_e),ct!==null&&(ae=w(ct,ae,xt),Pt===null?Je=ct:Pt.sibling=ct,Pt=ct);return Yt&&en(se,xt),Je}for(ct=p(ct);xt<ce.length;xt++)Pa=he(ct,se,xt,ce[xt],_e),Pa!==null&&(r&&Pa.alternate!==null&&ct.delete(Pa.key===null?xt:Pa.key),ae=w(Pa,ae,xt),Pt===null?Je=Pa:Pt.sibling=Pa,Pt=Pa);return r&&ct.forEach(function(fu){return s(se,fu)}),Yt&&en(se,xt),Je}function pt(se,ae,ce,_e){if(ce==null)throw Error(o(151));for(var Je=null,Pt=null,ct=ae,xt=ae=0,Pa=null,tn=ce.next();ct!==null&&!tn.done;xt++,tn=ce.next()){ct.index>xt?(Pa=ct,ct=null):Pa=ct.sibling;var fu=ye(se,ct,tn.value,_e);if(fu===null){ct===null&&(ct=Pa);break}r&&ct&&fu.alternate===null&&s(se,ct),ae=w(fu,ae,xt),Pt===null?Je=fu:Pt.sibling=fu,Pt=fu,ct=Pa}if(tn.done)return c(se,ct),Yt&&en(se,xt),Je;if(ct===null){for(;!tn.done;xt++,tn=ce.next())tn=Ne(se,tn.value,_e),tn!==null&&(ae=w(tn,ae,xt),Pt===null?Je=tn:Pt.sibling=tn,Pt=tn);return Yt&&en(se,xt),Je}for(ct=p(ct);!tn.done;xt++,tn=ce.next())tn=he(ct,se,xt,tn.value,_e),tn!==null&&(r&&tn.alternate!==null&&ct.delete(tn.key===null?xt:tn.key),ae=w(tn,ae,xt),Pt===null?Je=tn:Pt.sibling=tn,Pt=tn);return r&&ct.forEach(function(zb){return s(se,zb)}),Yt&&en(se,xt),Je}function pn(se,ae,ce,_e){if(typeof ce=="object"&&ce!==null&&ce.type===B&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case M:e:{for(var Je=ce.key;ae!==null;){if(ae.key===Je){if(Je=ce.type,Je===B){if(ae.tag===7){c(se,ae.sibling),_e=x(ae,ce.props.children),_e.return=se,se=_e;break e}}else if(ae.elementType===Je||typeof Je=="object"&&Je!==null&&Je.$$typeof===pe&&Xs(Je)===ae.type){c(se,ae.sibling),_e=x(ae,ce.props),Qu(_e,ce),_e.return=se,se=_e;break e}c(se,ae);break}else s(se,ae);ae=ae.sibling}ce.type===B?(_e=Kr(ce.props.children,se.mode,_e,ce.key),_e.return=se,se=_e):(_e=$e(ce.type,ce.key,ce.props,null,se.mode,_e),Qu(_e,ce),_e.return=se,se=_e)}return N(se);case R:e:{for(Je=ce.key;ae!==null;){if(ae.key===Je)if(ae.tag===4&&ae.stateNode.containerInfo===ce.containerInfo&&ae.stateNode.implementation===ce.implementation){c(se,ae.sibling),_e=x(ae,ce.children||[]),_e.return=se,se=_e;break e}else{c(se,ae);break}else s(se,ae);ae=ae.sibling}_e=Bn(ce,se.mode,_e),_e.return=se,se=_e}return N(se);case pe:return Je=ce._init,ce=Je(ce._payload),pn(se,ae,ce,_e)}if(qe(ce))return ft(se,ae,ce,_e);if(Pe(ce)){if(Je=Pe(ce),typeof Je!="function")throw Error(o(150));return ce=Je.call(ce),pt(se,ae,ce,_e)}if(typeof ce.then=="function")return pn(se,ae,ip(ce),_e);if(ce.$$typeof===q)return pn(se,ae,kd(se,ce),_e);Da(se,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint"?(ce=""+ce,ae!==null&&ae.tag===6?(c(se,ae.sibling),_e=x(ae,ce),_e.return=se,se=_e):(c(se,ae),_e=lf(ce,se.mode,_e),_e.return=se,se=_e),N(se)):c(se,ae)}return function(se,ae,ce,_e){try{zi=0;var Je=pn(se,ae,ce,_e);return va=null,Je}catch(ct){if(ct===Ba||ct===qd)throw ct;var Pt=Di(29,ct,null,se.mode);return Pt.lanes=_e,Pt.return=se,Pt}finally{}}}var Zs=Li(!0),oo=Li(!1),nr=fe(null),da=null;function Cr(r){var s=r.alternate;je(yn,yn.current&1),je(nr,r),da===null&&(s===null||qs.current!==null||s.memoizedState!==null)&&(da=r)}function so(r){if(r.tag===22){if(je(yn,yn.current),je(nr,r),da===null){var s=r.alternate;s!==null&&s.memoizedState!==null&&(da=r)}}else Al()}function Al(){je(yn,yn.current),je(nr,nr.current)}function al(r){Ae(nr),da===r&&(da=null),Ae(yn)}var yn=fe(0);function Tf(r){for(var s=r;s!==null;){if(s.tag===13){var c=s.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||ni(c)))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}function wl(r,s,c,p){s=r.memoizedState,c=c(p,s),c=c==null?s:A({},s,c),r.memoizedState=c,r.lanes===0&&(r.updateQueue.baseState=c)}var Ef={enqueueSetState:function(r,s,c){r=r._reactInternals;var p=yi(),x=Qi(p);x.payload=s,c!=null&&(x.callback=c),s=xl(r,x,p),s!==null&&(Or(s,r,p),Gu(s,r,p))},enqueueReplaceState:function(r,s,c){r=r._reactInternals;var p=yi(),x=Qi(p);x.tag=1,x.payload=s,c!=null&&(x.callback=c),s=xl(r,x,p),s!==null&&(Or(s,r,p),Gu(s,r,p))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var c=yi(),p=Qi(c);p.tag=2,s!=null&&(p.callback=s),s=xl(r,p,c),s!==null&&(Or(s,r,c),Gu(s,r,c))}};function ns(r,s,c,p,x,w,N){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(p,w,N):s.prototype&&s.prototype.isPureReactComponent?!xr(c,p)||!xr(x,w):!0}function Wu(r,s,c,p){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(c,p),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(c,p),s.state!==r&&Ef.enqueueReplaceState(s,s.state,null)}function as(r,s){var c=s;if("ref"in s){c={};for(var p in s)p!=="ref"&&(c[p]=s[p])}if(r=r.defaultProps){c===s&&(c=A({},c));for(var x in r)c[x]===void 0&&(c[x]=r[x])}return c}var Ks=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)};function Ju(r){Ks(r)}function lh(r){console.error(r)}function oh(r){Ks(r)}function Af(r,s){try{var c=r.onUncaughtError;c(s.value,{componentStack:s.stack})}catch(p){setTimeout(function(){throw p})}}function Cl(r,s,c){try{var p=r.onCaughtError;p(c.value,{componentStack:c.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(x){setTimeout(function(){throw x})}}function rp(r,s,c){return c=Qi(c),c.tag=3,c.payload={element:null},c.callback=function(){Af(r,s)},c}function lp(r){return r=Qi(r),r.tag=3,r}function ar(r,s,c,p){var x=c.type.getDerivedStateFromError;if(typeof x=="function"){var w=p.value;r.payload=function(){return x(w)},r.callback=function(){Cl(s,c,p)}}var N=c.stateNode;N!==null&&typeof N.componentDidCatch=="function"&&(r.callback=function(){Cl(s,c,p),typeof x!="function"&&(au===null?au=new Set([this]):au.add(this));var $=p.stack;this.componentDidCatch(p.value,{componentStack:$!==null?$:""})})}function l0(r,s,c,p,x){if(c.flags|=32768,p!==null&&typeof p=="object"&&typeof p.then=="function"){if(s=c.alternate,s!==null&&uf(s,c,x,!0),c=nr.current,c!==null){switch(c.tag){case 13:return da===null?uc():c.alternate===null&&ra===0&&(ra=3),c.flags&=-257,c.flags|=65536,c.lanes=x,p===$m?c.flags|=16384:(s=c.updateQueue,s===null?c.updateQueue=new Set([p]):s.add(p),_p(r,p,x)),!1;case 22:return c.flags|=65536,p===$m?c.flags|=16384:(s=c.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([p])},c.updateQueue=s):(c=s.retryQueue,c===null?s.retryQueue=new Set([p]):c.add(p)),_p(r,p,x)),!1}throw Error(o(435,c.tag))}return _p(r,p,x),uc(),!1}if(Yt)return s=nr.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=x,p!==Jl&&(r=Error(o(422),{cause:p}),Xo(ci(r,c)))):(p!==Jl&&(s=Error(o(423),{cause:p}),Xo(ci(s,c))),r=r.current.alternate,r.flags|=65536,x&=-x,r.lanes|=x,p=ci(p,c),x=rp(r.stateNode,p,x),Tl(r,x),ra!==4&&(ra=2)),!1;var w=Error(o(520),{cause:p});if(w=ci(w,c),Nf===null?Nf=[w]:Nf.push(w),ra!==4&&(ra=2),s===null)return!0;p=ci(p,c),c=s;do{switch(c.tag){case 3:return c.flags|=65536,r=x&-x,c.lanes|=r,r=rp(c.stateNode,p,r),Tl(c,r),!1;case 1:if(s=c.type,w=c.stateNode,(c.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(au===null||!au.has(w))))return c.flags|=65536,x&=-x,c.lanes|=x,x=lp(x),ar(x,r,c,p),Tl(c,x),!1}c=c.return}while(c!==null);return!1}var aa=Error(o(461)),Ra=!1;function $n(r,s,c,p){s.child=r===null?oo(s,null,c,p):Zs(s,r.child,c,p)}function op(r,s,c,p,x){c=c.render;var w=s.ref;if("ref"in p){var N={};for(var $ in p)$!=="ref"&&(N[$]=p[$])}else N=p;return Hs(s),p=qm(r,s,c,N,w,x),$=Im(),r!==null&&!Ra?(ao(r,s,x),co(r,s,x)):(Yt&&$&&ku(s),s.flags|=1,$n(r,s,p,x),s.child)}function Ol(r,s,c,p,x){if(r===null){var w=c.type;return typeof w=="function"&&!Fo(w)&&w.defaultProps===void 0&&c.compare===null?(s.tag=15,s.type=w,is(r,s,w,p,x)):(r=$e(c.type,null,p,s,s.mode,x),r.ref=s.ref,r.return=s,s.child=r)}if(w=r.child,!rl(r,x)){var N=w.memoizedProps;if(c=c.compare,c=c!==null?c:xr,c(N,p)&&r.ref===s.ref)return co(r,s,x)}return s.flags|=1,r=Ka(w,p),r.ref=s.ref,r.return=s,s.child=r}function is(r,s,c,p,x){if(r!==null){var w=r.memoizedProps;if(xr(w,p)&&r.ref===s.ref)if(Ra=!1,s.pendingProps=p=w,rl(r,x))(r.flags&131072)!==0&&(Ra=!0);else return s.lanes=r.lanes,co(r,s,x)}return tc(r,s,c,p,x)}function ec(r,s,c){var p=s.pendingProps,x=p.children,w=r!==null?r.memoizedState:null;if(p.mode==="hidden"){if((s.flags&128)!==0){if(p=w!==null?w.baseLanes|c:c,r!==null){for(x=s.child=r.child,w=0;x!==null;)w=w|x.lanes|x.childLanes,x=x.sibling;s.childLanes=w&~p}else s.childLanes=0,s.child=null;return il(r,s,p,c)}if((c&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},r!==null&&Yu(s,w!==null?w.cachePool:null),w!==null?Yn(s,w):Iu(),so(s);else return s.lanes=s.childLanes=536870912,il(r,s,w!==null?w.baseLanes|c:c,c)}else w!==null?(Yu(s,w.cachePool),Yn(s,w),Al(),s.memoizedState=null):(r!==null&&Yu(s,null),Iu(),Al());return $n(r,s,x,c),s.child}function il(r,s,c,p){var x=Sl();return x=x===null?null:{parent:Dn._currentValue,pool:x},s.memoizedState={baseLanes:c,cachePool:x},r!==null&&Yu(s,null),Iu(),so(s),r!==null&&uf(r,s,p,!0),null}function dt(r,s){var c=s.ref;if(c===null)r!==null&&r.ref!==null&&(s.flags|=4194816);else{if(typeof c!="function"&&typeof c!="object")throw Error(o(284));(r===null||r.ref!==c)&&(s.flags|=4194816)}}function tc(r,s,c,p,x){return Hs(s),c=qm(r,s,c,p,void 0,x),p=Im(),r!==null&&!Ra?(ao(r,s,x),co(r,s,x)):(Yt&&p&&ku(s),s.flags|=1,$n(r,s,c,x),s.child)}function sh(r,s,c,p,x,w){return Hs(s),s.updateQueue=null,c=Jg(s,p,c,x),Gs(r),p=Im(),r!==null&&!Ra?(ao(r,s,w),co(r,s,w)):(Yt&&p&&ku(s),s.flags|=1,$n(r,s,c,w),s.child)}function uo(r,s,c,p,x){if(Hs(s),s.stateNode===null){var w=Hu,N=c.contextType;typeof N=="object"&&N!==null&&(w=Gn(N)),w=new c(p,w),s.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,w.updater=Ef,s.stateNode=w,w._reactInternals=s,w=s.stateNode,w.props=p,w.state=s.memoizedState,w.refs={},Ys(s),N=c.contextType,w.context=typeof N=="object"&&N!==null?Gn(N):Hu,w.state=s.memoizedState,N=c.getDerivedStateFromProps,typeof N=="function"&&(wl(s,c,N,p),w.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(N=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),N!==w.state&&Ef.enqueueReplaceState(w,w.state,null),ga(s,p,w,x),tl(),w.state=s.memoizedState),typeof w.componentDidMount=="function"&&(s.flags|=4194308),p=!0}else if(r===null){w=s.stateNode;var $=s.memoizedProps,Z=as(c,$);w.props=Z;var de=w.context,De=c.contextType;N=Hu,typeof De=="object"&&De!==null&&(N=Gn(De));var Ne=c.getDerivedStateFromProps;De=typeof Ne=="function"||typeof w.getSnapshotBeforeUpdate=="function",$=s.pendingProps!==$,De||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||($||de!==N)&&Wu(s,w,p,N),el=!1;var ye=s.memoizedState;w.state=ye,ga(s,p,w,x),tl(),de=s.memoizedState,$||ye!==de||el?(typeof Ne=="function"&&(wl(s,c,Ne,p),de=s.memoizedState),(Z=el||ns(s,c,Z,p,ye,de,N))?(De||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(s.flags|=4194308)):(typeof w.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=p,s.memoizedState=de),w.props=p,w.state=de,w.context=N,p=Z):(typeof w.componentDidMount=="function"&&(s.flags|=4194308),p=!1)}else{w=s.stateNode,qu(r,s),N=s.memoizedProps,De=as(c,N),w.props=De,Ne=s.pendingProps,ye=w.context,de=c.contextType,Z=Hu,typeof de=="object"&&de!==null&&(Z=Gn(de)),$=c.getDerivedStateFromProps,(de=typeof $=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(N!==Ne||ye!==Z)&&Wu(s,w,p,Z),el=!1,ye=s.memoizedState,w.state=ye,ga(s,p,w,x),tl();var he=s.memoizedState;N!==Ne||ye!==he||el||r!==null&&r.dependencies!==null&&Pd(r.dependencies)?(typeof $=="function"&&(wl(s,c,$,p),he=s.memoizedState),(De=el||ns(s,c,De,p,ye,he,Z)||r!==null&&r.dependencies!==null&&Pd(r.dependencies))?(de||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(p,he,Z),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(p,he,Z)),typeof w.componentDidUpdate=="function"&&(s.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof w.componentDidUpdate!="function"||N===r.memoizedProps&&ye===r.memoizedState||(s.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||N===r.memoizedProps&&ye===r.memoizedState||(s.flags|=1024),s.memoizedProps=p,s.memoizedState=he),w.props=p,w.state=he,w.context=Z,p=De):(typeof w.componentDidUpdate!="function"||N===r.memoizedProps&&ye===r.memoizedState||(s.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||N===r.memoizedProps&&ye===r.memoizedState||(s.flags|=1024),p=!1)}return w=p,dt(r,s),p=(s.flags&128)!==0,w||p?(w=s.stateNode,c=p&&typeof c.getDerivedStateFromError!="function"?null:w.render(),s.flags|=1,r!==null&&p?(s.child=Zs(s,r.child,null,x),s.child=Zs(s,null,c,x)):$n(r,s,c,x),s.memoizedState=w.state,r=s.child):r=co(r,s,x),r}function sp(r,s,c,p){return sf(),s.flags|=256,$n(r,s,c,p),s.child}var wf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function up(r){return{baseLanes:r,cachePool:Bm()}}function ja(r,s,c){return r=r!==null?r.childLanes&~c:0,s&&(r|=ol),r}function o0(r,s,c){var p=s.pendingProps,x=!1,w=(s.flags&128)!==0,N;if((N=w)||(N=r!==null&&r.memoizedState===null?!1:(yn.current&2)!==0),N&&(x=!0,s.flags&=-129),N=(s.flags&32)!==0,s.flags&=-33,r===null){if(Yt){if(x?Cr(s):Al(),Yt){var $=rn,Z;if(Z=$){e:{for(Z=$,$=di;Z.nodeType!==8;){if(!$){$=null;break e}if(Z=Nl(Z.nextSibling),Z===null){$=null;break e}}$=Z}$!==null?(s.memoizedState={dehydrated:$,treeContext:Mn!==null?{id:jn,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},Z=Di(18,null,null,0),Z.stateNode=$,Z.return=s,s.child=Z,kn=s,rn=null,Z=!0):Z=!1}Z||Zi(s)}if($=s.memoizedState,$!==null&&($=$.dehydrated,$!==null))return ni($)?s.lanes=32:s.lanes=536870912,null;al(s)}return $=p.children,p=p.fallback,x?(Al(),x=s.mode,$=uh({mode:"hidden",children:$},x),p=Kr(p,x,c,null),$.return=s,p.return=s,$.sibling=p,s.child=$,x=s.child,x.memoizedState=up(c),x.childLanes=ja(r,N,c),s.memoizedState=wf,p):(Cr(s),cp(s,$))}if(Z=r.memoizedState,Z!==null&&($=Z.dehydrated,$!==null)){if(w)s.flags&256?(Cr(s),s.flags&=-257,s=Qs(r,s,c)):s.memoizedState!==null?(Al(),s.child=r.child,s.flags|=128,s=null):(Al(),x=p.fallback,$=s.mode,p=uh({mode:"visible",children:p.children},$),x=Kr(x,$,c,null),x.flags|=2,p.return=s,x.return=s,p.sibling=x,s.child=p,Zs(s,r.child,null,c),p=s.child,p.memoizedState=up(c),p.childLanes=ja(r,N,c),s.memoizedState=wf,s=x);else if(Cr(s),ni($)){if(N=$.nextSibling&&$.nextSibling.dataset,N)var de=N.dgst;N=de,p=Error(o(419)),p.stack="",p.digest=N,Xo({value:p,source:null,stack:null}),s=Qs(r,s,c)}else if(Ra||uf(r,s,c,!1),N=(c&r.childLanes)!==0,Ra||N){if(N=_n,N!==null&&(p=c&-c,p=(p&42)!==0?1:gl(p),p=(p&(N.suspendedLanes|c))!==0?0:p,p!==0&&p!==Z.retryLane))throw Z.retryLane=p,vl(r,p),Or(N,r,p),aa;$.data==="$?"||uc(),s=Qs(r,s,c)}else $.data==="$?"?(s.flags|=192,s.child=r.child,s=null):(r=Z.treeContext,rn=Nl($.nextSibling),kn=s,Yt=!0,fi=null,di=!1,r!==null&&(Qr[Xi++]=jn,Qr[Xi++]=ta,Qr[Xi++]=Mn,jn=r.id,ta=r.overflow,Mn=s),s=cp(s,p.children),s.flags|=4096);return s}return x?(Al(),x=p.fallback,$=s.mode,Z=r.child,de=Z.sibling,p=Ka(Z,{mode:"hidden",children:p.children}),p.subtreeFlags=Z.subtreeFlags&65011712,de!==null?x=Ka(de,x):(x=Kr(x,$,c,null),x.flags|=2),x.return=s,p.return=s,p.sibling=x,s.child=p,p=x,x=s.child,$=r.child.memoizedState,$===null?$=up(c):(Z=$.cachePool,Z!==null?(de=Dn._currentValue,Z=Z.parent!==de?{parent:de,pool:de}:Z):Z=Bm(),$={baseLanes:$.baseLanes|c,cachePool:Z}),x.memoizedState=$,x.childLanes=ja(r,N,c),s.memoizedState=wf,p):(Cr(s),c=r.child,r=c.sibling,c=Ka(c,{mode:"visible",children:p.children}),c.return=s,c.sibling=null,r!==null&&(N=s.deletions,N===null?(s.deletions=[r],s.flags|=16):N.push(r)),s.child=c,s.memoizedState=null,c)}function cp(r,s){return s=uh({mode:"visible",children:s},r.mode),s.return=r,r.child=s}function uh(r,s){return r=Di(22,r,null,s),r.lanes=0,r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},r}function Qs(r,s,c){return Zs(s,r.child,null,c),r=cp(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function Cf(r,s,c){r.lanes|=s;var p=r.alternate;p!==null&&(p.lanes|=s),Ri(r.return,s,c)}function fp(r,s,c,p,x){var w=r.memoizedState;w===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:p,tail:c,tailMode:x}:(w.isBackwards=s,w.rendering=null,w.renderingStartTime=0,w.last=p,w.tail=c,w.tailMode=x)}function dp(r,s,c){var p=s.pendingProps,x=p.revealOrder,w=p.tail;if($n(r,s,p.children,c),p=yn.current,(p&2)!==0)p=p&1|2,s.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=s.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Cf(r,c,s);else if(r.tag===19)Cf(r,c,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}p&=1}switch(je(yn,p),x){case"forwards":for(c=s.child,x=null;c!==null;)r=c.alternate,r!==null&&Tf(r)===null&&(x=c),c=c.sibling;c=x,c===null?(x=s.child,s.child=null):(x=c.sibling,c.sibling=null),fp(s,!1,x,c,w);break;case"backwards":for(c=null,x=s.child,s.child=null;x!==null;){if(r=x.alternate,r!==null&&Tf(r)===null){s.child=x;break}r=x.sibling,x.sibling=c,c=x,x=r}fp(s,!0,c,null,w);break;case"together":fp(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function co(r,s,c){if(r!==null&&(s.dependencies=r.dependencies),ss|=s.lanes,(c&s.childLanes)===0)if(r!==null){if(uf(r,s,c,!1),(c&s.childLanes)===0)return null}else return null;if(r!==null&&s.child!==r.child)throw Error(o(153));if(s.child!==null){for(r=s.child,c=Ka(r,r.pendingProps),s.child=c,c.return=s;r.sibling!==null;)r=r.sibling,c=c.sibling=Ka(r,r.pendingProps),c.return=s;c.sibling=null}return s.child}function rl(r,s){return(r.lanes&s)!==0?!0:(r=r.dependencies,!!(r!==null&&Pd(r)))}function pi(r,s,c){switch(s.tag){case 3:We(s,s.stateNode.containerInfo),Ki(s,Dn,r.memoizedState.cache),sf();break;case 27:case 5:yt(s);break;case 4:We(s,s.stateNode.containerInfo);break;case 10:Ki(s,s.type,s.memoizedProps.value);break;case 13:var p=s.memoizedState;if(p!==null)return p.dehydrated!==null?(Cr(s),s.flags|=128,null):(c&s.child.childLanes)!==0?o0(r,s,c):(Cr(s),r=co(r,s,c),r!==null?r.sibling:null);Cr(s);break;case 19:var x=(r.flags&128)!==0;if(p=(c&s.childLanes)!==0,p||(uf(r,s,c,!1),p=(c&s.childLanes)!==0),x){if(p)return dp(r,s,c);s.flags|=128}if(x=s.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),je(yn,yn.current),p)break;return null;case 22:case 23:return s.lanes=0,ec(r,s,c);case 24:Ki(s,Dn,r.memoizedState.cache)}return co(r,s,c)}function hp(r,s,c){if(r!==null)if(r.memoizedProps!==s.pendingProps)Ra=!0;else{if(!rl(r,c)&&(s.flags&128)===0)return Ra=!1,pi(r,s,c);Ra=(r.flags&131072)!==0}else Ra=!1,Yt&&(s.flags&1048576)!==0&&$d(s,Pu,s.index);switch(s.lanes=0,s.tag){case 16:e:{r=s.pendingProps;var p=s.elementType,x=p._init;if(p=x(p._payload),s.type=p,typeof p=="function")Fo(p)?(r=as(p,r),s.tag=1,s=uo(null,s,p,r,c)):(s.tag=0,s=tc(null,s,p,r,c));else{if(p!=null){if(x=p.$$typeof,x===J){s.tag=11,s=op(null,s,p,r,c);break e}else if(x===me){s.tag=14,s=Ol(null,s,p,r,c);break e}}throw s=Xe(p)||p,Error(o(306,s,""))}}return s;case 0:return tc(r,s,s.type,s.pendingProps,c);case 1:return p=s.type,x=as(p,s.pendingProps),uo(r,s,p,x,c);case 3:e:{if(We(s,s.stateNode.containerInfo),r===null)throw Error(o(387));p=s.pendingProps;var w=s.memoizedState;x=w.element,qu(r,s),ga(s,p,null,c);var N=s.memoizedState;if(p=N.cache,Ki(s,Dn,p),p!==w.cache&&qt(s,[Dn],c,!0),tl(),p=N.element,w.isDehydrated)if(w={element:p,isDehydrated:!1,cache:N.cache},s.updateQueue.baseState=w,s.memoizedState=w,s.flags&256){s=sp(r,s,p,c);break e}else if(p!==x){x=ci(Error(o(424)),s),Xo(x),s=sp(r,s,p,c);break e}else{switch(r=s.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(rn=Nl(r.firstChild),kn=s,Yt=!0,fi=null,di=!0,c=oo(s,null,p,c),s.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling}else{if(sf(),p===x){s=co(r,s,c);break e}$n(r,s,p,c)}s=s.child}return s;case 26:return dt(r,s),r===null?(c=Lv(s.type,null,s.pendingProps,null))?s.memoizedState=c:Yt||(c=s.type,r=s.pendingProps,p=Bi(Ue.current).createElement(c),p[pa]=s,p[Ei]=r,Tt(p,c,r),Oa(p),s.stateNode=p):s.memoizedState=Lv(s.type,r.memoizedProps,s.pendingProps,r.memoizedState),null;case 27:return yt(s),r===null&&Yt&&(p=s.stateNode=Ke(s.type,s.pendingProps,Ue.current),kn=s,di=!0,x=rn,sl(s.type)?(su=x,rn=Nl(p.firstChild)):rn=x),$n(r,s,s.pendingProps.children,c),dt(r,s),r===null&&(s.flags|=4194304),s.child;case 5:return r===null&&Yt&&((x=p=rn)&&(p=dc(p,s.type,s.pendingProps,di),p!==null?(s.stateNode=p,kn=s,rn=Nl(p.firstChild),di=!1,x=!0):x=!1),x||Zi(s)),yt(s),x=s.type,w=s.pendingProps,N=r!==null?r.memoizedProps:null,p=w.children,Rl(x,w)?p=null:N!==null&&Rl(x,N)&&(s.flags|=32),s.memoizedState!==null&&(x=qm(r,s,Gm,null,null,c),$i._currentValue=x),dt(r,s),$n(r,s,p,c),s.child;case 6:return r===null&&Yt&&((r=c=rn)&&(c=jp(c,s.pendingProps,di),c!==null?(s.stateNode=c,kn=s,rn=null,r=!0):r=!1),r||Zi(s)),null;case 13:return o0(r,s,c);case 4:return We(s,s.stateNode.containerInfo),p=s.pendingProps,r===null?s.child=Zs(s,null,p,c):$n(r,s,p,c),s.child;case 11:return op(r,s,s.type,s.pendingProps,c);case 7:return $n(r,s,s.pendingProps,c),s.child;case 8:return $n(r,s,s.pendingProps.children,c),s.child;case 12:return $n(r,s,s.pendingProps.children,c),s.child;case 10:return p=s.pendingProps,Ki(s,s.type,p.value),$n(r,s,p.children,c),s.child;case 9:return x=s.type._context,p=s.pendingProps.children,Hs(s),x=Gn(x),p=p(x),s.flags|=1,$n(r,s,p,c),s.child;case 14:return Ol(r,s,s.type,s.pendingProps,c);case 15:return is(r,s,s.type,s.pendingProps,c);case 19:return dp(r,s,c);case 31:return p=s.pendingProps,c=s.mode,p={mode:p.mode,children:p.children},r===null?(c=uh(p,c),c.ref=s.ref,s.child=c,c.return=s,s=c):(c=Ka(r.child,p),c.ref=s.ref,s.child=c,c.return=s,s=c),s;case 22:return ec(r,s,c);case 24:return Hs(s),p=Gn(Dn),r===null?(x=Sl(),x===null&&(x=_n,w=ff(),x.pooledCache=w,w.refCount++,w!==null&&(x.pooledCacheLanes|=c),x=w),s.memoizedState={parent:p,cache:x},Ys(s),Ki(s,Dn,x)):((r.lanes&c)!==0&&(qu(r,s),ga(s,null,null,c),tl()),x=r.memoizedState,w=s.memoizedState,x.parent!==p?(x={parent:p,cache:p},s.memoizedState=x,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=x),Ki(s,Dn,p)):(p=w.cache,Ki(s,Dn,p),p!==x.cache&&qt(s,[Dn],c,!0))),$n(r,s,s.pendingProps.children,c),s.child;case 29:throw s.pendingProps}throw Error(o(156,s.tag))}function fo(r){r.flags|=4}function Ws(r,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!Sa(s)){if(s=nr.current,s!==null&&((Xt&4194048)===Xt?da!==null:(Xt&62914560)!==Xt&&(Xt&536870912)===0||s!==da))throw ks=$m,jm;r.flags|=8192}}function ch(r,s){s!==null&&(r.flags|=4),r.flags&16384&&(s=r.tag!==22?wu():536870912,r.lanes|=s,_f|=s)}function Of(r,s){if(!Yt)switch(r.tailMode){case"hidden":s=r.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?r.tail=null:c.sibling=null;break;case"collapsed":c=r.tail;for(var p=null;c!==null;)c.alternate!==null&&(p=c),c=c.sibling;p===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:p.sibling=null}}function mt(r){var s=r.alternate!==null&&r.alternate.child===r.child,c=0,p=0;if(s)for(var x=r.child;x!==null;)c|=x.lanes|x.childLanes,p|=x.subtreeFlags&65011712,p|=x.flags&65011712,x.return=r,x=x.sibling;else for(x=r.child;x!==null;)c|=x.lanes|x.childLanes,p|=x.subtreeFlags,p|=x.flags,x.return=r,x=x.sibling;return r.subtreeFlags|=p,r.childLanes=c,s}function mp(r,s,c){var p=s.pendingProps;switch(Wr(s),s.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(s),null;case 1:return mt(s),null;case 3:return c=s.stateNode,p=null,r!==null&&(p=r.memoizedState.cache),s.memoizedState.cache!==p&&(s.flags|=2048),Er(Dn),it(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(r===null||r.child===null)&&(of(s)?fo(s):r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,Zg())),mt(s),null;case 26:return c=s.memoizedState,r===null?(fo(s),c!==null?(mt(s),Ws(s,c)):(mt(s),s.flags&=-16777217)):c?c!==r.memoizedState?(fo(s),mt(s),Ws(s,c)):(mt(s),s.flags&=-16777217):(r.memoizedProps!==p&&fo(s),mt(s),s.flags&=-16777217),null;case 27:un(s),c=Ue.current;var x=s.type;if(r!==null&&s.stateNode!=null)r.memoizedProps!==p&&fo(s);else{if(!p){if(s.stateNode===null)throw Error(o(166));return mt(s),null}r=Ye.current,of(s)?Hd(s):(r=Ke(x,p,c),s.stateNode=r,fo(s))}return mt(s),null;case 5:if(un(s),c=s.type,r!==null&&s.stateNode!=null)r.memoizedProps!==p&&fo(s);else{if(!p){if(s.stateNode===null)throw Error(o(166));return mt(s),null}if(r=Ye.current,of(s))Hd(s);else{switch(x=Bi(Ue.current),r){case 1:r=x.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:r=x.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":r=x.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":r=x.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":r=x.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof p.is=="string"?x.createElement("select",{is:p.is}):x.createElement("select"),p.multiple?r.multiple=!0:p.size&&(r.size=p.size);break;default:r=typeof p.is=="string"?x.createElement(c,{is:p.is}):x.createElement(c)}}r[pa]=s,r[Ei]=p;e:for(x=s.child;x!==null;){if(x.tag===5||x.tag===6)r.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===s)break e;for(;x.sibling===null;){if(x.return===null||x.return===s)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}s.stateNode=r;e:switch(Tt(r,c,p),c){case"button":case"input":case"select":case"textarea":r=!!p.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&fo(s)}}return mt(s),s.flags&=-16777217,null;case 6:if(r&&s.stateNode!=null)r.memoizedProps!==p&&fo(s);else{if(typeof p!="string"&&s.stateNode===null)throw Error(o(166));if(r=Ue.current,of(s)){if(r=s.stateNode,c=s.memoizedProps,p=null,x=kn,x!==null)switch(x.tag){case 27:case 5:p=x.memoizedProps}r[pa]=s,r=!!(r.nodeValue===c||p!==null&&p.suppressHydrationWarning===!0||z0(r.nodeValue,c)),r||Zi(s)}else r=Bi(r).createTextNode(p),r[pa]=s,s.stateNode=r}return mt(s),null;case 13:if(p=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(x=of(s),p!==null&&p.dehydrated!==null){if(r===null){if(!x)throw Error(o(318));if(x=s.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(o(317));x[pa]=s}else sf(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;mt(s),x=!1}else x=Zg(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=x),x=!0;if(!x)return s.flags&256?(al(s),s):(al(s),null)}if(al(s),(s.flags&128)!==0)return s.lanes=c,s;if(c=p!==null,r=r!==null&&r.memoizedState!==null,c){p=s.child,x=null,p.alternate!==null&&p.alternate.memoizedState!==null&&p.alternate.memoizedState.cachePool!==null&&(x=p.alternate.memoizedState.cachePool.pool);var w=null;p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(w=p.memoizedState.cachePool.pool),w!==x&&(p.flags|=2048)}return c!==r&&c&&(s.child.flags|=8192),ch(s,s.updateQueue),mt(s),null;case 4:return it(),r===null&&N0(s.stateNode.containerInfo),mt(s),null;case 10:return Er(s.type),mt(s),null;case 19:if(Ae(yn),x=s.memoizedState,x===null)return mt(s),null;if(p=(s.flags&128)!==0,w=x.rendering,w===null)if(p)Of(x,!1);else{if(ra!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(w=Tf(r),w!==null){for(s.flags|=128,Of(x,!1),r=w.updateQueue,s.updateQueue=r,ch(s,r),s.subtreeFlags=0,r=c,c=s.child;c!==null;)Dt(c,r),c=c.sibling;return je(yn,yn.current&1|2),s.child}r=r.sibling}x.tail!==null&&gn()>zf&&(s.flags|=128,p=!0,Of(x,!1),s.lanes=4194304)}else{if(!p)if(r=Tf(w),r!==null){if(s.flags|=128,p=!0,r=r.updateQueue,s.updateQueue=r,ch(s,r),Of(x,!0),x.tail===null&&x.tailMode==="hidden"&&!w.alternate&&!Yt)return mt(s),null}else 2*gn()-x.renderingStartTime>zf&&c!==536870912&&(s.flags|=128,p=!0,Of(x,!1),s.lanes=4194304);x.isBackwards?(w.sibling=s.child,s.child=w):(r=x.last,r!==null?r.sibling=w:s.child=w,x.last=w)}return x.tail!==null?(s=x.tail,x.rendering=s,x.tail=s.sibling,x.renderingStartTime=gn(),s.sibling=null,r=yn.current,je(yn,p?r&1|2:r&1),s):(mt(s),null);case 22:case 23:return al(s),hf(),p=s.memoizedState!==null,r!==null?r.memoizedState!==null!==p&&(s.flags|=8192):p&&(s.flags|=8192),p?(c&536870912)!==0&&(s.flags&128)===0&&(mt(s),s.subtreeFlags&6&&(s.flags|=8192)):mt(s),c=s.updateQueue,c!==null&&ch(s,c.retryQueue),c=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(c=r.memoizedState.cachePool.pool),p=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(p=s.memoizedState.cachePool.pool),p!==c&&(s.flags|=2048),r!==null&&Ae(no),null;case 24:return c=null,r!==null&&(c=r.memoizedState.cache),s.memoizedState.cache!==c&&(s.flags|=2048),Er(Dn),mt(s),null;case 25:return null;case 30:return null}throw Error(o(156,s.tag))}function xv(r,s){switch(Wr(s),s.tag){case 1:return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return Er(Dn),it(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 26:case 27:case 5:return un(s),null;case 13:if(al(s),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(o(340));sf()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return Ae(yn),null;case 4:return it(),null;case 10:return Er(s.type),null;case 22:case 23:return al(s),hf(),r!==null&&Ae(no),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 24:return Er(Dn),null;case 25:return null;default:return null}}function s0(r,s){switch(Wr(s),s.tag){case 3:Er(Dn),it();break;case 26:case 27:case 5:un(s);break;case 4:it();break;case 13:al(s);break;case 19:Ae(yn);break;case 10:Er(s.type);break;case 22:case 23:al(s),hf(),r!==null&&Ae(no);break;case 24:Er(Dn)}}function fh(r,s){try{var c=s.updateQueue,p=c!==null?c.lastEffect:null;if(p!==null){var x=p.next;c=x;do{if((c.tag&r)===r){p=void 0;var w=c.create,N=c.inst;p=w(),N.destroy=p}c=c.next}while(c!==x)}}catch($){Cn(s,s.return,$)}}function Js(r,s,c){try{var p=s.updateQueue,x=p!==null?p.lastEffect:null;if(x!==null){var w=x.next;p=w;do{if((p.tag&r)===r){var N=p.inst,$=N.destroy;if($!==void 0){N.destroy=void 0,x=s;var Z=c,de=$;try{de()}catch(De){Cn(x,Z,De)}}}p=p.next}while(p!==w)}}catch(De){Cn(s,s.return,De)}}function pp(r){var s=r.updateQueue;if(s!==null){var c=r.stateNode;try{df(s,c)}catch(p){Cn(r,r.return,p)}}}function gp(r,s,c){c.props=as(r.type,r.memoizedProps),c.state=r.memoizedState;try{c.componentWillUnmount()}catch(p){Cn(r,s,p)}}function nc(r,s){try{var c=r.ref;if(c!==null){switch(r.tag){case 26:case 27:case 5:var p=r.stateNode;break;case 30:p=r.stateNode;break;default:p=r.stateNode}typeof c=="function"?r.refCleanup=c(p):c.current=p}}catch(x){Cn(r,s,x)}}function Ml(r,s){var c=r.ref,p=r.refCleanup;if(c!==null)if(typeof p=="function")try{p()}catch(x){Cn(r,s,x)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof c=="function")try{c(null)}catch(x){Cn(r,s,x)}else c.current=null}function eu(r){var s=r.type,c=r.memoizedProps,p=r.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":c.autoFocus&&p.focus();break e;case"img":c.src?p.src=c.src:c.srcSet&&(p.srcset=c.srcSet)}}catch(x){Cn(r,r.return,x)}}function yp(r,s,c){try{var p=r.stateNode;Db(p,r.type,c,s),p[Ei]=s}catch(x){Cn(r,r.return,x)}}function Mf(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&sl(r.type)||r.tag===4}function ir(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Mf(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&sl(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function tu(r,s,c){var p=r.tag;if(p===5||p===6)r=r.stateNode,s?(c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c).insertBefore(r,s):(s=c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c,s.appendChild(r),c=c._reactRootContainer,c!=null||s.onclick!==null||(s.onclick=Vp));else if(p!==4&&(p===27&&sl(r.type)&&(c=r.stateNode,s=null),r=r.child,r!==null))for(tu(r,s,c),r=r.sibling;r!==null;)tu(r,s,c),r=r.sibling}function dh(r,s,c){var p=r.tag;if(p===5||p===6)r=r.stateNode,s?c.insertBefore(r,s):c.appendChild(r);else if(p!==4&&(p===27&&sl(r.type)&&(c=r.stateNode),r=r.child,r!==null))for(dh(r,s,c),r=r.sibling;r!==null;)dh(r,s,c),r=r.sibling}function ac(r){var s=r.stateNode,c=r.memoizedProps;try{for(var p=r.type,x=s.attributes;x.length;)s.removeAttributeNode(x[0]);Tt(s,p,c),s[pa]=r,s[Ei]=c}catch(w){Cn(r,r.return,w)}}var Dl=!1,vn=!1,ho=!1,vp=typeof WeakSet=="function"?WeakSet:Set,ba=null;function u0(r,s){if(r=r.containerInfo,Dr=Mh,r=Ig(r),Vd(r)){if("selectionStart"in r)var c={start:r.selectionStart,end:r.selectionEnd};else e:{c=(c=r.ownerDocument)&&c.defaultView||window;var p=c.getSelection&&c.getSelection();if(p&&p.rangeCount!==0){c=p.anchorNode;var x=p.anchorOffset,w=p.focusNode;p=p.focusOffset;try{c.nodeType,w.nodeType}catch{c=null;break e}var N=0,$=-1,Z=-1,de=0,De=0,Ne=r,ye=null;t:for(;;){for(var he;Ne!==c||x!==0&&Ne.nodeType!==3||($=N+x),Ne!==w||p!==0&&Ne.nodeType!==3||(Z=N+p),Ne.nodeType===3&&(N+=Ne.nodeValue.length),(he=Ne.firstChild)!==null;)ye=Ne,Ne=he;for(;;){if(Ne===r)break t;if(ye===c&&++de===x&&($=N),ye===w&&++De===p&&(Z=N),(he=Ne.nextSibling)!==null)break;Ne=ye,ye=Ne.parentNode}Ne=he}c=$===-1||Z===-1?null:{start:$,end:Z}}else c=null}c=c||{start:0,end:0}}else c=null;for(Pf={focusedElem:r,selectionRange:c},Mh=!1,ba=s;ba!==null;)if(s=ba,r=s.child,(s.subtreeFlags&1024)!==0&&r!==null)r.return=s,ba=r;else for(;ba!==null;){switch(s=ba,w=s.alternate,r=s.flags,s.tag){case 0:break;case 11:case 15:break;case 1:if((r&1024)!==0&&w!==null){r=void 0,c=s,x=w.memoizedProps,w=w.memoizedState,p=c.stateNode;try{var ft=as(c.type,x,c.elementType===c.type);r=p.getSnapshotBeforeUpdate(ft,w),p.__reactInternalSnapshotBeforeUpdate=r}catch(pt){Cn(c,c.return,pt)}}break;case 3:if((r&1024)!==0){if(r=s.stateNode.containerInfo,c=r.nodeType,c===9)Ah(r);else if(c===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Ah(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(o(163))}if(r=s.sibling,r!==null){r.return=s.return,ba=r;break}ba=s.return}}function c0(r,s,c){var p=c.flags;switch(c.tag){case 0:case 11:case 15:po(r,c),p&4&&fh(5,c);break;case 1:if(po(r,c),p&4)if(r=c.stateNode,s===null)try{r.componentDidMount()}catch(N){Cn(c,c.return,N)}else{var x=as(c.type,s.memoizedProps);s=s.memoizedState;try{r.componentDidUpdate(x,s,r.__reactInternalSnapshotBeforeUpdate)}catch(N){Cn(c,c.return,N)}}p&64&&pp(c),p&512&&nc(c,c.return);break;case 3:if(po(r,c),p&64&&(r=c.updateQueue,r!==null)){if(s=null,c.child!==null)switch(c.child.tag){case 27:case 5:s=c.child.stateNode;break;case 1:s=c.child.stateNode}try{df(r,s)}catch(N){Cn(c,c.return,N)}}break;case 27:s===null&&p&4&&ac(c);case 26:case 5:po(r,c),s===null&&p&4&&eu(c),p&512&&nc(c,c.return);break;case 12:po(r,c);break;case 13:po(r,c),p&4&&bp(r,c),p&64&&(r=c.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(c=Np.bind(null,c),qf(r,c))));break;case 22:if(p=c.memoizedState!==null||Dl,!p){s=s!==null&&s.memoizedState!==null||vn,x=Dl;var w=vn;Dl=p,(vn=s)&&!w?rs(r,c,(c.subtreeFlags&8772)!==0):po(r,c),Dl=x,vn=w}break;case 30:break;default:po(r,c)}}function f0(r){var s=r.alternate;s!==null&&(r.alternate=null,f0(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&yd(s)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var In=null,Wa=!1;function mo(r,s,c){for(c=c.child;c!==null;)Gt(r,s,c),c=c.sibling}function Gt(r,s,c){if(tt&&typeof tt.onCommitFiberUnmount=="function")try{tt.onCommitFiberUnmount(Vo,c)}catch{}switch(c.tag){case 26:vn||Ml(c,s),mo(r,s,c),c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:vn||Ml(c,s);var p=In,x=Wa;sl(c.type)&&(In=c.stateNode,Wa=!1),mo(r,s,c),sr(c.stateNode),In=p,Wa=x;break;case 5:vn||Ml(c,s);case 6:if(p=In,x=Wa,In=null,mo(r,s,c),In=p,Wa=x,In!==null)if(Wa)try{(In.nodeType===9?In.body:In.nodeName==="HTML"?In.ownerDocument.body:In).removeChild(c.stateNode)}catch(w){Cn(c,s,w)}else try{In.removeChild(c.stateNode)}catch(w){Cn(c,s,w)}break;case 18:In!==null&&(Wa?(r=In,Yf(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,c.stateNode),Ao(r)):Yf(In,c.stateNode));break;case 4:p=In,x=Wa,In=c.stateNode.containerInfo,Wa=!0,mo(r,s,c),In=p,Wa=x;break;case 0:case 11:case 14:case 15:vn||Js(2,c,s),vn||Js(4,c,s),mo(r,s,c);break;case 1:vn||(Ml(c,s),p=c.stateNode,typeof p.componentWillUnmount=="function"&&gp(c,s,p)),mo(r,s,c);break;case 21:mo(r,s,c);break;case 22:vn=(p=vn)||c.memoizedState!==null,mo(r,s,c),vn=p;break;default:mo(r,s,c)}}function bp(r,s){if(s.memoizedState===null&&(r=s.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Ao(r)}catch(c){Cn(s,s.return,c)}}function d0(r){switch(r.tag){case 13:case 19:var s=r.stateNode;return s===null&&(s=r.stateNode=new vp),s;case 22:return r=r.stateNode,s=r._retryCache,s===null&&(s=r._retryCache=new vp),s;default:throw Error(o(435,r.tag))}}function Sp(r,s){var c=d0(r);s.forEach(function(p){var x=Ob.bind(null,r,p);c.has(p)||(c.add(p),p.then(x,x))})}function Ui(r,s){var c=s.deletions;if(c!==null)for(var p=0;p<c.length;p++){var x=c[p],w=r,N=s,$=N;e:for(;$!==null;){switch($.tag){case 27:if(sl($.type)){In=$.stateNode,Wa=!1;break e}break;case 5:In=$.stateNode,Wa=!1;break e;case 3:case 4:In=$.stateNode.containerInfo,Wa=!0;break e}$=$.return}if(In===null)throw Error(o(160));Gt(w,N,x),In=null,Wa=!1,w=x.alternate,w!==null&&(w.return=null),x.return=null}if(s.subtreeFlags&13878)for(s=s.child;s!==null;)Df(s,r),s=s.sibling}var gi=null;function Df(r,s){var c=r.alternate,p=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:Ui(s,r),_a(r),p&4&&(Js(3,r,r.return),fh(3,r),Js(5,r,r.return));break;case 1:Ui(s,r),_a(r),p&512&&(vn||c===null||Ml(c,c.return)),p&64&&Dl&&(r=r.updateQueue,r!==null&&(p=r.callbacks,p!==null&&(c=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=c===null?p:c.concat(p))));break;case 26:var x=gi;if(Ui(s,r),_a(r),p&512&&(vn||c===null||Ml(c,c.return)),p&4){var w=c!==null?c.memoizedState:null;if(p=r.memoizedState,c===null)if(p===null)if(r.stateNode===null){e:{p=r.type,c=r.memoizedProps,x=x.ownerDocument||x;t:switch(p){case"title":w=x.getElementsByTagName("title")[0],(!w||w[rt]||w[pa]||w.namespaceURI==="http://www.w3.org/2000/svg"||w.hasAttribute("itemprop"))&&(w=x.createElement(p),x.head.insertBefore(w,x.querySelector("head > title"))),Tt(w,p,c),w[pa]=r,Oa(w),p=w;break e;case"link":var N=U0("link","href",x).get(p+(c.href||""));if(N){for(var $=0;$<N.length;$++)if(w=N[$],w.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&w.getAttribute("rel")===(c.rel==null?null:c.rel)&&w.getAttribute("title")===(c.title==null?null:c.title)&&w.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){N.splice($,1);break t}}w=x.createElement(p),Tt(w,p,c),x.head.appendChild(w);break;case"meta":if(N=U0("meta","content",x).get(p+(c.content||""))){for($=0;$<N.length;$++)if(w=N[$],w.getAttribute("content")===(c.content==null?null:""+c.content)&&w.getAttribute("name")===(c.name==null?null:c.name)&&w.getAttribute("property")===(c.property==null?null:c.property)&&w.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&w.getAttribute("charset")===(c.charSet==null?null:c.charSet)){N.splice($,1);break t}}w=x.createElement(p),Tt(w,p,c),x.head.appendChild(w);break;default:throw Error(o(468,p))}w[pa]=r,Oa(w),p=w}r.stateNode=p}else V0(x,r.type,r.stateNode);else r.stateNode=Vv(x,p,r.memoizedProps);else w!==p?(w===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):w.count--,p===null?V0(x,r.type,r.stateNode):Vv(x,p,r.memoizedProps)):p===null&&r.stateNode!==null&&yp(r,r.memoizedProps,c.memoizedProps)}break;case 27:Ui(s,r),_a(r),p&512&&(vn||c===null||Ml(c,c.return)),c!==null&&p&4&&yp(r,r.memoizedProps,c.memoizedProps);break;case 5:if(Ui(s,r),_a(r),p&512&&(vn||c===null||Ml(c,c.return)),r.flags&32){x=r.stateNode;try{Ls(x,"")}catch(he){Cn(r,r.return,he)}}p&4&&r.stateNode!=null&&(x=r.memoizedProps,yp(r,x,c!==null?c.memoizedProps:x)),p&1024&&(ho=!0);break;case 6:if(Ui(s,r),_a(r),p&4){if(r.stateNode===null)throw Error(o(162));p=r.memoizedProps,c=r.stateNode;try{c.nodeValue=p}catch(he){Cn(r,r.return,he)}}break;case 3:if(Eo=null,x=gi,gi=Ot(s.containerInfo),Ui(s,r),gi=x,_a(r),p&4&&c!==null&&c.memoizedState.isDehydrated)try{Ao(s.containerInfo)}catch(he){Cn(r,r.return,he)}ho&&(ho=!1,h0(r));break;case 4:p=gi,gi=Ot(r.stateNode.containerInfo),Ui(s,r),_a(r),gi=p;break;case 12:Ui(s,r),_a(r);break;case 13:Ui(s,r),_a(r),r.child.flags&8192&&r.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(x0=gn()),p&4&&(p=r.updateQueue,p!==null&&(r.updateQueue=null,Sp(r,p)));break;case 22:x=r.memoizedState!==null;var Z=c!==null&&c.memoizedState!==null,de=Dl,De=vn;if(Dl=de||x,vn=De||Z,Ui(s,r),vn=De,Dl=de,_a(r),p&8192)e:for(s=r.stateNode,s._visibility=x?s._visibility&-2:s._visibility|1,x&&(c===null||Z||Dl||vn||Fn(r)),c=null,s=r;;){if(s.tag===5||s.tag===26){if(c===null){Z=c=s;try{if(w=Z.stateNode,x)N=w.style,typeof N.setProperty=="function"?N.setProperty("display","none","important"):N.display="none";else{$=Z.stateNode;var Ne=Z.memoizedProps.style,ye=Ne!=null&&Ne.hasOwnProperty("display")?Ne.display:null;$.style.display=ye==null||typeof ye=="boolean"?"":(""+ye).trim()}}catch(he){Cn(Z,Z.return,he)}}}else if(s.tag===6){if(c===null){Z=s;try{Z.stateNode.nodeValue=x?"":Z.memoizedProps}catch(he){Cn(Z,Z.return,he)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===r)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break e;for(;s.sibling===null;){if(s.return===null||s.return===r)break e;c===s&&(c=null),s=s.return}c===s&&(c=null),s.sibling.return=s.return,s=s.sibling}p&4&&(p=r.updateQueue,p!==null&&(c=p.retryQueue,c!==null&&(p.retryQueue=null,Sp(r,c))));break;case 19:Ui(s,r),_a(r),p&4&&(p=r.updateQueue,p!==null&&(r.updateQueue=null,Sp(r,p)));break;case 30:break;case 21:break;default:Ui(s,r),_a(r)}}function _a(r){var s=r.flags;if(s&2){try{for(var c,p=r.return;p!==null;){if(Mf(p)){c=p;break}p=p.return}if(c==null)throw Error(o(160));switch(c.tag){case 27:var x=c.stateNode,w=ir(r);dh(r,w,x);break;case 5:var N=c.stateNode;c.flags&32&&(Ls(N,""),c.flags&=-33);var $=ir(r);dh(r,$,N);break;case 3:case 4:var Z=c.stateNode.containerInfo,de=ir(r);tu(r,de,Z);break;default:throw Error(o(161))}}catch(De){Cn(r,r.return,De)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function h0(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var s=r;h0(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),r=r.sibling}}function po(r,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)c0(r,s.alternate,s),s=s.sibling}function Fn(r){for(r=r.child;r!==null;){var s=r;switch(s.tag){case 0:case 11:case 14:case 15:Js(4,s,s.return),Fn(s);break;case 1:Ml(s,s.return);var c=s.stateNode;typeof c.componentWillUnmount=="function"&&gp(s,s.return,c),Fn(s);break;case 27:sr(s.stateNode);case 26:case 5:Ml(s,s.return),Fn(s);break;case 22:s.memoizedState===null&&Fn(s);break;case 30:Fn(s);break;default:Fn(s)}r=r.sibling}}function rs(r,s,c){for(c=c&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var p=s.alternate,x=r,w=s,N=w.flags;switch(w.tag){case 0:case 11:case 15:rs(x,w,c),fh(4,w);break;case 1:if(rs(x,w,c),p=w,x=p.stateNode,typeof x.componentDidMount=="function")try{x.componentDidMount()}catch(de){Cn(p,p.return,de)}if(p=w,x=p.updateQueue,x!==null){var $=p.stateNode;try{var Z=x.shared.hiddenCallbacks;if(Z!==null)for(x.shared.hiddenCallbacks=null,x=0;x<Z.length;x++)km(Z[x],$)}catch(de){Cn(p,p.return,de)}}c&&N&64&&pp(w),nc(w,w.return);break;case 27:ac(w);case 26:case 5:rs(x,w,c),c&&p===null&&N&4&&eu(w),nc(w,w.return);break;case 12:rs(x,w,c);break;case 13:rs(x,w,c),c&&N&4&&bp(x,w);break;case 22:w.memoizedState===null&&rs(x,w,c),nc(w,w.return);break;case 30:break;default:rs(x,w,c)}s=s.sibling}}function ll(r,s){var c=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(c=r.memoizedState.cachePool.pool),r=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(r=s.memoizedState.cachePool.pool),r!==c&&(r!=null&&r.refCount++,c!=null&&to(c))}function xp(r,s){r=null,s.alternate!==null&&(r=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==r&&(s.refCount++,r!=null&&to(r))}function Ja(r,s,c,p){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)m0(r,s,c,p),s=s.sibling}function m0(r,s,c,p){var x=s.flags;switch(s.tag){case 0:case 11:case 15:Ja(r,s,c,p),x&2048&&fh(9,s);break;case 1:Ja(r,s,c,p);break;case 3:Ja(r,s,c,p),x&2048&&(r=null,s.alternate!==null&&(r=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==r&&(s.refCount++,r!=null&&to(r)));break;case 12:if(x&2048){Ja(r,s,c,p),r=s.stateNode;try{var w=s.memoizedProps,N=w.id,$=w.onPostCommit;typeof $=="function"&&$(N,s.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(Z){Cn(s,s.return,Z)}}else Ja(r,s,c,p);break;case 13:Ja(r,s,c,p);break;case 23:break;case 22:w=s.stateNode,N=s.alternate,s.memoizedState!==null?w._visibility&2?Ja(r,s,c,p):mn(r,s):w._visibility&2?Ja(r,s,c,p):(w._visibility|=2,ls(r,s,c,p,(s.subtreeFlags&10256)!==0)),x&2048&&ll(N,s);break;case 24:Ja(r,s,c,p),x&2048&&xp(s.alternate,s);break;default:Ja(r,s,c,p)}}function ls(r,s,c,p,x){for(x=x&&(s.subtreeFlags&10256)!==0,s=s.child;s!==null;){var w=r,N=s,$=c,Z=p,de=N.flags;switch(N.tag){case 0:case 11:case 15:ls(w,N,$,Z,x),fh(8,N);break;case 23:break;case 22:var De=N.stateNode;N.memoizedState!==null?De._visibility&2?ls(w,N,$,Z,x):mn(w,N):(De._visibility|=2,ls(w,N,$,Z,x)),x&&de&2048&&ll(N.alternate,N);break;case 24:ls(w,N,$,Z,x),x&&de&2048&&xp(N.alternate,N);break;default:ls(w,N,$,Z,x)}s=s.sibling}}function mn(r,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var c=r,p=s,x=p.flags;switch(p.tag){case 22:mn(c,p),x&2048&&ll(p.alternate,p);break;case 24:mn(c,p),x&2048&&xp(p.alternate,p);break;default:mn(c,p)}s=s.sibling}}var $a=8192;function ia(r){if(r.subtreeFlags&$a)for(r=r.child;r!==null;)Tv(r),r=r.sibling}function Tv(r){switch(r.tag){case 26:ia(r),r.flags&$a&&r.memoizedState!==null&&$v(gi,r.memoizedState,r.memoizedProps);break;case 5:ia(r);break;case 3:case 4:var s=gi;gi=Ot(r.stateNode.containerInfo),ia(r),gi=s;break;case 22:r.memoizedState===null&&(s=r.alternate,s!==null&&s.memoizedState!==null?(s=$a,$a=16777216,ia(r),$a=s):ia(r));break;default:ia(r)}}function p0(r){var s=r.alternate;if(s!==null&&(r=s.child,r!==null)){s.child=null;do s=r.sibling,r.sibling=null,r=s;while(r!==null)}}function nu(r){var s=r.deletions;if((r.flags&16)!==0){if(s!==null)for(var c=0;c<s.length;c++){var p=s[c];ba=p,y0(p,r)}p0(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)g0(r),r=r.sibling}function g0(r){switch(r.tag){case 0:case 11:case 15:nu(r),r.flags&2048&&Js(9,r,r.return);break;case 3:nu(r);break;case 12:nu(r);break;case 22:var s=r.stateNode;r.memoizedState!==null&&s._visibility&2&&(r.return===null||r.return.tag!==13)?(s._visibility&=-3,Vi(r)):nu(r);break;default:nu(r)}}function Vi(r){var s=r.deletions;if((r.flags&16)!==0){if(s!==null)for(var c=0;c<s.length;c++){var p=s[c];ba=p,y0(p,r)}p0(r)}for(r=r.child;r!==null;){switch(s=r,s.tag){case 0:case 11:case 15:Js(8,s,s.return),Vi(s);break;case 22:c=s.stateNode,c._visibility&2&&(c._visibility&=-3,Vi(s));break;default:Vi(s)}r=r.sibling}}function y0(r,s){for(;ba!==null;){var c=ba;switch(c.tag){case 0:case 11:case 15:Js(8,c,s);break;case 23:case 22:if(c.memoizedState!==null&&c.memoizedState.cachePool!==null){var p=c.memoizedState.cachePool.pool;p!=null&&p.refCount++}break;case 24:to(c.memoizedState.cache)}if(p=c.child,p!==null)p.return=c,ba=p;else e:for(c=r;ba!==null;){p=ba;var x=p.sibling,w=p.return;if(f0(p),p===c){ba=null;break e}if(x!==null){x.return=w,ba=x;break e}ba=w}}}var v0={getCacheForType:function(r){var s=Gn(Dn),c=s.data.get(r);return c===void 0&&(c=r(),s.data.set(r,c)),c}},Tp=typeof WeakMap=="function"?WeakMap:Map,bn=0,_n=null,Ft=null,Xt=0,xn=0,rr=null,go=!1,Rf=!1,b0=!1,os=0,ra=0,ss=0,ic=0,yo=0,ol=0,_f=0,Nf=null,lr=null,S0=!1,x0=0,zf=1/0,rc=null,au=null,ei=0,vo=null,Lf=null,ti=0,Ep=0,Ap=null,T0=null,lc=0,E0=null;function yi(){if((bn&2)!==0&&Xt!==0)return Xt&-Xt;if(F.T!==null){var r=Jr;return r!==0?r:lu()}return nv()}function A0(){ol===0&&(ol=(Xt&536870912)===0||Yt?Cs():536870912);var r=nr.current;return r!==null&&(r.flags|=32),ol}function Or(r,s,c){(r===_n&&(xn===2||xn===9)||r.cancelPendingCommit!==null)&&(bo(r,0),us(r,Xt,ol,!1)),Os(r,c),((bn&2)===0||r!==_n)&&(r===_n&&((bn&2)===0&&(ic|=c),ra===4&&us(r,Xt,ol,!1)),or(r))}function Uf(r,s,c){if((bn&6)!==0)throw Error(o(327));var p=!c&&(s&124)===0&&(s&r.expiredLanes)===0||Hr(r,s),x=p?C0(r,s):wp(r,s,!0),w=p;do{if(x===0){Rf&&!p&&us(r,s,0,!1);break}else{if(c=r.current.alternate,w&&!Ev(c)){x=wp(r,s,!1),w=!1;continue}if(x===2){if(w=s,r.errorRecoveryDisabledLanes&w)var N=0;else N=r.pendingLanes&-536870913,N=N!==0?N:N&536870912?536870912:0;if(N!==0){s=N;e:{var $=r;x=Nf;var Z=$.current.memoizedState.isDehydrated;if(Z&&(bo($,N).flags|=256),N=wp($,N,!1),N!==2){if(b0&&!Z){$.errorRecoveryDisabledLanes|=w,ic|=w,x=4;break e}w=lr,lr=x,w!==null&&(lr===null?lr=w:lr.push.apply(lr,w))}x=N}if(w=!1,x!==2)continue}}if(x===1){bo(r,0),us(r,s,0,!0);break}e:{switch(p=r,w=x,w){case 0:case 1:throw Error(o(345));case 4:if((s&4194048)!==s)break;case 6:us(p,s,ol,!go);break e;case 2:lr=null;break;case 3:case 5:break;default:throw Error(o(329))}if((s&62914560)===s&&(x=x0+300-gn(),10<x)){if(us(p,s,ol,!go),ql(p,0,!0)!==0)break e;p.timeoutHandle=Bp(hh.bind(null,p,c,lr,rc,S0,s,ol,ic,_f,go,w,2,-0,0),x);break e}hh(p,c,lr,rc,S0,s,ol,ic,_f,go,w,0,-0,0)}}break}while(!0);or(r)}function hh(r,s,c,p,x,w,N,$,Z,de,De,Ne,ye,he){if(r.timeoutHandle=-1,Ne=s.subtreeFlags,(Ne&8192||(Ne&16785408)===16785408)&&(Na={stylesheets:null,count:0,unsuspend:jv},Tv(s),Ne=B0(),Ne!==null)){r.cancelPendingCommit=Ne(ph.bind(null,r,s,w,c,p,x,N,$,Z,De,1,ye,he)),us(r,w,N,!de);return}ph(r,s,w,c,p,x,N,$,Z)}function Ev(r){for(var s=r;;){var c=s.tag;if((c===0||c===11||c===15)&&s.flags&16384&&(c=s.updateQueue,c!==null&&(c=c.stores,c!==null)))for(var p=0;p<c.length;p++){var x=c[p],w=x.getSnapshot;x=x.value;try{if(!Za(w(),x))return!1}catch{return!1}}if(c=s.child,s.subtreeFlags&16384&&c!==null)c.return=s,s=c;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function us(r,s,c,p){s&=~yo,s&=~ic,r.suspendedLanes|=s,r.pingedLanes&=~s,p&&(r.warmLanes|=s),p=r.expirationTimes;for(var x=s;0<x;){var w=31-En(x),N=1<<w;p[w]=-1,x&=~N}c!==0&&md(r,c,s)}function oc(){return(bn&6)===0?(bh(0),!1):!0}function iu(){if(Ft!==null){if(xn===0)var r=Ft.return;else r=Ft,j=eo=null,Fd(r),va=null,zi=0,r=Ft;for(;r!==null;)s0(r.alternate,r),r=r.return;Ft=null}}function bo(r,s){var c=r.timeoutHandle;c!==-1&&(r.timeoutHandle=-1,Rb(c)),c=r.cancelPendingCommit,c!==null&&(r.cancelPendingCommit=null,c()),iu(),_n=r,Ft=c=Ka(r.current,null),Xt=s,xn=0,rr=null,go=!1,Rf=Hr(r,s),b0=!1,_f=ol=yo=ic=ss=ra=0,lr=Nf=null,S0=!1,(s&8)!==0&&(s|=s&32);var p=r.entangledLanes;if(p!==0)for(r=r.entanglements,p&=s;0<p;){var x=31-En(p),w=1<<x;s|=r[x],p&=~w}return os=s,Fi(),c}function w0(r,s){Rt=null,F.H=rh,s===Ba||s===qd?(s=Qg(),xn=3):s===jm?(s=Qg(),xn=4):xn=s===aa?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,rr=s,Ft===null&&(ra=1,Af(r,ci(s,r.current)))}function Av(){var r=F.H;return F.H=rh,r===null?rh:r}function sc(){var r=F.A;return F.A=v0,r}function uc(){ra=4,go||(Xt&4194048)!==Xt&&nr.current!==null||(Rf=!0),(ss&134217727)===0&&(ic&134217727)===0||_n===null||us(_n,Xt,ol,!1)}function wp(r,s,c){var p=bn;bn|=2;var x=Av(),w=sc();(_n!==r||Xt!==s)&&(rc=null,bo(r,s)),s=!1;var N=ra;e:do try{if(xn!==0&&Ft!==null){var $=Ft,Z=rr;switch(xn){case 8:iu(),N=6;break e;case 3:case 2:case 9:case 6:nr.current===null&&(s=!0);var de=xn;if(xn=0,rr=null,Vf(r,$,Z,de),c&&Rf){N=0;break e}break;default:de=xn,xn=0,rr=null,Vf(r,$,Z,de)}}Cp(),N=ra;break}catch(De){w0(r,De)}while(!0);return s&&r.shellSuspendCounter++,j=eo=null,bn=p,F.H=x,F.A=w,Ft===null&&(_n=null,Xt=0,Fi()),N}function Cp(){for(;Ft!==null;)Mp(Ft)}function C0(r,s){var c=bn;bn|=2;var p=Av(),x=sc();_n!==r||Xt!==s?(rc=null,zf=gn()+500,bo(r,s)):Rf=Hr(r,s);e:do try{if(xn!==0&&Ft!==null){s=Ft;var w=rr;t:switch(xn){case 1:xn=0,rr=null,Vf(r,s,w,1);break;case 2:case 9:if(Hm(w)){xn=0,rr=null,O0(s);break}s=function(){xn!==2&&xn!==9||_n!==r||(xn=7),or(r)},w.then(s,s);break e;case 3:xn=7;break e;case 4:xn=5;break e;case 7:Hm(w)?(xn=0,rr=null,O0(s)):(xn=0,rr=null,Vf(r,s,w,7));break;case 5:var N=null;switch(Ft.tag){case 26:N=Ft.memoizedState;case 5:case 27:var $=Ft;if(!N||Sa(N)){xn=0,rr=null;var Z=$.sibling;if(Z!==null)Ft=Z;else{var de=$.return;de!==null?(Ft=de,mh(de)):Ft=null}break t}}xn=0,rr=null,Vf(r,s,w,5);break;case 6:xn=0,rr=null,Vf(r,s,w,6);break;case 8:iu(),ra=6;break e;default:throw Error(o(462))}}Op();break}catch(De){w0(r,De)}while(!0);return j=eo=null,F.H=p,F.A=x,bn=c,Ft!==null?0:(_n=null,Xt=0,Fi(),ra)}function Op(){for(;Ft!==null&&!wa();)Mp(Ft)}function Mp(r){var s=hp(r.alternate,r,os);r.memoizedProps=r.pendingProps,s===null?mh(r):Ft=s}function O0(r){var s=r,c=s.alternate;switch(s.tag){case 15:case 0:s=sh(c,s,s.pendingProps,s.type,void 0,Xt);break;case 11:s=sh(c,s,s.pendingProps,s.type.render,s.ref,Xt);break;case 5:Fd(s);default:s0(c,s),s=Ft=Dt(s,os),s=hp(c,s,os)}r.memoizedProps=r.pendingProps,s===null?mh(r):Ft=s}function Vf(r,s,c,p){j=eo=null,Fd(s),va=null,zi=0;var x=s.return;try{if(l0(r,x,s,c,Xt)){ra=1,Af(r,ci(c,r.current)),Ft=null;return}}catch(w){if(x!==null)throw Ft=x,w;ra=1,Af(r,ci(c,r.current)),Ft=null;return}s.flags&32768?(Yt||p===1?r=!0:Rf||(Xt&536870912)!==0?r=!1:(go=r=!0,(p===2||p===9||p===3||p===6)&&(p=nr.current,p!==null&&p.tag===13&&(p.flags|=16384))),wv(s,r)):mh(s)}function mh(r){var s=r;do{if((s.flags&32768)!==0){wv(s,go);return}r=s.return;var c=mp(s.alternate,s,os);if(c!==null){Ft=c;return}if(s=s.sibling,s!==null){Ft=s;return}Ft=s=r}while(s!==null);ra===0&&(ra=5)}function wv(r,s){do{var c=xv(r.alternate,r);if(c!==null){c.flags&=32767,Ft=c;return}if(c=r.return,c!==null&&(c.flags|=32768,c.subtreeFlags=0,c.deletions=null),!s&&(r=r.sibling,r!==null)){Ft=r;return}Ft=r=c}while(r!==null);ra=6,Ft=null}function ph(r,s,c,p,x,w,N,$,Z){r.cancelPendingCommit=null;do Rp();while(ei!==0);if((bn&6)!==0)throw Error(o(327));if(s!==null){if(s===r.current)throw Error(o(177));if(w=s.lanes|s.childLanes,w|=Ql,tv(r,c,w,N,$,Z),r===_n&&(Ft=_n=null,Xt=0),Lf=s,vo=r,ti=c,Ep=w,Ap=x,T0=p,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,Mv(Ia,function(){return M0(),null})):(r.callbackNode=null,r.callbackPriority=0),p=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||p){p=F.T,F.T=null,x=ne.p,ne.p=2,N=bn,bn|=4;try{u0(r,s,c)}finally{bn=N,ne.p=x,F.T=p}}ei=1,Cv(),gh(),Dp()}}function Cv(){if(ei===1){ei=0;var r=vo,s=Lf,c=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||c){c=F.T,F.T=null;var p=ne.p;ne.p=2;var x=bn;bn|=4;try{Df(s,r);var w=Pf,N=Ig(r.containerInfo),$=w.focusedElem,Z=w.selectionRange;if(N!==$&&$&&$.ownerDocument&&Ud($.ownerDocument.documentElement,$)){if(Z!==null&&Vd($)){var de=Z.start,De=Z.end;if(De===void 0&&(De=de),"selectionStart"in $)$.selectionStart=de,$.selectionEnd=Math.min(De,$.value.length);else{var Ne=$.ownerDocument||document,ye=Ne&&Ne.defaultView||window;if(ye.getSelection){var he=ye.getSelection(),ft=$.textContent.length,pt=Math.min(Z.start,ft),pn=Z.end===void 0?pt:Math.min(Z.end,ft);!he.extend&&pt>pn&&(N=pn,pn=pt,pt=N);var se=Vn($,pt),ae=Vn($,pn);if(se&&ae&&(he.rangeCount!==1||he.anchorNode!==se.node||he.anchorOffset!==se.offset||he.focusNode!==ae.node||he.focusOffset!==ae.offset)){var ce=Ne.createRange();ce.setStart(se.node,se.offset),he.removeAllRanges(),pt>pn?(he.addRange(ce),he.extend(ae.node,ae.offset)):(ce.setEnd(ae.node,ae.offset),he.addRange(ce))}}}}for(Ne=[],he=$;he=he.parentNode;)he.nodeType===1&&Ne.push({element:he,left:he.scrollLeft,top:he.scrollTop});for(typeof $.focus=="function"&&$.focus(),$=0;$<Ne.length;$++){var _e=Ne[$];_e.element.scrollLeft=_e.left,_e.element.scrollTop=_e.top}}Mh=!!Dr,Pf=Dr=null}finally{bn=x,ne.p=p,F.T=c}}r.current=s,ei=2}}function gh(){if(ei===2){ei=0;var r=vo,s=Lf,c=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||c){c=F.T,F.T=null;var p=ne.p;ne.p=2;var x=bn;bn|=4;try{c0(r,s.alternate,s)}finally{bn=x,ne.p=p,F.T=c}}ei=3}}function Dp(){if(ei===4||ei===3){ei=0,pr();var r=vo,s=Lf,c=ti,p=T0;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?ei=5:(ei=0,Lf=vo=null,Ov(r,r.pendingLanes));var x=r.pendingLanes;if(x===0&&(au=null),gd(c),s=s.stateNode,tt&&typeof tt.onCommitFiberRoot=="function")try{tt.onCommitFiberRoot(Vo,s,void 0,(s.current.flags&128)===128)}catch{}if(p!==null){s=F.T,x=ne.p,ne.p=2,F.T=null;try{for(var w=r.onRecoverableError,N=0;N<p.length;N++){var $=p[N];w($.value,{componentStack:$.stack})}}finally{F.T=s,ne.p=x}}(ti&3)!==0&&Rp(),or(r),x=r.pendingLanes,(c&4194090)!==0&&(x&42)!==0?r===E0?lc++:(lc=0,E0=r):lc=0,bh(0)}}function Ov(r,s){(r.pooledCacheLanes&=s)===0&&(s=r.pooledCache,s!=null&&(r.pooledCache=null,to(s)))}function Rp(r){return Cv(),gh(),Dp(),M0()}function M0(){if(ei!==5)return!1;var r=vo,s=Ep;Ep=0;var c=gd(ti),p=F.T,x=ne.p;try{ne.p=32>c?32:c,F.T=null,c=Ap,Ap=null;var w=vo,N=ti;if(ei=0,Lf=vo=null,ti=0,(bn&6)!==0)throw Error(o(331));var $=bn;if(bn|=4,g0(w.current),m0(w,w.current,N,c),bn=$,bh(0,!1),tt&&typeof tt.onPostCommitFiberRoot=="function")try{tt.onPostCommitFiberRoot(Vo,w)}catch{}return!0}finally{ne.p=x,F.T=p,Ov(r,s)}}function D0(r,s,c){s=ci(c,s),s=rp(r.stateNode,s,2),r=xl(r,s,2),r!==null&&(Os(r,2),or(r))}function Cn(r,s,c){if(r.tag===3)D0(r,r,c);else for(;s!==null;){if(s.tag===3){D0(s,r,c);break}else if(s.tag===1){var p=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&(au===null||!au.has(p))){r=ci(c,r),c=lp(2),p=xl(s,c,2),p!==null&&(ar(c,p,s,r),Os(p,2),or(p));break}}s=s.return}}function _p(r,s,c){var p=r.pingCache;if(p===null){p=r.pingCache=new Tp;var x=new Set;p.set(s,x)}else x=p.get(s),x===void 0&&(x=new Set,p.set(s,x));x.has(c)||(b0=!0,x.add(c),r=R0.bind(null,r,s,c),s.then(r,r))}function R0(r,s,c){var p=r.pingCache;p!==null&&p.delete(s),r.pingedLanes|=r.suspendedLanes&c,r.warmLanes&=~c,_n===r&&(Xt&c)===c&&(ra===4||ra===3&&(Xt&62914560)===Xt&&300>gn()-x0?(bn&2)===0&&bo(r,0):yo|=c,_f===Xt&&(_f=0)),or(r)}function _0(r,s){s===0&&(s=wu()),r=vl(r,s),r!==null&&(Os(r,s),or(r))}function Np(r){var s=r.memoizedState,c=0;s!==null&&(c=s.retryLane),_0(r,c)}function Ob(r,s){var c=0;switch(r.tag){case 13:var p=r.stateNode,x=r.memoizedState;x!==null&&(c=x.retryLane);break;case 19:p=r.stateNode;break;case 22:p=r.stateNode._retryCache;break;default:throw Error(o(314))}p!==null&&p.delete(s),_0(r,c)}function Mv(r,s){return nt(r,s)}var yh=null,So=null,Bf=!1,cc=!1,vh=!1,cs=0;function or(r){r!==So&&r.next===null&&(So===null?yh=So=r:So=So.next=r),cc=!0,Bf||(Bf=!0,zp())}function bh(r,s){if(!vh&&cc){vh=!0;do for(var c=!1,p=yh;p!==null;){if(r!==0){var x=p.pendingLanes;if(x===0)var w=0;else{var N=p.suspendedLanes,$=p.pingedLanes;w=(1<<31-En(42|r)+1)-1,w&=x&~(N&~$),w=w&201326741?w&201326741|1:w?w|2:0}w!==0&&(c=!0,Sh(p,w))}else w=Xt,w=ql(p,p===_n?w:0,p.cancelPendingCommit!==null||p.timeoutHandle!==-1),(w&3)===0||Hr(p,w)||(c=!0,Sh(p,w));p=p.next}while(c);vh=!1}}function Dv(){ru()}function ru(){cc=Bf=!1;var r=0;cs!==0&&(fs()&&(r=cs),cs=0);for(var s=gn(),c=null,p=yh;p!==null;){var x=p.next,w=jf(p,s);w===0?(p.next=null,c===null?yh=x:c.next=x,x===null&&(So=c)):(c=p,(r!==0||(w&3)!==0)&&(cc=!0)),p=x}bh(r)}function jf(r,s){for(var c=r.suspendedLanes,p=r.pingedLanes,x=r.expirationTimes,w=r.pendingLanes&-62914561;0<w;){var N=31-En(w),$=1<<N,Z=x[N];Z===-1?(($&c)===0||($&p)!==0)&&(x[N]=Ua($,s)):Z<=s&&(r.expiredLanes|=$),w&=~$}if(s=_n,c=Xt,c=ql(r,r===s?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),p=r.callbackNode,c===0||r===s&&(xn===2||xn===9)||r.cancelPendingCommit!==null)return p!==null&&p!==null&&Jt(p),r.callbackNode=null,r.callbackPriority=0;if((c&3)===0||Hr(r,c)){if(s=c&-c,s===r.callbackPriority)return s;switch(p!==null&&Jt(p),gd(c)){case 2:case 8:c=Lo;break;case 32:c=Ia;break;case 268435456:c=$r;break;default:c=Ia}return p=Rv.bind(null,r),c=nt(c,p),r.callbackPriority=s,r.callbackNode=c,s}return p!==null&&p!==null&&Jt(p),r.callbackPriority=2,r.callbackNode=null,2}function Rv(r,s){if(ei!==0&&ei!==5)return r.callbackNode=null,r.callbackPriority=0,null;var c=r.callbackNode;if(Rp()&&r.callbackNode!==c)return null;var p=Xt;return p=ql(r,r===_n?p:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),p===0?null:(Uf(r,p,s),jf(r,gn()),r.callbackNode!=null&&r.callbackNode===c?Rv.bind(null,r):null)}function Sh(r,s){if(Rp())return null;Uf(r,s,!0)}function zp(){_b(function(){(bn&6)!==0?nt(hd,Dv):ru()})}function lu(){return cs===0&&(cs=Cs()),cs}function Lp(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:qc(""+r)}function xh(r,s){var c=s.ownerDocument.createElement("input");return c.name=s.name,c.value=s.value,r.id&&c.setAttribute("form",r.id),s.parentNode.insertBefore(c,s),r=new FormData(r),c.parentNode.removeChild(c),r}function _v(r,s,c,p,x){if(s==="submit"&&c&&c.stateNode===x){var w=Lp((x[Ei]||null).action),N=p.submitter;N&&(s=(s=N[Ei]||null)?Lp(s.formAction):N.getAttribute("formAction"),s!==null&&(w=s,N=null));var $=new Tm("action","action",null,p,x);r.push({event:$,listeners:[{instance:null,listener:function(){if(p.defaultPrevented){if(cs!==0){var Z=N?xh(x,N):new FormData(x);xf(c,{pending:!0,data:Z,method:x.method,action:w},null,Z)}}else typeof w=="function"&&($.preventDefault(),Z=N?xh(x,N):new FormData(x),xf(c,{pending:!0,data:Z,method:x.method,action:w},w,Z))},currentTarget:x}]})}}for(var la=0;la<an.length;la++){var Th=an[la],Mb=Th.toLowerCase(),Ut=Th[0].toUpperCase()+Th.slice(1);Zr(Mb,"on"+Ut)}Zr(Rm,"onAnimationEnd"),Zr(Fg,"onAnimationIteration"),Zr(Tr,"onAnimationStart"),Zr("dblclick","onDoubleClick"),Zr("focusin","onFocus"),Zr("focusout","onBlur"),Zr(tf,"onTransitionRun"),Zr(_m,"onTransitionStart"),Zr($u,"onTransitionCancel"),Zr(nf,"onTransitionEnd"),Rs("onMouseEnter",["mouseout","mouseover"]),Rs("onMouseLeave",["mouseout","mouseover"]),Rs("onPointerEnter",["pointerout","pointerover"]),Rs("onPointerLeave",["pointerout","pointerover"]),Ds("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ds("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ds("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ds("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ds("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ds("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Eh="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(" "),ou=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Eh));function fc(r,s){s=(s&4)!==0;for(var c=0;c<r.length;c++){var p=r[c],x=p.event;p=p.listeners;e:{var w=void 0;if(s)for(var N=p.length-1;0<=N;N--){var $=p[N],Z=$.instance,de=$.currentTarget;if($=$.listener,Z!==w&&x.isPropagationStopped())break e;w=$,x.currentTarget=de;try{w(x)}catch(De){Ks(De)}x.currentTarget=null,w=Z}else for(N=0;N<p.length;N++){if($=p[N],Z=$.instance,de=$.currentTarget,$=$.listener,Z!==w&&x.isPropagationStopped())break e;w=$,x.currentTarget=de;try{w(x)}catch(De){Ks(De)}x.currentTarget=null,w=Z}}}}function Nt(r,s){var c=s[mm];c===void 0&&(c=s[mm]=new Set);var p=r+"__bubble";c.has(p)||(Up(s,r,2,!1),c.add(p))}function $f(r,s,c){var p=0;s&&(p|=4),Up(c,r,p,s)}var vi="_reactListening"+Math.random().toString(36).slice(2);function N0(r){if(!r[vi]){r[vi]=!0,vd.forEach(function(c){c!=="selectionchange"&&(ou.has(c)||$f(c,!1,r),$f(c,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[vi]||(s[vi]=!0,$f("selectionchange",!1,s))}}function Up(r,s,c,p){switch(Y0(s)){case 2:var x=Hv;break;case 8:x=mc;break;default:x=P0}c=x.bind(null,s,c,r),x=void 0,!Xc||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(x=!0),p?x!==void 0?r.addEventListener(s,c,{capture:!0,passive:x}):r.addEventListener(s,c,!0):x!==void 0?r.addEventListener(s,c,{passive:x}):r.addEventListener(s,c,!1)}function Ha(r,s,c,p,x){var w=p;if((s&1)===0&&(s&2)===0&&p!==null)e:for(;;){if(p===null)return;var N=p.tag;if(N===3||N===4){var $=p.stateNode.containerInfo;if($===x)break;if(N===4)for(N=p.return;N!==null;){var Z=N.tag;if((Z===3||Z===4)&&N.stateNode.containerInfo===x)return;N=N.return}for(;$!==null;){if(N=Fa($),N===null)return;if(Z=N.tag,Z===5||Z===6||Z===26||Z===27){p=w=N;continue e}$=$.parentNode}}p=p.return}Fc(function(){var de=w,De=Sm(c),Ne=[];e:{var ye=af.get(r);if(ye!==void 0){var he=Tm,ft=r;switch(r){case"keypress":if(Lt(c)===0)break e;case"keydown":case"keyup":he=Sr;break;case"focusin":ft="focus",he=Cm;break;case"focusout":ft="blur",he=Cm;break;case"beforeblur":case"afterblur":he=Cm;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":he=qo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":he=wm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":he=jg;break;case Rm:case Fg:case Tr:he=cv;break;case nf:he=hv;break;case"scroll":case"scrollend":he=sv;break;case"wheel":he=Uu;break;case"copy":case"cut":case"paste":he=Kc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":he=Yr;break;case"toggle":case"beforetoggle":he=Md}var pt=(s&4)!==0,pn=!pt&&(r==="scroll"||r==="scrollend"),se=pt?ye!==null?ye+"Capture":null:ye;pt=[];for(var ae=de,ce;ae!==null;){var _e=ae;if(ce=_e.stateNode,_e=_e.tag,_e!==5&&_e!==26&&_e!==27||ce===null||se===null||(_e=zu(ae,se),_e!=null&&pt.push(bt(ae,_e,ce))),pn)break;ae=ae.return}0<pt.length&&(ye=new he(ye,ft,null,c,De),Ne.push({event:ye,listeners:pt}))}}if((s&7)===0){e:{if(ye=r==="mouseover"||r==="pointerover",he=r==="mouseout"||r==="pointerout",ye&&c!==Us&&(ft=c.relatedTarget||c.fromElement)&&(Fa(ft)||ft[Ms]))break e;if((he||ye)&&(ye=De.window===De?De:(ye=De.ownerDocument)?ye.defaultView||ye.parentWindow:window,he?(ft=c.relatedTarget||c.toElement,he=de,ft=ft?Fa(ft):null,ft!==null&&(pn=h(ft),pt=ft.tag,ft!==pn||pt!==5&&pt!==27&&pt!==6)&&(ft=null)):(he=null,ft=de),he!==ft)){if(pt=qo,_e="onMouseLeave",se="onMouseEnter",ae="mouse",(r==="pointerout"||r==="pointerover")&&(pt=Yr,_e="onPointerLeave",se="onPointerEnter",ae="pointer"),pn=he==null?ye:Hc(he),ce=ft==null?ye:Hc(ft),ye=new pt(_e,ae+"leave",he,c,De),ye.target=pn,ye.relatedTarget=ce,_e=null,Fa(De)===de&&(pt=new pt(se,ae+"enter",ft,c,De),pt.target=ce,pt.relatedTarget=pn,_e=pt),pn=_e,he&&ft)t:{for(pt=he,se=ft,ae=0,ce=pt;ce;ce=ha(ce))ae++;for(ce=0,_e=se;_e;_e=ha(_e))ce++;for(;0<ae-ce;)pt=ha(pt),ae--;for(;0<ce-ae;)se=ha(se),ce--;for(;ae--;){if(pt===se||se!==null&&pt===se.alternate)break t;pt=ha(pt),se=ha(se)}pt=null}else pt=null;he!==null&&qn(Ne,ye,he,pt,!1),ft!==null&&pn!==null&&qn(Ne,pn,ft,pt,!0)}}e:{if(ye=de?Hc(de):window,he=ye.nodeName&&ye.nodeName.toLowerCase(),he==="select"||he==="input"&&ye.type==="file")var Je=Pg;else if(Jc(ye))if(kg)Je=qg;else{Je=Oi;var Pt=Ld}else he=ye.nodeName,!he||he.toLowerCase()!=="input"||ye.type!=="checkbox"&&ye.type!=="radio"?de&&Nu(de.elementType)&&(Je=Pg):Je=Xr;if(Je&&(Je=Je(r,de))){js(Ne,Je,c,De);break e}Pt&&Pt(r,ye,de),r==="focusout"&&de&&ye.type==="number"&&de.memoizedProps.value!=null&&Du(ye,"number",ye.value)}switch(Pt=de?Hc(de):window,r){case"focusin":(Jc(Pt)||Pt.contentEditable==="true")&&(Kl=Pt,ui=de,re=null);break;case"focusout":re=ui=Kl=null;break;case"mousedown":we=!0;break;case"contextmenu":case"mouseup":case"dragend":we=!1,Se(Ne,c,De);break;case"selectionchange":if(ju)break;case"keydown":case"keyup":Se(Ne,c,De)}var ct;if(Dd)e:{switch(r){case"compositionstart":var xt="onCompositionStart";break e;case"compositionend":xt="onCompositionEnd";break e;case"compositionupdate":xt="onCompositionUpdate";break e}xt=void 0}else Xl?Nd(r,c)&&(xt="onCompositionEnd"):r==="keydown"&&c.keyCode===229&&(xt="onCompositionStart");xt&&(qr&&c.locale!=="ko"&&(Xl||xt!=="onCompositionStart"?xt==="onCompositionEnd"&&Xl&&(ct=zg()):(ko=De,Zc="value"in ko?ko.value:ko.textContent,Xl=!0)),Pt=Hf(de,xt),0<Pt.length&&(xt=new Ci(xt,r,null,c,De),Ne.push({event:xt,listeners:Pt}),ct?xt.data=ct:(ct=Fl(c),ct!==null&&(xt.data=ct)))),(ct=Dm?$g(r,c):Bs(r,c))&&(xt=Hf(de,"onBeforeInput"),0<xt.length&&(Pt=new Ci("onBeforeInput","beforeinput",null,c,De),Ne.push({event:Pt,listeners:xt}),Pt.data=ct)),_v(Ne,r,de,c,De)}fc(Ne,s)})}function bt(r,s,c){return{instance:r,listener:s,currentTarget:c}}function Hf(r,s){for(var c=s+"Capture",p=[];r!==null;){var x=r,w=x.stateNode;if(x=x.tag,x!==5&&x!==26&&x!==27||w===null||(x=zu(r,c),x!=null&&p.unshift(bt(r,x,w)),x=zu(r,s),x!=null&&p.push(bt(r,x,w))),r.tag===3)return p;r=r.return}return[]}function ha(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function qn(r,s,c,p,x){for(var w=s._reactName,N=[];c!==null&&c!==p;){var $=c,Z=$.alternate,de=$.stateNode;if($=$.tag,Z!==null&&Z===p)break;$!==5&&$!==26&&$!==27||de===null||(Z=de,x?(de=zu(c,w),de!=null&&N.unshift(bt(c,de,Z))):x||(de=zu(c,w),de!=null&&N.push(bt(c,de,Z)))),c=c.return}N.length!==0&&r.push({event:s,listeners:N})}var Mr=/\r\n?/g,xo=/\u0000|\uFFFD/g;function Nv(r){return(typeof r=="string"?r:""+r).replace(Mr,`
|
|
790
790
|
`).replace(xo,"")}function z0(r,s){return s=Nv(s),Nv(r)===s}function Vp(){}function Ct(r,s,c,p,x,w){switch(c){case"children":typeof p=="string"?s==="body"||s==="textarea"&&p===""||Ls(r,p):(typeof p=="number"||typeof p=="bigint")&&s!=="body"&&Ls(r,""+p);break;case"className":Sd(r,"class",p);break;case"tabIndex":Sd(r,"tabindex",p);break;case"dir":case"role":case"viewBox":case"width":case"height":Sd(r,c,p);break;case"style":Yc(r,p,w);break;case"data":if(s!=="object"){Sd(r,"data",p);break}case"src":case"href":if(p===""&&(s!=="a"||c!=="href")){r.removeAttribute(c);break}if(p==null||typeof p=="function"||typeof p=="symbol"||typeof p=="boolean"){r.removeAttribute(c);break}p=qc(""+p),r.setAttribute(c,p);break;case"action":case"formAction":if(typeof p=="function"){r.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof w=="function"&&(c==="formAction"?(s!=="input"&&Ct(r,s,"name",x.name,x,null),Ct(r,s,"formEncType",x.formEncType,x,null),Ct(r,s,"formMethod",x.formMethod,x,null),Ct(r,s,"formTarget",x.formTarget,x,null)):(Ct(r,s,"encType",x.encType,x,null),Ct(r,s,"method",x.method,x,null),Ct(r,s,"target",x.target,x,null)));if(p==null||typeof p=="symbol"||typeof p=="boolean"){r.removeAttribute(c);break}p=qc(""+p),r.setAttribute(c,p);break;case"onClick":p!=null&&(r.onclick=Vp);break;case"onScroll":p!=null&&Nt("scroll",r);break;case"onScrollEnd":p!=null&&Nt("scrollend",r);break;case"dangerouslySetInnerHTML":if(p!=null){if(typeof p!="object"||!("__html"in p))throw Error(o(61));if(c=p.__html,c!=null){if(x.children!=null)throw Error(o(60));r.innerHTML=c}}break;case"multiple":r.multiple=p&&typeof p!="function"&&typeof p!="symbol";break;case"muted":r.muted=p&&typeof p!="function"&&typeof p!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(p==null||typeof p=="function"||typeof p=="boolean"||typeof p=="symbol"){r.removeAttribute("xlink:href");break}c=qc(""+p),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":p!=null&&typeof p!="function"&&typeof p!="symbol"?r.setAttribute(c,""+p):r.removeAttribute(c);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":p&&typeof p!="function"&&typeof p!="symbol"?r.setAttribute(c,""):r.removeAttribute(c);break;case"capture":case"download":p===!0?r.setAttribute(c,""):p!==!1&&p!=null&&typeof p!="function"&&typeof p!="symbol"?r.setAttribute(c,p):r.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":p!=null&&typeof p!="function"&&typeof p!="symbol"&&!isNaN(p)&&1<=p?r.setAttribute(c,p):r.removeAttribute(c);break;case"rowSpan":case"start":p==null||typeof p=="function"||typeof p=="symbol"||isNaN(p)?r.removeAttribute(c):r.setAttribute(c,p);break;case"popover":Nt("beforetoggle",r),Nt("toggle",r),$o(r,"popover",p);break;case"xlinkActuate":yl(r,"http://www.w3.org/1999/xlink","xlink:actuate",p);break;case"xlinkArcrole":yl(r,"http://www.w3.org/1999/xlink","xlink:arcrole",p);break;case"xlinkRole":yl(r,"http://www.w3.org/1999/xlink","xlink:role",p);break;case"xlinkShow":yl(r,"http://www.w3.org/1999/xlink","xlink:show",p);break;case"xlinkTitle":yl(r,"http://www.w3.org/1999/xlink","xlink:title",p);break;case"xlinkType":yl(r,"http://www.w3.org/1999/xlink","xlink:type",p);break;case"xmlBase":yl(r,"http://www.w3.org/XML/1998/namespace","xml:base",p);break;case"xmlLang":yl(r,"http://www.w3.org/XML/1998/namespace","xml:lang",p);break;case"xmlSpace":yl(r,"http://www.w3.org/XML/1998/namespace","xml:space",p);break;case"is":$o(r,"is",p);break;case"innerText":case"textContent":break;default:(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(c=ov.get(c)||c,$o(r,c,p))}}function xe(r,s,c,p,x,w){switch(c){case"style":Yc(r,p,w);break;case"dangerouslySetInnerHTML":if(p!=null){if(typeof p!="object"||!("__html"in p))throw Error(o(61));if(c=p.__html,c!=null){if(x.children!=null)throw Error(o(60));r.innerHTML=c}}break;case"children":typeof p=="string"?Ls(r,p):(typeof p=="number"||typeof p=="bigint")&&Ls(r,""+p);break;case"onScroll":p!=null&&Nt("scroll",r);break;case"onScrollEnd":p!=null&&Nt("scrollend",r);break;case"onClick":p!=null&&(r.onclick=Vp);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!vr.hasOwnProperty(c))e:{if(c[0]==="o"&&c[1]==="n"&&(x=c.endsWith("Capture"),s=c.slice(2,x?c.length-7:void 0),w=r[Ei]||null,w=w!=null?w[c]:null,typeof w=="function"&&r.removeEventListener(s,w,x),typeof p=="function")){typeof w!="function"&&w!==null&&(c in r?r[c]=null:r.hasAttribute(c)&&r.removeAttribute(c)),r.addEventListener(s,p,x);break e}c in r?r[c]=p:p===!0?r.setAttribute(c,""):$o(r,c,p)}}}function Tt(r,s,c){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Nt("error",r),Nt("load",r);var p=!1,x=!1,w;for(w in c)if(c.hasOwnProperty(w)){var N=c[w];if(N!=null)switch(w){case"src":p=!0;break;case"srcSet":x=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,s));default:Ct(r,s,w,N,c,null)}}x&&Ct(r,s,"srcSet",c.srcSet,c,null),p&&Ct(r,s,"src",c.src,c,null);return;case"input":Nt("invalid",r);var $=w=N=x=null,Z=null,de=null;for(p in c)if(c.hasOwnProperty(p)){var De=c[p];if(De!=null)switch(p){case"name":x=De;break;case"type":N=De;break;case"checked":Z=De;break;case"defaultChecked":de=De;break;case"value":w=De;break;case"defaultValue":$=De;break;case"children":case"dangerouslySetInnerHTML":if(De!=null)throw Error(o(137,s));break;default:Ct(r,s,p,De,c,null)}}Ad(r,w,$,Z,de,N,x,!1),Ns(r);return;case"select":Nt("invalid",r),p=N=w=null;for(x in c)if(c.hasOwnProperty(x)&&($=c[x],$!=null))switch(x){case"value":w=$;break;case"defaultValue":N=$;break;case"multiple":p=$;default:Ct(r,s,x,$,c,null)}s=w,c=N,r.multiple=!!p,s!=null?Ru(r,!!p,s,!1):c!=null&&Ru(r,!!p,c,!0);return;case"textarea":Nt("invalid",r),w=x=p=null;for(N in c)if(c.hasOwnProperty(N)&&($=c[N],$!=null))switch(N){case"value":p=$;break;case"defaultValue":x=$;break;case"children":w=$;break;case"dangerouslySetInnerHTML":if($!=null)throw Error(o(91));break;default:Ct(r,s,N,$,c,null)}wd(r,p,x,w),Ns(r);return;case"option":for(Z in c)if(c.hasOwnProperty(Z)&&(p=c[Z],p!=null))switch(Z){case"selected":r.selected=p&&typeof p!="function"&&typeof p!="symbol";break;default:Ct(r,s,Z,p,c,null)}return;case"dialog":Nt("beforetoggle",r),Nt("toggle",r),Nt("cancel",r),Nt("close",r);break;case"iframe":case"object":Nt("load",r);break;case"video":case"audio":for(p=0;p<Eh.length;p++)Nt(Eh[p],r);break;case"image":Nt("error",r),Nt("load",r);break;case"details":Nt("toggle",r);break;case"embed":case"source":case"link":Nt("error",r),Nt("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(de in c)if(c.hasOwnProperty(de)&&(p=c[de],p!=null))switch(de){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,s));default:Ct(r,s,de,p,c,null)}return;default:if(Nu(s)){for(De in c)c.hasOwnProperty(De)&&(p=c[De],p!==void 0&&xe(r,s,De,p,c,void 0));return}}for($ in c)c.hasOwnProperty($)&&(p=c[$],p!=null&&Ct(r,s,$,p,c,null))}function Db(r,s,c,p){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var x=null,w=null,N=null,$=null,Z=null,de=null,De=null;for(he in c){var Ne=c[he];if(c.hasOwnProperty(he)&&Ne!=null)switch(he){case"checked":break;case"value":break;case"defaultValue":Z=Ne;default:p.hasOwnProperty(he)||Ct(r,s,he,null,p,Ne)}}for(var ye in p){var he=p[ye];if(Ne=c[ye],p.hasOwnProperty(ye)&&(he!=null||Ne!=null))switch(ye){case"type":w=he;break;case"name":x=he;break;case"checked":de=he;break;case"defaultChecked":De=he;break;case"value":N=he;break;case"defaultValue":$=he;break;case"children":case"dangerouslySetInnerHTML":if(he!=null)throw Error(o(137,s));break;default:he!==Ne&&Ct(r,s,ye,he,p,Ne)}}Ed(r,N,$,Z,de,De,w,x);return;case"select":he=N=$=ye=null;for(w in c)if(Z=c[w],c.hasOwnProperty(w)&&Z!=null)switch(w){case"value":break;case"multiple":he=Z;default:p.hasOwnProperty(w)||Ct(r,s,w,null,p,Z)}for(x in p)if(w=p[x],Z=c[x],p.hasOwnProperty(x)&&(w!=null||Z!=null))switch(x){case"value":ye=w;break;case"defaultValue":$=w;break;case"multiple":N=w;default:w!==Z&&Ct(r,s,x,w,p,Z)}s=$,c=N,p=he,ye!=null?Ru(r,!!c,ye,!1):!!p!=!!c&&(s!=null?Ru(r,!!c,s,!0):Ru(r,!!c,c?[]:"",!1));return;case"textarea":he=ye=null;for($ in c)if(x=c[$],c.hasOwnProperty($)&&x!=null&&!p.hasOwnProperty($))switch($){case"value":break;case"children":break;default:Ct(r,s,$,null,p,x)}for(N in p)if(x=p[N],w=c[N],p.hasOwnProperty(N)&&(x!=null||w!=null))switch(N){case"value":ye=x;break;case"defaultValue":he=x;break;case"children":break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(o(91));break;default:x!==w&&Ct(r,s,N,x,p,w)}bm(r,ye,he);return;case"option":for(var ft in c)if(ye=c[ft],c.hasOwnProperty(ft)&&ye!=null&&!p.hasOwnProperty(ft))switch(ft){case"selected":r.selected=!1;break;default:Ct(r,s,ft,null,p,ye)}for(Z in p)if(ye=p[Z],he=c[Z],p.hasOwnProperty(Z)&&ye!==he&&(ye!=null||he!=null))switch(Z){case"selected":r.selected=ye&&typeof ye!="function"&&typeof ye!="symbol";break;default:Ct(r,s,Z,ye,p,he)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var pt in c)ye=c[pt],c.hasOwnProperty(pt)&&ye!=null&&!p.hasOwnProperty(pt)&&Ct(r,s,pt,null,p,ye);for(de in p)if(ye=p[de],he=c[de],p.hasOwnProperty(de)&&ye!==he&&(ye!=null||he!=null))switch(de){case"children":case"dangerouslySetInnerHTML":if(ye!=null)throw Error(o(137,s));break;default:Ct(r,s,de,ye,p,he)}return;default:if(Nu(s)){for(var pn in c)ye=c[pn],c.hasOwnProperty(pn)&&ye!==void 0&&!p.hasOwnProperty(pn)&&xe(r,s,pn,void 0,p,ye);for(De in p)ye=p[De],he=c[De],!p.hasOwnProperty(De)||ye===he||ye===void 0&&he===void 0||xe(r,s,De,ye,p,he);return}}for(var se in c)ye=c[se],c.hasOwnProperty(se)&&ye!=null&&!p.hasOwnProperty(se)&&Ct(r,s,se,null,p,ye);for(Ne in p)ye=p[Ne],he=c[Ne],!p.hasOwnProperty(Ne)||ye===he||ye==null&&he==null||Ct(r,s,Ne,ye,p,he)}var Dr=null,Pf=null;function Bi(r){return r.nodeType===9?r:r.ownerDocument}function Sn(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Nn(r,s){if(r===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&s==="foreignObject"?0:r}function Rl(r,s){return r==="textarea"||r==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var kf=null;function fs(){var r=window.event;return r&&r.type==="popstate"?r===kf?!1:(kf=r,!0):(kf=null,!1)}var Bp=typeof setTimeout=="function"?setTimeout:void 0,Rb=typeof clearTimeout=="function"?clearTimeout:void 0,zv=typeof Promise=="function"?Promise:void 0,_b=typeof queueMicrotask=="function"?queueMicrotask:typeof zv<"u"?function(r){return zv.resolve(null).then(r).catch(_l)}:Bp;function _l(r){setTimeout(function(){throw r})}function sl(r){return r==="head"}function Yf(r,s){var c=s,p=0,x=0;do{var w=c.nextSibling;if(r.removeChild(c),w&&w.nodeType===8)if(c=w.data,c==="/$"){if(0<p&&8>p){c=p;var N=r.ownerDocument;if(c&1&&sr(N.documentElement),c&2&&sr(N.body),c&4)for(c=N.head,sr(c),N=c.firstChild;N;){var $=N.nextSibling,Z=N.nodeName;N[rt]||Z==="SCRIPT"||Z==="STYLE"||Z==="LINK"&&N.rel.toLowerCase()==="stylesheet"||c.removeChild(N),N=$}}if(x===0){r.removeChild(w),Ao(s);return}x--}else c==="$"||c==="$?"||c==="$!"?x++:p=c.charCodeAt(0)-48;else p=0;c=w}while(c);Ao(s)}function Ah(r){var s=r.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var c=s;switch(s=s.nextSibling,c.nodeName){case"HTML":case"HEAD":case"BODY":Ah(c),yd(c);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(c.rel.toLowerCase()==="stylesheet")continue}r.removeChild(c)}}function dc(r,s,c,p){for(;r.nodeType===1;){var x=c;if(r.nodeName.toLowerCase()!==s.toLowerCase()){if(!p&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(p){if(!r[rt])switch(s){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(w=r.getAttribute("rel"),w==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(w!==x.rel||r.getAttribute("href")!==(x.href==null||x.href===""?null:x.href)||r.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin)||r.getAttribute("title")!==(x.title==null?null:x.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(w=r.getAttribute("src"),(w!==(x.src==null?null:x.src)||r.getAttribute("type")!==(x.type==null?null:x.type)||r.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin))&&w&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(s==="input"&&r.type==="hidden"){var w=x.name==null?null:""+x.name;if(x.type==="hidden"&&r.getAttribute("name")===w)return r}else return r;if(r=Nl(r.nextSibling),r===null)break}return null}function jp(r,s,c){if(s==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!c||(r=Nl(r.nextSibling),r===null))return null;return r}function ni(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState==="complete"}function qf(r,s){var c=r.ownerDocument;if(r.data!=="$?"||c.readyState==="complete")s();else{var p=function(){s(),c.removeEventListener("DOMContentLoaded",p)};c.addEventListener("DOMContentLoaded",p),r._reactRetry=p}}function Nl(r){for(;r!=null;r=r.nextSibling){var s=r.nodeType;if(s===1||s===3)break;if(s===8){if(s=r.data,s==="$"||s==="$!"||s==="$?"||s==="F!"||s==="F")break;if(s==="/$")return null}}return r}var su=null;function ai(r){r=r.previousSibling;for(var s=0;r;){if(r.nodeType===8){var c=r.data;if(c==="$"||c==="$!"||c==="$?"){if(s===0)return r;s--}else c==="/$"&&s++}r=r.previousSibling}return null}function Ke(r,s,c){switch(s=Bi(c),r){case"html":if(r=s.documentElement,!r)throw Error(o(452));return r;case"head":if(r=s.head,!r)throw Error(o(453));return r;case"body":if(r=s.body,!r)throw Error(o(454));return r;default:throw Error(o(451))}}function sr(r){for(var s=r.attributes;s.length;)r.removeAttributeNode(s[0]);yd(r)}var Kn=new Map,Xn=new Set;function Ot(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var To=ne.d;ne.d={f:ji,r:wh,D:ds,C:Ch,L:zl,m:bi,X:uu,S:ur,M:L0};function ji(){var r=To.f(),s=oc();return r||s}function wh(r){var s=Cu(r);s!==null&&s.tag===5&&s.type==="form"?Fs(s):To.r(r)}var ii=typeof document>"u"?null:document;function Vt(r,s,c){var p=ii;if(p&&typeof s=="string"&&s){var x=Pr(s);x='link[rel="'+r+'"][href="'+x+'"]',typeof c=="string"&&(x+='[crossorigin="'+c+'"]'),Xn.has(x)||(Xn.add(x),r={rel:r,crossOrigin:c,href:s},p.querySelector(x)===null&&(s=p.createElement("link"),Tt(s,"link",r),Oa(s),p.head.appendChild(s)))}}function ds(r){To.D(r),Vt("dns-prefetch",r,null)}function Ch(r,s){To.C(r,s),Vt("preconnect",r,s)}function zl(r,s,c){To.L(r,s,c);var p=ii;if(p&&r&&s){var x='link[rel="preload"][as="'+Pr(s)+'"]';s==="image"&&c&&c.imageSrcSet?(x+='[imagesrcset="'+Pr(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(x+='[imagesizes="'+Pr(c.imageSizes)+'"]')):x+='[href="'+Pr(r)+'"]';var w=x;switch(s){case"style":w=Gf(r);break;case"script":w=ul(r)}Kn.has(w)||(r=A({rel:"preload",href:s==="image"&&c&&c.imageSrcSet?void 0:r,as:s},c),Kn.set(w,r),p.querySelector(x)!==null||s==="style"&&p.querySelector(If(w))||s==="script"&&p.querySelector(hc(w))||(s=p.createElement("link"),Tt(s,"link",r),Oa(s),p.head.appendChild(s)))}}function bi(r,s){To.m(r,s);var c=ii;if(c&&r){var p=s&&typeof s.as=="string"?s.as:"script",x='link[rel="modulepreload"][as="'+Pr(p)+'"][href="'+Pr(r)+'"]',w=x;switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":w=ul(r)}if(!Kn.has(w)&&(r=A({rel:"modulepreload",href:r},s),Kn.set(w,r),c.querySelector(x)===null)){switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(hc(w)))return}p=c.createElement("link"),Tt(p,"link",r),Oa(p),c.head.appendChild(p)}}}function ur(r,s,c){To.S(r,s,c);var p=ii;if(p&&r){var x=jo(p).hoistableStyles,w=Gf(r);s=s||"default";var N=x.get(w);if(!N){var $={loading:0,preload:null};if(N=p.querySelector(If(w)))$.loading=5;else{r=A({rel:"stylesheet",href:r,"data-precedence":s},c),(c=Kn.get(w))&&Xf(r,c);var Z=N=p.createElement("link");Oa(Z),Tt(Z,"link",r),Z._p=new Promise(function(de,De){Z.onload=de,Z.onerror=De}),Z.addEventListener("load",function(){$.loading|=1}),Z.addEventListener("error",function(){$.loading|=2}),$.loading|=4,$p(N,s,p)}N={type:"stylesheet",instance:N,count:1,state:$},x.set(w,N)}}}function uu(r,s){To.X(r,s);var c=ii;if(c&&r){var p=jo(c).hoistableScripts,x=ul(r),w=p.get(x);w||(w=c.querySelector(hc(x)),w||(r=A({src:r,async:!0},s),(s=Kn.get(x))&&Hp(r,s),w=c.createElement("script"),Oa(w),Tt(w,"link",r),c.head.appendChild(w)),w={type:"script",instance:w,count:1,state:null},p.set(x,w))}}function L0(r,s){To.M(r,s);var c=ii;if(c&&r){var p=jo(c).hoistableScripts,x=ul(r),w=p.get(x);w||(w=c.querySelector(hc(x)),w||(r=A({src:r,async:!0,type:"module"},s),(s=Kn.get(x))&&Hp(r,s),w=c.createElement("script"),Oa(w),Tt(w,"link",r),c.head.appendChild(w)),w={type:"script",instance:w,count:1,state:null},p.set(x,w))}}function Lv(r,s,c,p){var x=(x=Ue.current)?Ot(x):null;if(!x)throw Error(o(446));switch(r){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(s=Gf(c.href),c=jo(x).hoistableStyles,p=c.get(s),p||(p={type:"style",instance:null,count:0,state:null},c.set(s,p)),p):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){r=Gf(c.href);var w=jo(x).hoistableStyles,N=w.get(r);if(N||(x=x.ownerDocument||x,N={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},w.set(r,N),(w=x.querySelector(If(r)))&&!w._p&&(N.instance=w,N.state.loading=5),Kn.has(r)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},Kn.set(r,c),w||Uv(x,r,c,N.state))),s&&p===null)throw Error(o(528,""));return N}if(s&&p!==null)throw Error(o(529,""));return null;case"script":return s=c.async,c=c.src,typeof c=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=ul(c),c=jo(x).hoistableScripts,p=c.get(s),p||(p={type:"script",instance:null,count:0,state:null},c.set(s,p)),p):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,r))}}function Gf(r){return'href="'+Pr(r)+'"'}function If(r){return'link[rel="stylesheet"]['+r+"]"}function Ff(r){return A({},r,{"data-precedence":r.precedence,precedence:null})}function Uv(r,s,c,p){r.querySelector('link[rel="preload"][as="style"]['+s+"]")?p.loading=1:(s=r.createElement("link"),p.preload=s,s.addEventListener("load",function(){return p.loading|=1}),s.addEventListener("error",function(){return p.loading|=2}),Tt(s,"link",c),Oa(s),r.head.appendChild(s))}function ul(r){return'[src="'+Pr(r)+'"]'}function hc(r){return"script[async]"+r}function Vv(r,s,c){if(s.count++,s.instance===null)switch(s.type){case"style":var p=r.querySelector('style[data-href~="'+Pr(c.href)+'"]');if(p)return s.instance=p,Oa(p),p;var x=A({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return p=(r.ownerDocument||r).createElement("style"),Oa(p),Tt(p,"style",x),$p(p,c.precedence,r),s.instance=p;case"stylesheet":x=Gf(c.href);var w=r.querySelector(If(x));if(w)return s.state.loading|=4,s.instance=w,Oa(w),w;p=Ff(c),(x=Kn.get(x))&&Xf(p,x),w=(r.ownerDocument||r).createElement("link"),Oa(w);var N=w;return N._p=new Promise(function($,Z){N.onload=$,N.onerror=Z}),Tt(w,"link",p),s.state.loading|=4,$p(w,c.precedence,r),s.instance=w;case"script":return w=ul(c.src),(x=r.querySelector(hc(w)))?(s.instance=x,Oa(x),x):(p=c,(x=Kn.get(w))&&(p=A({},c),Hp(p,x)),r=r.ownerDocument||r,x=r.createElement("script"),Oa(x),Tt(x,"link",p),r.head.appendChild(x),s.instance=x);case"void":return null;default:throw Error(o(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(p=s.instance,s.state.loading|=4,$p(p,c.precedence,r));return s.instance}function $p(r,s,c){for(var p=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),x=p.length?p[p.length-1]:null,w=x,N=0;N<p.length;N++){var $=p[N];if($.dataset.precedence===s)w=$;else if(w!==x)break}w?w.parentNode.insertBefore(r,w.nextSibling):(s=c.nodeType===9?c.head:c,s.insertBefore(r,s.firstChild))}function Xf(r,s){r.crossOrigin==null&&(r.crossOrigin=s.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=s.referrerPolicy),r.title==null&&(r.title=s.title)}function Hp(r,s){r.crossOrigin==null&&(r.crossOrigin=s.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=s.referrerPolicy),r.integrity==null&&(r.integrity=s.integrity)}var Eo=null;function U0(r,s,c){if(Eo===null){var p=new Map,x=Eo=new Map;x.set(c,p)}else x=Eo,p=x.get(c),p||(p=new Map,x.set(c,p));if(p.has(r))return p;for(p.set(r,null),c=c.getElementsByTagName(r),x=0;x<c.length;x++){var w=c[x];if(!(w[rt]||w[pa]||r==="link"&&w.getAttribute("rel")==="stylesheet")&&w.namespaceURI!=="http://www.w3.org/2000/svg"){var N=w.getAttribute(s)||"";N=r+N;var $=p.get(N);$?$.push(w):p.set(N,[w])}}return p}function V0(r,s,c){r=r.ownerDocument||r,r.head.insertBefore(c,s==="title"?r.querySelector("head > title"):null)}function Bv(r,s,c){if(c===1||s.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;switch(s.rel){case"stylesheet":return r=s.disabled,typeof s.precedence=="string"&&r==null;default:return!0}case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function Sa(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}var Na=null;function jv(){}function $v(r,s,c){if(Na===null)throw Error(o(475));var p=Na;if(s.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var x=Gf(c.href),w=r.querySelector(If(x));if(w){r=w._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(p.count++,p=Zf.bind(p),r.then(p,p)),s.state.loading|=4,s.instance=w,Oa(w);return}w=r.ownerDocument||r,c=Ff(c),(x=Kn.get(x))&&Xf(c,x),w=w.createElement("link"),Oa(w);var N=w;N._p=new Promise(function($,Z){N.onload=$,N.onerror=Z}),Tt(w,"link",c),s.instance=w}p.stylesheets===null&&(p.stylesheets=new Map),p.stylesheets.set(s,r),(r=s.state.preload)&&(s.state.loading&3)===0&&(p.count++,s=Zf.bind(p),r.addEventListener("load",s),r.addEventListener("error",s))}}function B0(){if(Na===null)throw Error(o(475));var r=Na;return r.stylesheets&&r.count===0&&Oh(r,r.stylesheets),0<r.count?function(s){var c=setTimeout(function(){if(r.stylesheets&&Oh(r,r.stylesheets),r.unsuspend){var p=r.unsuspend;r.unsuspend=null,p()}},6e4);return r.unsuspend=s,function(){r.unsuspend=null,clearTimeout(c)}}:null}function Zf(){if(this.count--,this.count===0){if(this.stylesheets)Oh(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Kf=null;function Oh(r,s){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Kf=new Map,s.forEach(Rr,r),Kf=null,Zf.call(r))}function Rr(r,s){if(!(s.state.loading&4)){var c=Kf.get(r);if(c)var p=c.get(null);else{c=new Map,Kf.set(r,c);for(var x=r.querySelectorAll("link[data-precedence],style[data-precedence]"),w=0;w<x.length;w++){var N=x[w];(N.nodeName==="LINK"||N.getAttribute("media")!=="not all")&&(c.set(N.dataset.precedence,N),p=N)}p&&c.set(null,p)}x=s.instance,N=x.getAttribute("data-precedence"),w=c.get(N)||p,w===p&&c.set(null,x),c.set(N,x),this.count++,p=Zf.bind(this),x.addEventListener("load",p),x.addEventListener("error",p),w?w.parentNode.insertBefore(x,w.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(x,r.firstChild)),s.state.loading|=4}}var $i={$$typeof:q,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function Nb(r,s,c,p,x,w,N,$){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Bo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bo(0),this.hiddenUpdates=Bo(null),this.identifierPrefix=p,this.onUncaughtError=x,this.onCaughtError=w,this.onRecoverableError=N,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=$,this.incompleteTransitions=new Map}function j0(r,s,c,p,x,w,N,$,Z,de,De,Ne){return r=new Nb(r,s,c,N,$,Z,de,Ne),s=1,w===!0&&(s|=24),w=Di(3,null,null,s),r.current=w,w.stateNode=r,s=ff(),s.refCount++,r.pooledCache=s,s.refCount++,w.memoizedState={element:p,isDehydrated:c,cache:s},Ys(w),r}function $0(r){return r?(r=Hu,r):Hu}function Pp(r,s,c,p,x,w){x=$0(x),p.context===null?p.context=x:p.pendingContext=x,p=Qi(s),p.payload={element:c},w=w===void 0?null:w,w!==null&&(p.callback=w),c=xl(r,p,s),c!==null&&(Or(c,r,s),Gu(c,r,s))}function kp(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var c=r.retryLane;r.retryLane=c!==0&&c<s?c:s}}function Yp(r,s){kp(r,s),(r=r.alternate)&&kp(r,s)}function H0(r){if(r.tag===13){var s=vl(r,67108864);s!==null&&Or(s,r,67108864),Yp(r,67108864)}}var Mh=!0;function Hv(r,s,c,p){var x=F.T;F.T=null;var w=ne.p;try{ne.p=2,P0(r,s,c,p)}finally{ne.p=w,F.T=x}}function mc(r,s,c,p){var x=F.T;F.T=null;var w=ne.p;try{ne.p=8,P0(r,s,c,p)}finally{ne.p=w,F.T=x}}function P0(r,s,c,p){if(Mh){var x=qp(p);if(x===null)Ha(r,s,p,Gp,c),gc(r,p);else if(kv(x,r,s,c,p))p.stopPropagation();else if(gc(r,p),s&4&&-1<Pv.indexOf(r)){for(;x!==null;){var w=Cu(x);if(w!==null)switch(w.tag){case 3:if(w=w.stateNode,w.current.memoizedState.isDehydrated){var N=Ti(w.pendingLanes);if(N!==0){var $=w;for($.pendingLanes|=2,$.entangledLanes|=2;N;){var Z=1<<31-En(N);$.entanglements[1]|=Z,N&=~Z}or(w),(bn&6)===0&&(zf=gn()+500,bh(0))}}break;case 13:$=vl(w,2),$!==null&&Or($,w,2),oc(),Yp(w,2)}if(w=qp(p),w===null&&Ha(r,s,p,Gp,c),w===x)break;x=w}x!==null&&p.stopPropagation()}else Ha(r,s,p,null,c)}}function qp(r){return r=Sm(r),k0(r)}var Gp=null;function k0(r){if(Gp=null,r=Fa(r),r!==null){var s=h(r);if(s===null)r=null;else{var c=s.tag;if(c===13){if(r=g(s),r!==null)return r;r=null}else if(c===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;r=null}else s!==r&&(r=null)}}return Gp=r,null}function Y0(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(As()){case hd:return 2;case Lo:return 8;case Ia:case gr:return 32;case $r:return 268435456;default:return 32}default:return 32}}var pc=!1,Ll=null,hs=null,ms=null,Dh=new Map,Rh=new Map,cu=[],Pv="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function gc(r,s){switch(r){case"focusin":case"focusout":Ll=null;break;case"dragenter":case"dragleave":hs=null;break;case"mouseover":case"mouseout":ms=null;break;case"pointerover":case"pointerout":Dh.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rh.delete(s.pointerId)}}function yc(r,s,c,p,x,w){return r===null||r.nativeEvent!==w?(r={blockedOn:s,domEventName:c,eventSystemFlags:p,nativeEvent:w,targetContainers:[x]},s!==null&&(s=Cu(s),s!==null&&H0(s)),r):(r.eventSystemFlags|=p,s=r.targetContainers,x!==null&&s.indexOf(x)===-1&&s.push(x),r)}function kv(r,s,c,p,x){switch(s){case"focusin":return Ll=yc(Ll,r,s,c,p,x),!0;case"dragenter":return hs=yc(hs,r,s,c,p,x),!0;case"mouseover":return ms=yc(ms,r,s,c,p,x),!0;case"pointerover":var w=x.pointerId;return Dh.set(w,yc(Dh.get(w)||null,r,s,c,p,x)),!0;case"gotpointercapture":return w=x.pointerId,Rh.set(w,yc(Rh.get(w)||null,r,s,c,p,x)),!0}return!1}function q0(r){var s=Fa(r.target);if(s!==null){var c=h(s);if(c!==null){if(s=c.tag,s===13){if(s=g(c),s!==null){r.blockedOn=s,Cb(r.priority,function(){if(c.tag===13){var p=yi();p=gl(p);var x=vl(c,p);x!==null&&Or(x,c,p),Yp(c,p)}});return}}else if(s===3&&c.stateNode.current.memoizedState.isDehydrated){r.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}r.blockedOn=null}function _h(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var c=qp(r.nativeEvent);if(c===null){c=r.nativeEvent;var p=new c.constructor(c.type,c);Us=p,c.target.dispatchEvent(p),Us=null}else return s=Cu(c),s!==null&&H0(s),r.blockedOn=c,!1;s.shift()}return!0}function Nh(r,s,c){_h(r)&&c.delete(s)}function Qf(){pc=!1,Ll!==null&&_h(Ll)&&(Ll=null),hs!==null&&_h(hs)&&(hs=null),ms!==null&&_h(ms)&&(ms=null),Dh.forEach(Nh),Rh.forEach(Nh)}function Ip(r,s){r.blockedOn===s&&(r.blockedOn=null,pc||(pc=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Qf)))}var vc=null;function G0(r){vc!==r&&(vc=r,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){vc===r&&(vc=null);for(var s=0;s<r.length;s+=3){var c=r[s],p=r[s+1],x=r[s+2];if(typeof p!="function"){if(k0(p||c)===null)continue;break}var w=Cu(c);w!==null&&(r.splice(s,3),s-=3,xf(w,{pending:!0,data:x,method:c.method,action:p},p,x))}}))}function Ao(r){function s(Z){return Ip(Z,r)}Ll!==null&&Ip(Ll,r),hs!==null&&Ip(hs,r),ms!==null&&Ip(ms,r),Dh.forEach(s),Rh.forEach(s);for(var c=0;c<cu.length;c++){var p=cu[c];p.blockedOn===r&&(p.blockedOn=null)}for(;0<cu.length&&(c=cu[0],c.blockedOn===null);)q0(c),c.blockedOn===null&&cu.shift();if(c=(r.ownerDocument||r).$$reactFormReplay,c!=null)for(p=0;p<c.length;p+=3){var x=c[p],w=c[p+1],N=x[Ei]||null;if(typeof w=="function")N||G0(c);else if(N){var $=null;if(w&&w.hasAttribute("formAction")){if(x=w,N=w[Ei]||null)$=N.formAction;else if(k0(x)!==null)continue}else $=N.action;typeof $=="function"?c[p+1]=$:(c.splice(p,3),p-=3),G0(c)}}}function I0(r){this._internalRoot=r}Fp.prototype.render=I0.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(o(409));var c=s.current,p=yi();Pp(c,p,r,s,null,null)},Fp.prototype.unmount=I0.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;Pp(r.current,2,null,r,null,null),oc(),s[Ms]=null}};function Fp(r){this._internalRoot=r}Fp.prototype.unstable_scheduleHydration=function(r){if(r){var s=nv();r={blockedOn:null,target:r,priority:s};for(var c=0;c<cu.length&&s!==0&&s<cu[c].priority;c++);cu.splice(c,0,r),c===0&&q0(r)}};var F0=n.version;if(F0!=="19.1.0")throw Error(o(527,F0,"19.1.0"));ne.findDOMNode=function(r){var s=r._reactInternals;if(s===void 0)throw typeof r.render=="function"?Error(o(188)):(r=Object.keys(r).join(","),Error(o(268,r)));return r=S(s),r=r!==null?E(r):null,r=r===null?null:r.stateNode,r};var Hi={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:F,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zh.isDisabled&&zh.supportsFiber)try{Vo=zh.inject(Hi),tt=zh}catch{}}return Ab.createRoot=function(r,s){if(!u(r))throw Error(o(299));var c=!1,p="",x=Ju,w=lh,N=oh,$=null;return s!=null&&(s.unstable_strictMode===!0&&(c=!0),s.identifierPrefix!==void 0&&(p=s.identifierPrefix),s.onUncaughtError!==void 0&&(x=s.onUncaughtError),s.onCaughtError!==void 0&&(w=s.onCaughtError),s.onRecoverableError!==void 0&&(N=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&($=s.unstable_transitionCallbacks)),s=j0(r,1,!1,null,null,c,p,x,w,N,$,null),r[Ms]=s.current,N0(r),new I0(s)},Ab.hydrateRoot=function(r,s,c){if(!u(r))throw Error(o(299));var p=!1,x="",w=Ju,N=lh,$=oh,Z=null,de=null;return c!=null&&(c.unstable_strictMode===!0&&(p=!0),c.identifierPrefix!==void 0&&(x=c.identifierPrefix),c.onUncaughtError!==void 0&&(w=c.onUncaughtError),c.onCaughtError!==void 0&&(N=c.onCaughtError),c.onRecoverableError!==void 0&&($=c.onRecoverableError),c.unstable_transitionCallbacks!==void 0&&(Z=c.unstable_transitionCallbacks),c.formState!==void 0&&(de=c.formState)),s=j0(r,1,!0,s,c??null,p,x,w,N,$,Z,de),s.context=$0(null),c=s.current,p=yi(),p=gl(p),x=Qi(p),x.callback=null,xl(c,x,p),c=p,s.current.lanes=c,Os(s,c),or(s),r[Ms]=s.current,N0(r),new Fp(s)},Ab.version="19.1.0",Ab}var wb={};/**
|
|
791
791
|
* @license React
|
|
792
792
|
* react-dom-client.development.js
|
|
@@ -795,7 +795,7 @@ Error generating stack: `+c.message+`
|
|
|
795
795
|
*
|
|
796
796
|
* This source code is licensed under the MIT license found in the
|
|
797
797
|
* LICENSE file in the root directory of this source tree.
|
|
798
|
-
*/var V_;function cF(){return V_||(V_=1,process.env.NODE_ENV!=="production"&&function(){function t(e,a){for(e=e.memoizedState;e!==null&&0<a;)e=e.next,a--;return e}function n(e,a,l,d){if(l>=a.length)return d;var y=a[l],b=Ct(e)?e.slice():Ut({},e);return b[y]=n(e[y],a,l+1,d),b}function i(e,a,l){if(a.length!==l.length)console.warn("copyWithRename() expects paths of the same length");else{for(var d=0;d<l.length-1;d++)if(a[d]!==l[d]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return o(e,a,l,0)}}function o(e,a,l,d){var y=a[d],b=Ct(e)?e.slice():Ut({},e);return d+1===a.length?(b[l[d]]=b[y],Ct(b)?b.splice(y,1):delete b[y]):b[y]=o(e[y],a,l,d+1),b}function u(e,a,l){var d=a[l],y=Ct(e)?e.slice():Ut({},e);return l+1===a.length?(Ct(y)?y.splice(d,1):delete y[d],y):(y[d]=u(e[d],a,l+1),y)}function h(){return!1}function g(){return null}function v(){}function S(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function E(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function A(){}function C(e){var a=[];return e.forEach(function(l){a.push(l)}),a.sort().join(", ")}function M(e,a,l,d){return new Wc(e,a,l,d)}function R(e,a){e.context===Xp&&(Cn(e.current,2,a,e,null,null),is())}function B(e,a){if(hu!==null){var l=a.staleFamilies;a=a.updatedFamilies,Ws(),Dd(e.current,a,l),is()}}function L(e){hu=e}function P(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function U(e){var a=e,l=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(l=a.return),e=a.return;while(e)}return a.tag===3?l:null}function G(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function q(e){if(U(e)!==e)throw Error("Unable to find node on an unmounted component.")}function J(e){var a=e.alternate;if(!a){if(a=U(e),a===null)throw Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var l=e,d=a;;){var y=l.return;if(y===null)break;var b=y.alternate;if(b===null){if(d=y.return,d!==null){l=d;continue}break}if(y.child===b.child){for(b=y.child;b;){if(b===l)return q(y),e;if(b===d)return q(y),a;b=b.sibling}throw Error("Unable to find node on an unmounted component.")}if(l.return!==d.return)l=y,d=b;else{for(var O=!1,_=y.child;_;){if(_===l){O=!0,l=y,d=b;break}if(_===d){O=!0,d=y,l=b;break}_=_.sibling}if(!O){for(_=b.child;_;){if(_===l){O=!0,l=b,d=y;break}if(_===d){O=!0,d=b,l=y;break}_=_.sibling}if(!O)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(l.alternate!==d)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(l.tag!==3)throw Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?e:a}function Y(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=Y(e),a!==null)return a;e=e.sibling}return null}function le(e){return e===null||typeof e!="object"?null:(e=z0&&e[z0]||e["@@iterator"],typeof e=="function"?e:null)}function me(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Vp?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Nt:return"Fragment";case vi:return"Profiler";case $f:return"StrictMode";case Hf:return"Suspense";case da:return"SuspenseList";case xo:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case fc:return"Portal";case Ha:return(e.displayName||"Context")+".Provider";case Up:return(e._context.displayName||"Context")+".Consumer";case bt:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case qn:return a=e.displayName||null,a!==null?a:me(e.type)||"Memo";case Mr:a=e._payload,e=e._init;try{return me(e(a))}catch{}}return null}function pe(e){return typeof e.tag=="number"?ve(e):typeof e.name=="string"?e.name:null}function ve(e){var a=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(a._context.displayName||"Context")+".Consumer";case 10:return(a.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=a.render,e=e.displayName||e.name||"",a.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return me(a);case 8:return a===$f?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break;case 29:if(a=e._debugInfo,a!=null){for(var l=a.length-1;0<=l;l--)if(typeof a[l].name=="string")return a[l].name}if(e.return!==null)return ve(e.return)}return null}function He(e){return{current:e}}function Be(e,a){0>Bi?console.error("Unexpected pop."):(a!==Pf[Bi]&&console.error("Unexpected Fiber popped."),e.current=Dr[Bi],Dr[Bi]=null,Pf[Bi]=null,Bi--)}function Pe(e,a,l){Bi++,Dr[Bi]=e.current,Pf[Bi]=l,e.current=a}function Qe(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Xe(e,a){Pe(Rl,a,e),Pe(Nn,e,e),Pe(Sn,null,e);var l=a.nodeType;switch(l){case 9:case 11:l=l===9?"#document":"#fragment",a=(a=a.documentElement)&&(a=a.namespaceURI)?xn(a):kh;break;default:if(l=a.tagName,a=a.namespaceURI)a=xn(a),a=rr(a,l);else switch(l){case"svg":a=h1;break;case"math":a=y2;break;default:a=kh}}l=l.toLowerCase(),l=bm(null,l),l={context:a,ancestorInfo:l},Be(Sn,e),Pe(Sn,l,e)}function qe(e){Be(Sn,e),Be(Nn,e),Be(Rl,e)}function F(){return Qe(Sn.current)}function ne(e){e.memoizedState!==null&&Pe(kf,e,e);var a=Qe(Sn.current),l=e.type,d=rr(a.context,l);l=bm(a.ancestorInfo,l),d={context:d,ancestorInfo:l},a!==d&&(Pe(Nn,e,e),Pe(Sn,d,e))}function oe(e){Nn.current===e&&(Be(Sn,e),Be(Nn,e)),kf.current===e&&(Be(kf,e),fS._currentValue=hy)}function Me(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function X(e){try{return fe(e),!1}catch{return!0}}function fe(e){return""+e}function Ae(e,a){if(X(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",a,Me(e)),fe(e)}function je(e,a){if(X(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",a,Me(e)),fe(e)}function Ye(e){if(X(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Me(e)),fe(e)}function Le(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var a=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(a.isDisabled)return!0;if(!a.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{su=a.inject(e),ai=a}catch(l){console.error("React instrumentation encountered an error: %s.",l)}return!!a.checkDCE}function Ue(e){if(typeof qf=="function"&&Nl(e),ai&&typeof ai.setStrictMode=="function")try{ai.setStrictMode(su,e)}catch(a){sr||(sr=!0,console.error("React instrumentation encountered an error: %s",a))}}function et(e){Ke=e}function We(){Ke!==null&&typeof Ke.markCommitStopped=="function"&&Ke.markCommitStopped()}function it(e){Ke!==null&&typeof Ke.markComponentRenderStarted=="function"&&Ke.markComponentRenderStarted(e)}function yt(){Ke!==null&&typeof Ke.markComponentRenderStopped=="function"&&Ke.markComponentRenderStopped()}function un(e){Ke!==null&&typeof Ke.markRenderStarted=="function"&&Ke.markRenderStarted(e)}function Ge(){Ke!==null&&typeof Ke.markRenderStopped=="function"&&Ke.markRenderStopped()}function nt(e,a){Ke!==null&&typeof Ke.markStateUpdateScheduled=="function"&&Ke.markStateUpdateScheduled(e,a)}function Jt(e){return e>>>=0,e===0?32:31-(Ot(e)/To|0)|0}function wa(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function pr(e){var a=e&42;if(a!==0)return a;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function gn(e,a,l){var d=e.pendingLanes;if(d===0)return 0;var y=0,b=e.suspendedLanes,O=e.pingedLanes;e=e.warmLanes;var _=d&134217727;return _!==0?(d=_&~b,d!==0?y=pr(d):(O&=_,O!==0?y=pr(O):l||(l=_&~e,l!==0&&(y=pr(l))))):(_=d&~b,_!==0?y=pr(_):O!==0?y=pr(O):l||(l=d&~e,l!==0&&(y=pr(l)))),y===0?0:a!==0&&a!==y&&(a&b)===0&&(b=y&-y,l=a&-a,b>=l||b===32&&(l&4194048)!==0)?a:y}function As(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function hd(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Lo(){var e=ji;return ji<<=1,(ji&4194048)===0&&(ji=256),e}function Ia(){var e=wh;return wh<<=1,(wh&62914560)===0&&(wh=4194304),e}function gr(e){for(var a=[],l=0;31>l;l++)a.push(e);return a}function $r(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function hm(e,a,l,d,y,b){var O=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var _=e.entanglements,H=e.expirationTimes,I=e.hiddenUpdates;for(l=O&~l;0<l;){var be=31-Xn(l),Ee=1<<be;_[be]=0,H[be]=-1;var ge=I[be];if(ge!==null)for(I[be]=null,be=0;be<ge.length;be++){var Ce=ge[be];Ce!==null&&(Ce.lane&=-536870913)}l&=~Ee}d!==0&&Uo(e,d,0),b!==0&&y===0&&e.tag!==0&&(e.suspendedLanes|=b&~(O&~a))}function Uo(e,a,l){e.pendingLanes|=a,e.suspendedLanes&=~a;var d=31-Xn(a);e.entangledLanes|=a,e.entanglements[d]=e.entanglements[d]|1073741824|l&4194090}function Vo(e,a){var l=e.entangledLanes|=a;for(e=e.entanglements;l;){var d=31-Xn(l),y=1<<d;y&a|e[d]&a&&(e[d]|=a),l&=~y}}function tt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function dn(e,a,l){if(Kn)for(e=e.pendingUpdatersLaneMap;0<l;){var d=31-Xn(l),y=1<<d;e[d].add(a),l&=~y}}function En(e,a){if(Kn)for(var l=e.pendingUpdatersLaneMap,d=e.memoizedUpdaters;0<a;){var y=31-Xn(a);e=1<<y,y=l[y],0<y.size&&(y.forEach(function(b){var O=b.alternate;O!==null&&d.has(O)||d.add(b)}),y.clear()),a&=~e}}function yr(e){return e&=-e,ii<e?Vt<e?(e&134217727)!==0?ds:Ch:Vt:ii}function Yl(){var e=Tt.p;return e!==0?e:(e=window.event,e===void 0?ds:vh(e.type))}function Dg(e,a){var l=Tt.p;try{return Tt.p=e,a()}finally{Tt.p=l}}function ws(e){delete e[bi],delete e[ur],delete e[L0],delete e[Lv],delete e[Gf]}function pl(e){var a=e[bi];if(a)return a;for(var l=e.parentNode;l;){if(a=l[uu]||l[bi]){if(l=a.alternate,a.child!==null||l!==null&&l.child!==null)for(e=lc(e);e!==null;){if(l=e[bi])return l;e=lc(e)}return a}e=l,l=e.parentNode}return null}function Ti(e){if(e=e[bi]||e[uu]){var a=e.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return e}return null}function ql(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Hr(e){var a=e[If];return a||(a=e[If]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Ua(e){e[Ff]=!0}function Cs(e,a){wu(e,a),wu(e+"Capture",a)}function wu(e,a){ul[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ul[e]=a;var l=e.toLowerCase();for(hc[l]=e,e==="onDoubleClick"&&(hc.ondblclick=e),e=0;e<a.length;e++)Uv.add(a[e])}function Bo(e,a){Vv[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Os(e){return fs.call(Hp,e)?!0:fs.call(Xf,e)?!1:$p.test(e)?Hp[e]=!0:(Xf[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function tv(e,a,l){if(Os(a)){if(!e.hasAttribute(a)){switch(typeof l){case"symbol":case"object":return l;case"function":return l;case"boolean":if(l===!1)return l}return l===void 0?void 0:null}return e=e.getAttribute(a),e===""&&l===!0?!0:(Ae(l,a),e===""+l?l:e)}}function md(e,a,l){if(Os(a))if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var d=a.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){e.removeAttribute(a);return}}Ae(l,a),e.setAttribute(a,""+l)}}function pd(e,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}Ae(l,a),e.setAttribute(a,""+l)}}function gl(e,a,l,d){if(d===null)e.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}Ae(d,l),e.setAttributeNS(a,l,""+d)}}function gd(){}function nv(){if(Eo===0){U0=console.log,V0=console.info,Bv=console.warn,Sa=console.error,Na=console.group,jv=console.groupCollapsed,$v=console.groupEnd;var e={configurable:!0,enumerable:!0,value:gd,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Eo++}function Cb(){if(Eo--,Eo===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ut({},e,{value:U0}),info:Ut({},e,{value:V0}),warn:Ut({},e,{value:Bv}),error:Ut({},e,{value:Sa}),group:Ut({},e,{value:Na}),groupCollapsed:Ut({},e,{value:jv}),groupEnd:Ut({},e,{value:$v})})}0>Eo&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ca(e){if(B0===void 0)try{throw Error()}catch(l){var a=l.stack.trim().match(/\n( *(at )?)/);B0=a&&a[1]||"",Zf=-1<l.stack.indexOf(`
|
|
798
|
+
*/var V_;function hF(){return V_||(V_=1,process.env.NODE_ENV!=="production"&&function(){function t(e,a){for(e=e.memoizedState;e!==null&&0<a;)e=e.next,a--;return e}function n(e,a,l,d){if(l>=a.length)return d;var y=a[l],b=Ct(e)?e.slice():Ut({},e);return b[y]=n(e[y],a,l+1,d),b}function i(e,a,l){if(a.length!==l.length)console.warn("copyWithRename() expects paths of the same length");else{for(var d=0;d<l.length-1;d++)if(a[d]!==l[d]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return o(e,a,l,0)}}function o(e,a,l,d){var y=a[d],b=Ct(e)?e.slice():Ut({},e);return d+1===a.length?(b[l[d]]=b[y],Ct(b)?b.splice(y,1):delete b[y]):b[y]=o(e[y],a,l,d+1),b}function u(e,a,l){var d=a[l],y=Ct(e)?e.slice():Ut({},e);return l+1===a.length?(Ct(y)?y.splice(d,1):delete y[d],y):(y[d]=u(e[d],a,l+1),y)}function h(){return!1}function g(){return null}function v(){}function S(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function E(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function A(){}function C(e){var a=[];return e.forEach(function(l){a.push(l)}),a.sort().join(", ")}function M(e,a,l,d){return new Wc(e,a,l,d)}function R(e,a){e.context===Xp&&(Cn(e.current,2,a,e,null,null),is())}function B(e,a){if(hu!==null){var l=a.staleFamilies;a=a.updatedFamilies,Ws(),Dd(e.current,a,l),is()}}function L(e){hu=e}function P(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function U(e){var a=e,l=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(l=a.return),e=a.return;while(e)}return a.tag===3?l:null}function G(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function q(e){if(U(e)!==e)throw Error("Unable to find node on an unmounted component.")}function J(e){var a=e.alternate;if(!a){if(a=U(e),a===null)throw Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var l=e,d=a;;){var y=l.return;if(y===null)break;var b=y.alternate;if(b===null){if(d=y.return,d!==null){l=d;continue}break}if(y.child===b.child){for(b=y.child;b;){if(b===l)return q(y),e;if(b===d)return q(y),a;b=b.sibling}throw Error("Unable to find node on an unmounted component.")}if(l.return!==d.return)l=y,d=b;else{for(var O=!1,_=y.child;_;){if(_===l){O=!0,l=y,d=b;break}if(_===d){O=!0,d=y,l=b;break}_=_.sibling}if(!O){for(_=b.child;_;){if(_===l){O=!0,l=b,d=y;break}if(_===d){O=!0,d=b,l=y;break}_=_.sibling}if(!O)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(l.alternate!==d)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(l.tag!==3)throw Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?e:a}function Y(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=Y(e),a!==null)return a;e=e.sibling}return null}function le(e){return e===null||typeof e!="object"?null:(e=z0&&e[z0]||e["@@iterator"],typeof e=="function"?e:null)}function me(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Vp?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Nt:return"Fragment";case vi:return"Profiler";case $f:return"StrictMode";case Hf:return"Suspense";case ha:return"SuspenseList";case xo:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case fc:return"Portal";case Ha:return(e.displayName||"Context")+".Provider";case Up:return(e._context.displayName||"Context")+".Consumer";case bt:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case qn:return a=e.displayName||null,a!==null?a:me(e.type)||"Memo";case Mr:a=e._payload,e=e._init;try{return me(e(a))}catch{}}return null}function pe(e){return typeof e.tag=="number"?ve(e):typeof e.name=="string"?e.name:null}function ve(e){var a=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(a._context.displayName||"Context")+".Consumer";case 10:return(a.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=a.render,e=e.displayName||e.name||"",a.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return me(a);case 8:return a===$f?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break;case 29:if(a=e._debugInfo,a!=null){for(var l=a.length-1;0<=l;l--)if(typeof a[l].name=="string")return a[l].name}if(e.return!==null)return ve(e.return)}return null}function He(e){return{current:e}}function Be(e,a){0>Bi?console.error("Unexpected pop."):(a!==Pf[Bi]&&console.error("Unexpected Fiber popped."),e.current=Dr[Bi],Dr[Bi]=null,Pf[Bi]=null,Bi--)}function Pe(e,a,l){Bi++,Dr[Bi]=e.current,Pf[Bi]=l,e.current=a}function Qe(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Xe(e,a){Pe(Rl,a,e),Pe(Nn,e,e),Pe(Sn,null,e);var l=a.nodeType;switch(l){case 9:case 11:l=l===9?"#document":"#fragment",a=(a=a.documentElement)&&(a=a.namespaceURI)?xn(a):kh;break;default:if(l=a.tagName,a=a.namespaceURI)a=xn(a),a=rr(a,l);else switch(l){case"svg":a=h1;break;case"math":a=y2;break;default:a=kh}}l=l.toLowerCase(),l=bm(null,l),l={context:a,ancestorInfo:l},Be(Sn,e),Pe(Sn,l,e)}function qe(e){Be(Sn,e),Be(Nn,e),Be(Rl,e)}function F(){return Qe(Sn.current)}function ne(e){e.memoizedState!==null&&Pe(kf,e,e);var a=Qe(Sn.current),l=e.type,d=rr(a.context,l);l=bm(a.ancestorInfo,l),d={context:d,ancestorInfo:l},a!==d&&(Pe(Nn,e,e),Pe(Sn,d,e))}function oe(e){Nn.current===e&&(Be(Sn,e),Be(Nn,e)),kf.current===e&&(Be(kf,e),fS._currentValue=hy)}function Me(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function X(e){try{return fe(e),!1}catch{return!0}}function fe(e){return""+e}function Ae(e,a){if(X(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",a,Me(e)),fe(e)}function je(e,a){if(X(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",a,Me(e)),fe(e)}function Ye(e){if(X(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Me(e)),fe(e)}function Le(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var a=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(a.isDisabled)return!0;if(!a.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{su=a.inject(e),ai=a}catch(l){console.error("React instrumentation encountered an error: %s.",l)}return!!a.checkDCE}function Ue(e){if(typeof qf=="function"&&Nl(e),ai&&typeof ai.setStrictMode=="function")try{ai.setStrictMode(su,e)}catch(a){sr||(sr=!0,console.error("React instrumentation encountered an error: %s",a))}}function et(e){Ke=e}function We(){Ke!==null&&typeof Ke.markCommitStopped=="function"&&Ke.markCommitStopped()}function it(e){Ke!==null&&typeof Ke.markComponentRenderStarted=="function"&&Ke.markComponentRenderStarted(e)}function yt(){Ke!==null&&typeof Ke.markComponentRenderStopped=="function"&&Ke.markComponentRenderStopped()}function un(e){Ke!==null&&typeof Ke.markRenderStarted=="function"&&Ke.markRenderStarted(e)}function Ge(){Ke!==null&&typeof Ke.markRenderStopped=="function"&&Ke.markRenderStopped()}function nt(e,a){Ke!==null&&typeof Ke.markStateUpdateScheduled=="function"&&Ke.markStateUpdateScheduled(e,a)}function Jt(e){return e>>>=0,e===0?32:31-(Ot(e)/To|0)|0}function wa(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function pr(e){var a=e&42;if(a!==0)return a;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function gn(e,a,l){var d=e.pendingLanes;if(d===0)return 0;var y=0,b=e.suspendedLanes,O=e.pingedLanes;e=e.warmLanes;var _=d&134217727;return _!==0?(d=_&~b,d!==0?y=pr(d):(O&=_,O!==0?y=pr(O):l||(l=_&~e,l!==0&&(y=pr(l))))):(_=d&~b,_!==0?y=pr(_):O!==0?y=pr(O):l||(l=d&~e,l!==0&&(y=pr(l)))),y===0?0:a!==0&&a!==y&&(a&b)===0&&(b=y&-y,l=a&-a,b>=l||b===32&&(l&4194048)!==0)?a:y}function As(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function hd(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Lo(){var e=ji;return ji<<=1,(ji&4194048)===0&&(ji=256),e}function Ia(){var e=wh;return wh<<=1,(wh&62914560)===0&&(wh=4194304),e}function gr(e){for(var a=[],l=0;31>l;l++)a.push(e);return a}function $r(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function hm(e,a,l,d,y,b){var O=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var _=e.entanglements,H=e.expirationTimes,I=e.hiddenUpdates;for(l=O&~l;0<l;){var be=31-Xn(l),Ee=1<<be;_[be]=0,H[be]=-1;var ge=I[be];if(ge!==null)for(I[be]=null,be=0;be<ge.length;be++){var Ce=ge[be];Ce!==null&&(Ce.lane&=-536870913)}l&=~Ee}d!==0&&Uo(e,d,0),b!==0&&y===0&&e.tag!==0&&(e.suspendedLanes|=b&~(O&~a))}function Uo(e,a,l){e.pendingLanes|=a,e.suspendedLanes&=~a;var d=31-Xn(a);e.entangledLanes|=a,e.entanglements[d]=e.entanglements[d]|1073741824|l&4194090}function Vo(e,a){var l=e.entangledLanes|=a;for(e=e.entanglements;l;){var d=31-Xn(l),y=1<<d;y&a|e[d]&a&&(e[d]|=a),l&=~y}}function tt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function dn(e,a,l){if(Kn)for(e=e.pendingUpdatersLaneMap;0<l;){var d=31-Xn(l),y=1<<d;e[d].add(a),l&=~y}}function En(e,a){if(Kn)for(var l=e.pendingUpdatersLaneMap,d=e.memoizedUpdaters;0<a;){var y=31-Xn(a);e=1<<y,y=l[y],0<y.size&&(y.forEach(function(b){var O=b.alternate;O!==null&&d.has(O)||d.add(b)}),y.clear()),a&=~e}}function yr(e){return e&=-e,ii<e?Vt<e?(e&134217727)!==0?ds:Ch:Vt:ii}function Yl(){var e=Tt.p;return e!==0?e:(e=window.event,e===void 0?ds:vh(e.type))}function Dg(e,a){var l=Tt.p;try{return Tt.p=e,a()}finally{Tt.p=l}}function ws(e){delete e[bi],delete e[ur],delete e[L0],delete e[Lv],delete e[Gf]}function pl(e){var a=e[bi];if(a)return a;for(var l=e.parentNode;l;){if(a=l[uu]||l[bi]){if(l=a.alternate,a.child!==null||l!==null&&l.child!==null)for(e=lc(e);e!==null;){if(l=e[bi])return l;e=lc(e)}return a}e=l,l=e.parentNode}return null}function Ti(e){if(e=e[bi]||e[uu]){var a=e.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return e}return null}function ql(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Hr(e){var a=e[If];return a||(a=e[If]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Ua(e){e[Ff]=!0}function Cs(e,a){wu(e,a),wu(e+"Capture",a)}function wu(e,a){ul[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ul[e]=a;var l=e.toLowerCase();for(hc[l]=e,e==="onDoubleClick"&&(hc.ondblclick=e),e=0;e<a.length;e++)Uv.add(a[e])}function Bo(e,a){Vv[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Os(e){return fs.call(Hp,e)?!0:fs.call(Xf,e)?!1:$p.test(e)?Hp[e]=!0:(Xf[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function tv(e,a,l){if(Os(a)){if(!e.hasAttribute(a)){switch(typeof l){case"symbol":case"object":return l;case"function":return l;case"boolean":if(l===!1)return l}return l===void 0?void 0:null}return e=e.getAttribute(a),e===""&&l===!0?!0:(Ae(l,a),e===""+l?l:e)}}function md(e,a,l){if(Os(a))if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var d=a.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){e.removeAttribute(a);return}}Ae(l,a),e.setAttribute(a,""+l)}}function pd(e,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}Ae(l,a),e.setAttribute(a,""+l)}}function gl(e,a,l,d){if(d===null)e.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}Ae(d,l),e.setAttributeNS(a,l,""+d)}}function gd(){}function nv(){if(Eo===0){U0=console.log,V0=console.info,Bv=console.warn,Sa=console.error,Na=console.group,jv=console.groupCollapsed,$v=console.groupEnd;var e={configurable:!0,enumerable:!0,value:gd,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Eo++}function Cb(){if(Eo--,Eo===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ut({},e,{value:U0}),info:Ut({},e,{value:V0}),warn:Ut({},e,{value:Bv}),error:Ut({},e,{value:Sa}),group:Ut({},e,{value:Na}),groupCollapsed:Ut({},e,{value:jv}),groupEnd:Ut({},e,{value:$v})})}0>Eo&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ca(e){if(B0===void 0)try{throw Error()}catch(l){var a=l.stack.trim().match(/\n( *(at )?)/);B0=a&&a[1]||"",Zf=-1<l.stack.indexOf(`
|
|
799
799
|
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
800
800
|
`+B0+e+Zf}function pa(e,a){if(!e||Kf)return"";var l=Oh.get(e);if(l!==void 0)return l;Kf=!0,l=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var d=null;d=xe.H,xe.H=null,nv();try{var y={DetermineComponentFrameRoot:function(){try{if(a){var ge=function(){throw Error()};if(Object.defineProperty(ge.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ge,[])}catch(ot){var Ce=ot}Reflect.construct(e,[],ge)}else{try{ge.call()}catch(ot){Ce=ot}e.call(ge.prototype)}}else{try{throw Error()}catch(ot){Ce=ot}(ge=e())&&typeof ge.catch=="function"&&ge.catch(function(){})}}catch(ot){if(ot&&Ce&&typeof ot.stack=="string")return[ot.stack,Ce.stack]}return[null,null]}};y.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var b=Object.getOwnPropertyDescriptor(y.DetermineComponentFrameRoot,"name");b&&b.configurable&&Object.defineProperty(y.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var O=y.DetermineComponentFrameRoot(),_=O[0],H=O[1];if(_&&H){var I=_.split(`
|
|
801
801
|
`),be=H.split(`
|
|
@@ -847,7 +847,7 @@ This will cause a hydration error.%s`,O,d,l,b)):console.error(`In HTML, %s canno
|
|
|
847
847
|
This will cause a hydration error.%s`,O,d,b),a&&(e=a.return,y===null||e===null||y===e&&e._debugOwner===a._debugOwner||rt(y,function(){console.error(`<%s> cannot contain a nested %s.
|
|
848
848
|
See this log for the ancestor stack trace.`,d,O)})),!1}function Yc(e,a,l){if(l||wd("#text",a,!1))return!0;if(l="#text|"+a,pc[l])return!1;pc[l]=!0;var d=(l=Rr)?_u(l,a):null;return l=l!==null&&d!==null?Ru(d,l,l.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
849
849
|
This will cause a hydration error.%s`,a,l):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
850
|
-
This will cause a hydration error.%s`,a,l),!1}function Nu(e,a){if(a){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=a;return}}e.textContent=a}function ov(e){return e.replace(cu,function(a,l){return l.toUpperCase()})}function Rg(e,a,l){var d=a.indexOf("--")===0;d||(-1<a.indexOf("-")?gc.hasOwnProperty(a)&&gc[a]||(gc[a]=!0,console.error("Unsupported style property %s. Did you mean %s?",a,ov(a.replace(Rh,"ms-")))):Dh.test(a)?gc.hasOwnProperty(a)&&gc[a]||(gc[a]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",a,a.charAt(0).toUpperCase()+a.slice(1))):!Pv.test(l)||yc.hasOwnProperty(l)&&yc[l]||(yc[l]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,a,l.replace(Pv,""))),typeof l=="number"&&(isNaN(l)?kv||(kv=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",a)):isFinite(l)||q0||(q0=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",a)))),l==null||typeof l=="boolean"||l===""?d?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":d?e.setProperty(a,l):typeof l!="number"||l===0||_h.has(a)?a==="float"?e.cssFloat=l:(je(l,a),e[a]=(""+l).trim()):e[a]=l+"px"}function qc(e,a,l){if(a!=null&&typeof a!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(a&&Object.freeze(a),e=e.style,l!=null){if(a){var d={};if(l){for(var y in l)if(l.hasOwnProperty(y)&&!a.hasOwnProperty(y))for(var b=Ll[y]||[y],O=0;O<b.length;O++)d[b[O]]=y}for(var _ in a)if(a.hasOwnProperty(_)&&(!l||l[_]!==a[_]))for(y=Ll[_]||[_],b=0;b<y.length;b++)d[y[b]]=_;_={};for(var H in a)for(y=Ll[H]||[H],b=0;b<y.length;b++)_[y[b]]=H;H={};for(var I in d)if(y=d[I],(b=_[I])&&y!==b&&(O=y+","+b,!H[O])){H[O]=!0,O=console;var be=a[y];O.error.call(O,"%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.",be==null||typeof be=="boolean"||be===""?"Removing":"Updating",y,b)}}for(var Ee in l)!l.hasOwnProperty(Ee)||a!=null&&a.hasOwnProperty(Ee)||(Ee.indexOf("--")===0?e.setProperty(Ee,""):Ee==="float"?e.cssFloat="":e[Ee]="");for(var ge in a)I=a[ge],a.hasOwnProperty(ge)&&l[ge]!==I&&Rg(e,ge,I)}else for(d in a)a.hasOwnProperty(d)&&Rg(e,d,a[d])}function Us(e){if(e.indexOf("-")===-1)return!1;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}}function Sm(e){return Ip.get(e)||e}function Gc(e,a){if(fs.call(Ao,a)&&Ao[a])return!0;if(Fp.test(a)){if(e="aria-"+a.slice(4).toLowerCase(),e=G0.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),Ao[a]=!0;if(a!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,e),Ao[a]=!0}if(I0.test(a)){if(e=a.toLowerCase(),e=G0.hasOwnProperty(e)?e:null,e==null)return Ao[a]=!0,!1;a!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,e),Ao[a]=!0)}return!0}function Ic(e,a){var l=[],d;for(d in a)Gc(e,d)||l.push(d);a=l.map(function(y){return"`"+y+"`"}).join(", "),l.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,e):1<l.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,e)}function _g(e,a,l,d){if(fs.call(Hi,a)&&Hi[a])return!0;var y=a.toLowerCase();if(y==="onfocusin"||y==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Hi[a]=!0;if(typeof l=="function"&&(e==="form"&&a==="action"||e==="input"&&a==="formAction"||e==="button"&&a==="formAction"))return!0;if(d!=null){if(e=d.possibleRegistrationNames,d.registrationNameDependencies.hasOwnProperty(a))return!0;if(d=e.hasOwnProperty(y)?e[y]:null,d!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",a,d),Hi[a]=!0;if(zh.test(a))return console.error("Unknown event handler property `%s`. It will be ignored.",a),Hi[a]=!0}else if(zh.test(a))return r.test(a)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),Hi[a]=!0;if(s.test(a)||c.test(a))return!0;if(y==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Hi[a]=!0;if(y==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Hi[a]=!0;if(y==="is"&&l!==null&&l!==void 0&&typeof l!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),Hi[a]=!0;if(typeof l=="number"&&isNaN(l))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),Hi[a]=!0;if(vc.hasOwnProperty(y)){if(y=vc[y],y!==a)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",a,y),Hi[a]=!0}else if(a!==y)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",a,y),Hi[a]=!0;switch(a){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof l){case"boolean":switch(a){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return y=a.toLowerCase().slice(0,5),y==="data-"||y==="aria-"?!0:(l?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',l,a,a,l,a):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',l,a,a,l,a,a,a),Hi[a]=!0)}case"function":case"symbol":return Hi[a]=!0,!1;case"string":if(l==="false"||l==="true"){switch(a){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",l,a,l==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',a,l),Hi[a]=!0}}return!0}function Ng(e,a,l){var d=[],y;for(y in a)_g(e,y,a[y],l)||d.push(y);a=d.map(function(b){return"`"+b+"`"}).join(", "),d.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,e):1<d.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,e)}function Fc(e){return p.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function zu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Gl(e){var a=Ti(e);if(a&&(e=a.stateNode)){var l=e[ur]||null;e:switch(e=a.stateNode,a.type){case"input":if(Rs(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),a=l.name,l.type==="radio"&&a!=null){for(l=e;l.parentNode;)l=l.parentNode;for(Ae(a,"name"),l=l.querySelectorAll('input[name="'+vr(""+a)+'"][type="radio"]'),a=0;a<l.length;a++){var d=l[a];if(d!==e&&d.form===e.form){var y=d[ur]||null;if(!y)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Rs(d,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(a=0;a<l.length;a++)d=l[a],d.form===e.form&&Oa(d)}break e;case"textarea":xd(e,l.value,l.defaultValue);break e;case"select":a=l.value,a!=null&&$o(e,!!l.multiple,a,!1)}}}function Xc(e,a,l){if($)return e(a,l);$=!0;try{var d=e(a);return d}finally{if($=!1,(w!==null||N!==null)&&(is(),w&&(a=w,e=N,N=w=null,Gl(a),e)))for(a=0;a<e.length;a++)Gl(e[a])}}function Po(e,a){var l=e.stateNode;if(l===null)return null;var d=l[ur]||null;if(d===null)return null;l=d[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(e=e.type,d=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!d;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error("Expected `"+a+"` listener to be a function, instead got a value of `"+typeof l+"` type.");return l}function ko(){if(he)return he;var e,a=ye,l=a.length,d,y="value"in Ne?Ne.value:Ne.textContent,b=y.length;for(e=0;e<l&&a[e]===y[e];e++);var O=l-e;for(d=1;d<=O&&a[l-d]===y[b-d];d++);return he=y.slice(e,1<d?1-d:void 0)}function Zc(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function Lu(){return!0}function zg(){return!1}function Lt(e){function a(l,d,y,b,O){this._reactName=l,this._targetInst=y,this.type=d,this.nativeEvent=b,this.target=O,this.currentTarget=null;for(var _ in e)e.hasOwnProperty(_)&&(l=e[_],this[_]=l?l(b):b[_]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?Lu:zg,this.isPropagationStopped=zg,this}return Ut(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Lu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Lu)},persist:function(){},isPersistent:Lu}),a}function An(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=xw[e])?!!a[e]:!1}function xm(){return An}function wi(e,a){switch(e){case"keyup":return zw.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==kx;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Tm(e,a){switch(e){case"compositionend":return Vs(a);case"keypress":return a.which!==T?null:(z=!0,D);case"textInput":return e=a.data,e===D&&z?null:e;default:return null}}function Od(e,a){if(k)return e==="compositionend"||!Vb&&wi(e,a)?(e=ko(),he=ye=Ne=null,k=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return m&&a.locale!=="ko"?null:a.data;default:return null}}function sv(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!K[e.type]:a==="textarea"}function Em(e){if(!Z)return!1;e="on"+e;var a=e in document;return a||(a=document.createElement("div"),a.setAttribute(e,"return;"),a=typeof a[e]=="function"),a}function Am(e,a,l,d){w?N?N.push(d):N=[d]:w=d,a=Df(a,"onChange"),0<a.length&&(l=new pt("onChange","change",null,l,d),e.push({event:l,listeners:a}))}function ca(e){mo(e,0)}function Yo(e){var a=ql(e);if(Oa(a))return e}function qo(e,a){if(e==="change")return a}function Lg(){te&&(te.detachEvent("onpropertychange",wm),ue=te=null)}function wm(e){if(e.propertyName==="value"&&Yo(ue)){var a=[];Am(a,ue,e,zu(e)),Xc(ca,a)}}function kr(e,a,l){e==="focusin"?(Lg(),te=a,ue=l,te.attachEvent("onpropertychange",wm)):e==="focusout"&&Lg()}function Cm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Yo(ue)}function uv(e,a){if(e==="click")return Yo(a)}function cv(e,a){if(e==="input"||e==="change")return Yo(a)}function fv(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}function Kc(e,a){if(Re(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var l=Object.keys(e),d=Object.keys(a);if(l.length!==d.length)return!1;for(d=0;d<l.length;d++){var y=l[d];if(!fs.call(a,y)||!Re(e[y],a[y]))return!1}return!0}function Ug(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ci(e,a){var l=Ug(e);e=0;for(var d;l;){if(l.nodeType===3){if(d=e+l.textContent.length,e<=a&&d>=a)return{node:l,offset:a-e};e=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Ug(l)}}function dv(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?dv(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function br(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=vd(e.document);a instanceof e.HTMLIFrameElement;){try{var l=typeof a.contentWindow.location.href=="string"}catch{l=!1}if(l)e=a.contentWindow;else break;a=vd(e.document)}return a}function Vg(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}function Bg(e,a,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Bt||Fe==null||Fe!==vd(d)||(d=Fe,"selectionStart"in d&&Vg(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),vt&&Kc(vt,d)||(vt=d,d=Df(ut,"onSelect"),0<d.length&&(a=new pt("onSelect","select",null,a,l),e.push({event:a,listeners:d}),a.target=Fe)))}function oi(e,a){var l={};return l[e.toLowerCase()]=a.toLowerCase(),l["Webkit"+e]="webkit"+a,l["Moz"+e]="moz"+a,l}function Il(e){if(Zt[e])return Zt[e];if(!gt[e])return e;var a=gt[e],l;for(l in a)if(a.hasOwnProperty(l)&&l in ln)return Zt[e]=a[l];return e}function Sr(e,a){$_.set(e,a),Cs(a,[e])}function Qt(e,a){if(typeof e=="object"&&e!==null){var l=Uw.get(e);return l!==void 0?l:(a={value:e,source:a,stack:mm(a)},Uw.set(e,a),a)}return{value:e,source:a,stack:mm(a)}}function Yr(){for(var e=Yv,a=Bw=Yv=0;a<e;){var l=du[a];du[a++]=null;var d=du[a];du[a++]=null;var y=du[a];du[a++]=null;var b=du[a];if(du[a++]=null,d!==null&&y!==null){var O=d.pending;O===null?y.next=y:(y.next=O.next,O.next=y),d.pending=y}b!==0&&hv(l,y,b)}}function Qc(e,a,l,d){du[Yv++]=e,du[Yv++]=a,du[Yv++]=l,du[Yv++]=d,Bw|=d,e.lanes|=d,e=e.alternate,e!==null&&(e.lanes|=d)}function jg(e,a,l,d){return Qc(e,a,l,d),Om(e)}function si(e,a){return Qc(e,null,null,a),Om(e)}function hv(e,a,l){e.lanes|=l;var d=e.alternate;d!==null&&(d.lanes|=l);for(var y=!1,b=e.return;b!==null;)b.childLanes|=l,d=b.alternate,d!==null&&(d.childLanes|=l),b.tag===22&&(e=b.stateNode,e===null||e._visibility&Vw||(y=!0)),e=b,b=b.return;return e.tag===3?(b=e.stateNode,y&&a!==null&&(y=31-Xn(l),e=b.hiddenUpdates,d=e[y],d===null?e[y]=[a]:d.push(a),a.lane=l|536870912),b):null}function Om(e){if(rS>_F)throw sy=rS=0,lS=hC=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");sy>NF&&(sy=0,lS=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Ml(e);for(var a=e,l=a.return;l!==null;)a.alternate===null&&(a.flags&4098)!==0&&Ml(e),a=l,l=a.return;return a.tag===3?a.stateNode:null}function Uu(e){if(hu===null)return e;var a=hu(e);return a===void 0?e:a.current}function Mm(e){if(hu===null)return e;var a=hu(e);return a===void 0?e!=null&&typeof e.render=="function"&&(a=Uu(e.render),e.render!==a)?(a={$$typeof:bt,render:a},e.displayName!==void 0&&(a.displayName=e.displayName),a):e:a.current}function Md(e,a){if(hu===null)return!1;var l=e.elementType;a=a.type;var d=!1,y=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case 1:typeof a=="function"&&(d=!0);break;case 0:(typeof a=="function"||y===Mr)&&(d=!0);break;case 11:(y===bt||y===Mr)&&(d=!0);break;case 14:case 15:(y===qn||y===Mr)&&(d=!0);break;default:return!1}return!!(d&&(e=hu(l),e!==void 0&&e===hu(a)))}function Vu(e){hu!==null&&typeof WeakSet=="function"&&(qv===null&&(qv=new WeakSet),qv.add(e))}function Dd(e,a,l){var d=e.alternate,y=e.child,b=e.sibling,O=e.tag,_=e.type,H=null;switch(O){case 0:case 15:case 1:H=_;break;case 11:H=_.render}if(hu===null)throw Error("Expected resolveFamily to be set during hot reload.");var I=!1;_=!1,H!==null&&(H=hu(H),H!==void 0&&(l.has(H)?_=!0:a.has(H)&&(O===1?_=!0:I=!0))),qv!==null&&(qv.has(e)||d!==null&&qv.has(d))&&(_=!0),_&&(e._debugNeedsRemount=!0),(_||I)&&(d=si(e,2),d!==null&&aa(d,e,2)),y===null||_||Dd(y,a,l),b!==null&&Dd(b,a,l)}function Wc(e,a,l,d){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,P_||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Dm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qr(e,a){var l=e.alternate;switch(l===null?(l=M(e.tag,a,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l._debugOwner=e._debugOwner,l._debugStack=e._debugStack,l._debugTask=e._debugTask,l._debugHookTypes=e._debugHookTypes,l.alternate=e,e.alternate=l):(l.pendingProps=a,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null,l.actualDuration=-0,l.actualStartTime=-1.1),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,a=e.dependencies,l.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l.selfBaseDuration=e.selfBaseDuration,l.treeBaseDuration=e.treeBaseDuration,l._debugInfo=e._debugInfo,l._debugNeedsRemount=e._debugNeedsRemount,l.tag){case 0:case 15:l.type=Uu(e.type);break;case 1:l.type=Uu(e.type);break;case 11:l.type=Mm(e.type)}return l}function Rd(e,a){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,a=l.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},e.selfBaseDuration=l.selfBaseDuration,e.treeBaseDuration=l.treeBaseDuration),e}function _d(e,a,l,d,y,b){var O=0,_=e;if(typeof e=="function")Dm(e)&&(O=1),_=Uu(_);else if(typeof e=="string")O=F(),O=Vf(e,l,O)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case xo:return a=M(31,l,a,y),a.elementType=xo,a.lanes=b,a;case Nt:return Fl(l.children,y,b,a);case $f:O=8,y|=dl,y|=Sc;break;case vi:return e=l,d=y,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),a=M(12,e,a,d|_r),a.elementType=vi,a.lanes=b,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case Hf:return a=M(13,l,a,y),a.elementType=Hf,a.lanes=b,a;case da:return a=M(19,l,a,y),a.elementType=da,a.lanes=b,a;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case N0:case Ha:O=10;break e;case Up:O=9;break e;case bt:O=11,_=Mm(_);break e;case qn:O=14;break e;case Mr:O=16,_=null;break e}_="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?l="null":Ct(e)?l="array":e!==void 0&&e.$$typeof===ou?(l="<"+(me(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,(O=d?pe(d):null)&&(_+=`
|
|
850
|
+
This will cause a hydration error.%s`,a,l),!1}function Nu(e,a){if(a){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=a;return}}e.textContent=a}function ov(e){return e.replace(cu,function(a,l){return l.toUpperCase()})}function Rg(e,a,l){var d=a.indexOf("--")===0;d||(-1<a.indexOf("-")?gc.hasOwnProperty(a)&&gc[a]||(gc[a]=!0,console.error("Unsupported style property %s. Did you mean %s?",a,ov(a.replace(Rh,"ms-")))):Dh.test(a)?gc.hasOwnProperty(a)&&gc[a]||(gc[a]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",a,a.charAt(0).toUpperCase()+a.slice(1))):!Pv.test(l)||yc.hasOwnProperty(l)&&yc[l]||(yc[l]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,a,l.replace(Pv,""))),typeof l=="number"&&(isNaN(l)?kv||(kv=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",a)):isFinite(l)||q0||(q0=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",a)))),l==null||typeof l=="boolean"||l===""?d?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":d?e.setProperty(a,l):typeof l!="number"||l===0||_h.has(a)?a==="float"?e.cssFloat=l:(je(l,a),e[a]=(""+l).trim()):e[a]=l+"px"}function qc(e,a,l){if(a!=null&&typeof a!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(a&&Object.freeze(a),e=e.style,l!=null){if(a){var d={};if(l){for(var y in l)if(l.hasOwnProperty(y)&&!a.hasOwnProperty(y))for(var b=Ll[y]||[y],O=0;O<b.length;O++)d[b[O]]=y}for(var _ in a)if(a.hasOwnProperty(_)&&(!l||l[_]!==a[_]))for(y=Ll[_]||[_],b=0;b<y.length;b++)d[y[b]]=_;_={};for(var H in a)for(y=Ll[H]||[H],b=0;b<y.length;b++)_[y[b]]=H;H={};for(var I in d)if(y=d[I],(b=_[I])&&y!==b&&(O=y+","+b,!H[O])){H[O]=!0,O=console;var be=a[y];O.error.call(O,"%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.",be==null||typeof be=="boolean"||be===""?"Removing":"Updating",y,b)}}for(var Ee in l)!l.hasOwnProperty(Ee)||a!=null&&a.hasOwnProperty(Ee)||(Ee.indexOf("--")===0?e.setProperty(Ee,""):Ee==="float"?e.cssFloat="":e[Ee]="");for(var ge in a)I=a[ge],a.hasOwnProperty(ge)&&l[ge]!==I&&Rg(e,ge,I)}else for(d in a)a.hasOwnProperty(d)&&Rg(e,d,a[d])}function Us(e){if(e.indexOf("-")===-1)return!1;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}}function Sm(e){return Ip.get(e)||e}function Gc(e,a){if(fs.call(Ao,a)&&Ao[a])return!0;if(Fp.test(a)){if(e="aria-"+a.slice(4).toLowerCase(),e=G0.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),Ao[a]=!0;if(a!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,e),Ao[a]=!0}if(I0.test(a)){if(e=a.toLowerCase(),e=G0.hasOwnProperty(e)?e:null,e==null)return Ao[a]=!0,!1;a!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,e),Ao[a]=!0)}return!0}function Ic(e,a){var l=[],d;for(d in a)Gc(e,d)||l.push(d);a=l.map(function(y){return"`"+y+"`"}).join(", "),l.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,e):1<l.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,e)}function _g(e,a,l,d){if(fs.call(Hi,a)&&Hi[a])return!0;var y=a.toLowerCase();if(y==="onfocusin"||y==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Hi[a]=!0;if(typeof l=="function"&&(e==="form"&&a==="action"||e==="input"&&a==="formAction"||e==="button"&&a==="formAction"))return!0;if(d!=null){if(e=d.possibleRegistrationNames,d.registrationNameDependencies.hasOwnProperty(a))return!0;if(d=e.hasOwnProperty(y)?e[y]:null,d!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",a,d),Hi[a]=!0;if(zh.test(a))return console.error("Unknown event handler property `%s`. It will be ignored.",a),Hi[a]=!0}else if(zh.test(a))return r.test(a)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),Hi[a]=!0;if(s.test(a)||c.test(a))return!0;if(y==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Hi[a]=!0;if(y==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Hi[a]=!0;if(y==="is"&&l!==null&&l!==void 0&&typeof l!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),Hi[a]=!0;if(typeof l=="number"&&isNaN(l))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),Hi[a]=!0;if(vc.hasOwnProperty(y)){if(y=vc[y],y!==a)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",a,y),Hi[a]=!0}else if(a!==y)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",a,y),Hi[a]=!0;switch(a){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof l){case"boolean":switch(a){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return y=a.toLowerCase().slice(0,5),y==="data-"||y==="aria-"?!0:(l?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',l,a,a,l,a):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',l,a,a,l,a,a,a),Hi[a]=!0)}case"function":case"symbol":return Hi[a]=!0,!1;case"string":if(l==="false"||l==="true"){switch(a){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",l,a,l==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',a,l),Hi[a]=!0}}return!0}function Ng(e,a,l){var d=[],y;for(y in a)_g(e,y,a[y],l)||d.push(y);a=d.map(function(b){return"`"+b+"`"}).join(", "),d.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,e):1<d.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,e)}function Fc(e){return p.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function zu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Gl(e){var a=Ti(e);if(a&&(e=a.stateNode)){var l=e[ur]||null;e:switch(e=a.stateNode,a.type){case"input":if(Rs(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),a=l.name,l.type==="radio"&&a!=null){for(l=e;l.parentNode;)l=l.parentNode;for(Ae(a,"name"),l=l.querySelectorAll('input[name="'+vr(""+a)+'"][type="radio"]'),a=0;a<l.length;a++){var d=l[a];if(d!==e&&d.form===e.form){var y=d[ur]||null;if(!y)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Rs(d,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(a=0;a<l.length;a++)d=l[a],d.form===e.form&&Oa(d)}break e;case"textarea":xd(e,l.value,l.defaultValue);break e;case"select":a=l.value,a!=null&&$o(e,!!l.multiple,a,!1)}}}function Xc(e,a,l){if($)return e(a,l);$=!0;try{var d=e(a);return d}finally{if($=!1,(w!==null||N!==null)&&(is(),w&&(a=w,e=N,N=w=null,Gl(a),e)))for(a=0;a<e.length;a++)Gl(e[a])}}function Po(e,a){var l=e.stateNode;if(l===null)return null;var d=l[ur]||null;if(d===null)return null;l=d[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(e=e.type,d=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!d;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error("Expected `"+a+"` listener to be a function, instead got a value of `"+typeof l+"` type.");return l}function ko(){if(he)return he;var e,a=ye,l=a.length,d,y="value"in Ne?Ne.value:Ne.textContent,b=y.length;for(e=0;e<l&&a[e]===y[e];e++);var O=l-e;for(d=1;d<=O&&a[l-d]===y[b-d];d++);return he=y.slice(e,1<d?1-d:void 0)}function Zc(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function Lu(){return!0}function zg(){return!1}function Lt(e){function a(l,d,y,b,O){this._reactName=l,this._targetInst=y,this.type=d,this.nativeEvent=b,this.target=O,this.currentTarget=null;for(var _ in e)e.hasOwnProperty(_)&&(l=e[_],this[_]=l?l(b):b[_]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?Lu:zg,this.isPropagationStopped=zg,this}return Ut(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Lu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Lu)},persist:function(){},isPersistent:Lu}),a}function An(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=xw[e])?!!a[e]:!1}function xm(){return An}function wi(e,a){switch(e){case"keyup":return zw.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==kx;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Tm(e,a){switch(e){case"compositionend":return Vs(a);case"keypress":return a.which!==T?null:(z=!0,D);case"textInput":return e=a.data,e===D&&z?null:e;default:return null}}function Od(e,a){if(k)return e==="compositionend"||!Vb&&wi(e,a)?(e=ko(),he=ye=Ne=null,k=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return m&&a.locale!=="ko"?null:a.data;default:return null}}function sv(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!K[e.type]:a==="textarea"}function Em(e){if(!Z)return!1;e="on"+e;var a=e in document;return a||(a=document.createElement("div"),a.setAttribute(e,"return;"),a=typeof a[e]=="function"),a}function Am(e,a,l,d){w?N?N.push(d):N=[d]:w=d,a=Df(a,"onChange"),0<a.length&&(l=new pt("onChange","change",null,l,d),e.push({event:l,listeners:a}))}function fa(e){mo(e,0)}function Yo(e){var a=ql(e);if(Oa(a))return e}function qo(e,a){if(e==="change")return a}function Lg(){te&&(te.detachEvent("onpropertychange",wm),ue=te=null)}function wm(e){if(e.propertyName==="value"&&Yo(ue)){var a=[];Am(a,ue,e,zu(e)),Xc(fa,a)}}function kr(e,a,l){e==="focusin"?(Lg(),te=a,ue=l,te.attachEvent("onpropertychange",wm)):e==="focusout"&&Lg()}function Cm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Yo(ue)}function uv(e,a){if(e==="click")return Yo(a)}function cv(e,a){if(e==="input"||e==="change")return Yo(a)}function fv(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}function Kc(e,a){if(Re(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var l=Object.keys(e),d=Object.keys(a);if(l.length!==d.length)return!1;for(d=0;d<l.length;d++){var y=l[d];if(!fs.call(a,y)||!Re(e[y],a[y]))return!1}return!0}function Ug(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ci(e,a){var l=Ug(e);e=0;for(var d;l;){if(l.nodeType===3){if(d=e+l.textContent.length,e<=a&&d>=a)return{node:l,offset:a-e};e=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Ug(l)}}function dv(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?dv(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function br(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=vd(e.document);a instanceof e.HTMLIFrameElement;){try{var l=typeof a.contentWindow.location.href=="string"}catch{l=!1}if(l)e=a.contentWindow;else break;a=vd(e.document)}return a}function Vg(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}function Bg(e,a,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Bt||Fe==null||Fe!==vd(d)||(d=Fe,"selectionStart"in d&&Vg(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),vt&&Kc(vt,d)||(vt=d,d=Df(ut,"onSelect"),0<d.length&&(a=new pt("onSelect","select",null,a,l),e.push({event:a,listeners:d}),a.target=Fe)))}function oi(e,a){var l={};return l[e.toLowerCase()]=a.toLowerCase(),l["Webkit"+e]="webkit"+a,l["Moz"+e]="moz"+a,l}function Il(e){if(Zt[e])return Zt[e];if(!gt[e])return e;var a=gt[e],l;for(l in a)if(a.hasOwnProperty(l)&&l in ln)return Zt[e]=a[l];return e}function Sr(e,a){$_.set(e,a),Cs(a,[e])}function Qt(e,a){if(typeof e=="object"&&e!==null){var l=Uw.get(e);return l!==void 0?l:(a={value:e,source:a,stack:mm(a)},Uw.set(e,a),a)}return{value:e,source:a,stack:mm(a)}}function Yr(){for(var e=Yv,a=Bw=Yv=0;a<e;){var l=du[a];du[a++]=null;var d=du[a];du[a++]=null;var y=du[a];du[a++]=null;var b=du[a];if(du[a++]=null,d!==null&&y!==null){var O=d.pending;O===null?y.next=y:(y.next=O.next,O.next=y),d.pending=y}b!==0&&hv(l,y,b)}}function Qc(e,a,l,d){du[Yv++]=e,du[Yv++]=a,du[Yv++]=l,du[Yv++]=d,Bw|=d,e.lanes|=d,e=e.alternate,e!==null&&(e.lanes|=d)}function jg(e,a,l,d){return Qc(e,a,l,d),Om(e)}function si(e,a){return Qc(e,null,null,a),Om(e)}function hv(e,a,l){e.lanes|=l;var d=e.alternate;d!==null&&(d.lanes|=l);for(var y=!1,b=e.return;b!==null;)b.childLanes|=l,d=b.alternate,d!==null&&(d.childLanes|=l),b.tag===22&&(e=b.stateNode,e===null||e._visibility&Vw||(y=!0)),e=b,b=b.return;return e.tag===3?(b=e.stateNode,y&&a!==null&&(y=31-Xn(l),e=b.hiddenUpdates,d=e[y],d===null?e[y]=[a]:d.push(a),a.lane=l|536870912),b):null}function Om(e){if(rS>LF)throw sy=rS=0,lS=hC=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");sy>UF&&(sy=0,lS=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Ml(e);for(var a=e,l=a.return;l!==null;)a.alternate===null&&(a.flags&4098)!==0&&Ml(e),a=l,l=a.return;return a.tag===3?a.stateNode:null}function Uu(e){if(hu===null)return e;var a=hu(e);return a===void 0?e:a.current}function Mm(e){if(hu===null)return e;var a=hu(e);return a===void 0?e!=null&&typeof e.render=="function"&&(a=Uu(e.render),e.render!==a)?(a={$$typeof:bt,render:a},e.displayName!==void 0&&(a.displayName=e.displayName),a):e:a.current}function Md(e,a){if(hu===null)return!1;var l=e.elementType;a=a.type;var d=!1,y=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case 1:typeof a=="function"&&(d=!0);break;case 0:(typeof a=="function"||y===Mr)&&(d=!0);break;case 11:(y===bt||y===Mr)&&(d=!0);break;case 14:case 15:(y===qn||y===Mr)&&(d=!0);break;default:return!1}return!!(d&&(e=hu(l),e!==void 0&&e===hu(a)))}function Vu(e){hu!==null&&typeof WeakSet=="function"&&(qv===null&&(qv=new WeakSet),qv.add(e))}function Dd(e,a,l){var d=e.alternate,y=e.child,b=e.sibling,O=e.tag,_=e.type,H=null;switch(O){case 0:case 15:case 1:H=_;break;case 11:H=_.render}if(hu===null)throw Error("Expected resolveFamily to be set during hot reload.");var I=!1;_=!1,H!==null&&(H=hu(H),H!==void 0&&(l.has(H)?_=!0:a.has(H)&&(O===1?_=!0:I=!0))),qv!==null&&(qv.has(e)||d!==null&&qv.has(d))&&(_=!0),_&&(e._debugNeedsRemount=!0),(_||I)&&(d=si(e,2),d!==null&&aa(d,e,2)),y===null||_||Dd(y,a,l),b!==null&&Dd(b,a,l)}function Wc(e,a,l,d){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,P_||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Dm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qr(e,a){var l=e.alternate;switch(l===null?(l=M(e.tag,a,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l._debugOwner=e._debugOwner,l._debugStack=e._debugStack,l._debugTask=e._debugTask,l._debugHookTypes=e._debugHookTypes,l.alternate=e,e.alternate=l):(l.pendingProps=a,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null,l.actualDuration=-0,l.actualStartTime=-1.1),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,a=e.dependencies,l.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l.selfBaseDuration=e.selfBaseDuration,l.treeBaseDuration=e.treeBaseDuration,l._debugInfo=e._debugInfo,l._debugNeedsRemount=e._debugNeedsRemount,l.tag){case 0:case 15:l.type=Uu(e.type);break;case 1:l.type=Uu(e.type);break;case 11:l.type=Mm(e.type)}return l}function Rd(e,a){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,a=l.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},e.selfBaseDuration=l.selfBaseDuration,e.treeBaseDuration=l.treeBaseDuration),e}function _d(e,a,l,d,y,b){var O=0,_=e;if(typeof e=="function")Dm(e)&&(O=1),_=Uu(_);else if(typeof e=="string")O=F(),O=Vf(e,l,O)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case xo:return a=M(31,l,a,y),a.elementType=xo,a.lanes=b,a;case Nt:return Fl(l.children,y,b,a);case $f:O=8,y|=dl,y|=Sc;break;case vi:return e=l,d=y,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),a=M(12,e,a,d|_r),a.elementType=vi,a.lanes=b,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case Hf:return a=M(13,l,a,y),a.elementType=Hf,a.lanes=b,a;case ha:return a=M(19,l,a,y),a.elementType=ha,a.lanes=b,a;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case N0:case Ha:O=10;break e;case Up:O=9;break e;case bt:O=11,_=Mm(_);break e;case qn:O=14;break e;case Mr:O=16,_=null;break e}_="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?l="null":Ct(e)?l="array":e!==void 0&&e.$$typeof===ou?(l="<"+(me(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,(O=d?pe(d):null)&&(_+=`
|
|
851
851
|
|
|
852
852
|
Check the render method of \``+O+"`."),O=29,l=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(l+"."+_)),_=null}return a=M(O,l,a,y),a.elementType=e,a.type=_,a.lanes=b,a._debugOwner=d,a}function Nd(e,a,l){return a=_d(e.type,e.key,e.props,e._owner,a,l),a._debugOwner=e._owner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a}function Fl(e,a,l,d){return e=M(7,e,d,a),e.lanes=l,e}function Xl(e,a,l){return e=M(6,e,null,a),e.lanes=l,e}function $g(e,a,l){return a=M(4,e.children!==null?e.children:[],e.key,a),a.lanes=l,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}function Bs(e,a){Gr(),Gv[Iv++]=qx,Gv[Iv++]=Yx,Yx=e,qx=a}function Gi(e,a,l){Gr(),mu[pu++]=Lh,mu[pu++]=Uh,mu[pu++]=K0,K0=e;var d=Lh;e=Uh;var y=32-Xn(d)-1;d&=~(1<<y),l+=1;var b=32-Xn(a)+y;if(30<b){var O=y-y%5;b=(d&(1<<O)-1).toString(32),d>>=O,y-=O,Lh=1<<32-Xn(a)+y|l<<y|d,Uh=b+e}else Lh=1<<b|l<<y|d,Uh=e}function Jc(e){Gr(),e.return!==null&&(Bs(e,1),Gi(e,1,0))}function js(e){for(;e===Yx;)Yx=Gv[--Iv],Gv[Iv]=null,qx=Gv[--Iv],Gv[Iv]=null;for(;e===K0;)K0=mu[--pu],mu[pu]=null,Uh=mu[--pu],mu[pu]=null,Lh=mu[--pu],mu[pu]=null}function Gr(){Tn||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Ir(e,a){if(e.return===null){if(gu===null)gu={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a};else{if(gu.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");gu.distanceFromLeaf>a&&(gu.distanceFromLeaf=a)}return gu}var l=Ir(e.return,a+1).children;return 0<l.length&&l[l.length-1].fiber===e?(l=l[l.length-1],l.distanceFromLeaf>a&&(l.distanceFromLeaf=a),l):(a={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a},l.push(a),a)}function Hg(e,a){Vh||(e=Ir(e,0),e.serverProps=null,a!==null&&(a=Ep(a),e.serverTail.push(a)))}function Zl(e){var a="",l=gu;throw l!==null&&(gu=null,a=Du(l)),ef(Qt(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
853
853
|
|
|
@@ -869,7 +869,7 @@ https://react.dev/link/hydration-mismatch`+a),e)),jw}function Pg(e){var a=e.stat
|
|
|
869
869
|
|
|
870
870
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
871
871
|
|
|
872
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",a)})}}function Ld(){Fv=Gx=null,Xv=!1}function Oi(e,a,l){Pe($w,a._currentValue,e),a._currentValue=l,Pe(Hw,a._currentRenderer,e),a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==G_&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=G_}function Xr(e,a){e._currentValue=$w.current;var l=Hw.current;Be(Hw,a),e._currentRenderer=l,Be($w,a)}function qg(e,a,l){for(;e!==null;){var d=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,d!==null&&(d.childLanes|=a)):d!==null&&(d.childLanes&a)!==a&&(d.childLanes|=a),e===l)break;e=e.return}e!==l&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Gg(e,a,l,d){var y=e.child;for(y!==null&&(y.return=e);y!==null;){var b=y.dependencies;if(b!==null){var O=y.child;b=b.firstContext;e:for(;b!==null;){var _=b;b=y;for(var H=0;H<a.length;H++)if(_.context===a[H]){b.lanes|=l,_=b.alternate,_!==null&&(_.lanes|=l),qg(b.return,l,e),d||(O=null);break e}b=_.next}}else if(y.tag===18){if(O=y.return,O===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");O.lanes|=l,b=O.alternate,b!==null&&(b.lanes|=l),qg(O,l,e),O=null}else O=y.child;if(O!==null)O.return=y;else for(O=y;O!==null;){if(O===e){O=null;break}if(y=O.sibling,y!==null){y.return=O.return,O=y;break}O=O.return}y=O}}function Za(e,a,l,d){e=null;for(var y=a,b=!1;y!==null;){if(!b){if((y.flags&524288)!==0)b=!0;else if((y.flags&262144)!==0)break}if(y.tag===10){var O=y.alternate;if(O===null)throw Error("Should have a current fiber. This is a bug in React.");if(O=O.memoizedProps,O!==null){var _=y.type;Re(y.pendingProps.value,O.value)||(e!==null?e.push(_):e=[_])}}else if(y===kf.current){if(O=y.alternate,O===null)throw Error("Should have a current fiber. This is a bug in React.");O.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(e!==null?e.push(fS):e=[fS])}y=y.return}e!==null&&Gg(a,e,l,d),a.flags|=262144}function xr(e){for(e=e.firstContext;e!==null;){if(!Re(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Va(e){Gx=e,Fv=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Vn(e){return Xv&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Ig(Gx,e)}function Ud(e,a){return Gx===null&&Va(e),Ig(e,a)}function Ig(e,a){var l=a._currentValue;if(a={context:a,memoizedValue:l,next:null},Fv===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Fv=a,e.dependencies={lanes:0,firstContext:a,_debugThenableState:null},e.flags|=524288}else Fv=Fv.next=a;return l}function Vd(){return{controller:new
|
|
872
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",a)})}}function Ld(){Fv=Gx=null,Xv=!1}function Oi(e,a,l){Pe($w,a._currentValue,e),a._currentValue=l,Pe(Hw,a._currentRenderer,e),a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==G_&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=G_}function Xr(e,a){e._currentValue=$w.current;var l=Hw.current;Be(Hw,a),e._currentRenderer=l,Be($w,a)}function qg(e,a,l){for(;e!==null;){var d=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,d!==null&&(d.childLanes|=a)):d!==null&&(d.childLanes&a)!==a&&(d.childLanes|=a),e===l)break;e=e.return}e!==l&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Gg(e,a,l,d){var y=e.child;for(y!==null&&(y.return=e);y!==null;){var b=y.dependencies;if(b!==null){var O=y.child;b=b.firstContext;e:for(;b!==null;){var _=b;b=y;for(var H=0;H<a.length;H++)if(_.context===a[H]){b.lanes|=l,_=b.alternate,_!==null&&(_.lanes|=l),qg(b.return,l,e),d||(O=null);break e}b=_.next}}else if(y.tag===18){if(O=y.return,O===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");O.lanes|=l,b=O.alternate,b!==null&&(b.lanes|=l),qg(O,l,e),O=null}else O=y.child;if(O!==null)O.return=y;else for(O=y;O!==null;){if(O===e){O=null;break}if(y=O.sibling,y!==null){y.return=O.return,O=y;break}O=O.return}y=O}}function Za(e,a,l,d){e=null;for(var y=a,b=!1;y!==null;){if(!b){if((y.flags&524288)!==0)b=!0;else if((y.flags&262144)!==0)break}if(y.tag===10){var O=y.alternate;if(O===null)throw Error("Should have a current fiber. This is a bug in React.");if(O=O.memoizedProps,O!==null){var _=y.type;Re(y.pendingProps.value,O.value)||(e!==null?e.push(_):e=[_])}}else if(y===kf.current){if(O=y.alternate,O===null)throw Error("Should have a current fiber. This is a bug in React.");O.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(e!==null?e.push(fS):e=[fS])}y=y.return}e!==null&&Gg(a,e,l,d),a.flags|=262144}function xr(e){for(e=e.firstContext;e!==null;){if(!Re(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Va(e){Gx=e,Fv=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Vn(e){return Xv&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Ig(Gx,e)}function Ud(e,a){return Gx===null&&Va(e),Ig(e,a)}function Ig(e,a){var l=a._currentValue;if(a={context:a,memoizedValue:l,next:null},Fv===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Fv=a,e.dependencies={lanes:0,firstContext:a,_debugThenableState:null},e.flags|=524288}else Fv=Fv.next=a;return l}function Vd(){return{controller:new bF,data:new Map,refCount:0}}function ju(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Kl(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&SF(xF,function(){e.controller.abort()})}function ui(){var e=W0;return W0=0,e}function re(e){var a=W0;return W0=e,a}function we(e){var a=W0;return W0+=e,a}function Se(e){wo=Zv(),0>e.actualStartTime&&(e.actualStartTime=wo)}function Ze(e){if(0<=wo){var a=Zv()-wo;e.actualDuration+=a,e.selfBaseDuration=a,wo=-1}}function St(e){if(0<=wo){var a=Zv()-wo;e.actualDuration+=a,wo=-1}}function Mt(){if(0<=wo){var e=Zv()-wo;wo=-1,W0+=e}}function wn(){wo=Zv()}function Wt(e){for(var a=e.child;a;)e.actualDuration+=a.actualDuration,a=a.sibling}function Rm(e,a){if(jb===null){var l=jb=[];Pw=0,J0=u0(),Kv={status:"pending",value:void 0,then:function(d){l.push(d)}}}return Pw++,a.then(Fg,Fg),a}function Fg(){if(--Pw===0&&jb!==null){Kv!==null&&(Kv.status="fulfilled");var e=jb;jb=null,J0=0,Kv=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function Tr(e,a){var l=[],d={status:"pending",value:null,reason:null,then:function(y){l.push(y)}};return e.then(function(){d.status="fulfilled",d.value=a;for(var y=0;y<l.length;y++)(0,l[y])(a)},function(y){for(d.status="rejected",d.reason=y,y=0;y<l.length;y++)(0,l[y])(void 0)}),d}function tf(){var e=ey.current;return e!==null?e:Qn.pooledCache}function _m(e,a){a===null?Pe(ey,ey.current,e):Pe(ey,a.pool,e)}function $u(){var e=tf();return e===null?null:{parent:Pi._currentValue,pool:e}}function nf(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function af(e){return e=e.status,e==="fulfilled"||e==="rejected"}function an(){}function Zr(e,a,l){xe.actQueue!==null&&(xe.didUsePromise=!0);var d=e.thenables;switch(l=d[l],l===void 0?d.push(a):l!==a&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),a.then(an,an),a=l),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,ci(e),e;default:if(typeof a.status=="string")a.then(an,an);else{if(e=Qn,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=a,e.status="pending",e.then(function(y){if(a.status==="pending"){var b=a;b.status="fulfilled",b.value=y}},function(y){if(a.status==="pending"){var b=a;b.status="rejected",b.reason=y}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,ci(e),e}throw Ib=a,Qx=!0,Gb}}function Nm(){if(Ib===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Ib;return Ib=null,Qx=!1,e}function ci(e){if(e===Gb||e===Kx)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Ii(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $s(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ql(e){return{lane:e,tag:K_,payload:null,callback:null,next:null}}function Fi(e,a,l){var d=e.updateQueue;if(d===null)return null;if(d=d.shared,qw===d&&!J_){var y=ve(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
873
873
|
|
|
874
874
|
Please update the following component: %s`,y),J_=!0}return(zn&Bl)!==gs?(y=d.pending,y===null?a.next=a:(a.next=y.next,y.next=a),d.pending=a,a=Om(e),hv(e,null,l),a):(Qc(e,d,a,l),Om(e))}function Mi(e,a,l){if(a=a.updateQueue,a!==null&&(a=a.shared,(l&4194048)!==0)){var d=a.lanes;d&=e.pendingLanes,l|=d,a.lanes=l,Vo(e,l)}}function Go(e,a){var l=e.updateQueue,d=e.alternate;if(d!==null&&(d=d.updateQueue,l===d)){var y=null,b=null;if(l=l.firstBaseUpdate,l!==null){do{var O={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};b===null?y=b=O:b=b.next=O,l=l.next}while(l!==null);b===null?y=b=a:b=b.next=a}else y=b=a;l={baseState:d.baseState,firstBaseUpdate:y,lastBaseUpdate:b,shared:d.shared,callbacks:d.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=a:e.next=a,l.lastBaseUpdate=a}function vl(){if(Gw){var e=Kv;if(e!==null)throw e}}function Io(e,a,l,d){Gw=!1;var y=e.updateQueue;Zp=!1,qw=y.shared;var b=y.firstBaseUpdate,O=y.lastBaseUpdate,_=y.shared.pending;if(_!==null){y.shared.pending=null;var H=_,I=H.next;H.next=null,O===null?b=I:O.next=I,O=H;var be=e.alternate;be!==null&&(be=be.updateQueue,_=be.lastBaseUpdate,_!==O&&(_===null?be.firstBaseUpdate=I:_.next=I,be.lastBaseUpdate=H))}if(b!==null){var Ee=y.baseState;O=0,be=I=H=null,_=b;do{var ge=_.lane&-536870913,Ce=ge!==_.lane;if(Ce?(on&ge)===ge:(d&ge)===ge){ge!==0&&ge===J0&&(Gw=!0),be!==null&&(be=be.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{ge=e;var ot=_,wt=a,Wn=l;switch(ot.tag){case Q_:if(ot=ot.payload,typeof ot=="function"){Xv=!0;var cn=ot.call(Wn,Ee,wt);if(ge.mode&dl){Ue(!0);try{ot.call(Wn,Ee,wt)}finally{Ue(!1)}}Xv=!1,Ee=cn;break e}Ee=ot;break e;case Yw:ge.flags=ge.flags&-65537|128;case K_:if(cn=ot.payload,typeof cn=="function"){if(Xv=!0,ot=cn.call(Wn,Ee,wt),ge.mode&dl){Ue(!0);try{cn.call(Wn,Ee,wt)}finally{Ue(!1)}}Xv=!1}else ot=cn;if(ot==null)break e;Ee=Ut({},Ee,ot);break e;case W_:Zp=!0}}ge=_.callback,ge!==null&&(e.flags|=64,Ce&&(e.flags|=8192),Ce=y.callbacks,Ce===null?y.callbacks=[ge]:Ce.push(ge))}else Ce={lane:ge,tag:_.tag,payload:_.payload,callback:_.callback,next:null},be===null?(I=be=Ce,H=Ee):be=be.next=Ce,O|=ge;if(_=_.next,_===null){if(_=y.shared.pending,_===null)break;Ce=_,_=Ce.next,Ce.next=null,y.lastBaseUpdate=Ce,y.shared.pending=null}}while(!0);be===null&&(H=Ee),y.baseState=H,y.firstBaseUpdate=I,y.lastBaseUpdate=be,b===null&&(y.shared.lanes=0),Jp|=O,e.lanes=O,e.memoizedState=Ee}qw=null}function rf(e,a){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(a)}function Hu(e,a){var l=e.shared.hiddenCallbacks;if(l!==null)for(e.shared.hiddenCallbacks=null,e=0;e<l.length;e++)rf(l[e],a)}function Bd(e,a){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)rf(l[e],a)}function Di(e,a){var l=td;Pe(Wx,l,e),Pe(Qv,a,e),td=l|a.baseLanes}function Fo(e){Pe(Wx,td,e),Pe(Qv,Qv.current,e)}function Ka(e){td=Wx.current,Be(Qv,e),Be(Wx,e)}function Dt(){var e=Te;bu===null?bu=[e]:bu.push(e)}function $e(){var e=Te;if(bu!==null&&(jh++,bu[jh]!==e)){var a=ve(zt);if(!e8.has(a)&&(e8.add(a),bu!==null)){for(var l="",d=0;d<=jh;d++){var y=bu[d],b=d===jh?e:y;for(y=d+1+". "+y;30>y.length;)y+=" ";y+=b+`
|
|
875
875
|
`,l+=y}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
@@ -884,14 +884,14 @@ Please update the following component: %s`,y),J_=!0}return(zn&Bl)!==gs?(y=d.pend
|
|
|
884
884
|
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function bl(e,a){if(Xb)return!1;if(a===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Te),!1;e.length!==a.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
885
885
|
|
|
886
886
|
Previous: %s
|
|
887
|
-
Incoming: %s`,Te,"["+a.join(", ")+"]","["+e.join(", ")+"]");for(var l=0;l<a.length&&l<e.length;l++)if(!Re(e[l],a[l]))return!1;return!0}function Wl(e,a,l,d,y,b){Kp=b,zt=a,bu=e!==null?e._debugHookTypes:null,jh=-1,Xb=e!==null&&e.type!==a.type,(Object.prototype.toString.call(l)==="[object AsyncFunction]"||Object.prototype.toString.call(l)==="[object AsyncGeneratorFunction]")&&(b=ve(zt),Iw.has(b)||(Iw.add(b),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",b===null?"An unknown Component":"<"+b+">"))),a.memoizedState=null,a.updateQueue=null,a.lanes=0,xe.H=e!==null&&e.memoizedState!==null?Xw:bu!==null?a8:Fw,ny=b=(a.mode&dl)!==oa;var O=Zw(l,d,y);if(ny=!1,Jv&&(O=Pu(a,l,d,y)),b){Ue(!0);try{O=Pu(a,l,d,y)}finally{Ue(!1)}}return jd(e,a),O}function jd(e,a){a._debugHookTypes=bu,a.dependencies===null?Bh!==null&&(a.dependencies={lanes:0,firstContext:null,_debugThenableState:Bh}):a.dependencies._debugThenableState=Bh,xe.H=t2;var l=Zn!==null&&Zn.next!==null;if(Kp=0,bu=Te=Si=Zn=zt=null,jh=-1,e!==null&&(e.flags&65011712)!==(a.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Jx=!1,Fb=0,Bh=null,l)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||fr||(e=e.dependencies,e!==null&&xr(e)&&(fr=!0)),Qx?(Qx=!1,e=!0):e=!1,e&&(a=ve(a)||"Unknown",t8.has(a)||Iw.has(a)||(t8.add(a),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Pu(e,a,l,d){zt=e;var y=0;do{if(Jv&&(Bh=null),Fb=0,Jv=!1,y>=SF)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(y+=1,Xb=!1,Si=Zn=null,e.updateQueue!=null){var b=e.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}jh=-1,xe.H=i8,b=Zw(a,l,d)}while(Jv);return b}function Qr(){var e=xe.H,a=e.useState()[0];return a=typeof a.then=="function"?ku(a):a,e=e.useState()[0],(Zn!==null?Zn.memoizedState:null)!==e&&(zt.flags|=1024),a}function Xi(){var e=e2!==0;return e2=0,e}function Mn(e,a,l){a.updateQueue=e.updateQueue,a.flags=(a.mode&Sc)!==oa?a.flags&-402655237:a.flags&-2053,e.lanes&=~l}function jn(e){if(Jx){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}Jx=!1}Kp=0,bu=Si=Zn=zt=null,jh=-1,Te=null,Jv=!1,Fb=e2=0,Bh=null}function ta(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Si===null?zt.memoizedState=Si=e:Si=Si.next=e,Si}function en(){if(Zn===null){var e=zt.alternate;e=e!==null?e.memoizedState:null}else e=Zn.next;var a=Si===null?zt.memoizedState:Si.next;if(a!==null)Si=a,Zn=e;else{if(e===null)throw zt.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Zn=e,e={memoizedState:Zn.memoizedState,baseState:Zn.baseState,baseQueue:Zn.baseQueue,queue:Zn.queue,next:null},Si===null?zt.memoizedState=Si=e:Si=Si.next=e}return Si}function $d(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ku(e){var a=Fb;return Fb+=1,Bh===null&&(Bh=nf()),e=Zr(Bh,e,a),a=zt,(Si===null?a.memoizedState:Si.next)===null&&(a=a.alternate,xe.H=a!==null&&a.memoizedState!==null?Xw:Fw),e}function Wr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ku(e);if(e.$$typeof===Ha)return Vn(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function kn(e){var a=null,l=zt.updateQueue;if(l!==null&&(a=l.memoCache),a==null){var d=zt.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(a={data:d.data.map(function(y){return y.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),l===null&&(l=$d(),zt.updateQueue=l),l.memoCache=a,l=a.data[a.index],l===void 0||Xb)for(l=a.data[a.index]=Array(e),d=0;d<e;d++)l[d]=Nv;else l.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",l.length,e);return a.index++,l}function rn(e,a){return typeof a=="function"?a(e):a}function Yt(e,a,l){var d=ta();if(l!==void 0){var y=l(a);if(ny){Ue(!0);try{l(a)}finally{Ue(!1)}}}else y=a;return d.memoizedState=d.baseState=y,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:y},d.queue=e,e=e.dispatch=Id.bind(null,zt,e),[d.memoizedState,e]}function fi(e){var a=en();return di(a,Zn,e)}function di(e,a,l){var d=e.queue;if(d===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");d.lastRenderedReducer=l;var y=e.baseQueue,b=d.pending;if(b!==null){if(y!==null){var O=y.next;y.next=b.next,b.next=O}a.baseQueue!==y&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=y=b,d.pending=null}if(b=e.baseState,y===null)e.memoizedState=b;else{a=y.next;var _=O=null,H=null,I=a,be=!1;do{var Ee=I.lane&-536870913;if(Ee!==I.lane?(on&Ee)===Ee:(Kp&Ee)===Ee){var ge=I.revertLane;if(ge===0)H!==null&&(H=H.next={lane:0,revertLane:0,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),Ee===J0&&(be=!0);else if((Kp&ge)===ge){I=I.next,ge===J0&&(be=!0);continue}else Ee={lane:0,revertLane:I.revertLane,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},H===null?(_=H=Ee,O=b):H=H.next=Ee,zt.lanes|=ge,Jp|=ge;Ee=I.action,ny&&l(b,Ee),b=I.hasEagerState?I.eagerState:l(b,Ee)}else ge={lane:Ee,revertLane:I.revertLane,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},H===null?(_=H=ge,O=b):H=H.next=ge,zt.lanes|=Ee,Jp|=Ee;I=I.next}while(I!==null&&I!==a);if(H===null?O=b:H.next=_,!Re(b,e.memoizedState)&&(fr=!0,be&&(l=Kv,l!==null)))throw l;e.memoizedState=b,e.baseState=O,e.baseQueue=H,d.lastRenderedState=b}return y===null&&(d.lanes=0),[e.memoizedState,d.dispatch]}function Jl(e){var a=en(),l=a.queue;if(l===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");l.lastRenderedReducer=e;var d=l.dispatch,y=l.pending,b=a.memoizedState;if(y!==null){l.pending=null;var O=y=y.next;do b=e(b,O.action),O=O.next;while(O!==y);Re(b,a.memoizedState)||(fr=!0),a.memoizedState=b,a.baseQueue===null&&(a.baseState=b),l.lastRenderedState=b}return[b,d]}function Zi(e,a,l){var d=zt,y=ta();if(Tn){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var b=l();Wv||b===l()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Wv=!0)}else{if(b=a(),Wv||(l=a(),Re(b,l)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Wv=!0)),Qn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(on&124)!==0||Xg(d,a,b)}return y.memoizedState=b,l={value:b,getSnapshot:a},y.queue=l,Lm(sf.bind(null,d,l,e),[e]),d.flags|=2048,to(vu|ki,Ps(),of.bind(null,d,l,b,a),null),b}function Hd(e,a,l){var d=zt,y=en(),b=Tn;if(b){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");l=l()}else if(l=a(),!Wv){var O=a();Re(l,O)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Wv=!0)}(O=!Re((Zn||y).memoizedState,l))&&(y.memoizedState=l,fr=!0),y=y.queue;var _=sf.bind(null,d,y,e);if(Rn(2048,ki,_,[e]),y.getSnapshot!==a||O||Si!==null&&Si.memoizedState.tag&vu){if(d.flags|=2048,to(vu|ki,Ps(),of.bind(null,d,y,l,a),null),Qn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");b||(Kp&124)!==0||Xg(d,a,l)}return l}function Xg(e,a,l){e.flags|=16384,e={getSnapshot:a,value:l},a=zt.updateQueue,a===null?(a=$d(),zt.updateQueue=a,a.stores=[e]):(l=a.stores,l===null?a.stores=[e]:l.push(e))}function of(e,a,l,d){a.value=l,a.getSnapshot=d,Zg(a)&&Xo(e)}function sf(e,a,l){return l(function(){Zg(a)&&Xo(e)})}function Zg(e){var a=e.getSnapshot;e=e.value;try{var l=a();return!Re(e,l)}catch{return!0}}function Xo(e){var a=si(e,2);a!==null&&aa(a,e,2)}function Zo(e){var a=ta();if(typeof e=="function"){var l=e;if(e=l(),ny){Ue(!0);try{l()}finally{Ue(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rn,lastRenderedState:e},a}function eo(e){e=Zo(e);var a=e.queue,l=tl.bind(null,zt,a);return a.dispatch=l,[e.memoizedState,l]}function j(e){var a=ta();a.memoizedState=a.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=l,a=km.bind(null,zt,!0,l),l.dispatch=a,[e,a]}function Ki(e,a){var l=en();return Er(l,Zn,e,a)}function Er(e,a,l,d){return e.baseState=l,di(e,Zn,typeof d=="function"?d:rn)}function Ri(e,a){var l=en();return Zn!==null?Er(l,Zn,e,a):(l.baseState=e,[e,l.queue.dispatch])}function qt(e,a,l,d,y){if(df(e))throw Error("Cannot update form state while rendering.");if(e=a.action,e!==null){var b={payload:y,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(O){b.listeners.push(O)}};xe.T!==null?l(!0):b.isTransition=!1,d(b),l=a.pending,l===null?(b.next=a.pending=b,uf(a,b)):(b.next=l.next,a.pending=l.next=b)}}function uf(e,a){var l=a.action,d=a.payload,y=e.state;if(a.isTransition){var b=xe.T,O={};xe.T=O,xe.T._updatedFibers=new Set;try{var _=l(y,d),H=xe.S;H!==null&&H(O,_),Pd(e,a,_)}catch(I){Gn(e,a,I)}finally{xe.T=b,b===null&&O._updatedFibers&&(e=O._updatedFibers.size,O._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{O=l(y,d),Pd(e,a,O)}catch(I){Gn(e,a,I)}}function Pd(e,a,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?(l.then(function(d){Hs(e,a,d)},function(d){return Gn(e,a,d)}),a.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Hs(e,a,l)}function Hs(e,a,l){a.status="fulfilled",a.value=l,kd(a),e.state=l,a=e.pending,a!==null&&(l=a.next,l===a?e.pending=null:(l=l.next,a.next=l,uf(e,l)))}function Gn(e,a,l){var d=e.pending;if(e.pending=null,d!==null){d=d.next;do a.status="rejected",a.reason=l,kd(a),a=a.next;while(a!==d)}e.action=null}function kd(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function Kg(e,a){return a}function cf(e,a){if(Tn){var l=Qn.formState;if(l!==null){e:{var d=zt;if(Tn){if(ka){t:{for(var y=ka,b=Wf;y.nodeType!==8;){if(!b){y=null;break t}if(y=ti(y.nextSibling),y===null){y=null;break t}}b=y.data,y=b===xC||b===nN?y:null}if(y){ka=ti(y.nextSibling),d=y.data===xC;break e}}Zl(d)}d=!1}d&&(a=l[0])}}return l=ta(),l.memoizedState=l.baseState=a,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kg,lastRenderedState:a},l.queue=d,l=tl.bind(null,zt,d),d.dispatch=l,d=Zo(!1),b=km.bind(null,zt,!1,d.queue),d=ta(),y={state:a,dispatch:null,action:e,pending:null},d.queue=y,l=qt.bind(null,zt,y,b,l),y.dispatch=l,d.memoizedState=e,[a,l,!1]}function zm(e){var a=en();return mv(a,Zn,e)}function mv(e,a,l){if(a=di(e,a,Kg)[0],e=fi(rn)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var d=ku(a)}catch(O){throw O===Gb?Kx:O}else d=a;a=en();var y=a.queue,b=y.dispatch;return l!==a.memoizedState&&(zt.flags|=2048,to(vu|ki,Ps(),Dn.bind(null,y,l),null)),[d,b,e]}function Dn(e,a){e.action=a}function ff(e){var a=en(),l=Zn;if(l!==null)return mv(a,l,e);en(),a=a.memoizedState,l=en();var d=l.queue.dispatch;return l.memoizedState=e,[a,d,!1]}function to(e,a,l,d){return e={tag:e,create:l,deps:d,inst:a,next:null},a=zt.updateQueue,a===null&&(a=$d(),zt.updateQueue=a),l=a.lastEffect,l===null?a.lastEffect=e.next=e:(d=l.next,l.next=e,e.next=d,a.lastEffect=e),e}function Ps(){return{destroy:void 0,resource:void 0}}function Yd(e){var a=ta();return e={current:e},a.memoizedState=e}function Jr(e,a,l,d){var y=ta();d=d===void 0?null:d,zt.flags|=e,y.memoizedState=to(vu|a,Ps(),l,d)}function Rn(e,a,l,d){var y=en();d=d===void 0?null:d;var b=y.memoizedState.inst;Zn!==null&&d!==null&&bl(d,Zn.memoizedState.deps)?y.memoizedState=to(a,b,l,d):(zt.flags|=e,y.memoizedState=to(vu|a,b,l,d))}function Lm(e,a){(zt.mode&Sc)!==oa&&(zt.mode&H_)===oa?Jr(276826112,ki,e,a):Jr(8390656,ki,e,a)}function Um(e,a){var l=4194308;return(zt.mode&Sc)!==oa&&(l|=134217728),Jr(l,Nr,e,a)}function pv(e,a){if(typeof a=="function"){e=e();var l=a(e);return function(){typeof l=="function"?l():a(null)}}if(a!=null)return a.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(a).join(", ")+"}"),e=e(),a.current=e,function(){a.current=null}}function Vm(e,a,l){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),l=l!=null?l.concat([e]):null;var d=4194308;(zt.mode&Sc)!==oa&&(d|=134217728),Jr(d,Nr,pv.bind(null,a,e),l)}function no(e,a,l){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),l=l!=null?l.concat([e]):null,Rn(4,Nr,pv.bind(null,a,e),l)}function Sl(e,a){return ta().memoizedState=[e,a===void 0?null:a],e}function Yu(e,a){var l=en();a=a===void 0?null:a;var d=l.memoizedState;return a!==null&&bl(a,d[1])?d[0]:(l.memoizedState=[e,a],e)}function Bm(e,a){var l=ta();a=a===void 0?null:a;var d=e();if(ny){Ue(!0);try{e()}finally{Ue(!1)}}return l.memoizedState=[d,a],d}function Ba(e,a){var l=en();a=a===void 0?null:a;var d=l.memoizedState;if(a!==null&&bl(a,d[1]))return d[0];if(d=e(),ny){Ue(!0);try{e()}finally{Ue(!1)}}return l.memoizedState=[d,a],d}function jm(e,a){var l=ta();return Hm(l,e,a)}function qd(e,a){var l=en();return Gd(l,Zn.memoizedState,e,a)}function $m(e,a){var l=en();return Zn===null?Hm(l,e,a):Gd(l,Zn.memoizedState,e,a)}function Hm(e,a,l){return l===void 0||(Kp&1073741824)!==0?e.memoizedState=a:(e.memoizedState=l,e=l0(),zt.lanes|=e,Jp|=e,l)}function Gd(e,a,l,d){return Re(l,a)?l:Qv.current!==null?(e=Hm(e,l,d),Re(e,a)||(fr=!0),e):(Kp&42)===0?(fr=!0,e.memoizedState=l):(e=l0(),zt.lanes|=e,Jp|=e,a)}function Pm(e,a,l,d,y){var b=Tt.p;Tt.p=b!==0&&b<Vt?b:Vt;var O=xe.T,_={};xe.T=_,km(e,!1,a,l),_._updatedFibers=new Set;try{var H=y(),I=xe.S;if(I!==null&&I(_,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var be=Tr(H,d);ga(e,a,be,ar(e))}else ga(e,a,d,ar(e))}catch(Ee){ga(e,a,{then:function(){},status:"rejected",reason:Ee},ar(e))}finally{Tt.p=b,xe.T=O,O===null&&_._updatedFibers&&(e=_._updatedFibers.size,_._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function ks(e,a,l,d){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var y=Qg(e).queue;Pm(e,y,a,hy,l===null?A:function(){return Wg(e),l(d)})}function Qg(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:hy,baseState:hy,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rn,lastRenderedState:hy},next:null};var l={};return a.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rn,lastRenderedState:l},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function Wg(e){xe.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var a=Qg(e).next.queue;ga(e,a,{},ar(e))}function el(){var e=Zo(!1);return e=Pm.bind(null,zt,e.queue,!0,!1),ta().memoizedState=e,[!1,e]}function Ys(){var e=fi(rn)[0],a=en().memoizedState;return[typeof e=="boolean"?e:ku(e),a]}function qu(){var e=Jl(rn)[0],a=en().memoizedState;return[typeof e=="boolean"?e:ku(e),a]}function Qi(){return Vn(fS)}function xl(){var e=ta(),a=Qn.identifierPrefix;if(Tn){var l=Uh,d=Lh;l=(d&~(1<<32-Xn(d)-1)).toString(32)+l,a="«"+a+"R"+l,l=e2++,0<l&&(a+="H"+l.toString(32)),a+="»"}else l=bF++,a="«"+a+"r"+l.toString(32)+"»";return e.memoizedState=a}function Gu(){return ta().memoizedState=Tl.bind(null,zt)}function Tl(e,a){for(var l=e.return;l!==null;){switch(l.tag){case 24:case 3:var d=ar(l);e=Ql(d);var y=Fi(l,e,d);y!==null&&(aa(y,l,d),Mi(y,l,d)),l=Vd(),a!=null&&y!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:l};return}l=l.return}}function Id(e,a,l){var d=arguments;typeof d[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),d=ar(e);var y={lane:d,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};df(e)?qs(a,y):(y=jg(e,a,y,d),y!==null&&(aa(y,e,d),Ko(y,a,d))),nt(e,d)}function tl(e,a,l){var d=arguments;typeof d[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),d=ar(e),ga(e,a,l,d),nt(e,d)}function ga(e,a,l,d){var y={lane:d,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(df(e))qs(a,y);else{var b=e.alternate;if(e.lanes===0&&(b===null||b.lanes===0)&&(b=a.lastRenderedReducer,b!==null)){var O=xe.H;xe.H=Tc;try{var _=a.lastRenderedState,H=b(_,l);if(y.hasEagerState=!0,y.eagerState=H,Re(H,_))return Qc(e,a,y,0),Qn===null&&Yr(),!1}catch{}finally{xe.H=O}}if(l=jg(e,a,y,d),l!==null)return aa(l,e,d),Ko(l,a,d),!0}return!1}function km(e,a,l,d){if(xe.T===null&&J0===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),d={lane:2,revertLane:u0(),action:d,hasEagerState:!1,eagerState:null,next:null},df(e)){if(a)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else a=jg(e,l,d,2),a!==null&&aa(a,e,2);nt(e,2)}function df(e){var a=e.alternate;return e===zt||a!==null&&a===zt}function qs(e,a){Jv=Jx=!0;var l=e.pending;l===null?a.next=a:(a.next=l.next,l.next=a),e.pending=a}function Ko(e,a,l){if((l&4194048)!==0){var d=a.lanes;d&=e.pendingLanes,l|=d,a.lanes=l,Vo(e,l)}}function Yn(e){var a=Kt;return e!=null&&(Kt=a===null?e:a.concat(e)),a}function Iu(e,a,l){for(var d=Object.keys(e.props),y=0;y<d.length;y++){var b=d[y];if(b!=="children"&&b!=="key"){a===null&&(a=Nd(e,l.mode,0),a._debugInfo=Kt,a.return=l),rt(a,function(O){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",O)},b);break}}}function hf(e){var a=Zb;return Zb+=1,e1===null&&(e1=nf()),Zr(e1,e,a)}function _i(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function Rt(e,a){throw a.$$typeof===Eh?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
887
|
+
Incoming: %s`,Te,"["+a.join(", ")+"]","["+e.join(", ")+"]");for(var l=0;l<a.length&&l<e.length;l++)if(!Re(e[l],a[l]))return!1;return!0}function Wl(e,a,l,d,y,b){Kp=b,zt=a,bu=e!==null?e._debugHookTypes:null,jh=-1,Xb=e!==null&&e.type!==a.type,(Object.prototype.toString.call(l)==="[object AsyncFunction]"||Object.prototype.toString.call(l)==="[object AsyncGeneratorFunction]")&&(b=ve(zt),Iw.has(b)||(Iw.add(b),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",b===null?"An unknown Component":"<"+b+">"))),a.memoizedState=null,a.updateQueue=null,a.lanes=0,xe.H=e!==null&&e.memoizedState!==null?Xw:bu!==null?a8:Fw,ny=b=(a.mode&dl)!==oa;var O=Zw(l,d,y);if(ny=!1,Jv&&(O=Pu(a,l,d,y)),b){Ue(!0);try{O=Pu(a,l,d,y)}finally{Ue(!1)}}return jd(e,a),O}function jd(e,a){a._debugHookTypes=bu,a.dependencies===null?Bh!==null&&(a.dependencies={lanes:0,firstContext:null,_debugThenableState:Bh}):a.dependencies._debugThenableState=Bh,xe.H=t2;var l=Zn!==null&&Zn.next!==null;if(Kp=0,bu=Te=Si=Zn=zt=null,jh=-1,e!==null&&(e.flags&65011712)!==(a.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Jx=!1,Fb=0,Bh=null,l)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||fr||(e=e.dependencies,e!==null&&xr(e)&&(fr=!0)),Qx?(Qx=!1,e=!0):e=!1,e&&(a=ve(a)||"Unknown",t8.has(a)||Iw.has(a)||(t8.add(a),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Pu(e,a,l,d){zt=e;var y=0;do{if(Jv&&(Bh=null),Fb=0,Jv=!1,y>=EF)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(y+=1,Xb=!1,Si=Zn=null,e.updateQueue!=null){var b=e.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}jh=-1,xe.H=i8,b=Zw(a,l,d)}while(Jv);return b}function Qr(){var e=xe.H,a=e.useState()[0];return a=typeof a.then=="function"?ku(a):a,e=e.useState()[0],(Zn!==null?Zn.memoizedState:null)!==e&&(zt.flags|=1024),a}function Xi(){var e=e2!==0;return e2=0,e}function Mn(e,a,l){a.updateQueue=e.updateQueue,a.flags=(a.mode&Sc)!==oa?a.flags&-402655237:a.flags&-2053,e.lanes&=~l}function jn(e){if(Jx){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}Jx=!1}Kp=0,bu=Si=Zn=zt=null,jh=-1,Te=null,Jv=!1,Fb=e2=0,Bh=null}function ta(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Si===null?zt.memoizedState=Si=e:Si=Si.next=e,Si}function en(){if(Zn===null){var e=zt.alternate;e=e!==null?e.memoizedState:null}else e=Zn.next;var a=Si===null?zt.memoizedState:Si.next;if(a!==null)Si=a,Zn=e;else{if(e===null)throw zt.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Zn=e,e={memoizedState:Zn.memoizedState,baseState:Zn.baseState,baseQueue:Zn.baseQueue,queue:Zn.queue,next:null},Si===null?zt.memoizedState=Si=e:Si=Si.next=e}return Si}function $d(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ku(e){var a=Fb;return Fb+=1,Bh===null&&(Bh=nf()),e=Zr(Bh,e,a),a=zt,(Si===null?a.memoizedState:Si.next)===null&&(a=a.alternate,xe.H=a!==null&&a.memoizedState!==null?Xw:Fw),e}function Wr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ku(e);if(e.$$typeof===Ha)return Vn(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function kn(e){var a=null,l=zt.updateQueue;if(l!==null&&(a=l.memoCache),a==null){var d=zt.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(a={data:d.data.map(function(y){return y.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),l===null&&(l=$d(),zt.updateQueue=l),l.memoCache=a,l=a.data[a.index],l===void 0||Xb)for(l=a.data[a.index]=Array(e),d=0;d<e;d++)l[d]=Nv;else l.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",l.length,e);return a.index++,l}function rn(e,a){return typeof a=="function"?a(e):a}function Yt(e,a,l){var d=ta();if(l!==void 0){var y=l(a);if(ny){Ue(!0);try{l(a)}finally{Ue(!1)}}}else y=a;return d.memoizedState=d.baseState=y,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:y},d.queue=e,e=e.dispatch=Id.bind(null,zt,e),[d.memoizedState,e]}function fi(e){var a=en();return di(a,Zn,e)}function di(e,a,l){var d=e.queue;if(d===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");d.lastRenderedReducer=l;var y=e.baseQueue,b=d.pending;if(b!==null){if(y!==null){var O=y.next;y.next=b.next,b.next=O}a.baseQueue!==y&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=y=b,d.pending=null}if(b=e.baseState,y===null)e.memoizedState=b;else{a=y.next;var _=O=null,H=null,I=a,be=!1;do{var Ee=I.lane&-536870913;if(Ee!==I.lane?(on&Ee)===Ee:(Kp&Ee)===Ee){var ge=I.revertLane;if(ge===0)H!==null&&(H=H.next={lane:0,revertLane:0,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),Ee===J0&&(be=!0);else if((Kp&ge)===ge){I=I.next,ge===J0&&(be=!0);continue}else Ee={lane:0,revertLane:I.revertLane,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},H===null?(_=H=Ee,O=b):H=H.next=Ee,zt.lanes|=ge,Jp|=ge;Ee=I.action,ny&&l(b,Ee),b=I.hasEagerState?I.eagerState:l(b,Ee)}else ge={lane:Ee,revertLane:I.revertLane,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},H===null?(_=H=ge,O=b):H=H.next=ge,zt.lanes|=Ee,Jp|=Ee;I=I.next}while(I!==null&&I!==a);if(H===null?O=b:H.next=_,!Re(b,e.memoizedState)&&(fr=!0,be&&(l=Kv,l!==null)))throw l;e.memoizedState=b,e.baseState=O,e.baseQueue=H,d.lastRenderedState=b}return y===null&&(d.lanes=0),[e.memoizedState,d.dispatch]}function Jl(e){var a=en(),l=a.queue;if(l===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");l.lastRenderedReducer=e;var d=l.dispatch,y=l.pending,b=a.memoizedState;if(y!==null){l.pending=null;var O=y=y.next;do b=e(b,O.action),O=O.next;while(O!==y);Re(b,a.memoizedState)||(fr=!0),a.memoizedState=b,a.baseQueue===null&&(a.baseState=b),l.lastRenderedState=b}return[b,d]}function Zi(e,a,l){var d=zt,y=ta();if(Tn){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var b=l();Wv||b===l()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Wv=!0)}else{if(b=a(),Wv||(l=a(),Re(b,l)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Wv=!0)),Qn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(on&124)!==0||Xg(d,a,b)}return y.memoizedState=b,l={value:b,getSnapshot:a},y.queue=l,Lm(sf.bind(null,d,l,e),[e]),d.flags|=2048,to(vu|ki,Ps(),of.bind(null,d,l,b,a),null),b}function Hd(e,a,l){var d=zt,y=en(),b=Tn;if(b){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");l=l()}else if(l=a(),!Wv){var O=a();Re(l,O)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Wv=!0)}(O=!Re((Zn||y).memoizedState,l))&&(y.memoizedState=l,fr=!0),y=y.queue;var _=sf.bind(null,d,y,e);if(Rn(2048,ki,_,[e]),y.getSnapshot!==a||O||Si!==null&&Si.memoizedState.tag&vu){if(d.flags|=2048,to(vu|ki,Ps(),of.bind(null,d,y,l,a),null),Qn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");b||(Kp&124)!==0||Xg(d,a,l)}return l}function Xg(e,a,l){e.flags|=16384,e={getSnapshot:a,value:l},a=zt.updateQueue,a===null?(a=$d(),zt.updateQueue=a,a.stores=[e]):(l=a.stores,l===null?a.stores=[e]:l.push(e))}function of(e,a,l,d){a.value=l,a.getSnapshot=d,Zg(a)&&Xo(e)}function sf(e,a,l){return l(function(){Zg(a)&&Xo(e)})}function Zg(e){var a=e.getSnapshot;e=e.value;try{var l=a();return!Re(e,l)}catch{return!0}}function Xo(e){var a=si(e,2);a!==null&&aa(a,e,2)}function Zo(e){var a=ta();if(typeof e=="function"){var l=e;if(e=l(),ny){Ue(!0);try{l()}finally{Ue(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rn,lastRenderedState:e},a}function eo(e){e=Zo(e);var a=e.queue,l=tl.bind(null,zt,a);return a.dispatch=l,[e.memoizedState,l]}function j(e){var a=ta();a.memoizedState=a.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=l,a=km.bind(null,zt,!0,l),l.dispatch=a,[e,a]}function Ki(e,a){var l=en();return Er(l,Zn,e,a)}function Er(e,a,l,d){return e.baseState=l,di(e,Zn,typeof d=="function"?d:rn)}function Ri(e,a){var l=en();return Zn!==null?Er(l,Zn,e,a):(l.baseState=e,[e,l.queue.dispatch])}function qt(e,a,l,d,y){if(df(e))throw Error("Cannot update form state while rendering.");if(e=a.action,e!==null){var b={payload:y,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(O){b.listeners.push(O)}};xe.T!==null?l(!0):b.isTransition=!1,d(b),l=a.pending,l===null?(b.next=a.pending=b,uf(a,b)):(b.next=l.next,a.pending=l.next=b)}}function uf(e,a){var l=a.action,d=a.payload,y=e.state;if(a.isTransition){var b=xe.T,O={};xe.T=O,xe.T._updatedFibers=new Set;try{var _=l(y,d),H=xe.S;H!==null&&H(O,_),Pd(e,a,_)}catch(I){Gn(e,a,I)}finally{xe.T=b,b===null&&O._updatedFibers&&(e=O._updatedFibers.size,O._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{O=l(y,d),Pd(e,a,O)}catch(I){Gn(e,a,I)}}function Pd(e,a,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?(l.then(function(d){Hs(e,a,d)},function(d){return Gn(e,a,d)}),a.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Hs(e,a,l)}function Hs(e,a,l){a.status="fulfilled",a.value=l,kd(a),e.state=l,a=e.pending,a!==null&&(l=a.next,l===a?e.pending=null:(l=l.next,a.next=l,uf(e,l)))}function Gn(e,a,l){var d=e.pending;if(e.pending=null,d!==null){d=d.next;do a.status="rejected",a.reason=l,kd(a),a=a.next;while(a!==d)}e.action=null}function kd(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function Kg(e,a){return a}function cf(e,a){if(Tn){var l=Qn.formState;if(l!==null){e:{var d=zt;if(Tn){if(ka){t:{for(var y=ka,b=Wf;y.nodeType!==8;){if(!b){y=null;break t}if(y=ti(y.nextSibling),y===null){y=null;break t}}b=y.data,y=b===xC||b===nN?y:null}if(y){ka=ti(y.nextSibling),d=y.data===xC;break e}}Zl(d)}d=!1}d&&(a=l[0])}}return l=ta(),l.memoizedState=l.baseState=a,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kg,lastRenderedState:a},l.queue=d,l=tl.bind(null,zt,d),d.dispatch=l,d=Zo(!1),b=km.bind(null,zt,!1,d.queue),d=ta(),y={state:a,dispatch:null,action:e,pending:null},d.queue=y,l=qt.bind(null,zt,y,b,l),y.dispatch=l,d.memoizedState=e,[a,l,!1]}function zm(e){var a=en();return mv(a,Zn,e)}function mv(e,a,l){if(a=di(e,a,Kg)[0],e=fi(rn)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var d=ku(a)}catch(O){throw O===Gb?Kx:O}else d=a;a=en();var y=a.queue,b=y.dispatch;return l!==a.memoizedState&&(zt.flags|=2048,to(vu|ki,Ps(),Dn.bind(null,y,l),null)),[d,b,e]}function Dn(e,a){e.action=a}function ff(e){var a=en(),l=Zn;if(l!==null)return mv(a,l,e);en(),a=a.memoizedState,l=en();var d=l.queue.dispatch;return l.memoizedState=e,[a,d,!1]}function to(e,a,l,d){return e={tag:e,create:l,deps:d,inst:a,next:null},a=zt.updateQueue,a===null&&(a=$d(),zt.updateQueue=a),l=a.lastEffect,l===null?a.lastEffect=e.next=e:(d=l.next,l.next=e,e.next=d,a.lastEffect=e),e}function Ps(){return{destroy:void 0,resource:void 0}}function Yd(e){var a=ta();return e={current:e},a.memoizedState=e}function Jr(e,a,l,d){var y=ta();d=d===void 0?null:d,zt.flags|=e,y.memoizedState=to(vu|a,Ps(),l,d)}function Rn(e,a,l,d){var y=en();d=d===void 0?null:d;var b=y.memoizedState.inst;Zn!==null&&d!==null&&bl(d,Zn.memoizedState.deps)?y.memoizedState=to(a,b,l,d):(zt.flags|=e,y.memoizedState=to(vu|a,b,l,d))}function Lm(e,a){(zt.mode&Sc)!==oa&&(zt.mode&H_)===oa?Jr(276826112,ki,e,a):Jr(8390656,ki,e,a)}function Um(e,a){var l=4194308;return(zt.mode&Sc)!==oa&&(l|=134217728),Jr(l,Nr,e,a)}function pv(e,a){if(typeof a=="function"){e=e();var l=a(e);return function(){typeof l=="function"?l():a(null)}}if(a!=null)return a.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(a).join(", ")+"}"),e=e(),a.current=e,function(){a.current=null}}function Vm(e,a,l){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),l=l!=null?l.concat([e]):null;var d=4194308;(zt.mode&Sc)!==oa&&(d|=134217728),Jr(d,Nr,pv.bind(null,a,e),l)}function no(e,a,l){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),l=l!=null?l.concat([e]):null,Rn(4,Nr,pv.bind(null,a,e),l)}function Sl(e,a){return ta().memoizedState=[e,a===void 0?null:a],e}function Yu(e,a){var l=en();a=a===void 0?null:a;var d=l.memoizedState;return a!==null&&bl(a,d[1])?d[0]:(l.memoizedState=[e,a],e)}function Bm(e,a){var l=ta();a=a===void 0?null:a;var d=e();if(ny){Ue(!0);try{e()}finally{Ue(!1)}}return l.memoizedState=[d,a],d}function Ba(e,a){var l=en();a=a===void 0?null:a;var d=l.memoizedState;if(a!==null&&bl(a,d[1]))return d[0];if(d=e(),ny){Ue(!0);try{e()}finally{Ue(!1)}}return l.memoizedState=[d,a],d}function jm(e,a){var l=ta();return Hm(l,e,a)}function qd(e,a){var l=en();return Gd(l,Zn.memoizedState,e,a)}function $m(e,a){var l=en();return Zn===null?Hm(l,e,a):Gd(l,Zn.memoizedState,e,a)}function Hm(e,a,l){return l===void 0||(Kp&1073741824)!==0?e.memoizedState=a:(e.memoizedState=l,e=l0(),zt.lanes|=e,Jp|=e,l)}function Gd(e,a,l,d){return Re(l,a)?l:Qv.current!==null?(e=Hm(e,l,d),Re(e,a)||(fr=!0),e):(Kp&42)===0?(fr=!0,e.memoizedState=l):(e=l0(),zt.lanes|=e,Jp|=e,a)}function Pm(e,a,l,d,y){var b=Tt.p;Tt.p=b!==0&&b<Vt?b:Vt;var O=xe.T,_={};xe.T=_,km(e,!1,a,l),_._updatedFibers=new Set;try{var H=y(),I=xe.S;if(I!==null&&I(_,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var be=Tr(H,d);ga(e,a,be,ar(e))}else ga(e,a,d,ar(e))}catch(Ee){ga(e,a,{then:function(){},status:"rejected",reason:Ee},ar(e))}finally{Tt.p=b,xe.T=O,O===null&&_._updatedFibers&&(e=_._updatedFibers.size,_._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function ks(e,a,l,d){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var y=Qg(e).queue;Pm(e,y,a,hy,l===null?A:function(){return Wg(e),l(d)})}function Qg(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:hy,baseState:hy,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rn,lastRenderedState:hy},next:null};var l={};return a.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rn,lastRenderedState:l},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function Wg(e){xe.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var a=Qg(e).next.queue;ga(e,a,{},ar(e))}function el(){var e=Zo(!1);return e=Pm.bind(null,zt,e.queue,!0,!1),ta().memoizedState=e,[!1,e]}function Ys(){var e=fi(rn)[0],a=en().memoizedState;return[typeof e=="boolean"?e:ku(e),a]}function qu(){var e=Jl(rn)[0],a=en().memoizedState;return[typeof e=="boolean"?e:ku(e),a]}function Qi(){return Vn(fS)}function xl(){var e=ta(),a=Qn.identifierPrefix;if(Tn){var l=Uh,d=Lh;l=(d&~(1<<32-Xn(d)-1)).toString(32)+l,a="«"+a+"R"+l,l=e2++,0<l&&(a+="H"+l.toString(32)),a+="»"}else l=TF++,a="«"+a+"r"+l.toString(32)+"»";return e.memoizedState=a}function Gu(){return ta().memoizedState=Tl.bind(null,zt)}function Tl(e,a){for(var l=e.return;l!==null;){switch(l.tag){case 24:case 3:var d=ar(l);e=Ql(d);var y=Fi(l,e,d);y!==null&&(aa(y,l,d),Mi(y,l,d)),l=Vd(),a!=null&&y!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:l};return}l=l.return}}function Id(e,a,l){var d=arguments;typeof d[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),d=ar(e);var y={lane:d,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};df(e)?qs(a,y):(y=jg(e,a,y,d),y!==null&&(aa(y,e,d),Ko(y,a,d))),nt(e,d)}function tl(e,a,l){var d=arguments;typeof d[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),d=ar(e),ga(e,a,l,d),nt(e,d)}function ga(e,a,l,d){var y={lane:d,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(df(e))qs(a,y);else{var b=e.alternate;if(e.lanes===0&&(b===null||b.lanes===0)&&(b=a.lastRenderedReducer,b!==null)){var O=xe.H;xe.H=Tc;try{var _=a.lastRenderedState,H=b(_,l);if(y.hasEagerState=!0,y.eagerState=H,Re(H,_))return Qc(e,a,y,0),Qn===null&&Yr(),!1}catch{}finally{xe.H=O}}if(l=jg(e,a,y,d),l!==null)return aa(l,e,d),Ko(l,a,d),!0}return!1}function km(e,a,l,d){if(xe.T===null&&J0===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),d={lane:2,revertLane:u0(),action:d,hasEagerState:!1,eagerState:null,next:null},df(e)){if(a)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else a=jg(e,l,d,2),a!==null&&aa(a,e,2);nt(e,2)}function df(e){var a=e.alternate;return e===zt||a!==null&&a===zt}function qs(e,a){Jv=Jx=!0;var l=e.pending;l===null?a.next=a:(a.next=l.next,l.next=a),e.pending=a}function Ko(e,a,l){if((l&4194048)!==0){var d=a.lanes;d&=e.pendingLanes,l|=d,a.lanes=l,Vo(e,l)}}function Yn(e){var a=Kt;return e!=null&&(Kt=a===null?e:a.concat(e)),a}function Iu(e,a,l){for(var d=Object.keys(e.props),y=0;y<d.length;y++){var b=d[y];if(b!=="children"&&b!=="key"){a===null&&(a=Nd(e,l.mode,0),a._debugInfo=Kt,a.return=l),rt(a,function(O){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",O)},b);break}}}function hf(e){var a=Zb;return Zb+=1,e1===null&&(e1=nf()),Zr(e1,e,a)}function _i(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function Rt(e,a){throw a.$$typeof===Eh?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
888
888
|
- Multiple copies of the "react" package is used.
|
|
889
889
|
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
890
890
|
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(a),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function hn(e,a){var l=ve(e)||"Component";b8[l]||(b8[l]=!0,a=a.displayName||a.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
891
891
|
root.render(%s)`,a,a,a):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
892
892
|
<%s>{%s}</%s>`,a,a,l,a,l))}function Ht(e,a){var l=ve(e)||"Component";S8[l]||(S8[l]=!0,a=String(a),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
893
893
|
root.render(%s)`,a):console.error(`Symbols are not valid as a React child.
|
|
894
|
-
<%s>%s</%s>`,l,a,l))}function Fu(e){function a(Q,W){if(e){var ie=Q.deletions;ie===null?(Q.deletions=[W],Q.flags|=16):ie.push(W)}}function l(Q,W){if(!e)return null;for(;W!==null;)a(Q,W),W=W.sibling;return null}function d(Q){for(var W=new Map;Q!==null;)Q.key!==null?W.set(Q.key,Q):W.set(Q.index,Q),Q=Q.sibling;return W}function y(Q,W){return Q=qr(Q,W),Q.index=0,Q.sibling=null,Q}function b(Q,W,ie){return Q.index=ie,e?(ie=Q.alternate,ie!==null?(ie=ie.index,ie<W?(Q.flags|=67108866,W):ie):(Q.flags|=67108866,W)):(Q.flags|=1048576,W)}function O(Q){return e&&Q.alternate===null&&(Q.flags|=67108866),Q}function _(Q,W,ie,Oe){return W===null||W.tag!==6?(W=Xl(ie,Q.mode,Oe),W.return=Q,W._debugOwner=Q,W._debugTask=Q._debugTask,W._debugInfo=Kt,W):(W=y(W,ie),W.return=Q,W._debugInfo=Kt,W)}function H(Q,W,ie,Oe){var Ie=ie.type;return Ie===Nt?(W=be(Q,W,ie.props.children,Oe,ie.key),Iu(ie,W,Q),W):W!==null&&(W.elementType===Ie||Md(W,ie)||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===Mr&&Qp(Ie)===W.type)?(W=y(W,ie.props),_i(W,ie),W.return=Q,W._debugOwner=ie._owner,W._debugInfo=Kt,W):(W=Nd(ie,Q.mode,Oe),_i(W,ie),W.return=Q,W._debugInfo=Kt,W)}function I(Q,W,ie,Oe){return W===null||W.tag!==4||W.stateNode.containerInfo!==ie.containerInfo||W.stateNode.implementation!==ie.implementation?(W=$g(ie,Q.mode,Oe),W.return=Q,W._debugInfo=Kt,W):(W=y(W,ie.children||[]),W.return=Q,W._debugInfo=Kt,W)}function be(Q,W,ie,Oe,Ie){return W===null||W.tag!==7?(W=Fl(ie,Q.mode,Oe,Ie),W.return=Q,W._debugOwner=Q,W._debugTask=Q._debugTask,W._debugInfo=Kt,W):(W=y(W,ie),W.return=Q,W._debugInfo=Kt,W)}function Ee(Q,W,ie){if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return W=Xl(""+W,Q.mode,ie),W.return=Q,W._debugOwner=Q,W._debugTask=Q._debugTask,W._debugInfo=Kt,W;if(typeof W=="object"&&W!==null){switch(W.$$typeof){case ou:return ie=Nd(W,Q.mode,ie),_i(ie,W),ie.return=Q,Q=Yn(W._debugInfo),ie._debugInfo=Kt,Kt=Q,ie;case fc:return W=$g(W,Q.mode,ie),W.return=Q,W._debugInfo=Kt,W;case Mr:var Oe=Yn(W._debugInfo);return W=Qp(W),Q=Ee(Q,W,ie),Kt=Oe,Q}if(Ct(W)||le(W))return ie=Fl(W,Q.mode,ie,null),ie.return=Q,ie._debugOwner=Q,ie._debugTask=Q._debugTask,Q=Yn(W._debugInfo),ie._debugInfo=Kt,Kt=Q,ie;if(typeof W.then=="function")return Oe=Yn(W._debugInfo),Q=Ee(Q,hf(W),ie),Kt=Oe,Q;if(W.$$typeof===Ha)return Ee(Q,Ud(Q,W),ie);Rt(Q,W)}return typeof W=="function"&&hn(Q,W),typeof W=="symbol"&&Ht(Q,W),null}function ge(Q,W,ie,Oe){var Ie=W!==null?W.key:null;if(typeof ie=="string"&&ie!==""||typeof ie=="number"||typeof ie=="bigint")return Ie!==null?null:_(Q,W,""+ie,Oe);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case ou:return ie.key===Ie?(Ie=Yn(ie._debugInfo),Q=H(Q,W,ie,Oe),Kt=Ie,Q):null;case fc:return ie.key===Ie?I(Q,W,ie,Oe):null;case Mr:return Ie=Yn(ie._debugInfo),ie=Qp(ie),Q=ge(Q,W,ie,Oe),Kt=Ie,Q}if(Ct(ie)||le(ie))return Ie!==null?null:(Ie=Yn(ie._debugInfo),Q=be(Q,W,ie,Oe,null),Kt=Ie,Q);if(typeof ie.then=="function")return Ie=Yn(ie._debugInfo),Q=ge(Q,W,hf(ie),Oe),Kt=Ie,Q;if(ie.$$typeof===Ha)return ge(Q,W,Ud(Q,ie),Oe);Rt(Q,ie)}return typeof ie=="function"&&hn(Q,ie),typeof ie=="symbol"&&Ht(Q,ie),null}function Ce(Q,W,ie,Oe,Ie){if(typeof Oe=="string"&&Oe!==""||typeof Oe=="number"||typeof Oe=="bigint")return Q=Q.get(ie)||null,_(W,Q,""+Oe,Ie);if(typeof Oe=="object"&&Oe!==null){switch(Oe.$$typeof){case ou:return ie=Q.get(Oe.key===null?ie:Oe.key)||null,Q=Yn(Oe._debugInfo),W=H(W,ie,Oe,Ie),Kt=Q,W;case fc:return Q=Q.get(Oe.key===null?ie:Oe.key)||null,I(W,Q,Oe,Ie);case Mr:var jt=Yn(Oe._debugInfo);return Oe=Qp(Oe),W=Ce(Q,W,ie,Oe,Ie),Kt=jt,W}if(Ct(Oe)||le(Oe))return ie=Q.get(ie)||null,Q=Yn(Oe._debugInfo),W=be(W,ie,Oe,Ie,null),Kt=Q,W;if(typeof Oe.then=="function")return jt=Yn(Oe._debugInfo),W=Ce(Q,W,ie,hf(Oe),Ie),Kt=jt,W;if(Oe.$$typeof===Ha)return Ce(Q,W,ie,Ud(W,Oe),Ie);Rt(W,Oe)}return typeof Oe=="function"&&hn(W,Oe),typeof Oe=="symbol"&&Ht(W,Oe),null}function ot(Q,W,ie,Oe){if(typeof ie!="object"||ie===null)return Oe;switch(ie.$$typeof){case ou:case fc:v(Q,W,ie);var Ie=ie.key;if(typeof Ie!="string")break;if(Oe===null){Oe=new Set,Oe.add(Ie);break}if(!Oe.has(Ie)){Oe.add(Ie);break}rt(W,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Ie)});break;case Mr:ie=Qp(ie),ot(Q,W,ie,Oe)}return Oe}function wt(Q,W,ie,Oe){for(var Ie=null,jt=null,st=null,$t=W,kt=W=0,sa=null;$t!==null&&kt<ie.length;kt++){$t.index>kt?(sa=$t,$t=null):sa=$t.sibling;var li=ge(Q,$t,ie[kt],Oe);if(li===null){$t===null&&($t=sa);break}Ie=ot(Q,li,ie[kt],Ie),e&&$t&&li.alternate===null&&a(Q,$t),W=b(li,W,kt),st===null?jt=li:st.sibling=li,st=li,$t=sa}if(kt===ie.length)return l(Q,$t),Tn&&Bs(Q,kt),jt;if($t===null){for(;kt<ie.length;kt++)$t=Ee(Q,ie[kt],Oe),$t!==null&&(Ie=ot(Q,$t,ie[kt],Ie),W=b($t,W,kt),st===null?jt=$t:st.sibling=$t,st=$t);return Tn&&Bs(Q,kt),jt}for($t=d($t);kt<ie.length;kt++)sa=Ce($t,Q,kt,ie[kt],Oe),sa!==null&&(Ie=ot(Q,sa,ie[kt],Ie),e&&sa.alternate!==null&&$t.delete(sa.key===null?kt:sa.key),W=b(sa,W,kt),st===null?jt=sa:st.sibling=sa,st=sa);return e&&$t.forEach(function(qh){return a(Q,qh)}),Tn&&Bs(Q,kt),jt}function Wn(Q,W,ie,Oe){if(ie==null)throw Error("An iterable object provided no iterator.");for(var Ie=null,jt=null,st=W,$t=W=0,kt=null,sa=null,li=ie.next();st!==null&&!li.done;$t++,li=ie.next()){st.index>$t?(kt=st,st=null):kt=st.sibling;var qh=ge(Q,st,li.value,Oe);if(qh===null){st===null&&(st=kt);break}sa=ot(Q,qh,li.value,sa),e&&st&&qh.alternate===null&&a(Q,st),W=b(qh,W,$t),jt===null?Ie=qh:jt.sibling=qh,jt=qh,st=kt}if(li.done)return l(Q,st),Tn&&Bs(Q,$t),Ie;if(st===null){for(;!li.done;$t++,li=ie.next())st=Ee(Q,li.value,Oe),st!==null&&(sa=ot(Q,st,li.value,sa),W=b(st,W,$t),jt===null?Ie=st:jt.sibling=st,jt=st);return Tn&&Bs(Q,$t),Ie}for(st=d(st);!li.done;$t++,li=ie.next())kt=Ce(st,Q,$t,li.value,Oe),kt!==null&&(sa=ot(Q,kt,li.value,sa),e&&kt.alternate!==null&&st.delete(kt.key===null?$t:kt.key),W=b(kt,W,$t),jt===null?Ie=kt:jt.sibling=kt,jt=kt);return e&&st.forEach(function(IF){return a(Q,IF)}),Tn&&Bs(Q,$t),Ie}function cn(Q,W,ie,Oe){if(typeof ie=="object"&&ie!==null&&ie.type===Nt&&ie.key===null&&(Iu(ie,null,Q),ie=ie.props.children),typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case ou:var Ie=Yn(ie._debugInfo);e:{for(var jt=ie.key;W!==null;){if(W.key===jt){if(jt=ie.type,jt===Nt){if(W.tag===7){l(Q,W.sibling),Oe=y(W,ie.props.children),Oe.return=Q,Oe._debugOwner=ie._owner,Oe._debugInfo=Kt,Iu(ie,Oe,Q),Q=Oe;break e}}else if(W.elementType===jt||Md(W,ie)||typeof jt=="object"&&jt!==null&&jt.$$typeof===Mr&&Qp(jt)===W.type){l(Q,W.sibling),Oe=y(W,ie.props),_i(Oe,ie),Oe.return=Q,Oe._debugOwner=ie._owner,Oe._debugInfo=Kt,Q=Oe;break e}l(Q,W);break}else a(Q,W);W=W.sibling}ie.type===Nt?(Oe=Fl(ie.props.children,Q.mode,Oe,ie.key),Oe.return=Q,Oe._debugOwner=Q,Oe._debugTask=Q._debugTask,Oe._debugInfo=Kt,Iu(ie,Oe,Q),Q=Oe):(Oe=Nd(ie,Q.mode,Oe),_i(Oe,ie),Oe.return=Q,Oe._debugInfo=Kt,Q=Oe)}return Q=O(Q),Kt=Ie,Q;case fc:e:{for(Ie=ie,ie=Ie.key;W!==null;){if(W.key===ie)if(W.tag===4&&W.stateNode.containerInfo===Ie.containerInfo&&W.stateNode.implementation===Ie.implementation){l(Q,W.sibling),Oe=y(W,Ie.children||[]),Oe.return=Q,Q=Oe;break e}else{l(Q,W);break}else a(Q,W);W=W.sibling}Oe=$g(Ie,Q.mode,Oe),Oe.return=Q,Q=Oe}return O(Q);case Mr:return Ie=Yn(ie._debugInfo),ie=Qp(ie),Q=cn(Q,W,ie,Oe),Kt=Ie,Q}if(Ct(ie))return Ie=Yn(ie._debugInfo),Q=wt(Q,W,ie,Oe),Kt=Ie,Q;if(le(ie)){if(Ie=Yn(ie._debugInfo),jt=le(ie),typeof jt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var st=jt.call(ie);return st===ie?(Q.tag!==0||Object.prototype.toString.call(Q.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(st)!=="[object Generator]")&&(y8||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),y8=!0):ie.entries!==jt||Qw||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Qw=!0),Q=Wn(Q,W,st,Oe),Kt=Ie,Q}if(typeof ie.then=="function")return Ie=Yn(ie._debugInfo),Q=cn(Q,W,hf(ie),Oe),Kt=Ie,Q;if(ie.$$typeof===Ha)return cn(Q,W,Ud(Q,ie),Oe);Rt(Q,ie)}return typeof ie=="string"&&ie!==""||typeof ie=="number"||typeof ie=="bigint"?(Ie=""+ie,W!==null&&W.tag===6?(l(Q,W.sibling),Oe=y(W,Ie),Oe.return=Q,Q=Oe):(l(Q,W),Oe=Xl(Ie,Q.mode,Oe),Oe.return=Q,Oe._debugOwner=Q,Oe._debugTask=Q._debugTask,Oe._debugInfo=Kt,Q=Oe),O(Q)):(typeof ie=="function"&&hn(Q,ie),typeof ie=="symbol"&&Ht(Q,ie),l(Q,W))}return function(Q,W,ie,Oe){var Ie=Kt;Kt=null;try{Zb=0;var jt=cn(Q,W,ie,Oe);return e1=null,jt}catch(sa){if(sa===Gb||sa===Kx)throw sa;var st=M(29,sa,null,Q.mode);st.lanes=Oe,st.return=Q;var $t=st._debugInfo=Kt;if(st._debugOwner=Q._debugOwner,st._debugTask=Q._debugTask,$t!=null){for(var kt=$t.length-1;0<=kt;kt--)if(typeof $t[kt].stack=="string"){st._debugOwner=$t[kt],st._debugTask=$t[kt].debugTask;break}}return st}finally{Kt=Ie}}}function Wi(e){var a=e.alternate;Pe(Yi,Yi.current&n1,e),Pe(Su,e,e),ed===null&&(a===null||Qv.current!==null||a.memoizedState!==null)&&(ed=e)}function Qa(e){if(e.tag===22){if(Pe(Yi,Yi.current,e),Pe(Su,e,e),ed===null){var a=e.alternate;a!==null&&a.memoizedState!==null&&(ed=e)}}else Ar(e)}function Ar(e){Pe(Yi,Yi.current,e),Pe(Su,Su.current,e)}function hi(e){Be(Su,e),ed===e&&(ed=null),Be(Yi,e)}function Ni(e){for(var a=e;a!==null;){if(a.tag===13){var l=a.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data===Ph||vo(l)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function Ym(e){if(e!==null&&typeof e!="function"){var a=String(e);N8.has(a)||(N8.add(a),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function It(e,a,l,d){var y=e.memoizedState,b=l(d,y);if(e.mode&dl){Ue(!0);try{b=l(d,y)}finally{Ue(!1)}}b===void 0&&(a=me(a)||"Component",M8.has(a)||(M8.add(a),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))),y=b==null?y:Ut({},y,b),e.memoizedState=y,e.lanes===0&&(e.updateQueue.baseState=y)}function mf(e,a,l,d,y,b,O){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){if(l=_.shouldComponentUpdate(d,b,O),e.mode&dl){Ue(!0);try{l=_.shouldComponentUpdate(d,b,O)}finally{Ue(!1)}}return l===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",me(a)||"Component"),l}return a.prototype&&a.prototype.isPureReactComponent?!Kc(l,d)||!Kc(y,b):!0}function qm(e,a,l,d){var y=a.state;typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(l,d),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(l,d),a.state!==y&&(e=ve(e)||"Component",E8.has(e)||(E8.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Ww.enqueueReplaceState(a,a.state,null))}function Gs(e,a){var l=a;if("ref"in a){l={};for(var d in a)d!=="ref"&&(l[d]=a[d])}if(e=e.defaultProps){l===a&&(l=Ut({},l));for(var y in e)l[y]===void 0&&(l[y]=e[y])}return l}function Jg(e){Jw(e),console.warn(`%s
|
|
894
|
+
<%s>%s</%s>`,l,a,l))}function Fu(e){function a(Q,W){if(e){var ie=Q.deletions;ie===null?(Q.deletions=[W],Q.flags|=16):ie.push(W)}}function l(Q,W){if(!e)return null;for(;W!==null;)a(Q,W),W=W.sibling;return null}function d(Q){for(var W=new Map;Q!==null;)Q.key!==null?W.set(Q.key,Q):W.set(Q.index,Q),Q=Q.sibling;return W}function y(Q,W){return Q=qr(Q,W),Q.index=0,Q.sibling=null,Q}function b(Q,W,ie){return Q.index=ie,e?(ie=Q.alternate,ie!==null?(ie=ie.index,ie<W?(Q.flags|=67108866,W):ie):(Q.flags|=67108866,W)):(Q.flags|=1048576,W)}function O(Q){return e&&Q.alternate===null&&(Q.flags|=67108866),Q}function _(Q,W,ie,Oe){return W===null||W.tag!==6?(W=Xl(ie,Q.mode,Oe),W.return=Q,W._debugOwner=Q,W._debugTask=Q._debugTask,W._debugInfo=Kt,W):(W=y(W,ie),W.return=Q,W._debugInfo=Kt,W)}function H(Q,W,ie,Oe){var Ie=ie.type;return Ie===Nt?(W=be(Q,W,ie.props.children,Oe,ie.key),Iu(ie,W,Q),W):W!==null&&(W.elementType===Ie||Md(W,ie)||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===Mr&&Qp(Ie)===W.type)?(W=y(W,ie.props),_i(W,ie),W.return=Q,W._debugOwner=ie._owner,W._debugInfo=Kt,W):(W=Nd(ie,Q.mode,Oe),_i(W,ie),W.return=Q,W._debugInfo=Kt,W)}function I(Q,W,ie,Oe){return W===null||W.tag!==4||W.stateNode.containerInfo!==ie.containerInfo||W.stateNode.implementation!==ie.implementation?(W=$g(ie,Q.mode,Oe),W.return=Q,W._debugInfo=Kt,W):(W=y(W,ie.children||[]),W.return=Q,W._debugInfo=Kt,W)}function be(Q,W,ie,Oe,Ie){return W===null||W.tag!==7?(W=Fl(ie,Q.mode,Oe,Ie),W.return=Q,W._debugOwner=Q,W._debugTask=Q._debugTask,W._debugInfo=Kt,W):(W=y(W,ie),W.return=Q,W._debugInfo=Kt,W)}function Ee(Q,W,ie){if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return W=Xl(""+W,Q.mode,ie),W.return=Q,W._debugOwner=Q,W._debugTask=Q._debugTask,W._debugInfo=Kt,W;if(typeof W=="object"&&W!==null){switch(W.$$typeof){case ou:return ie=Nd(W,Q.mode,ie),_i(ie,W),ie.return=Q,Q=Yn(W._debugInfo),ie._debugInfo=Kt,Kt=Q,ie;case fc:return W=$g(W,Q.mode,ie),W.return=Q,W._debugInfo=Kt,W;case Mr:var Oe=Yn(W._debugInfo);return W=Qp(W),Q=Ee(Q,W,ie),Kt=Oe,Q}if(Ct(W)||le(W))return ie=Fl(W,Q.mode,ie,null),ie.return=Q,ie._debugOwner=Q,ie._debugTask=Q._debugTask,Q=Yn(W._debugInfo),ie._debugInfo=Kt,Kt=Q,ie;if(typeof W.then=="function")return Oe=Yn(W._debugInfo),Q=Ee(Q,hf(W),ie),Kt=Oe,Q;if(W.$$typeof===Ha)return Ee(Q,Ud(Q,W),ie);Rt(Q,W)}return typeof W=="function"&&hn(Q,W),typeof W=="symbol"&&Ht(Q,W),null}function ge(Q,W,ie,Oe){var Ie=W!==null?W.key:null;if(typeof ie=="string"&&ie!==""||typeof ie=="number"||typeof ie=="bigint")return Ie!==null?null:_(Q,W,""+ie,Oe);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case ou:return ie.key===Ie?(Ie=Yn(ie._debugInfo),Q=H(Q,W,ie,Oe),Kt=Ie,Q):null;case fc:return ie.key===Ie?I(Q,W,ie,Oe):null;case Mr:return Ie=Yn(ie._debugInfo),ie=Qp(ie),Q=ge(Q,W,ie,Oe),Kt=Ie,Q}if(Ct(ie)||le(ie))return Ie!==null?null:(Ie=Yn(ie._debugInfo),Q=be(Q,W,ie,Oe,null),Kt=Ie,Q);if(typeof ie.then=="function")return Ie=Yn(ie._debugInfo),Q=ge(Q,W,hf(ie),Oe),Kt=Ie,Q;if(ie.$$typeof===Ha)return ge(Q,W,Ud(Q,ie),Oe);Rt(Q,ie)}return typeof ie=="function"&&hn(Q,ie),typeof ie=="symbol"&&Ht(Q,ie),null}function Ce(Q,W,ie,Oe,Ie){if(typeof Oe=="string"&&Oe!==""||typeof Oe=="number"||typeof Oe=="bigint")return Q=Q.get(ie)||null,_(W,Q,""+Oe,Ie);if(typeof Oe=="object"&&Oe!==null){switch(Oe.$$typeof){case ou:return ie=Q.get(Oe.key===null?ie:Oe.key)||null,Q=Yn(Oe._debugInfo),W=H(W,ie,Oe,Ie),Kt=Q,W;case fc:return Q=Q.get(Oe.key===null?ie:Oe.key)||null,I(W,Q,Oe,Ie);case Mr:var jt=Yn(Oe._debugInfo);return Oe=Qp(Oe),W=Ce(Q,W,ie,Oe,Ie),Kt=jt,W}if(Ct(Oe)||le(Oe))return ie=Q.get(ie)||null,Q=Yn(Oe._debugInfo),W=be(W,ie,Oe,Ie,null),Kt=Q,W;if(typeof Oe.then=="function")return jt=Yn(Oe._debugInfo),W=Ce(Q,W,ie,hf(Oe),Ie),Kt=jt,W;if(Oe.$$typeof===Ha)return Ce(Q,W,ie,Ud(W,Oe),Ie);Rt(W,Oe)}return typeof Oe=="function"&&hn(W,Oe),typeof Oe=="symbol"&&Ht(W,Oe),null}function ot(Q,W,ie,Oe){if(typeof ie!="object"||ie===null)return Oe;switch(ie.$$typeof){case ou:case fc:v(Q,W,ie);var Ie=ie.key;if(typeof Ie!="string")break;if(Oe===null){Oe=new Set,Oe.add(Ie);break}if(!Oe.has(Ie)){Oe.add(Ie);break}rt(W,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Ie)});break;case Mr:ie=Qp(ie),ot(Q,W,ie,Oe)}return Oe}function wt(Q,W,ie,Oe){for(var Ie=null,jt=null,st=null,$t=W,kt=W=0,sa=null;$t!==null&&kt<ie.length;kt++){$t.index>kt?(sa=$t,$t=null):sa=$t.sibling;var li=ge(Q,$t,ie[kt],Oe);if(li===null){$t===null&&($t=sa);break}Ie=ot(Q,li,ie[kt],Ie),e&&$t&&li.alternate===null&&a(Q,$t),W=b(li,W,kt),st===null?jt=li:st.sibling=li,st=li,$t=sa}if(kt===ie.length)return l(Q,$t),Tn&&Bs(Q,kt),jt;if($t===null){for(;kt<ie.length;kt++)$t=Ee(Q,ie[kt],Oe),$t!==null&&(Ie=ot(Q,$t,ie[kt],Ie),W=b($t,W,kt),st===null?jt=$t:st.sibling=$t,st=$t);return Tn&&Bs(Q,kt),jt}for($t=d($t);kt<ie.length;kt++)sa=Ce($t,Q,kt,ie[kt],Oe),sa!==null&&(Ie=ot(Q,sa,ie[kt],Ie),e&&sa.alternate!==null&&$t.delete(sa.key===null?kt:sa.key),W=b(sa,W,kt),st===null?jt=sa:st.sibling=sa,st=sa);return e&&$t.forEach(function(qh){return a(Q,qh)}),Tn&&Bs(Q,kt),jt}function Wn(Q,W,ie,Oe){if(ie==null)throw Error("An iterable object provided no iterator.");for(var Ie=null,jt=null,st=W,$t=W=0,kt=null,sa=null,li=ie.next();st!==null&&!li.done;$t++,li=ie.next()){st.index>$t?(kt=st,st=null):kt=st.sibling;var qh=ge(Q,st,li.value,Oe);if(qh===null){st===null&&(st=kt);break}sa=ot(Q,qh,li.value,sa),e&&st&&qh.alternate===null&&a(Q,st),W=b(qh,W,$t),jt===null?Ie=qh:jt.sibling=qh,jt=qh,st=kt}if(li.done)return l(Q,st),Tn&&Bs(Q,$t),Ie;if(st===null){for(;!li.done;$t++,li=ie.next())st=Ee(Q,li.value,Oe),st!==null&&(sa=ot(Q,st,li.value,sa),W=b(st,W,$t),jt===null?Ie=st:jt.sibling=st,jt=st);return Tn&&Bs(Q,$t),Ie}for(st=d(st);!li.done;$t++,li=ie.next())kt=Ce(st,Q,$t,li.value,Oe),kt!==null&&(sa=ot(Q,kt,li.value,sa),e&&kt.alternate!==null&&st.delete(kt.key===null?$t:kt.key),W=b(kt,W,$t),jt===null?Ie=kt:jt.sibling=kt,jt=kt);return e&&st.forEach(function(ZF){return a(Q,ZF)}),Tn&&Bs(Q,$t),Ie}function cn(Q,W,ie,Oe){if(typeof ie=="object"&&ie!==null&&ie.type===Nt&&ie.key===null&&(Iu(ie,null,Q),ie=ie.props.children),typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case ou:var Ie=Yn(ie._debugInfo);e:{for(var jt=ie.key;W!==null;){if(W.key===jt){if(jt=ie.type,jt===Nt){if(W.tag===7){l(Q,W.sibling),Oe=y(W,ie.props.children),Oe.return=Q,Oe._debugOwner=ie._owner,Oe._debugInfo=Kt,Iu(ie,Oe,Q),Q=Oe;break e}}else if(W.elementType===jt||Md(W,ie)||typeof jt=="object"&&jt!==null&&jt.$$typeof===Mr&&Qp(jt)===W.type){l(Q,W.sibling),Oe=y(W,ie.props),_i(Oe,ie),Oe.return=Q,Oe._debugOwner=ie._owner,Oe._debugInfo=Kt,Q=Oe;break e}l(Q,W);break}else a(Q,W);W=W.sibling}ie.type===Nt?(Oe=Fl(ie.props.children,Q.mode,Oe,ie.key),Oe.return=Q,Oe._debugOwner=Q,Oe._debugTask=Q._debugTask,Oe._debugInfo=Kt,Iu(ie,Oe,Q),Q=Oe):(Oe=Nd(ie,Q.mode,Oe),_i(Oe,ie),Oe.return=Q,Oe._debugInfo=Kt,Q=Oe)}return Q=O(Q),Kt=Ie,Q;case fc:e:{for(Ie=ie,ie=Ie.key;W!==null;){if(W.key===ie)if(W.tag===4&&W.stateNode.containerInfo===Ie.containerInfo&&W.stateNode.implementation===Ie.implementation){l(Q,W.sibling),Oe=y(W,Ie.children||[]),Oe.return=Q,Q=Oe;break e}else{l(Q,W);break}else a(Q,W);W=W.sibling}Oe=$g(Ie,Q.mode,Oe),Oe.return=Q,Q=Oe}return O(Q);case Mr:return Ie=Yn(ie._debugInfo),ie=Qp(ie),Q=cn(Q,W,ie,Oe),Kt=Ie,Q}if(Ct(ie))return Ie=Yn(ie._debugInfo),Q=wt(Q,W,ie,Oe),Kt=Ie,Q;if(le(ie)){if(Ie=Yn(ie._debugInfo),jt=le(ie),typeof jt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var st=jt.call(ie);return st===ie?(Q.tag!==0||Object.prototype.toString.call(Q.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(st)!=="[object Generator]")&&(y8||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),y8=!0):ie.entries!==jt||Qw||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Qw=!0),Q=Wn(Q,W,st,Oe),Kt=Ie,Q}if(typeof ie.then=="function")return Ie=Yn(ie._debugInfo),Q=cn(Q,W,hf(ie),Oe),Kt=Ie,Q;if(ie.$$typeof===Ha)return cn(Q,W,Ud(Q,ie),Oe);Rt(Q,ie)}return typeof ie=="string"&&ie!==""||typeof ie=="number"||typeof ie=="bigint"?(Ie=""+ie,W!==null&&W.tag===6?(l(Q,W.sibling),Oe=y(W,Ie),Oe.return=Q,Q=Oe):(l(Q,W),Oe=Xl(Ie,Q.mode,Oe),Oe.return=Q,Oe._debugOwner=Q,Oe._debugTask=Q._debugTask,Oe._debugInfo=Kt,Q=Oe),O(Q)):(typeof ie=="function"&&hn(Q,ie),typeof ie=="symbol"&&Ht(Q,ie),l(Q,W))}return function(Q,W,ie,Oe){var Ie=Kt;Kt=null;try{Zb=0;var jt=cn(Q,W,ie,Oe);return e1=null,jt}catch(sa){if(sa===Gb||sa===Kx)throw sa;var st=M(29,sa,null,Q.mode);st.lanes=Oe,st.return=Q;var $t=st._debugInfo=Kt;if(st._debugOwner=Q._debugOwner,st._debugTask=Q._debugTask,$t!=null){for(var kt=$t.length-1;0<=kt;kt--)if(typeof $t[kt].stack=="string"){st._debugOwner=$t[kt],st._debugTask=$t[kt].debugTask;break}}return st}finally{Kt=Ie}}}function Wi(e){var a=e.alternate;Pe(Yi,Yi.current&n1,e),Pe(Su,e,e),ed===null&&(a===null||Qv.current!==null||a.memoizedState!==null)&&(ed=e)}function Qa(e){if(e.tag===22){if(Pe(Yi,Yi.current,e),Pe(Su,e,e),ed===null){var a=e.alternate;a!==null&&a.memoizedState!==null&&(ed=e)}}else Ar(e)}function Ar(e){Pe(Yi,Yi.current,e),Pe(Su,Su.current,e)}function hi(e){Be(Su,e),ed===e&&(ed=null),Be(Yi,e)}function Ni(e){for(var a=e;a!==null;){if(a.tag===13){var l=a.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data===Ph||vo(l)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function Ym(e){if(e!==null&&typeof e!="function"){var a=String(e);N8.has(a)||(N8.add(a),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function It(e,a,l,d){var y=e.memoizedState,b=l(d,y);if(e.mode&dl){Ue(!0);try{b=l(d,y)}finally{Ue(!1)}}b===void 0&&(a=me(a)||"Component",M8.has(a)||(M8.add(a),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))),y=b==null?y:Ut({},y,b),e.memoizedState=y,e.lanes===0&&(e.updateQueue.baseState=y)}function mf(e,a,l,d,y,b,O){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){if(l=_.shouldComponentUpdate(d,b,O),e.mode&dl){Ue(!0);try{l=_.shouldComponentUpdate(d,b,O)}finally{Ue(!1)}}return l===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",me(a)||"Component"),l}return a.prototype&&a.prototype.isPureReactComponent?!Kc(l,d)||!Kc(y,b):!0}function qm(e,a,l,d){var y=a.state;typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(l,d),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(l,d),a.state!==y&&(e=ve(e)||"Component",E8.has(e)||(E8.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Ww.enqueueReplaceState(a,a.state,null))}function Gs(e,a){var l=a;if("ref"in a){l={};for(var d in a)d!=="ref"&&(l[d]=a[d])}if(e=e.defaultProps){l===a&&(l=Ut({},l));for(var y in e)l[y]===void 0&&(l[y]=e[y])}return l}function Jg(e){Jw(e),console.warn(`%s
|
|
895
895
|
|
|
896
896
|
%s
|
|
897
897
|
`,a1?"An error occurred in the <"+a1+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
@@ -900,12 +900,12 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
900
900
|
%s
|
|
901
901
|
|
|
902
902
|
%s
|
|
903
|
-
`,e,a,l].slice(0),typeof e[0]=="string"?e.splice(0,1,cN+e[0],fN,S2+d+S2,dN):e.splice(0,0,cN,fN,S2+d+S2,dN),e.unshift(console),d=
|
|
903
|
+
`,e,a,l].slice(0),typeof e[0]=="string"?e.splice(0,1,cN+e[0],fN,S2+d+S2,dN):e.splice(0,0,cN,fN,S2+d+S2,dN),e.unshift(console),d=FF.apply(console.error,e),d()}else console.error(`%o
|
|
904
904
|
|
|
905
905
|
%s
|
|
906
906
|
|
|
907
907
|
%s
|
|
908
|
-
`,e,a,l)}function Im(e){Jw(e)}function ao(e,a){try{a1=a.source?ve(a.source):null,eC=null;var l=a.value;if(xe.actQueue!==null)xe.thrownErrors.push(l);else{var d=e.onUncaughtError;d(l,{componentStack:a.stack})}}catch(y){setTimeout(function(){throw y})}}function Fd(e,a,l){try{a1=l.source?ve(l.source):null,eC=ve(a);var d=e.onCaughtError;d(l.value,{componentStack:l.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(y){setTimeout(function(){throw y})}}function mi(e,a,l){return l=Ql(l),l.tag=Yw,l.payload={element:null},l.callback=function(){rt(a.source,ao,e,a)},l}function na(e){return e=Ql(e),e.tag=Yw,e}function Qo(e,a,l,d){var y=l.type.getDerivedStateFromError;if(typeof y=="function"){var b=d.value;e.payload=function(){return y(b)},e.callback=function(){Vu(l),rt(d.source,Fd,a,l,d)}}var O=l.stateNode;O!==null&&typeof O.componentDidCatch=="function"&&(e.callback=function(){Vu(l),rt(d.source,Fd,a,l,d),typeof y!="function"&&(tg===null?tg=new Set([this]):tg.add(this)),
|
|
908
|
+
`,e,a,l)}function Im(e){Jw(e)}function ao(e,a){try{a1=a.source?ve(a.source):null,eC=null;var l=a.value;if(xe.actQueue!==null)xe.thrownErrors.push(l);else{var d=e.onUncaughtError;d(l,{componentStack:a.stack})}}catch(y){setTimeout(function(){throw y})}}function Fd(e,a,l){try{a1=l.source?ve(l.source):null,eC=ve(a);var d=e.onCaughtError;d(l.value,{componentStack:l.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(y){setTimeout(function(){throw y})}}function mi(e,a,l){return l=Ql(l),l.tag=Yw,l.payload={element:null},l.callback=function(){rt(a.source,ao,e,a)},l}function na(e){return e=Ql(e),e.tag=Yw,e}function Qo(e,a,l,d){var y=l.type.getDerivedStateFromError;if(typeof y=="function"){var b=d.value;e.payload=function(){return y(b)},e.callback=function(){Vu(l),rt(d.source,Fd,a,l,d)}}var O=l.stateNode;O!==null&&typeof O.componentDidCatch=="function"&&(e.callback=function(){Vu(l),rt(d.source,Fd,a,l,d),typeof y!="function"&&(tg===null?tg=new Set([this]):tg.add(this)),AF(this,d),typeof y=="function"||(l.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ve(l)||"Unknown")})}function Xd(e,a,l,d,y){if(l.flags|=32768,Kn&&eu(e,y),d!==null&&typeof d=="object"&&typeof d.then=="function"){if(a=l.alternate,a!==null&&Za(a,l,y,!0),Tn&&(Vh=!0),l=Su.current,l!==null){switch(l.tag){case 13:return ed===null?uo():l.alternate===null&&Ya===Hh&&(Ya=iC),l.flags&=-257,l.flags|=65536,l.lanes=y,d===kw?l.flags|=16384:(a=l.updateQueue,a===null?l.updateQueue=new Set([d]):a.add(d),mp(e,d,y)),!1;case 22:return l.flags|=65536,d===kw?l.flags|=16384:(a=l.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([d])},l.updateQueue=a):(l=a.retryQueue,l===null?a.retryQueue=new Set([d]):l.add(d)),mp(e,d,y)),!1}throw Error("Unexpected Suspense handler tag ("+l.tag+"). This is a bug in React.")}return mp(e,d,y),uo(),!1}if(Tn)return Vh=!0,a=Su.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=y,d!==jw&&ef(Qt(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:d}),l))):(d!==jw&&ef(Qt(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:d}),l)),e=e.current.alternate,e.flags|=65536,y&=-y,e.lanes|=y,d=Qt(d,l),y=mi(e.stateNode,d,y),Go(e,y),Ya!==ay&&(Ya=o1)),!1;var b=Qt(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:d}),l);if(aS===null?aS=[b]:aS.push(b),Ya!==ay&&(Ya=o1),a===null)return!0;d=Qt(d,l),l=a;do{switch(l.tag){case 3:return l.flags|=65536,e=y&-y,l.lanes|=e,e=mi(l.stateNode,d,e),Go(l,e),!1;case 1:if(a=l.type,b=l.stateNode,(l.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(tg===null||!tg.has(b))))return l.flags|=65536,y&=-y,l.lanes|=y,y=na(y),Qo(y,e,l,d),Go(l,y),!1}l=l.return}while(l!==null);return!1}function ya(e,a,l,d){a.child=e===null?x8(a,null,l,d):t1(a,e.child,l,d)}function pf(e,a,l,d,y){l=l.render;var b=a.ref;if("ref"in d){var O={};for(var _ in d)_!=="ref"&&(O[_]=d[_])}else O=d;return Va(a),it(a),d=Wl(e,a,l,O,b,y),_=Xi(),yt(),e!==null&&!fr?(Mn(e,a,y),nl(e,a,y)):(Tn&&_&&Jc(a),a.flags|=1,ya(e,a,d,y),a.child)}function El(e,a,l,d,y){if(e===null){var b=l.type;return typeof b=="function"&&!Dm(b)&&b.defaultProps===void 0&&l.compare===null?(l=Uu(b),a.tag=15,a.type=l,Qd(a,b),Zd(e,a,l,d,y)):(e=_d(l.type,null,d,a,a.mode,y),e.ref=a.ref,e.return=a,a.child=e)}if(b=e.child,!Wm(e,y)){var O=b.memoizedProps;if(l=l.compare,l=l!==null?l:Kc,l(O,d)&&e.ref===a.ref)return nl(e,a,y)}return a.flags|=1,e=qr(b,d),e.ref=a.ref,e.return=a,a.child=e}function Zd(e,a,l,d,y){if(e!==null){var b=e.memoizedProps;if(Kc(b,d)&&e.ref===a.ref&&a.type===e.type)if(fr=!1,a.pendingProps=d=b,Wm(e,y))(e.flags&131072)!==0&&(fr=!0);else return a.lanes=e.lanes,nl(e,a,y)}return yf(e,a,l,d,y)}function Fm(e,a,l){var d=a.pendingProps,y=d.children,b=e!==null?e.memoizedState:null;if(d.mode==="hidden"){if((a.flags&128)!==0){if(d=b!==null?b.baseLanes|l:l,e!==null){for(y=a.child=e.child,b=0;y!==null;)b=b|y.lanes|y.childLanes,y=y.sibling;a.childLanes=b&~d}else a.childLanes=0,a.child=null;return Xm(e,a,d,l)}if((l&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&_m(a,b!==null?b.cachePool:null),b!==null?Di(a,b):Fo(a),Qa(a);else return a.lanes=a.childLanes=536870912,Xm(e,a,b!==null?b.baseLanes|l:l,l)}else b!==null?(_m(a,b.cachePool),Di(a,b),Ar(a),a.memoizedState=null):(e!==null&&_m(a,null),Fo(a),Ar(a));return ya(e,a,y,l),a.child}function Xm(e,a,l,d){var y=tf();return y=y===null?null:{parent:Pi._currentValue,pool:y},a.memoizedState={baseLanes:l,cachePool:y},e!==null&&_m(a,null),Fo(a),Qa(a),e!==null&&Za(e,a,d,!0),null}function gf(e,a){var l=a.ref;if(l===null)e!==null&&e.ref!==null&&(a.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==l)&&(a.flags|=4194816)}}function yf(e,a,l,d,y){if(l.prototype&&typeof l.prototype.render=="function"){var b=me(l)||"Unknown";L8[b]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",b,b),L8[b]=!0)}return a.mode&dl&&xc.recordLegacyContextWarning(a,null),e===null&&(Qd(a,a.type),l.contextTypes&&(b=me(l)||"Unknown",V8[b]||(V8[b]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",b)))),Va(a),it(a),l=Wl(e,a,l,d,void 0,y),d=Xi(),yt(),e!==null&&!fr?(Mn(e,a,y),nl(e,a,y)):(Tn&&d&&Jc(a),a.flags|=1,ya(e,a,l,y),a.child)}function e0(e,a,l,d,y,b){return Va(a),it(a),jh=-1,Xb=e!==null&&e.type!==a.type,a.updateQueue=null,l=Pu(a,d,l,y),jd(e,a),d=Xi(),yt(),e!==null&&!fr?(Mn(e,a,b),nl(e,a,b)):(Tn&&d&&Jc(a),a.flags|=1,ya(e,a,l,b),a.child)}function Kd(e,a,l,d,y){switch(g(a)){case!1:var b=a.stateNode,O=new a.type(a.memoizedProps,b.context).state;b.updater.enqueueSetState(b,O,null);break;case!0:a.flags|=128,a.flags|=65536,b=Error("Simulated error coming from DevTools");var _=y&-y;if(a.lanes|=_,O=Qn,O===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");_=na(_),Qo(_,O,a,Qt(b,a)),Go(a,_)}if(Va(a),a.stateNode===null){if(O=Xp,b=l.contextType,"contextType"in l&&b!==null&&(b===void 0||b.$$typeof!==Ha)&&!_8.has(l)&&(_8.add(l),_=b===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof b!="object"?" However, it is set to a "+typeof b+".":b.$$typeof===Up?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(b).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",me(l)||"Component",_)),typeof b=="object"&&b!==null&&(O=Vn(b)),b=new l(d,O),a.mode&dl){Ue(!0);try{b=new l(d,O)}finally{Ue(!1)}}if(O=a.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=Ww,a.stateNode=b,b._reactInternals=a,b._reactInternalInstance=T8,typeof l.getDerivedStateFromProps=="function"&&O===null&&(O=me(l)||"Component",A8.has(O)||(A8.add(O),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",O,b.state===null?"null":"undefined",O))),typeof l.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"){var H=_=O=null;if(typeof b.componentWillMount=="function"&&b.componentWillMount.__suppressDeprecationWarning!==!0?O="componentWillMount":typeof b.UNSAFE_componentWillMount=="function"&&(O="UNSAFE_componentWillMount"),typeof b.componentWillReceiveProps=="function"&&b.componentWillReceiveProps.__suppressDeprecationWarning!==!0?_="componentWillReceiveProps":typeof b.UNSAFE_componentWillReceiveProps=="function"&&(_="UNSAFE_componentWillReceiveProps"),typeof b.componentWillUpdate=="function"&&b.componentWillUpdate.__suppressDeprecationWarning!==!0?H="componentWillUpdate":typeof b.UNSAFE_componentWillUpdate=="function"&&(H="UNSAFE_componentWillUpdate"),O!==null||_!==null||H!==null){b=me(l)||"Component";var I=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";C8.has(b)||(C8.add(b),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
909
909
|
|
|
910
910
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
911
911
|
|
|
@@ -914,7 +914,7 @@ https://react.dev/link/unsafe-component-lifecycles`,b,I,O!==null?`
|
|
|
914
914
|
`+O:"",_!==null?`
|
|
915
915
|
`+_:"",H!==null?`
|
|
916
916
|
`+H:""))}}b=a.stateNode,O=me(l)||"Component",b.render||(l.prototype&&typeof l.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",O):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",O)),!b.getInitialState||b.getInitialState.isReactClassApproved||b.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",O),b.getDefaultProps&&!b.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",O),b.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",O),l.childContextTypes&&!R8.has(l)&&(R8.add(l),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",O)),l.contextTypes&&!D8.has(l)&&(D8.add(l),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",O)),typeof b.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",O),l.prototype&&l.prototype.isPureReactComponent&&typeof b.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",me(l)||"A pure component"),typeof b.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",O),typeof b.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",O),typeof b.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",O),typeof b.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",O),_=b.props!==d,b.props!==void 0&&_&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",O),b.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",O,O),typeof b.getSnapshotBeforeUpdate!="function"||typeof b.componentDidUpdate=="function"||w8.has(l)||(w8.add(l),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",me(l))),typeof b.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",O),typeof b.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",O),typeof l.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",O),(_=b.state)&&(typeof _!="object"||Ct(_))&&console.error("%s.state: must be set to an object or null",O),typeof b.getChildContext=="function"&&typeof l.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",O),b=a.stateNode,b.props=d,b.state=a.memoizedState,b.refs={},Ii(a),O=l.contextType,b.context=typeof O=="object"&&O!==null?Vn(O):Xp,b.state===d&&(O=me(l)||"Component",O8.has(O)||(O8.add(O),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",O))),a.mode&dl&&xc.recordLegacyContextWarning(a,b),xc.recordUnsafeLifecycleWarnings(a,b),b.state=a.memoizedState,O=l.getDerivedStateFromProps,typeof O=="function"&&(It(a,l,O,d),b.state=a.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(O=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),O!==b.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ve(a)||"Component"),Ww.enqueueReplaceState(b,b.state,null)),Io(a,d,b,y),vl(),b.state=a.memoizedState),typeof b.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Sc)!==oa&&(a.flags|=134217728),b=!0}else if(e===null){b=a.stateNode;var be=a.memoizedProps;_=Gs(l,be),b.props=_;var Ee=b.context;H=l.contextType,O=Xp,typeof H=="object"&&H!==null&&(O=Vn(H)),I=l.getDerivedStateFromProps,H=typeof I=="function"||typeof b.getSnapshotBeforeUpdate=="function",be=a.pendingProps!==be,H||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(be||Ee!==O)&&qm(a,b,d,O),Zp=!1;var ge=a.memoizedState;b.state=ge,Io(a,d,b,y),vl(),Ee=a.memoizedState,be||ge!==Ee||Zp?(typeof I=="function"&&(It(a,l,I,d),Ee=a.memoizedState),(_=Zp||mf(a,l,_,d,ge,Ee,O))?(H||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Sc)!==oa&&(a.flags|=134217728)):(typeof b.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Sc)!==oa&&(a.flags|=134217728),a.memoizedProps=d,a.memoizedState=Ee),b.props=d,b.state=Ee,b.context=O,b=_):(typeof b.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&Sc)!==oa&&(a.flags|=134217728),b=!1)}else{b=a.stateNode,$s(e,a),O=a.memoizedProps,H=Gs(l,O),b.props=H,I=a.pendingProps,ge=b.context,Ee=l.contextType,_=Xp,typeof Ee=="object"&&Ee!==null&&(_=Vn(Ee)),be=l.getDerivedStateFromProps,(Ee=typeof be=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(O!==I||ge!==_)&&qm(a,b,d,_),Zp=!1,ge=a.memoizedState,b.state=ge,Io(a,d,b,y),vl();var Ce=a.memoizedState;O!==I||ge!==Ce||Zp||e!==null&&e.dependencies!==null&&xr(e.dependencies)?(typeof be=="function"&&(It(a,l,be,d),Ce=a.memoizedState),(H=Zp||mf(a,l,H,d,ge,Ce,_)||e!==null&&e.dependencies!==null&&xr(e.dependencies))?(Ee||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(d,Ce,_),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(d,Ce,_)),typeof b.componentDidUpdate=="function"&&(a.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof b.componentDidUpdate!="function"||O===e.memoizedProps&&ge===e.memoizedState||(a.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||O===e.memoizedProps&&ge===e.memoizedState||(a.flags|=1024),a.memoizedProps=d,a.memoizedState=Ce),b.props=d,b.state=Ce,b.context=_,b=H):(typeof b.componentDidUpdate!="function"||O===e.memoizedProps&&ge===e.memoizedState||(a.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||O===e.memoizedProps&&ge===e.memoizedState||(a.flags|=1024),b=!1)}if(_=b,gf(e,a),O=(a.flags&128)!==0,_||O){if(_=a.stateNode,yd(a),O&&typeof l.getDerivedStateFromError!="function")l=null,wo=-1;else{if(it(a),l=o8(_),a.mode&dl){Ue(!0);try{o8(_)}finally{Ue(!1)}}yt()}a.flags|=1,e!==null&&O?(a.child=t1(a,e.child,null,y),a.child=t1(a,null,l,y)):ya(e,a,l,y),a.memoizedState=_.state,e=a.child}else e=nl(e,a,y);return y=a.stateNode,b&&y.props!==d&&(i1||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ve(a)||"a component"),i1=!0),e}function Zm(e,a,l,d){return Fr(),a.flags|=256,ya(e,a,l,d),a.child}function Qd(e,a){a&&a.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
917
|
-
%s.childContextTypes = ...`,a.displayName||a.name||"Component"),typeof a.getDerivedStateFromProps=="function"&&(e=me(a)||"Unknown",B8[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),B8[e]=!0)),typeof a.contextType=="object"&&a.contextType!==null&&(a=me(a)||"Unknown",U8[a]||(console.error("%s: Function components do not support contextType.",a),U8[a]=!0))}function vf(e){return{baseLanes:e,cachePool:$u()}}function Xu(e,a,l){return e=e!==null?e.childLanes&~l:0,a&&(e|=vs),e}function gv(e,a,l){var d,y=a.pendingProps;h(a)&&(a.flags|=128);var b=!1,O=(a.flags&128)!==0;if((d=O)||(d=e!==null&&e.memoizedState===null?!1:(Yi.current&Kb)!==0),d&&(b=!0,a.flags&=-129),d=(a.flags&32)!==0,a.flags&=-33,e===null){if(Tn){if(b?Wi(a):Ar(a),Tn){var _=ka,H;if(!(H=!_)){e:{var I=_;for(H=Wf;I.nodeType!==8;){if(!H){H=null;break e}if(I=ti(I.nextSibling),I===null){H=null;break e}}H=I}H!==null?(Gr(),a.memoizedState={dehydrated:H,treeContext:K0!==null?{id:Lh,overflow:Uh}:null,retryLane:536870912,hydrationErrors:null},I=M(18,null,null,oa),I.stateNode=H,I.return=a,a.child=I,Ul=a,ka=null,H=!0):H=!1,H=!H}H&&(Hg(a,_),Zl(a))}if(_=a.memoizedState,_!==null&&(_=_.dehydrated,_!==null))return vo(_)?a.lanes=32:a.lanes=536870912,null;hi(a)}return _=y.children,y=y.fallback,b?(Ar(a),b=a.mode,_=bf({mode:"hidden",children:_},b),y=Fl(y,b,l,null),_.return=a,y.return=a,_.sibling=y,a.child=_,b=a.child,b.memoizedState=vf(l),b.childLanes=Xu(e,d,l),a.memoizedState=nC,y):(Wi(a),Wd(a,_))}var be=e.memoizedState;if(be!==null&&(_=be.dehydrated,_!==null)){if(O)a.flags&256?(Wi(a),a.flags&=-257,a=Km(e,a,l)):a.memoizedState!==null?(Ar(a),a.child=e.child,a.flags|=128,a=null):(Ar(a),b=y.fallback,_=a.mode,y=bf({mode:"visible",children:y.children},_),b=Fl(b,_,l,null),b.flags|=2,y.return=a,b.return=a,y.sibling=b,a.child=y,t1(a,e.child,null,l),y=a.child,y.memoizedState=vf(l),y.childLanes=Xu(e,d,l),a.memoizedState=nC,a=b);else if(Wi(a),Tn&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),vo(_)){if(d=_.nextSibling&&_.nextSibling.dataset,d){H=d.dgst;var Ee=d.msg;I=d.stck;var ge=d.cstck}_=Ee,d=H,y=I,H=b=ge,b=Error(_||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),b.stack=y||"",b.digest=d,d=H===void 0?null:H,y={value:b,source:null,stack:d},typeof d=="string"&&Uw.set(b,y),ef(y),a=Km(e,a,l)}else if(fr||Za(e,a,l,!1),d=(l&e.childLanes)!==0,fr||d){if(d=Qn,d!==null&&(y=l&-l,y=(y&42)!==0?1:tt(y),y=(y&(d.suspendedLanes|l))!==0?0:y,y!==0&&y!==be.retryLane))throw be.retryLane=y,si(e,y),aa(d,e,y),z8;_.data===Ph||uo(),a=Km(e,a,l)}else _.data===Ph?(a.flags|=192,a.child=e.child,a=null):(e=be.treeContext,ka=ti(_.nextSibling),Ul=a,Tn=!0,Q0=null,Vh=!1,gu=null,Wf=!1,e!==null&&(Gr(),mu[pu++]=Lh,mu[pu++]=Uh,mu[pu++]=K0,Lh=e.id,Uh=e.overflow,K0=a),a=Wd(a,y.children),a.flags|=4096);return a}return b?(Ar(a),b=y.fallback,_=a.mode,H=e.child,I=H.sibling,y=qr(H,{mode:"hidden",children:y.children}),y.subtreeFlags=H.subtreeFlags&65011712,I!==null?b=qr(I,b):(b=Fl(b,_,l,null),b.flags|=2),b.return=a,y.return=a,y.sibling=b,a.child=y,y=b,b=a.child,_=e.child.memoizedState,_===null?_=vf(l):(H=_.cachePool,H!==null?(I=Pi._currentValue,H=H.parent!==I?{parent:I,pool:I}:H):H=$u(),_={baseLanes:_.baseLanes|l,cachePool:H}),b.memoizedState=_,b.childLanes=Xu(e,d,l),a.memoizedState=nC,y):(Wi(a),l=e.child,e=l.sibling,l=qr(l,{mode:"visible",children:y.children}),l.return=a,l.sibling=null,e!==null&&(d=a.deletions,d===null?(a.deletions=[e],a.flags|=16):d.push(e)),a.child=l,a.memoizedState=null,l)}function Wd(e,a){return a=bf({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function bf(e,a){return e=M(22,e,null,a),e.lanes=0,e.stateNode={_visibility:Vw,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Km(e,a,l){return t1(a,e.child,null,l),e=Wd(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function Jd(e,a,l){e.lanes|=a;var d=e.alternate;d!==null&&(d.lanes|=a),qg(e.return,a,l)}function t0(e,a){var l=Ct(e);return e=!l&&typeof le(e)=="function",l||e?(l=l?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",l,a,l),!1):!0}function Sf(e,a,l,d,y){var b=e.memoizedState;b===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:d,tail:l,tailMode:y}:(b.isBackwards=a,b.rendering=null,b.renderingStartTime=0,b.last=d,b.tail=l,b.tailMode=y)}function Qm(e,a,l){var d=a.pendingProps,y=d.revealOrder,b=d.tail;if(d=d.children,y!==void 0&&y!=="forwards"&&y!=="backwards"&&y!=="together"&&!j8[y])if(j8[y]=!0,typeof y=="string")switch(y.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',y,y.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',y,y.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',y)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',y);b===void 0||tC[b]||(b!=="collapsed"&&b!=="hidden"?(tC[b]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',b)):y!=="forwards"&&y!=="backwards"&&(tC[b]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',b)));e:if((y==="forwards"||y==="backwards")&&d!==void 0&&d!==null&&d!==!1)if(Ct(d)){for(var O=0;O<d.length;O++)if(!t0(d[O],O))break e}else if(O=le(d),typeof O=="function"){if(O=O.call(d))for(var _=O.next(),H=0;!_.done;_=O.next()){if(!t0(_.value,H))break e;H++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',y);if(ya(e,a,d,l),d=Yi.current,(d&Kb)!==0)d=d&n1|Kb,a.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Jd(e,l,a);else if(e.tag===19)Jd(e,l,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}d&=n1}switch(Pe(Yi,d,a),y){case"forwards":for(l=a.child,y=null;l!==null;)e=l.alternate,e!==null&&Ni(e)===null&&(y=l),l=l.sibling;l=y,l===null?(y=a.child,a.child=null):(y=l.sibling,l.sibling=null),Sf(a,!1,y,l,b);break;case"backwards":for(l=null,y=a.child,a.child=null;y!==null;){if(e=y.alternate,e!==null&&Ni(e)===null){a.child=y;break}e=y.sibling,y.sibling=l,l=y,y=e}Sf(a,!0,l,null,b);break;case"together":Sf(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function nl(e,a,l){if(e!==null&&(a.dependencies=e.dependencies),wo=-1,Jp|=a.lanes,(l&a.childLanes)===0)if(e!==null){if(Za(e,a,l,!1),(l&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error("Resuming work not yet implemented.");if(a.child!==null){for(e=a.child,l=qr(e,e.pendingProps),a.child=l,l.return=a;e.sibling!==null;)e=e.sibling,l=l.sibling=qr(e,e.pendingProps),l.return=a;l.sibling=null}return a.child}function Wm(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&xr(e)))}function n0(e,a,l){switch(a.tag){case 3:Xe(a,a.stateNode.containerInfo),Oi(a,Pi,e.memoizedState.cache),Fr();break;case 27:case 5:ne(a);break;case 4:Xe(a,a.stateNode.containerInfo);break;case 10:Oi(a,a.type,a.memoizedProps.value);break;case 12:(l&a.childLanes)!==0&&(a.flags|=4),a.flags|=2048;var d=a.stateNode;d.effectDuration=-0,d.passiveEffectDuration=-0;break;case 13:if(d=a.memoizedState,d!==null)return d.dehydrated!==null?(Wi(a),a.flags|=128,null):(l&a.child.childLanes)!==0?gv(e,a,l):(Wi(a),e=nl(e,a,l),e!==null?e.sibling:null);Wi(a);break;case 19:var y=(e.flags&128)!==0;if(d=(l&a.childLanes)!==0,d||(Za(e,a,l,!1),d=(l&a.childLanes)!==0),y){if(d)return Qm(e,a,l);a.flags|=128}if(y=a.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),Pe(Yi,Yi.current,a),d)break;return null;case 22:case 23:return a.lanes=0,Fm(e,a,l);case 24:Oi(a,Pi,e.memoizedState.cache)}return nl(e,a,l)}function _t(e,a,l){if(a._debugNeedsRemount&&e!==null){l=_d(a.type,a.key,a.pendingProps,a._debugOwner||null,a.mode,a.lanes),l._debugStack=a._debugStack,l._debugTask=a._debugTask;var d=a.return;if(d===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,a.alternate=null,l.index=a.index,l.sibling=a.sibling,l.return=a.return,l.ref=a.ref,l._debugInfo=a._debugInfo,a===d.child)d.child=l;else{var y=d.child;if(y===null)throw Error("Expected parent to have a child.");for(;y.sibling!==a;)if(y=y.sibling,y===null)throw Error("Expected to find the previous sibling.");y.sibling=l}return a=d.deletions,a===null?(d.deletions=[e],d.flags|=16):a.push(e),l.flags|=2,l}if(e!==null)if(e.memoizedProps!==a.pendingProps||a.type!==e.type)fr=!0;else{if(!Wm(e,l)&&(a.flags&128)===0)return fr=!1,n0(e,a,l);fr=(e.flags&131072)!==0}else fr=!1,(d=Tn)&&(Gr(),d=(a.flags&1048576)!==0),d&&(d=a.index,Gr(),Gi(a,qx,d));switch(a.lanes=0,a.tag){case 16:e:if(d=a.pendingProps,e=Qp(a.elementType),a.type=e,typeof e=="function")Dm(e)?(d=Gs(e,d),a.tag=1,a.type=e=Uu(e),a=Kd(null,a,e,d,l)):(a.tag=0,Qd(a,e),a.type=e=Uu(e),a=yf(null,a,e,d,l));else{if(e!=null){if(y=e.$$typeof,y===bt){a.tag=11,a.type=e=Mm(e),a=pf(null,a,e,d,l);break e}else if(y===qn){a.tag=14,a=El(null,a,e,d,l);break e}}throw a="",e!==null&&typeof e=="object"&&e.$$typeof===Mr&&(a=" Did you wrap a component in React.lazy() more than once?"),e=me(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+a)}return a;case 0:return yf(e,a,a.type,a.pendingProps,l);case 1:return d=a.type,y=Gs(d,a.pendingProps),Kd(e,a,d,y,l);case 3:e:{if(Xe(a,a.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");d=a.pendingProps;var b=a.memoizedState;y=b.element,$s(e,a),Io(a,d,null,l);var O=a.memoizedState;if(d=O.cache,Oi(a,Pi,d),d!==b.cache&&Gg(a,[Pi],l,!0),vl(),d=O.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:O.cache},a.updateQueue.baseState=b,a.memoizedState=b,a.flags&256){a=Zm(e,a,d,l);break e}else if(d!==y){y=Qt(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),a),ef(y),a=Zm(e,a,d,l);break e}else{switch(e=a.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(ka=ti(e.firstChild),Ul=a,Tn=!0,Q0=null,Vh=!1,gu=null,Wf=!0,e=x8(a,null,d,l),a.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Fr(),d===y){a=nl(e,a,l);break e}ya(e,a,d,l)}a=a.child}return a;case 26:return gf(e,a),e===null?(e=us(a.type,null,a.pendingProps,null))?a.memoizedState=e:Tn||(e=a.type,l=a.pendingProps,d=Qe(Rl.current),d=Xt(d).createElement(e),d[bi]=a,d[ur]=l,ia(d,e,l),Ua(d),a.stateNode=d):a.memoizedState=us(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return ne(a),e===null&&Tn&&(d=Qe(Rl.current),y=F(),d=a.stateNode=A0(a.type,a.pendingProps,d,y,!1),Vh||(y=_n(d,a.type,a.pendingProps,y),y!==null&&(Ir(a,0).serverProps=y)),Ul=a,Wf=!0,y=ka,yo(a.type)?(wC=y,ka=ti(d.firstChild)):ka=y),ya(e,a,a.pendingProps.children,l),gf(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&Tn&&(b=F(),d=Cd(a.type,b.ancestorInfo),y=ka,(O=!y)||(O=au(y,a.type,a.pendingProps,Wf),O!==null?(a.stateNode=O,Vh||(b=_n(O,a.type,a.pendingProps,b),b!==null&&(Ir(a,0).serverProps=b)),Ul=a,ka=ti(O.firstChild),Wf=!1,b=!0):b=!1,O=!b),O&&(d&&Hg(a,y),Zl(a))),ne(a),y=a.type,b=a.pendingProps,O=e!==null?e.memoizedProps:null,d=b.children,go(y,b)?d=null:O!==null&&go(y,O)&&(a.flags|=32),a.memoizedState!==null&&(y=Wl(e,a,Qr,null,null,l),fS._currentValue=y),gf(e,a),ya(e,a,d,l),a.child;case 6:return e===null&&Tn&&(e=a.pendingProps,l=F(),d=l.ancestorInfo.current,e=d!=null?Yc(e,d.tag,l.ancestorInfo.implicitRootScope):!0,l=ka,(d=!l)||(d=ei(l,a.pendingProps,Wf),d!==null?(a.stateNode=d,Ul=a,ka=null,d=!0):d=!1,d=!d),d&&(e&&Hg(a,l),Zl(a))),null;case 13:return gv(e,a,l);case 4:return Xe(a,a.stateNode.containerInfo),d=a.pendingProps,e===null?a.child=t1(a,null,d,l):ya(e,a,d,l),a.child;case 11:return pf(e,a,a.type,a.pendingProps,l);case 7:return ya(e,a,a.pendingProps,l),a.child;case 8:return ya(e,a,a.pendingProps.children,l),a.child;case 12:return a.flags|=4,a.flags|=2048,d=a.stateNode,d.effectDuration=-0,d.passiveEffectDuration=-0,ya(e,a,a.pendingProps.children,l),a.child;case 10:return d=a.type,y=a.pendingProps,b=y.value,"value"in y||$8||($8=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Oi(a,d,b),ya(e,a,y.children,l),a.child;case 9:return y=a.type._context,d=a.pendingProps.children,typeof d!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Va(a),y=Vn(y),it(a),d=Zw(d,y,void 0),yt(),a.flags|=1,ya(e,a,d,l),a.child;case 14:return El(e,a,a.type,a.pendingProps,l);case 15:return Zd(e,a,a.type,a.pendingProps,l);case 19:return Qm(e,a,l);case 31:return d=a.pendingProps,l=a.mode,d={mode:d.mode,children:d.children},e===null?(e=bf(d,l),e.ref=a.ref,a.child=e,e.return=a,a=e):(e=qr(e.child,d),e.ref=a.ref,a.child=e,e.return=a,a=e),a;case 22:return Fm(e,a,l);case 24:return Va(a),d=Vn(Pi),e===null?(y=tf(),y===null&&(y=Qn,b=Vd(),y.pooledCache=b,ju(b),b!==null&&(y.pooledCacheLanes|=l),y=b),a.memoizedState={parent:d,cache:y},Ii(a),Oi(a,Pi,y)):((e.lanes&l)!==0&&($s(e,a),Io(a,null,null,l),vl()),y=e.memoizedState,b=a.memoizedState,y.parent!==d?(y={parent:d,cache:d},a.memoizedState=y,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=y),Oi(a,Pi,d)):(d=b.cache,Oi(a,Pi,d),d!==y.cache&&Gg(a,[Pi],l,!0))),ya(e,a,a.pendingProps.children,l),a.child;case 29:throw a.pendingProps}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ji(e){e.flags|=4}function eh(e,a){if(a.type!=="stylesheet"||(a.state.loading&xu)!==dy)e.flags&=-16777217;else if(e.flags|=16777216,!mh(a)){if(a=Su.current,a!==null&&((on&4194048)===on?ed!==null:(on&62914560)!==on&&(on&536870912)===0||a!==ed))throw Ib=kw,Z_;e.flags|=8192}}function Wo(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?Ia():536870912,e.lanes|=a,ly|=a)}function Jo(e,a){if(!Tn)switch(e.tailMode){case"hidden":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:d.sibling=null}}function On(e){var a=e.alternate!==null&&e.alternate.child===e.child,l=0,d=0;if(a)if((e.mode&_r)!==oa){for(var y=e.selfBaseDuration,b=e.child;b!==null;)l|=b.lanes|b.childLanes,d|=b.subtreeFlags&65011712,d|=b.flags&65011712,y+=b.treeBaseDuration,b=b.sibling;e.treeBaseDuration=y}else for(y=e.child;y!==null;)l|=y.lanes|y.childLanes,d|=y.subtreeFlags&65011712,d|=y.flags&65011712,y.return=e,y=y.sibling;else if((e.mode&_r)!==oa){y=e.actualDuration,b=e.selfBaseDuration;for(var O=e.child;O!==null;)l|=O.lanes|O.childLanes,d|=O.subtreeFlags,d|=O.flags,y+=O.actualDuration,b+=O.treeBaseDuration,O=O.sibling;e.actualDuration=y,e.treeBaseDuration=b}else for(y=e.child;y!==null;)l|=y.lanes|y.childLanes,d|=y.subtreeFlags,d|=y.flags,y.return=e,y=y.sibling;return e.subtreeFlags|=d,e.childLanes=l,a}function yv(e,a,l){var d=a.pendingProps;switch(js(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return On(a),null;case 1:return On(a),null;case 3:return l=a.stateNode,d=null,e!==null&&(d=e.memoizedState.cache),a.memoizedState.cache!==d&&(a.flags|=2048),Xr(Pi,a),qe(a),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Bu(a)?(zd(),Ji(a)):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Yg())),On(a),null;case 26:return l=a.memoizedState,e===null?(Ji(a),l!==null?(On(a),eh(a,l)):(On(a),a.flags&=-16777217)):l?l!==e.memoizedState?(Ji(a),On(a),eh(a,l)):(On(a),a.flags&=-16777217):(e.memoizedProps!==d&&Ji(a),On(a),a.flags&=-16777217),null;case 27:oe(a),l=Qe(Rl.current);var y=a.type;if(e!==null&&a.stateNode!=null)e.memoizedProps!==d&&Ji(a);else{if(!d){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return On(a),null}e=F(),Bu(a)?Pg(a):(e=A0(y,d,l,e,!0),a.stateNode=e,Ji(a))}return On(a),null;case 5:if(oe(a),l=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==d&&Ji(a);else{if(!d){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return On(a),null}if(y=F(),Bu(a))Pg(a);else{switch(e=Qe(Rl.current),Cd(l,y.ancestorInfo),y=y.context,e=Xt(e),y){case h1:e=e.createElementNS(Qf,l);break;case y2:e=e.createElementNS(Nh,l);break;default:switch(l){case"svg":e=e.createElementNS(Qf,l);break;case"math":e=e.createElementNS(Nh,l);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof d.is=="string"?e.createElement("select",{is:d.is}):e.createElement("select"),d.multiple?e.multiple=!0:d.size&&(e.size=d.size);break;default:e=typeof d.is=="string"?e.createElement(l,{is:d.is}):e.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||fs.call(iN,l)||(iN[l]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",l)))}}e[bi]=a,e[ur]=d;e:for(y=a.child;y!==null;){if(y.tag===5||y.tag===6)e.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===a)break e;for(;y.sibling===null;){if(y.return===null||y.return===a)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}a.stateNode=e;e:switch(ia(e,l,d),l){case"button":case"input":case"select":case"textarea":e=!!d.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ji(a)}}return On(a),a.flags&=-16777217,null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==d&&Ji(a);else{if(typeof d!="string"&&a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Qe(Rl.current),l=F(),Bu(a)){e=a.stateNode,l=a.memoizedProps,y=!Vh,d=null;var b=Ul;if(b!==null)switch(b.tag){case 3:y&&(y=Ap(e,l,d),y!==null&&(Ir(a,0).serverProps=y));break;case 27:case 5:d=b.memoizedProps,y&&(y=Ap(e,l,d),y!==null&&(Ir(a,0).serverProps=y))}e[bi]=a,e=!!(e.nodeValue===l||d!==null&&d.suppressHydrationWarning===!0||m0(e.nodeValue,l)),e||Zl(a)}else y=l.ancestorInfo.current,y!=null&&Yc(d,y.tag,l.ancestorInfo.implicitRootScope),e=Xt(e).createTextNode(d),e[bi]=a,a.stateNode=e}return On(a),null;case 13:if(d=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(y=Bu(a),d!==null&&d.dehydrated!==null){if(e===null){if(!y)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(y=a.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");y[bi]=a,On(a),(a.mode&_r)!==oa&&d!==null&&(y=a.child,y!==null&&(a.treeBaseDuration-=y.treeBaseDuration))}else zd(),Fr(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4,On(a),(a.mode&_r)!==oa&&d!==null&&(y=a.child,y!==null&&(a.treeBaseDuration-=y.treeBaseDuration));y=!1}else y=Yg(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=y),y=!0;if(!y)return a.flags&256?(hi(a),a):(hi(a),null)}return hi(a),(a.flags&128)!==0?(a.lanes=l,(a.mode&_r)!==oa&&Wt(a),a):(l=d!==null,e=e!==null&&e.memoizedState!==null,l&&(d=a.child,y=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(y=d.alternate.memoizedState.cachePool.pool),b=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(b=d.memoizedState.cachePool.pool),b!==y&&(d.flags|=2048)),l!==e&&l&&(a.child.flags|=8192),Wo(a,a.updateQueue),On(a),(a.mode&_r)!==oa&&l&&(e=a.child,e!==null&&(a.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return qe(a),e===null&&d0(a.stateNode.containerInfo),On(a),null;case 10:return Xr(a.type,a),On(a),null;case 19:if(Be(Yi,a),y=a.memoizedState,y===null)return On(a),null;if(d=(a.flags&128)!==0,b=y.rendering,b===null)if(d)Jo(y,!1);else{if(Ya!==Hh||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(b=Ni(e),b!==null){for(a.flags|=128,Jo(y,!1),e=b.updateQueue,a.updateQueue=e,Wo(a,e),a.subtreeFlags=0,e=l,l=a.child;l!==null;)Rd(l,e),l=l.sibling;return Pe(Yi,Yi.current&n1|Kb,a),a.child}e=e.sibling}y.tail!==null&&_l()>r2&&(a.flags|=128,d=!0,Jo(y,!1),a.lanes=4194304)}else{if(!d)if(e=Ni(b),e!==null){if(a.flags|=128,d=!0,e=e.updateQueue,a.updateQueue=e,Wo(a,e),Jo(y,!0),y.tail===null&&y.tailMode==="hidden"&&!b.alternate&&!Tn)return On(a),null}else 2*_l()-y.renderingStartTime>r2&&l!==536870912&&(a.flags|=128,d=!0,Jo(y,!1),a.lanes=4194304);y.isBackwards?(b.sibling=a.child,a.child=b):(e=y.last,e!==null?e.sibling=b:a.child=b,y.last=b)}return y.tail!==null?(e=y.tail,y.rendering=e,y.tail=e.sibling,y.renderingStartTime=_l(),e.sibling=null,l=Yi.current,l=d?l&n1|Kb:l&n1,Pe(Yi,l,a),e):(On(a),null);case 22:case 23:return hi(a),Ka(a),d=a.memoizedState!==null,e!==null?e.memoizedState!==null!==d&&(a.flags|=8192):d&&(a.flags|=8192),d?(l&536870912)!==0&&(a.flags&128)===0&&(On(a),a.subtreeFlags&6&&(a.flags|=8192)):On(a),l=a.updateQueue,l!==null&&Wo(a,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),d=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(d=a.memoizedState.cachePool.pool),d!==l&&(a.flags|=2048),e!==null&&Be(ey,a),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),Xr(Pi,a),On(a),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function wr(e,a){switch(js(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,(a.mode&_r)!==oa&&Wt(a),a):null;case 3:return Xr(Pi,a),qe(a),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return oe(a),null;case 13:if(hi(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Fr()}return e=a.flags,e&65536?(a.flags=e&-65537|128,(a.mode&_r)!==oa&&Wt(a),a):null;case 19:return Be(Yi,a),null;case 4:return qe(a),null;case 10:return Xr(a.type,a),null;case 22:case 23:return hi(a),Ka(a),e!==null&&Be(ey,a),e=a.flags,e&65536?(a.flags=e&-65537|128,(a.mode&_r)!==oa&&Wt(a),a):null;case 24:return Xr(Pi,a),null;case 25:return null;default:return null}}function a0(e,a){switch(js(a),a.tag){case 3:Xr(Pi,a),qe(a);break;case 26:case 27:case 5:oe(a);break;case 4:qe(a);break;case 13:hi(a);break;case 19:Be(Yi,a);break;case 10:Xr(a.type,a);break;case 22:case 23:hi(a),Ka(a),e!==null&&Be(ey,a);break;case 24:Xr(Pi,a)}}function er(e){return(e.mode&_r)!==oa}function th(e,a){er(e)?(wn(),Is(a,e),Mt()):Is(a,e)}function nh(e,a,l){er(e)?(wn(),Ma(l,e,a),Mt()):Ma(l,e,a)}function Is(e,a){try{var l=a.updateQueue,d=l!==null?l.lastEffect:null;if(d!==null){var y=d.next;l=y;do{if((l.tag&e)===e&&((e&ki)!==yu?Ke!==null&&typeof Ke.markComponentPassiveEffectMountStarted=="function"&&Ke.markComponentPassiveEffectMountStarted(a):(e&Nr)!==yu&&Ke!==null&&typeof Ke.markComponentLayoutEffectMountStarted=="function"&&Ke.markComponentLayoutEffectMountStarted(a),d=void 0,(e&Vl)!==yu&&(f1=!0),d=rt(a,TF,l),(e&Vl)!==yu&&(f1=!1),(e&ki)!==yu?Ke!==null&&typeof Ke.markComponentPassiveEffectMountStopped=="function"&&Ke.markComponentPassiveEffectMountStopped():(e&Nr)!==yu&&Ke!==null&&typeof Ke.markComponentLayoutEffectMountStopped=="function"&&Ke.markComponentLayoutEffectMountStopped(),d!==void 0&&typeof d!="function")){var b=void 0;b=(l.tag&Nr)!==0?"useLayoutEffect":(l.tag&Vl)!==0?"useInsertionEffect":"useEffect";var O=void 0;O=d===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof d.then=="function"?`
|
|
917
|
+
%s.childContextTypes = ...`,a.displayName||a.name||"Component"),typeof a.getDerivedStateFromProps=="function"&&(e=me(a)||"Unknown",B8[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),B8[e]=!0)),typeof a.contextType=="object"&&a.contextType!==null&&(a=me(a)||"Unknown",U8[a]||(console.error("%s: Function components do not support contextType.",a),U8[a]=!0))}function vf(e){return{baseLanes:e,cachePool:$u()}}function Xu(e,a,l){return e=e!==null?e.childLanes&~l:0,a&&(e|=vs),e}function gv(e,a,l){var d,y=a.pendingProps;h(a)&&(a.flags|=128);var b=!1,O=(a.flags&128)!==0;if((d=O)||(d=e!==null&&e.memoizedState===null?!1:(Yi.current&Kb)!==0),d&&(b=!0,a.flags&=-129),d=(a.flags&32)!==0,a.flags&=-33,e===null){if(Tn){if(b?Wi(a):Ar(a),Tn){var _=ka,H;if(!(H=!_)){e:{var I=_;for(H=Wf;I.nodeType!==8;){if(!H){H=null;break e}if(I=ti(I.nextSibling),I===null){H=null;break e}}H=I}H!==null?(Gr(),a.memoizedState={dehydrated:H,treeContext:K0!==null?{id:Lh,overflow:Uh}:null,retryLane:536870912,hydrationErrors:null},I=M(18,null,null,oa),I.stateNode=H,I.return=a,a.child=I,Ul=a,ka=null,H=!0):H=!1,H=!H}H&&(Hg(a,_),Zl(a))}if(_=a.memoizedState,_!==null&&(_=_.dehydrated,_!==null))return vo(_)?a.lanes=32:a.lanes=536870912,null;hi(a)}return _=y.children,y=y.fallback,b?(Ar(a),b=a.mode,_=bf({mode:"hidden",children:_},b),y=Fl(y,b,l,null),_.return=a,y.return=a,_.sibling=y,a.child=_,b=a.child,b.memoizedState=vf(l),b.childLanes=Xu(e,d,l),a.memoizedState=nC,y):(Wi(a),Wd(a,_))}var be=e.memoizedState;if(be!==null&&(_=be.dehydrated,_!==null)){if(O)a.flags&256?(Wi(a),a.flags&=-257,a=Km(e,a,l)):a.memoizedState!==null?(Ar(a),a.child=e.child,a.flags|=128,a=null):(Ar(a),b=y.fallback,_=a.mode,y=bf({mode:"visible",children:y.children},_),b=Fl(b,_,l,null),b.flags|=2,y.return=a,b.return=a,y.sibling=b,a.child=y,t1(a,e.child,null,l),y=a.child,y.memoizedState=vf(l),y.childLanes=Xu(e,d,l),a.memoizedState=nC,a=b);else if(Wi(a),Tn&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),vo(_)){if(d=_.nextSibling&&_.nextSibling.dataset,d){H=d.dgst;var Ee=d.msg;I=d.stck;var ge=d.cstck}_=Ee,d=H,y=I,H=b=ge,b=Error(_||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),b.stack=y||"",b.digest=d,d=H===void 0?null:H,y={value:b,source:null,stack:d},typeof d=="string"&&Uw.set(b,y),ef(y),a=Km(e,a,l)}else if(fr||Za(e,a,l,!1),d=(l&e.childLanes)!==0,fr||d){if(d=Qn,d!==null&&(y=l&-l,y=(y&42)!==0?1:tt(y),y=(y&(d.suspendedLanes|l))!==0?0:y,y!==0&&y!==be.retryLane))throw be.retryLane=y,si(e,y),aa(d,e,y),z8;_.data===Ph||uo(),a=Km(e,a,l)}else _.data===Ph?(a.flags|=192,a.child=e.child,a=null):(e=be.treeContext,ka=ti(_.nextSibling),Ul=a,Tn=!0,Q0=null,Vh=!1,gu=null,Wf=!1,e!==null&&(Gr(),mu[pu++]=Lh,mu[pu++]=Uh,mu[pu++]=K0,Lh=e.id,Uh=e.overflow,K0=a),a=Wd(a,y.children),a.flags|=4096);return a}return b?(Ar(a),b=y.fallback,_=a.mode,H=e.child,I=H.sibling,y=qr(H,{mode:"hidden",children:y.children}),y.subtreeFlags=H.subtreeFlags&65011712,I!==null?b=qr(I,b):(b=Fl(b,_,l,null),b.flags|=2),b.return=a,y.return=a,y.sibling=b,a.child=y,y=b,b=a.child,_=e.child.memoizedState,_===null?_=vf(l):(H=_.cachePool,H!==null?(I=Pi._currentValue,H=H.parent!==I?{parent:I,pool:I}:H):H=$u(),_={baseLanes:_.baseLanes|l,cachePool:H}),b.memoizedState=_,b.childLanes=Xu(e,d,l),a.memoizedState=nC,y):(Wi(a),l=e.child,e=l.sibling,l=qr(l,{mode:"visible",children:y.children}),l.return=a,l.sibling=null,e!==null&&(d=a.deletions,d===null?(a.deletions=[e],a.flags|=16):d.push(e)),a.child=l,a.memoizedState=null,l)}function Wd(e,a){return a=bf({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function bf(e,a){return e=M(22,e,null,a),e.lanes=0,e.stateNode={_visibility:Vw,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Km(e,a,l){return t1(a,e.child,null,l),e=Wd(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function Jd(e,a,l){e.lanes|=a;var d=e.alternate;d!==null&&(d.lanes|=a),qg(e.return,a,l)}function t0(e,a){var l=Ct(e);return e=!l&&typeof le(e)=="function",l||e?(l=l?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",l,a,l),!1):!0}function Sf(e,a,l,d,y){var b=e.memoizedState;b===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:d,tail:l,tailMode:y}:(b.isBackwards=a,b.rendering=null,b.renderingStartTime=0,b.last=d,b.tail=l,b.tailMode=y)}function Qm(e,a,l){var d=a.pendingProps,y=d.revealOrder,b=d.tail;if(d=d.children,y!==void 0&&y!=="forwards"&&y!=="backwards"&&y!=="together"&&!j8[y])if(j8[y]=!0,typeof y=="string")switch(y.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',y,y.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',y,y.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',y)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',y);b===void 0||tC[b]||(b!=="collapsed"&&b!=="hidden"?(tC[b]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',b)):y!=="forwards"&&y!=="backwards"&&(tC[b]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',b)));e:if((y==="forwards"||y==="backwards")&&d!==void 0&&d!==null&&d!==!1)if(Ct(d)){for(var O=0;O<d.length;O++)if(!t0(d[O],O))break e}else if(O=le(d),typeof O=="function"){if(O=O.call(d))for(var _=O.next(),H=0;!_.done;_=O.next()){if(!t0(_.value,H))break e;H++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',y);if(ya(e,a,d,l),d=Yi.current,(d&Kb)!==0)d=d&n1|Kb,a.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Jd(e,l,a);else if(e.tag===19)Jd(e,l,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}d&=n1}switch(Pe(Yi,d,a),y){case"forwards":for(l=a.child,y=null;l!==null;)e=l.alternate,e!==null&&Ni(e)===null&&(y=l),l=l.sibling;l=y,l===null?(y=a.child,a.child=null):(y=l.sibling,l.sibling=null),Sf(a,!1,y,l,b);break;case"backwards":for(l=null,y=a.child,a.child=null;y!==null;){if(e=y.alternate,e!==null&&Ni(e)===null){a.child=y;break}e=y.sibling,y.sibling=l,l=y,y=e}Sf(a,!0,l,null,b);break;case"together":Sf(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function nl(e,a,l){if(e!==null&&(a.dependencies=e.dependencies),wo=-1,Jp|=a.lanes,(l&a.childLanes)===0)if(e!==null){if(Za(e,a,l,!1),(l&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error("Resuming work not yet implemented.");if(a.child!==null){for(e=a.child,l=qr(e,e.pendingProps),a.child=l,l.return=a;e.sibling!==null;)e=e.sibling,l=l.sibling=qr(e,e.pendingProps),l.return=a;l.sibling=null}return a.child}function Wm(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&xr(e)))}function n0(e,a,l){switch(a.tag){case 3:Xe(a,a.stateNode.containerInfo),Oi(a,Pi,e.memoizedState.cache),Fr();break;case 27:case 5:ne(a);break;case 4:Xe(a,a.stateNode.containerInfo);break;case 10:Oi(a,a.type,a.memoizedProps.value);break;case 12:(l&a.childLanes)!==0&&(a.flags|=4),a.flags|=2048;var d=a.stateNode;d.effectDuration=-0,d.passiveEffectDuration=-0;break;case 13:if(d=a.memoizedState,d!==null)return d.dehydrated!==null?(Wi(a),a.flags|=128,null):(l&a.child.childLanes)!==0?gv(e,a,l):(Wi(a),e=nl(e,a,l),e!==null?e.sibling:null);Wi(a);break;case 19:var y=(e.flags&128)!==0;if(d=(l&a.childLanes)!==0,d||(Za(e,a,l,!1),d=(l&a.childLanes)!==0),y){if(d)return Qm(e,a,l);a.flags|=128}if(y=a.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),Pe(Yi,Yi.current,a),d)break;return null;case 22:case 23:return a.lanes=0,Fm(e,a,l);case 24:Oi(a,Pi,e.memoizedState.cache)}return nl(e,a,l)}function _t(e,a,l){if(a._debugNeedsRemount&&e!==null){l=_d(a.type,a.key,a.pendingProps,a._debugOwner||null,a.mode,a.lanes),l._debugStack=a._debugStack,l._debugTask=a._debugTask;var d=a.return;if(d===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,a.alternate=null,l.index=a.index,l.sibling=a.sibling,l.return=a.return,l.ref=a.ref,l._debugInfo=a._debugInfo,a===d.child)d.child=l;else{var y=d.child;if(y===null)throw Error("Expected parent to have a child.");for(;y.sibling!==a;)if(y=y.sibling,y===null)throw Error("Expected to find the previous sibling.");y.sibling=l}return a=d.deletions,a===null?(d.deletions=[e],d.flags|=16):a.push(e),l.flags|=2,l}if(e!==null)if(e.memoizedProps!==a.pendingProps||a.type!==e.type)fr=!0;else{if(!Wm(e,l)&&(a.flags&128)===0)return fr=!1,n0(e,a,l);fr=(e.flags&131072)!==0}else fr=!1,(d=Tn)&&(Gr(),d=(a.flags&1048576)!==0),d&&(d=a.index,Gr(),Gi(a,qx,d));switch(a.lanes=0,a.tag){case 16:e:if(d=a.pendingProps,e=Qp(a.elementType),a.type=e,typeof e=="function")Dm(e)?(d=Gs(e,d),a.tag=1,a.type=e=Uu(e),a=Kd(null,a,e,d,l)):(a.tag=0,Qd(a,e),a.type=e=Uu(e),a=yf(null,a,e,d,l));else{if(e!=null){if(y=e.$$typeof,y===bt){a.tag=11,a.type=e=Mm(e),a=pf(null,a,e,d,l);break e}else if(y===qn){a.tag=14,a=El(null,a,e,d,l);break e}}throw a="",e!==null&&typeof e=="object"&&e.$$typeof===Mr&&(a=" Did you wrap a component in React.lazy() more than once?"),e=me(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+a)}return a;case 0:return yf(e,a,a.type,a.pendingProps,l);case 1:return d=a.type,y=Gs(d,a.pendingProps),Kd(e,a,d,y,l);case 3:e:{if(Xe(a,a.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");d=a.pendingProps;var b=a.memoizedState;y=b.element,$s(e,a),Io(a,d,null,l);var O=a.memoizedState;if(d=O.cache,Oi(a,Pi,d),d!==b.cache&&Gg(a,[Pi],l,!0),vl(),d=O.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:O.cache},a.updateQueue.baseState=b,a.memoizedState=b,a.flags&256){a=Zm(e,a,d,l);break e}else if(d!==y){y=Qt(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),a),ef(y),a=Zm(e,a,d,l);break e}else{switch(e=a.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(ka=ti(e.firstChild),Ul=a,Tn=!0,Q0=null,Vh=!1,gu=null,Wf=!0,e=x8(a,null,d,l),a.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Fr(),d===y){a=nl(e,a,l);break e}ya(e,a,d,l)}a=a.child}return a;case 26:return gf(e,a),e===null?(e=us(a.type,null,a.pendingProps,null))?a.memoizedState=e:Tn||(e=a.type,l=a.pendingProps,d=Qe(Rl.current),d=Xt(d).createElement(e),d[bi]=a,d[ur]=l,ia(d,e,l),Ua(d),a.stateNode=d):a.memoizedState=us(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return ne(a),e===null&&Tn&&(d=Qe(Rl.current),y=F(),d=a.stateNode=A0(a.type,a.pendingProps,d,y,!1),Vh||(y=_n(d,a.type,a.pendingProps,y),y!==null&&(Ir(a,0).serverProps=y)),Ul=a,Wf=!0,y=ka,yo(a.type)?(wC=y,ka=ti(d.firstChild)):ka=y),ya(e,a,a.pendingProps.children,l),gf(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&Tn&&(b=F(),d=Cd(a.type,b.ancestorInfo),y=ka,(O=!y)||(O=au(y,a.type,a.pendingProps,Wf),O!==null?(a.stateNode=O,Vh||(b=_n(O,a.type,a.pendingProps,b),b!==null&&(Ir(a,0).serverProps=b)),Ul=a,ka=ti(O.firstChild),Wf=!1,b=!0):b=!1,O=!b),O&&(d&&Hg(a,y),Zl(a))),ne(a),y=a.type,b=a.pendingProps,O=e!==null?e.memoizedProps:null,d=b.children,go(y,b)?d=null:O!==null&&go(y,O)&&(a.flags|=32),a.memoizedState!==null&&(y=Wl(e,a,Qr,null,null,l),fS._currentValue=y),gf(e,a),ya(e,a,d,l),a.child;case 6:return e===null&&Tn&&(e=a.pendingProps,l=F(),d=l.ancestorInfo.current,e=d!=null?Yc(e,d.tag,l.ancestorInfo.implicitRootScope):!0,l=ka,(d=!l)||(d=ei(l,a.pendingProps,Wf),d!==null?(a.stateNode=d,Ul=a,ka=null,d=!0):d=!1,d=!d),d&&(e&&Hg(a,l),Zl(a))),null;case 13:return gv(e,a,l);case 4:return Xe(a,a.stateNode.containerInfo),d=a.pendingProps,e===null?a.child=t1(a,null,d,l):ya(e,a,d,l),a.child;case 11:return pf(e,a,a.type,a.pendingProps,l);case 7:return ya(e,a,a.pendingProps,l),a.child;case 8:return ya(e,a,a.pendingProps.children,l),a.child;case 12:return a.flags|=4,a.flags|=2048,d=a.stateNode,d.effectDuration=-0,d.passiveEffectDuration=-0,ya(e,a,a.pendingProps.children,l),a.child;case 10:return d=a.type,y=a.pendingProps,b=y.value,"value"in y||$8||($8=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Oi(a,d,b),ya(e,a,y.children,l),a.child;case 9:return y=a.type._context,d=a.pendingProps.children,typeof d!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Va(a),y=Vn(y),it(a),d=Zw(d,y,void 0),yt(),a.flags|=1,ya(e,a,d,l),a.child;case 14:return El(e,a,a.type,a.pendingProps,l);case 15:return Zd(e,a,a.type,a.pendingProps,l);case 19:return Qm(e,a,l);case 31:return d=a.pendingProps,l=a.mode,d={mode:d.mode,children:d.children},e===null?(e=bf(d,l),e.ref=a.ref,a.child=e,e.return=a,a=e):(e=qr(e.child,d),e.ref=a.ref,a.child=e,e.return=a,a=e),a;case 22:return Fm(e,a,l);case 24:return Va(a),d=Vn(Pi),e===null?(y=tf(),y===null&&(y=Qn,b=Vd(),y.pooledCache=b,ju(b),b!==null&&(y.pooledCacheLanes|=l),y=b),a.memoizedState={parent:d,cache:y},Ii(a),Oi(a,Pi,y)):((e.lanes&l)!==0&&($s(e,a),Io(a,null,null,l),vl()),y=e.memoizedState,b=a.memoizedState,y.parent!==d?(y={parent:d,cache:d},a.memoizedState=y,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=y),Oi(a,Pi,d)):(d=b.cache,Oi(a,Pi,d),d!==y.cache&&Gg(a,[Pi],l,!0))),ya(e,a,a.pendingProps.children,l),a.child;case 29:throw a.pendingProps}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ji(e){e.flags|=4}function eh(e,a){if(a.type!=="stylesheet"||(a.state.loading&xu)!==dy)e.flags&=-16777217;else if(e.flags|=16777216,!mh(a)){if(a=Su.current,a!==null&&((on&4194048)===on?ed!==null:(on&62914560)!==on&&(on&536870912)===0||a!==ed))throw Ib=kw,Z_;e.flags|=8192}}function Wo(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?Ia():536870912,e.lanes|=a,ly|=a)}function Jo(e,a){if(!Tn)switch(e.tailMode){case"hidden":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:d.sibling=null}}function On(e){var a=e.alternate!==null&&e.alternate.child===e.child,l=0,d=0;if(a)if((e.mode&_r)!==oa){for(var y=e.selfBaseDuration,b=e.child;b!==null;)l|=b.lanes|b.childLanes,d|=b.subtreeFlags&65011712,d|=b.flags&65011712,y+=b.treeBaseDuration,b=b.sibling;e.treeBaseDuration=y}else for(y=e.child;y!==null;)l|=y.lanes|y.childLanes,d|=y.subtreeFlags&65011712,d|=y.flags&65011712,y.return=e,y=y.sibling;else if((e.mode&_r)!==oa){y=e.actualDuration,b=e.selfBaseDuration;for(var O=e.child;O!==null;)l|=O.lanes|O.childLanes,d|=O.subtreeFlags,d|=O.flags,y+=O.actualDuration,b+=O.treeBaseDuration,O=O.sibling;e.actualDuration=y,e.treeBaseDuration=b}else for(y=e.child;y!==null;)l|=y.lanes|y.childLanes,d|=y.subtreeFlags,d|=y.flags,y.return=e,y=y.sibling;return e.subtreeFlags|=d,e.childLanes=l,a}function yv(e,a,l){var d=a.pendingProps;switch(js(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return On(a),null;case 1:return On(a),null;case 3:return l=a.stateNode,d=null,e!==null&&(d=e.memoizedState.cache),a.memoizedState.cache!==d&&(a.flags|=2048),Xr(Pi,a),qe(a),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Bu(a)?(zd(),Ji(a)):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Yg())),On(a),null;case 26:return l=a.memoizedState,e===null?(Ji(a),l!==null?(On(a),eh(a,l)):(On(a),a.flags&=-16777217)):l?l!==e.memoizedState?(Ji(a),On(a),eh(a,l)):(On(a),a.flags&=-16777217):(e.memoizedProps!==d&&Ji(a),On(a),a.flags&=-16777217),null;case 27:oe(a),l=Qe(Rl.current);var y=a.type;if(e!==null&&a.stateNode!=null)e.memoizedProps!==d&&Ji(a);else{if(!d){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return On(a),null}e=F(),Bu(a)?Pg(a):(e=A0(y,d,l,e,!0),a.stateNode=e,Ji(a))}return On(a),null;case 5:if(oe(a),l=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==d&&Ji(a);else{if(!d){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return On(a),null}if(y=F(),Bu(a))Pg(a);else{switch(e=Qe(Rl.current),Cd(l,y.ancestorInfo),y=y.context,e=Xt(e),y){case h1:e=e.createElementNS(Qf,l);break;case y2:e=e.createElementNS(Nh,l);break;default:switch(l){case"svg":e=e.createElementNS(Qf,l);break;case"math":e=e.createElementNS(Nh,l);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof d.is=="string"?e.createElement("select",{is:d.is}):e.createElement("select"),d.multiple?e.multiple=!0:d.size&&(e.size=d.size);break;default:e=typeof d.is=="string"?e.createElement(l,{is:d.is}):e.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||fs.call(iN,l)||(iN[l]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",l)))}}e[bi]=a,e[ur]=d;e:for(y=a.child;y!==null;){if(y.tag===5||y.tag===6)e.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===a)break e;for(;y.sibling===null;){if(y.return===null||y.return===a)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}a.stateNode=e;e:switch(ia(e,l,d),l){case"button":case"input":case"select":case"textarea":e=!!d.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ji(a)}}return On(a),a.flags&=-16777217,null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==d&&Ji(a);else{if(typeof d!="string"&&a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Qe(Rl.current),l=F(),Bu(a)){e=a.stateNode,l=a.memoizedProps,y=!Vh,d=null;var b=Ul;if(b!==null)switch(b.tag){case 3:y&&(y=Ap(e,l,d),y!==null&&(Ir(a,0).serverProps=y));break;case 27:case 5:d=b.memoizedProps,y&&(y=Ap(e,l,d),y!==null&&(Ir(a,0).serverProps=y))}e[bi]=a,e=!!(e.nodeValue===l||d!==null&&d.suppressHydrationWarning===!0||m0(e.nodeValue,l)),e||Zl(a)}else y=l.ancestorInfo.current,y!=null&&Yc(d,y.tag,l.ancestorInfo.implicitRootScope),e=Xt(e).createTextNode(d),e[bi]=a,a.stateNode=e}return On(a),null;case 13:if(d=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(y=Bu(a),d!==null&&d.dehydrated!==null){if(e===null){if(!y)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(y=a.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");y[bi]=a,On(a),(a.mode&_r)!==oa&&d!==null&&(y=a.child,y!==null&&(a.treeBaseDuration-=y.treeBaseDuration))}else zd(),Fr(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4,On(a),(a.mode&_r)!==oa&&d!==null&&(y=a.child,y!==null&&(a.treeBaseDuration-=y.treeBaseDuration));y=!1}else y=Yg(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=y),y=!0;if(!y)return a.flags&256?(hi(a),a):(hi(a),null)}return hi(a),(a.flags&128)!==0?(a.lanes=l,(a.mode&_r)!==oa&&Wt(a),a):(l=d!==null,e=e!==null&&e.memoizedState!==null,l&&(d=a.child,y=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(y=d.alternate.memoizedState.cachePool.pool),b=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(b=d.memoizedState.cachePool.pool),b!==y&&(d.flags|=2048)),l!==e&&l&&(a.child.flags|=8192),Wo(a,a.updateQueue),On(a),(a.mode&_r)!==oa&&l&&(e=a.child,e!==null&&(a.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return qe(a),e===null&&d0(a.stateNode.containerInfo),On(a),null;case 10:return Xr(a.type,a),On(a),null;case 19:if(Be(Yi,a),y=a.memoizedState,y===null)return On(a),null;if(d=(a.flags&128)!==0,b=y.rendering,b===null)if(d)Jo(y,!1);else{if(Ya!==Hh||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(b=Ni(e),b!==null){for(a.flags|=128,Jo(y,!1),e=b.updateQueue,a.updateQueue=e,Wo(a,e),a.subtreeFlags=0,e=l,l=a.child;l!==null;)Rd(l,e),l=l.sibling;return Pe(Yi,Yi.current&n1|Kb,a),a.child}e=e.sibling}y.tail!==null&&_l()>r2&&(a.flags|=128,d=!0,Jo(y,!1),a.lanes=4194304)}else{if(!d)if(e=Ni(b),e!==null){if(a.flags|=128,d=!0,e=e.updateQueue,a.updateQueue=e,Wo(a,e),Jo(y,!0),y.tail===null&&y.tailMode==="hidden"&&!b.alternate&&!Tn)return On(a),null}else 2*_l()-y.renderingStartTime>r2&&l!==536870912&&(a.flags|=128,d=!0,Jo(y,!1),a.lanes=4194304);y.isBackwards?(b.sibling=a.child,a.child=b):(e=y.last,e!==null?e.sibling=b:a.child=b,y.last=b)}return y.tail!==null?(e=y.tail,y.rendering=e,y.tail=e.sibling,y.renderingStartTime=_l(),e.sibling=null,l=Yi.current,l=d?l&n1|Kb:l&n1,Pe(Yi,l,a),e):(On(a),null);case 22:case 23:return hi(a),Ka(a),d=a.memoizedState!==null,e!==null?e.memoizedState!==null!==d&&(a.flags|=8192):d&&(a.flags|=8192),d?(l&536870912)!==0&&(a.flags&128)===0&&(On(a),a.subtreeFlags&6&&(a.flags|=8192)):On(a),l=a.updateQueue,l!==null&&Wo(a,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),d=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(d=a.memoizedState.cachePool.pool),d!==l&&(a.flags|=2048),e!==null&&Be(ey,a),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),Xr(Pi,a),On(a),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function wr(e,a){switch(js(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,(a.mode&_r)!==oa&&Wt(a),a):null;case 3:return Xr(Pi,a),qe(a),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return oe(a),null;case 13:if(hi(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Fr()}return e=a.flags,e&65536?(a.flags=e&-65537|128,(a.mode&_r)!==oa&&Wt(a),a):null;case 19:return Be(Yi,a),null;case 4:return qe(a),null;case 10:return Xr(a.type,a),null;case 22:case 23:return hi(a),Ka(a),e!==null&&Be(ey,a),e=a.flags,e&65536?(a.flags=e&-65537|128,(a.mode&_r)!==oa&&Wt(a),a):null;case 24:return Xr(Pi,a),null;case 25:return null;default:return null}}function a0(e,a){switch(js(a),a.tag){case 3:Xr(Pi,a),qe(a);break;case 26:case 27:case 5:oe(a);break;case 4:qe(a);break;case 13:hi(a);break;case 19:Be(Yi,a);break;case 10:Xr(a.type,a);break;case 22:case 23:hi(a),Ka(a),e!==null&&Be(ey,a);break;case 24:Xr(Pi,a)}}function er(e){return(e.mode&_r)!==oa}function th(e,a){er(e)?(wn(),Is(a,e),Mt()):Is(a,e)}function nh(e,a,l){er(e)?(wn(),Ma(l,e,a),Mt()):Ma(l,e,a)}function Is(e,a){try{var l=a.updateQueue,d=l!==null?l.lastEffect:null;if(d!==null){var y=d.next;l=y;do{if((l.tag&e)===e&&((e&ki)!==yu?Ke!==null&&typeof Ke.markComponentPassiveEffectMountStarted=="function"&&Ke.markComponentPassiveEffectMountStarted(a):(e&Nr)!==yu&&Ke!==null&&typeof Ke.markComponentLayoutEffectMountStarted=="function"&&Ke.markComponentLayoutEffectMountStarted(a),d=void 0,(e&Vl)!==yu&&(f1=!0),d=rt(a,wF,l),(e&Vl)!==yu&&(f1=!1),(e&ki)!==yu?Ke!==null&&typeof Ke.markComponentPassiveEffectMountStopped=="function"&&Ke.markComponentPassiveEffectMountStopped():(e&Nr)!==yu&&Ke!==null&&typeof Ke.markComponentLayoutEffectMountStopped=="function"&&Ke.markComponentLayoutEffectMountStopped(),d!==void 0&&typeof d!="function")){var b=void 0;b=(l.tag&Nr)!==0?"useLayoutEffect":(l.tag&Vl)!==0?"useInsertionEffect":"useEffect";var O=void 0;O=d===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof d.then=="function"?`
|
|
918
918
|
|
|
919
919
|
It looks like you wrote `+b+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
920
920
|
|
|
@@ -927,11 +927,11 @@ It looks like you wrote `+b+`(async () => ...) or returned a Promise. Instead, w
|
|
|
927
927
|
fetchData();
|
|
928
928
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
929
929
|
|
|
930
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+d,rt(a,function(_,H){console.error("%s must not return anything besides a function, which is used for clean-up.%s",_,H)},b,O)}l=l.next}while(l!==y)}}catch(_){mt(a,a.return,_)}}function Ma(e,a,l){try{var d=a.updateQueue,y=d!==null?d.lastEffect:null;if(y!==null){var b=y.next;d=b;do{if((d.tag&e)===e){var O=d.inst,_=O.destroy;_!==void 0&&(O.destroy=void 0,(e&ki)!==yu?Ke!==null&&typeof Ke.markComponentPassiveEffectUnmountStarted=="function"&&Ke.markComponentPassiveEffectUnmountStarted(a):(e&Nr)!==yu&&Ke!==null&&typeof Ke.markComponentLayoutEffectUnmountStarted=="function"&&Ke.markComponentLayoutEffectUnmountStarted(a),(e&Vl)!==yu&&(f1=!0),y=a,rt(y,EF,y,l,_),(e&Vl)!==yu&&(f1=!1),(e&ki)!==yu?Ke!==null&&typeof Ke.markComponentPassiveEffectUnmountStopped=="function"&&Ke.markComponentPassiveEffectUnmountStopped():(e&Nr)!==yu&&Ke!==null&&typeof Ke.markComponentLayoutEffectUnmountStopped=="function"&&Ke.markComponentLayoutEffectUnmountStopped())}d=d.next}while(d!==b)}}catch(H){mt(a,a.return,H)}}function io(e,a){er(e)?(wn(),Is(a,e),Mt()):Is(a,e)}function Zu(e,a,l){er(e)?(wn(),Ma(l,e,a),Mt()):Ma(l,e,a)}function Jm(e){var a=e.updateQueue;if(a!==null){var l=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||i1||(l.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(e)||"instance"),l.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(e)||"instance"));try{rt(e,Bd,a,l)}catch(d){mt(e,e.return,d)}}}function ah(e,a,l){return e.getSnapshotBeforeUpdate(a,l)}function vv(e,a){var l=a.memoizedProps,d=a.memoizedState;a=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||i1||(a.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(e)||"instance"),a.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(e)||"instance"));try{var y=Gs(e.type,l,e.elementType===e.type),b=rt(e,ah,a,y,d);l=H8,b!==void 0||l.has(e.type)||(l.add(e.type),rt(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ve(e))})),a.__reactInternalSnapshotBeforeUpdate=b}catch(O){mt(e,e.return,O)}}function xf(e,a,l){l.props=Gs(e.type,e.memoizedProps),l.state=e.memoizedState,er(e)?(wn(),rt(e,h8,e,a,l),Mt()):rt(e,h8,e,a,l)}function i0(e){var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}if(typeof a=="function")if(er(e))try{wn(),e.refCleanup=a(l)}finally{Mt()}else e.refCleanup=a(l);else typeof a=="string"?console.error("String refs are no longer supported."):a.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ve(e)),a.current=l}}function Fs(e,a){try{rt(e,i0,e)}catch(l){mt(e,a,l)}}function tr(e,a){var l=e.ref,d=e.refCleanup;if(l!==null)if(typeof d=="function")try{if(er(e))try{wn(),rt(e,d)}finally{Mt(e)}else rt(e,d)}catch(y){mt(e,a,y)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{if(er(e))try{wn(),rt(e,l,null)}finally{Mt(e)}else rt(e,l,null)}catch(y){mt(e,a,y)}else l.current=null}function ro(e,a,l,d){var y=e.memoizedProps,b=y.id,O=y.onCommit;y=y.onRender,a=a===null?"mount":"update",Fx&&(a="nested-update"),typeof y=="function"&&y(b,a,e.actualDuration,e.treeBaseDuration,e.actualStartTime,l),typeof O=="function"&&O(e.memoizedProps.id,a,d,l)}function bv(e,a,l,d){var y=e.memoizedProps;e=y.id,y=y.onPostCommit,a=a===null?"mount":"update",Fx&&(a="nested-update"),typeof y=="function"&&y(e,a,d,l)}function es(e){var a=e.type,l=e.memoizedProps,d=e.stateNode;try{rt(e,os,d,a,l,e)}catch(y){mt(e,e.return,y)}}function ep(e,a,l){try{rt(e,ra,e.stateNode,e.type,l,a,e)}catch(d){mt(e,e.return,d)}}function tp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&yo(e.type)||e.tag===4}function ts(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&yo(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ih(e,a,l){var d=e.tag;if(d===5||d===6)e=e.stateNode,a?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,a):(a=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,a.appendChild(e),l=l._reactRootContainer,l!=null||a.onclick!==null||(a.onclick=ls));else if(d!==4&&(d===27&&yo(e.type)&&(l=e.stateNode,a=null),e=e.child,e!==null))for(ih(e,a,l),e=e.sibling;e!==null;)ih(e,a,l),e=e.sibling}function Ku(e,a,l){var d=e.tag;if(d===5||d===6)e=e.stateNode,a?l.insertBefore(e,a):l.appendChild(e);else if(d!==4&&(d===27&&yo(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ku(e,a,l),e=e.sibling;e!==null;)Ku(e,a,l),e=e.sibling}function Sv(e){for(var a,l=e.return;l!==null;){if(tp(l)){a=l;break}l=l.return}if(a==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(a.tag){case 27:a=a.stateNode,l=ts(e),Ku(e,l,a);break;case 5:l=a.stateNode,a.flags&32&&(ss(l),a.flags&=-33),a=ts(e),Ku(e,a,l);break;case 3:case 4:a=a.stateNode.containerInfo,l=ts(e),ih(e,l,a);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function np(e){var a=e.stateNode,l=e.memoizedProps;try{rt(e,Or,e.type,l,a,e)}catch(d){mt(e,e.return,d)}}function rh(e,a){if(e=e.containerInfo,TC=x2,e=br(e),Vg(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var y=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{l.nodeType,b.nodeType}catch{l=null;break e}var O=0,_=-1,H=-1,I=0,be=0,Ee=e,ge=null;t:for(;;){for(var Ce;Ee!==l||y!==0&&Ee.nodeType!==3||(_=O+y),Ee!==b||d!==0&&Ee.nodeType!==3||(H=O+d),Ee.nodeType===3&&(O+=Ee.nodeValue.length),(Ce=Ee.firstChild)!==null;)ge=Ee,Ee=Ce;for(;;){if(Ee===e)break t;if(ge===l&&++I===y&&(_=O),ge===b&&++be===d&&(H=O),(Ce=Ee.nextSibling)!==null)break;Ee=ge,ge=Ee.parentNode}Ee=Ce}l=_===-1||H===-1?null:{start:_,end:H}}else l=null}l=l||{start:0,end:0}}else l=null;for(EC={focusedElem:e,selectionRange:l},x2=!1,dr=a;dr!==null;)if(a=dr,e=a.child,(a.subtreeFlags&1024)!==0&&e!==null)e.return=a,dr=e;else for(;dr!==null;){switch(e=a=dr,l=e.alternate,y=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(y&1024)!==0&&l!==null&&vv(e,l);break;case 3:if((y&1024)!==0){if(e=e.stateNode.containerInfo,l=e.nodeType,l===9)rc(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":rc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((y&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=a.sibling,e!==null){e.return=a.return,dr=e;break}dr=a.return}}function r0(e,a,l){var d=l.flags;switch(l.tag){case 0:case 11:case 15:oo(e,l),d&4&&th(l,Nr|vu);break;case 1:if(oo(e,l),d&4)if(e=l.stateNode,a===null)l.type.defaultProps||"ref"in l.memoizedProps||i1||(e.props!==l.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(l)||"instance"),e.state!==l.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(l)||"instance")),er(l)?(wn(),rt(l,Kw,l,e),Mt()):rt(l,Kw,l,e);else{var y=Gs(l.type,a.memoizedProps);a=a.memoizedState,l.type.defaultProps||"ref"in l.memoizedProps||i1||(e.props!==l.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(l)||"instance"),e.state!==l.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(l)||"instance")),er(l)?(wn(),rt(l,c8,l,e,y,a,e.__reactInternalSnapshotBeforeUpdate),Mt()):rt(l,c8,l,e,y,a,e.__reactInternalSnapshotBeforeUpdate)}d&64&&Jm(l),d&512&&Fs(l,l.return);break;case 3:if(a=ui(),oo(e,l),d&64&&(d=l.updateQueue,d!==null)){if(y=null,l.child!==null)switch(l.child.tag){case 27:case 5:y=l.child.stateNode;break;case 1:y=l.child.stateNode}try{rt(l,Bd,d,y)}catch(O){mt(l,l.return,O)}}e.effectDuration+=re(a);break;case 27:a===null&&d&4&&np(l);case 26:case 5:oo(e,l),a===null&&d&4&&es(l),d&512&&Fs(l,l.return);break;case 12:if(d&4){d=ui(),oo(e,l),e=l.stateNode,e.effectDuration+=we(d);try{rt(l,ro,l,a,Ix,e.effectDuration)}catch(O){mt(l,l.return,O)}}else oo(e,l);break;case 13:oo(e,l),d&4&&zi(e,l),d&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=fh.bind(null,l),Lf(e,l))));break;case 22:if(d=l.memoizedState!==null||$h,!d){a=a!==null&&a.memoizedState!==null||ri,y=$h;var b=ri;$h=d,(ri=a)&&!b?so(e,l,(l.subtreeFlags&8772)!==0):oo(e,l),$h=y,ri=b}break;case 30:break;default:oo(e,l)}}function ap(e){var a=e.alternate;a!==null&&(e.alternate=null,ap(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&ws(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 lo(e,a,l){for(l=l.child;l!==null;)va(e,a,l),l=l.sibling}function va(e,a,l){if(ai&&typeof ai.onCommitFiberUnmount=="function")try{ai.onCommitFiberUnmount(su,l)}catch(b){sr||(sr=!0,console.error("React instrumentation encountered an error: %s",b))}switch(l.tag){case 26:ri||tr(l,a),lo(e,a,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:ri||tr(l,a);var d=xi,y=Co;yo(l.type)&&(xi=l.stateNode,Co=!1),lo(e,a,l),rt(l,Uf,l.stateNode),xi=d,Co=y;break;case 5:ri||tr(l,a);case 6:if(d=xi,y=Co,xi=null,lo(e,a,l),xi=d,Co=y,xi!==null)if(Co)try{rt(l,_f,xi,l.stateNode)}catch(b){mt(l,a,b)}else try{rt(l,ol,xi,l.stateNode)}catch(b){mt(l,a,b)}break;case 18:xi!==null&&(Co?(e=xi,Nf(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),lu(e)):Nf(xi,l.stateNode));break;case 4:d=xi,y=Co,xi=l.stateNode.containerInfo,Co=!0,lo(e,a,l),xi=d,Co=y;break;case 0:case 11:case 14:case 15:ri||Ma(Vl,l,a),ri||nh(l,a,Nr),lo(e,a,l);break;case 1:ri||(tr(l,a),d=l.stateNode,typeof d.componentWillUnmount=="function"&&xf(l,a,d)),lo(e,a,l);break;case 21:lo(e,a,l);break;case 22:ri=(d=ri)||l.memoizedState!==null,lo(e,a,l),ri=d;break;default:lo(e,a,l)}}function zi(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{rt(a,yi,e)}catch(l){mt(a,a.return,l)}}function ip(e){switch(e.tag){case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new P8),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new P8),a;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Qu(e,a){var l=ip(e);a.forEach(function(d){var y=Js.bind(null,e,d);if(!l.has(d)){if(l.add(d),Kn)if(r1!==null&&l1!==null)eu(l1,r1);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");d.then(y,y)}})}function Da(e,a){var l=a.deletions;if(l!==null)for(var d=0;d<l.length;d++){var y=e,b=a,O=l[d],_=b;e:for(;_!==null;){switch(_.tag){case 27:if(yo(_.type)){xi=_.stateNode,Co=!1;break e}break;case 5:xi=_.stateNode,Co=!1;break e;case 3:case 4:xi=_.stateNode.containerInfo,Co=!0;break e}_=_.return}if(xi===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");va(y,b,O),xi=null,Co=!1,y=O,b=y.alternate,b!==null&&(b.return=null),y.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)Xs(a,e),a=a.sibling}function Xs(e,a){var l=e.alternate,d=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Da(a,e),Li(e),d&4&&(Ma(Vl|vu,e,e.return),Is(Vl|vu,e),nh(e,e.return,Nr|vu));break;case 1:Da(a,e),Li(e),d&512&&(ri||l===null||tr(l,l.return)),d&64&&$h&&(e=e.updateQueue,e!==null&&(d=e.callbacks,d!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?d:l.concat(d))));break;case 26:var y=Ec;if(Da(a,e),Li(e),d&512&&(ri||l===null||tr(l,l.return)),d&4)if(a=l!==null?l.memoizedState:null,d=e.memoizedState,l===null)if(d===null)if(e.stateNode===null){e:{d=e.type,l=e.memoizedProps,a=y.ownerDocument||y;t:switch(d){case"title":y=a.getElementsByTagName("title")[0],(!y||y[Ff]||y[bi]||y.namespaceURI===Qf||y.hasAttribute("itemprop"))&&(y=a.createElement(d),a.head.insertBefore(y,a.querySelector("head > title"))),ia(y,d,l),y[bi]=e,Ua(y),d=y;break e;case"link":var b=Mp("link","href",a).get(d+(l.href||""));if(b){for(var O=0;O<b.length;O++)if(y=b[O],y.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&y.getAttribute("rel")===(l.rel==null?null:l.rel)&&y.getAttribute("title")===(l.title==null?null:l.title)&&y.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){b.splice(O,1);break t}}y=a.createElement(d),ia(y,d,l),a.head.appendChild(y);break;case"meta":if(b=Mp("meta","content",a).get(d+(l.content||""))){for(O=0;O<b.length;O++)if(y=b[O],Ae(l.content,"content"),y.getAttribute("content")===(l.content==null?null:""+l.content)&&y.getAttribute("name")===(l.name==null?null:l.name)&&y.getAttribute("property")===(l.property==null?null:l.property)&&y.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&y.getAttribute("charset")===(l.charSet==null?null:l.charSet)){b.splice(O,1);break t}}y=a.createElement(d),ia(y,d,l),a.head.appendChild(y);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+d+'". This is a bug in React.')}y[bi]=e,Ua(y),d=y}e.stateNode=d}else O0(y,e.type,e.stateNode);else e.stateNode=wp(y,d,e.memoizedProps);else a!==d?(a===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):a.count--,d===null?O0(y,e.type,e.stateNode):wp(y,d,e.memoizedProps)):d===null&&e.stateNode!==null&&ep(e,e.memoizedProps,l.memoizedProps);break;case 27:Da(a,e),Li(e),d&512&&(ri||l===null||tr(l,l.return)),l!==null&&d&4&&ep(e,e.memoizedProps,l.memoizedProps);break;case 5:if(Da(a,e),Li(e),d&512&&(ri||l===null||tr(l,l.return)),e.flags&32){a=e.stateNode;try{rt(e,ss,a)}catch(be){mt(e,e.return,be)}}d&4&&e.stateNode!=null&&(a=e.memoizedProps,ep(e,a,l!==null?l.memoizedProps:a)),d&1024&&(aC=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Da(a,e),Li(e),d&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");d=e.memoizedProps,l=l!==null?l.memoizedProps:d,a=e.stateNode;try{rt(e,ic,a,l,d)}catch(be){mt(e,e.return,be)}}break;case 3:if(y=ui(),v2=null,b=Ec,Ec=hh(a.containerInfo),Da(a,e),Ec=b,Li(e),d&4&&l!==null&&l.memoizedState.isDehydrated)try{rt(e,E0,a.containerInfo)}catch(be){mt(e,e.return,be)}aC&&(aC=!1,Zs(e)),a.effectDuration+=re(y);break;case 4:d=Ec,Ec=hh(e.stateNode.containerInfo),Da(a,e),Li(e),Ec=d;break;case 12:d=ui(),Da(a,e),Li(e),e.stateNode.effectDuration+=we(d);break;case 13:Da(a,e),Li(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(uC=_l()),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Qu(e,d)));break;case 22:y=e.memoizedState!==null;var _=l!==null&&l.memoizedState!==null,H=$h,I=ri;if($h=H||y,ri=I||_,Da(a,e),ri=I,$h=H,Li(e),d&8192)e:for(a=e.stateNode,a._visibility=y?a._visibility&-2:a._visibility|Vw,y&&(l===null||_||$h||ri||fa(e)),l=null,a=e;;){if(a.tag===5||a.tag===26){if(l===null){_=l=a;try{b=_.stateNode,y?rt(_,lr,b):rt(_,x0,_.stateNode,_.memoizedProps)}catch(be){mt(_,_.return,be)}}}else if(a.tag===6){if(l===null){_=a;try{O=_.stateNode,y?rt(_,S0,O):rt(_,zf,O,_.memoizedProps)}catch(be){mt(_,_.return,be)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;l===a&&(l=null),a=a.return}l===a&&(l=null),a.sibling.return=a.return,a=a.sibling}d&4&&(d=e.updateQueue,d!==null&&(l=d.retryQueue,l!==null&&(d.retryQueue=null,Qu(e,l))));break;case 19:Da(a,e),Li(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Qu(e,d)));break;case 30:break;case 21:break;default:Da(a,e),Li(e)}}function Li(e){var a=e.flags;if(a&2){try{rt(e,Sv,e)}catch(l){mt(e,e.return,l)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function Zs(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;Zs(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function oo(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)r0(e,a.alternate,a),a=a.sibling}function nr(e){switch(e.tag){case 0:case 11:case 14:case 15:nh(e,e.return,Nr),fa(e);break;case 1:tr(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&xf(e,e.return,a),fa(e);break;case 27:rt(e,Uf,e.stateNode);case 26:case 5:tr(e,e.return),fa(e);break;case 22:e.memoizedState===null&&fa(e);break;case 30:fa(e);break;default:fa(e)}}function fa(e){for(e=e.child;e!==null;)nr(e),e=e.sibling}function Cr(e,a,l,d){var y=l.flags;switch(l.tag){case 0:case 11:case 15:so(e,l,d),th(l,Nr);break;case 1:if(so(e,l,d),a=l.stateNode,typeof a.componentDidMount=="function"&&rt(l,Kw,l,a),a=l.updateQueue,a!==null){e=l.stateNode;try{rt(l,Hu,a,e)}catch(b){mt(l,l.return,b)}}d&&y&64&&Jm(l),Fs(l,l.return);break;case 27:np(l);case 26:case 5:so(e,l,d),d&&a===null&&y&4&&es(l),Fs(l,l.return);break;case 12:if(d&&y&4){y=ui(),so(e,l,d),d=l.stateNode,d.effectDuration+=we(y);try{rt(l,ro,l,a,Ix,d.effectDuration)}catch(b){mt(l,l.return,b)}}else so(e,l,d);break;case 13:so(e,l,d),d&&y&4&&zi(e,l);break;case 22:l.memoizedState===null&&so(e,l,d),Fs(l,l.return);break;case 30:break;default:so(e,l,d)}}function so(e,a,l){for(l=l&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;)Cr(e,a.alternate,a,l),a=a.sibling}function Al(e,a){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==l&&(e!=null&&ju(e),l!=null&&Kl(l))}function al(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(ju(a),e!=null&&Kl(e))}function yn(e,a,l,d){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Tf(e,a,l,d),a=a.sibling}function Tf(e,a,l,d){var y=a.flags;switch(a.tag){case 0:case 11:case 15:yn(e,a,l,d),y&2048&&io(a,ki|vu);break;case 1:yn(e,a,l,d);break;case 3:var b=ui();yn(e,a,l,d),y&2048&&(l=null,a.alternate!==null&&(l=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==l&&(ju(a),l!=null&&Kl(l))),e.passiveEffectDuration+=re(b);break;case 12:if(y&2048){y=ui(),yn(e,a,l,d),e=a.stateNode,e.passiveEffectDuration+=we(y);try{rt(a,bv,a,a.alternate,Ix,e.passiveEffectDuration)}catch(_){mt(a,a.return,_)}}else yn(e,a,l,d);break;case 13:yn(e,a,l,d);break;case 23:break;case 22:b=a.stateNode;var O=a.alternate;a.memoizedState!==null?b._visibility&Z0?yn(e,a,l,d):ns(e,a):b._visibility&Z0?yn(e,a,l,d):(b._visibility|=Z0,wl(e,a,l,d,(a.subtreeFlags&10256)!==0)),y&2048&&Al(O,a);break;case 24:yn(e,a,l,d),y&2048&&al(a.alternate,a);break;default:yn(e,a,l,d)}}function wl(e,a,l,d,y){for(y=y&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;)Ef(e,a,l,d,y),a=a.sibling}function Ef(e,a,l,d,y){var b=a.flags;switch(a.tag){case 0:case 11:case 15:wl(e,a,l,d,y),io(a,ki);break;case 23:break;case 22:var O=a.stateNode;a.memoizedState!==null?O._visibility&Z0?wl(e,a,l,d,y):ns(e,a):(O._visibility|=Z0,wl(e,a,l,d,y)),y&&b&2048&&Al(a.alternate,a);break;case 24:wl(e,a,l,d,y),y&&b&2048&&al(a.alternate,a);break;default:wl(e,a,l,d,y)}}function ns(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var l=e,d=a,y=d.flags;switch(d.tag){case 22:ns(l,d),y&2048&&Al(d.alternate,d);break;case 24:ns(l,d),y&2048&&al(d.alternate,d);break;default:ns(l,d)}a=a.sibling}}function Wu(e){if(e.subtreeFlags&Qb)for(e=e.child;e!==null;)as(e),e=e.sibling}function as(e){switch(e.tag){case 26:Wu(e),e.flags&Qb&&e.memoizedState!==null&&ph(Ec,e.memoizedState,e.memoizedProps);break;case 5:Wu(e);break;case 3:case 4:var a=Ec;Ec=hh(e.stateNode.containerInfo),Wu(e),Ec=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Qb,Qb=16777216,Wu(e),Qb=a):Wu(e));break;default:Wu(e)}}function Ks(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function Ju(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var l=0;l<a.length;l++){var d=a[l];dr=d,Cl(d,e)}Ks(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)lh(e),e=e.sibling}function lh(e){switch(e.tag){case 0:case 11:case 15:Ju(e),e.flags&2048&&Zu(e,e.return,ki|vu);break;case 3:var a=ui();Ju(e),e.stateNode.passiveEffectDuration+=re(a);break;case 12:a=ui(),Ju(e),e.stateNode.passiveEffectDuration+=we(a);break;case 22:a=e.stateNode,e.memoizedState!==null&&a._visibility&Z0&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,oh(e)):Ju(e);break;default:Ju(e)}}function oh(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var l=0;l<a.length;l++){var d=a[l];dr=d,Cl(d,e)}Ks(e)}for(e=e.child;e!==null;)Af(e),e=e.sibling}function Af(e){switch(e.tag){case 0:case 11:case 15:Zu(e,e.return,ki),oh(e);break;case 22:var a=e.stateNode;a._visibility&Z0&&(a._visibility&=-3,oh(e));break;default:oh(e)}}function Cl(e,a){for(;dr!==null;){var l=dr,d=l;switch(d.tag){case 0:case 11:case 15:Zu(d,a,ki);break;case 23:case 22:d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(d=d.memoizedState.cachePool.pool,d!=null&&ju(d));break;case 24:Kl(d.memoizedState.cache)}if(d=l.child,d!==null)d.return=l,dr=d;else e:for(l=e;dr!==null;){d=dr;var y=d.sibling,b=d.return;if(ap(d),d===l){dr=null;break e}if(y!==null){y.return=b,dr=y;break e}dr=b}}}function rp(){wF.forEach(function(e){return e()})}function lp(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||xe.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ar(e){if((zn&Bl)!==gs&&on!==0)return on&-on;var a=xe.T;return a!==null?(a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e),e=J0,e!==0?e:u0()):Yl()}function l0(){vs===0&&(vs=(on&536870912)===0||Tn?Lo():536870912);var e=Su.current;return e!==null&&(e.flags|=32),vs}function aa(e,a,l){if(f1&&console.error("useInsertionEffect must not schedule updates."),mC&&(l2=!0),(e===Qn&&(Hn===iy||Hn===ry)||e.cancelPendingCommit!==null)&&(il(e,0),Ol(e,on,vs,!1)),$r(e,l),(zn&Bl)!==0&&e===Qn){if($i)switch(a.tag){case 0:case 11:case 15:e=nn&&ve(nn)||"Unknown",Q8.has(e)||(Q8.add(e),a=ve(a)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",a,e,e));break;case 1:K8||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),K8=!0)}}else Kn&&dn(e,a,l),Mf(a),e===Qn&&((zn&Bl)===gs&&(eg|=l),Ya===ay&&Ol(e,on,vs,!1)),ir(e)}function Ra(e,a,l){if((zn&(Bl|Ac))!==gs)throw Error("Should not already be working.");var d=!l&&(a&124)===0&&(a&e.expiredLanes)===0||As(e,a),y=d?up(e,a):sp(e,a,!0),b=d;do{if(y===Hh){u1&&!d&&Ol(e,a,0,!1);break}else{if(l=e.current.alternate,b&&!op(l)){y=sp(e,a,!1),b=!1;continue}if(y===o1){if(b=a,e.errorRecoveryDisabledLanes&b)var O=0;else O=e.pendingLanes&-536870913,O=O!==0?O:O&536870912?536870912:0;if(O!==0){a=O;e:{y=e;var _=O;O=aS;var H=y.current.memoizedState.isDehydrated;if(H&&(il(y,_).flags|=256),_=sp(y,_,!1),_!==o1){if(oC&&!H){y.errorRecoveryDisabledLanes|=b,eg|=b,y=ay;break e}y=jl,jl=O,y!==null&&(jl===null?jl=y:jl.push.apply(jl,y))}y=_}if(b=!1,y!==o1)continue}}if(y===Jb){il(e,0),Ol(e,a,0,!0);break}e:{switch(d=e,y){case Hh:case Jb:throw Error("Root did not complete. This is a bug in React.");case ay:if((a&4194048)!==a)break;case a2:Ol(d,a,vs,!Wp);break e;case o1:jl=null;break;case iC:case k8:break;default:throw Error("Unknown root exit status.")}if(xe.actQueue!==null)dp(d,l,a,jl,iS,i2,vs,eg,ly);else{if((a&62914560)===a&&(b=uC+q8-_l(),10<b)){if(Ol(d,a,vs,!Wp),gn(d,0,!0)!==0)break e;d.timeoutHandle=rN($n.bind(null,d,l,jl,iS,i2,a,vs,eg,ly,Wp,y,DF,I_,0),b);break e}$n(d,l,jl,iS,i2,a,vs,eg,ly,Wp,y,OF,I_,0)}}}break}while(!0);ir(e)}function $n(e,a,l,d,y,b,O,_,H,I,be,Ee,ge,Ce){if(e.timeoutHandle=fy,Ee=a.subtreeFlags,(Ee&8192||(Ee&16785408)===16785408)&&(cS={stylesheets:null,count:0,unsuspend:wv},as(a),Ee=Cv(),Ee!==null)){e.cancelPendingCommit=Ee(dp.bind(null,e,a,b,l,d,y,O,_,H,be,MF,ge,Ce)),Ol(e,b,O,!I);return}dp(e,a,b,l,d,y,O,_,H)}function op(e){for(var a=e;;){var l=a.tag;if((l===0||l===11||l===15)&&a.flags&16384&&(l=a.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var d=0;d<l.length;d++){var y=l[d],b=y.getSnapshot;y=y.value;try{if(!Re(b(),y))return!1}catch{return!1}}if(l=a.child,a.subtreeFlags&16384&&l!==null)l.return=a,a=l;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ol(e,a,l,d){a&=~sC,a&=~eg,e.suspendedLanes|=a,e.pingedLanes&=~a,d&&(e.warmLanes|=a),d=e.expirationTimes;for(var y=a;0<y;){var b=31-Xn(y),O=1<<b;d[b]=-1,y&=~O}l!==0&&Uo(e,l,a)}function is(){return(zn&(Bl|Ac))===gs?(tu(0),!1):!0}function ec(){if(nn!==null){if(Hn===Oo)var e=nn.return;else e=nn,Ld(),jn(e),e1=null,Zb=0,e=nn;for(;e!==null;)a0(e.alternate,e),e=e.return;nn=null}}function il(e,a){var l=e.timeoutHandle;l!==fy&&(e.timeoutHandle=fy,kF(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),ec(),Qn=e,nn=l=qr(e.current,null),on=a,Hn=Oo,ys=null,Wp=!1,u1=As(e,a),oC=!1,Ya=Hh,ly=vs=sC=eg=Jp=0,jl=aS=null,i2=!1,(a&8)!==0&&(a|=a&32);var d=e.entangledLanes;if(d!==0)for(e=e.entanglements,d&=a;0<d;){var y=31-Xn(d),b=1<<y;a|=e[y],d&=~b}return td=a,Yr(),a=q_(),1e3<a-Y_&&(xe.recentlyCreatedOwnerStacks=0,Y_=a),xc.discardPendingWarnings(),l}function dt(e,a){zt=null,xe.H=t2,xe.getCurrentStack=null,$i=!1,Rr=null,a===Gb||a===Kx?(a=Nm(),Hn=tS):a===Z_?(a=Nm(),Hn=Y8):Hn=a===z8?lC:a!==null&&typeof a=="object"&&typeof a.then=="function"?s1:eS,ys=a;var l=nn;if(l===null)Ya=Jb,ao(e,Qt(a,e.current));else switch(l.mode&_r&&Ze(l),yt(),Hn){case eS:Ke!==null&&typeof Ke.markComponentErrored=="function"&&Ke.markComponentErrored(l,a,on);break;case iy:case ry:case tS:case s1:case nS:Ke!==null&&typeof Ke.markComponentSuspended=="function"&&Ke.markComponentSuspended(l,a,on)}}function tc(){var e=xe.H;return xe.H=t2,e===null?t2:e}function sh(){var e=xe.A;return xe.A=AF,e}function uo(){Ya=ay,Wp||(on&4194048)!==on&&Su.current!==null||(u1=!0),(Jp&134217727)===0&&(eg&134217727)===0||Qn===null||Ol(Qn,on,vs,!1)}function sp(e,a,l){var d=zn;zn|=Bl;var y=tc(),b=sh();if(Qn!==e||on!==a){if(Kn){var O=e.memoizedUpdaters;0<O.size&&(eu(e,on),O.clear()),En(e,a)}iS=null,il(e,a)}un(a),a=!1,O=Ya;e:do try{if(Hn!==Oo&&nn!==null){var _=nn,H=ys;switch(Hn){case lC:ec(),O=a2;break e;case tS:case iy:case ry:case s1:Su.current===null&&(a=!0);var I=Hn;if(Hn=Oo,ys=null,Qs(e,_,H,I),l&&u1){O=Hh;break e}break;default:I=Hn,Hn=Oo,ys=null,Qs(e,_,H,I)}}wf(),O=Ya;break}catch(be){dt(e,be)}while(!0);return a&&e.shellSuspendCounter++,Ld(),zn=d,xe.H=y,xe.A=b,Ge(),nn===null&&(Qn=null,on=0,Yr()),O}function wf(){for(;nn!==null;)o0(nn)}function up(e,a){var l=zn;zn|=Bl;var d=tc(),y=sh();if(Qn!==e||on!==a){if(Kn){var b=e.memoizedUpdaters;0<b.size&&(eu(e,on),b.clear()),En(e,a)}iS=null,r2=_l()+G8,il(e,a)}else u1=As(e,a);un(a);e:do try{if(Hn!==Oo&&nn!==null)t:switch(a=nn,b=ys,Hn){case eS:Hn=Oo,ys=null,Qs(e,a,b,eS);break;case iy:case ry:if(af(b)){Hn=Oo,ys=null,cp(a);break}a=function(){Hn!==iy&&Hn!==ry||Qn!==e||(Hn=nS),ir(e)},b.then(a,a);break e;case tS:Hn=nS;break e;case Y8:Hn=rC;break e;case nS:af(b)?(Hn=Oo,ys=null,cp(a)):(Hn=Oo,ys=null,Qs(e,a,b,nS));break;case rC:var O=null;switch(nn.tag){case 26:O=nn.memoizedState;case 5:case 27:var _=nn;if(!O||mh(O)){Hn=Oo,ys=null;var H=_.sibling;if(H!==null)nn=H;else{var I=_.return;I!==null?(nn=I,Cf(I)):nn=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Hn=Oo,ys=null,Qs(e,a,b,rC);break;case s1:Hn=Oo,ys=null,Qs(e,a,b,s1);break;case lC:ec(),Ya=a2;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}xe.actQueue!==null?wf():ja();break}catch(be){dt(e,be)}while(!0);return Ld(),xe.H=d,xe.A=y,zn=l,nn!==null?(Ke!==null&&typeof Ke.markRenderYielded=="function"&&Ke.markRenderYielded(),Hh):(Ge(),Qn=null,on=0,Yr(),Ya)}function ja(){for(;nn!==null&&!zv();)o0(nn)}function o0(e){var a=e.alternate;(e.mode&_r)!==oa?(Se(e),a=rt(e,_t,a,e,td),Ze(e)):a=rt(e,_t,a,e,td),e.memoizedProps=e.pendingProps,a===null?Cf(e):nn=a}function cp(e){var a=rt(e,uh,e);e.memoizedProps=e.pendingProps,a===null?Cf(e):nn=a}function uh(e){var a=e.alternate,l=(e.mode&_r)!==oa;switch(l&&Se(e),e.tag){case 15:case 0:a=e0(a,e,e.pendingProps,e.type,void 0,on);break;case 11:a=e0(a,e,e.pendingProps,e.type.render,e.ref,on);break;case 5:jn(e);default:a0(a,e),e=nn=Rd(e,td),a=_t(a,e,td)}return l&&Ze(e),a}function Qs(e,a,l,d){Ld(),jn(a),e1=null,Zb=0;var y=a.return;try{if(Xd(e,y,a,l,on)){Ya=Jb,ao(e,Qt(l,e.current)),nn=null;return}}catch(b){if(y!==null)throw nn=y,b;Ya=Jb,ao(e,Qt(l,e.current)),nn=null;return}a.flags&32768?(Tn||d===eS?e=!0:u1||(on&536870912)!==0?e=!1:(Wp=e=!0,(d===iy||d===ry||d===tS||d===s1)&&(d=Su.current,d!==null&&d.tag===13&&(d.flags|=16384))),fp(a,e)):Cf(a)}function Cf(e){var a=e;do{if((a.flags&32768)!==0){fp(a,Wp);return}var l=a.alternate;if(e=a.return,Se(a),l=rt(a,yv,l,a,td),(a.mode&_r)!==oa&&St(a),l!==null){nn=l;return}if(a=a.sibling,a!==null){nn=a;return}nn=a=e}while(a!==null);Ya===Hh&&(Ya=k8)}function fp(e,a){do{var l=wr(e.alternate,e);if(l!==null){l.flags&=32767,nn=l;return}if((e.mode&_r)!==oa){St(e),l=e.actualDuration;for(var d=e.child;d!==null;)l+=d.actualDuration,d=d.sibling;e.actualDuration=l}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!a&&(e=e.sibling,e!==null)){nn=e;return}nn=e=l}while(e!==null);Ya=a2,nn=null}function dp(e,a,l,d,y,b,O,_,H){e.cancelPendingCommit=null;do Ws();while(zr!==oy);if(xc.flushLegacyContextWarning(),xc.flushPendingUnsafeLifecycleWarnings(),(zn&(Bl|Ac))!==gs)throw Error("Should not already be working.");if(Ke!==null&&typeof Ke.markCommitStarted=="function"&&Ke.markCommitStarted(l),a===null)We();else{if(l===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),a===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(b=a.lanes|a.childLanes,b|=Bw,hm(e,l,b,O,_,H),e===Qn&&(nn=Qn=null,on=0),c1=a,ng=e,ag=l,fC=b,dC=y,Z8=d,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,yp(dc,function(){return ch(),null})):(e.callbackNode=null,e.callbackPriority=0),Ix=Zv(),d=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||d){d=xe.T,xe.T=null,y=Tt.p,Tt.p=ii,O=zn,zn|=Ac;try{rh(e,a,l)}finally{zn=O,Tt.p=y,xe.T=d}}zr=I8,co(),rl(),pi()}}function co(){if(zr===I8){zr=oy;var e=ng,a=c1,l=ag,d=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||d){d=xe.T,xe.T=null;var y=Tt.p;Tt.p=ii;var b=zn;zn|=Ac;try{r1=l,l1=e,Xs(a,e),l1=r1=null,l=EC;var O=br(e.containerInfo),_=l.focusedElem,H=l.selectionRange;if(O!==_&&_&&_.ownerDocument&&dv(_.ownerDocument.documentElement,_)){if(H!==null&&Vg(_)){var I=H.start,be=H.end;if(be===void 0&&(be=I),"selectionStart"in _)_.selectionStart=I,_.selectionEnd=Math.min(be,_.value.length);else{var Ee=_.ownerDocument||document,ge=Ee&&Ee.defaultView||window;if(ge.getSelection){var Ce=ge.getSelection(),ot=_.textContent.length,wt=Math.min(H.start,ot),Wn=H.end===void 0?wt:Math.min(H.end,ot);!Ce.extend&&wt>Wn&&(O=Wn,Wn=wt,wt=O);var cn=Ci(_,wt),Q=Ci(_,Wn);if(cn&&Q&&(Ce.rangeCount!==1||Ce.anchorNode!==cn.node||Ce.anchorOffset!==cn.offset||Ce.focusNode!==Q.node||Ce.focusOffset!==Q.offset)){var W=Ee.createRange();W.setStart(cn.node,cn.offset),Ce.removeAllRanges(),wt>Wn?(Ce.addRange(W),Ce.extend(Q.node,Q.offset)):(W.setEnd(Q.node,Q.offset),Ce.addRange(W))}}}}for(Ee=[],Ce=_;Ce=Ce.parentNode;)Ce.nodeType===1&&Ee.push({element:Ce,left:Ce.scrollLeft,top:Ce.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<Ee.length;_++){var ie=Ee[_];ie.element.scrollLeft=ie.left,ie.element.scrollTop=ie.top}}x2=!!TC,EC=TC=null}finally{zn=b,Tt.p=y,xe.T=d}}e.current=a,zr=F8}}function rl(){if(zr===F8){zr=oy;var e=ng,a=c1,l=ag,d=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||d){d=xe.T,xe.T=null;var y=Tt.p;Tt.p=ii;var b=zn;zn|=Ac;try{Ke!==null&&typeof Ke.markLayoutEffectsStarted=="function"&&Ke.markLayoutEffectsStarted(l),r1=l,l1=e,r0(e,a.alternate,a),l1=r1=null,Ke!==null&&typeof Ke.markLayoutEffectsStopped=="function"&&Ke.markLayoutEffectsStopped()}finally{zn=b,Tt.p=y,xe.T=d}}zr=X8}}function pi(){if(zr===RF||zr===X8){zr=oy,_b();var e=ng,a=c1,l=ag,d=Z8,y=(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;y?zr=cC:(zr=oy,c1=ng=null,fo(e,e.pendingLanes),sy=0,lS=null);var b=e.pendingLanes;if(b===0&&(tg=null),y||nc(e),y=yr(l),a=a.stateNode,ai&&typeof ai.onCommitFiberRoot=="function")try{var O=(a.current.flags&128)===128;switch(y){case ii:var _=Yf;break;case Vt:_=Ah;break;case ds:_=dc;break;case Ch:_=ni;break;default:_=dc}ai.onCommitFiberRoot(su,a,_,O)}catch(Ee){sr||(sr=!0,console.error("React instrumentation encountered an error: %s",Ee))}if(Kn&&e.memoizedUpdaters.clear(),rp(),d!==null){O=xe.T,_=Tt.p,Tt.p=ii,xe.T=null;try{var H=e.onRecoverableError;for(a=0;a<d.length;a++){var I=d[a],be=hp(I.stack);rt(I.source,H,I.value,be)}}finally{xe.T=O,Tt.p=_}}(ag&3)!==0&&Ws(),ir(e),b=e.pendingLanes,(l&4194090)!==0&&(b&42)!==0?(Xx=!0,e===hC?rS++:(rS=0,hC=e)):rS=0,tu(0),We()}}function hp(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function fo(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,Kl(a)))}function Ws(e){return co(),rl(),pi(),ch()}function ch(){if(zr!==cC)return!1;var e=ng,a=fC;fC=0;var l=yr(ag),d=ds>l?ds:l;l=xe.T;var y=Tt.p;try{Tt.p=d,xe.T=null,d=dC,dC=null;var b=ng,O=ag;if(zr=oy,c1=ng=null,ag=0,(zn&(Bl|Ac))!==gs)throw Error("Cannot flush passive effects while already rendering.");mC=!0,l2=!1,Ke!==null&&typeof Ke.markPassiveEffectsStarted=="function"&&Ke.markPassiveEffectsStarted(O);var _=zn;if(zn|=Ac,lh(b.current),Tf(b,b.current,O,d),Ke!==null&&typeof Ke.markPassiveEffectsStopped=="function"&&Ke.markPassiveEffectsStopped(),nc(b),zn=_,tu(0,!1),l2?b===lS?sy++:(sy=0,lS=b):sy=0,l2=mC=!1,ai&&typeof ai.onPostCommitFiberRoot=="function")try{ai.onPostCommitFiberRoot(su,b)}catch(I){sr||(sr=!0,console.error("React instrumentation encountered an error: %s",I))}var H=b.current.stateNode;return H.effectDuration=0,H.passiveEffectDuration=0,!0}finally{Tt.p=y,xe.T=l,fo(e,a)}}function Of(e,a,l){a=Qt(l,a),a=mi(e.stateNode,a,2),e=Fi(e,a,2),e!==null&&($r(e,2),ir(e))}function mt(e,a,l){if(f1=!1,e.tag===3)Of(e,e,l);else{for(;a!==null;){if(a.tag===3){Of(a,e,l);return}if(a.tag===1){var d=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(tg===null||!tg.has(d))){e=Qt(l,e),l=na(2),d=Fi(a,l,2),d!==null&&(Qo(l,d,a,e),$r(d,2),ir(d));return}}a=a.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
930
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+d,rt(a,function(_,H){console.error("%s must not return anything besides a function, which is used for clean-up.%s",_,H)},b,O)}l=l.next}while(l!==y)}}catch(_){mt(a,a.return,_)}}function Ma(e,a,l){try{var d=a.updateQueue,y=d!==null?d.lastEffect:null;if(y!==null){var b=y.next;d=b;do{if((d.tag&e)===e){var O=d.inst,_=O.destroy;_!==void 0&&(O.destroy=void 0,(e&ki)!==yu?Ke!==null&&typeof Ke.markComponentPassiveEffectUnmountStarted=="function"&&Ke.markComponentPassiveEffectUnmountStarted(a):(e&Nr)!==yu&&Ke!==null&&typeof Ke.markComponentLayoutEffectUnmountStarted=="function"&&Ke.markComponentLayoutEffectUnmountStarted(a),(e&Vl)!==yu&&(f1=!0),y=a,rt(y,CF,y,l,_),(e&Vl)!==yu&&(f1=!1),(e&ki)!==yu?Ke!==null&&typeof Ke.markComponentPassiveEffectUnmountStopped=="function"&&Ke.markComponentPassiveEffectUnmountStopped():(e&Nr)!==yu&&Ke!==null&&typeof Ke.markComponentLayoutEffectUnmountStopped=="function"&&Ke.markComponentLayoutEffectUnmountStopped())}d=d.next}while(d!==b)}}catch(H){mt(a,a.return,H)}}function io(e,a){er(e)?(wn(),Is(a,e),Mt()):Is(a,e)}function Zu(e,a,l){er(e)?(wn(),Ma(l,e,a),Mt()):Ma(l,e,a)}function Jm(e){var a=e.updateQueue;if(a!==null){var l=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||i1||(l.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(e)||"instance"),l.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(e)||"instance"));try{rt(e,Bd,a,l)}catch(d){mt(e,e.return,d)}}}function ah(e,a,l){return e.getSnapshotBeforeUpdate(a,l)}function vv(e,a){var l=a.memoizedProps,d=a.memoizedState;a=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||i1||(a.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(e)||"instance"),a.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(e)||"instance"));try{var y=Gs(e.type,l,e.elementType===e.type),b=rt(e,ah,a,y,d);l=H8,b!==void 0||l.has(e.type)||(l.add(e.type),rt(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ve(e))})),a.__reactInternalSnapshotBeforeUpdate=b}catch(O){mt(e,e.return,O)}}function xf(e,a,l){l.props=Gs(e.type,e.memoizedProps),l.state=e.memoizedState,er(e)?(wn(),rt(e,h8,e,a,l),Mt()):rt(e,h8,e,a,l)}function i0(e){var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}if(typeof a=="function")if(er(e))try{wn(),e.refCleanup=a(l)}finally{Mt()}else e.refCleanup=a(l);else typeof a=="string"?console.error("String refs are no longer supported."):a.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ve(e)),a.current=l}}function Fs(e,a){try{rt(e,i0,e)}catch(l){mt(e,a,l)}}function tr(e,a){var l=e.ref,d=e.refCleanup;if(l!==null)if(typeof d=="function")try{if(er(e))try{wn(),rt(e,d)}finally{Mt(e)}else rt(e,d)}catch(y){mt(e,a,y)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{if(er(e))try{wn(),rt(e,l,null)}finally{Mt(e)}else rt(e,l,null)}catch(y){mt(e,a,y)}else l.current=null}function ro(e,a,l,d){var y=e.memoizedProps,b=y.id,O=y.onCommit;y=y.onRender,a=a===null?"mount":"update",Fx&&(a="nested-update"),typeof y=="function"&&y(b,a,e.actualDuration,e.treeBaseDuration,e.actualStartTime,l),typeof O=="function"&&O(e.memoizedProps.id,a,d,l)}function bv(e,a,l,d){var y=e.memoizedProps;e=y.id,y=y.onPostCommit,a=a===null?"mount":"update",Fx&&(a="nested-update"),typeof y=="function"&&y(e,a,d,l)}function es(e){var a=e.type,l=e.memoizedProps,d=e.stateNode;try{rt(e,os,d,a,l,e)}catch(y){mt(e,e.return,y)}}function ep(e,a,l){try{rt(e,ra,e.stateNode,e.type,l,a,e)}catch(d){mt(e,e.return,d)}}function tp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&yo(e.type)||e.tag===4}function ts(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&yo(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ih(e,a,l){var d=e.tag;if(d===5||d===6)e=e.stateNode,a?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,a):(a=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,a.appendChild(e),l=l._reactRootContainer,l!=null||a.onclick!==null||(a.onclick=ls));else if(d!==4&&(d===27&&yo(e.type)&&(l=e.stateNode,a=null),e=e.child,e!==null))for(ih(e,a,l),e=e.sibling;e!==null;)ih(e,a,l),e=e.sibling}function Ku(e,a,l){var d=e.tag;if(d===5||d===6)e=e.stateNode,a?l.insertBefore(e,a):l.appendChild(e);else if(d!==4&&(d===27&&yo(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ku(e,a,l),e=e.sibling;e!==null;)Ku(e,a,l),e=e.sibling}function Sv(e){for(var a,l=e.return;l!==null;){if(tp(l)){a=l;break}l=l.return}if(a==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(a.tag){case 27:a=a.stateNode,l=ts(e),Ku(e,l,a);break;case 5:l=a.stateNode,a.flags&32&&(ss(l),a.flags&=-33),a=ts(e),Ku(e,a,l);break;case 3:case 4:a=a.stateNode.containerInfo,l=ts(e),ih(e,l,a);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function np(e){var a=e.stateNode,l=e.memoizedProps;try{rt(e,Or,e.type,l,a,e)}catch(d){mt(e,e.return,d)}}function rh(e,a){if(e=e.containerInfo,TC=x2,e=br(e),Vg(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var y=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{l.nodeType,b.nodeType}catch{l=null;break e}var O=0,_=-1,H=-1,I=0,be=0,Ee=e,ge=null;t:for(;;){for(var Ce;Ee!==l||y!==0&&Ee.nodeType!==3||(_=O+y),Ee!==b||d!==0&&Ee.nodeType!==3||(H=O+d),Ee.nodeType===3&&(O+=Ee.nodeValue.length),(Ce=Ee.firstChild)!==null;)ge=Ee,Ee=Ce;for(;;){if(Ee===e)break t;if(ge===l&&++I===y&&(_=O),ge===b&&++be===d&&(H=O),(Ce=Ee.nextSibling)!==null)break;Ee=ge,ge=Ee.parentNode}Ee=Ce}l=_===-1||H===-1?null:{start:_,end:H}}else l=null}l=l||{start:0,end:0}}else l=null;for(EC={focusedElem:e,selectionRange:l},x2=!1,dr=a;dr!==null;)if(a=dr,e=a.child,(a.subtreeFlags&1024)!==0&&e!==null)e.return=a,dr=e;else for(;dr!==null;){switch(e=a=dr,l=e.alternate,y=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(y&1024)!==0&&l!==null&&vv(e,l);break;case 3:if((y&1024)!==0){if(e=e.stateNode.containerInfo,l=e.nodeType,l===9)rc(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":rc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((y&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=a.sibling,e!==null){e.return=a.return,dr=e;break}dr=a.return}}function r0(e,a,l){var d=l.flags;switch(l.tag){case 0:case 11:case 15:oo(e,l),d&4&&th(l,Nr|vu);break;case 1:if(oo(e,l),d&4)if(e=l.stateNode,a===null)l.type.defaultProps||"ref"in l.memoizedProps||i1||(e.props!==l.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(l)||"instance"),e.state!==l.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(l)||"instance")),er(l)?(wn(),rt(l,Kw,l,e),Mt()):rt(l,Kw,l,e);else{var y=Gs(l.type,a.memoizedProps);a=a.memoizedState,l.type.defaultProps||"ref"in l.memoizedProps||i1||(e.props!==l.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(l)||"instance"),e.state!==l.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(l)||"instance")),er(l)?(wn(),rt(l,c8,l,e,y,a,e.__reactInternalSnapshotBeforeUpdate),Mt()):rt(l,c8,l,e,y,a,e.__reactInternalSnapshotBeforeUpdate)}d&64&&Jm(l),d&512&&Fs(l,l.return);break;case 3:if(a=ui(),oo(e,l),d&64&&(d=l.updateQueue,d!==null)){if(y=null,l.child!==null)switch(l.child.tag){case 27:case 5:y=l.child.stateNode;break;case 1:y=l.child.stateNode}try{rt(l,Bd,d,y)}catch(O){mt(l,l.return,O)}}e.effectDuration+=re(a);break;case 27:a===null&&d&4&&np(l);case 26:case 5:oo(e,l),a===null&&d&4&&es(l),d&512&&Fs(l,l.return);break;case 12:if(d&4){d=ui(),oo(e,l),e=l.stateNode,e.effectDuration+=we(d);try{rt(l,ro,l,a,Ix,e.effectDuration)}catch(O){mt(l,l.return,O)}}else oo(e,l);break;case 13:oo(e,l),d&4&&zi(e,l),d&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=fh.bind(null,l),Lf(e,l))));break;case 22:if(d=l.memoizedState!==null||$h,!d){a=a!==null&&a.memoizedState!==null||ri,y=$h;var b=ri;$h=d,(ri=a)&&!b?so(e,l,(l.subtreeFlags&8772)!==0):oo(e,l),$h=y,ri=b}break;case 30:break;default:oo(e,l)}}function ap(e){var a=e.alternate;a!==null&&(e.alternate=null,ap(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&ws(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 lo(e,a,l){for(l=l.child;l!==null;)va(e,a,l),l=l.sibling}function va(e,a,l){if(ai&&typeof ai.onCommitFiberUnmount=="function")try{ai.onCommitFiberUnmount(su,l)}catch(b){sr||(sr=!0,console.error("React instrumentation encountered an error: %s",b))}switch(l.tag){case 26:ri||tr(l,a),lo(e,a,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:ri||tr(l,a);var d=xi,y=Co;yo(l.type)&&(xi=l.stateNode,Co=!1),lo(e,a,l),rt(l,Uf,l.stateNode),xi=d,Co=y;break;case 5:ri||tr(l,a);case 6:if(d=xi,y=Co,xi=null,lo(e,a,l),xi=d,Co=y,xi!==null)if(Co)try{rt(l,_f,xi,l.stateNode)}catch(b){mt(l,a,b)}else try{rt(l,ol,xi,l.stateNode)}catch(b){mt(l,a,b)}break;case 18:xi!==null&&(Co?(e=xi,Nf(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),lu(e)):Nf(xi,l.stateNode));break;case 4:d=xi,y=Co,xi=l.stateNode.containerInfo,Co=!0,lo(e,a,l),xi=d,Co=y;break;case 0:case 11:case 14:case 15:ri||Ma(Vl,l,a),ri||nh(l,a,Nr),lo(e,a,l);break;case 1:ri||(tr(l,a),d=l.stateNode,typeof d.componentWillUnmount=="function"&&xf(l,a,d)),lo(e,a,l);break;case 21:lo(e,a,l);break;case 22:ri=(d=ri)||l.memoizedState!==null,lo(e,a,l),ri=d;break;default:lo(e,a,l)}}function zi(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{rt(a,yi,e)}catch(l){mt(a,a.return,l)}}function ip(e){switch(e.tag){case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new P8),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new P8),a;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Qu(e,a){var l=ip(e);a.forEach(function(d){var y=Js.bind(null,e,d);if(!l.has(d)){if(l.add(d),Kn)if(r1!==null&&l1!==null)eu(l1,r1);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");d.then(y,y)}})}function Da(e,a){var l=a.deletions;if(l!==null)for(var d=0;d<l.length;d++){var y=e,b=a,O=l[d],_=b;e:for(;_!==null;){switch(_.tag){case 27:if(yo(_.type)){xi=_.stateNode,Co=!1;break e}break;case 5:xi=_.stateNode,Co=!1;break e;case 3:case 4:xi=_.stateNode.containerInfo,Co=!0;break e}_=_.return}if(xi===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");va(y,b,O),xi=null,Co=!1,y=O,b=y.alternate,b!==null&&(b.return=null),y.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)Xs(a,e),a=a.sibling}function Xs(e,a){var l=e.alternate,d=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Da(a,e),Li(e),d&4&&(Ma(Vl|vu,e,e.return),Is(Vl|vu,e),nh(e,e.return,Nr|vu));break;case 1:Da(a,e),Li(e),d&512&&(ri||l===null||tr(l,l.return)),d&64&&$h&&(e=e.updateQueue,e!==null&&(d=e.callbacks,d!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?d:l.concat(d))));break;case 26:var y=Ec;if(Da(a,e),Li(e),d&512&&(ri||l===null||tr(l,l.return)),d&4)if(a=l!==null?l.memoizedState:null,d=e.memoizedState,l===null)if(d===null)if(e.stateNode===null){e:{d=e.type,l=e.memoizedProps,a=y.ownerDocument||y;t:switch(d){case"title":y=a.getElementsByTagName("title")[0],(!y||y[Ff]||y[bi]||y.namespaceURI===Qf||y.hasAttribute("itemprop"))&&(y=a.createElement(d),a.head.insertBefore(y,a.querySelector("head > title"))),ia(y,d,l),y[bi]=e,Ua(y),d=y;break e;case"link":var b=Mp("link","href",a).get(d+(l.href||""));if(b){for(var O=0;O<b.length;O++)if(y=b[O],y.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&y.getAttribute("rel")===(l.rel==null?null:l.rel)&&y.getAttribute("title")===(l.title==null?null:l.title)&&y.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){b.splice(O,1);break t}}y=a.createElement(d),ia(y,d,l),a.head.appendChild(y);break;case"meta":if(b=Mp("meta","content",a).get(d+(l.content||""))){for(O=0;O<b.length;O++)if(y=b[O],Ae(l.content,"content"),y.getAttribute("content")===(l.content==null?null:""+l.content)&&y.getAttribute("name")===(l.name==null?null:l.name)&&y.getAttribute("property")===(l.property==null?null:l.property)&&y.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&y.getAttribute("charset")===(l.charSet==null?null:l.charSet)){b.splice(O,1);break t}}y=a.createElement(d),ia(y,d,l),a.head.appendChild(y);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+d+'". This is a bug in React.')}y[bi]=e,Ua(y),d=y}e.stateNode=d}else O0(y,e.type,e.stateNode);else e.stateNode=wp(y,d,e.memoizedProps);else a!==d?(a===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):a.count--,d===null?O0(y,e.type,e.stateNode):wp(y,d,e.memoizedProps)):d===null&&e.stateNode!==null&&ep(e,e.memoizedProps,l.memoizedProps);break;case 27:Da(a,e),Li(e),d&512&&(ri||l===null||tr(l,l.return)),l!==null&&d&4&&ep(e,e.memoizedProps,l.memoizedProps);break;case 5:if(Da(a,e),Li(e),d&512&&(ri||l===null||tr(l,l.return)),e.flags&32){a=e.stateNode;try{rt(e,ss,a)}catch(be){mt(e,e.return,be)}}d&4&&e.stateNode!=null&&(a=e.memoizedProps,ep(e,a,l!==null?l.memoizedProps:a)),d&1024&&(aC=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Da(a,e),Li(e),d&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");d=e.memoizedProps,l=l!==null?l.memoizedProps:d,a=e.stateNode;try{rt(e,ic,a,l,d)}catch(be){mt(e,e.return,be)}}break;case 3:if(y=ui(),v2=null,b=Ec,Ec=hh(a.containerInfo),Da(a,e),Ec=b,Li(e),d&4&&l!==null&&l.memoizedState.isDehydrated)try{rt(e,E0,a.containerInfo)}catch(be){mt(e,e.return,be)}aC&&(aC=!1,Zs(e)),a.effectDuration+=re(y);break;case 4:d=Ec,Ec=hh(e.stateNode.containerInfo),Da(a,e),Li(e),Ec=d;break;case 12:d=ui(),Da(a,e),Li(e),e.stateNode.effectDuration+=we(d);break;case 13:Da(a,e),Li(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(uC=_l()),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Qu(e,d)));break;case 22:y=e.memoizedState!==null;var _=l!==null&&l.memoizedState!==null,H=$h,I=ri;if($h=H||y,ri=I||_,Da(a,e),ri=I,$h=H,Li(e),d&8192)e:for(a=e.stateNode,a._visibility=y?a._visibility&-2:a._visibility|Vw,y&&(l===null||_||$h||ri||da(e)),l=null,a=e;;){if(a.tag===5||a.tag===26){if(l===null){_=l=a;try{b=_.stateNode,y?rt(_,lr,b):rt(_,x0,_.stateNode,_.memoizedProps)}catch(be){mt(_,_.return,be)}}}else if(a.tag===6){if(l===null){_=a;try{O=_.stateNode,y?rt(_,S0,O):rt(_,zf,O,_.memoizedProps)}catch(be){mt(_,_.return,be)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;l===a&&(l=null),a=a.return}l===a&&(l=null),a.sibling.return=a.return,a=a.sibling}d&4&&(d=e.updateQueue,d!==null&&(l=d.retryQueue,l!==null&&(d.retryQueue=null,Qu(e,l))));break;case 19:Da(a,e),Li(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Qu(e,d)));break;case 30:break;case 21:break;default:Da(a,e),Li(e)}}function Li(e){var a=e.flags;if(a&2){try{rt(e,Sv,e)}catch(l){mt(e,e.return,l)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function Zs(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;Zs(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function oo(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)r0(e,a.alternate,a),a=a.sibling}function nr(e){switch(e.tag){case 0:case 11:case 14:case 15:nh(e,e.return,Nr),da(e);break;case 1:tr(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&xf(e,e.return,a),da(e);break;case 27:rt(e,Uf,e.stateNode);case 26:case 5:tr(e,e.return),da(e);break;case 22:e.memoizedState===null&&da(e);break;case 30:da(e);break;default:da(e)}}function da(e){for(e=e.child;e!==null;)nr(e),e=e.sibling}function Cr(e,a,l,d){var y=l.flags;switch(l.tag){case 0:case 11:case 15:so(e,l,d),th(l,Nr);break;case 1:if(so(e,l,d),a=l.stateNode,typeof a.componentDidMount=="function"&&rt(l,Kw,l,a),a=l.updateQueue,a!==null){e=l.stateNode;try{rt(l,Hu,a,e)}catch(b){mt(l,l.return,b)}}d&&y&64&&Jm(l),Fs(l,l.return);break;case 27:np(l);case 26:case 5:so(e,l,d),d&&a===null&&y&4&&es(l),Fs(l,l.return);break;case 12:if(d&&y&4){y=ui(),so(e,l,d),d=l.stateNode,d.effectDuration+=we(y);try{rt(l,ro,l,a,Ix,d.effectDuration)}catch(b){mt(l,l.return,b)}}else so(e,l,d);break;case 13:so(e,l,d),d&&y&4&&zi(e,l);break;case 22:l.memoizedState===null&&so(e,l,d),Fs(l,l.return);break;case 30:break;default:so(e,l,d)}}function so(e,a,l){for(l=l&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;)Cr(e,a.alternate,a,l),a=a.sibling}function Al(e,a){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==l&&(e!=null&&ju(e),l!=null&&Kl(l))}function al(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(ju(a),e!=null&&Kl(e))}function yn(e,a,l,d){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Tf(e,a,l,d),a=a.sibling}function Tf(e,a,l,d){var y=a.flags;switch(a.tag){case 0:case 11:case 15:yn(e,a,l,d),y&2048&&io(a,ki|vu);break;case 1:yn(e,a,l,d);break;case 3:var b=ui();yn(e,a,l,d),y&2048&&(l=null,a.alternate!==null&&(l=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==l&&(ju(a),l!=null&&Kl(l))),e.passiveEffectDuration+=re(b);break;case 12:if(y&2048){y=ui(),yn(e,a,l,d),e=a.stateNode,e.passiveEffectDuration+=we(y);try{rt(a,bv,a,a.alternate,Ix,e.passiveEffectDuration)}catch(_){mt(a,a.return,_)}}else yn(e,a,l,d);break;case 13:yn(e,a,l,d);break;case 23:break;case 22:b=a.stateNode;var O=a.alternate;a.memoizedState!==null?b._visibility&Z0?yn(e,a,l,d):ns(e,a):b._visibility&Z0?yn(e,a,l,d):(b._visibility|=Z0,wl(e,a,l,d,(a.subtreeFlags&10256)!==0)),y&2048&&Al(O,a);break;case 24:yn(e,a,l,d),y&2048&&al(a.alternate,a);break;default:yn(e,a,l,d)}}function wl(e,a,l,d,y){for(y=y&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;)Ef(e,a,l,d,y),a=a.sibling}function Ef(e,a,l,d,y){var b=a.flags;switch(a.tag){case 0:case 11:case 15:wl(e,a,l,d,y),io(a,ki);break;case 23:break;case 22:var O=a.stateNode;a.memoizedState!==null?O._visibility&Z0?wl(e,a,l,d,y):ns(e,a):(O._visibility|=Z0,wl(e,a,l,d,y)),y&&b&2048&&Al(a.alternate,a);break;case 24:wl(e,a,l,d,y),y&&b&2048&&al(a.alternate,a);break;default:wl(e,a,l,d,y)}}function ns(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var l=e,d=a,y=d.flags;switch(d.tag){case 22:ns(l,d),y&2048&&Al(d.alternate,d);break;case 24:ns(l,d),y&2048&&al(d.alternate,d);break;default:ns(l,d)}a=a.sibling}}function Wu(e){if(e.subtreeFlags&Qb)for(e=e.child;e!==null;)as(e),e=e.sibling}function as(e){switch(e.tag){case 26:Wu(e),e.flags&Qb&&e.memoizedState!==null&&ph(Ec,e.memoizedState,e.memoizedProps);break;case 5:Wu(e);break;case 3:case 4:var a=Ec;Ec=hh(e.stateNode.containerInfo),Wu(e),Ec=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Qb,Qb=16777216,Wu(e),Qb=a):Wu(e));break;default:Wu(e)}}function Ks(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function Ju(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var l=0;l<a.length;l++){var d=a[l];dr=d,Cl(d,e)}Ks(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)lh(e),e=e.sibling}function lh(e){switch(e.tag){case 0:case 11:case 15:Ju(e),e.flags&2048&&Zu(e,e.return,ki|vu);break;case 3:var a=ui();Ju(e),e.stateNode.passiveEffectDuration+=re(a);break;case 12:a=ui(),Ju(e),e.stateNode.passiveEffectDuration+=we(a);break;case 22:a=e.stateNode,e.memoizedState!==null&&a._visibility&Z0&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,oh(e)):Ju(e);break;default:Ju(e)}}function oh(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var l=0;l<a.length;l++){var d=a[l];dr=d,Cl(d,e)}Ks(e)}for(e=e.child;e!==null;)Af(e),e=e.sibling}function Af(e){switch(e.tag){case 0:case 11:case 15:Zu(e,e.return,ki),oh(e);break;case 22:var a=e.stateNode;a._visibility&Z0&&(a._visibility&=-3,oh(e));break;default:oh(e)}}function Cl(e,a){for(;dr!==null;){var l=dr,d=l;switch(d.tag){case 0:case 11:case 15:Zu(d,a,ki);break;case 23:case 22:d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(d=d.memoizedState.cachePool.pool,d!=null&&ju(d));break;case 24:Kl(d.memoizedState.cache)}if(d=l.child,d!==null)d.return=l,dr=d;else e:for(l=e;dr!==null;){d=dr;var y=d.sibling,b=d.return;if(ap(d),d===l){dr=null;break e}if(y!==null){y.return=b,dr=y;break e}dr=b}}}function rp(){MF.forEach(function(e){return e()})}function lp(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||xe.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ar(e){if((zn&Bl)!==gs&&on!==0)return on&-on;var a=xe.T;return a!==null?(a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e),e=J0,e!==0?e:u0()):Yl()}function l0(){vs===0&&(vs=(on&536870912)===0||Tn?Lo():536870912);var e=Su.current;return e!==null&&(e.flags|=32),vs}function aa(e,a,l){if(f1&&console.error("useInsertionEffect must not schedule updates."),mC&&(l2=!0),(e===Qn&&(Hn===iy||Hn===ry)||e.cancelPendingCommit!==null)&&(il(e,0),Ol(e,on,vs,!1)),$r(e,l),(zn&Bl)!==0&&e===Qn){if($i)switch(a.tag){case 0:case 11:case 15:e=nn&&ve(nn)||"Unknown",Q8.has(e)||(Q8.add(e),a=ve(a)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",a,e,e));break;case 1:K8||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),K8=!0)}}else Kn&&dn(e,a,l),Mf(a),e===Qn&&((zn&Bl)===gs&&(eg|=l),Ya===ay&&Ol(e,on,vs,!1)),ir(e)}function Ra(e,a,l){if((zn&(Bl|Ac))!==gs)throw Error("Should not already be working.");var d=!l&&(a&124)===0&&(a&e.expiredLanes)===0||As(e,a),y=d?up(e,a):sp(e,a,!0),b=d;do{if(y===Hh){u1&&!d&&Ol(e,a,0,!1);break}else{if(l=e.current.alternate,b&&!op(l)){y=sp(e,a,!1),b=!1;continue}if(y===o1){if(b=a,e.errorRecoveryDisabledLanes&b)var O=0;else O=e.pendingLanes&-536870913,O=O!==0?O:O&536870912?536870912:0;if(O!==0){a=O;e:{y=e;var _=O;O=aS;var H=y.current.memoizedState.isDehydrated;if(H&&(il(y,_).flags|=256),_=sp(y,_,!1),_!==o1){if(oC&&!H){y.errorRecoveryDisabledLanes|=b,eg|=b,y=ay;break e}y=jl,jl=O,y!==null&&(jl===null?jl=y:jl.push.apply(jl,y))}y=_}if(b=!1,y!==o1)continue}}if(y===Jb){il(e,0),Ol(e,a,0,!0);break}e:{switch(d=e,y){case Hh:case Jb:throw Error("Root did not complete. This is a bug in React.");case ay:if((a&4194048)!==a)break;case a2:Ol(d,a,vs,!Wp);break e;case o1:jl=null;break;case iC:case k8:break;default:throw Error("Unknown root exit status.")}if(xe.actQueue!==null)dp(d,l,a,jl,iS,i2,vs,eg,ly);else{if((a&62914560)===a&&(b=uC+q8-_l(),10<b)){if(Ol(d,a,vs,!Wp),gn(d,0,!0)!==0)break e;d.timeoutHandle=rN($n.bind(null,d,l,jl,iS,i2,a,vs,eg,ly,Wp,y,NF,I_,0),b);break e}$n(d,l,jl,iS,i2,a,vs,eg,ly,Wp,y,RF,I_,0)}}}break}while(!0);ir(e)}function $n(e,a,l,d,y,b,O,_,H,I,be,Ee,ge,Ce){if(e.timeoutHandle=fy,Ee=a.subtreeFlags,(Ee&8192||(Ee&16785408)===16785408)&&(cS={stylesheets:null,count:0,unsuspend:wv},as(a),Ee=Cv(),Ee!==null)){e.cancelPendingCommit=Ee(dp.bind(null,e,a,b,l,d,y,O,_,H,be,_F,ge,Ce)),Ol(e,b,O,!I);return}dp(e,a,b,l,d,y,O,_,H)}function op(e){for(var a=e;;){var l=a.tag;if((l===0||l===11||l===15)&&a.flags&16384&&(l=a.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var d=0;d<l.length;d++){var y=l[d],b=y.getSnapshot;y=y.value;try{if(!Re(b(),y))return!1}catch{return!1}}if(l=a.child,a.subtreeFlags&16384&&l!==null)l.return=a,a=l;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ol(e,a,l,d){a&=~sC,a&=~eg,e.suspendedLanes|=a,e.pingedLanes&=~a,d&&(e.warmLanes|=a),d=e.expirationTimes;for(var y=a;0<y;){var b=31-Xn(y),O=1<<b;d[b]=-1,y&=~O}l!==0&&Uo(e,l,a)}function is(){return(zn&(Bl|Ac))===gs?(tu(0),!1):!0}function ec(){if(nn!==null){if(Hn===Oo)var e=nn.return;else e=nn,Ld(),jn(e),e1=null,Zb=0,e=nn;for(;e!==null;)a0(e.alternate,e),e=e.return;nn=null}}function il(e,a){var l=e.timeoutHandle;l!==fy&&(e.timeoutHandle=fy,GF(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),ec(),Qn=e,nn=l=qr(e.current,null),on=a,Hn=Oo,ys=null,Wp=!1,u1=As(e,a),oC=!1,Ya=Hh,ly=vs=sC=eg=Jp=0,jl=aS=null,i2=!1,(a&8)!==0&&(a|=a&32);var d=e.entangledLanes;if(d!==0)for(e=e.entanglements,d&=a;0<d;){var y=31-Xn(d),b=1<<y;a|=e[y],d&=~b}return td=a,Yr(),a=q_(),1e3<a-Y_&&(xe.recentlyCreatedOwnerStacks=0,Y_=a),xc.discardPendingWarnings(),l}function dt(e,a){zt=null,xe.H=t2,xe.getCurrentStack=null,$i=!1,Rr=null,a===Gb||a===Kx?(a=Nm(),Hn=tS):a===Z_?(a=Nm(),Hn=Y8):Hn=a===z8?lC:a!==null&&typeof a=="object"&&typeof a.then=="function"?s1:eS,ys=a;var l=nn;if(l===null)Ya=Jb,ao(e,Qt(a,e.current));else switch(l.mode&_r&&Ze(l),yt(),Hn){case eS:Ke!==null&&typeof Ke.markComponentErrored=="function"&&Ke.markComponentErrored(l,a,on);break;case iy:case ry:case tS:case s1:case nS:Ke!==null&&typeof Ke.markComponentSuspended=="function"&&Ke.markComponentSuspended(l,a,on)}}function tc(){var e=xe.H;return xe.H=t2,e===null?t2:e}function sh(){var e=xe.A;return xe.A=OF,e}function uo(){Ya=ay,Wp||(on&4194048)!==on&&Su.current!==null||(u1=!0),(Jp&134217727)===0&&(eg&134217727)===0||Qn===null||Ol(Qn,on,vs,!1)}function sp(e,a,l){var d=zn;zn|=Bl;var y=tc(),b=sh();if(Qn!==e||on!==a){if(Kn){var O=e.memoizedUpdaters;0<O.size&&(eu(e,on),O.clear()),En(e,a)}iS=null,il(e,a)}un(a),a=!1,O=Ya;e:do try{if(Hn!==Oo&&nn!==null){var _=nn,H=ys;switch(Hn){case lC:ec(),O=a2;break e;case tS:case iy:case ry:case s1:Su.current===null&&(a=!0);var I=Hn;if(Hn=Oo,ys=null,Qs(e,_,H,I),l&&u1){O=Hh;break e}break;default:I=Hn,Hn=Oo,ys=null,Qs(e,_,H,I)}}wf(),O=Ya;break}catch(be){dt(e,be)}while(!0);return a&&e.shellSuspendCounter++,Ld(),zn=d,xe.H=y,xe.A=b,Ge(),nn===null&&(Qn=null,on=0,Yr()),O}function wf(){for(;nn!==null;)o0(nn)}function up(e,a){var l=zn;zn|=Bl;var d=tc(),y=sh();if(Qn!==e||on!==a){if(Kn){var b=e.memoizedUpdaters;0<b.size&&(eu(e,on),b.clear()),En(e,a)}iS=null,r2=_l()+G8,il(e,a)}else u1=As(e,a);un(a);e:do try{if(Hn!==Oo&&nn!==null)t:switch(a=nn,b=ys,Hn){case eS:Hn=Oo,ys=null,Qs(e,a,b,eS);break;case iy:case ry:if(af(b)){Hn=Oo,ys=null,cp(a);break}a=function(){Hn!==iy&&Hn!==ry||Qn!==e||(Hn=nS),ir(e)},b.then(a,a);break e;case tS:Hn=nS;break e;case Y8:Hn=rC;break e;case nS:af(b)?(Hn=Oo,ys=null,cp(a)):(Hn=Oo,ys=null,Qs(e,a,b,nS));break;case rC:var O=null;switch(nn.tag){case 26:O=nn.memoizedState;case 5:case 27:var _=nn;if(!O||mh(O)){Hn=Oo,ys=null;var H=_.sibling;if(H!==null)nn=H;else{var I=_.return;I!==null?(nn=I,Cf(I)):nn=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Hn=Oo,ys=null,Qs(e,a,b,rC);break;case s1:Hn=Oo,ys=null,Qs(e,a,b,s1);break;case lC:ec(),Ya=a2;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}xe.actQueue!==null?wf():ja();break}catch(be){dt(e,be)}while(!0);return Ld(),xe.H=d,xe.A=y,zn=l,nn!==null?(Ke!==null&&typeof Ke.markRenderYielded=="function"&&Ke.markRenderYielded(),Hh):(Ge(),Qn=null,on=0,Yr(),Ya)}function ja(){for(;nn!==null&&!zv();)o0(nn)}function o0(e){var a=e.alternate;(e.mode&_r)!==oa?(Se(e),a=rt(e,_t,a,e,td),Ze(e)):a=rt(e,_t,a,e,td),e.memoizedProps=e.pendingProps,a===null?Cf(e):nn=a}function cp(e){var a=rt(e,uh,e);e.memoizedProps=e.pendingProps,a===null?Cf(e):nn=a}function uh(e){var a=e.alternate,l=(e.mode&_r)!==oa;switch(l&&Se(e),e.tag){case 15:case 0:a=e0(a,e,e.pendingProps,e.type,void 0,on);break;case 11:a=e0(a,e,e.pendingProps,e.type.render,e.ref,on);break;case 5:jn(e);default:a0(a,e),e=nn=Rd(e,td),a=_t(a,e,td)}return l&&Ze(e),a}function Qs(e,a,l,d){Ld(),jn(a),e1=null,Zb=0;var y=a.return;try{if(Xd(e,y,a,l,on)){Ya=Jb,ao(e,Qt(l,e.current)),nn=null;return}}catch(b){if(y!==null)throw nn=y,b;Ya=Jb,ao(e,Qt(l,e.current)),nn=null;return}a.flags&32768?(Tn||d===eS?e=!0:u1||(on&536870912)!==0?e=!1:(Wp=e=!0,(d===iy||d===ry||d===tS||d===s1)&&(d=Su.current,d!==null&&d.tag===13&&(d.flags|=16384))),fp(a,e)):Cf(a)}function Cf(e){var a=e;do{if((a.flags&32768)!==0){fp(a,Wp);return}var l=a.alternate;if(e=a.return,Se(a),l=rt(a,yv,l,a,td),(a.mode&_r)!==oa&&St(a),l!==null){nn=l;return}if(a=a.sibling,a!==null){nn=a;return}nn=a=e}while(a!==null);Ya===Hh&&(Ya=k8)}function fp(e,a){do{var l=wr(e.alternate,e);if(l!==null){l.flags&=32767,nn=l;return}if((e.mode&_r)!==oa){St(e),l=e.actualDuration;for(var d=e.child;d!==null;)l+=d.actualDuration,d=d.sibling;e.actualDuration=l}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!a&&(e=e.sibling,e!==null)){nn=e;return}nn=e=l}while(e!==null);Ya=a2,nn=null}function dp(e,a,l,d,y,b,O,_,H){e.cancelPendingCommit=null;do Ws();while(zr!==oy);if(xc.flushLegacyContextWarning(),xc.flushPendingUnsafeLifecycleWarnings(),(zn&(Bl|Ac))!==gs)throw Error("Should not already be working.");if(Ke!==null&&typeof Ke.markCommitStarted=="function"&&Ke.markCommitStarted(l),a===null)We();else{if(l===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),a===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(b=a.lanes|a.childLanes,b|=Bw,hm(e,l,b,O,_,H),e===Qn&&(nn=Qn=null,on=0),c1=a,ng=e,ag=l,fC=b,dC=y,Z8=d,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,yp(dc,function(){return ch(),null})):(e.callbackNode=null,e.callbackPriority=0),Ix=Zv(),d=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||d){d=xe.T,xe.T=null,y=Tt.p,Tt.p=ii,O=zn,zn|=Ac;try{rh(e,a,l)}finally{zn=O,Tt.p=y,xe.T=d}}zr=I8,co(),rl(),pi()}}function co(){if(zr===I8){zr=oy;var e=ng,a=c1,l=ag,d=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||d){d=xe.T,xe.T=null;var y=Tt.p;Tt.p=ii;var b=zn;zn|=Ac;try{r1=l,l1=e,Xs(a,e),l1=r1=null,l=EC;var O=br(e.containerInfo),_=l.focusedElem,H=l.selectionRange;if(O!==_&&_&&_.ownerDocument&&dv(_.ownerDocument.documentElement,_)){if(H!==null&&Vg(_)){var I=H.start,be=H.end;if(be===void 0&&(be=I),"selectionStart"in _)_.selectionStart=I,_.selectionEnd=Math.min(be,_.value.length);else{var Ee=_.ownerDocument||document,ge=Ee&&Ee.defaultView||window;if(ge.getSelection){var Ce=ge.getSelection(),ot=_.textContent.length,wt=Math.min(H.start,ot),Wn=H.end===void 0?wt:Math.min(H.end,ot);!Ce.extend&&wt>Wn&&(O=Wn,Wn=wt,wt=O);var cn=Ci(_,wt),Q=Ci(_,Wn);if(cn&&Q&&(Ce.rangeCount!==1||Ce.anchorNode!==cn.node||Ce.anchorOffset!==cn.offset||Ce.focusNode!==Q.node||Ce.focusOffset!==Q.offset)){var W=Ee.createRange();W.setStart(cn.node,cn.offset),Ce.removeAllRanges(),wt>Wn?(Ce.addRange(W),Ce.extend(Q.node,Q.offset)):(W.setEnd(Q.node,Q.offset),Ce.addRange(W))}}}}for(Ee=[],Ce=_;Ce=Ce.parentNode;)Ce.nodeType===1&&Ee.push({element:Ce,left:Ce.scrollLeft,top:Ce.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<Ee.length;_++){var ie=Ee[_];ie.element.scrollLeft=ie.left,ie.element.scrollTop=ie.top}}x2=!!TC,EC=TC=null}finally{zn=b,Tt.p=y,xe.T=d}}e.current=a,zr=F8}}function rl(){if(zr===F8){zr=oy;var e=ng,a=c1,l=ag,d=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||d){d=xe.T,xe.T=null;var y=Tt.p;Tt.p=ii;var b=zn;zn|=Ac;try{Ke!==null&&typeof Ke.markLayoutEffectsStarted=="function"&&Ke.markLayoutEffectsStarted(l),r1=l,l1=e,r0(e,a.alternate,a),l1=r1=null,Ke!==null&&typeof Ke.markLayoutEffectsStopped=="function"&&Ke.markLayoutEffectsStopped()}finally{zn=b,Tt.p=y,xe.T=d}}zr=X8}}function pi(){if(zr===zF||zr===X8){zr=oy,_b();var e=ng,a=c1,l=ag,d=Z8,y=(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;y?zr=cC:(zr=oy,c1=ng=null,fo(e,e.pendingLanes),sy=0,lS=null);var b=e.pendingLanes;if(b===0&&(tg=null),y||nc(e),y=yr(l),a=a.stateNode,ai&&typeof ai.onCommitFiberRoot=="function")try{var O=(a.current.flags&128)===128;switch(y){case ii:var _=Yf;break;case Vt:_=Ah;break;case ds:_=dc;break;case Ch:_=ni;break;default:_=dc}ai.onCommitFiberRoot(su,a,_,O)}catch(Ee){sr||(sr=!0,console.error("React instrumentation encountered an error: %s",Ee))}if(Kn&&e.memoizedUpdaters.clear(),rp(),d!==null){O=xe.T,_=Tt.p,Tt.p=ii,xe.T=null;try{var H=e.onRecoverableError;for(a=0;a<d.length;a++){var I=d[a],be=hp(I.stack);rt(I.source,H,I.value,be)}}finally{xe.T=O,Tt.p=_}}(ag&3)!==0&&Ws(),ir(e),b=e.pendingLanes,(l&4194090)!==0&&(b&42)!==0?(Xx=!0,e===hC?rS++:(rS=0,hC=e)):rS=0,tu(0),We()}}function hp(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function fo(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,Kl(a)))}function Ws(e){return co(),rl(),pi(),ch()}function ch(){if(zr!==cC)return!1;var e=ng,a=fC;fC=0;var l=yr(ag),d=ds>l?ds:l;l=xe.T;var y=Tt.p;try{Tt.p=d,xe.T=null,d=dC,dC=null;var b=ng,O=ag;if(zr=oy,c1=ng=null,ag=0,(zn&(Bl|Ac))!==gs)throw Error("Cannot flush passive effects while already rendering.");mC=!0,l2=!1,Ke!==null&&typeof Ke.markPassiveEffectsStarted=="function"&&Ke.markPassiveEffectsStarted(O);var _=zn;if(zn|=Ac,lh(b.current),Tf(b,b.current,O,d),Ke!==null&&typeof Ke.markPassiveEffectsStopped=="function"&&Ke.markPassiveEffectsStopped(),nc(b),zn=_,tu(0,!1),l2?b===lS?sy++:(sy=0,lS=b):sy=0,l2=mC=!1,ai&&typeof ai.onPostCommitFiberRoot=="function")try{ai.onPostCommitFiberRoot(su,b)}catch(I){sr||(sr=!0,console.error("React instrumentation encountered an error: %s",I))}var H=b.current.stateNode;return H.effectDuration=0,H.passiveEffectDuration=0,!0}finally{Tt.p=y,xe.T=l,fo(e,a)}}function Of(e,a,l){a=Qt(l,a),a=mi(e.stateNode,a,2),e=Fi(e,a,2),e!==null&&($r(e,2),ir(e))}function mt(e,a,l){if(f1=!1,e.tag===3)Of(e,e,l);else{for(;a!==null;){if(a.tag===3){Of(a,e,l);return}if(a.tag===1){var d=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(tg===null||!tg.has(d))){e=Qt(l,e),l=na(2),d=Fi(a,l,2),d!==null&&(Qo(l,d,a,e),$r(d,2),ir(d));return}}a=a.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
931
931
|
|
|
932
932
|
Error message:
|
|
933
933
|
|
|
934
|
-
%s`,l)}}function mp(e,a,l){var d=e.pingCache;if(d===null){d=e.pingCache=new
|
|
934
|
+
%s`,l)}}function mp(e,a,l){var d=e.pingCache;if(d===null){d=e.pingCache=new DF;var y=new Set;d.set(a,y)}else y=d.get(a),y===void 0&&(y=new Set,d.set(a,y));y.has(l)||(oC=!0,y.add(l),d=xv.bind(null,e,a,l),Kn&&eu(e,l),a.then(d,d))}function xv(e,a,l){var d=e.pingCache;d!==null&&d.delete(a),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,lp()&&xe.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
935
935
|
|
|
936
936
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
937
937
|
|
|
@@ -940,7 +940,7 @@ act(() => {
|
|
|
940
940
|
});
|
|
941
941
|
/* assert on the output */
|
|
942
942
|
|
|
943
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Qn===e&&(on&l)===l&&(Ya===ay||Ya===iC&&(on&62914560)===on&&_l()-uC<q8?(zn&Bl)===gs&&il(e,0):sC|=l,ly===on&&(ly=0)),ir(e)}function s0(e,a){a===0&&(a=Ia()),e=si(e,a),e!==null&&($r(e,a),ir(e))}function fh(e){var a=e.memoizedState,l=0;a!==null&&(l=a.retryLane),s0(e,l)}function Js(e,a){var l=0;switch(e.tag){case 13:var d=e.stateNode,y=e.memoizedState;y!==null&&(l=y.retryLane);break;case 19:d=e.stateNode;break;case 22:d=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}d!==null&&d.delete(a),s0(e,l)}function pp(e,a,l){if((a.subtreeFlags&67117056)!==0)for(a=a.child;a!==null;){var d=e,y=a,b=y.type===$f;b=l||b,y.tag!==22?y.flags&67108864?b&&rt(y,gp,d,y,(y.mode&H_)===oa):pp(d,y,b):y.memoizedState===null&&(b&&y.flags&8192?rt(y,gp,d,y):y.subtreeFlags&67108864&&rt(y,pp,d,y,b)),a=a.sibling}}function gp(e,a){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;Ue(!0);try{nr(a),l&&Af(a),Cr(e,a.alternate,a,!1),l&&Ef(e,a,0,null,!1,0)}finally{Ue(!1)}}function nc(e){var a=!0;e.current.mode&(dl|Sc)||(a=!1),pp(e,e.current,a)}function Ml(e){if((zn&Bl)===gs){var a=e.tag;if(a===3||a===1||a===0||a===11||a===14||a===15){if(a=ve(e)||"ReactComponent",o2!==null){if(o2.has(a))return;o2.add(a)}else o2=new Set([a]);rt(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function eu(e,a){Kn&&e.memoizedUpdaters.forEach(function(l){dn(e,l,a)})}function yp(e,a){var l=xe.actQueue;return l!==null?(l.push(a),
|
|
943
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Qn===e&&(on&l)===l&&(Ya===ay||Ya===iC&&(on&62914560)===on&&_l()-uC<q8?(zn&Bl)===gs&&il(e,0):sC|=l,ly===on&&(ly=0)),ir(e)}function s0(e,a){a===0&&(a=Ia()),e=si(e,a),e!==null&&($r(e,a),ir(e))}function fh(e){var a=e.memoizedState,l=0;a!==null&&(l=a.retryLane),s0(e,l)}function Js(e,a){var l=0;switch(e.tag){case 13:var d=e.stateNode,y=e.memoizedState;y!==null&&(l=y.retryLane);break;case 19:d=e.stateNode;break;case 22:d=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}d!==null&&d.delete(a),s0(e,l)}function pp(e,a,l){if((a.subtreeFlags&67117056)!==0)for(a=a.child;a!==null;){var d=e,y=a,b=y.type===$f;b=l||b,y.tag!==22?y.flags&67108864?b&&rt(y,gp,d,y,(y.mode&H_)===oa):pp(d,y,b):y.memoizedState===null&&(b&&y.flags&8192?rt(y,gp,d,y):y.subtreeFlags&67108864&&rt(y,pp,d,y,b)),a=a.sibling}}function gp(e,a){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;Ue(!0);try{nr(a),l&&Af(a),Cr(e,a.alternate,a,!1),l&&Ef(e,a,0,null,!1,0)}finally{Ue(!1)}}function nc(e){var a=!0;e.current.mode&(dl|Sc)||(a=!1),pp(e,e.current,a)}function Ml(e){if((zn&Bl)===gs){var a=e.tag;if(a===3||a===1||a===0||a===11||a===14||a===15){if(a=ve(e)||"ReactComponent",o2!==null){if(o2.has(a))return;o2.add(a)}else o2=new Set([a]);rt(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function eu(e,a){Kn&&e.memoizedUpdaters.forEach(function(l){dn(e,l,a)})}function yp(e,a){var l=xe.actQueue;return l!==null?(l.push(a),VF):Bp(e,a)}function Mf(e){lp()&&xe.actQueue===null&&rt(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
944
944
|
|
|
945
945
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
946
946
|
|
|
@@ -949,16 +949,16 @@ act(() => {
|
|
|
949
949
|
});
|
|
950
950
|
/* assert on the output */
|
|
951
951
|
|
|
952
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,ve(e))})}function ir(e){e!==d1&&e.next===null&&(d1===null?s2=d1=e:d1=d1.next=e),u2=!0,xe.actQueue!==null?gC||(gC=!0,ba()):pC||(pC=!0,ba())}function tu(e,a){if(!yC&&u2){yC=!0;do for(var l=!1,d=s2;d!==null;){if(e!==0){var y=d.pendingLanes;if(y===0)var b=0;else{var O=d.suspendedLanes,_=d.pingedLanes;b=(1<<31-Xn(42|e)+1)-1,b&=y&~(O&~_),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(l=!0,ho(d,b))}else b=on,b=gn(d,d===Qn?b:0,d.cancelPendingCommit!==null||d.timeoutHandle!==fy),(b&3)===0||As(d,b)||(l=!0,ho(d,b));d=d.next}while(l);yC=!1}}function dh(){ac()}function ac(){u2=gC=pC=!1;var e=0;uy!==0&&(Rf()&&(e=uy),uy=0);for(var a=_l(),l=null,d=s2;d!==null;){var y=d.next,b=Dl(d,a);b===0?(d.next=null,l===null?s2=y:l.next=y,y===null&&(d1=l)):(l=d,(e!==0||(b&3)!==0)&&(u2=!0)),d=y}tu(e)}function Dl(e,a){for(var l=e.suspendedLanes,d=e.pingedLanes,y=e.expirationTimes,b=e.pendingLanes&-62914561;0<b;){var O=31-Xn(b),_=1<<O,H=y[O];H===-1?((_&l)===0||(_&d)!==0)&&(y[O]=hd(_,a)):H<=a&&(e.expiredLanes|=_),b&=~_}if(a=Qn,l=on,l=gn(e,e===a?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==fy),d=e.callbackNode,l===0||e===a&&(Hn===iy||Hn===ry)||e.cancelPendingCommit!==null)return d!==null&&vp(d),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||As(e,l)){if(a=l&-l,a!==e.callbackPriority||xe.actQueue!==null&&d!==vC)vp(d);else return a;switch(yr(l)){case ii:case Vt:l=Ah;break;case ds:l=dc;break;case Ch:l=ni;break;default:l=dc}return d=vn.bind(null,e),xe.actQueue!==null?(xe.actQueue.push(d),l=vC):l=Bp(l,d),e.callbackPriority=a,e.callbackNode=l,a}return d!==null&&vp(d),e.callbackPriority=2,e.callbackNode=null,2}function vn(e,a){if(Xx=Fx=!1,zr!==oy&&zr!==cC)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Ws()&&e.callbackNode!==l)return null;var d=on;return d=gn(e,e===Qn?d:0,e.cancelPendingCommit!==null||e.timeoutHandle!==fy),d===0?null:(Ra(e,d,a),Dl(e,_l()),e.callbackNode!=null&&e.callbackNode===l?vn.bind(null,e):null)}function ho(e,a){if(Ws())return null;Fx=Xx,Xx=!1,Ra(e,a,!0)}function vp(e){e!==vC&&e!==null&&Rb(e)}function ba(){xe.actQueue!==null&&xe.actQueue.push(function(){return ac(),null}),YF(function(){(zn&(Bl|Ac))!==gs?Bp(Yf,dh):ac()})}function u0(){return uy===0&&(uy=Lo()),uy}function c0(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Ae(e,"action"),Fc(""+e))}function f0(e,a){var l=a.ownerDocument.createElement("input");return l.name=a.name,l.value=a.value,e.id&&l.setAttribute("form",e.id),a.parentNode.insertBefore(l,a),e=new FormData(e),l.parentNode.removeChild(l),e}function In(e,a,l,d,y){if(a==="submit"&&l&&l.stateNode===y){var b=c0((y[ur]||null).action),O=d.submitter;O&&(a=(a=O[ur]||null)?c0(a.formAction):O.getAttribute("formAction"),a!==null&&(b=a,O=null));var _=new pt("action","action",null,d,y);e.push({event:_,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(uy!==0){var H=O?f0(y,O):new FormData(y),I={pending:!0,data:H,method:y.method,action:b};Object.freeze(I),ks(l,I,null,H)}}else typeof b=="function"&&(_.preventDefault(),H=O?f0(y,O):new FormData(y),I={pending:!0,data:H,method:y.method,action:b},Object.freeze(I),ks(l,I,b,H))},currentTarget:y}]})}}function Wa(e,a,l){e.currentTarget=l;try{a(e)}catch(d){Jw(d)}e.currentTarget=null}function mo(e,a){a=(a&4)!==0;for(var l=0;l<e.length;l++){var d=e[l];e:{var y=void 0,b=d.event;if(d=d.listeners,a)for(var O=d.length-1;0<=O;O--){var _=d[O],H=_.instance,I=_.currentTarget;if(_=_.listener,H!==y&&b.isPropagationStopped())break e;H!==null?rt(H,Wa,b,_,I):Wa(b,_,I),y=H}else for(O=0;O<d.length;O++){if(_=d[O],H=_.instance,I=_.currentTarget,_=_.listener,H!==y&&b.isPropagationStopped())break e;H!==null?rt(H,Wa,b,_,I):Wa(b,_,I),y=H}}}}function Gt(e,a){bC.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var l=a[L0];l===void 0&&(l=a[L0]=new Set);var d=e+"__bubble";l.has(d)||(Sp(a,e,2,!1),l.add(d))}function bp(e,a,l){bC.has(e)&&!a&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var d=0;a&&(d|=4),Sp(l,e,d,a)}function d0(e){if(!e[c2]){e[c2]=!0,Uv.forEach(function(l){l!=="selectionchange"&&(bC.has(l)||bp(l,!1,e),bp(l,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[c2]||(a[c2]=!0,bp("selectionchange",!1,a))}}function Sp(e,a,l,d){switch(vh(a)){case ii:var y=Mv;break;case Vt:y=yh;break;default:y=So}l=y.bind(null,a,l,e),y=void 0,!de||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(y=!0),d?y!==void 0?e.addEventListener(a,l,{capture:!0,passive:y}):e.addEventListener(a,l,!0):y!==void 0?e.addEventListener(a,l,{passive:y}):e.addEventListener(a,l,!1)}function Ui(e,a,l,d,y){var b=d;if((a&1)===0&&(a&2)===0&&d!==null)e:for(;;){if(d===null)return;var O=d.tag;if(O===3||O===4){var _=d.stateNode.containerInfo;if(_===y)break;if(O===4)for(O=d.return;O!==null;){var H=O.tag;if((H===3||H===4)&&O.stateNode.containerInfo===y)return;O=O.return}for(;_!==null;){if(O=pl(_),O===null)return;if(H=O.tag,H===5||H===6||H===26||H===27){d=b=O;continue e}_=_.parentNode}}d=d.return}Xc(function(){var I=b,be=zu(l),Ee=[];e:{var ge=$_.get(e);if(ge!==void 0){var Ce=pt,ot=e;switch(e){case"keypress":if(Zc(l)===0)break e;case"keydown":case"keyup":Ce=Ew;break;case"focusin":ot="focus",Ce=tn;break;case"focusout":ot="blur",Ce=tn;break;case"beforeblur":case"afterblur":Ce=tn;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":Ce=Pt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ce=xt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ce=Cw;break;case cl:case cr:case fl:Ce=zb;break;case Bb:Ce=Mw;break;case"scroll":case"scrollend":Ce=se;break;case"wheel":Ce=Rw;break;case"copy":case"cut":case"paste":Ce=Lb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ce=Px;break;case"toggle":case"beforetoggle":Ce=Nw}var wt=(a&4)!==0,Wn=!wt&&(e==="scroll"||e==="scrollend"),cn=wt?ge!==null?ge+"Capture":null:ge;wt=[];for(var Q=I,W;Q!==null;){var ie=Q;if(W=ie.stateNode,ie=ie.tag,ie!==5&&ie!==26&&ie!==27||W===null||cn===null||(ie=Po(Q,cn),ie!=null&&wt.push(gi(Q,ie,W))),Wn)break;Q=Q.return}0<wt.length&&(ge=new Ce(ge,ot,null,l,be),Ee.push({event:ge,listeners:wt}))}}if((a&7)===0){e:{if(ge=e==="mouseover"||e==="pointerover",Ce=e==="mouseout"||e==="pointerout",ge&&l!==x&&(ot=l.relatedTarget||l.fromElement)&&(pl(ot)||ot[uu]))break e;if((Ce||ge)&&(ge=be.window===be?be:(ge=be.ownerDocument)?ge.defaultView||ge.parentWindow:window,Ce?(ot=l.relatedTarget||l.toElement,Ce=I,ot=ot?pl(ot):null,ot!==null&&(Wn=U(ot),wt=ot.tag,ot!==Wn||wt!==5&&wt!==27&&wt!==6)&&(ot=null)):(Ce=null,ot=I),Ce!==ot)){if(wt=Pt,ie="onMouseLeave",cn="onMouseEnter",Q="mouse",(e==="pointerout"||e==="pointerover")&&(wt=Px,ie="onPointerLeave",cn="onPointerEnter",Q="pointer"),Wn=Ce==null?ge:ql(Ce),W=ot==null?ge:ql(ot),ge=new wt(ie,Q+"leave",Ce,l,be),ge.target=Wn,ge.relatedTarget=W,ie=null,pl(be)===I&&(wt=new wt(cn,Q+"enter",ot,l,be),wt.target=W,wt.relatedTarget=Wn,ie=wt),Wn=ie,Ce&&ot)t:{for(wt=Ce,cn=ot,Q=0,W=wt;W;W=_a(W))Q++;for(W=0,ie=cn;ie;ie=_a(ie))W++;for(;0<Q-W;)wt=_a(wt),Q--;for(;0<W-Q;)cn=_a(cn),W--;for(;Q--;){if(wt===cn||cn!==null&&wt===cn.alternate)break t;wt=_a(wt),cn=_a(cn)}wt=null}else wt=null;Ce!==null&&h0(Ee,ge,Ce,wt,!1),ot!==null&&Wn!==null&&h0(Ee,Wn,ot,wt,!0)}}e:{if(ge=I?ql(I):window,Ce=ge.nodeName&&ge.nodeName.toLowerCase(),Ce==="select"||Ce==="input"&&ge.type==="file")var Oe=qo;else if(sv(ge))if(ze)Oe=cv;else{Oe=Cm;var Ie=kr}else Ce=ge.nodeName,!Ce||Ce.toLowerCase()!=="input"||ge.type!=="checkbox"&&ge.type!=="radio"?I&&Us(I.elementType)&&(Oe=qo):Oe=uv;if(Oe&&(Oe=Oe(e,I))){Am(Ee,Oe,l,be);break e}Ie&&Ie(e,ge,I),e==="focusout"&&I&&ge.type==="number"&&I.memoizedProps.value!=null&&gm(ge,"number",ge.value)}switch(Ie=I?ql(I):window,e){case"focusin":(sv(Ie)||Ie.contentEditable==="true")&&(Fe=Ie,ut=I,vt=null);break;case"focusout":vt=ut=Fe=null;break;case"mousedown":Bt=!0;break;case"contextmenu":case"mouseup":case"dragend":Bt=!1,Bg(Ee,l,be);break;case"selectionchange":if(Ve)break;case"keydown":case"keyup":Bg(Ee,l,be)}var jt;if(Vb)e:{switch(e){case"compositionstart":var st="onCompositionStart";break e;case"compositionend":st="onCompositionEnd";break e;case"compositionupdate":st="onCompositionUpdate";break e}st=void 0}else k?wi(e,l)&&(st="onCompositionEnd"):e==="keydown"&&l.keyCode===kx&&(st="onCompositionStart");st&&(m&&l.locale!=="ko"&&(k||st!=="onCompositionStart"?st==="onCompositionEnd"&&k&&(jt=ko()):(Ne=be,ye="value"in Ne?Ne.value:Ne.textContent,k=!0)),Ie=Df(I,st),0<Ie.length&&(st=new Hx(st,e,null,l,be),Ee.push({event:st,listeners:Ie}),jt?st.data=jt:(jt=Vs(l),jt!==null&&(st.data=jt)))),(jt=f?Tm(e,l):Od(e,l))&&(st=Df(I,"onBeforeInput"),0<st.length&&(Ie=new vw("onBeforeInput","beforeinput",null,l,be),Ee.push({event:Ie,listeners:st}),Ie.data=jt)),In(Ee,e,I,l,be)}mo(Ee,a)})}function gi(e,a,l){return{instance:e,listener:a,currentTarget:l}}function Df(e,a){for(var l=a+"Capture",d=[];e!==null;){var y=e,b=y.stateNode;if(y=y.tag,y!==5&&y!==26&&y!==27||b===null||(y=Po(e,l),y!=null&&d.unshift(gi(e,y,b)),y=Po(e,a),y!=null&&d.push(gi(e,y,b))),e.tag===3)return d;e=e.return}return[]}function _a(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function h0(e,a,l,d,y){for(var b=a._reactName,O=[];l!==null&&l!==d;){var _=l,H=_.alternate,I=_.stateNode;if(_=_.tag,H!==null&&H===d)break;_!==5&&_!==26&&_!==27||I===null||(H=I,y?(I=Po(l,b),I!=null&&O.unshift(gi(l,I,H))):y||(I=Po(l,b),I!=null&&O.push(gi(l,I,H)))),l=l.return}O.length!==0&&e.push({event:a,listeners:O})}function po(e,a){Ic(e,a),e!=="input"&&e!=="textarea"&&e!=="select"||a==null||a.value!==null||F0||(F0=!0,e==="select"&&a.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var l={registrationNameDependencies:ul,possibleRegistrationNames:hc};Us(e)||typeof a.is=="string"||Ng(e,a,l),a.contentEditable&&!a.suppressContentEditableWarning&&a.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Fn(e,a,l,d){a!==l&&(l=Ja(l),Ja(a)!==l&&(d[e]=a))}function rs(e,a,l){a.forEach(function(d){l[p0(d)]=d==="style"?nu(e):e.getAttribute(d)})}function ll(e,a){a===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof a)}function xp(e,a){return e=e.namespaceURI===Nh||e.namespaceURI===Qf?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=a,e.innerHTML}function Ja(e){return X(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Me(e)),fe(e)),(typeof e=="string"?e:""+e).replace(LF,`
|
|
953
|
-
`).replace(UF,"")}function m0(e,a){return a=Ja(a),Ja(e)===a}function ls(){}function mn(e,a,l,d,y,b){switch(l){case"children":typeof d=="string"?(Yc(d,a,!1),a==="body"||a==="textarea"&&d===""||Nu(e,d)):(typeof d=="number"||typeof d=="bigint")&&(Yc(""+d,a,!1),a!=="body"&&Nu(e,""+d));break;case"className":pd(e,"class",d);break;case"tabIndex":pd(e,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":pd(e,l,d);break;case"style":qc(e,d,b);break;case"data":if(a!=="object"){pd(e,"data",d);break}case"src":case"href":if(d===""&&(a!=="a"||l!=="href")){console.error(l==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',l,l),e.removeAttribute(l);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){e.removeAttribute(l);break}Ae(d,l),d=Fc(""+d),e.setAttribute(l,d);break;case"action":case"formAction":if(d!=null&&(a==="form"?l==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof d=="function"&&(y.encType==null&&y.method==null||h2||(h2=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),y.target==null||d2||(d2=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):a==="input"||a==="button"?l==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):a!=="input"||y.type==="submit"||y.type==="image"||f2?a!=="button"||y.type==null||y.type==="submit"||f2?typeof d=="function"&&(y.name==null||eN||(eN=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),y.formEncType==null&&y.formMethod==null||h2||(h2=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),y.formTarget==null||d2||(d2=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(f2=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(f2=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(l==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof d=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(l==="formAction"?(a!=="input"&&mn(e,a,"name",y.name,y,null),mn(e,a,"formEncType",y.formEncType,y,null),mn(e,a,"formMethod",y.formMethod,y,null),mn(e,a,"formTarget",y.formTarget,y,null)):(mn(e,a,"encType",y.encType,y,null),mn(e,a,"method",y.method,y,null),mn(e,a,"target",y.target,y,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){e.removeAttribute(l);break}Ae(d,l),d=Fc(""+d),e.setAttribute(l,d);break;case"onClick":d!=null&&(typeof d!="function"&&ll(l,d),e.onclick=ls);break;case"onScroll":d!=null&&(typeof d!="function"&&ll(l,d),Gt("scroll",e));break;case"onScrollEnd":d!=null&&(typeof d!="function"&&ll(l,d),Gt("scrollend",e));break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=d.__html,l!=null){if(y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"multiple":e.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":e.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){e.removeAttribute("xlink:href");break}Ae(d,l),l=Fc(""+d),e.setAttributeNS(cy,"xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?(Ae(d,l),e.setAttribute(l,""+d)):e.removeAttribute(l);break;case"inert":d!==""||m2[l]||(m2[l]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",l));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":d&&typeof d!="function"&&typeof d!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":d===!0?e.setAttribute(l,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?(Ae(d,l),e.setAttribute(l,d)):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?(Ae(d,l),e.setAttribute(l,d)):e.removeAttribute(l);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?e.removeAttribute(l):(Ae(d,l),e.setAttribute(l,d));break;case"popover":Gt("beforetoggle",e),Gt("toggle",e),md(e,"popover",d);break;case"xlinkActuate":gl(e,cy,"xlink:actuate",d);break;case"xlinkArcrole":gl(e,cy,"xlink:arcrole",d);break;case"xlinkRole":gl(e,cy,"xlink:role",d);break;case"xlinkShow":gl(e,cy,"xlink:show",d);break;case"xlinkTitle":gl(e,cy,"xlink:title",d);break;case"xlinkType":gl(e,cy,"xlink:type",d);break;case"xmlBase":gl(e,SC,"xml:base",d);break;case"xmlLang":gl(e,SC,"xml:lang",d);break;case"xmlSpace":gl(e,SC,"xml:space",d);break;case"is":b!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),md(e,"is",d);break;case"innerText":case"textContent":break;case"popoverTarget":tN||d==null||typeof d!="object"||(tN=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",d));default:!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N"?(l=Sm(l),md(e,l,d)):ul.hasOwnProperty(l)&&d!=null&&typeof d!="function"&&ll(l,d)}}function $a(e,a,l,d,y,b){switch(l){case"style":qc(e,d,b);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=d.__html,l!=null){if(y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"children":typeof d=="string"?Nu(e,d):(typeof d=="number"||typeof d=="bigint")&&Nu(e,""+d);break;case"onScroll":d!=null&&(typeof d!="function"&&ll(l,d),Gt("scroll",e));break;case"onScrollEnd":d!=null&&(typeof d!="function"&&ll(l,d),Gt("scrollend",e));break;case"onClick":d!=null&&(typeof d!="function"&&ll(l,d),e.onclick=ls);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ul.hasOwnProperty(l))d!=null&&typeof d!="function"&&ll(l,d);else e:{if(l[0]==="o"&&l[1]==="n"&&(y=l.endsWith("Capture"),a=l.slice(2,y?l.length-7:void 0),b=e[ur]||null,b=b!=null?b[l]:null,typeof b=="function"&&e.removeEventListener(a,b,y),typeof d=="function")){typeof b!="function"&&b!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(a,d,y);break e}l in e?e[l]=d:d===!0?e.setAttribute(l,""):md(e,l,d)}}}function ia(e,a,l){switch(po(a,l),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Gt("error",e),Gt("load",e);var d=!1,y=!1,b;for(b in l)if(l.hasOwnProperty(b)){var O=l[b];if(O!=null)switch(b){case"src":d=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mn(e,a,b,O,l,null)}}y&&mn(e,a,"srcSet",l.srcSet,l,null),d&&mn(e,a,"src",l.src,l,null);return;case"input":Bo("input",l),Gt("invalid",e);var _=b=O=y=null,H=null,I=null;for(d in l)if(l.hasOwnProperty(d)){var be=l[d];if(be!=null)switch(d){case"name":y=be;break;case"type":O=be;break;case"checked":H=be;break;case"defaultChecked":I=be;break;case"value":b=be;break;case"defaultValue":_=be;break;case"children":case"dangerouslySetInnerHTML":if(be!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mn(e,a,d,be,l,null)}}Ds(e,l),bd(e,b,_,H,I,O,y,!1),jo(e);return;case"select":Bo("select",l),Gt("invalid",e),d=O=b=null;for(y in l)if(l.hasOwnProperty(y)&&(_=l[y],_!=null))switch(y){case"value":b=_;break;case"defaultValue":O=_;break;case"multiple":d=_;default:mn(e,a,y,_,l,null)}Sd(e,l),a=b,l=O,e.multiple=!!d,a!=null?$o(e,!!d,a,!1):l!=null&&$o(e,!!d,l,!0);return;case"textarea":Bo("textarea",l),Gt("invalid",e),b=y=d=null;for(O in l)if(l.hasOwnProperty(O)&&(_=l[O],_!=null))switch(O){case"value":d=_;break;case"defaultValue":y=_;break;case"children":b=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mn(e,a,O,_,l,null)}yl(e,l),ym(e,d,y,b),jo(e);return;case"option":Pc(e,l);for(H in l)if(l.hasOwnProperty(H)&&(d=l[H],d!=null))switch(H){case"selected":e.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:mn(e,a,H,d,l,null)}return;case"dialog":Gt("beforetoggle",e),Gt("toggle",e),Gt("cancel",e),Gt("close",e);break;case"iframe":case"object":Gt("load",e);break;case"video":case"audio":for(d=0;d<oS.length;d++)Gt(oS[d],e);break;case"image":Gt("error",e),Gt("load",e);break;case"details":Gt("toggle",e);break;case"embed":case"source":case"link":Gt("error",e),Gt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(I in l)if(l.hasOwnProperty(I)&&(d=l[I],d!=null))switch(I){case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mn(e,a,I,d,l,null)}return;default:if(Us(a)){for(be in l)l.hasOwnProperty(be)&&(d=l[be],d!==void 0&&$a(e,a,be,d,l,void 0));return}}for(_ in l)l.hasOwnProperty(_)&&(d=l[_],d!=null&&mn(e,a,_,d,l,null))}function Tv(e,a,l,d){switch(po(a,d),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,b=null,O=null,_=null,H=null,I=null,be=null;for(Ce in l){var Ee=l[Ce];if(l.hasOwnProperty(Ce)&&Ee!=null)switch(Ce){case"checked":break;case"value":break;case"defaultValue":H=Ee;default:d.hasOwnProperty(Ce)||mn(e,a,Ce,null,d,Ee)}}for(var ge in d){var Ce=d[ge];if(Ee=l[ge],d.hasOwnProperty(ge)&&(Ce!=null||Ee!=null))switch(ge){case"type":b=Ce;break;case"name":y=Ce;break;case"checked":I=Ce;break;case"defaultChecked":be=Ce;break;case"value":O=Ce;break;case"defaultValue":_=Ce;break;case"children":case"dangerouslySetInnerHTML":if(Ce!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ce!==Ee&&mn(e,a,ge,Ce,d,Ee)}}a=l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null,d=d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null,a||!d||J8||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),J8=!0),!a||d||W8||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),W8=!0),Rs(e,O,_,H,I,be,b,y);return;case"select":Ce=O=_=ge=null;for(b in l)if(H=l[b],l.hasOwnProperty(b)&&H!=null)switch(b){case"value":break;case"multiple":Ce=H;default:d.hasOwnProperty(b)||mn(e,a,b,null,d,H)}for(y in d)if(b=d[y],H=l[y],d.hasOwnProperty(y)&&(b!=null||H!=null))switch(y){case"value":ge=b;break;case"defaultValue":_=b;break;case"multiple":O=b;default:b!==H&&mn(e,a,y,b,d,H)}d=_,a=O,l=Ce,ge!=null?$o(e,!!a,ge,!1):!!l!=!!a&&(d!=null?$o(e,!!a,d,!0):$o(e,!!a,a?[]:"",!1));return;case"textarea":Ce=ge=null;for(_ in l)if(y=l[_],l.hasOwnProperty(_)&&y!=null&&!d.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:mn(e,a,_,null,d,y)}for(O in d)if(y=d[O],b=l[O],d.hasOwnProperty(O)&&(y!=null||b!=null))switch(O){case"value":ge=y;break;case"defaultValue":Ce=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:y!==b&&mn(e,a,O,y,d,b)}xd(e,ge,Ce);return;case"option":for(var ot in l)if(ge=l[ot],l.hasOwnProperty(ot)&&ge!=null&&!d.hasOwnProperty(ot))switch(ot){case"selected":e.selected=!1;break;default:mn(e,a,ot,null,d,ge)}for(H in d)if(ge=d[H],Ce=l[H],d.hasOwnProperty(H)&&ge!==Ce&&(ge!=null||Ce!=null))switch(H){case"selected":e.selected=ge&&typeof ge!="function"&&typeof ge!="symbol";break;default:mn(e,a,H,ge,d,Ce)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var wt in l)ge=l[wt],l.hasOwnProperty(wt)&&ge!=null&&!d.hasOwnProperty(wt)&&mn(e,a,wt,null,d,ge);for(I in d)if(ge=d[I],Ce=l[I],d.hasOwnProperty(I)&&ge!==Ce&&(ge!=null||Ce!=null))switch(I){case"children":case"dangerouslySetInnerHTML":if(ge!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mn(e,a,I,ge,d,Ce)}return;default:if(Us(a)){for(var Wn in l)ge=l[Wn],l.hasOwnProperty(Wn)&&ge!==void 0&&!d.hasOwnProperty(Wn)&&$a(e,a,Wn,void 0,d,ge);for(be in d)ge=d[be],Ce=l[be],!d.hasOwnProperty(be)||ge===Ce||ge===void 0&&Ce===void 0||$a(e,a,be,ge,d,Ce);return}}for(var cn in l)ge=l[cn],l.hasOwnProperty(cn)&&ge!=null&&!d.hasOwnProperty(cn)&&mn(e,a,cn,null,d,ge);for(Ee in d)ge=d[Ee],Ce=l[Ee],!d.hasOwnProperty(Ee)||ge===Ce||ge==null&&Ce==null||mn(e,a,Ee,ge,d,Ce)}function p0(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function nu(e){var a={};e=e.style;for(var l=0;l<e.length;l++){var d=e[l];a[d]=e.getPropertyValue(d)}return a}function g0(e,a,l){if(a!=null&&typeof a!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var d,y=d="",b;for(b in a)if(a.hasOwnProperty(b)){var O=a[b];O!=null&&typeof O!="boolean"&&O!==""&&(b.indexOf("--")===0?(je(O,b),d+=y+b+":"+(""+O).trim()):typeof O!="number"||O===0||_h.has(b)?(je(O,b),d+=y+b.replace(hs,"-$1").toLowerCase().replace(ms,"-ms-")+":"+(""+O).trim()):d+=y+b.replace(hs,"-$1").toLowerCase().replace(ms,"-ms-")+":"+O+"px",y=";")}d=d||null,a=e.getAttribute("style"),a!==d&&(d=Ja(d),Ja(a)!==d&&(l.style=nu(e)))}}function Vi(e,a,l,d,y,b){if(y.delete(l),e=e.getAttribute(l),e===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(Ae(d,a),e===""+d)return}Fn(a,e,d,b)}function y0(e,a,l,d,y,b){if(y.delete(l),e=e.getAttribute(l),e===null){switch(typeof d){case"function":case"symbol":return}if(!d)return}else switch(typeof d){case"function":case"symbol":break;default:if(d)return}Fn(a,e,d,b)}function v0(e,a,l,d,y,b){if(y.delete(l),e=e.getAttribute(l),e===null)switch(typeof d){case"undefined":case"function":case"symbol":return}else if(d!=null)switch(typeof d){case"function":case"symbol":break;default:if(Ae(d,l),e===""+d)return}Fn(a,e,d,b)}function Tp(e,a,l,d,y,b){if(y.delete(l),e=e.getAttribute(l),e===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(d))return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(!isNaN(d)&&(Ae(d,a),e===""+d))return}Fn(a,e,d,b)}function bn(e,a,l,d,y,b){if(y.delete(l),e=e.getAttribute(l),e===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(Ae(d,a),l=Fc(""+d),e===l)return}Fn(a,e,d,b)}function _n(e,a,l,d){for(var y={},b=new Set,O=e.attributes,_=0;_<O.length;_++)switch(O[_].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:b.add(O[_].name)}if(Us(a)){for(var H in l)if(l.hasOwnProperty(H)){var I=l[H];if(I!=null){if(ul.hasOwnProperty(H))typeof I!="function"&&ll(H,I);else if(l.suppressHydrationWarning!==!0)switch(H){case"children":typeof I!="string"&&typeof I!="number"||Fn("children",e.textContent,I,y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":O=e.innerHTML,I=I?I.__html:void 0,I!=null&&(I=xp(e,I),Fn(H,O,I,y));continue;case"style":b.delete(H),g0(e,I,y);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":b.delete(H.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",H);continue;case"className":b.delete("class"),O=tv(e,"class",I),Fn("className",O,I,y);continue;default:d.context===kh&&a!=="svg"&&a!=="math"?b.delete(H.toLowerCase()):b.delete(H),O=tv(e,H,I),Fn(H,O,I,y)}}}}else for(I in l)if(l.hasOwnProperty(I)&&(H=l[I],H!=null)){if(ul.hasOwnProperty(I))typeof H!="function"&&ll(I,H);else if(l.suppressHydrationWarning!==!0)switch(I){case"children":typeof H!="string"&&typeof H!="number"||Fn("children",e.textContent,H,y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":O=e.innerHTML,H=H?H.__html:void 0,H!=null&&(H=xp(e,H),O!==H&&(y[I]={__html:O}));continue;case"className":Vi(e,I,"class",H,b,y);continue;case"tabIndex":Vi(e,I,"tabindex",H,b,y);continue;case"style":b.delete(I),g0(e,H,y);continue;case"multiple":b.delete(I),Fn(I,e.multiple,H,y);continue;case"muted":b.delete(I),Fn(I,e.muted,H,y);continue;case"autoFocus":b.delete("autofocus"),Fn(I,e.autofocus,H,y);continue;case"data":if(a!=="object"){b.delete(I),O=e.getAttribute("data"),Fn(I,O,H,y);continue}case"src":case"href":if(!(H!==""||a==="a"&&I==="href"||a==="object"&&I==="data")){console.error(I==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',I,I);continue}bn(e,I,I,H,b,y);continue;case"action":case"formAction":if(O=e.getAttribute(I),typeof H=="function"){b.delete(I.toLowerCase()),I==="formAction"?(b.delete("name"),b.delete("formenctype"),b.delete("formmethod"),b.delete("formtarget")):(b.delete("enctype"),b.delete("method"),b.delete("target"));continue}else if(O===VF){b.delete(I.toLowerCase()),Fn(I,"function",H,y);continue}bn(e,I,I.toLowerCase(),H,b,y);continue;case"xlinkHref":bn(e,I,"xlink:href",H,b,y);continue;case"contentEditable":v0(e,I,"contenteditable",H,b,y);continue;case"spellCheck":v0(e,I,"spellcheck",H,b,y);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":v0(e,I,I,H,b,y);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":y0(e,I,I.toLowerCase(),H,b,y);continue;case"capture":case"download":e:{_=e;var be=O=I,Ee=y;if(b.delete(be),_=_.getAttribute(be),_===null)switch(typeof H){case"undefined":case"function":case"symbol":break e;default:if(H===!1)break e}else if(H!=null)switch(typeof H){case"function":case"symbol":break;case"boolean":if(H===!0&&_==="")break e;break;default:if(Ae(H,O),_===""+H)break e}Fn(O,_,H,Ee)}continue;case"cols":case"rows":case"size":case"span":e:{if(_=e,be=O=I,Ee=y,b.delete(be),_=_.getAttribute(be),_===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(H)||1>H)break e}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(H)||1>H)&&(Ae(H,O),_===""+H))break e}Fn(O,_,H,Ee)}continue;case"rowSpan":Tp(e,I,"rowspan",H,b,y);continue;case"start":Tp(e,I,I,H,b,y);continue;case"xHeight":Vi(e,I,"x-height",H,b,y);continue;case"xlinkActuate":Vi(e,I,"xlink:actuate",H,b,y);continue;case"xlinkArcrole":Vi(e,I,"xlink:arcrole",H,b,y);continue;case"xlinkRole":Vi(e,I,"xlink:role",H,b,y);continue;case"xlinkShow":Vi(e,I,"xlink:show",H,b,y);continue;case"xlinkTitle":Vi(e,I,"xlink:title",H,b,y);continue;case"xlinkType":Vi(e,I,"xlink:type",H,b,y);continue;case"xmlBase":Vi(e,I,"xml:base",H,b,y);continue;case"xmlLang":Vi(e,I,"xml:lang",H,b,y);continue;case"xmlSpace":Vi(e,I,"xml:space",H,b,y);continue;case"inert":H!==""||m2[I]||(m2[I]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",I)),y0(e,I,I,H,b,y);continue;default:if(!(2<I.length)||I[0]!=="o"&&I[0]!=="O"||I[1]!=="n"&&I[1]!=="N"){_=Sm(I),O=!1,d.context===kh&&a!=="svg"&&a!=="math"?b.delete(_.toLowerCase()):(be=I.toLowerCase(),be=vc.hasOwnProperty(be)&&vc[be]||null,be!==null&&be!==I&&(O=!0,b.delete(be)),b.delete(_));e:if(be=e,Ee=_,_=H,Os(Ee))if(be.hasAttribute(Ee))be=be.getAttribute(Ee),Ae(_,Ee),_=be===""+_?_:be;else{switch(typeof _){case"function":case"symbol":break e;case"boolean":if(be=Ee.toLowerCase().slice(0,5),be!=="data-"&&be!=="aria-")break e}_=_===void 0?void 0:null}else _=void 0;O||Fn(I,_,H,y)}}}return 0<b.size&&l.suppressHydrationWarning!==!0&&rs(e,b,y),Object.keys(y).length===0?null:y}function Ft(e,a){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+a+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+a+" "+e[e.length-1]}}function Xt(e){return e.nodeType===9?e:e.ownerDocument}function xn(e){switch(e){case Qf:return h1;case Nh:return y2;default:return kh}}function rr(e,a){if(e===kh)switch(a){case"svg":return h1;case"math":return y2;default:return kh}return e===h1&&a==="foreignObject"?kh:e}function go(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}function Rf(){var e=window.event;return e&&e.type==="popstate"?e===AC?!1:(AC=e,!0):(AC=null,!1)}function b0(e){setTimeout(function(){throw e})}function os(e,a,l){switch(a){case"button":case"input":case"select":case"textarea":l.autoFocus&&e.focus();break;case"img":l.src?e.src=l.src:l.srcSet&&(e.srcset=l.srcSet)}}function ra(e,a,l,d){Tv(e,a,l,d),e[ur]=d}function ss(e){Nu(e,"")}function ic(e,a,l){e.nodeValue=l}function yo(e){return e==="head"}function ol(e,a){e.removeChild(a)}function _f(e,a){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(a)}function Nf(e,a){var l=a,d=0,y=0;do{var b=l.nextSibling;if(e.removeChild(l),b&&b.nodeType===8)if(l=b.data,l===g2){if(0<d&&8>d){l=d;var O=e.ownerDocument;if(l&jF&&Uf(O.documentElement),l&$F&&Uf(O.body),l&HF)for(l=O.head,Uf(l),O=l.firstChild;O;){var _=O.nextSibling,H=O.nodeName;O[Ff]||H==="SCRIPT"||H==="STYLE"||H==="LINK"&&O.rel.toLowerCase()==="stylesheet"||l.removeChild(O),O=_}}if(y===0){e.removeChild(b),lu(a);return}y--}else l===p2||l===Ph||l===sS?y++:d=l.charCodeAt(0)-48;else d=0;l=b}while(l);lu(a)}function lr(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function S0(e){e.nodeValue=""}function x0(e,a){a=a[PF],a=a!=null&&a.hasOwnProperty("display")?a.display:null,e.style.display=a==null||typeof a=="boolean"?"":(""+a).trim()}function zf(e,a){e.nodeValue=a}function rc(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var l=a;switch(a=a.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":rc(l),ws(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function au(e,a,l,d){for(;e.nodeType===1;){var y=l;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!d&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(d){if(!e[Ff])switch(a){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(b=e.getAttribute("rel"),b==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(b!==y.rel||e.getAttribute("href")!==(y.href==null||y.href===""?null:y.href)||e.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||e.getAttribute("title")!==(y.title==null?null:y.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(b=e.getAttribute("src"),(b!==(y.src==null?null:y.src)||e.getAttribute("type")!==(y.type==null?null:y.type)||e.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&b&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){Ae(y.name,"name");var b=y.name==null?null:""+y.name;if(y.type==="hidden"&&e.getAttribute("name")===b)return e}else return e;if(e=ti(e.nextSibling),e===null)break}return null}function ei(e,a,l){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=ti(e.nextSibling),e===null))return null;return e}function vo(e){return e.data===sS||e.data===Ph&&e.ownerDocument.readyState===aN}function Lf(e,a){var l=e.ownerDocument;if(e.data!==Ph||l.readyState===aN)a();else{var d=function(){a(),l.removeEventListener("DOMContentLoaded",d)};l.addEventListener("DOMContentLoaded",d),e._reactRetry=d}}function ti(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a===p2||a===sS||a===Ph||a===xC||a===nN)break;if(a===g2)return null}}return e}function Ep(e){if(e.nodeType===1){for(var a=e.nodeName.toLowerCase(),l={},d=e.attributes,y=0;y<d.length;y++){var b=d[y];l[p0(b.name)]=b.name.toLowerCase()==="style"?nu(e):b.value}return{type:a,props:l}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function Ap(e,a,l){return l===null||l[BF]!==!0?(e.nodeValue===a?e=null:(a=Ja(a),e=Ja(e.nodeValue)===a?null:e.nodeValue),e):null}function T0(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var l=e.data;if(l===g2){if(a===0)return ti(e.nextSibling);a--}else l!==p2&&l!==sS&&l!==Ph||a++}e=e.nextSibling}return null}function lc(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var l=e.data;if(l===p2||l===sS||l===Ph){if(a===0)return e;a--}else l===g2&&a++}e=e.previousSibling}return null}function E0(e){lu(e)}function yi(e){lu(e)}function A0(e,a,l,d,y){switch(y&&Cd(e,d.ancestorInfo),a=Xt(l),e){case"html":if(e=a.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=a.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=a.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Or(e,a,l,d){if(!l[uu]&&Ti(l)){var y=l.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",y,y,y)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(y=l.attributes;y.length;)l.removeAttributeNode(y[0]);ia(l,e,a),l[bi]=d,l[ur]=a}function Uf(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);ws(e)}function hh(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Ev(e,a,l){var d=m1;if(d&&typeof a=="string"&&a){var y=vr(a);y='link[rel="'+e+'"][href="'+y+'"]',typeof l=="string"&&(y+='[crossorigin="'+l+'"]'),uN.has(y)||(uN.add(y),e={rel:e,crossOrigin:l,href:a},d.querySelector(y)===null&&(a=d.createElement("link"),ia(a,"link",e),Ua(a),d.head.appendChild(a)))}}function us(e,a,l,d){var y=(y=Rl.current)?hh(y):null;if(!y)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=iu(l.href),a=Hr(y).hoistableStyles,d=a.get(l),d||(d={type:"style",instance:null,count:0,state:null},a.set(l,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=iu(l.href);var b=Hr(y).hoistableStyles,O=b.get(e);if(!O&&(y=y.ownerDocument||y,O={type:"stylesheet",instance:null,count:0,state:{loading:dy,preload:null}},b.set(e,O),(b=y.querySelector(bo(e)))&&!b._p&&(O.instance=b,O.state.loading=uS|xu),!Tu.has(e))){var _={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy};Tu.set(e,_),b||Av(y,e,_,O.state)}if(a&&d===null)throw l=`
|
|
952
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,ve(e))})}function ir(e){e!==d1&&e.next===null&&(d1===null?s2=d1=e:d1=d1.next=e),u2=!0,xe.actQueue!==null?gC||(gC=!0,ba()):pC||(pC=!0,ba())}function tu(e,a){if(!yC&&u2){yC=!0;do for(var l=!1,d=s2;d!==null;){if(e!==0){var y=d.pendingLanes;if(y===0)var b=0;else{var O=d.suspendedLanes,_=d.pingedLanes;b=(1<<31-Xn(42|e)+1)-1,b&=y&~(O&~_),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(l=!0,ho(d,b))}else b=on,b=gn(d,d===Qn?b:0,d.cancelPendingCommit!==null||d.timeoutHandle!==fy),(b&3)===0||As(d,b)||(l=!0,ho(d,b));d=d.next}while(l);yC=!1}}function dh(){ac()}function ac(){u2=gC=pC=!1;var e=0;uy!==0&&(Rf()&&(e=uy),uy=0);for(var a=_l(),l=null,d=s2;d!==null;){var y=d.next,b=Dl(d,a);b===0?(d.next=null,l===null?s2=y:l.next=y,y===null&&(d1=l)):(l=d,(e!==0||(b&3)!==0)&&(u2=!0)),d=y}tu(e)}function Dl(e,a){for(var l=e.suspendedLanes,d=e.pingedLanes,y=e.expirationTimes,b=e.pendingLanes&-62914561;0<b;){var O=31-Xn(b),_=1<<O,H=y[O];H===-1?((_&l)===0||(_&d)!==0)&&(y[O]=hd(_,a)):H<=a&&(e.expiredLanes|=_),b&=~_}if(a=Qn,l=on,l=gn(e,e===a?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==fy),d=e.callbackNode,l===0||e===a&&(Hn===iy||Hn===ry)||e.cancelPendingCommit!==null)return d!==null&&vp(d),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||As(e,l)){if(a=l&-l,a!==e.callbackPriority||xe.actQueue!==null&&d!==vC)vp(d);else return a;switch(yr(l)){case ii:case Vt:l=Ah;break;case ds:l=dc;break;case Ch:l=ni;break;default:l=dc}return d=vn.bind(null,e),xe.actQueue!==null?(xe.actQueue.push(d),l=vC):l=Bp(l,d),e.callbackPriority=a,e.callbackNode=l,a}return d!==null&&vp(d),e.callbackPriority=2,e.callbackNode=null,2}function vn(e,a){if(Xx=Fx=!1,zr!==oy&&zr!==cC)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Ws()&&e.callbackNode!==l)return null;var d=on;return d=gn(e,e===Qn?d:0,e.cancelPendingCommit!==null||e.timeoutHandle!==fy),d===0?null:(Ra(e,d,a),Dl(e,_l()),e.callbackNode!=null&&e.callbackNode===l?vn.bind(null,e):null)}function ho(e,a){if(Ws())return null;Fx=Xx,Xx=!1,Ra(e,a,!0)}function vp(e){e!==vC&&e!==null&&Rb(e)}function ba(){xe.actQueue!==null&&xe.actQueue.push(function(){return ac(),null}),IF(function(){(zn&(Bl|Ac))!==gs?Bp(Yf,dh):ac()})}function u0(){return uy===0&&(uy=Lo()),uy}function c0(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Ae(e,"action"),Fc(""+e))}function f0(e,a){var l=a.ownerDocument.createElement("input");return l.name=a.name,l.value=a.value,e.id&&l.setAttribute("form",e.id),a.parentNode.insertBefore(l,a),e=new FormData(e),l.parentNode.removeChild(l),e}function In(e,a,l,d,y){if(a==="submit"&&l&&l.stateNode===y){var b=c0((y[ur]||null).action),O=d.submitter;O&&(a=(a=O[ur]||null)?c0(a.formAction):O.getAttribute("formAction"),a!==null&&(b=a,O=null));var _=new pt("action","action",null,d,y);e.push({event:_,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(uy!==0){var H=O?f0(y,O):new FormData(y),I={pending:!0,data:H,method:y.method,action:b};Object.freeze(I),ks(l,I,null,H)}}else typeof b=="function"&&(_.preventDefault(),H=O?f0(y,O):new FormData(y),I={pending:!0,data:H,method:y.method,action:b},Object.freeze(I),ks(l,I,b,H))},currentTarget:y}]})}}function Wa(e,a,l){e.currentTarget=l;try{a(e)}catch(d){Jw(d)}e.currentTarget=null}function mo(e,a){a=(a&4)!==0;for(var l=0;l<e.length;l++){var d=e[l];e:{var y=void 0,b=d.event;if(d=d.listeners,a)for(var O=d.length-1;0<=O;O--){var _=d[O],H=_.instance,I=_.currentTarget;if(_=_.listener,H!==y&&b.isPropagationStopped())break e;H!==null?rt(H,Wa,b,_,I):Wa(b,_,I),y=H}else for(O=0;O<d.length;O++){if(_=d[O],H=_.instance,I=_.currentTarget,_=_.listener,H!==y&&b.isPropagationStopped())break e;H!==null?rt(H,Wa,b,_,I):Wa(b,_,I),y=H}}}}function Gt(e,a){bC.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var l=a[L0];l===void 0&&(l=a[L0]=new Set);var d=e+"__bubble";l.has(d)||(Sp(a,e,2,!1),l.add(d))}function bp(e,a,l){bC.has(e)&&!a&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var d=0;a&&(d|=4),Sp(l,e,d,a)}function d0(e){if(!e[c2]){e[c2]=!0,Uv.forEach(function(l){l!=="selectionchange"&&(bC.has(l)||bp(l,!1,e),bp(l,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[c2]||(a[c2]=!0,bp("selectionchange",!1,a))}}function Sp(e,a,l,d){switch(vh(a)){case ii:var y=Mv;break;case Vt:y=yh;break;default:y=So}l=y.bind(null,a,l,e),y=void 0,!de||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(y=!0),d?y!==void 0?e.addEventListener(a,l,{capture:!0,passive:y}):e.addEventListener(a,l,!0):y!==void 0?e.addEventListener(a,l,{passive:y}):e.addEventListener(a,l,!1)}function Ui(e,a,l,d,y){var b=d;if((a&1)===0&&(a&2)===0&&d!==null)e:for(;;){if(d===null)return;var O=d.tag;if(O===3||O===4){var _=d.stateNode.containerInfo;if(_===y)break;if(O===4)for(O=d.return;O!==null;){var H=O.tag;if((H===3||H===4)&&O.stateNode.containerInfo===y)return;O=O.return}for(;_!==null;){if(O=pl(_),O===null)return;if(H=O.tag,H===5||H===6||H===26||H===27){d=b=O;continue e}_=_.parentNode}}d=d.return}Xc(function(){var I=b,be=zu(l),Ee=[];e:{var ge=$_.get(e);if(ge!==void 0){var Ce=pt,ot=e;switch(e){case"keypress":if(Zc(l)===0)break e;case"keydown":case"keyup":Ce=Ew;break;case"focusin":ot="focus",Ce=tn;break;case"focusout":ot="blur",Ce=tn;break;case"beforeblur":case"afterblur":Ce=tn;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":Ce=Pt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ce=xt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ce=Cw;break;case cl:case cr:case fl:Ce=zb;break;case Bb:Ce=Mw;break;case"scroll":case"scrollend":Ce=se;break;case"wheel":Ce=Rw;break;case"copy":case"cut":case"paste":Ce=Lb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ce=Px;break;case"toggle":case"beforetoggle":Ce=Nw}var wt=(a&4)!==0,Wn=!wt&&(e==="scroll"||e==="scrollend"),cn=wt?ge!==null?ge+"Capture":null:ge;wt=[];for(var Q=I,W;Q!==null;){var ie=Q;if(W=ie.stateNode,ie=ie.tag,ie!==5&&ie!==26&&ie!==27||W===null||cn===null||(ie=Po(Q,cn),ie!=null&&wt.push(gi(Q,ie,W))),Wn)break;Q=Q.return}0<wt.length&&(ge=new Ce(ge,ot,null,l,be),Ee.push({event:ge,listeners:wt}))}}if((a&7)===0){e:{if(ge=e==="mouseover"||e==="pointerover",Ce=e==="mouseout"||e==="pointerout",ge&&l!==x&&(ot=l.relatedTarget||l.fromElement)&&(pl(ot)||ot[uu]))break e;if((Ce||ge)&&(ge=be.window===be?be:(ge=be.ownerDocument)?ge.defaultView||ge.parentWindow:window,Ce?(ot=l.relatedTarget||l.toElement,Ce=I,ot=ot?pl(ot):null,ot!==null&&(Wn=U(ot),wt=ot.tag,ot!==Wn||wt!==5&&wt!==27&&wt!==6)&&(ot=null)):(Ce=null,ot=I),Ce!==ot)){if(wt=Pt,ie="onMouseLeave",cn="onMouseEnter",Q="mouse",(e==="pointerout"||e==="pointerover")&&(wt=Px,ie="onPointerLeave",cn="onPointerEnter",Q="pointer"),Wn=Ce==null?ge:ql(Ce),W=ot==null?ge:ql(ot),ge=new wt(ie,Q+"leave",Ce,l,be),ge.target=Wn,ge.relatedTarget=W,ie=null,pl(be)===I&&(wt=new wt(cn,Q+"enter",ot,l,be),wt.target=W,wt.relatedTarget=Wn,ie=wt),Wn=ie,Ce&&ot)t:{for(wt=Ce,cn=ot,Q=0,W=wt;W;W=_a(W))Q++;for(W=0,ie=cn;ie;ie=_a(ie))W++;for(;0<Q-W;)wt=_a(wt),Q--;for(;0<W-Q;)cn=_a(cn),W--;for(;Q--;){if(wt===cn||cn!==null&&wt===cn.alternate)break t;wt=_a(wt),cn=_a(cn)}wt=null}else wt=null;Ce!==null&&h0(Ee,ge,Ce,wt,!1),ot!==null&&Wn!==null&&h0(Ee,Wn,ot,wt,!0)}}e:{if(ge=I?ql(I):window,Ce=ge.nodeName&&ge.nodeName.toLowerCase(),Ce==="select"||Ce==="input"&&ge.type==="file")var Oe=qo;else if(sv(ge))if(ze)Oe=cv;else{Oe=Cm;var Ie=kr}else Ce=ge.nodeName,!Ce||Ce.toLowerCase()!=="input"||ge.type!=="checkbox"&&ge.type!=="radio"?I&&Us(I.elementType)&&(Oe=qo):Oe=uv;if(Oe&&(Oe=Oe(e,I))){Am(Ee,Oe,l,be);break e}Ie&&Ie(e,ge,I),e==="focusout"&&I&&ge.type==="number"&&I.memoizedProps.value!=null&&gm(ge,"number",ge.value)}switch(Ie=I?ql(I):window,e){case"focusin":(sv(Ie)||Ie.contentEditable==="true")&&(Fe=Ie,ut=I,vt=null);break;case"focusout":vt=ut=Fe=null;break;case"mousedown":Bt=!0;break;case"contextmenu":case"mouseup":case"dragend":Bt=!1,Bg(Ee,l,be);break;case"selectionchange":if(Ve)break;case"keydown":case"keyup":Bg(Ee,l,be)}var jt;if(Vb)e:{switch(e){case"compositionstart":var st="onCompositionStart";break e;case"compositionend":st="onCompositionEnd";break e;case"compositionupdate":st="onCompositionUpdate";break e}st=void 0}else k?wi(e,l)&&(st="onCompositionEnd"):e==="keydown"&&l.keyCode===kx&&(st="onCompositionStart");st&&(m&&l.locale!=="ko"&&(k||st!=="onCompositionStart"?st==="onCompositionEnd"&&k&&(jt=ko()):(Ne=be,ye="value"in Ne?Ne.value:Ne.textContent,k=!0)),Ie=Df(I,st),0<Ie.length&&(st=new Hx(st,e,null,l,be),Ee.push({event:st,listeners:Ie}),jt?st.data=jt:(jt=Vs(l),jt!==null&&(st.data=jt)))),(jt=f?Tm(e,l):Od(e,l))&&(st=Df(I,"onBeforeInput"),0<st.length&&(Ie=new vw("onBeforeInput","beforeinput",null,l,be),Ee.push({event:Ie,listeners:st}),Ie.data=jt)),In(Ee,e,I,l,be)}mo(Ee,a)})}function gi(e,a,l){return{instance:e,listener:a,currentTarget:l}}function Df(e,a){for(var l=a+"Capture",d=[];e!==null;){var y=e,b=y.stateNode;if(y=y.tag,y!==5&&y!==26&&y!==27||b===null||(y=Po(e,l),y!=null&&d.unshift(gi(e,y,b)),y=Po(e,a),y!=null&&d.push(gi(e,y,b))),e.tag===3)return d;e=e.return}return[]}function _a(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function h0(e,a,l,d,y){for(var b=a._reactName,O=[];l!==null&&l!==d;){var _=l,H=_.alternate,I=_.stateNode;if(_=_.tag,H!==null&&H===d)break;_!==5&&_!==26&&_!==27||I===null||(H=I,y?(I=Po(l,b),I!=null&&O.unshift(gi(l,I,H))):y||(I=Po(l,b),I!=null&&O.push(gi(l,I,H)))),l=l.return}O.length!==0&&e.push({event:a,listeners:O})}function po(e,a){Ic(e,a),e!=="input"&&e!=="textarea"&&e!=="select"||a==null||a.value!==null||F0||(F0=!0,e==="select"&&a.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var l={registrationNameDependencies:ul,possibleRegistrationNames:hc};Us(e)||typeof a.is=="string"||Ng(e,a,l),a.contentEditable&&!a.suppressContentEditableWarning&&a.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Fn(e,a,l,d){a!==l&&(l=Ja(l),Ja(a)!==l&&(d[e]=a))}function rs(e,a,l){a.forEach(function(d){l[p0(d)]=d==="style"?nu(e):e.getAttribute(d)})}function ll(e,a){a===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof a)}function xp(e,a){return e=e.namespaceURI===Nh||e.namespaceURI===Qf?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=a,e.innerHTML}function Ja(e){return X(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Me(e)),fe(e)),(typeof e=="string"?e:""+e).replace(BF,`
|
|
953
|
+
`).replace(jF,"")}function m0(e,a){return a=Ja(a),Ja(e)===a}function ls(){}function mn(e,a,l,d,y,b){switch(l){case"children":typeof d=="string"?(Yc(d,a,!1),a==="body"||a==="textarea"&&d===""||Nu(e,d)):(typeof d=="number"||typeof d=="bigint")&&(Yc(""+d,a,!1),a!=="body"&&Nu(e,""+d));break;case"className":pd(e,"class",d);break;case"tabIndex":pd(e,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":pd(e,l,d);break;case"style":qc(e,d,b);break;case"data":if(a!=="object"){pd(e,"data",d);break}case"src":case"href":if(d===""&&(a!=="a"||l!=="href")){console.error(l==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',l,l),e.removeAttribute(l);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){e.removeAttribute(l);break}Ae(d,l),d=Fc(""+d),e.setAttribute(l,d);break;case"action":case"formAction":if(d!=null&&(a==="form"?l==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof d=="function"&&(y.encType==null&&y.method==null||h2||(h2=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),y.target==null||d2||(d2=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):a==="input"||a==="button"?l==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):a!=="input"||y.type==="submit"||y.type==="image"||f2?a!=="button"||y.type==null||y.type==="submit"||f2?typeof d=="function"&&(y.name==null||eN||(eN=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),y.formEncType==null&&y.formMethod==null||h2||(h2=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),y.formTarget==null||d2||(d2=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(f2=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(f2=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(l==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof d=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(l==="formAction"?(a!=="input"&&mn(e,a,"name",y.name,y,null),mn(e,a,"formEncType",y.formEncType,y,null),mn(e,a,"formMethod",y.formMethod,y,null),mn(e,a,"formTarget",y.formTarget,y,null)):(mn(e,a,"encType",y.encType,y,null),mn(e,a,"method",y.method,y,null),mn(e,a,"target",y.target,y,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){e.removeAttribute(l);break}Ae(d,l),d=Fc(""+d),e.setAttribute(l,d);break;case"onClick":d!=null&&(typeof d!="function"&&ll(l,d),e.onclick=ls);break;case"onScroll":d!=null&&(typeof d!="function"&&ll(l,d),Gt("scroll",e));break;case"onScrollEnd":d!=null&&(typeof d!="function"&&ll(l,d),Gt("scrollend",e));break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=d.__html,l!=null){if(y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"multiple":e.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":e.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){e.removeAttribute("xlink:href");break}Ae(d,l),l=Fc(""+d),e.setAttributeNS(cy,"xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?(Ae(d,l),e.setAttribute(l,""+d)):e.removeAttribute(l);break;case"inert":d!==""||m2[l]||(m2[l]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",l));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":d&&typeof d!="function"&&typeof d!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":d===!0?e.setAttribute(l,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?(Ae(d,l),e.setAttribute(l,d)):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?(Ae(d,l),e.setAttribute(l,d)):e.removeAttribute(l);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?e.removeAttribute(l):(Ae(d,l),e.setAttribute(l,d));break;case"popover":Gt("beforetoggle",e),Gt("toggle",e),md(e,"popover",d);break;case"xlinkActuate":gl(e,cy,"xlink:actuate",d);break;case"xlinkArcrole":gl(e,cy,"xlink:arcrole",d);break;case"xlinkRole":gl(e,cy,"xlink:role",d);break;case"xlinkShow":gl(e,cy,"xlink:show",d);break;case"xlinkTitle":gl(e,cy,"xlink:title",d);break;case"xlinkType":gl(e,cy,"xlink:type",d);break;case"xmlBase":gl(e,SC,"xml:base",d);break;case"xmlLang":gl(e,SC,"xml:lang",d);break;case"xmlSpace":gl(e,SC,"xml:space",d);break;case"is":b!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),md(e,"is",d);break;case"innerText":case"textContent":break;case"popoverTarget":tN||d==null||typeof d!="object"||(tN=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",d));default:!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N"?(l=Sm(l),md(e,l,d)):ul.hasOwnProperty(l)&&d!=null&&typeof d!="function"&&ll(l,d)}}function $a(e,a,l,d,y,b){switch(l){case"style":qc(e,d,b);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=d.__html,l!=null){if(y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"children":typeof d=="string"?Nu(e,d):(typeof d=="number"||typeof d=="bigint")&&Nu(e,""+d);break;case"onScroll":d!=null&&(typeof d!="function"&&ll(l,d),Gt("scroll",e));break;case"onScrollEnd":d!=null&&(typeof d!="function"&&ll(l,d),Gt("scrollend",e));break;case"onClick":d!=null&&(typeof d!="function"&&ll(l,d),e.onclick=ls);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ul.hasOwnProperty(l))d!=null&&typeof d!="function"&&ll(l,d);else e:{if(l[0]==="o"&&l[1]==="n"&&(y=l.endsWith("Capture"),a=l.slice(2,y?l.length-7:void 0),b=e[ur]||null,b=b!=null?b[l]:null,typeof b=="function"&&e.removeEventListener(a,b,y),typeof d=="function")){typeof b!="function"&&b!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(a,d,y);break e}l in e?e[l]=d:d===!0?e.setAttribute(l,""):md(e,l,d)}}}function ia(e,a,l){switch(po(a,l),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Gt("error",e),Gt("load",e);var d=!1,y=!1,b;for(b in l)if(l.hasOwnProperty(b)){var O=l[b];if(O!=null)switch(b){case"src":d=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mn(e,a,b,O,l,null)}}y&&mn(e,a,"srcSet",l.srcSet,l,null),d&&mn(e,a,"src",l.src,l,null);return;case"input":Bo("input",l),Gt("invalid",e);var _=b=O=y=null,H=null,I=null;for(d in l)if(l.hasOwnProperty(d)){var be=l[d];if(be!=null)switch(d){case"name":y=be;break;case"type":O=be;break;case"checked":H=be;break;case"defaultChecked":I=be;break;case"value":b=be;break;case"defaultValue":_=be;break;case"children":case"dangerouslySetInnerHTML":if(be!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mn(e,a,d,be,l,null)}}Ds(e,l),bd(e,b,_,H,I,O,y,!1),jo(e);return;case"select":Bo("select",l),Gt("invalid",e),d=O=b=null;for(y in l)if(l.hasOwnProperty(y)&&(_=l[y],_!=null))switch(y){case"value":b=_;break;case"defaultValue":O=_;break;case"multiple":d=_;default:mn(e,a,y,_,l,null)}Sd(e,l),a=b,l=O,e.multiple=!!d,a!=null?$o(e,!!d,a,!1):l!=null&&$o(e,!!d,l,!0);return;case"textarea":Bo("textarea",l),Gt("invalid",e),b=y=d=null;for(O in l)if(l.hasOwnProperty(O)&&(_=l[O],_!=null))switch(O){case"value":d=_;break;case"defaultValue":y=_;break;case"children":b=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mn(e,a,O,_,l,null)}yl(e,l),ym(e,d,y,b),jo(e);return;case"option":Pc(e,l);for(H in l)if(l.hasOwnProperty(H)&&(d=l[H],d!=null))switch(H){case"selected":e.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:mn(e,a,H,d,l,null)}return;case"dialog":Gt("beforetoggle",e),Gt("toggle",e),Gt("cancel",e),Gt("close",e);break;case"iframe":case"object":Gt("load",e);break;case"video":case"audio":for(d=0;d<oS.length;d++)Gt(oS[d],e);break;case"image":Gt("error",e),Gt("load",e);break;case"details":Gt("toggle",e);break;case"embed":case"source":case"link":Gt("error",e),Gt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(I in l)if(l.hasOwnProperty(I)&&(d=l[I],d!=null))switch(I){case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mn(e,a,I,d,l,null)}return;default:if(Us(a)){for(be in l)l.hasOwnProperty(be)&&(d=l[be],d!==void 0&&$a(e,a,be,d,l,void 0));return}}for(_ in l)l.hasOwnProperty(_)&&(d=l[_],d!=null&&mn(e,a,_,d,l,null))}function Tv(e,a,l,d){switch(po(a,d),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,b=null,O=null,_=null,H=null,I=null,be=null;for(Ce in l){var Ee=l[Ce];if(l.hasOwnProperty(Ce)&&Ee!=null)switch(Ce){case"checked":break;case"value":break;case"defaultValue":H=Ee;default:d.hasOwnProperty(Ce)||mn(e,a,Ce,null,d,Ee)}}for(var ge in d){var Ce=d[ge];if(Ee=l[ge],d.hasOwnProperty(ge)&&(Ce!=null||Ee!=null))switch(ge){case"type":b=Ce;break;case"name":y=Ce;break;case"checked":I=Ce;break;case"defaultChecked":be=Ce;break;case"value":O=Ce;break;case"defaultValue":_=Ce;break;case"children":case"dangerouslySetInnerHTML":if(Ce!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ce!==Ee&&mn(e,a,ge,Ce,d,Ee)}}a=l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null,d=d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null,a||!d||J8||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),J8=!0),!a||d||W8||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),W8=!0),Rs(e,O,_,H,I,be,b,y);return;case"select":Ce=O=_=ge=null;for(b in l)if(H=l[b],l.hasOwnProperty(b)&&H!=null)switch(b){case"value":break;case"multiple":Ce=H;default:d.hasOwnProperty(b)||mn(e,a,b,null,d,H)}for(y in d)if(b=d[y],H=l[y],d.hasOwnProperty(y)&&(b!=null||H!=null))switch(y){case"value":ge=b;break;case"defaultValue":_=b;break;case"multiple":O=b;default:b!==H&&mn(e,a,y,b,d,H)}d=_,a=O,l=Ce,ge!=null?$o(e,!!a,ge,!1):!!l!=!!a&&(d!=null?$o(e,!!a,d,!0):$o(e,!!a,a?[]:"",!1));return;case"textarea":Ce=ge=null;for(_ in l)if(y=l[_],l.hasOwnProperty(_)&&y!=null&&!d.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:mn(e,a,_,null,d,y)}for(O in d)if(y=d[O],b=l[O],d.hasOwnProperty(O)&&(y!=null||b!=null))switch(O){case"value":ge=y;break;case"defaultValue":Ce=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:y!==b&&mn(e,a,O,y,d,b)}xd(e,ge,Ce);return;case"option":for(var ot in l)if(ge=l[ot],l.hasOwnProperty(ot)&&ge!=null&&!d.hasOwnProperty(ot))switch(ot){case"selected":e.selected=!1;break;default:mn(e,a,ot,null,d,ge)}for(H in d)if(ge=d[H],Ce=l[H],d.hasOwnProperty(H)&&ge!==Ce&&(ge!=null||Ce!=null))switch(H){case"selected":e.selected=ge&&typeof ge!="function"&&typeof ge!="symbol";break;default:mn(e,a,H,ge,d,Ce)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var wt in l)ge=l[wt],l.hasOwnProperty(wt)&&ge!=null&&!d.hasOwnProperty(wt)&&mn(e,a,wt,null,d,ge);for(I in d)if(ge=d[I],Ce=l[I],d.hasOwnProperty(I)&&ge!==Ce&&(ge!=null||Ce!=null))switch(I){case"children":case"dangerouslySetInnerHTML":if(ge!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mn(e,a,I,ge,d,Ce)}return;default:if(Us(a)){for(var Wn in l)ge=l[Wn],l.hasOwnProperty(Wn)&&ge!==void 0&&!d.hasOwnProperty(Wn)&&$a(e,a,Wn,void 0,d,ge);for(be in d)ge=d[be],Ce=l[be],!d.hasOwnProperty(be)||ge===Ce||ge===void 0&&Ce===void 0||$a(e,a,be,ge,d,Ce);return}}for(var cn in l)ge=l[cn],l.hasOwnProperty(cn)&&ge!=null&&!d.hasOwnProperty(cn)&&mn(e,a,cn,null,d,ge);for(Ee in d)ge=d[Ee],Ce=l[Ee],!d.hasOwnProperty(Ee)||ge===Ce||ge==null&&Ce==null||mn(e,a,Ee,ge,d,Ce)}function p0(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function nu(e){var a={};e=e.style;for(var l=0;l<e.length;l++){var d=e[l];a[d]=e.getPropertyValue(d)}return a}function g0(e,a,l){if(a!=null&&typeof a!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var d,y=d="",b;for(b in a)if(a.hasOwnProperty(b)){var O=a[b];O!=null&&typeof O!="boolean"&&O!==""&&(b.indexOf("--")===0?(je(O,b),d+=y+b+":"+(""+O).trim()):typeof O!="number"||O===0||_h.has(b)?(je(O,b),d+=y+b.replace(hs,"-$1").toLowerCase().replace(ms,"-ms-")+":"+(""+O).trim()):d+=y+b.replace(hs,"-$1").toLowerCase().replace(ms,"-ms-")+":"+O+"px",y=";")}d=d||null,a=e.getAttribute("style"),a!==d&&(d=Ja(d),Ja(a)!==d&&(l.style=nu(e)))}}function Vi(e,a,l,d,y,b){if(y.delete(l),e=e.getAttribute(l),e===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(Ae(d,a),e===""+d)return}Fn(a,e,d,b)}function y0(e,a,l,d,y,b){if(y.delete(l),e=e.getAttribute(l),e===null){switch(typeof d){case"function":case"symbol":return}if(!d)return}else switch(typeof d){case"function":case"symbol":break;default:if(d)return}Fn(a,e,d,b)}function v0(e,a,l,d,y,b){if(y.delete(l),e=e.getAttribute(l),e===null)switch(typeof d){case"undefined":case"function":case"symbol":return}else if(d!=null)switch(typeof d){case"function":case"symbol":break;default:if(Ae(d,l),e===""+d)return}Fn(a,e,d,b)}function Tp(e,a,l,d,y,b){if(y.delete(l),e=e.getAttribute(l),e===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(d))return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(!isNaN(d)&&(Ae(d,a),e===""+d))return}Fn(a,e,d,b)}function bn(e,a,l,d,y,b){if(y.delete(l),e=e.getAttribute(l),e===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(Ae(d,a),l=Fc(""+d),e===l)return}Fn(a,e,d,b)}function _n(e,a,l,d){for(var y={},b=new Set,O=e.attributes,_=0;_<O.length;_++)switch(O[_].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:b.add(O[_].name)}if(Us(a)){for(var H in l)if(l.hasOwnProperty(H)){var I=l[H];if(I!=null){if(ul.hasOwnProperty(H))typeof I!="function"&&ll(H,I);else if(l.suppressHydrationWarning!==!0)switch(H){case"children":typeof I!="string"&&typeof I!="number"||Fn("children",e.textContent,I,y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":O=e.innerHTML,I=I?I.__html:void 0,I!=null&&(I=xp(e,I),Fn(H,O,I,y));continue;case"style":b.delete(H),g0(e,I,y);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":b.delete(H.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",H);continue;case"className":b.delete("class"),O=tv(e,"class",I),Fn("className",O,I,y);continue;default:d.context===kh&&a!=="svg"&&a!=="math"?b.delete(H.toLowerCase()):b.delete(H),O=tv(e,H,I),Fn(H,O,I,y)}}}}else for(I in l)if(l.hasOwnProperty(I)&&(H=l[I],H!=null)){if(ul.hasOwnProperty(I))typeof H!="function"&&ll(I,H);else if(l.suppressHydrationWarning!==!0)switch(I){case"children":typeof H!="string"&&typeof H!="number"||Fn("children",e.textContent,H,y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":O=e.innerHTML,H=H?H.__html:void 0,H!=null&&(H=xp(e,H),O!==H&&(y[I]={__html:O}));continue;case"className":Vi(e,I,"class",H,b,y);continue;case"tabIndex":Vi(e,I,"tabindex",H,b,y);continue;case"style":b.delete(I),g0(e,H,y);continue;case"multiple":b.delete(I),Fn(I,e.multiple,H,y);continue;case"muted":b.delete(I),Fn(I,e.muted,H,y);continue;case"autoFocus":b.delete("autofocus"),Fn(I,e.autofocus,H,y);continue;case"data":if(a!=="object"){b.delete(I),O=e.getAttribute("data"),Fn(I,O,H,y);continue}case"src":case"href":if(!(H!==""||a==="a"&&I==="href"||a==="object"&&I==="data")){console.error(I==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',I,I);continue}bn(e,I,I,H,b,y);continue;case"action":case"formAction":if(O=e.getAttribute(I),typeof H=="function"){b.delete(I.toLowerCase()),I==="formAction"?(b.delete("name"),b.delete("formenctype"),b.delete("formmethod"),b.delete("formtarget")):(b.delete("enctype"),b.delete("method"),b.delete("target"));continue}else if(O===$F){b.delete(I.toLowerCase()),Fn(I,"function",H,y);continue}bn(e,I,I.toLowerCase(),H,b,y);continue;case"xlinkHref":bn(e,I,"xlink:href",H,b,y);continue;case"contentEditable":v0(e,I,"contenteditable",H,b,y);continue;case"spellCheck":v0(e,I,"spellcheck",H,b,y);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":v0(e,I,I,H,b,y);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":y0(e,I,I.toLowerCase(),H,b,y);continue;case"capture":case"download":e:{_=e;var be=O=I,Ee=y;if(b.delete(be),_=_.getAttribute(be),_===null)switch(typeof H){case"undefined":case"function":case"symbol":break e;default:if(H===!1)break e}else if(H!=null)switch(typeof H){case"function":case"symbol":break;case"boolean":if(H===!0&&_==="")break e;break;default:if(Ae(H,O),_===""+H)break e}Fn(O,_,H,Ee)}continue;case"cols":case"rows":case"size":case"span":e:{if(_=e,be=O=I,Ee=y,b.delete(be),_=_.getAttribute(be),_===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(H)||1>H)break e}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(H)||1>H)&&(Ae(H,O),_===""+H))break e}Fn(O,_,H,Ee)}continue;case"rowSpan":Tp(e,I,"rowspan",H,b,y);continue;case"start":Tp(e,I,I,H,b,y);continue;case"xHeight":Vi(e,I,"x-height",H,b,y);continue;case"xlinkActuate":Vi(e,I,"xlink:actuate",H,b,y);continue;case"xlinkArcrole":Vi(e,I,"xlink:arcrole",H,b,y);continue;case"xlinkRole":Vi(e,I,"xlink:role",H,b,y);continue;case"xlinkShow":Vi(e,I,"xlink:show",H,b,y);continue;case"xlinkTitle":Vi(e,I,"xlink:title",H,b,y);continue;case"xlinkType":Vi(e,I,"xlink:type",H,b,y);continue;case"xmlBase":Vi(e,I,"xml:base",H,b,y);continue;case"xmlLang":Vi(e,I,"xml:lang",H,b,y);continue;case"xmlSpace":Vi(e,I,"xml:space",H,b,y);continue;case"inert":H!==""||m2[I]||(m2[I]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",I)),y0(e,I,I,H,b,y);continue;default:if(!(2<I.length)||I[0]!=="o"&&I[0]!=="O"||I[1]!=="n"&&I[1]!=="N"){_=Sm(I),O=!1,d.context===kh&&a!=="svg"&&a!=="math"?b.delete(_.toLowerCase()):(be=I.toLowerCase(),be=vc.hasOwnProperty(be)&&vc[be]||null,be!==null&&be!==I&&(O=!0,b.delete(be)),b.delete(_));e:if(be=e,Ee=_,_=H,Os(Ee))if(be.hasAttribute(Ee))be=be.getAttribute(Ee),Ae(_,Ee),_=be===""+_?_:be;else{switch(typeof _){case"function":case"symbol":break e;case"boolean":if(be=Ee.toLowerCase().slice(0,5),be!=="data-"&&be!=="aria-")break e}_=_===void 0?void 0:null}else _=void 0;O||Fn(I,_,H,y)}}}return 0<b.size&&l.suppressHydrationWarning!==!0&&rs(e,b,y),Object.keys(y).length===0?null:y}function Ft(e,a){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+a+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+a+" "+e[e.length-1]}}function Xt(e){return e.nodeType===9?e:e.ownerDocument}function xn(e){switch(e){case Qf:return h1;case Nh:return y2;default:return kh}}function rr(e,a){if(e===kh)switch(a){case"svg":return h1;case"math":return y2;default:return kh}return e===h1&&a==="foreignObject"?kh:e}function go(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}function Rf(){var e=window.event;return e&&e.type==="popstate"?e===AC?!1:(AC=e,!0):(AC=null,!1)}function b0(e){setTimeout(function(){throw e})}function os(e,a,l){switch(a){case"button":case"input":case"select":case"textarea":l.autoFocus&&e.focus();break;case"img":l.src?e.src=l.src:l.srcSet&&(e.srcset=l.srcSet)}}function ra(e,a,l,d){Tv(e,a,l,d),e[ur]=d}function ss(e){Nu(e,"")}function ic(e,a,l){e.nodeValue=l}function yo(e){return e==="head"}function ol(e,a){e.removeChild(a)}function _f(e,a){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(a)}function Nf(e,a){var l=a,d=0,y=0;do{var b=l.nextSibling;if(e.removeChild(l),b&&b.nodeType===8)if(l=b.data,l===g2){if(0<d&&8>d){l=d;var O=e.ownerDocument;if(l&PF&&Uf(O.documentElement),l&kF&&Uf(O.body),l&YF)for(l=O.head,Uf(l),O=l.firstChild;O;){var _=O.nextSibling,H=O.nodeName;O[Ff]||H==="SCRIPT"||H==="STYLE"||H==="LINK"&&O.rel.toLowerCase()==="stylesheet"||l.removeChild(O),O=_}}if(y===0){e.removeChild(b),lu(a);return}y--}else l===p2||l===Ph||l===sS?y++:d=l.charCodeAt(0)-48;else d=0;l=b}while(l);lu(a)}function lr(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function S0(e){e.nodeValue=""}function x0(e,a){a=a[qF],a=a!=null&&a.hasOwnProperty("display")?a.display:null,e.style.display=a==null||typeof a=="boolean"?"":(""+a).trim()}function zf(e,a){e.nodeValue=a}function rc(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var l=a;switch(a=a.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":rc(l),ws(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function au(e,a,l,d){for(;e.nodeType===1;){var y=l;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!d&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(d){if(!e[Ff])switch(a){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(b=e.getAttribute("rel"),b==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(b!==y.rel||e.getAttribute("href")!==(y.href==null||y.href===""?null:y.href)||e.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||e.getAttribute("title")!==(y.title==null?null:y.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(b=e.getAttribute("src"),(b!==(y.src==null?null:y.src)||e.getAttribute("type")!==(y.type==null?null:y.type)||e.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&b&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){Ae(y.name,"name");var b=y.name==null?null:""+y.name;if(y.type==="hidden"&&e.getAttribute("name")===b)return e}else return e;if(e=ti(e.nextSibling),e===null)break}return null}function ei(e,a,l){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=ti(e.nextSibling),e===null))return null;return e}function vo(e){return e.data===sS||e.data===Ph&&e.ownerDocument.readyState===aN}function Lf(e,a){var l=e.ownerDocument;if(e.data!==Ph||l.readyState===aN)a();else{var d=function(){a(),l.removeEventListener("DOMContentLoaded",d)};l.addEventListener("DOMContentLoaded",d),e._reactRetry=d}}function ti(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a===p2||a===sS||a===Ph||a===xC||a===nN)break;if(a===g2)return null}}return e}function Ep(e){if(e.nodeType===1){for(var a=e.nodeName.toLowerCase(),l={},d=e.attributes,y=0;y<d.length;y++){var b=d[y];l[p0(b.name)]=b.name.toLowerCase()==="style"?nu(e):b.value}return{type:a,props:l}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function Ap(e,a,l){return l===null||l[HF]!==!0?(e.nodeValue===a?e=null:(a=Ja(a),e=Ja(e.nodeValue)===a?null:e.nodeValue),e):null}function T0(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var l=e.data;if(l===g2){if(a===0)return ti(e.nextSibling);a--}else l!==p2&&l!==sS&&l!==Ph||a++}e=e.nextSibling}return null}function lc(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var l=e.data;if(l===p2||l===sS||l===Ph){if(a===0)return e;a--}else l===g2&&a++}e=e.previousSibling}return null}function E0(e){lu(e)}function yi(e){lu(e)}function A0(e,a,l,d,y){switch(y&&Cd(e,d.ancestorInfo),a=Xt(l),e){case"html":if(e=a.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=a.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=a.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Or(e,a,l,d){if(!l[uu]&&Ti(l)){var y=l.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",y,y,y)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(y=l.attributes;y.length;)l.removeAttributeNode(y[0]);ia(l,e,a),l[bi]=d,l[ur]=a}function Uf(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);ws(e)}function hh(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Ev(e,a,l){var d=m1;if(d&&typeof a=="string"&&a){var y=vr(a);y='link[rel="'+e+'"][href="'+y+'"]',typeof l=="string"&&(y+='[crossorigin="'+l+'"]'),uN.has(y)||(uN.add(y),e={rel:e,crossOrigin:l,href:a},d.querySelector(y)===null&&(a=d.createElement("link"),ia(a,"link",e),Ua(a),d.head.appendChild(a)))}}function us(e,a,l,d){var y=(y=Rl.current)?hh(y):null;if(!y)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=iu(l.href),a=Hr(y).hoistableStyles,d=a.get(l),d||(d={type:"style",instance:null,count:0,state:null},a.set(l,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=iu(l.href);var b=Hr(y).hoistableStyles,O=b.get(e);if(!O&&(y=y.ownerDocument||y,O={type:"stylesheet",instance:null,count:0,state:{loading:dy,preload:null}},b.set(e,O),(b=y.querySelector(bo(e)))&&!b._p&&(O.instance=b,O.state.loading=uS|xu),!Tu.has(e))){var _={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy};Tu.set(e,_),b||Av(y,e,_,O.state)}if(a&&d===null)throw l=`
|
|
954
954
|
|
|
955
955
|
- `+oc(a)+`
|
|
956
956
|
+ `+oc(l),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+l);return O}if(a&&d!==null)throw l=`
|
|
957
957
|
|
|
958
958
|
- `+oc(a)+`
|
|
959
|
-
+ `+oc(l),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+l);return null;case"script":return a=l.async,l=l.src,typeof l=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(l=sc(l),a=Hr(y).hoistableScripts,d=a.get(l),d||(d={type:"script",instance:null,count:0,state:null},a.set(l,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function oc(e){var a=0,l="<link";return typeof e.rel=="string"?(a++,l+=' rel="'+e.rel+'"'):fs.call(e,"rel")&&(a++,l+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(a++,l+=' href="'+e.href+'"'):fs.call(e,"href")&&(a++,l+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(a++,l+=' precedence="'+e.precedence+'"'):fs.call(e,"precedence")&&(a++,l+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>a&&(l+=" ..."),l+" />"}function iu(e){return'href="'+vr(e)+'"'}function bo(e){return'link[rel="stylesheet"]['+e+"]"}function w0(e){return Ut({},e,{"data-precedence":e.precedence,precedence:null})}function Av(e,a,l,d){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?d.loading=uS:(a=e.createElement("link"),d.preload=a,a.addEventListener("load",function(){return d.loading|=uS}),a.addEventListener("error",function(){return d.loading|=oN}),ia(a,"link",l),Ua(a),e.head.appendChild(a))}function sc(e){return'[src="'+vr(e)+'"]'}function uc(e){return"script[async]"+e}function wp(e,a,l){if(a.count++,a.instance===null)switch(a.type){case"style":var d=e.querySelector('style[data-href~="'+vr(l.href)+'"]');if(d)return a.instance=d,Ua(d),d;var y=Ut({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return d=(e.ownerDocument||e).createElement("style"),Ua(d),ia(d,"style",y),Cp(d,l.precedence,e),a.instance=d;case"stylesheet":y=iu(l.href);var b=e.querySelector(bo(y));if(b)return a.state.loading|=xu,a.instance=b,Ua(b),b;d=w0(l),(y=Tu.get(y))&&C0(d,y),b=(e.ownerDocument||e).createElement("link"),Ua(b);var O=b;return O._p=new Promise(function(_,H){O.onload=_,O.onerror=H}),ia(b,"link",d),a.state.loading|=xu,Cp(b,l.precedence,e),a.instance=b;case"script":return b=sc(l.src),(y=e.querySelector(uc(b)))?(a.instance=y,Ua(y),y):(d=l,(y=Tu.get(b))&&(d=Ut({},l),Op(d,y)),e=e.ownerDocument||e,y=e.createElement("script"),Ua(y),ia(y,"link",d),e.head.appendChild(y),a.instance=y);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+a.type+'". this is a bug in React.')}else a.type==="stylesheet"&&(a.state.loading&xu)===dy&&(d=a.instance,a.state.loading|=xu,Cp(d,l.precedence,e));return a.instance}function Cp(e,a,l){for(var d=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=d.length?d[d.length-1]:null,b=y,O=0;O<d.length;O++){var _=d[O];if(_.dataset.precedence===a)b=_;else if(b!==y)break}b?b.parentNode.insertBefore(e,b.nextSibling):(a=l.nodeType===9?l.head:l,a.insertBefore(e,a.firstChild))}function C0(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function Op(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}function Mp(e,a,l){if(v2===null){var d=new Map,y=v2=new Map;y.set(l,d)}else y=v2,d=y.get(l),d||(d=new Map,y.set(l,d));if(d.has(e))return d;for(d.set(e,null),l=l.getElementsByTagName(e),y=0;y<l.length;y++){var b=l[y];if(!(b[Ff]||b[bi]||e==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!==Qf){var O=b.getAttribute(a)||"";O=e+O;var _=d.get(O);_?_.push(b):d.set(O,[b])}}return d}function O0(e,a,l){e=e.ownerDocument||e,e.head.insertBefore(l,a==="title"?e.querySelector("head > title"):null)}function Vf(e,a,l){var d=!l.ancestorInfo.containerTagInScope;if(l.context===h1||a.itemProp!=null)return!d||a.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href===""){d&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError){if(a.rel==="stylesheet"&&typeof a.precedence=="string"){e=a.href;var y=a.onError,b=a.disabled;l=[],a.onLoad&&l.push("`onLoad`"),y&&l.push("`onError`"),b!=null&&l.push("`disabled`"),y=Ft(l,"and"),y+=l.length===1?" prop":" props",b=l.length===1?"an "+y:"the "+y,l.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,b,y)}d&&(typeof a.rel!="string"||typeof a.href!="string"||a.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(a.onError||a.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(a.rel){case"stylesheet":return e=a.precedence,a=a.disabled,typeof e!="string"&&d&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&a==null;default:return!0}case"script":if(e=a.async&&typeof a.async!="function"&&typeof a.async!="symbol",!e||a.onLoad||a.onError||!a.src||typeof a.src!="string"){d&&(e?a.onLoad||a.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":d&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function mh(e){return!(e.type==="stylesheet"&&(e.state.loading&sN)===dy)}function wv(){}function ph(e,a,l){if(cS===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var d=cS;if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&xu)===dy){if(a.instance===null){var y=iu(l.href),b=e.querySelector(bo(y));if(b){e=b._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(d.count++,d=gh.bind(d),e.then(d,d)),a.state.loading|=xu,a.instance=b,Ua(b);return}b=e.ownerDocument||e,l=w0(l),(y=Tu.get(y))&&C0(l,y),b=b.createElement("link"),Ua(b);var O=b;O._p=new Promise(function(_,H){O.onload=_,O.onerror=H}),ia(b,"link",l),a.instance=b}d.stylesheets===null&&(d.stylesheets=new Map),d.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&sN)===dy&&(d.count++,a=gh.bind(d),e.addEventListener("load",a),e.addEventListener("error",a))}}function Cv(){if(cS===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=cS;return e.stylesheets&&e.count===0&&Dp(e,e.stylesheets),0<e.count?function(a){var l=setTimeout(function(){if(e.stylesheets&&Dp(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l)}}:null}function gh(){if(this.count--,this.count===0){if(this.stylesheets)Dp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Dp(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,b2=new Map,a.forEach(Ov,e),b2=null,gh.call(e))}function Ov(e,a){if(!(a.state.loading&xu)){var l=b2.get(e);if(l)var d=l.get(CC);else{l=new Map,b2.set(e,l);for(var y=e.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<y.length;b++){var O=y[b];(O.nodeName==="LINK"||O.getAttribute("media")!=="not all")&&(l.set(O.dataset.precedence,O),d=O)}d&&l.set(CC,d)}y=a.instance,O=y.getAttribute("data-precedence"),b=l.get(O)||d,b===d&&l.set(CC,y),l.set(O,y),this.count++,d=gh.bind(this),y.addEventListener("load",d),y.addEventListener("error",d),b?b.parentNode.insertBefore(y,b.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(y,e.firstChild)),a.state.loading|=xu}}function Rp(e,a,l,d,y,b,O,_){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=fy,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gr(0),this.hiddenUpdates=gr(null),this.identifierPrefix=d,this.onUncaughtError=y,this.onCaughtError=b,this.onRecoverableError=O,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],a=0;31>a;a++)e.push(new Set);this._debugRootType=l?"hydrateRoot()":"createRoot()"}function M0(e,a,l,d,y,b,O,_,H,I,be,Ee){return e=new Rp(e,a,l,O,_,H,I,Ee),a=hF,b===!0&&(a|=dl|Sc),Kn&&(a|=_r),b=M(3,null,null,a),e.current=b,b.stateNode=e,a=Vd(),ju(a),e.pooledCache=a,ju(a),b.memoizedState={element:d,isDehydrated:l,cache:a},Ii(b),e}function D0(e){return e?(e=Xp,e):Xp}function Cn(e,a,l,d,y,b){if(ai&&typeof ai.onScheduleFiberRoot=="function")try{ai.onScheduleFiberRoot(su,d,l)}catch(O){sr||(sr=!0,console.error("React instrumentation encountered an error: %s",O))}Ke!==null&&typeof Ke.markRenderScheduled=="function"&&Ke.markRenderScheduled(a),y=D0(y),d.context===null?d.context=y:d.pendingContext=y,$i&&Rr!==null&&!hN&&(hN=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
959
|
+
+ `+oc(l),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+l);return null;case"script":return a=l.async,l=l.src,typeof l=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(l=sc(l),a=Hr(y).hoistableScripts,d=a.get(l),d||(d={type:"script",instance:null,count:0,state:null},a.set(l,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function oc(e){var a=0,l="<link";return typeof e.rel=="string"?(a++,l+=' rel="'+e.rel+'"'):fs.call(e,"rel")&&(a++,l+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(a++,l+=' href="'+e.href+'"'):fs.call(e,"href")&&(a++,l+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(a++,l+=' precedence="'+e.precedence+'"'):fs.call(e,"precedence")&&(a++,l+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>a&&(l+=" ..."),l+" />"}function iu(e){return'href="'+vr(e)+'"'}function bo(e){return'link[rel="stylesheet"]['+e+"]"}function w0(e){return Ut({},e,{"data-precedence":e.precedence,precedence:null})}function Av(e,a,l,d){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?d.loading=uS:(a=e.createElement("link"),d.preload=a,a.addEventListener("load",function(){return d.loading|=uS}),a.addEventListener("error",function(){return d.loading|=oN}),ia(a,"link",l),Ua(a),e.head.appendChild(a))}function sc(e){return'[src="'+vr(e)+'"]'}function uc(e){return"script[async]"+e}function wp(e,a,l){if(a.count++,a.instance===null)switch(a.type){case"style":var d=e.querySelector('style[data-href~="'+vr(l.href)+'"]');if(d)return a.instance=d,Ua(d),d;var y=Ut({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return d=(e.ownerDocument||e).createElement("style"),Ua(d),ia(d,"style",y),Cp(d,l.precedence,e),a.instance=d;case"stylesheet":y=iu(l.href);var b=e.querySelector(bo(y));if(b)return a.state.loading|=xu,a.instance=b,Ua(b),b;d=w0(l),(y=Tu.get(y))&&C0(d,y),b=(e.ownerDocument||e).createElement("link"),Ua(b);var O=b;return O._p=new Promise(function(_,H){O.onload=_,O.onerror=H}),ia(b,"link",d),a.state.loading|=xu,Cp(b,l.precedence,e),a.instance=b;case"script":return b=sc(l.src),(y=e.querySelector(uc(b)))?(a.instance=y,Ua(y),y):(d=l,(y=Tu.get(b))&&(d=Ut({},l),Op(d,y)),e=e.ownerDocument||e,y=e.createElement("script"),Ua(y),ia(y,"link",d),e.head.appendChild(y),a.instance=y);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+a.type+'". this is a bug in React.')}else a.type==="stylesheet"&&(a.state.loading&xu)===dy&&(d=a.instance,a.state.loading|=xu,Cp(d,l.precedence,e));return a.instance}function Cp(e,a,l){for(var d=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=d.length?d[d.length-1]:null,b=y,O=0;O<d.length;O++){var _=d[O];if(_.dataset.precedence===a)b=_;else if(b!==y)break}b?b.parentNode.insertBefore(e,b.nextSibling):(a=l.nodeType===9?l.head:l,a.insertBefore(e,a.firstChild))}function C0(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function Op(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}function Mp(e,a,l){if(v2===null){var d=new Map,y=v2=new Map;y.set(l,d)}else y=v2,d=y.get(l),d||(d=new Map,y.set(l,d));if(d.has(e))return d;for(d.set(e,null),l=l.getElementsByTagName(e),y=0;y<l.length;y++){var b=l[y];if(!(b[Ff]||b[bi]||e==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!==Qf){var O=b.getAttribute(a)||"";O=e+O;var _=d.get(O);_?_.push(b):d.set(O,[b])}}return d}function O0(e,a,l){e=e.ownerDocument||e,e.head.insertBefore(l,a==="title"?e.querySelector("head > title"):null)}function Vf(e,a,l){var d=!l.ancestorInfo.containerTagInScope;if(l.context===h1||a.itemProp!=null)return!d||a.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href===""){d&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError){if(a.rel==="stylesheet"&&typeof a.precedence=="string"){e=a.href;var y=a.onError,b=a.disabled;l=[],a.onLoad&&l.push("`onLoad`"),y&&l.push("`onError`"),b!=null&&l.push("`disabled`"),y=Ft(l,"and"),y+=l.length===1?" prop":" props",b=l.length===1?"an "+y:"the "+y,l.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,b,y)}d&&(typeof a.rel!="string"||typeof a.href!="string"||a.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(a.onError||a.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(a.rel){case"stylesheet":return e=a.precedence,a=a.disabled,typeof e!="string"&&d&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&a==null;default:return!0}case"script":if(e=a.async&&typeof a.async!="function"&&typeof a.async!="symbol",!e||a.onLoad||a.onError||!a.src||typeof a.src!="string"){d&&(e?a.onLoad||a.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":d&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function mh(e){return!(e.type==="stylesheet"&&(e.state.loading&sN)===dy)}function wv(){}function ph(e,a,l){if(cS===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var d=cS;if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&xu)===dy){if(a.instance===null){var y=iu(l.href),b=e.querySelector(bo(y));if(b){e=b._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(d.count++,d=gh.bind(d),e.then(d,d)),a.state.loading|=xu,a.instance=b,Ua(b);return}b=e.ownerDocument||e,l=w0(l),(y=Tu.get(y))&&C0(l,y),b=b.createElement("link"),Ua(b);var O=b;O._p=new Promise(function(_,H){O.onload=_,O.onerror=H}),ia(b,"link",l),a.instance=b}d.stylesheets===null&&(d.stylesheets=new Map),d.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&sN)===dy&&(d.count++,a=gh.bind(d),e.addEventListener("load",a),e.addEventListener("error",a))}}function Cv(){if(cS===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=cS;return e.stylesheets&&e.count===0&&Dp(e,e.stylesheets),0<e.count?function(a){var l=setTimeout(function(){if(e.stylesheets&&Dp(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l)}}:null}function gh(){if(this.count--,this.count===0){if(this.stylesheets)Dp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Dp(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,b2=new Map,a.forEach(Ov,e),b2=null,gh.call(e))}function Ov(e,a){if(!(a.state.loading&xu)){var l=b2.get(e);if(l)var d=l.get(CC);else{l=new Map,b2.set(e,l);for(var y=e.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<y.length;b++){var O=y[b];(O.nodeName==="LINK"||O.getAttribute("media")!=="not all")&&(l.set(O.dataset.precedence,O),d=O)}d&&l.set(CC,d)}y=a.instance,O=y.getAttribute("data-precedence"),b=l.get(O)||d,b===d&&l.set(CC,y),l.set(O,y),this.count++,d=gh.bind(this),y.addEventListener("load",d),y.addEventListener("error",d),b?b.parentNode.insertBefore(y,b.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(y,e.firstChild)),a.state.loading|=xu}}function Rp(e,a,l,d,y,b,O,_){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=fy,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gr(0),this.hiddenUpdates=gr(null),this.identifierPrefix=d,this.onUncaughtError=y,this.onCaughtError=b,this.onRecoverableError=O,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],a=0;31>a;a++)e.push(new Set);this._debugRootType=l?"hydrateRoot()":"createRoot()"}function M0(e,a,l,d,y,b,O,_,H,I,be,Ee){return e=new Rp(e,a,l,O,_,H,I,Ee),a=gF,b===!0&&(a|=dl|Sc),Kn&&(a|=_r),b=M(3,null,null,a),e.current=b,b.stateNode=e,a=Vd(),ju(a),e.pooledCache=a,ju(a),b.memoizedState={element:d,isDehydrated:l,cache:a},Ii(b),e}function D0(e){return e?(e=Xp,e):Xp}function Cn(e,a,l,d,y,b){if(ai&&typeof ai.onScheduleFiberRoot=="function")try{ai.onScheduleFiberRoot(su,d,l)}catch(O){sr||(sr=!0,console.error("React instrumentation encountered an error: %s",O))}Ke!==null&&typeof Ke.markRenderScheduled=="function"&&Ke.markRenderScheduled(a),y=D0(y),d.context===null?d.context=y:d.pendingContext=y,$i&&Rr!==null&&!hN&&(hN=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
960
960
|
|
|
961
|
-
Check the render method of %s.`,ve(Rr)||"Unknown")),d=Ql(a),d.payload={element:l},b=b===void 0?null:b,b!==null&&(typeof b!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",b),d.callback=b),l=Fi(e,d,a),l!==null&&(aa(l,e,a),Mi(l,e,a))}function _p(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<a?l:a}}function R0(e,a){_p(e,a),(e=e.alternate)&&_p(e,a)}function _0(e){if(e.tag===13){var a=si(e,67108864);a!==null&&aa(a,e,67108864),R0(e,67108864)}}function Np(){return Rr}function Ob(){for(var e=new Map,a=1,l=0;31>l;l++){var d=wa(a);e.set(a,d),a*=2}return e}function Mv(e,a,l,d){var y=xe.T;xe.T=null;var b=Tt.p;try{Tt.p=ii,So(e,a,l,d)}finally{Tt.p=b,xe.T=y}}function yh(e,a,l,d){var y=xe.T;xe.T=null;var b=Tt.p;try{Tt.p=Vt,So(e,a,l,d)}finally{Tt.p=b,xe.T=y}}function So(e,a,l,d){if(x2){var y=Bf(d);if(y===null)Ui(e,a,d,T2,l),cs(e,d);else if(bh(y,e,a,l,d))d.stopPropagation();else if(cs(e,d),a&4&&-1<GF.indexOf(e)){for(;y!==null;){var b=Ti(y);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var O=pr(b.pendingLanes);if(O!==0){var _=b;for(_.pendingLanes|=2,_.entangledLanes|=2;O;){var H=1<<31-Xn(O);_.entanglements[1]|=H,O&=~H}ir(b),(zn&(Bl|Ac))===gs&&(r2=_l()+G8,tu(0))}}break;case 13:_=si(b,2),_!==null&&aa(_,b,2),is(),R0(b,2)}if(b=Bf(d),b===null&&Ui(e,a,d,T2,l),b===y)break;y=b}y!==null&&d.stopPropagation()}else Ui(e,a,d,null,l)}}function Bf(e){return e=zu(e),cc(e)}function cc(e){if(T2=null,e=pl(e),e!==null){var a=U(e);if(a===null)e=null;else{var l=a.tag;if(l===13){if(e=G(a),e!==null)return e;e=null}else if(l===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return T2=e,null}function vh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return ii;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Vt;case"message":switch(sl()){case Yf:return ii;case Ah:return Vt;case dc:case jp:return ds;case ni:return Ch;default:return ds}default:return ds}}function cs(e,a){switch(e){case"focusin":case"focusout":ig=null;break;case"dragenter":case"dragleave":rg=null;break;case"mouseover":case"mouseout":lg=null;break;case"pointerover":case"pointerout":dS.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":hS.delete(a.pointerId)}}function or(e,a,l,d,y,b){return e===null||e.nativeEvent!==b?(e={blockedOn:a,domEventName:l,eventSystemFlags:d,nativeEvent:b,targetContainers:[y]},a!==null&&(a=Ti(a),a!==null&&_0(a)),e):(e.eventSystemFlags|=d,a=e.targetContainers,y!==null&&a.indexOf(y)===-1&&a.push(y),e)}function bh(e,a,l,d,y){switch(a){case"focusin":return ig=or(ig,e,a,l,d,y),!0;case"dragenter":return rg=or(rg,e,a,l,d,y),!0;case"mouseover":return lg=or(lg,e,a,l,d,y),!0;case"pointerover":var b=y.pointerId;return dS.set(b,or(dS.get(b)||null,e,a,l,d,y)),!0;case"gotpointercapture":return b=y.pointerId,hS.set(b,or(hS.get(b)||null,e,a,l,d,y)),!0}return!1}function Dv(e){var a=pl(e.target);if(a!==null){var l=U(a);if(l!==null){if(a=l.tag,a===13){if(a=G(l),a!==null){e.blockedOn=a,Dg(e.priority,function(){if(l.tag===13){var d=ar(l);d=tt(d);var y=si(l,d);y!==null&&aa(y,l,d),R0(l,d)}});return}}else if(a===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ru(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var l=Bf(e.nativeEvent);if(l===null){l=e.nativeEvent;var d=new l.constructor(l.type,l),y=d;x!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),x=y,l.target.dispatchEvent(d),x===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),x=null}else return a=Ti(l),a!==null&&_0(a),e.blockedOn=l,!1;a.shift()}return!0}function jf(e,a,l){ru(e)&&l.delete(a)}function Rv(){OC=!1,ig!==null&&ru(ig)&&(ig=null),rg!==null&&ru(rg)&&(rg=null),lg!==null&&ru(lg)&&(lg=null),dS.forEach(jf),hS.forEach(jf)}function Sh(e,a){e.blockedOn===a&&(e.blockedOn=null,OC||(OC=!0,la.unstable_scheduleCallback(la.unstable_NormalPriority,Rv)))}function zp(e){E2!==e&&(E2=e,la.unstable_scheduleCallback(la.unstable_NormalPriority,function(){E2===e&&(E2=null);for(var a=0;a<e.length;a+=3){var l=e[a],d=e[a+1],y=e[a+2];if(typeof d!="function"){if(cc(d||l)===null)continue;break}var b=Ti(l);b!==null&&(e.splice(a,3),a-=3,l={pending:!0,data:y,method:l.method,action:d},Object.freeze(l),ks(b,l,d,y))}}))}function lu(e){function a(H){return Sh(H,e)}ig!==null&&Sh(ig,e),rg!==null&&Sh(rg,e),lg!==null&&Sh(lg,e),dS.forEach(a),hS.forEach(a);for(var l=0;l<og.length;l++){var d=og[l];d.blockedOn===e&&(d.blockedOn=null)}for(;0<og.length&&(l=og[0],l.blockedOn===null);)Dv(l),l.blockedOn===null&&og.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(d=0;d<l.length;d+=3){var y=l[d],b=l[d+1],O=y[ur]||null;if(typeof b=="function")O||zp(l);else if(O){var _=null;if(b&&b.hasAttribute("formAction")){if(y=b,O=b[ur]||null)_=O.formAction;else if(cc(y)!==null)continue}else _=O.action;typeof _=="function"?l[d+1]=_:(l.splice(d,3),d-=3),zp(l)}}}function Lp(e){this._internalRoot=e}function xh(e){this._internalRoot=e}function _v(e){e[uu]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var la=L_(),Th=ee,Mb=mS,Ut=Object.assign,Eh=Symbol.for("react.element"),ou=Symbol.for("react.transitional.element"),fc=Symbol.for("react.portal"),Nt=Symbol.for("react.fragment"),$f=Symbol.for("react.strict_mode"),vi=Symbol.for("react.profiler"),N0=Symbol.for("react.provider"),Up=Symbol.for("react.consumer"),Ha=Symbol.for("react.context"),bt=Symbol.for("react.forward_ref"),Hf=Symbol.for("react.suspense"),da=Symbol.for("react.suspense_list"),qn=Symbol.for("react.memo"),Mr=Symbol.for("react.lazy"),xo=Symbol.for("react.activity"),Nv=Symbol.for("react.memo_cache_sentinel"),z0=Symbol.iterator,Vp=Symbol.for("react.client.reference"),Ct=Array.isArray,xe=Th.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Tt=Mb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Db=Object.freeze({pending:!1,data:null,method:null,action:null}),Dr=[],Pf=[],Bi=-1,Sn=He(null),Nn=He(null),Rl=He(null),kf=He(null),fs=Object.prototype.hasOwnProperty,Bp=la.unstable_scheduleCallback,Rb=la.unstable_cancelCallback,zv=la.unstable_shouldYield,_b=la.unstable_requestPaint,_l=la.unstable_now,sl=la.unstable_getCurrentPriorityLevel,Yf=la.unstable_ImmediatePriority,Ah=la.unstable_UserBlockingPriority,dc=la.unstable_NormalPriority,jp=la.unstable_LowPriority,ni=la.unstable_IdlePriority,qf=la.log,Nl=la.unstable_setDisableYieldValue,su=null,ai=null,Ke=null,sr=!1,Kn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Xn=Math.clz32?Math.clz32:Jt,Ot=Math.log,To=Math.LN2,ji=256,wh=4194304,ii=2,Vt=8,ds=32,Ch=268435456,zl=Math.random().toString(36).slice(2),bi="__reactFiber$"+zl,ur="__reactProps$"+zl,uu="__reactContainer$"+zl,L0="__reactEvents$"+zl,Lv="__reactListeners$"+zl,Gf="__reactHandles$"+zl,If="__reactResources$"+zl,Ff="__reactMarker$"+zl,Uv=new Set,ul={},hc={},Vv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},$p=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Xf={},Hp={},Eo=0,U0,V0,Bv,Sa,Na,jv,$v;gd.__reactDisabledLog=!0;var B0,Zf,Kf=!1,Oh=new(typeof WeakMap=="function"?WeakMap:Map),Rr=null,$i=!1,Nb=/[\n"\\]/g,j0=!1,$0=!1,Pp=!1,kp=!1,Yp=!1,H0=!1,Mh=["value","defaultValue"],Hv=!1,mc=/["'&<>\n\t]|^\s|\s$/,P0="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),qp="applet caption html table td th marquee object template foreignObject desc title".split(" "),Gp=qp.concat(["button"]),k0="dd dt li option optgroup p rp rt".split(" "),Y0={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},pc={},Ll={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},hs=/([A-Z])/g,ms=/^ms-/,Dh=/^(?:webkit|moz|o)[A-Z]/,Rh=/^-ms-/,cu=/-(.)/g,Pv=/;\s*$/,gc={},yc={},kv=!1,q0=!1,_h=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Nh="http://www.w3.org/1998/Math/MathML",Qf="http://www.w3.org/2000/svg",Ip=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),vc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},G0={"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},Ao={},I0=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Fp=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),F0=!1,Hi={},zh=/^on./,r=/^on[^A-Z]/,s=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),c=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),p=/^[\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,x=null,w=null,N=null,$=!1,Z=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),de=!1;if(Z)try{var De={};Object.defineProperty(De,"passive",{get:function(){de=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch{de=!1}var Ne=null,ye=null,he=null,ft={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pt=Lt(ft),pn=Ut({},ft,{view:0,detail:0}),se=Lt(pn),ae,ce,_e,Je=Ut({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xm,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==_e&&(_e&&e.type==="mousemove"?(ae=e.screenX-_e.screenX,ce=e.screenY-_e.screenY):ce=ae=0,_e=e),ae)},movementY:function(e){return"movementY"in e?e.movementY:ce}}),Pt=Lt(Je),ct=Ut({},Je,{dataTransfer:0}),xt=Lt(ct),Pa=Ut({},pn,{relatedTarget:0}),tn=Lt(Pa),fu=Ut({},ft,{animationName:0,elapsedTime:0,pseudoElement:0}),zb=Lt(fu),yw=Ut({},ft,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Lb=Lt(yw),Ub=Ut({},ft,{data:0}),Hx=Lt(Ub),vw=Hx,bw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sw={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"},xw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Tw=Ut({},pn,{key:function(e){if(e.key){var a=bw[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=Zc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Sw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xm,charCode:function(e){return e.type==="keypress"?Zc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ew=Lt(Tw),Aw=Ut({},Je,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Px=Lt(Aw),ww=Ut({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xm}),Cw=Lt(ww),Ow=Ut({},ft,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mw=Lt(Ow),Dw=Ut({},Je,{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}),Rw=Lt(Dw),_w=Ut({},ft,{newState:0,oldState:0}),Nw=Lt(_w),zw=[9,13,27,32],kx=229,Vb=Z&&"CompositionEvent"in window,X0=null;Z&&"documentMode"in document&&(X0=document.documentMode);var f=Z&&"TextEvent"in window&&!X0,m=Z&&(!Vb||X0&&8<X0&&11>=X0),T=32,D=String.fromCharCode(T),z=!1,k=!1,K={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},te=null,ue=null,ze=!1;Z&&(ze=Em("input")&&(!document.documentMode||9<document.documentMode));var Re=typeof Object.is=="function"?Object.is:fv,Ve=Z&&"documentMode"in document&&11>=document.documentMode,Fe=null,ut=null,vt=null,Bt=!1,gt={animationend:oi("Animation","AnimationEnd"),animationiteration:oi("Animation","AnimationIteration"),animationstart:oi("Animation","AnimationStart"),transitionrun:oi("Transition","TransitionRun"),transitionstart:oi("Transition","TransitionStart"),transitioncancel:oi("Transition","TransitionCancel"),transitionend:oi("Transition","TransitionEnd")},Zt={},ln={};Z&&(ln=document.createElement("div").style,"AnimationEvent"in window||(delete gt.animationend.animation,delete gt.animationiteration.animation,delete gt.animationstart.animation),"TransitionEvent"in window||delete gt.transitionend.transition);var cl=Il("animationend"),cr=Il("animationiteration"),fl=Il("animationstart"),za=Il("transitionrun"),ps=Il("transitionstart"),bc=Il("transitioncancel"),Bb=Il("transitionend"),$_=new Map,Lw="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Lw.push("scrollEnd");var Uw=new WeakMap,Vw=1,Z0=2,du=[],Yv=0,Bw=0,Xp={};Object.freeze(Xp);var hu=null,qv=null,oa=0,hF=1,_r=2,dl=8,Sc=16,H_=64,P_=!1;try{var k_=Object.preventExtensions({})}catch{P_=!0}var Gv=[],Iv=0,Yx=null,qx=0,mu=[],pu=0,K0=null,Lh=1,Uh="",Ul=null,ka=null,Tn=!1,Vh=!1,gu=null,Q0=null,Wf=!1,jw=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Y_=0;if(typeof performance=="object"&&typeof performance.now=="function")var mF=performance,q_=function(){return mF.now()};else{var pF=Date;q_=function(){return pF.now()}}var $w=He(null),Hw=He(null),G_={},Gx=null,Fv=null,Xv=!1,gF=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(l,d){e.push(d)}};this.abort=function(){a.aborted=!0,e.forEach(function(l){return l()})}},yF=la.unstable_scheduleCallback,vF=la.unstable_NormalPriority,Pi={$$typeof:Ha,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Zv=la.unstable_now,I_=-0,Ix=-0,wo=-1.1,W0=-0,Fx=!1,Xx=!1,jb=null,Pw=0,J0=0,Kv=null,F_=xe.S;xe.S=function(e,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&Rm(e,a),F_!==null&&F_(e,a)};var ey=He(null),xc={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},$b=[],Hb=[],Pb=[],kb=[],Yb=[],qb=[],ty=new Set;xc.recordUnsafeLifecycleWarnings=function(e,a){ty.has(e.type)||(typeof a.componentWillMount=="function"&&a.componentWillMount.__suppressDeprecationWarning!==!0&&$b.push(e),e.mode&dl&&typeof a.UNSAFE_componentWillMount=="function"&&Hb.push(e),typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Pb.push(e),e.mode&dl&&typeof a.UNSAFE_componentWillReceiveProps=="function"&&kb.push(e),typeof a.componentWillUpdate=="function"&&a.componentWillUpdate.__suppressDeprecationWarning!==!0&&Yb.push(e),e.mode&dl&&typeof a.UNSAFE_componentWillUpdate=="function"&&qb.push(e))},xc.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<$b.length&&($b.forEach(function(_){e.add(ve(_)||"Component"),ty.add(_.type)}),$b=[]);var a=new Set;0<Hb.length&&(Hb.forEach(function(_){a.add(ve(_)||"Component"),ty.add(_.type)}),Hb=[]);var l=new Set;0<Pb.length&&(Pb.forEach(function(_){l.add(ve(_)||"Component"),ty.add(_.type)}),Pb=[]);var d=new Set;0<kb.length&&(kb.forEach(function(_){d.add(ve(_)||"Component"),ty.add(_.type)}),kb=[]);var y=new Set;0<Yb.length&&(Yb.forEach(function(_){y.add(ve(_)||"Component"),ty.add(_.type)}),Yb=[]);var b=new Set;if(0<qb.length&&(qb.forEach(function(_){b.add(ve(_)||"Component"),ty.add(_.type)}),qb=[]),0<a.size){var O=C(a);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
961
|
+
Check the render method of %s.`,ve(Rr)||"Unknown")),d=Ql(a),d.payload={element:l},b=b===void 0?null:b,b!==null&&(typeof b!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",b),d.callback=b),l=Fi(e,d,a),l!==null&&(aa(l,e,a),Mi(l,e,a))}function _p(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<a?l:a}}function R0(e,a){_p(e,a),(e=e.alternate)&&_p(e,a)}function _0(e){if(e.tag===13){var a=si(e,67108864);a!==null&&aa(a,e,67108864),R0(e,67108864)}}function Np(){return Rr}function Ob(){for(var e=new Map,a=1,l=0;31>l;l++){var d=wa(a);e.set(a,d),a*=2}return e}function Mv(e,a,l,d){var y=xe.T;xe.T=null;var b=Tt.p;try{Tt.p=ii,So(e,a,l,d)}finally{Tt.p=b,xe.T=y}}function yh(e,a,l,d){var y=xe.T;xe.T=null;var b=Tt.p;try{Tt.p=Vt,So(e,a,l,d)}finally{Tt.p=b,xe.T=y}}function So(e,a,l,d){if(x2){var y=Bf(d);if(y===null)Ui(e,a,d,T2,l),cs(e,d);else if(bh(y,e,a,l,d))d.stopPropagation();else if(cs(e,d),a&4&&-1<XF.indexOf(e)){for(;y!==null;){var b=Ti(y);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var O=pr(b.pendingLanes);if(O!==0){var _=b;for(_.pendingLanes|=2,_.entangledLanes|=2;O;){var H=1<<31-Xn(O);_.entanglements[1]|=H,O&=~H}ir(b),(zn&(Bl|Ac))===gs&&(r2=_l()+G8,tu(0))}}break;case 13:_=si(b,2),_!==null&&aa(_,b,2),is(),R0(b,2)}if(b=Bf(d),b===null&&Ui(e,a,d,T2,l),b===y)break;y=b}y!==null&&d.stopPropagation()}else Ui(e,a,d,null,l)}}function Bf(e){return e=zu(e),cc(e)}function cc(e){if(T2=null,e=pl(e),e!==null){var a=U(e);if(a===null)e=null;else{var l=a.tag;if(l===13){if(e=G(a),e!==null)return e;e=null}else if(l===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return T2=e,null}function vh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return ii;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Vt;case"message":switch(sl()){case Yf:return ii;case Ah:return Vt;case dc:case jp:return ds;case ni:return Ch;default:return ds}default:return ds}}function cs(e,a){switch(e){case"focusin":case"focusout":ig=null;break;case"dragenter":case"dragleave":rg=null;break;case"mouseover":case"mouseout":lg=null;break;case"pointerover":case"pointerout":dS.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":hS.delete(a.pointerId)}}function or(e,a,l,d,y,b){return e===null||e.nativeEvent!==b?(e={blockedOn:a,domEventName:l,eventSystemFlags:d,nativeEvent:b,targetContainers:[y]},a!==null&&(a=Ti(a),a!==null&&_0(a)),e):(e.eventSystemFlags|=d,a=e.targetContainers,y!==null&&a.indexOf(y)===-1&&a.push(y),e)}function bh(e,a,l,d,y){switch(a){case"focusin":return ig=or(ig,e,a,l,d,y),!0;case"dragenter":return rg=or(rg,e,a,l,d,y),!0;case"mouseover":return lg=or(lg,e,a,l,d,y),!0;case"pointerover":var b=y.pointerId;return dS.set(b,or(dS.get(b)||null,e,a,l,d,y)),!0;case"gotpointercapture":return b=y.pointerId,hS.set(b,or(hS.get(b)||null,e,a,l,d,y)),!0}return!1}function Dv(e){var a=pl(e.target);if(a!==null){var l=U(a);if(l!==null){if(a=l.tag,a===13){if(a=G(l),a!==null){e.blockedOn=a,Dg(e.priority,function(){if(l.tag===13){var d=ar(l);d=tt(d);var y=si(l,d);y!==null&&aa(y,l,d),R0(l,d)}});return}}else if(a===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ru(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var l=Bf(e.nativeEvent);if(l===null){l=e.nativeEvent;var d=new l.constructor(l.type,l),y=d;x!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),x=y,l.target.dispatchEvent(d),x===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),x=null}else return a=Ti(l),a!==null&&_0(a),e.blockedOn=l,!1;a.shift()}return!0}function jf(e,a,l){ru(e)&&l.delete(a)}function Rv(){OC=!1,ig!==null&&ru(ig)&&(ig=null),rg!==null&&ru(rg)&&(rg=null),lg!==null&&ru(lg)&&(lg=null),dS.forEach(jf),hS.forEach(jf)}function Sh(e,a){e.blockedOn===a&&(e.blockedOn=null,OC||(OC=!0,la.unstable_scheduleCallback(la.unstable_NormalPriority,Rv)))}function zp(e){E2!==e&&(E2=e,la.unstable_scheduleCallback(la.unstable_NormalPriority,function(){E2===e&&(E2=null);for(var a=0;a<e.length;a+=3){var l=e[a],d=e[a+1],y=e[a+2];if(typeof d!="function"){if(cc(d||l)===null)continue;break}var b=Ti(l);b!==null&&(e.splice(a,3),a-=3,l={pending:!0,data:y,method:l.method,action:d},Object.freeze(l),ks(b,l,d,y))}}))}function lu(e){function a(H){return Sh(H,e)}ig!==null&&Sh(ig,e),rg!==null&&Sh(rg,e),lg!==null&&Sh(lg,e),dS.forEach(a),hS.forEach(a);for(var l=0;l<og.length;l++){var d=og[l];d.blockedOn===e&&(d.blockedOn=null)}for(;0<og.length&&(l=og[0],l.blockedOn===null);)Dv(l),l.blockedOn===null&&og.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(d=0;d<l.length;d+=3){var y=l[d],b=l[d+1],O=y[ur]||null;if(typeof b=="function")O||zp(l);else if(O){var _=null;if(b&&b.hasAttribute("formAction")){if(y=b,O=b[ur]||null)_=O.formAction;else if(cc(y)!==null)continue}else _=O.action;typeof _=="function"?l[d+1]=_:(l.splice(d,3),d-=3),zp(l)}}}function Lp(e){this._internalRoot=e}function xh(e){this._internalRoot=e}function _v(e){e[uu]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var la=L_(),Th=ee,Mb=mS,Ut=Object.assign,Eh=Symbol.for("react.element"),ou=Symbol.for("react.transitional.element"),fc=Symbol.for("react.portal"),Nt=Symbol.for("react.fragment"),$f=Symbol.for("react.strict_mode"),vi=Symbol.for("react.profiler"),N0=Symbol.for("react.provider"),Up=Symbol.for("react.consumer"),Ha=Symbol.for("react.context"),bt=Symbol.for("react.forward_ref"),Hf=Symbol.for("react.suspense"),ha=Symbol.for("react.suspense_list"),qn=Symbol.for("react.memo"),Mr=Symbol.for("react.lazy"),xo=Symbol.for("react.activity"),Nv=Symbol.for("react.memo_cache_sentinel"),z0=Symbol.iterator,Vp=Symbol.for("react.client.reference"),Ct=Array.isArray,xe=Th.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Tt=Mb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Db=Object.freeze({pending:!1,data:null,method:null,action:null}),Dr=[],Pf=[],Bi=-1,Sn=He(null),Nn=He(null),Rl=He(null),kf=He(null),fs=Object.prototype.hasOwnProperty,Bp=la.unstable_scheduleCallback,Rb=la.unstable_cancelCallback,zv=la.unstable_shouldYield,_b=la.unstable_requestPaint,_l=la.unstable_now,sl=la.unstable_getCurrentPriorityLevel,Yf=la.unstable_ImmediatePriority,Ah=la.unstable_UserBlockingPriority,dc=la.unstable_NormalPriority,jp=la.unstable_LowPriority,ni=la.unstable_IdlePriority,qf=la.log,Nl=la.unstable_setDisableYieldValue,su=null,ai=null,Ke=null,sr=!1,Kn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Xn=Math.clz32?Math.clz32:Jt,Ot=Math.log,To=Math.LN2,ji=256,wh=4194304,ii=2,Vt=8,ds=32,Ch=268435456,zl=Math.random().toString(36).slice(2),bi="__reactFiber$"+zl,ur="__reactProps$"+zl,uu="__reactContainer$"+zl,L0="__reactEvents$"+zl,Lv="__reactListeners$"+zl,Gf="__reactHandles$"+zl,If="__reactResources$"+zl,Ff="__reactMarker$"+zl,Uv=new Set,ul={},hc={},Vv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},$p=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Xf={},Hp={},Eo=0,U0,V0,Bv,Sa,Na,jv,$v;gd.__reactDisabledLog=!0;var B0,Zf,Kf=!1,Oh=new(typeof WeakMap=="function"?WeakMap:Map),Rr=null,$i=!1,Nb=/[\n"\\]/g,j0=!1,$0=!1,Pp=!1,kp=!1,Yp=!1,H0=!1,Mh=["value","defaultValue"],Hv=!1,mc=/["'&<>\n\t]|^\s|\s$/,P0="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),qp="applet caption html table td th marquee object template foreignObject desc title".split(" "),Gp=qp.concat(["button"]),k0="dd dt li option optgroup p rp rt".split(" "),Y0={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},pc={},Ll={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},hs=/([A-Z])/g,ms=/^ms-/,Dh=/^(?:webkit|moz|o)[A-Z]/,Rh=/^-ms-/,cu=/-(.)/g,Pv=/;\s*$/,gc={},yc={},kv=!1,q0=!1,_h=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Nh="http://www.w3.org/1998/Math/MathML",Qf="http://www.w3.org/2000/svg",Ip=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),vc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},G0={"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},Ao={},I0=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Fp=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),F0=!1,Hi={},zh=/^on./,r=/^on[^A-Z]/,s=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),c=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),p=/^[\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,x=null,w=null,N=null,$=!1,Z=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),de=!1;if(Z)try{var De={};Object.defineProperty(De,"passive",{get:function(){de=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch{de=!1}var Ne=null,ye=null,he=null,ft={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pt=Lt(ft),pn=Ut({},ft,{view:0,detail:0}),se=Lt(pn),ae,ce,_e,Je=Ut({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xm,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==_e&&(_e&&e.type==="mousemove"?(ae=e.screenX-_e.screenX,ce=e.screenY-_e.screenY):ce=ae=0,_e=e),ae)},movementY:function(e){return"movementY"in e?e.movementY:ce}}),Pt=Lt(Je),ct=Ut({},Je,{dataTransfer:0}),xt=Lt(ct),Pa=Ut({},pn,{relatedTarget:0}),tn=Lt(Pa),fu=Ut({},ft,{animationName:0,elapsedTime:0,pseudoElement:0}),zb=Lt(fu),yw=Ut({},ft,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Lb=Lt(yw),Ub=Ut({},ft,{data:0}),Hx=Lt(Ub),vw=Hx,bw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sw={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"},xw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Tw=Ut({},pn,{key:function(e){if(e.key){var a=bw[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=Zc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Sw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xm,charCode:function(e){return e.type==="keypress"?Zc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ew=Lt(Tw),Aw=Ut({},Je,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Px=Lt(Aw),ww=Ut({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xm}),Cw=Lt(ww),Ow=Ut({},ft,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mw=Lt(Ow),Dw=Ut({},Je,{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}),Rw=Lt(Dw),_w=Ut({},ft,{newState:0,oldState:0}),Nw=Lt(_w),zw=[9,13,27,32],kx=229,Vb=Z&&"CompositionEvent"in window,X0=null;Z&&"documentMode"in document&&(X0=document.documentMode);var f=Z&&"TextEvent"in window&&!X0,m=Z&&(!Vb||X0&&8<X0&&11>=X0),T=32,D=String.fromCharCode(T),z=!1,k=!1,K={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},te=null,ue=null,ze=!1;Z&&(ze=Em("input")&&(!document.documentMode||9<document.documentMode));var Re=typeof Object.is=="function"?Object.is:fv,Ve=Z&&"documentMode"in document&&11>=document.documentMode,Fe=null,ut=null,vt=null,Bt=!1,gt={animationend:oi("Animation","AnimationEnd"),animationiteration:oi("Animation","AnimationIteration"),animationstart:oi("Animation","AnimationStart"),transitionrun:oi("Transition","TransitionRun"),transitionstart:oi("Transition","TransitionStart"),transitioncancel:oi("Transition","TransitionCancel"),transitionend:oi("Transition","TransitionEnd")},Zt={},ln={};Z&&(ln=document.createElement("div").style,"AnimationEvent"in window||(delete gt.animationend.animation,delete gt.animationiteration.animation,delete gt.animationstart.animation),"TransitionEvent"in window||delete gt.transitionend.transition);var cl=Il("animationend"),cr=Il("animationiteration"),fl=Il("animationstart"),za=Il("transitionrun"),ps=Il("transitionstart"),bc=Il("transitioncancel"),Bb=Il("transitionend"),$_=new Map,Lw="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Lw.push("scrollEnd");var Uw=new WeakMap,Vw=1,Z0=2,du=[],Yv=0,Bw=0,Xp={};Object.freeze(Xp);var hu=null,qv=null,oa=0,gF=1,_r=2,dl=8,Sc=16,H_=64,P_=!1;try{var k_=Object.preventExtensions({})}catch{P_=!0}var Gv=[],Iv=0,Yx=null,qx=0,mu=[],pu=0,K0=null,Lh=1,Uh="",Ul=null,ka=null,Tn=!1,Vh=!1,gu=null,Q0=null,Wf=!1,jw=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Y_=0;if(typeof performance=="object"&&typeof performance.now=="function")var yF=performance,q_=function(){return yF.now()};else{var vF=Date;q_=function(){return vF.now()}}var $w=He(null),Hw=He(null),G_={},Gx=null,Fv=null,Xv=!1,bF=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(l,d){e.push(d)}};this.abort=function(){a.aborted=!0,e.forEach(function(l){return l()})}},SF=la.unstable_scheduleCallback,xF=la.unstable_NormalPriority,Pi={$$typeof:Ha,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Zv=la.unstable_now,I_=-0,Ix=-0,wo=-1.1,W0=-0,Fx=!1,Xx=!1,jb=null,Pw=0,J0=0,Kv=null,F_=xe.S;xe.S=function(e,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&Rm(e,a),F_!==null&&F_(e,a)};var ey=He(null),xc={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},$b=[],Hb=[],Pb=[],kb=[],Yb=[],qb=[],ty=new Set;xc.recordUnsafeLifecycleWarnings=function(e,a){ty.has(e.type)||(typeof a.componentWillMount=="function"&&a.componentWillMount.__suppressDeprecationWarning!==!0&&$b.push(e),e.mode&dl&&typeof a.UNSAFE_componentWillMount=="function"&&Hb.push(e),typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Pb.push(e),e.mode&dl&&typeof a.UNSAFE_componentWillReceiveProps=="function"&&kb.push(e),typeof a.componentWillUpdate=="function"&&a.componentWillUpdate.__suppressDeprecationWarning!==!0&&Yb.push(e),e.mode&dl&&typeof a.UNSAFE_componentWillUpdate=="function"&&qb.push(e))},xc.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<$b.length&&($b.forEach(function(_){e.add(ve(_)||"Component"),ty.add(_.type)}),$b=[]);var a=new Set;0<Hb.length&&(Hb.forEach(function(_){a.add(ve(_)||"Component"),ty.add(_.type)}),Hb=[]);var l=new Set;0<Pb.length&&(Pb.forEach(function(_){l.add(ve(_)||"Component"),ty.add(_.type)}),Pb=[]);var d=new Set;0<kb.length&&(kb.forEach(function(_){d.add(ve(_)||"Component"),ty.add(_.type)}),kb=[]);var y=new Set;0<Yb.length&&(Yb.forEach(function(_){y.add(ve(_)||"Component"),ty.add(_.type)}),Yb=[]);var b=new Set;if(0<qb.length&&(qb.forEach(function(_){b.add(ve(_)||"Component"),ty.add(_.type)}),qb=[]),0<a.size){var O=C(a);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
962
962
|
|
|
963
963
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
964
964
|
|
|
@@ -993,15 +993,15 @@ The old API will be supported in all 16.x releases, but applications using it sh
|
|
|
993
993
|
|
|
994
994
|
Please update the following components: %s
|
|
995
995
|
|
|
996
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,d)})}})},xc.discardPendingWarnings=function(){$b=[],Hb=[],Pb=[],kb=[],Yb=[],qb=[],Zx=new Map};var Gb=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Z_=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Kx=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),kw={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Ib=null,Qx=!1,yu=0,vu=1,Vl=2,Nr=4,ki=8,K_=0,Q_=1,W_=2,Yw=3,Zp=!1,J_=!1,qw=null,Gw=!1,Qv=He(null),Wx=He(0),Wv,e8=new Set,t8=new Set,Iw=new Set,n8=new Set,Kp=0,zt=null,Zn=null,Si=null,Jx=!1,Jv=!1,ny=!1,e2=0,Fb=0,Bh=null,bF=0,SF=25,Te=null,bu=null,jh=-1,Xb=!1,t2={readContext:Vn,use:Wr,useCallback:Bn,useContext:Bn,useEffect:Bn,useImperativeHandle:Bn,useLayoutEffect:Bn,useInsertionEffect:Bn,useMemo:Bn,useReducer:Bn,useRef:Bn,useState:Bn,useDebugValue:Bn,useDeferredValue:Bn,useTransition:Bn,useSyncExternalStore:Bn,useId:Bn,useHostTransitionStatus:Bn,useFormState:Bn,useActionState:Bn,useOptimistic:Bn,useMemoCache:Bn,useCacheRefresh:Bn},Fw=null,a8=null,Xw=null,i8=null,Jf=null,Tc=null,n2=null;Fw={readContext:function(e){return Vn(e)},use:Wr,useCallback:function(e,a){return Te="useCallback",Dt(),Kr(a),Sl(e,a)},useContext:function(e){return Te="useContext",Dt(),Vn(e)},useEffect:function(e,a){return Te="useEffect",Dt(),Kr(a),Lm(e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",Dt(),Kr(l),Vm(e,a,l)},useInsertionEffect:function(e,a){Te="useInsertionEffect",Dt(),Kr(a),Jr(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",Dt(),Kr(a),Um(e,a)},useMemo:function(e,a){Te="useMemo",Dt(),Kr(a);var l=xe.H;xe.H=Jf;try{return Bm(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",Dt();var d=xe.H;xe.H=Jf;try{return Yt(e,a,l)}finally{xe.H=d}},useRef:function(e){return Te="useRef",Dt(),Yd(e)},useState:function(e){Te="useState",Dt();var a=xe.H;xe.H=Jf;try{return eo(e)}finally{xe.H=a}},useDebugValue:function(){Te="useDebugValue",Dt()},useDeferredValue:function(e,a){return Te="useDeferredValue",Dt(),jm(e,a)},useTransition:function(){return Te="useTransition",Dt(),el()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",Dt(),Zi(e,a,l)},useId:function(){return Te="useId",Dt(),xl()},useFormState:function(e,a){return Te="useFormState",Dt(),lf(),cf(e,a)},useActionState:function(e,a){return Te="useActionState",Dt(),cf(e,a)},useOptimistic:function(e){return Te="useOptimistic",Dt(),j(e)},useHostTransitionStatus:Qi,useMemoCache:kn,useCacheRefresh:function(){return Te="useCacheRefresh",Dt(),Gu()}},a8={readContext:function(e){return Vn(e)},use:Wr,useCallback:function(e,a){return Te="useCallback",$e(),Sl(e,a)},useContext:function(e){return Te="useContext",$e(),Vn(e)},useEffect:function(e,a){return Te="useEffect",$e(),Lm(e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",$e(),Vm(e,a,l)},useInsertionEffect:function(e,a){Te="useInsertionEffect",$e(),Jr(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",$e(),Um(e,a)},useMemo:function(e,a){Te="useMemo",$e();var l=xe.H;xe.H=Jf;try{return Bm(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",$e();var d=xe.H;xe.H=Jf;try{return Yt(e,a,l)}finally{xe.H=d}},useRef:function(e){return Te="useRef",$e(),Yd(e)},useState:function(e){Te="useState",$e();var a=xe.H;xe.H=Jf;try{return eo(e)}finally{xe.H=a}},useDebugValue:function(){Te="useDebugValue",$e()},useDeferredValue:function(e,a){return Te="useDeferredValue",$e(),jm(e,a)},useTransition:function(){return Te="useTransition",$e(),el()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",$e(),Zi(e,a,l)},useId:function(){return Te="useId",$e(),xl()},useActionState:function(e,a){return Te="useActionState",$e(),cf(e,a)},useFormState:function(e,a){return Te="useFormState",$e(),lf(),cf(e,a)},useOptimistic:function(e){return Te="useOptimistic",$e(),j(e)},useHostTransitionStatus:Qi,useMemoCache:kn,useCacheRefresh:function(){return Te="useCacheRefresh",$e(),Gu()}},Xw={readContext:function(e){return Vn(e)},use:Wr,useCallback:function(e,a){return Te="useCallback",$e(),Yu(e,a)},useContext:function(e){return Te="useContext",$e(),Vn(e)},useEffect:function(e,a){Te="useEffect",$e(),Rn(2048,ki,e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",$e(),no(e,a,l)},useInsertionEffect:function(e,a){return Te="useInsertionEffect",$e(),Rn(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",$e(),Rn(4,Nr,e,a)},useMemo:function(e,a){Te="useMemo",$e();var l=xe.H;xe.H=Tc;try{return Ba(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",$e();var d=xe.H;xe.H=Tc;try{return fi(e,a,l)}finally{xe.H=d}},useRef:function(){return Te="useRef",$e(),en().memoizedState},useState:function(){Te="useState",$e();var e=xe.H;xe.H=Tc;try{return fi(rn)}finally{xe.H=e}},useDebugValue:function(){Te="useDebugValue",$e()},useDeferredValue:function(e,a){return Te="useDeferredValue",$e(),qd(e,a)},useTransition:function(){return Te="useTransition",$e(),Ys()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",$e(),Hd(e,a,l)},useId:function(){return Te="useId",$e(),en().memoizedState},useFormState:function(e){return Te="useFormState",$e(),lf(),zm(e)},useActionState:function(e){return Te="useActionState",$e(),zm(e)},useOptimistic:function(e,a){return Te="useOptimistic",$e(),Ki(e,a)},useHostTransitionStatus:Qi,useMemoCache:kn,useCacheRefresh:function(){return Te="useCacheRefresh",$e(),en().memoizedState}},i8={readContext:function(e){return Vn(e)},use:Wr,useCallback:function(e,a){return Te="useCallback",$e(),Yu(e,a)},useContext:function(e){return Te="useContext",$e(),Vn(e)},useEffect:function(e,a){Te="useEffect",$e(),Rn(2048,ki,e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",$e(),no(e,a,l)},useInsertionEffect:function(e,a){return Te="useInsertionEffect",$e(),Rn(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",$e(),Rn(4,Nr,e,a)},useMemo:function(e,a){Te="useMemo",$e();var l=xe.H;xe.H=n2;try{return Ba(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",$e();var d=xe.H;xe.H=n2;try{return Jl(e,a,l)}finally{xe.H=d}},useRef:function(){return Te="useRef",$e(),en().memoizedState},useState:function(){Te="useState",$e();var e=xe.H;xe.H=n2;try{return Jl(rn)}finally{xe.H=e}},useDebugValue:function(){Te="useDebugValue",$e()},useDeferredValue:function(e,a){return Te="useDeferredValue",$e(),$m(e,a)},useTransition:function(){return Te="useTransition",$e(),qu()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",$e(),Hd(e,a,l)},useId:function(){return Te="useId",$e(),en().memoizedState},useFormState:function(e){return Te="useFormState",$e(),lf(),ff(e)},useActionState:function(e){return Te="useActionState",$e(),ff(e)},useOptimistic:function(e,a){return Te="useOptimistic",$e(),Ri(e,a)},useHostTransitionStatus:Qi,useMemoCache:kn,useCacheRefresh:function(){return Te="useCacheRefresh",$e(),en().memoizedState}},Jf={readContext:function(e){return E(),Vn(e)},use:function(e){return S(),Wr(e)},useCallback:function(e,a){return Te="useCallback",S(),Dt(),Sl(e,a)},useContext:function(e){return Te="useContext",S(),Dt(),Vn(e)},useEffect:function(e,a){return Te="useEffect",S(),Dt(),Lm(e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",S(),Dt(),Vm(e,a,l)},useInsertionEffect:function(e,a){Te="useInsertionEffect",S(),Dt(),Jr(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",S(),Dt(),Um(e,a)},useMemo:function(e,a){Te="useMemo",S(),Dt();var l=xe.H;xe.H=Jf;try{return Bm(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",S(),Dt();var d=xe.H;xe.H=Jf;try{return Yt(e,a,l)}finally{xe.H=d}},useRef:function(e){return Te="useRef",S(),Dt(),Yd(e)},useState:function(e){Te="useState",S(),Dt();var a=xe.H;xe.H=Jf;try{return eo(e)}finally{xe.H=a}},useDebugValue:function(){Te="useDebugValue",S(),Dt()},useDeferredValue:function(e,a){return Te="useDeferredValue",S(),Dt(),jm(e,a)},useTransition:function(){return Te="useTransition",S(),Dt(),el()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",S(),Dt(),Zi(e,a,l)},useId:function(){return Te="useId",S(),Dt(),xl()},useFormState:function(e,a){return Te="useFormState",S(),Dt(),cf(e,a)},useActionState:function(e,a){return Te="useActionState",S(),Dt(),cf(e,a)},useOptimistic:function(e){return Te="useOptimistic",S(),Dt(),j(e)},useMemoCache:function(e){return S(),kn(e)},useHostTransitionStatus:Qi,useCacheRefresh:function(){return Te="useCacheRefresh",Dt(),Gu()}},Tc={readContext:function(e){return E(),Vn(e)},use:function(e){return S(),Wr(e)},useCallback:function(e,a){return Te="useCallback",S(),$e(),Yu(e,a)},useContext:function(e){return Te="useContext",S(),$e(),Vn(e)},useEffect:function(e,a){Te="useEffect",S(),$e(),Rn(2048,ki,e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",S(),$e(),no(e,a,l)},useInsertionEffect:function(e,a){return Te="useInsertionEffect",S(),$e(),Rn(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",S(),$e(),Rn(4,Nr,e,a)},useMemo:function(e,a){Te="useMemo",S(),$e();var l=xe.H;xe.H=Tc;try{return Ba(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",S(),$e();var d=xe.H;xe.H=Tc;try{return fi(e,a,l)}finally{xe.H=d}},useRef:function(){return Te="useRef",S(),$e(),en().memoizedState},useState:function(){Te="useState",S(),$e();var e=xe.H;xe.H=Tc;try{return fi(rn)}finally{xe.H=e}},useDebugValue:function(){Te="useDebugValue",S(),$e()},useDeferredValue:function(e,a){return Te="useDeferredValue",S(),$e(),qd(e,a)},useTransition:function(){return Te="useTransition",S(),$e(),Ys()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",S(),$e(),Hd(e,a,l)},useId:function(){return Te="useId",S(),$e(),en().memoizedState},useFormState:function(e){return Te="useFormState",S(),$e(),zm(e)},useActionState:function(e){return Te="useActionState",S(),$e(),zm(e)},useOptimistic:function(e,a){return Te="useOptimistic",S(),$e(),Ki(e,a)},useMemoCache:function(e){return S(),kn(e)},useHostTransitionStatus:Qi,useCacheRefresh:function(){return Te="useCacheRefresh",$e(),en().memoizedState}},n2={readContext:function(e){return E(),Vn(e)},use:function(e){return S(),Wr(e)},useCallback:function(e,a){return Te="useCallback",S(),$e(),Yu(e,a)},useContext:function(e){return Te="useContext",S(),$e(),Vn(e)},useEffect:function(e,a){Te="useEffect",S(),$e(),Rn(2048,ki,e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",S(),$e(),no(e,a,l)},useInsertionEffect:function(e,a){return Te="useInsertionEffect",S(),$e(),Rn(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",S(),$e(),Rn(4,Nr,e,a)},useMemo:function(e,a){Te="useMemo",S(),$e();var l=xe.H;xe.H=Tc;try{return Ba(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",S(),$e();var d=xe.H;xe.H=Tc;try{return Jl(e,a,l)}finally{xe.H=d}},useRef:function(){return Te="useRef",S(),$e(),en().memoizedState},useState:function(){Te="useState",S(),$e();var e=xe.H;xe.H=Tc;try{return Jl(rn)}finally{xe.H=e}},useDebugValue:function(){Te="useDebugValue",S(),$e()},useDeferredValue:function(e,a){return Te="useDeferredValue",S(),$e(),$m(e,a)},useTransition:function(){return Te="useTransition",S(),$e(),qu()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",S(),$e(),Hd(e,a,l)},useId:function(){return Te="useId",S(),$e(),en().memoizedState},useFormState:function(e){return Te="useFormState",S(),$e(),ff(e)},useActionState:function(e){return Te="useActionState",S(),$e(),ff(e)},useOptimistic:function(e,a){return Te="useOptimistic",S(),$e(),Ri(e,a)},useMemoCache:function(e){return S(),kn(e)},useHostTransitionStatus:Qi,useCacheRefresh:function(){return Te="useCacheRefresh",$e(),en().memoizedState}};var r8={"react-stack-bottom-frame":function(e,a,l){var d=$i;$i=!0;try{return e(a,l)}finally{$i=d}}},Zw=r8["react-stack-bottom-frame"].bind(r8),l8={"react-stack-bottom-frame":function(e){var a=$i;$i=!0;try{return e.render()}finally{$i=a}}},o8=l8["react-stack-bottom-frame"].bind(l8),s8={"react-stack-bottom-frame":function(e,a){try{a.componentDidMount()}catch(l){mt(e,e.return,l)}}},Kw=s8["react-stack-bottom-frame"].bind(s8),u8={"react-stack-bottom-frame":function(e,a,l,d,y){try{a.componentDidUpdate(l,d,y)}catch(b){mt(e,e.return,b)}}},c8=u8["react-stack-bottom-frame"].bind(u8),f8={"react-stack-bottom-frame":function(e,a){var l=a.stack;e.componentDidCatch(a.value,{componentStack:l!==null?l:""})}},xF=f8["react-stack-bottom-frame"].bind(f8),d8={"react-stack-bottom-frame":function(e,a,l){try{l.componentWillUnmount()}catch(d){mt(e,a,d)}}},h8=d8["react-stack-bottom-frame"].bind(d8),m8={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var a=e.create;return e=e.inst,a=a(),e.destroy=a}},TF=m8["react-stack-bottom-frame"].bind(m8),p8={"react-stack-bottom-frame":function(e,a,l){try{l()}catch(d){mt(e,a,d)}}},EF=p8["react-stack-bottom-frame"].bind(p8),g8={"react-stack-bottom-frame":function(e){var a=e._init;return a(e._payload)}},Qp=g8["react-stack-bottom-frame"].bind(g8),e1=null,Zb=0,Kt=null,Qw,y8=Qw=!1,v8={},b8={},S8={};v=function(e,a,l){if(l!==null&&typeof l=="object"&&l._store&&(!l._store.validated&&l.key==null||l._store.validated===2)){if(typeof l._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");l._store.validated=1;var d=ve(e),y=d||"null";if(!v8[y]){v8[y]=!0,l=l._owner,e=e._debugOwner;var b="";e&&typeof e.tag=="number"&&(y=ve(e))&&(b=`
|
|
996
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,d)})}})},xc.discardPendingWarnings=function(){$b=[],Hb=[],Pb=[],kb=[],Yb=[],qb=[],Zx=new Map};var Gb=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Z_=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Kx=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),kw={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Ib=null,Qx=!1,yu=0,vu=1,Vl=2,Nr=4,ki=8,K_=0,Q_=1,W_=2,Yw=3,Zp=!1,J_=!1,qw=null,Gw=!1,Qv=He(null),Wx=He(0),Wv,e8=new Set,t8=new Set,Iw=new Set,n8=new Set,Kp=0,zt=null,Zn=null,Si=null,Jx=!1,Jv=!1,ny=!1,e2=0,Fb=0,Bh=null,TF=0,EF=25,Te=null,bu=null,jh=-1,Xb=!1,t2={readContext:Vn,use:Wr,useCallback:Bn,useContext:Bn,useEffect:Bn,useImperativeHandle:Bn,useLayoutEffect:Bn,useInsertionEffect:Bn,useMemo:Bn,useReducer:Bn,useRef:Bn,useState:Bn,useDebugValue:Bn,useDeferredValue:Bn,useTransition:Bn,useSyncExternalStore:Bn,useId:Bn,useHostTransitionStatus:Bn,useFormState:Bn,useActionState:Bn,useOptimistic:Bn,useMemoCache:Bn,useCacheRefresh:Bn},Fw=null,a8=null,Xw=null,i8=null,Jf=null,Tc=null,n2=null;Fw={readContext:function(e){return Vn(e)},use:Wr,useCallback:function(e,a){return Te="useCallback",Dt(),Kr(a),Sl(e,a)},useContext:function(e){return Te="useContext",Dt(),Vn(e)},useEffect:function(e,a){return Te="useEffect",Dt(),Kr(a),Lm(e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",Dt(),Kr(l),Vm(e,a,l)},useInsertionEffect:function(e,a){Te="useInsertionEffect",Dt(),Kr(a),Jr(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",Dt(),Kr(a),Um(e,a)},useMemo:function(e,a){Te="useMemo",Dt(),Kr(a);var l=xe.H;xe.H=Jf;try{return Bm(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",Dt();var d=xe.H;xe.H=Jf;try{return Yt(e,a,l)}finally{xe.H=d}},useRef:function(e){return Te="useRef",Dt(),Yd(e)},useState:function(e){Te="useState",Dt();var a=xe.H;xe.H=Jf;try{return eo(e)}finally{xe.H=a}},useDebugValue:function(){Te="useDebugValue",Dt()},useDeferredValue:function(e,a){return Te="useDeferredValue",Dt(),jm(e,a)},useTransition:function(){return Te="useTransition",Dt(),el()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",Dt(),Zi(e,a,l)},useId:function(){return Te="useId",Dt(),xl()},useFormState:function(e,a){return Te="useFormState",Dt(),lf(),cf(e,a)},useActionState:function(e,a){return Te="useActionState",Dt(),cf(e,a)},useOptimistic:function(e){return Te="useOptimistic",Dt(),j(e)},useHostTransitionStatus:Qi,useMemoCache:kn,useCacheRefresh:function(){return Te="useCacheRefresh",Dt(),Gu()}},a8={readContext:function(e){return Vn(e)},use:Wr,useCallback:function(e,a){return Te="useCallback",$e(),Sl(e,a)},useContext:function(e){return Te="useContext",$e(),Vn(e)},useEffect:function(e,a){return Te="useEffect",$e(),Lm(e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",$e(),Vm(e,a,l)},useInsertionEffect:function(e,a){Te="useInsertionEffect",$e(),Jr(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",$e(),Um(e,a)},useMemo:function(e,a){Te="useMemo",$e();var l=xe.H;xe.H=Jf;try{return Bm(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",$e();var d=xe.H;xe.H=Jf;try{return Yt(e,a,l)}finally{xe.H=d}},useRef:function(e){return Te="useRef",$e(),Yd(e)},useState:function(e){Te="useState",$e();var a=xe.H;xe.H=Jf;try{return eo(e)}finally{xe.H=a}},useDebugValue:function(){Te="useDebugValue",$e()},useDeferredValue:function(e,a){return Te="useDeferredValue",$e(),jm(e,a)},useTransition:function(){return Te="useTransition",$e(),el()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",$e(),Zi(e,a,l)},useId:function(){return Te="useId",$e(),xl()},useActionState:function(e,a){return Te="useActionState",$e(),cf(e,a)},useFormState:function(e,a){return Te="useFormState",$e(),lf(),cf(e,a)},useOptimistic:function(e){return Te="useOptimistic",$e(),j(e)},useHostTransitionStatus:Qi,useMemoCache:kn,useCacheRefresh:function(){return Te="useCacheRefresh",$e(),Gu()}},Xw={readContext:function(e){return Vn(e)},use:Wr,useCallback:function(e,a){return Te="useCallback",$e(),Yu(e,a)},useContext:function(e){return Te="useContext",$e(),Vn(e)},useEffect:function(e,a){Te="useEffect",$e(),Rn(2048,ki,e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",$e(),no(e,a,l)},useInsertionEffect:function(e,a){return Te="useInsertionEffect",$e(),Rn(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",$e(),Rn(4,Nr,e,a)},useMemo:function(e,a){Te="useMemo",$e();var l=xe.H;xe.H=Tc;try{return Ba(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",$e();var d=xe.H;xe.H=Tc;try{return fi(e,a,l)}finally{xe.H=d}},useRef:function(){return Te="useRef",$e(),en().memoizedState},useState:function(){Te="useState",$e();var e=xe.H;xe.H=Tc;try{return fi(rn)}finally{xe.H=e}},useDebugValue:function(){Te="useDebugValue",$e()},useDeferredValue:function(e,a){return Te="useDeferredValue",$e(),qd(e,a)},useTransition:function(){return Te="useTransition",$e(),Ys()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",$e(),Hd(e,a,l)},useId:function(){return Te="useId",$e(),en().memoizedState},useFormState:function(e){return Te="useFormState",$e(),lf(),zm(e)},useActionState:function(e){return Te="useActionState",$e(),zm(e)},useOptimistic:function(e,a){return Te="useOptimistic",$e(),Ki(e,a)},useHostTransitionStatus:Qi,useMemoCache:kn,useCacheRefresh:function(){return Te="useCacheRefresh",$e(),en().memoizedState}},i8={readContext:function(e){return Vn(e)},use:Wr,useCallback:function(e,a){return Te="useCallback",$e(),Yu(e,a)},useContext:function(e){return Te="useContext",$e(),Vn(e)},useEffect:function(e,a){Te="useEffect",$e(),Rn(2048,ki,e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",$e(),no(e,a,l)},useInsertionEffect:function(e,a){return Te="useInsertionEffect",$e(),Rn(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",$e(),Rn(4,Nr,e,a)},useMemo:function(e,a){Te="useMemo",$e();var l=xe.H;xe.H=n2;try{return Ba(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",$e();var d=xe.H;xe.H=n2;try{return Jl(e,a,l)}finally{xe.H=d}},useRef:function(){return Te="useRef",$e(),en().memoizedState},useState:function(){Te="useState",$e();var e=xe.H;xe.H=n2;try{return Jl(rn)}finally{xe.H=e}},useDebugValue:function(){Te="useDebugValue",$e()},useDeferredValue:function(e,a){return Te="useDeferredValue",$e(),$m(e,a)},useTransition:function(){return Te="useTransition",$e(),qu()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",$e(),Hd(e,a,l)},useId:function(){return Te="useId",$e(),en().memoizedState},useFormState:function(e){return Te="useFormState",$e(),lf(),ff(e)},useActionState:function(e){return Te="useActionState",$e(),ff(e)},useOptimistic:function(e,a){return Te="useOptimistic",$e(),Ri(e,a)},useHostTransitionStatus:Qi,useMemoCache:kn,useCacheRefresh:function(){return Te="useCacheRefresh",$e(),en().memoizedState}},Jf={readContext:function(e){return E(),Vn(e)},use:function(e){return S(),Wr(e)},useCallback:function(e,a){return Te="useCallback",S(),Dt(),Sl(e,a)},useContext:function(e){return Te="useContext",S(),Dt(),Vn(e)},useEffect:function(e,a){return Te="useEffect",S(),Dt(),Lm(e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",S(),Dt(),Vm(e,a,l)},useInsertionEffect:function(e,a){Te="useInsertionEffect",S(),Dt(),Jr(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",S(),Dt(),Um(e,a)},useMemo:function(e,a){Te="useMemo",S(),Dt();var l=xe.H;xe.H=Jf;try{return Bm(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",S(),Dt();var d=xe.H;xe.H=Jf;try{return Yt(e,a,l)}finally{xe.H=d}},useRef:function(e){return Te="useRef",S(),Dt(),Yd(e)},useState:function(e){Te="useState",S(),Dt();var a=xe.H;xe.H=Jf;try{return eo(e)}finally{xe.H=a}},useDebugValue:function(){Te="useDebugValue",S(),Dt()},useDeferredValue:function(e,a){return Te="useDeferredValue",S(),Dt(),jm(e,a)},useTransition:function(){return Te="useTransition",S(),Dt(),el()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",S(),Dt(),Zi(e,a,l)},useId:function(){return Te="useId",S(),Dt(),xl()},useFormState:function(e,a){return Te="useFormState",S(),Dt(),cf(e,a)},useActionState:function(e,a){return Te="useActionState",S(),Dt(),cf(e,a)},useOptimistic:function(e){return Te="useOptimistic",S(),Dt(),j(e)},useMemoCache:function(e){return S(),kn(e)},useHostTransitionStatus:Qi,useCacheRefresh:function(){return Te="useCacheRefresh",Dt(),Gu()}},Tc={readContext:function(e){return E(),Vn(e)},use:function(e){return S(),Wr(e)},useCallback:function(e,a){return Te="useCallback",S(),$e(),Yu(e,a)},useContext:function(e){return Te="useContext",S(),$e(),Vn(e)},useEffect:function(e,a){Te="useEffect",S(),$e(),Rn(2048,ki,e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",S(),$e(),no(e,a,l)},useInsertionEffect:function(e,a){return Te="useInsertionEffect",S(),$e(),Rn(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",S(),$e(),Rn(4,Nr,e,a)},useMemo:function(e,a){Te="useMemo",S(),$e();var l=xe.H;xe.H=Tc;try{return Ba(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",S(),$e();var d=xe.H;xe.H=Tc;try{return fi(e,a,l)}finally{xe.H=d}},useRef:function(){return Te="useRef",S(),$e(),en().memoizedState},useState:function(){Te="useState",S(),$e();var e=xe.H;xe.H=Tc;try{return fi(rn)}finally{xe.H=e}},useDebugValue:function(){Te="useDebugValue",S(),$e()},useDeferredValue:function(e,a){return Te="useDeferredValue",S(),$e(),qd(e,a)},useTransition:function(){return Te="useTransition",S(),$e(),Ys()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",S(),$e(),Hd(e,a,l)},useId:function(){return Te="useId",S(),$e(),en().memoizedState},useFormState:function(e){return Te="useFormState",S(),$e(),zm(e)},useActionState:function(e){return Te="useActionState",S(),$e(),zm(e)},useOptimistic:function(e,a){return Te="useOptimistic",S(),$e(),Ki(e,a)},useMemoCache:function(e){return S(),kn(e)},useHostTransitionStatus:Qi,useCacheRefresh:function(){return Te="useCacheRefresh",$e(),en().memoizedState}},n2={readContext:function(e){return E(),Vn(e)},use:function(e){return S(),Wr(e)},useCallback:function(e,a){return Te="useCallback",S(),$e(),Yu(e,a)},useContext:function(e){return Te="useContext",S(),$e(),Vn(e)},useEffect:function(e,a){Te="useEffect",S(),$e(),Rn(2048,ki,e,a)},useImperativeHandle:function(e,a,l){return Te="useImperativeHandle",S(),$e(),no(e,a,l)},useInsertionEffect:function(e,a){return Te="useInsertionEffect",S(),$e(),Rn(4,Vl,e,a)},useLayoutEffect:function(e,a){return Te="useLayoutEffect",S(),$e(),Rn(4,Nr,e,a)},useMemo:function(e,a){Te="useMemo",S(),$e();var l=xe.H;xe.H=Tc;try{return Ba(e,a)}finally{xe.H=l}},useReducer:function(e,a,l){Te="useReducer",S(),$e();var d=xe.H;xe.H=Tc;try{return Jl(e,a,l)}finally{xe.H=d}},useRef:function(){return Te="useRef",S(),$e(),en().memoizedState},useState:function(){Te="useState",S(),$e();var e=xe.H;xe.H=Tc;try{return Jl(rn)}finally{xe.H=e}},useDebugValue:function(){Te="useDebugValue",S(),$e()},useDeferredValue:function(e,a){return Te="useDeferredValue",S(),$e(),$m(e,a)},useTransition:function(){return Te="useTransition",S(),$e(),qu()},useSyncExternalStore:function(e,a,l){return Te="useSyncExternalStore",S(),$e(),Hd(e,a,l)},useId:function(){return Te="useId",S(),$e(),en().memoizedState},useFormState:function(e){return Te="useFormState",S(),$e(),ff(e)},useActionState:function(e){return Te="useActionState",S(),$e(),ff(e)},useOptimistic:function(e,a){return Te="useOptimistic",S(),$e(),Ri(e,a)},useMemoCache:function(e){return S(),kn(e)},useHostTransitionStatus:Qi,useCacheRefresh:function(){return Te="useCacheRefresh",$e(),en().memoizedState}};var r8={"react-stack-bottom-frame":function(e,a,l){var d=$i;$i=!0;try{return e(a,l)}finally{$i=d}}},Zw=r8["react-stack-bottom-frame"].bind(r8),l8={"react-stack-bottom-frame":function(e){var a=$i;$i=!0;try{return e.render()}finally{$i=a}}},o8=l8["react-stack-bottom-frame"].bind(l8),s8={"react-stack-bottom-frame":function(e,a){try{a.componentDidMount()}catch(l){mt(e,e.return,l)}}},Kw=s8["react-stack-bottom-frame"].bind(s8),u8={"react-stack-bottom-frame":function(e,a,l,d,y){try{a.componentDidUpdate(l,d,y)}catch(b){mt(e,e.return,b)}}},c8=u8["react-stack-bottom-frame"].bind(u8),f8={"react-stack-bottom-frame":function(e,a){var l=a.stack;e.componentDidCatch(a.value,{componentStack:l!==null?l:""})}},AF=f8["react-stack-bottom-frame"].bind(f8),d8={"react-stack-bottom-frame":function(e,a,l){try{l.componentWillUnmount()}catch(d){mt(e,a,d)}}},h8=d8["react-stack-bottom-frame"].bind(d8),m8={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var a=e.create;return e=e.inst,a=a(),e.destroy=a}},wF=m8["react-stack-bottom-frame"].bind(m8),p8={"react-stack-bottom-frame":function(e,a,l){try{l()}catch(d){mt(e,a,d)}}},CF=p8["react-stack-bottom-frame"].bind(p8),g8={"react-stack-bottom-frame":function(e){var a=e._init;return a(e._payload)}},Qp=g8["react-stack-bottom-frame"].bind(g8),e1=null,Zb=0,Kt=null,Qw,y8=Qw=!1,v8={},b8={},S8={};v=function(e,a,l){if(l!==null&&typeof l=="object"&&l._store&&(!l._store.validated&&l.key==null||l._store.validated===2)){if(typeof l._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");l._store.validated=1;var d=ve(e),y=d||"null";if(!v8[y]){v8[y]=!0,l=l._owner,e=e._debugOwner;var b="";e&&typeof e.tag=="number"&&(y=ve(e))&&(b=`
|
|
997
997
|
|
|
998
998
|
Check the render method of \``+y+"`."),b||d&&(b=`
|
|
999
999
|
|
|
1000
|
-
Check the top-level render call using <`+d+">.");var O="";l!=null&&e!==l&&(d=null,typeof l.tag=="number"?d=ve(l):typeof l.name=="string"&&(d=l.name),d&&(O=" It was passed a child from "+d+".")),rt(a,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',b,O)})}}};var t1=Fu(!0),x8=Fu(!1),Su=He(null),ed=null,n1=1,Kb=2,Yi=He(0),T8={},E8=new Set,A8=new Set,w8=new Set,C8=new Set,O8=new Set,M8=new Set,D8=new Set,R8=new Set,_8=new Set,N8=new Set;Object.freeze(T8);var Ww={enqueueSetState:function(e,a,l){e=e._reactInternals;var d=ar(e),y=Ql(d);y.payload=a,l!=null&&(Ym(l),y.callback=l),a=Fi(e,y,d),a!==null&&(aa(a,e,d),Mi(a,e,d)),nt(e,d)},enqueueReplaceState:function(e,a,l){e=e._reactInternals;var d=ar(e),y=Ql(d);y.tag=Q_,y.payload=a,l!=null&&(Ym(l),y.callback=l),a=Fi(e,y,d),a!==null&&(aa(a,e,d),Mi(a,e,d)),nt(e,d)},enqueueForceUpdate:function(e,a){e=e._reactInternals;var l=ar(e),d=Ql(l);d.tag=W_,a!=null&&(Ym(a),d.callback=a),a=Fi(e,d,l),a!==null&&(aa(a,e,l),Mi(a,e,l)),Ke!==null&&typeof Ke.markForceUpdateScheduled=="function"&&Ke.markForceUpdateScheduled(e,l)}},Jw=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},a1=null,eC=null,z8=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),fr=!1,L8={},U8={},V8={},B8={},i1=!1,j8={},tC={},nC={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},$8=!1,H8=null;H8=new Set;var $h=!1,ri=!1,aC=!1,P8=typeof WeakSet=="function"?WeakSet:Set,dr=null,r1=null,l1=null,xi=null,Co=!1,Ec=null,Qb=8192,AF={getCacheForType:function(e){var a=Vn(Pi),l=a.data.get(e);return l===void 0&&(l=e(),a.data.set(e,l)),l},getOwner:function(){return Rr}};if(typeof Symbol=="function"&&Symbol.for){var Wb=Symbol.for;Wb("selector.component"),Wb("selector.has_pseudo_class"),Wb("selector.role"),Wb("selector.test_id"),Wb("selector.text")}var wF=[],CF=typeof WeakMap=="function"?WeakMap:Map,gs=0,Bl=2,Ac=4,Hh=0,Jb=1,o1=2,iC=3,ay=4,a2=6,k8=5,zn=gs,Qn=null,nn=null,on=0,Oo=0,eS=1,iy=2,tS=3,Y8=4,rC=5,s1=6,nS=7,lC=8,ry=9,Hn=Oo,ys=null,Wp=!1,u1=!1,oC=!1,td=0,Ya=Hh,Jp=0,eg=0,sC=0,vs=0,ly=0,aS=null,jl=null,i2=!1,uC=0,q8=300,r2=1/0,G8=500,iS=null,tg=null,OF=0,MF=1,DF=2,oy=0,I8=1,F8=2,X8=3,RF=4,cC=5,zr=0,ng=null,c1=null,ag=0,fC=0,dC=null,Z8=null,_F=50,rS=0,hC=null,mC=!1,l2=!1,NF=50,sy=0,lS=null,f1=!1,o2=null,K8=!1,Q8=new Set,zF={},s2=null,d1=null,pC=!1,gC=!1,u2=!1,yC=!1,uy=0,vC={};(function(){for(var e=0;e<Lw.length;e++){var a=Lw[e],l=a.toLowerCase();a=a[0].toUpperCase()+a.slice(1),Sr(l,"on"+a)}Sr(cl,"onAnimationEnd"),Sr(cr,"onAnimationIteration"),Sr(fl,"onAnimationStart"),Sr("dblclick","onDoubleClick"),Sr("focusin","onFocus"),Sr("focusout","onBlur"),Sr(za,"onTransitionRun"),Sr(ps,"onTransitionStart"),Sr(bc,"onTransitionCancel"),Sr(Bb,"onTransitionEnd")})(),wu("onMouseEnter",["mouseout","mouseover"]),wu("onMouseLeave",["mouseout","mouseover"]),wu("onPointerEnter",["pointerout","pointerover"]),wu("onPointerLeave",["pointerout","pointerover"]),Cs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Cs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Cs("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Cs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Cs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var oS="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(" "),bC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(oS)),c2="_reactListening"+Math.random().toString(36).slice(2),W8=!1,J8=!1,f2=!1,eN=!1,d2=!1,h2=!1,tN=!1,m2={},LF=/\r\n?/g,UF=/\u0000|\uFFFD/g,cy="http://www.w3.org/1999/xlink",SC="http://www.w3.org/XML/1998/namespace",VF="javascript:throw new Error('React form unexpectedly submitted.')",BF="suppressHydrationWarning",p2="$",g2="/$",Ph="$?",sS="$!",jF=1,$F=2,HF=4,xC="F!",nN="F",aN="complete",PF="style",kh=0,h1=1,y2=2,TC=null,EC=null,iN={dialog:!0,webview:!0},AC=null,rN=typeof setTimeout=="function"?setTimeout:void 0,kF=typeof clearTimeout=="function"?clearTimeout:void 0,fy=-1,lN=typeof Promise=="function"?Promise:void 0,YF=typeof queueMicrotask=="function"?queueMicrotask:typeof lN<"u"?function(e){return lN.resolve(null).then(e).catch(b0)}:rN,wC=null,dy=0,uS=1,oN=2,sN=3,xu=4,Tu=new Map,uN=new Set,Yh=Tt.d;Tt.d={f:function(){var e=Yh.f(),a=is();return e||a},r:function(e){var a=Ti(e);a!==null&&a.tag===5&&a.type==="form"?Wg(a):Yh.r(e)},D:function(e){Yh.D(e),Ev("dns-prefetch",e,null)},C:function(e,a){Yh.C(e,a),Ev("preconnect",e,a)},L:function(e,a,l){Yh.L(e,a,l);var d=m1;if(d&&e&&a){var y='link[rel="preload"][as="'+vr(a)+'"]';a==="image"&&l&&l.imageSrcSet?(y+='[imagesrcset="'+vr(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(y+='[imagesizes="'+vr(l.imageSizes)+'"]')):y+='[href="'+vr(e)+'"]';var b=y;switch(a){case"style":b=iu(e);break;case"script":b=sc(e)}Tu.has(b)||(e=Ut({rel:"preload",href:a==="image"&&l&&l.imageSrcSet?void 0:e,as:a},l),Tu.set(b,e),d.querySelector(y)!==null||a==="style"&&d.querySelector(bo(b))||a==="script"&&d.querySelector(uc(b))||(a=d.createElement("link"),ia(a,"link",e),Ua(a),d.head.appendChild(a)))}},m:function(e,a){Yh.m(e,a);var l=m1;if(l&&e){var d=a&&typeof a.as=="string"?a.as:"script",y='link[rel="modulepreload"][as="'+vr(d)+'"][href="'+vr(e)+'"]',b=y;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=sc(e)}if(!Tu.has(b)&&(e=Ut({rel:"modulepreload",href:e},a),Tu.set(b,e),l.querySelector(y)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(uc(b)))return}d=l.createElement("link"),ia(d,"link",e),Ua(d),l.head.appendChild(d)}}},X:function(e,a){Yh.X(e,a);var l=m1;if(l&&e){var d=Hr(l).hoistableScripts,y=sc(e),b=d.get(y);b||(b=l.querySelector(uc(y)),b||(e=Ut({src:e,async:!0},a),(a=Tu.get(y))&&Op(e,a),b=l.createElement("script"),Ua(b),ia(b,"link",e),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(y,b))}},S:function(e,a,l){Yh.S(e,a,l);var d=m1;if(d&&e){var y=Hr(d).hoistableStyles,b=iu(e);a=a||"default";var O=y.get(b);if(!O){var _={loading:dy,preload:null};if(O=d.querySelector(bo(b)))_.loading=uS|xu;else{e=Ut({rel:"stylesheet",href:e,"data-precedence":a},l),(l=Tu.get(b))&&C0(e,l);var H=O=d.createElement("link");Ua(H),ia(H,"link",e),H._p=new Promise(function(I,be){H.onload=I,H.onerror=be}),H.addEventListener("load",function(){_.loading|=uS}),H.addEventListener("error",function(){_.loading|=oN}),_.loading|=xu,Cp(O,a,d)}O={type:"stylesheet",instance:O,count:1,state:_},y.set(b,O)}}},M:function(e,a){Yh.M(e,a);var l=m1;if(l&&e){var d=Hr(l).hoistableScripts,y=sc(e),b=d.get(y);b||(b=l.querySelector(uc(y)),b||(e=Ut({src:e,async:!0,type:"module"},a),(a=Tu.get(y))&&Op(e,a),b=l.createElement("script"),Ua(b),ia(b,"link",e),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(y,b))}}};var m1=typeof document>"u"?null:document,v2=null,cS=null,CC=null,b2=null,hy=Db,fS={$$typeof:Ha,Provider:null,Consumer:null,_currentValue:hy,_currentValue2:hy,_threadCount:0},cN="%c%s%c ",fN="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",dN="",S2=" ",qF=Function.prototype.bind,hN=!1,mN=null,pN=null,gN=null,yN=null,vN=null,bN=null,SN=null,xN=null,TN=null;mN=function(e,a,l,d){a=t(e,a),a!==null&&(l=n(a.memoizedState,l,0,d),a.memoizedState=l,a.baseState=l,e.memoizedProps=Ut({},e.memoizedProps),l=si(e,2),l!==null&&aa(l,e,2))},pN=function(e,a,l){a=t(e,a),a!==null&&(l=u(a.memoizedState,l,0),a.memoizedState=l,a.baseState=l,e.memoizedProps=Ut({},e.memoizedProps),l=si(e,2),l!==null&&aa(l,e,2))},gN=function(e,a,l,d){a=t(e,a),a!==null&&(l=i(a.memoizedState,l,d),a.memoizedState=l,a.baseState=l,e.memoizedProps=Ut({},e.memoizedProps),l=si(e,2),l!==null&&aa(l,e,2))},yN=function(e,a,l){e.pendingProps=n(e.memoizedProps,a,0,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),a=si(e,2),a!==null&&aa(a,e,2)},vN=function(e,a){e.pendingProps=u(e.memoizedProps,a,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),a=si(e,2),a!==null&&aa(a,e,2)},bN=function(e,a,l){e.pendingProps=i(e.memoizedProps,a,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),a=si(e,2),a!==null&&aa(a,e,2)},SN=function(e){var a=si(e,2);a!==null&&aa(a,e,2)},xN=function(e){g=e},TN=function(e){h=e};var x2=!0,T2=null,OC=!1,ig=null,rg=null,lg=null,dS=new Map,hS=new Map,og=[],GF="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),E2=null;if(xh.prototype.render=Lp.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error("Cannot update an unmounted root.");var l=arguments;typeof l[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):P(l[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof l[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),l=e;var d=a.current,y=ar(d);Cn(d,y,l,a,null,null)},xh.prototype.unmount=Lp.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var a=e.containerInfo;(zn&(Bl|Ac))!==gs&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Cn(e.current,2,null,e,null,null),is(),a[uu]=null}},xh.prototype.unstable_scheduleHydration=function(e){if(e){var a=Yl();e={blockedOn:null,target:e,priority:a};for(var l=0;l<og.length&&a!==0&&a<og[l].priority;l++);og.splice(l,0,e),l===0&&Dv(e)}},function(){var e=Th.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
1000
|
+
Check the top-level render call using <`+d+">.");var O="";l!=null&&e!==l&&(d=null,typeof l.tag=="number"?d=ve(l):typeof l.name=="string"&&(d=l.name),d&&(O=" It was passed a child from "+d+".")),rt(a,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',b,O)})}}};var t1=Fu(!0),x8=Fu(!1),Su=He(null),ed=null,n1=1,Kb=2,Yi=He(0),T8={},E8=new Set,A8=new Set,w8=new Set,C8=new Set,O8=new Set,M8=new Set,D8=new Set,R8=new Set,_8=new Set,N8=new Set;Object.freeze(T8);var Ww={enqueueSetState:function(e,a,l){e=e._reactInternals;var d=ar(e),y=Ql(d);y.payload=a,l!=null&&(Ym(l),y.callback=l),a=Fi(e,y,d),a!==null&&(aa(a,e,d),Mi(a,e,d)),nt(e,d)},enqueueReplaceState:function(e,a,l){e=e._reactInternals;var d=ar(e),y=Ql(d);y.tag=Q_,y.payload=a,l!=null&&(Ym(l),y.callback=l),a=Fi(e,y,d),a!==null&&(aa(a,e,d),Mi(a,e,d)),nt(e,d)},enqueueForceUpdate:function(e,a){e=e._reactInternals;var l=ar(e),d=Ql(l);d.tag=W_,a!=null&&(Ym(a),d.callback=a),a=Fi(e,d,l),a!==null&&(aa(a,e,l),Mi(a,e,l)),Ke!==null&&typeof Ke.markForceUpdateScheduled=="function"&&Ke.markForceUpdateScheduled(e,l)}},Jw=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},a1=null,eC=null,z8=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),fr=!1,L8={},U8={},V8={},B8={},i1=!1,j8={},tC={},nC={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},$8=!1,H8=null;H8=new Set;var $h=!1,ri=!1,aC=!1,P8=typeof WeakSet=="function"?WeakSet:Set,dr=null,r1=null,l1=null,xi=null,Co=!1,Ec=null,Qb=8192,OF={getCacheForType:function(e){var a=Vn(Pi),l=a.data.get(e);return l===void 0&&(l=e(),a.data.set(e,l)),l},getOwner:function(){return Rr}};if(typeof Symbol=="function"&&Symbol.for){var Wb=Symbol.for;Wb("selector.component"),Wb("selector.has_pseudo_class"),Wb("selector.role"),Wb("selector.test_id"),Wb("selector.text")}var MF=[],DF=typeof WeakMap=="function"?WeakMap:Map,gs=0,Bl=2,Ac=4,Hh=0,Jb=1,o1=2,iC=3,ay=4,a2=6,k8=5,zn=gs,Qn=null,nn=null,on=0,Oo=0,eS=1,iy=2,tS=3,Y8=4,rC=5,s1=6,nS=7,lC=8,ry=9,Hn=Oo,ys=null,Wp=!1,u1=!1,oC=!1,td=0,Ya=Hh,Jp=0,eg=0,sC=0,vs=0,ly=0,aS=null,jl=null,i2=!1,uC=0,q8=300,r2=1/0,G8=500,iS=null,tg=null,RF=0,_F=1,NF=2,oy=0,I8=1,F8=2,X8=3,zF=4,cC=5,zr=0,ng=null,c1=null,ag=0,fC=0,dC=null,Z8=null,LF=50,rS=0,hC=null,mC=!1,l2=!1,UF=50,sy=0,lS=null,f1=!1,o2=null,K8=!1,Q8=new Set,VF={},s2=null,d1=null,pC=!1,gC=!1,u2=!1,yC=!1,uy=0,vC={};(function(){for(var e=0;e<Lw.length;e++){var a=Lw[e],l=a.toLowerCase();a=a[0].toUpperCase()+a.slice(1),Sr(l,"on"+a)}Sr(cl,"onAnimationEnd"),Sr(cr,"onAnimationIteration"),Sr(fl,"onAnimationStart"),Sr("dblclick","onDoubleClick"),Sr("focusin","onFocus"),Sr("focusout","onBlur"),Sr(za,"onTransitionRun"),Sr(ps,"onTransitionStart"),Sr(bc,"onTransitionCancel"),Sr(Bb,"onTransitionEnd")})(),wu("onMouseEnter",["mouseout","mouseover"]),wu("onMouseLeave",["mouseout","mouseover"]),wu("onPointerEnter",["pointerout","pointerover"]),wu("onPointerLeave",["pointerout","pointerover"]),Cs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Cs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Cs("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Cs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Cs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var oS="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(" "),bC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(oS)),c2="_reactListening"+Math.random().toString(36).slice(2),W8=!1,J8=!1,f2=!1,eN=!1,d2=!1,h2=!1,tN=!1,m2={},BF=/\r\n?/g,jF=/\u0000|\uFFFD/g,cy="http://www.w3.org/1999/xlink",SC="http://www.w3.org/XML/1998/namespace",$F="javascript:throw new Error('React form unexpectedly submitted.')",HF="suppressHydrationWarning",p2="$",g2="/$",Ph="$?",sS="$!",PF=1,kF=2,YF=4,xC="F!",nN="F",aN="complete",qF="style",kh=0,h1=1,y2=2,TC=null,EC=null,iN={dialog:!0,webview:!0},AC=null,rN=typeof setTimeout=="function"?setTimeout:void 0,GF=typeof clearTimeout=="function"?clearTimeout:void 0,fy=-1,lN=typeof Promise=="function"?Promise:void 0,IF=typeof queueMicrotask=="function"?queueMicrotask:typeof lN<"u"?function(e){return lN.resolve(null).then(e).catch(b0)}:rN,wC=null,dy=0,uS=1,oN=2,sN=3,xu=4,Tu=new Map,uN=new Set,Yh=Tt.d;Tt.d={f:function(){var e=Yh.f(),a=is();return e||a},r:function(e){var a=Ti(e);a!==null&&a.tag===5&&a.type==="form"?Wg(a):Yh.r(e)},D:function(e){Yh.D(e),Ev("dns-prefetch",e,null)},C:function(e,a){Yh.C(e,a),Ev("preconnect",e,a)},L:function(e,a,l){Yh.L(e,a,l);var d=m1;if(d&&e&&a){var y='link[rel="preload"][as="'+vr(a)+'"]';a==="image"&&l&&l.imageSrcSet?(y+='[imagesrcset="'+vr(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(y+='[imagesizes="'+vr(l.imageSizes)+'"]')):y+='[href="'+vr(e)+'"]';var b=y;switch(a){case"style":b=iu(e);break;case"script":b=sc(e)}Tu.has(b)||(e=Ut({rel:"preload",href:a==="image"&&l&&l.imageSrcSet?void 0:e,as:a},l),Tu.set(b,e),d.querySelector(y)!==null||a==="style"&&d.querySelector(bo(b))||a==="script"&&d.querySelector(uc(b))||(a=d.createElement("link"),ia(a,"link",e),Ua(a),d.head.appendChild(a)))}},m:function(e,a){Yh.m(e,a);var l=m1;if(l&&e){var d=a&&typeof a.as=="string"?a.as:"script",y='link[rel="modulepreload"][as="'+vr(d)+'"][href="'+vr(e)+'"]',b=y;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=sc(e)}if(!Tu.has(b)&&(e=Ut({rel:"modulepreload",href:e},a),Tu.set(b,e),l.querySelector(y)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(uc(b)))return}d=l.createElement("link"),ia(d,"link",e),Ua(d),l.head.appendChild(d)}}},X:function(e,a){Yh.X(e,a);var l=m1;if(l&&e){var d=Hr(l).hoistableScripts,y=sc(e),b=d.get(y);b||(b=l.querySelector(uc(y)),b||(e=Ut({src:e,async:!0},a),(a=Tu.get(y))&&Op(e,a),b=l.createElement("script"),Ua(b),ia(b,"link",e),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(y,b))}},S:function(e,a,l){Yh.S(e,a,l);var d=m1;if(d&&e){var y=Hr(d).hoistableStyles,b=iu(e);a=a||"default";var O=y.get(b);if(!O){var _={loading:dy,preload:null};if(O=d.querySelector(bo(b)))_.loading=uS|xu;else{e=Ut({rel:"stylesheet",href:e,"data-precedence":a},l),(l=Tu.get(b))&&C0(e,l);var H=O=d.createElement("link");Ua(H),ia(H,"link",e),H._p=new Promise(function(I,be){H.onload=I,H.onerror=be}),H.addEventListener("load",function(){_.loading|=uS}),H.addEventListener("error",function(){_.loading|=oN}),_.loading|=xu,Cp(O,a,d)}O={type:"stylesheet",instance:O,count:1,state:_},y.set(b,O)}}},M:function(e,a){Yh.M(e,a);var l=m1;if(l&&e){var d=Hr(l).hoistableScripts,y=sc(e),b=d.get(y);b||(b=l.querySelector(uc(y)),b||(e=Ut({src:e,async:!0,type:"module"},a),(a=Tu.get(y))&&Op(e,a),b=l.createElement("script"),Ua(b),ia(b,"link",e),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(y,b))}}};var m1=typeof document>"u"?null:document,v2=null,cS=null,CC=null,b2=null,hy=Db,fS={$$typeof:Ha,Provider:null,Consumer:null,_currentValue:hy,_currentValue2:hy,_threadCount:0},cN="%c%s%c ",fN="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",dN="",S2=" ",FF=Function.prototype.bind,hN=!1,mN=null,pN=null,gN=null,yN=null,vN=null,bN=null,SN=null,xN=null,TN=null;mN=function(e,a,l,d){a=t(e,a),a!==null&&(l=n(a.memoizedState,l,0,d),a.memoizedState=l,a.baseState=l,e.memoizedProps=Ut({},e.memoizedProps),l=si(e,2),l!==null&&aa(l,e,2))},pN=function(e,a,l){a=t(e,a),a!==null&&(l=u(a.memoizedState,l,0),a.memoizedState=l,a.baseState=l,e.memoizedProps=Ut({},e.memoizedProps),l=si(e,2),l!==null&&aa(l,e,2))},gN=function(e,a,l,d){a=t(e,a),a!==null&&(l=i(a.memoizedState,l,d),a.memoizedState=l,a.baseState=l,e.memoizedProps=Ut({},e.memoizedProps),l=si(e,2),l!==null&&aa(l,e,2))},yN=function(e,a,l){e.pendingProps=n(e.memoizedProps,a,0,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),a=si(e,2),a!==null&&aa(a,e,2)},vN=function(e,a){e.pendingProps=u(e.memoizedProps,a,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),a=si(e,2),a!==null&&aa(a,e,2)},bN=function(e,a,l){e.pendingProps=i(e.memoizedProps,a,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),a=si(e,2),a!==null&&aa(a,e,2)},SN=function(e){var a=si(e,2);a!==null&&aa(a,e,2)},xN=function(e){g=e},TN=function(e){h=e};var x2=!0,T2=null,OC=!1,ig=null,rg=null,lg=null,dS=new Map,hS=new Map,og=[],XF="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),E2=null;if(xh.prototype.render=Lp.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error("Cannot update an unmounted root.");var l=arguments;typeof l[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):P(l[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof l[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),l=e;var d=a.current,y=ar(d);Cn(d,y,l,a,null,null)},xh.prototype.unmount=Lp.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var a=e.containerInfo;(zn&(Bl|Ac))!==gs&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Cn(e.current,2,null,e,null,null),is(),a[uu]=null}},xh.prototype.unstable_scheduleHydration=function(e){if(e){var a=Yl();e={blockedOn:null,target:e,priority:a};for(var l=0;l<og.length&&a!==0&&a<og[l].priority;l++);og.splice(l,0,e),l===0&&Dv(e)}},function(){var e=Th.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
1001
1001
|
- react: `+(e+`
|
|
1002
1002
|
- react-dom: 19.1.0
|
|
1003
1003
|
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Tt.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=J(a),e=e!==null?Y(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:xe,reconcilerVersion:"19.1.0"};return e.overrideHookState=mN,e.overrideHookStateDeletePath=pN,e.overrideHookStateRenamePath=gN,e.overrideProps=yN,e.overridePropsDeletePath=vN,e.overridePropsRenamePath=bN,e.scheduleUpdate=SN,e.setErrorHandler=xN,e.setSuspenseHandler=TN,e.scheduleRefresh=B,e.scheduleRoot=R,e.setRefreshHandler=L,e.getCurrentFiber=Np,e.getLaneLabelMap=Ob,e.injectProfilingHooks=et,Le(e)}()&&Z&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var EN=window.location.protocol;/^(https?|file):$/.test(EN)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(EN==="file:"?`
|
|
1004
1004
|
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}wb.createRoot=function(e,a){if(!P(e))throw Error("Target container is not a DOM element.");_v(e);var l=!1,d="",y=Jg,b=Gm,O=Im,_=null;return a!=null&&(a.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof a=="object"&&a!==null&&a.$$typeof===ou&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
1005
1005
|
|
|
1006
1006
|
let root = createRoot(domContainer);
|
|
1007
|
-
root.render(<App />);`),a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onUncaughtError!==void 0&&(y=a.onUncaughtError),a.onCaughtError!==void 0&&(b=a.onCaughtError),a.onRecoverableError!==void 0&&(O=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(_=a.unstable_transitionCallbacks)),a=M0(e,1,!1,null,null,l,d,y,b,O,_,null),e[uu]=a.current,d0(e),new Lp(a)},wb.hydrateRoot=function(e,a,l){if(!P(e))throw Error("Target container is not a DOM element.");_v(e),a===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var d=!1,y="",b=Jg,O=Gm,_=Im,H=null,I=null;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(y=l.identifierPrefix),l.onUncaughtError!==void 0&&(b=l.onUncaughtError),l.onCaughtError!==void 0&&(O=l.onCaughtError),l.onRecoverableError!==void 0&&(_=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(H=l.unstable_transitionCallbacks),l.formState!==void 0&&(I=l.formState)),a=M0(e,1,!0,a,l??null,d,y,b,O,_,H,I),a.context=D0(null),l=a.current,d=ar(l),d=tt(d),y=Ql(d),y.callback=null,Fi(l,y,d),l=d,a.current.lanes=l,$r(a,l),ir(a),e[uu]=a.current,d0(e),new xh(a)},wb.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),wb}var B_;function
|
|
1007
|
+
root.render(<App />);`),a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onUncaughtError!==void 0&&(y=a.onUncaughtError),a.onCaughtError!==void 0&&(b=a.onCaughtError),a.onRecoverableError!==void 0&&(O=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(_=a.unstable_transitionCallbacks)),a=M0(e,1,!1,null,null,l,d,y,b,O,_,null),e[uu]=a.current,d0(e),new Lp(a)},wb.hydrateRoot=function(e,a,l){if(!P(e))throw Error("Target container is not a DOM element.");_v(e),a===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var d=!1,y="",b=Jg,O=Gm,_=Im,H=null,I=null;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(y=l.identifierPrefix),l.onUncaughtError!==void 0&&(b=l.onUncaughtError),l.onCaughtError!==void 0&&(O=l.onCaughtError),l.onRecoverableError!==void 0&&(_=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(H=l.unstable_transitionCallbacks),l.formState!==void 0&&(I=l.formState)),a=M0(e,1,!0,a,l??null,d,y,b,O,_,H,I),a.context=D0(null),l=a.current,d=ar(l),d=tt(d),y=Ql(d),y.callback=null,Fi(l,y,d),l=d,a.current.lanes=l,$r(a,l),ir(a),e[uu]=a.current,d0(e),new xh(a)},wb.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),wb}var B_;function mF(){if(B_)return jx.exports;B_=1;function t(){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(t)}catch(n){console.error(n)}}}return process.env.NODE_ENV==="production"?(t(),jx.exports=dF()):jx.exports=hF(),jx.exports}var pF=mF();const j_=AN({__proto__:null},[pF]);at.ActionButton=X7,at.AlertModal=S5,at.AsyncToast=e4,at.Avatar=i_,at.BoxContainer=Wy,at.Button=Eb,at.CalendarSelector=Q5,at.CenterModal=f_,at.Checkbox=VG,at.CountryDropdown=yI,at.CountryInput=pI,at.CountryLabel=gI,at.DateInput=fG,at.DialogModal=J5,at.Divider=c_,at.Dropdown=mG,at.FileUpload=pG,at.FloatingMenu=xb,at.IconButton=Bx,at.ImageProfileInput=SI,at.IndexedStep=TI,at.InfoCard=EI,at.InformationDisclaimer=wI,at.LoadingSpinner=CI,at.ModalContainer=EG,at.Organism=sF,at.PasswordInput=OI,at.PhoneInput=MI,at.ProgressBar=NI,at.SearchBar=zI,at.SearchModal=gG,at.SectionButton=qI,at.SelectDropdown=GI,at.SidebarButton=KI,at.Stepper=xG,at.Tab=D_,at.Tabs=TG,at.TextButton=R_,at.TextInput=iF,at.TextStaticInput=rF,at.ThemeProvider=uF,at.Toast=OE,at.UncontrolledSelector=lF,at.UncontrolledTextInput=W5,at.UploadContainer=oF,at.capitalizeFirstLetter=v4,at.closeModal=wG,at.defaultTheme=HA,at.formatLocalizedDate=b4,at.getImageUrl=x4,at.openModal=AG,at.renderTabContent=CG,at.showToastAsync=lw,at.showToastLoading=a_,at.stringToColor=ME,at.toBase64=x$,at.toast=OG,at.translateBytes=S4,at.useTheme=ca,at.yupImageProfileValidator=xI,Object.defineProperty(at,Symbol.toStringTag,{value:"Module"})});
|