@flarehr/workflows-app 0.1.3106 → 0.1.3108
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/Tests.fs.js +304 -0
- package/dist/Tests.fs.js.map +1 -0
- package/package.json +22 -23
- package/LICENCE +0 -1
- package/dist/tests.js +0 -4029
- package/dist/workflows-app.css +0 -2
- package/dist/workflows-app.js +0 -2
- package/dist/workflows-app.js.LICENSE.txt +0 -5
package/dist/Tests.fs.js
ADDED
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
var V3=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var lle=V3((vle,Tc)=>{function H3(e,r){for(var a=0;a<r.length;a++){const o=r[a];if(typeof o!="string"&&!Array.isArray(o)){for(const u in o)if(u!=="default"&&!(u in e)){const f=Object.getOwnPropertyDescriptor(o,u);f&&Object.defineProperty(e,u,f.get?f:{enumerable:!0,get:()=>o[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Hc=Symbol("numeric");function BP(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[Hc])}function z3(e,r){return typeof e=="number"||typeof e=="bigint"?e<r?-1:e>r?1:0:e.CompareTo(r)}function GS(e,r){return typeof e=="number"?e*r:typeof e=="bigint"?e*BigInt(r):e[Hc]().multiply(r)}function rh(e,r){return typeof e=="number"?e.toFixed(r):typeof e=="bigint"?e:e[Hc]().toFixed(r)}function fh(e,r){return typeof e=="number"?e.toPrecision(r):typeof e=="bigint"?e:e[Hc]().toPrecision(r)}function dh(e,r){return typeof e=="number"?e.toExponential(r):typeof e=="bigint"?e:e[Hc]().toExponential(r)}function ph(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[Hc]().toHex()}function Oi(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function W3(e){return e!=null&&typeof e.GetEnumerator=="function"}function G3(e){return e!=null&&typeof e.CompareTo=="function"}function Y3(e){return e!=null&&typeof e.Equals=="function"}function UP(e){return e!=null&&typeof e.GetHashCode=="function"}function YS(e){return e!=null&&typeof e.Dispose=="function"}function _t(e){YS(e)&&e.Dispose()}function ua(){return null}function vh(e,r){var a,o;return((a=Object.getPrototypeOf(e))==null?void 0:a.constructor)===((o=Object.getPrototypeOf(r))==null?void 0:o.constructor)}class K3{constructor(r){this.iter=r,this.current=ua()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const r=this.iter.next();return this.current=r.value,!r.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Nt(e){return W3(e)?e.GetEnumerator():new K3(e[Symbol.iterator]())}function cp(e){return{next(){const r=e["System.Collections.IEnumerator.MoveNext"](),a=r?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!r,value:a}}}}function X3(e,r,a){if(!je(e,r))throw Object.assign(new Error(a||`Expected: ${r} - Actual: ${e}`),{actual:e,expected:r})}class Q3{constructor(r){this.factory=r,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Rt(e,r){return e.toString(10).padStart(r,"0")}function J3(e,r,a){return e.toString(10).padStart(r,"0").padEnd(a,"0")}function yD(e){const r=e;return typeof r.offset=="number"?r.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function Z3(e,r){return e=e<0&&r!=null&&r!==10?65535+e+1:e,e.toString(r)}function Xu(e,r){return e=e<0&&r!=null&&r!==10?4294967295+e+1:e,e.toString(r)}class Wo{static id(r){return Wo.idMap.has(r)||Wo.idMap.set(r,++Wo.count),Wo.idMap.get(r)}}Wo.idMap=new WeakMap;Wo.count=0;function $h(e){let r=0,a=5381;const o=e.length;for(;r<o;)a=a*33^e.charCodeAt(r++);return a}function Si(e){return e*2654435761|0}function FP(e){return $h(e.toString(32))}function fp(e){let r=0;const a=e.length;for(let o=0;o<a;o++){const u=e[o];r=(r<<5)+r^u}return r}function e6(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Si(e);case"bigint":return FP(e);case"string":return $h(e);default:return Si(Wo.id(e))}}function t6(e){return UP(e)?e.GetHashCode():e6(e)}function n6(e){return e.getTime()}function r6(e){const r=e.length,a=new Array(r);for(let o=0;o<r;o++)a[o]=ao(e[o]);return fp(a)}function ao(e){var r;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Si(e);case"bigint":return FP(e);case"string":return $h(e);default:{if(UP(e))return e.GetHashCode();if(Oi(e))return r6(e);if(e instanceof Date)return n6(e);if(((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object){const a=Object.values(e).map(o=>ao(o));return fp(a)}else return Si(Wo.id(e))}}}function H_(e){return t6(e)}function KS(e,r,a){if(e==null)return r==null;if(r==null||e.length!==r.length)return!1;for(let o=0;o<e.length;o++)if(!a(e[o],r[o]))return!1;return!0}function jP(e,r){return KS(e,r,je)}function a6(e,r){const a=Object.keys(e),o=Object.keys(r);if(a.length!==o.length)return!1;a.sort(),o.sort();for(let u=0;u<a.length;u++)if(a[u]!==o[u]||!je(e[a[u]],r[o[u]]))return!1;return!0}function je(e,r){var a;return e===r?!0:e==null?r==null:r==null?!1:Y3(e)?e.Equals(r):Oi(e)?Oi(r)&&jP(e,r):typeof e!="object"?!1:e instanceof Date?r instanceof Date&&VP(e,r)===0:((a=Object.getPrototypeOf(e))==null?void 0:a.constructor)===Object&&a6(e,r)}function VP(e,r){let a,o;return"offset"in e&&"offset"in r?(a=e.getTime(),o=r.getTime()):(a=e.getTime()+yD(e),o=r.getTime()+yD(r)),a===o?0:a<o?-1:1}function qh(e,r){return e===r?0:e<r?-1:1}function i6(e,r,a){if(e==null)return r==null?0:1;if(r==null)return-1;if(e.length!==r.length)return e.length<r.length?-1:1;for(let o=0,u=0;o<e.length;o++)if(u=a(e[o],r[o]),u!==0)return u;return 0}function HP(e,r){return i6(e,r,Fa)}function o6(e,r){const a=Object.keys(e),o=Object.keys(r);if(a.length!==o.length)return a.length<o.length?-1:1;a.sort(),o.sort();for(let u=0,f=0;u<a.length;u++){const c=a[u];if(c!==o[u])return c<o[u]?-1:1;if(f=Fa(e[c],r[c]),f!==0)return f}return 0}function Fa(e,r){var a;return e===r?0:e==null?r==null?0:-1:r==null?1:G3(e)?e.CompareTo(r):Oi(e)?Oi(r)?HP(e,r):-1:typeof e!="object"?e<r?-1:1:e instanceof Date?r instanceof Date?VP(e,r):-1:((a=Object.getPrototypeOf(e))==null?void 0:a.constructor)===Object?o6(e,r):-1}function or(e){const r={};for(const a of e)r[a[0]]=a[1];return r}function l6(e){Oi(e)?e.splice(0):e.clear()}const Bh=new WeakMap;function on(e){if(e==null)return null;const r=(a,o)=>e(a)(o);return Bh.set(r,e),r}function Hl(e){return Bh.get(e)??(r=>a=>e(r,a))}function XS(e){if(e==null)return null;const r=(a,o,u)=>e(a)(o)(u);return Bh.set(r,e),r}function ah(e){return Bh.get(e)??(r=>a=>o=>e(r,a,o))}function u6(e){let r=0,a="[";for(const o of e){if(r===0)a+=ja(o);else if(r===100){a+="; ...";break}else a+="; "+ja(o);r++}return a+"]"}function ja(e,r=0){var a;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return u6(e);{const o=(a=Object.getPrototypeOf(e))==null?void 0:a.constructor;return o===Object&&r<10?"{ "+Object.entries(e).map(([u,f])=>u+" = "+ja(f,r+1)).join(`
|
|
2
|
+
`)+" }":(o==null?void 0:o.name)??""}}return String(e)}function s6(e,r){if(r.length===0)return e;{let a,o=!0;return r.length===1?(a=ja(r[0]),o=a.indexOf(" ")>=0):a=r.map(u=>ja(u)).join(", "),e+(o?" (":" ")+a+(o?")":"")}}class Ye{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return s6(this.name,this.fields)}GetHashCode(){const r=this.fields.map(a=>ao(a));return r.splice(0,0,Si(this.tag)),fp(r)}Equals(r){return this===r?!0:vh(this,r)&&this.tag===r.tag?jP(this.fields,r.fields):!1}CompareTo(r){return this===r?0:vh(this,r)?this.tag===r.tag?HP(this.fields,r.fields):this.tag<r.tag?-1:1:-1}}function c6(e){const r={},a=Object.keys(e);for(let o=0;o<a.length;o++)r[a[o]]=e[a[o]];return r}function f6(e){return"{ "+Object.entries(e).map(([r,a])=>r+" = "+ja(a)).join(`
|
|
3
|
+
`)+" }"}function d6(e){const r=Object.values(e).map(a=>ao(a));return fp(r)}function p6(e,r){if(e===r)return!0;if(vh(e,r)){const a=Object.keys(e);for(let o=0;o<a.length;o++)if(!je(e[a[o]],r[a[o]]))return!1;return!0}else return!1}function v6(e,r){if(e===r)return 0;if(vh(e,r)){const a=Object.keys(e);for(let o=0;o<a.length;o++){const u=Fa(e[a[o]],r[a[o]]);if(u!==0)return u}return 0}else return-1}class ft{toJSON(){return c6(this)}toString(){return f6(this)}GetHashCode(){return d6(this)}Equals(r){return p6(this,r)}CompareTo(r){return v6(this,r)}}class ca{get contents(){return this.getter()}set contents(r){this.setter(r)}constructor(r,a){typeof a=="function"?(this.getter=r,this.setter=a):(this.getter=()=>r,this.setter=o=>{r=o})}}class m6{constructor(r){this.message=r}}function h6(e){return e instanceof m6||e instanceof Error}function y6(e){return e instanceof Promise}function mh(e){return h6(e)||y6(e)?e:new Error(String(e))}const g6=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],b6=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],E6=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],C6=["January","February","March","April","May","June","July","August","September","October","November","December"];function Sa(e,r,a){let o=0,u=r;for(;u<e.length&&e[u]===a;)u++,o++;return o}function gD(e,r){return r>=e.length-1?-1:e.charCodeAt(r+1)}function w6(e,r){let a=r;const o=e[r];let u="",f=!1;for(;r<e.length;){r++;const c=e[r];if(c===o){f=!0;break}else if(c==="\\")if(r<e.length)r++,u+=e[r];else throw new Error("Invalid string format");else u+=c}if(!f)throw new Error(`Invalid string format could not find matching quote for ${o}`);return[u,r-a+1]}function z_(e,r,a){let o=0,u=0,f="";const c=a?ls(e.getTime(),1):e;for(;o<r.length;){const v=r[o];switch(v){case"d":switch(u=Sa(r,o,"d"),o+=u,u){case 1:f+=JS(c);break;case 2:f+=Rt(JS(c),2);break;case 3:f+=g6[wD(c)];break;case 4:f+=b6[wD(c)];break}break;case"f":if(u=Sa(r,o,"f"),o+=u,u<=3){const B=10**(3-u);f+=Rt(Math.floor(zm(c)/B),u)}else u<=7&&(f+=(""+zm(c)).padEnd(u,"0"));break;case"F":if(u=Sa(r,o,"F"),o+=u,u<=3){const B=10**(3-u),T=Math.floor(zm(c)/B);T!=0&&(f+=Rt(T,u))}else if(u<=7){const B=zm(c);B!=0&&(f+=Rt(B,3))}break;case"g":u=Sa(r,o,"g"),o+=u,u<=2&&(f+="A.D.");break;case"h":switch(u=Sa(r,o,"h"),o+=u,u){case 1:f+=Hm(c)%12;break;case 2:f+=Rt(Hm(c)%12,2);break}break;case"H":switch(u=Sa(r,o,"H"),o+=u,u){case 1:f+=Hm(c);break;case 2:f+=Rt(Hm(c),2);break}break;case"K":switch(u=Sa(r,o,"K"),o+=u,u){case 1:switch(bD(c)){case 1:f+="Z";break;case 2:f+=Oc(c.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(u=Sa(r,o,"m"),o+=u,u){case 1:f+=ED(c);break;case 2:f+=Rt(ED(c),2);break}break;case"M":switch(u=Sa(r,o,"M"),o+=u,u){case 1:f+=Xd(c);break;case 2:f+=Rt(Xd(c),2);break;case 3:f+=E6[Xd(c)-1];break;case 4:f+=C6[Xd(c)-1];break}break;case"s":switch(u=Sa(r,o,"s"),o+=u,u){case 1:f+=CD(c);break;case 2:f+=Rt(CD(c),2);break}break;case"t":switch(u=Sa(r,o,"t"),o+=u,u){case 1:f+=c.getHours()<12?"A":"P";break;case 2:f+=c.getHours()<12?"AM":"PM";break}break;case"y":switch(u=Sa(r,o,"y"),o+=u,u){case 1:f+=c.getFullYear()%100;break;case 2:f+=Rt(c.getFullYear()%100,2);break;case 3:f+=Rt(c.getFullYear(),3);break;case 4:f+=Rt(c.getFullYear(),4);break;case 5:f+=Rt(c.getFullYear(),5);break}break;case"z":u=Sa(r,o,"z"),o+=u;let m="";switch(bD(c)){case 1:m="+00:00";break;case 2:m=Oc(c.getTimezoneOffset()*-6e4);break;case 0:m=Oc(k6(c).getTimezoneOffset()*-6e4);break}const h=m[0]==="-"?"-":"+",C=parseInt(m.substring(1,3),10),b=parseInt(m.substring(4,6),10);switch(u){case 1:f+=`${h}${C}`;break;case 2:f+=`${h}${Rt(C,2)}`;break;default:f+=`${h}${Rt(C,2)}:${Rt(b,2)}`;break}break;case":":f+=":",o++;break;case"/":f+="/",o++;break;case"'":case'"':const[R,M]=w6(r,o);f+=R,o+=M;break;case"%":const A=gD(r,o);if(A>=0&&A!==37)o+=2,f+=z_(c,String.fromCharCode(A),a);else throw new Error("Invalid format string");break;case"\\":const L=gD(r,o);if(L>=0)o+=2,f+=String.fromCharCode(L);else throw new Error("Invalid format string");break;default:o++,f+=v;break}}return f}function bD(e){return e.kind||0}function Oc(e){const r=e<0;e=Math.abs(e);const a=~~(e/36e5),o=e%36e5/6e4;return(r?"-":"+")+Rt(a,2)+":"+Rt(o,2)}function hh(e,r){const a=e.toISOString();return r==="first"?a.substring(0,a.indexOf("T")):a.substring(a.indexOf("T")+1,a.length-1)}function S6(e,r){if(r)return e.toISOString();{const a=e.kind==null?!0:e.kind===2;return Rt(e.getFullYear(),4)+"-"+Rt(e.getMonth()+1,2)+"-"+Rt(e.getDate(),2)+"T"+Rt(e.getHours(),2)+":"+Rt(e.getMinutes(),2)+":"+Rt(e.getSeconds(),2)+"."+Rt(e.getMilliseconds(),3)+(a?Oc(e.getTimezoneOffset()*-6e4):"")}}function _6(e,r){const a=e.toISOString();return a.substring(0,a.length-1)+Oc(r)}function R6(e,r){const a=new Date(e.getTime()+(e.offset??0));if(typeof r!="string")return a.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Oc(e.offset??0);if(r.length===1)switch(r){case"D":case"d":return hh(a,"first");case"T":case"t":return hh(a,"second");case"O":case"o":return _6(a,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return z_(a,r,!0)}function T6(e,r){const a=e.kind===1;if(typeof r!="string")return a?e.toUTCString():e.toLocaleString();if(r.length===1)switch(r){case"D":case"d":return a?hh(e,"first"):e.toLocaleDateString();case"T":case"t":return a?hh(e,"second"):e.toLocaleTimeString();case"O":case"o":return S6(e,a);default:throw new Error("Unrecognized Date print format")}else return z_(e,r,a)}function Uh(e,r,a){return e.offset!=null?R6(e,r):T6(e,r)}function ls(e,r){const a=new Date(e);return a.kind=(r??0)|0,a}function x6(){return ls(-621355968e5,1)}function zP(e){function r(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&r(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let a=new Date(e),o=null;if(isNaN(a.getTime())){const u=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(u!=null){let f,c=0;if(u[2]!=null){const v=u[2].split(":"),m=parseInt(v[0],10);c=m*3600+parseInt(v[1]||"0",10)*60+parseFloat(v[2]||"0"),u[3]!=null&&u[3].toUpperCase()==="PM"&&m<12&&(c+=720)}if(u[4]!=null){if(u[1]!=null)f=new Date(u[1]+" UTC");else{const v=new Date;f=new Date(v.getUTCFullYear()+"/"+(v.getUTCMonth()+1)+"/"+v.getUTCDate())}if(u[4]==="Z")o="Z";else{let v=parseInt(u[5],10)*60+parseInt(u[6]||"0",10);u[4][0]==="-"&&(v*=-1),o=v,c-=v*60}}else if(u[1]!=null)f=new Date(u[1]);else{const v=new Date;f=new Date(v.getFullYear()+"/"+(v.getMonth()+1)+"/"+v.getDate())}a=new Date(f.getTime()+c*1e3),a=new Date(a.getTime()+(a.getTimezoneOffset()-f.getTimezoneOffset())*6e4)}else r();isNaN(a.getTime())&&r()}return[a,o]}function O6(e,r=!1){const[a,o]=zP(e),u=o!=null?r&&o==="Z"?1:2:0;return ls(a.getTime(),u)}function M6(e,r){try{return r.contents=O6(e),!0}catch{return!1}}function QS(e,r,a,o=0,u=0,f=0,c=0,v){const m=v===1?new Date(Date.UTC(e,r-1,a,o,u,f,c)):new Date(e,r-1,a,o,u,f,c);e<=99&&(v===1?m.setUTCFullYear(e,r-1,a):m.setFullYear(e,r-1,a));const h=m.getTime();if(isNaN(h))throw new Error("The parameters describe an unrepresentable Date.");return ls(h,v)}function D6(){return ls(Date.now(),2)}function A6(){return I6(D6())}function P6(e){return e.kind===1?e:ls(e.getTime(),1)}function k6(e){return e.kind===2?e:ls(e.getTime(),2)}function I6(e){return QS(WP(e),Xd(e),JS(e),0,0,0,0,e.kind)}function JS(e){return e.kind===1?e.getUTCDate():e.getDate()}function Hm(e){return e.kind===1?e.getUTCHours():e.getHours()}function zm(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function ED(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function Xd(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function CD(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function WP(e){return e.kind===1?e.getUTCFullYear():e.getFullYear()}function wD(e){return e.kind===1?e.getUTCDay():e.getDay()}function GP(e,r=0){if(r&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let a="gu";return a+=r&1?"i":"",a+=r&2?"m":"",a+=r&16?"s":"",new RegExp(e,a)}function W_(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function L6(e,r,a=0){return e.lastIndex=a,e.exec(r)}function SD(e,r,a=0){if(r==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=a;const o=[];let u,f=-1;for(;(u=e.exec(r))!=null;)u.index===f?e.lastIndex++:(f=u.index,o.push(u));return o}function N6(e,r,a,o,u=0){function f(){let c=arguments[0];if(o){o--;const v=[],m=arguments.length,h=typeof arguments[m-1]!="string";let C=h?m-3:m-2;for(let b=0;b<C;b++)v.push(arguments[b]);v.index=arguments[C++],v.input=arguments[C++],h&&(v.groups=arguments[C]),c=a(v)}return c}if(typeof e=="string"){const c=e;e=GP(r,o??0),r=c,o=void 0}if(typeof a=="function")return o=o??-1,r.substring(0,u)+r.substring(u).replace(e,f);if(a=a.replace(/\$0/g,c=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),o!=null){let c;const v=r.substring(u),m=SD(e,v),h=SD.length>o?(c=m[o-1],v.substring(0,c.index+c[0].length)):v;return r.substring(0,u)+h.replace(e,a)+r.substring(u+h.length)}else return r.replace(e,a)}const Fd=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,jd=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,$6=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function YP(e,r){return z3(e,r)<0}function yc(e,r,a){function o(f){return f===!0||f===1||f===3||f===5}function u(f){return f===4||f===5}return e==null?r==null?0:-1:r==null?1:u(a)?(o(a)&&(e=e.toLowerCase(),r=r.toLowerCase()),e===r?0:e<r?-1:1):(o(a)&&(e=e.toLocaleLowerCase(),r=r.toLocaleLowerCase()),e.localeCompare(r))}function q6(...e){switch(e.length){case 2:return yc(e[0],e[1],!1);case 3:return yc(e[0],e[1],e[2]);case 4:return yc(e[0],e[1],e[2]===!0);case 5:return yc(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return yc(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return yc(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]===!0);default:throw new Error("String.compare: Unsupported number of parameters")}}function Oe(e){return{input:e,cont:B6(e)}}function KP(e,r){let a=0,o=0,u="";jd.lastIndex=0;let f=jd.exec(e);for(;f;){const c=f.index+(f[1]||"").length;u+=e.substring(o,c).replace(/%%/g,"%");const[,,v,m,h,C]=f;o=jd.lastIndex,u+=JP(r[a++],v,m,h,C),jd.lastIndex=o-1,f=jd.exec(e)}return u+=e.substring(o).replace(/%%/g,"%"),u}function XP(e,r){return typeof r=="string"?e(r):r.cont(e)}function Me(e){return XP(r=>r,e)}function QP(e){return XP(r=>{throw new Error(r)},e)}function JP(e,r,a,o,u){let f="";if(r=r||"",u=u||"",BP(e))switch(u.toLowerCase()!=="x"&&(YP(e,0)?(e=GS(e,-1),f="-"):r.indexOf(" ")>=0?f=" ":r.indexOf("+")>=0&&(f="+")),o=o==null?null:parseInt(o,10),u){case"f":case"F":o=o??6,e=rh(e,o);break;case"g":case"G":e=o!=null?fh(e,o):fh(e);break;case"e":case"E":e=o!=null?dh(e,o):dh(e);break;case"x":e=ph(e);break;case"X":e=ph(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Uh(e):e=ja(e);if(a=typeof a=="number"?a:parseInt(a,10),isNaN(a))e=f+e;else{const c=r.indexOf("0")>=0,v=r.indexOf("-")>=0,m=v||!c?" ":"0";m==="0"?(e=ep(e,a-f.length,m,v),e=f+e):e=ep(f+e,a,m,v)}return e}function ZP(e,r,a,o="",u=-1){return(...f)=>{let c=o;const v=r.slice(),m=a.slice();for(const h of f){const[,,C,b,R,M]=m[0];let A=b;if(u>=0)A=u,u=-1;else if(A==="*"){if(h<0)throw new Error("Non-negative number required");u=h;continue}c+=v[0],c+=JP(h,C,A,R,M),v.splice(0,1),m.splice(0,1)}return m.length===0?(c+=v[0],e(c)):ZP(e,v,m,c,u)}}function B6(e){return r=>{Fd.lastIndex=0;const a=[],o=[];let u=0,f=Fd.exec(e);for(;f;){const c=f.index+(f[1]||"").length;a.push(e.substring(u,c).replace(/%%/g,"%")),o.push(f),u=Fd.lastIndex,Fd.lastIndex-=1,f=Fd.exec(e)}return a.length===0?r(e.replace(/%%/g,"%")):(a.push(e.substring(u).replace(/%%/g,"%")),ZP(r,a,o))}}function ek(e,...r){let a;return typeof e=="object"?(a=String(r[0]),r.shift()):a=e,a.replace($6,(o,u,f,c,v,m)=>{if(u<0||u>=r.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let h=r[u];if(BP(h))switch(v=v==null?null:parseInt(v,10),c){case"f":case"F":v=v??2,h=rh(h,v);break;case"g":case"G":h=v!=null?fh(h,v):fh(h);break;case"e":case"E":h=v!=null?dh(h,v):dh(h);break;case"p":case"P":v=v??2,h=rh(GS(h,100),v)+" %";break;case"d":case"D":h=v!=null?uS(String(h),v,"0"):String(h);break;case"x":case"X":h=v!=null?uS(ph(h),v,"0"):ph(h),c==="X"&&(h=h.toUpperCase());break;default:if(m){let C="";h=m.replace(/([0#,]+)(\.[0#]+)?/,(b,R,M)=>{YP(h,0)&&(h=GS(h,-1),C="-"),M=M==null?"":M.substring(1),h=rh(h,Math.max(M.length,0));let[A,L]=h.split(".");L||(L="");const B=R.replace(/,/g,"").replace(/^#+/,"").length;A=uS(A,B,"0");const T=M.replace(/#+$/,"").length;if(T>L.length?L=F6(L,T,"0"):T<L.length&&(L=L.substring(0,T)+L.substring(T).replace(/0+$/,"")),R.indexOf(",")>0){const j=A.length%3,U=Math.floor(A.length/3);let Y=j>0?A.substr(0,j)+(U>0?",":""):"";for(let J=0;J<U;J++)Y+=A.substr(j+J*3,3)+(J<U-1?",":"");A=Y}return L.length>0?A+"."+L:A}),h=C+h}}else h instanceof Date?h=Uh(h,m||c):h=ja(h);return f=parseInt((f||" ").substring(1),10),isNaN(f)||(h=ep(String(h),Math.abs(f)," ",f<0)),h})}function U6(e,r){const a=e.lastIndexOf(r);return a>=0&&a===e.length-r.length}function tk(e){return typeof e!="string"||e.length===0}function ts(e){return typeof e!="string"||/^\s*$/.test(e)}function Qo(e,r){return Array.isArray(r)?r.join(e):Array.from(r).join(e)}function ep(e,r,a,o){a=a||" ",r=r-e.length;for(let u=0;u<r;u++)e=o?e+a:a+e;return e}function uS(e,r,a){return ep(e,r,a)}function F6(e,r,a){return ep(e,r,a,!0)}function G_(e,r,a,o){if(a=typeof a=="number"?a:void 0,o=typeof o=="number"?o:0,a&&a<0)throw new Error("Count cannot be less than zero");if(a===0)return[];const u=(o&1)===1,f=(o&2)===2;r=r||[],r=r.filter(C=>C).map(W_),r=r.length>0?r:["\\s"];const c=[],v=new RegExp(r.join("|"),"g");let m=!0,h=0;do{const C=v.exec(e);if(C===null){const b=f?e.substring(h).trim():e.substring(h);(!u||b.length>0)&&c.push(b),m=!1}else{const b=f?e.substring(h,C.index).trim():e.substring(h,C.index);(!u||b.length>0)&&(a!=null&&c.length+1===a?(c.push(f?e.substring(h).trim():e.substring(h)),m=!1):c.push(b)),h=v.lastIndex}}while(m);return c}function j6(e,...r){if(r.length===0)return e.trim();const a="["+W_(r.join(""))+"]+";return e.replace(new RegExp("^"+a),"").replace(new RegExp(a+"$"),"")}function V6(e,...r){return r.length===0?e.trimEnd():e.replace(new RegExp("["+W_(r.join(""))+"]+$"),"")}function H6(e,r,a){if(r+(a||0)>e.length)throw new Error("Invalid startIndex and/or length");return a!=null?e.substr(r,a):e.substr(r)}class ns{constructor(r){this.value=r}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return ao(this.value)}Equals(r){return r==null?!1:je(this.value,r instanceof ns?r.value:r)}CompareTo(r){return r==null?1:Fa(this.value,r instanceof ns?r.value:r)}}function ae(e){if(e==null)throw new Error("Option has no value");return e instanceof ns?e.value:e}function ZS(e){return e instanceof ns?e.value:e}function Pn(e){return e==null||e instanceof ns?new ns(e):e}function z6(e){return e??void 0}function nk(e){return e==null?[]:[ae(e)]}function io(e,r){return e!=null?ae(e):r}function W6(e,r){return e!=null?ae(e):r()}function _D(e,r){return e??r}function dp(e,r){return r!=null?Pn(e(ae(r))):void 0}function e_(e,r){return r!=null?e(ae(r)):void 0}class G6{constructor(r,a,o,u){this.declaringType=r,this.tag=a,this.name=o,this.fields=u}}class cr{constructor(r,a,o,u,f,c,v){this.fullname=r,this.generics=a,this.construct=o,this.parent=u,this.fields=f,this.cases=c,this.enumCases=v}toString(){return Wt(this)}GetHashCode(){return rk(this)}Equals(r){return yh(this,r)}}function xa(e){return e.generics!=null?e.generics:[]}function rk(e){const r=$h(e.fullname),a=xa(e).map(rk);return fp([r,...a])}function yh(e,r){return e.fullname===""?r.fullname===""&&KS(tp(e),tp(r),([a,o],[u,f])=>a===u&&yh(o,f)):e.fullname===r.fullname&&KS(xa(e),xa(r),yh)}function oo(e,r,a,o){return new cr(e,r,a,o)}function Ai(e,r,a,o){return new cr(e,r,a,void 0,o)}function Y6(...e){return new cr("",void 0,void 0,void 0,()=>e)}function pp(e,r,a,o){const u=new cr(e,r,a,void 0,void 0,()=>{const f=a.prototype.cases();return o().map((c,v)=>new G6(u,v,f[v],c))});return u}function K6(...e){return new cr("System.Tuple`"+e.length,e)}function ur(e){return new cr("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Ic(e){return new cr("Microsoft.FSharp.Collections.FSharpList`1",[e])}const X6=new cr("System.Object"),kn=new cr("System.String"),Qu=new cr("System.Boolean"),Y_=new cr("System.Int32"),Q6=new cr("System.Double"),J6=new cr("System.Decimal");function Mc(e){if(Array.isArray(e))return e[0];if(e instanceof cr){const r=vp(e);if(r!=null)return Mc(r)+"[]";{const a=e.fullname.lastIndexOf(".");return a===-1?e.fullname:e.fullname.substr(a+1)}}else return e.name}function Wt(e){const r=vp(e);return r!=null?Wt(r)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(a=>Wt(a)).join(",")+"]"}function ak(e){return vp(e)!=null}function vp(e){var r;return e.fullname==="[]"&&((r=e.generics)==null?void 0:r.length)===1?e.generics[0]:void 0}function ik(e){return e.generics!=null&&e.generics.length>0}function K_(e){return e.enumCases!=null&&e.enumCases.length>0}function ok(e){return e.generics==null?e:new cr(e.fullname,e.generics.map(()=>X6))}function lk(e){var r;return(r=e.generics)==null?void 0:r[0]}function gc(e){if(K_(e)&&e.enumCases!=null)return e.enumCases.map(r=>r[1]);throw new Error(`${e.fullname} is not an enum type`)}function Z6(e,r){if(e.enumCases!=null)if(typeof r=="string"){for(const a of e.enumCases)if(a[0]===r)return a;throw new Error(`'${r}' was not found in ${e.fullname}`)}else{for(const a of e.enumCases)if(a[1]===r)return a;return["",r]}else throw new Error(`${e.fullname} is not an enum type`)}function bc(e,r){const a=parseInt(r,10);return Z6(e,isNaN(a)?r:a)[1]}function uk(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function tp(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function sk(e){if(X_(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function ck(e){return e instanceof cr?e.cases!=null:e instanceof Ye}function fk(e){return e instanceof cr?e.fields!=null:e instanceof ft}function X_(e){return e.fullname.startsWith("System.Tuple")}function e4(e,r){const o=uk(r)[e.tag];if(o==null)throw new Error(`Cannot find case ${e.name} in union type`);return[o,e.fields]}function dk(e){return e.fields==null?[]:e.fields}function t4(e,r){return e[r[0]]}function n4(e,r){const a=(e.fields||[]).length;if(r.length!==a)throw new Error(`Expected an array of length ${a} but got ${r.length}`);const o=e.declaringType.construct;return o==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new o(...r):new o(e.tag,r)}function r4(e,r){const a=tp(e);if(a.length!==r.length)throw new Error(`Expected an array of length ${a.length} but got ${r.length}`);return e.construct!=null?new e.construct(...r):a.reduce((o,[u,f],c)=>(o[u]=r[c],o),{})}function a4(e,r){return e}const Q_="Collection was empty.";function pk(e,r){return new Array(r)}function RD(e,r){return e>r?e:r}function Fh(e,r,a,o){const u=r|0;return e.fill(o,u,u+a)}function zc(e,r,a){const o=r.length|0,u=pk(a,o);for(let f=0;f<=o-1;f++)Mi(u,f,e(Lt(f,r)));return u}function i4(e,r){const a=pk(r,1);return Mi(a,0,e),a}function o4(e){return e.slice().reverse()}function l4(e,r){return r.find(e)}function u4(e,r,a){const o=[];for(let u=0;u<=r.length-1;u++){const f=e(Lt(u,r));if(f!=null){const c=ae(f);o.push(c)}}return je(a,ua())?o:zc(u=>u,o,a)}function jh(e,r,a){const o=e;return a.reduce(o,r)}function TD(e,r,a){return r==null}function Lt(e,r){if(e<0||e>=r.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return r[e]}function Mi(e,r,a){if(r<0||r>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[r]=a}function vk(e,r,a){return r.reduceRight((o,u)=>e(u,o),a)}class Tr extends ft{constructor(r,a){super(),this.head=r,this.tail=a}toString(){return"["+Qo("; ",this)+"]"}Equals(r){const a=this;return a===r?!0:((u,f)=>{e:for(;;){const c=u,v=f,m=c.tail,h=v.tail;if(m!=null)if(h!=null){const C=ae(m),b=ae(h);if(je(c.head,v.head)){u=C,f=b;continue e}else return!1}else return!1;else return h==null}})(a,r)}GetHashCode(){return((o,u,f)=>{e:for(;;){const c=o,v=u,m=f,h=m.tail;if(h!=null){const C=ae(h);if(c>18)return v|0;o=c+1,u=(v<<1)+ao(m.head)+631*c,f=C;continue e}else return v|0}})(0,0,this)|0}toJSON(){const r=this;return Array.from(r)}CompareTo(r){return((u,f)=>{e:for(;;){const c=u,v=f,m=c.tail,h=v.tail;if(m!=null)if(h!=null){const C=ae(m),b=ae(h),R=Fa(c.head,v.head)|0;if(R===0){u=C,f=b;continue e}else return R|0}else return 1;else return h!=null?-1:0}})(this,r)|0}GetEnumerator(){return c4(this)}[Symbol.iterator](){return cp(Nt(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Nt(this)}}class s4{constructor(r){this.xs=r,this.it=this.xs,this.current=ua()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const r=this,a=r.it.tail;if(a!=null){const o=ae(a);return r.current=r.it.head,r.it=o,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const r=this;r.it=r.xs,r.current=ua()}Dispose(){}}function c4(e){return new s4(e)}function gn(){return new Tr(ua(),void 0)}function mp(e,r){return new Tr(e,r)}function lo(e){return e.tail==null}function mk(e){return((a,o)=>{e:for(;;){const u=a,c=o.tail;if(c!=null){a=u+1,o=ae(c);continue e}else return u|0}})(0,e)|0}function Zl(e){if(e.tail!=null)return e.head;throw new Error(Q_+"\\nParameter name: list")}function sr(e){const r=e.tail;if(r!=null)return ae(r);throw new Error(Q_+"\\nParameter name: list")}function ct(){return gn()}function Oa(e,r){return mp(e,r)}function Te(e){return mp(e,gn())}function st(e){return lo(e)}function hk(e){return mk(e)}function Re(e){return Zl(e)}function ot(e){return sr(e)}function f4(e){e:for(;;){const r=e;if(lo(r))return;{const a=sr(r);if(lo(a))return Pn(Zl(r));e=a;continue e}}}function d4(e){const r=f4(e);if(r==null)throw new Error(Q_);return ae(r)}function hp(e){const r=mk(e)|0,a=Fh(new Array(r),0,r,null);return((u,f)=>{e:for(;;){const c=u,v=f;if(!lo(v)){Mi(a,c,Zl(v)),u=c+1,f=sr(v);continue e}break}})(0,e),a}function uo(e,r,a){let o=r,u=a;for(;!lo(u);)o=e(o,Re(u)),u=sr(u);return o}function Vh(e){return uo((r,a)=>mp(a,r),gn(),e)}function p4(e,r,a){return vk(e,hp(r),a)}function rs(e,r){uo((a,o)=>{e(o)},void 0,r)}function Zt(e,r){let a=r;for(let o=e.length-1;o>=0;o--)a=mp(Lt(o,e),a);return a}function Ee(e){return Zt(e,gn())}function v4(e){let r,a;if(Oi(e))return Ee(e);if(e instanceof Tr)return e;{const o=gn();let u=o;const f=Nt(e);try{for(;f["System.Collections.IEnumerator.MoveNext"]();){const m=f["System.Collections.Generic.IEnumerator`1.get_Current"]();u=(r=u,a=new Tr(m,void 0),r.tail=a,a)}}finally{_t(f)}const c=u,v=gn();return c.tail=v,sr(o)}}function t_(e){const r=gn();let a=r;const o=c=>{a=uo((v,m)=>{const h=new Tr(m,void 0);return v.tail=h,h},a,c)};if(Oi(e))e.forEach(o);else if(e instanceof Tr)rs(o,e);else{const c=Nt(e);try{for(;c["System.Collections.IEnumerator.MoveNext"]();)o(c["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{_t(c)}}const u=a,f=gn();return u.tail=f,sr(r)}function yp(e,r){return uo((a,o)=>mp(o,a),r,Vh(e))}function m4(e,r){let a,o;const u=gn();let f=u,c=r;for(;!lo(c);){let h=e(Zl(c));for(;!lo(h);)f=(a=f,o=new Tr(Zl(h),void 0),a.tail=o,o),h=sr(h);c=sr(c)}const v=f,m=gn();return v.tail=m,sr(u)}function Sr(e,r){const a=gn(),o=uo((f,c)=>{const v=new Tr(e(c),void 0);return f.tail=v,v},a,r),u=gn();return o.tail=u,sr(a)}function h4(e,r){return(o=>{e:for(;;){const u=o;if(lo(u))return;{const f=e(Zl(u));if(f==null){o=sr(u);continue e}else return f}}})(r)}function Hh(e,r){return h4(a=>e(a)?Pn(a):void 0,r)}function J_(e,r){return((o,u)=>{e:for(;;){const f=o,c=u;if(lo(c))return;if(e(Zl(c)))return f;o=f+1,u=sr(c);continue e}})(0,r)}function y4(e,r){return((o,u)=>{e:for(;;){const f=o,c=u;if(lo(c))return;if(f===e)return Pn(Zl(c));o=f+1,u=sr(c);continue e}})(0,r)}function Z_(e,r){const a=gn(),o=uo((f,c)=>{if(e(c)){const v=new Tr(c,void 0);return f.tail=v,v}else return f},a,r),u=gn();return o.tail=u,sr(a)}function g4(e,r){const a=gn(),o=gn(),u=a,f=uo((m,h)=>{let C,b;const R=m[0],M=m[1];return e(h)?[(C=new Tr(h,void 0),R.tail=C,C),M]:[R,(b=new Tr(h,void 0),M.tail=b,b)]},[u,o],r),c=gn();f[0].tail=c;const v=gn();return f[1].tail=v,[sr(u),sr(o)]}function yk(e,r){const a=gn(),o=uo((f,c)=>{const v=e(c);if(v==null)return f;{const m=new Tr(ae(v),void 0);return f.tail=m,m}},a,r),u=gn();return o.tail=u,sr(a)}function gk(e,r,a){return J_(o=>a.Equals(e,o),r)!=null}function gh(e,r){return J_(e,r)!=null}function zh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function b4(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var a=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};a.prototype=r.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var u=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(a,o,u.get?u:{enumerable:!0,get:function(){return e[o]}})}),a}var bk={exports:{}},bh={exports:{}};bh.exports;(function(e,r){/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react.development.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var a="18.3.1",o=Symbol.for("react.element"),u=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),h=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),L=Symbol.for("react.offscreen"),B=Symbol.iterator,T="@@iterator";function j(E){if(E===null||typeof E!="object")return null;var D=B&&E[B]||E[T];return typeof D=="function"?D:null}var U={current:null},Y={transition:null},J={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},I={current:null},K={},N=null;function re(E){N=E}K.setExtraStackFrame=function(E){N=E},K.getCurrentStack=null,K.getStackAddendum=function(){var E="";N&&(E+=N);var D=K.getCurrentStack;return D&&(E+=D()||""),E};var _=!1,ce=!1,De=!1,$e=!1,fe=!1,et={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:Y,ReactCurrentOwner:I};et.ReactDebugCurrentFrame=K,et.ReactCurrentActQueue=J;function ze(E){{for(var D=arguments.length,V=new Array(D>1?D-1:0),z=1;z<D;z++)V[z-1]=arguments[z];xt("warn",E,V)}}function we(E){{for(var D=arguments.length,V=new Array(D>1?D-1:0),z=1;z<D;z++)V[z-1]=arguments[z];xt("error",E,V)}}function xt(E,D,V){{var z=et.ReactDebugCurrentFrame,ie=z.getStackAddendum();ie!==""&&(D+="%s",V=V.concat([ie]));var Le=V.map(function(be){return String(be)});Le.unshift("Warning: "+D),Function.prototype.apply.call(console[E],console,Le)}}var dr={};function Or(E,D){{var V=E.constructor,z=V&&(V.displayName||V.name)||"ReactClass",ie=z+"."+D;if(dr[ie])return;we("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",D,z),dr[ie]=!0}}var zn={isMounted:function(E){return!1},enqueueForceUpdate:function(E,D,V){Or(E,"forceUpdate")},enqueueReplaceState:function(E,D,V,z){Or(E,"replaceState")},enqueueSetState:function(E,D,V,z){Or(E,"setState")}},en=Object.assign,Mr={};Object.freeze(Mr);function Dr(E,D,V){this.props=E,this.context=D,this.refs=Mr,this.updater=V||zn}Dr.prototype.isReactComponent={},Dr.prototype.setState=function(E,D){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,D,"setState")},Dr.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};{var Gr={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Ha=function(E,D){Object.defineProperty(Dr.prototype,E,{get:function(){ze("%s(...) is deprecated in plain JavaScript React classes. %s",D[0],D[1])}})};for(var za in Gr)Gr.hasOwnProperty(za)&&Ha(za,Gr[za])}function Wa(){}Wa.prototype=Dr.prototype;function Wn(E,D,V){this.props=E,this.context=D,this.refs=Mr,this.updater=V||zn}var pa=Wn.prototype=new Wa;pa.constructor=Wn,en(pa,Dr.prototype),pa.isPureReactComponent=!0;function ge(){var E={current:null};return Object.seal(E),E}var Gn=Array.isArray;function $t(E){return Gn(E)}function ln(E){{var D=typeof Symbol=="function"&&Symbol.toStringTag,V=D&&E[Symbol.toStringTag]||E.constructor.name||"Object";return V}}function Ar(E){try{return En(E),!1}catch{return!0}}function En(E){return""+E}function un(E){if(Ar(E))return we("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ln(E)),En(E)}function Pr(E,D,V){var z=E.displayName;if(z)return z;var ie=D.displayName||D.name||"";return ie!==""?V+"("+ie+")":V}function Ga(E){return E.displayName||"Context"}function Yr(E){if(E==null)return null;if(typeof E.tag=="number"&&we("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof E=="function")return E.displayName||E.name||null;if(typeof E=="string")return E;switch(E){case f:return"Fragment";case u:return"Portal";case v:return"Profiler";case c:return"StrictMode";case b:return"Suspense";case R:return"SuspenseList"}if(typeof E=="object")switch(E.$$typeof){case h:var D=E;return Ga(D)+".Consumer";case m:var V=E;return Ga(V._context)+".Provider";case C:return Pr(E,E.render,"ForwardRef");case M:var z=E.displayName||null;return z!==null?z:Yr(E.type)||"Memo";case A:{var ie=E,Le=ie._payload,be=ie._init;try{return Yr(be(Le))}catch{return null}}}return null}var Ya=Object.prototype.hasOwnProperty,Li={key:!0,ref:!0,__self:!0,__source:!0},kr,Da,Ir;Ir={};function Kr(E){if(Ya.call(E,"ref")){var D=Object.getOwnPropertyDescriptor(E,"ref").get;if(D&&D.isReactWarning)return!1}return E.ref!==void 0}function Yn(E){if(Ya.call(E,"key")){var D=Object.getOwnPropertyDescriptor(E,"key").get;if(D&&D.isReactWarning)return!1}return E.key!==void 0}function pr(E,D){var V=function(){kr||(kr=!0,we("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",D))};V.isReactWarning=!0,Object.defineProperty(E,"key",{get:V,configurable:!0})}function rl(E,D){var V=function(){Da||(Da=!0,we("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",D))};V.isReactWarning=!0,Object.defineProperty(E,"ref",{get:V,configurable:!0})}function al(E){if(typeof E.ref=="string"&&I.current&&E.__self&&I.current.stateNode!==E.__self){var D=Yr(I.current.type);Ir[D]||(we('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',D,E.ref),Ir[D]=!0)}}var se=function(E,D,V,z,ie,Le,be){var qe={$$typeof:o,type:E,key:D,ref:V,props:be,_owner:Le};return qe._store={},Object.defineProperty(qe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(qe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:z}),Object.defineProperty(qe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ie}),Object.freeze&&(Object.freeze(qe.props),Object.freeze(qe)),qe};function _e(E,D,V){var z,ie={},Le=null,be=null,qe=null,tt=null;if(D!=null){Kr(D)&&(be=D.ref,al(D)),Yn(D)&&(un(D.key),Le=""+D.key),qe=D.__self===void 0?null:D.__self,tt=D.__source===void 0?null:D.__source;for(z in D)Ya.call(D,z)&&!Li.hasOwnProperty(z)&&(ie[z]=D[z])}var bt=arguments.length-2;if(bt===1)ie.children=V;else if(bt>1){for(var Dt=Array(bt),At=0;At<bt;At++)Dt[At]=arguments[At+2];Object.freeze&&Object.freeze(Dt),ie.children=Dt}if(E&&E.defaultProps){var jt=E.defaultProps;for(z in jt)ie[z]===void 0&&(ie[z]=jt[z])}if(Le||be){var nn=typeof E=="function"?E.displayName||E.name||"Unknown":E;Le&&pr(ie,nn),be&&rl(ie,nn)}return se(E,Le,be,qe,tt,I.current,ie)}function Xe(E,D){var V=se(E.type,D,E.ref,E._self,E._source,E._owner,E.props);return V}function yt(E,D,V){if(E==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+E+".");var z,ie=en({},E.props),Le=E.key,be=E.ref,qe=E._self,tt=E._source,bt=E._owner;if(D!=null){Kr(D)&&(be=D.ref,bt=I.current),Yn(D)&&(un(D.key),Le=""+D.key);var Dt;E.type&&E.type.defaultProps&&(Dt=E.type.defaultProps);for(z in D)Ya.call(D,z)&&!Li.hasOwnProperty(z)&&(D[z]===void 0&&Dt!==void 0?ie[z]=Dt[z]:ie[z]=D[z])}var At=arguments.length-2;if(At===1)ie.children=V;else if(At>1){for(var jt=Array(At),nn=0;nn<At;nn++)jt[nn]=arguments[nn+2];ie.children=jt}return se(E.type,Le,be,qe,tt,bt,ie)}function gt(E){return typeof E=="object"&&E!==null&&E.$$typeof===o}var fn=".",sn=":";function dn(E){var D=/[=:]/g,V={"=":"=0",":":"=2"},z=E.replace(D,function(ie){return V[ie]});return"$"+z}var qt=!1,Aa=/\/+/g;function pn(E){return E.replace(Aa,"$&/")}function Kt(E,D){return typeof E=="object"&&E!==null&&E.key!=null?(un(E.key),dn(""+E.key)):D.toString(36)}function Ka(E,D,V,z,ie){var Le=typeof E;(Le==="undefined"||Le==="boolean")&&(E=null);var be=!1;if(E===null)be=!0;else switch(Le){case"string":case"number":be=!0;break;case"object":switch(E.$$typeof){case o:case u:be=!0}}if(be){var qe=E,tt=ie(qe),bt=z===""?fn+Kt(qe,0):z;if($t(tt)){var Dt="";bt!=null&&(Dt=pn(bt)+"/"),Ka(tt,D,Dt,"",function(l0){return l0})}else tt!=null&&(gt(tt)&&(tt.key&&(!qe||qe.key!==tt.key)&&un(tt.key),tt=Xe(tt,V+(tt.key&&(!qe||qe.key!==tt.key)?pn(""+tt.key)+"/":"")+bt)),D.push(tt));return 1}var At,jt,nn=0,vt=z===""?fn:z+sn;if($t(E))for(var vl=0;vl<E.length;vl++)At=E[vl],jt=vt+Kt(At,vl),nn+=Ka(At,D,V,jt,ie);else{var Ss=j(E);if(typeof Ss=="function"){var sf=E;Ss===sf.entries&&(qt||ze("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),qt=!0);for(var o0=Ss.call(sf),bo,cf=0;!(bo=o0.next()).done;)At=bo.value,jt=vt+Kt(At,cf++),nn+=Ka(At,D,V,jt,ie)}else if(Le==="object"){var ff=String(E);throw new Error("Objects are not valid as a React child (found: "+(ff==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":ff)+"). If you meant to render a collection of children, use an array instead.")}}return nn}function Ni(E,D,V){if(E==null)return E;var z=[],ie=0;return Ka(E,z,"","",function(Le){return D.call(V,Le,ie++)}),z}function fo(E){var D=0;return Ni(E,function(){D++}),D}function vs(E,D,V){Ni(E,function(){D.apply(this,arguments)},V)}function il(E){return Ni(E,function(D){return D})||[]}function ru(E){if(!gt(E))throw new Error("React.Children.only expected to receive a single React element child.");return E}function ms(E){var D={$$typeof:h,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};D.Provider={$$typeof:m,_context:D};var V=!1,z=!1,ie=!1;{var Le={$$typeof:h,_context:D};Object.defineProperties(Le,{Provider:{get:function(){return z||(z=!0,we("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),D.Provider},set:function(be){D.Provider=be}},_currentValue:{get:function(){return D._currentValue},set:function(be){D._currentValue=be}},_currentValue2:{get:function(){return D._currentValue2},set:function(be){D._currentValue2=be}},_threadCount:{get:function(){return D._threadCount},set:function(be){D._threadCount=be}},Consumer:{get:function(){return V||(V=!0,we("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),D.Consumer}},displayName:{get:function(){return D.displayName},set:function(be){ie||(ze("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",be),ie=!0)}}}),D.Consumer=Le}return D._currentRenderer=null,D._currentRenderer2=null,D}var $i=-1,ol=0,po=1,qi=2;function Xa(E){if(E._status===$i){var D=E._result,V=D();if(V.then(function(Le){if(E._status===ol||E._status===$i){var be=E;be._status=po,be._result=Le}},function(Le){if(E._status===ol||E._status===$i){var be=E;be._status=qi,be._result=Le}}),E._status===$i){var z=E;z._status=ol,z._result=V}}if(E._status===po){var ie=E._result;return ie===void 0&&we(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
12
|
+
|
|
13
|
+
Your code should look like:
|
|
14
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
15
|
+
|
|
16
|
+
Did you accidentally put curly braces around the import?`,ie),"default"in ie||we(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
17
|
+
|
|
18
|
+
Your code should look like:
|
|
19
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,ie),ie.default}else throw E._result}function Bi(E){var D={_status:$i,_result:E},V={$$typeof:A,_payload:D,_init:Xa};{var z,ie;Object.defineProperties(V,{defaultProps:{configurable:!0,get:function(){return z},set:function(Le){we("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),z=Le,Object.defineProperty(V,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return ie},set:function(Le){we("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),ie=Le,Object.defineProperty(V,"propTypes",{enumerable:!0})}}})}return V}function ll(E){E!=null&&E.$$typeof===M?we("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof E!="function"?we("forwardRef requires a render function but was given %s.",E===null?"null":typeof E):E.length!==0&&E.length!==2&&we("forwardRef render functions accept exactly two parameters: props and ref. %s",E.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),E!=null&&(E.defaultProps!=null||E.propTypes!=null)&&we("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var D={$$typeof:C,render:E};{var V;Object.defineProperty(D,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function(z){V=z,!E.name&&!E.displayName&&(E.displayName=z)}})}return D}var ul;ul=Symbol.for("react.module.reference");function sl(E){return!!(typeof E=="string"||typeof E=="function"||E===f||E===v||fe||E===c||E===b||E===R||$e||E===L||_||ce||De||typeof E=="object"&&E!==null&&(E.$$typeof===A||E.$$typeof===M||E.$$typeof===m||E.$$typeof===h||E.$$typeof===C||E.$$typeof===ul||E.getModuleId!==void 0))}function au(E,D){sl(E)||we("memo: The first argument must be a component. Instead received: %s",E===null?"null":typeof E);var V={$$typeof:M,type:E,compare:D===void 0?null:D};{var z;Object.defineProperty(V,"displayName",{enumerable:!1,configurable:!0,get:function(){return z},set:function(ie){z=ie,!E.name&&!E.displayName&&(E.displayName=ie)}})}return V}function Gt(){var E=U.current;return E===null&&we(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
20
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
21
|
+
2. You might be breaking the Rules of Hooks
|
|
22
|
+
3. You might have more than one copy of React in the same app
|
|
23
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),E}function vo(E){var D=Gt();if(E._context!==void 0){var V=E._context;V.Consumer===E?we("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):V.Provider===E&&we("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return D.useContext(E)}function cl(E){var D=Gt();return D.useState(E)}function Ui(E,D,V){var z=Gt();return z.useReducer(E,D,V)}function Cn(E){var D=Gt();return D.useRef(E)}function ef(E,D){var V=Gt();return V.useEffect(E,D)}function tf(E,D){var V=Gt();return V.useInsertionEffect(E,D)}function hs(E,D){var V=Gt();return V.useLayoutEffect(E,D)}function nf(E,D){var V=Gt();return V.useCallback(E,D)}function ys(E,D){var V=Gt();return V.useMemo(E,D)}function rf(E,D,V){var z=Gt();return z.useImperativeHandle(E,D,V)}function gs(E,D){{var V=Gt();return V.useDebugValue(E,D)}}function af(){var E=Gt();return E.useTransition()}function Qa(E){var D=Gt();return D.useDeferredValue(E)}function Ke(){var E=Gt();return E.useId()}function mo(E,D,V){var z=Gt();return z.useSyncExternalStore(E,D,V)}var O=0,X,Q,ee,Pe,Qe,Ot,In;function Kn(){}Kn.__reactDisabledLog=!0;function Xn(){{if(O===0){X=console.log,Q=console.info,ee=console.warn,Pe=console.error,Qe=console.group,Ot=console.groupCollapsed,In=console.groupEnd;var E={configurable:!0,enumerable:!0,value:Kn,writable:!0};Object.defineProperties(console,{info:E,log:E,warn:E,error:E,group:E,groupCollapsed:E,groupEnd:E})}O++}}function tn(){{if(O--,O===0){var E={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:en({},E,{value:X}),info:en({},E,{value:Q}),warn:en({},E,{value:ee}),error:en({},E,{value:Pe}),group:en({},E,{value:Qe}),groupCollapsed:en({},E,{value:Ot}),groupEnd:en({},E,{value:In})})}O<0&&we("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ja=et.ReactCurrentDispatcher,Lr;function Fi(E,D,V){{if(Lr===void 0)try{throw Error()}catch(ie){var z=ie.stack.trim().match(/\n( *(at )?)/);Lr=z&&z[1]||""}return`
|
|
24
|
+
`+Lr+E}}var Za=!1,ho;{var iu=typeof WeakMap=="function"?WeakMap:Map;ho=new iu}function ou(E,D){if(!E||Za)return"";{var V=ho.get(E);if(V!==void 0)return V}var z;Za=!0;var ie=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Le;Le=Ja.current,Ja.current=null,Xn();try{if(D){var be=function(){throw Error()};if(Object.defineProperty(be.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(be,[])}catch(vt){z=vt}Reflect.construct(E,[],be)}else{try{be.call()}catch(vt){z=vt}E.call(be.prototype)}}else{try{throw Error()}catch(vt){z=vt}E()}}catch(vt){if(vt&&z&&typeof vt.stack=="string"){for(var qe=vt.stack.split(`
|
|
25
|
+
`),tt=z.stack.split(`
|
|
26
|
+
`),bt=qe.length-1,Dt=tt.length-1;bt>=1&&Dt>=0&&qe[bt]!==tt[Dt];)Dt--;for(;bt>=1&&Dt>=0;bt--,Dt--)if(qe[bt]!==tt[Dt]){if(bt!==1||Dt!==1)do if(bt--,Dt--,Dt<0||qe[bt]!==tt[Dt]){var At=`
|
|
27
|
+
`+qe[bt].replace(" at new "," at ");return E.displayName&&At.includes("<anonymous>")&&(At=At.replace("<anonymous>",E.displayName)),typeof E=="function"&&ho.set(E,At),At}while(bt>=1&&Dt>=0);break}}}finally{Za=!1,Ja.current=Le,tn(),Error.prepareStackTrace=ie}var jt=E?E.displayName||E.name:"",nn=jt?Fi(jt):"";return typeof E=="function"&&ho.set(E,nn),nn}function Xr(E,D,V){return ou(E,!1)}function bs(E){var D=E.prototype;return!!(D&&D.isReactComponent)}function ei(E,D,V){if(E==null)return"";if(typeof E=="function")return ou(E,bs(E));if(typeof E=="string")return Fi(E);switch(E){case b:return Fi("Suspense");case R:return Fi("SuspenseList")}if(typeof E=="object")switch(E.$$typeof){case C:return Xr(E.render);case M:return ei(E.type,D,V);case A:{var z=E,ie=z._payload,Le=z._init;try{return ei(Le(ie),D,V)}catch{}}}return""}var lu={},yo=et.ReactDebugCurrentFrame;function ti(E){if(E){var D=E._owner,V=ei(E.type,E._source,D?D.type:null);yo.setExtraStackFrame(V)}else yo.setExtraStackFrame(null)}function of(E,D,V,z,ie){{var Le=Function.call.bind(Ya);for(var be in E)if(Le(E,be)){var qe=void 0;try{if(typeof E[be]!="function"){var tt=Error((z||"React class")+": "+V+" type `"+be+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof E[be]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw tt.name="Invariant Violation",tt}qe=E[be](D,be,z,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(bt){qe=bt}qe&&!(qe instanceof Error)&&(ti(ie),we("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",z||"React class",V,be,typeof qe),ti(null)),qe instanceof Error&&!(qe.message in lu)&&(lu[qe.message]=!0,ti(ie),we("Failed %s type: %s",V,qe.message),ti(null))}}}function ut(E){if(E){var D=E._owner,V=ei(E.type,E._source,D?D.type:null);re(V)}else re(null)}var lf;lf=!1;function uf(){if(I.current){var E=Yr(I.current.type);if(E)return`
|
|
28
|
+
|
|
29
|
+
Check the render method of \``+E+"`."}return""}function Ve(E){if(E!==void 0){var D=E.fileName.replace(/^.*[\\\/]/,""),V=E.lineNumber;return`
|
|
30
|
+
|
|
31
|
+
Check your code at `+D+":"+V+"."}return""}function Lp(E){return E!=null?Ve(E.__source):""}var vr={};function uu(E){var D=uf();if(!D){var V=typeof E=="string"?E:E.displayName||E.name;V&&(D=`
|
|
32
|
+
|
|
33
|
+
Check the top-level render call using <`+V+">.")}return D}function fl(E,D){if(!(!E._store||E._store.validated||E.key!=null)){E._store.validated=!0;var V=uu(D);if(!vr[V]){vr[V]=!0;var z="";E&&E._owner&&E._owner!==I.current&&(z=" It was passed a child from "+Yr(E._owner.type)+"."),ut(E),we('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,z),ut(null)}}}function Np(E,D){if(typeof E=="object"){if($t(E))for(var V=0;V<E.length;V++){var z=E[V];gt(z)&&fl(z,D)}else if(gt(E))E._store&&(E._store.validated=!0);else if(E){var ie=j(E);if(typeof ie=="function"&&ie!==E.entries)for(var Le=ie.call(E),be;!(be=Le.next()).done;)gt(be.value)&&fl(be.value,D)}}}function Ln(E){{var D=E.type;if(D==null||typeof D=="string")return;var V;if(typeof D=="function")V=D.propTypes;else if(typeof D=="object"&&(D.$$typeof===C||D.$$typeof===M))V=D.propTypes;else return;if(V){var z=Yr(D);of(V,E.props,"prop",z,E)}else if(D.PropTypes!==void 0&&!lf){lf=!0;var ie=Yr(D);we("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ie||"Unknown")}typeof D.getDefaultProps=="function"&&!D.getDefaultProps.isReactClassApproved&&we("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xt(E){{for(var D=Object.keys(E.props),V=0;V<D.length;V++){var z=D[V];if(z!=="children"&&z!=="key"){ut(E),we("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",z),ut(null);break}}E.ref!==null&&(ut(E),we("Invalid attribute `ref` supplied to `React.Fragment`."),ut(null))}}function $p(E,D,V){var z=sl(E);if(!z){var ie="";(E===void 0||typeof E=="object"&&E!==null&&Object.keys(E).length===0)&&(ie+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=Lp(D);Le?ie+=Le:ie+=uf();var be;E===null?be="null":$t(E)?be="array":E!==void 0&&E.$$typeof===o?(be="<"+(Yr(E.type)||"Unknown")+" />",ie=" Did you accidentally export a JSX literal instead of a component?"):be=typeof E,we("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",be,ie)}var qe=_e.apply(this,arguments);if(qe==null)return qe;if(z)for(var tt=2;tt<arguments.length;tt++)Np(arguments[tt],E);return E===f?Xt(qe):Ln(qe),qe}var va=!1;function Qr(E){var D=$p.bind(null,E);return D.type=E,va||(va=!0,ze("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(D,"type",{enumerable:!1,get:function(){return ze("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:E}),E}}),D}function ji(E,D,V){for(var z=yt.apply(this,arguments),ie=2;ie<arguments.length;ie++)Np(arguments[ie],z.type);return Ln(z),z}function i0(E,D){var V=Y.transition;Y.transition={};var z=Y.transition;Y.transition._updatedFibers=new Set;try{E()}finally{if(Y.transition=V,V===null&&z._updatedFibers){var ie=z._updatedFibers.size;ie>10&&ze("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."),z._updatedFibers.clear()}}}var Es=!1,su=null;function qp(E){if(su===null)try{var D=("require"+Math.random()).slice(0,7),V=e&&e[D];su=V.call(e,"timers").setImmediate}catch{su=function(ie){Es===!1&&(Es=!0,typeof MessageChannel>"u"&&we("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Le=new MessageChannel;Le.port1.onmessage=ie,Le.port2.postMessage(void 0)}}return su(E)}var dl=0,Bp=!1;function Up(E){{var D=dl;dl++,J.current===null&&(J.current=[]);var V=J.isBatchingLegacy,z;try{if(J.isBatchingLegacy=!0,z=E(),!V&&J.didScheduleLegacyUpdate){var ie=J.current;ie!==null&&(J.didScheduleLegacyUpdate=!1,ws(ie))}}catch(jt){throw go(D),jt}finally{J.isBatchingLegacy=V}if(z!==null&&typeof z=="object"&&typeof z.then=="function"){var Le=z,be=!1,qe={then:function(jt,nn){be=!0,Le.then(function(vt){go(D),dl===0?Cs(vt,jt,nn):jt(vt)},function(vt){go(D),nn(vt)})}};return!Bp&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){be||(Bp=!0,we("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),qe}else{var tt=z;if(go(D),dl===0){var bt=J.current;bt!==null&&(ws(bt),J.current=null);var Dt={then:function(jt,nn){J.current===null?(J.current=[],Cs(tt,jt,nn)):jt(tt)}};return Dt}else{var At={then:function(jt,nn){jt(tt)}};return At}}}}function go(E){E!==dl-1&&we("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),dl=E}function Cs(E,D,V){{var z=J.current;if(z!==null)try{ws(z),qp(function(){z.length===0?(J.current=null,D(E)):Cs(E,D,V)})}catch(ie){V(ie)}else D(E)}}var pl=!1;function ws(E){if(!pl){pl=!0;var D=0;try{for(;D<E.length;D++){var V=E[D];do V=V(!0);while(V!==null)}E.length=0}catch(z){throw E=E.slice(D+1),z}finally{pl=!1}}}var Fp=$p,jp=ji,Vp=Qr,Hp={map:Ni,forEach:vs,count:fo,toArray:il,only:ru};r.Children=Hp,r.Component=Dr,r.Fragment=f,r.Profiler=v,r.PureComponent=Wn,r.StrictMode=c,r.Suspense=b,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=et,r.act=Up,r.cloneElement=jp,r.createContext=ms,r.createElement=Fp,r.createFactory=Vp,r.createRef=ge,r.forwardRef=ll,r.isValidElement=gt,r.lazy=Bi,r.memo=au,r.startTransition=i0,r.unstable_act=Up,r.useCallback=nf,r.useContext=vo,r.useDebugValue=gs,r.useDeferredValue=Qa,r.useEffect=ef,r.useId=Ke,r.useImperativeHandle=rf,r.useInsertionEffect=tf,r.useLayoutEffect=hs,r.useMemo=ys,r.useReducer=Ui,r.useRef=Cn,r.useState=cl,r.useSyncExternalStore=mo,r.useTransition=af,r.version=a,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(bh,bh.exports);var E4=bh.exports;bk.exports=E4;var ke=bk.exports;const C4=zh(ke),w4=(e,r)=>{ke.useEffect(()=>{const a=e();return()=>{a.Dispose()}},r)},S4=e=>{ke.useLayoutEffect(()=>{const r=e();return()=>{r.Dispose()}})};function _4(e){throw new Error(e)}const R4="Enumeration already finished.",T4="Enumeration has not started. Call MoveNext.",Ek="The input sequence has an insufficient number of elements.",x4="Reset is not supported on this enumerator.";function O4(){throw new Error(x4)}function eR(){throw new Error(T4)}function n_(){throw new Error(R4)}class M4{constructor(r){this.f=r}toString(){const r=this;let a=0,o="seq [";const u=Nt(r);try{for(;a<4&&u["System.Collections.IEnumerator.MoveNext"]();)a>0&&(o=o+"; "),o=o+ja(u["System.Collections.Generic.IEnumerator`1.get_Current"]()),a=a+1|0;return a===4&&(o=o+"; ..."),o+"]"}finally{_t(u)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return cp(Nt(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function D4(e){return new M4(e)}class A4{constructor(r,a,o){this.current=r,this.next=a,this.dispose=o}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){O4()}Dispose(){this.dispose()}}function Wh(e,r,a){return new A4(e,r,a)}function P4(e){let r,a,o=!1,u=!1,f;const c=()=>{if(u=!0,a!=null){const v=ae(a);try{_t(v)}finally{a=void 0}}if(r!=null){const v=ae(r);try{_t(v)}finally{r=void 0}}};return Wh(()=>(o?u&&n_():eR(),f!=null?ae(f):n_()),()=>{let v;if(o||(o=!0),u)return!1;{let m;for(;m==null;){const h=r,C=a;if(h!=null)if(C!=null){const b=ae(C);if(b["System.Collections.IEnumerator.MoveNext"]())f=Pn(b["System.Collections.Generic.IEnumerator`1.get_Current"]()),m=!0;else try{_t(b)}finally{a=void 0}}else{const b=ae(h);b["System.Collections.IEnumerator.MoveNext"]()?a=(v=b["System.Collections.Generic.IEnumerator`1.get_Current"](),Nt(v)):(c(),m=!1)}else r=Nt(e)}return ae(m)}},()=>{u||c()})}function k4(e,r){return Wh(()=>r["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>r["System.Collections.IEnumerator.MoveNext"](),()=>{try{_t(r)}finally{}})}function Ck(e,r,a){let o=!1,u,f=Pn(e());const c=()=>{if(f!=null){const m=ae(f);try{a(m)}finally{f=void 0}}},v=()=>{try{c()}finally{u=void 0}};return Wh(()=>(o||eR(),u!=null?ae(u):n_()),()=>{if(o||(o=!0),f!=null){const m=ae(f);let h;try{h=r(m)}catch(C){throw v(),C}return h!=null?(u=h,!0):(v(),!1)}else return!1},c)}function I4(e,r){let a,o=r;return Wh(()=>{if(a!=null){const u=ae(a)[0];return ae(a)[1],u}else return eR()},()=>(a=e(o),a!=null?(ae(a)[0],o=ae(a)[1],!0):!1),()=>{})}function L4(e,r){r==null&&_4(e)}function Wc(e){return D4(e)}function eu(e){return L4("source",e),Nt(e)}function la(e){return Wc(()=>Nt(e()))}function tR(e){return Wc(()=>P4(e))}function N4(e,r){return Wc(()=>I4(e,r))}function wk(e){return la(()=>i4(e))}function r_(e){return e instanceof Tr?hp(e):Array.from(e)}function Eh(e){return Oi(e)?Ee(e):e instanceof Tr?e:v4(e)}function $4(e,r,a){return Wc(()=>Ck(e,r,a))}function Sk(e,r,a){return Wc(()=>{let o=-1;return Ck(e,u=>(o=o+1|0,r(o,u)),a)})}function Ch(e,r){return tR([e,r])}function q4(e,r,a){const o=eu(r);try{const u=eu(a);try{let f=0,c=o["System.Collections.IEnumerator.MoveNext"](),v=u["System.Collections.IEnumerator.MoveNext"]();for(;f===0&&c&&v;)f=e(o["System.Collections.Generic.IEnumerator`1.get_Current"](),u["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,f===0&&(c=o["System.Collections.IEnumerator.MoveNext"](),v=u["System.Collections.IEnumerator.MoveNext"]());return(f!==0?f:c?1:v?-1:0)|0}finally{_t(u)}}finally{_t(o)}}function Fu(e,r,a){const o=eu(r);try{let u=!1;for(;!u&&o["System.Collections.IEnumerator.MoveNext"]();)u=a.Equals(e,o["System.Collections.Generic.IEnumerator`1.get_Current"]());return u}finally{_t(o)}}function gp(e,r,a){const o=eu(a);try{let u=r;for(;o["System.Collections.IEnumerator.MoveNext"]();)u=e(u,o["System.Collections.Generic.IEnumerator`1.get_Current"]());return u}finally{_t(o)}}function bp(e,r){gp((a,o)=>{e(o)},void 0,r)}function B4(e,r){gp((a,o)=>(e(a,o),a+1|0),0,r)}function Fn(e,r){return $4(()=>eu(r),a=>a["System.Collections.IEnumerator.MoveNext"]()?Pn(e(a["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,a=>{_t(a)})}function U4(e,r){return Sk(()=>eu(r),(a,o)=>o["System.Collections.IEnumerator.MoveNext"]()?Pn(e(a,o["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,a=>{_t(a)})}function F4(e){return la(()=>o4(r_(e)))}function j4(e,r){return Wc(()=>{const a=eu(r);try{for(let o=1;o<=e;o++)if(!a["System.Collections.IEnumerator.MoveNext"]())throw new Error(Ek+"\\nParameter name: source");return k4(()=>{},a)}catch(o){throw _t(a),o}})}function V4(e,r){return Sk(()=>eu(r),(a,o)=>{if(a<e){if(o["System.Collections.IEnumerator.MoveNext"]())return Pn(o["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Ek+"\\nParameter name: source")}else return},a=>{_t(a)})}function a_(e,r){return la(()=>tR(Fn(e,r)))}var i_;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(i_||(i_={}));function H4(e,r){const[,a,o,u]=e;return{sign:a||"",prefix:o||"",digits:u,radix:r}}function xD(e,r){switch(r){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function z4(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}function W4(e,r){if(r&i_.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}function G4(e,r,a){const u=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(u!=null){const[,,f,c]=u;if(a=a||W4(f,r),!z4(a).test(c))return H4(u,a)}return null}function Y4(e,r,a,o,u){const f=G4(e,r,u);if(f!=null){let c=Number.parseInt(f.sign+f.digits,f.radix);if(!Number.isNaN(c)){const[v,m]=xD(!0,o);!a&&f.radix!==10&&c>=v&&c<=m&&(c=c<<32-o>>32-o);const[h,C]=xD(a,o);if(c>=h&&c<=C)return c}}throw new Error(`The input string ${e} was not in a correct format.`)}function Gc(e,r,a,o,u){try{return u.contents=Y4(e,r,a,o),!0}catch{return!1}}const zt=C4,_k=w4,K4=S4;function X4(e,r,a,o){const u=zt.memo(e,on(io(dp(Hl,a),ua())));return bp(f=>{e.displayName=f},nk(r)),f=>{const c=Q4(o,f);return zt.createElement(u,c)}}function Q4(e,r){if(e==null)return r;{const a=e;return r.key=a(r),r}}function nR(e){return{Dispose(){e()}}}function J4(e,r){_k(e,r)}function Z4(e){K4(r=>(e(),nR(()=>{})))}function e5(e){const r=zt.useRef(!1);n5(()=>{r.current||(r.current=!0,e())},[])}function t5(e){const r=zt.useRef(void 0),a=zt.useRef(!1),o=zt.useRef(!1);a.current&&(o.current=!0),J4(()=>{let u;return a.current?u=void 0:(a.current=!0,r.current=Pn(e()),u=o.current?r.current:void 0),{Dispose(){bp(f=>{_t(f)},nk(u))}}},[])}function n5(e,r){_k(a=>(e(),nR(()=>{})),r)}function r5(e,r){const a=io(r,[]);return zt.useCallback(e,a)}function a5(e){return zt.useRef(e)}function i5(e,r,a){return X4(e,void 0,ZS(a),ZS(r))}function o5(e){const r=a5(e),a=r5(o=>r.current(o),[]);return Z4(()=>{r.current=e}),a}const l5=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,OD=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,u5=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function jn(e){function r(o){return o.replace(OD,"$1-$2-$3-$4-$5")}const a=e.trim().toLowerCase();if(l5.test(a))return j6(a,"{","}","(",")");if(OD.test(a))return r(a);if(u5.test(a))return r(a.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function s5(e,r){try{return r.contents=jn(e),!0}catch{return!1}}function Rk(){let e="";for(let r=0;r++<36;)e+=r*51&52?(r^15?8^Math.random()*(r^20?16:4):4).toString(16):"-";return e}function o_(e,r){if(r.indexOf(e)===0)return r}function MD(e,r){if(U6(r,e))return r}function c5(e){return r=>{let a,o;return a=o_("/",r),a!=null?(o=a,o):"/"+r}}function f5(e,r){return c5()(Qo("/",Sr(a=>a.indexOf("?")>=0||a.indexOf("#")===0||a.indexOf("/")===0?a:encodeURIComponent(a),e)))}function d5(e,r,a){history.pushState(void 0,"",f5(e));const o=document.createEvent("CustomEvent");o.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(o)}function p5(e,r){return m4(a=>{if(ts(a))return ct();{const o=V6(a,"#");if(o==="?")return ct();if(o_("?",o)!=null)return Te(o);{const u=o.split("?");if(!TD((f,c)=>f===c,u)&&u.length===1){const f=Lt(0,u);return Te(decodeURIComponent(f))}else if(!TD((f,c)=>f===c,u)&&u.length===2)if(Lt(1,u)===""){const f=Lt(0,u);return Te(decodeURIComponent(f))}else{const f=Lt(0,u),c=Lt(1,u);return Ee([decodeURIComponent(f),"?"+c])}else return ct()}}},Ee(G_(o_("#",e)!=null?H6(e,1,e.length-1):r===1&&(MD("#",e)!=null||MD("#/",e)!=null)?"":e,["/"],void 0,0)))}function v5(e,r,a){return r(p5(e===2?window.location.pathname+window.location.search:window.location.hash,e))}i5(e=>{const r=o5(o=>{const u=io(e.onUrlChanged,f=>{});v5(io(e.hashMode,1),u)});t5(()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",r):window.addEventListener("popstate",r),window.addEventListener("CUSTOM_NAVIGATION_EVENT",r),nR(()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",r):window.removeEventListener("popstate",r),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",r)}))),e5(()=>{const o=document.createEvent("CustomEvent");o.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(o)});const a=e.application;return a??ua()});function m5(e){return new x(0,[e])}function Tk(e){return new x(1,[e])}class x extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Ok","Error"]}}function Di(e,r){return r.tag===0?m5(e(r.fields[0])):Tk(r.fields[0])}function xk(e,r){return r.tag===0?e(r.fields[0]):Tk(r.fields[0])}class Wm extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Autodev","Test","Prod","Sandbox"]}}function h5(e){const r=Ee(G_(e,["."],void 0,0));let a;if(st(r))a=4;else switch(Re(r)){case"autodev-partner":{a=0;break}case"test-partner":{a=1;break}case"partner":{a=2;break}case"sandbox-partner":{a=3;break}default:a=4}switch(a){case 0:return new x(0,[new Wm(0,[])]);case 1:return new x(0,[new Wm(1,[])]);case 2:return new x(0,[new Wm(2,[])]);case 3:return new x(0,[new Wm(3,[])]);default:return new x(1,["Invalid environment"])}}const Bu=e=>({tag:"ok",value:e}),Vd=e=>({tag:"error",error:e});class Cr{constructor(r){this.uri=r}static isAbsoluteUri(r){try{return new URL(r),!0}catch{return!1}}static tryCreateWithKind(r,a){switch(a){case 1:return Cr.isAbsoluteUri(r)?Bu(new Cr({original:r,value:new URL(r),kind:a})):Vd("Invalid URI: The format of the URI could not be determined.");case 2:return Cr.isAbsoluteUri(r)?Vd("URI is not a relative path."):Bu(new Cr({original:r,value:r,kind:a}));case 0:return Cr.isAbsoluteUri(r)?Bu(new Cr({original:r,value:new URL(r),kind:1})):Bu(new Cr({original:r,value:r,kind:2}));default:return a}}static tryCreateWithBase(r,a){return r.uri.kind!==1?Vd("Base URI should have Absolute kind"):typeof a=="string"?Bu(new Cr({original:new URL(a,r.uri.value).toString(),value:new URL(a,r.uri.value),kind:1})):a.uri.kind===2?Bu(new Cr({original:new URL(a.uri.value,r.uri.value).toString(),value:new URL(a.uri.value,r.uri.value),kind:1})):Bu(r)}static tryCreateImpl(r,a=1){return typeof r=="string"?typeof a!="number"?Vd("Kind must be specified when the baseUri is a string."):Cr.tryCreateWithKind(r,a):typeof a=="number"?Vd("Kind should not be specified when the baseUri is an absolute Uri."):Cr.tryCreateWithBase(r,a)}static create(r,a=1){const o=Cr.tryCreateImpl(r,a);switch(o.tag){case"ok":return o.value;case"error":throw new Error(o.error);default:return o}}static tryCreate(r,a=1,o){const u=Cr.tryCreateImpl(r,a);switch(u.tag){case"ok":return o.contents=u.value,!0;case"error":return!1;default:return u}}toString(){switch(this.uri.kind){case 1:return decodeURIComponent(this.asUrl().toString());case 2:return this.uri.value;default:return this.uri}}asUrl(){switch(this.uri.kind){case 1:return this.uri.value;case 2:throw new Error("This operation is not supported for a relative URI.");default:return this.uri}}get isAbsoluteUri(){return this.uri.kind===1}get absoluteUri(){return this.asUrl().href}get scheme(){const r=this.asUrl().protocol;return r.slice(0,r.length-1)}get host(){return this.asUrl().host}get absolutePath(){return this.asUrl().pathname}get query(){return this.asUrl().search}get pathAndQuery(){const r=this.asUrl();return r.pathname+r.search}get fragment(){return this.asUrl().hash}get originalString(){return this.uri.original}}const y5=document.getElementById("workflows-app"),rR="https://fake-partner.flarehr.com";Ee(["workflows","app"]);Ee(["workflows","embed","v1.0","app"]);class Ok extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Embedded","Standalone","Unknown"]}}h5(Cr.create(rR).host);const zu={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function sS(e,r){return e.replace(/[a-z]?[A-Z]/g,a=>a.length===1?a.toLowerCase():a.charAt(0)+r+a.charAt(1).toLowerCase())}function g5(e,r){switch(r){case zu.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case zu.SnakeCase:return sS(e,"_");case zu.SnakeCaseAllCaps:return sS(e,"_").toUpperCase();case zu.KebabCase:return sS(e,"-");case zu.None:default:return e}}function Mk(e,r=zu.None){const a={},o=r;function u(c){throw new Error("Cannot infer key and value of "+String(c))}function f(c,v,m){c=g5(c,v),a[c]=m}for(let c of e){let v=zu.None;if(c==null&&u(c),c instanceof Ye){const m=c.cases()[c.tag];c=c.fields.length===0?m:[m].concat(c.fields),v=o}if(Array.isArray(c))switch(c.length){case 0:u(c);break;case 1:f(c[0],v,!0);break;case 2:const m=c[1];f(c[0],v,m);break;default:f(c[0],v,c.slice(1))}else typeof c=="string"?f(c,v,!0):u(c)}return a}function b5(e,r,a){return e.has(r)?(a.contents=e.get(r),!0):!1}function np(e,r){if(e.has(r))return e.get(r);throw new Error(`The given key '${r}' was not present in the dictionary.`)}class E5{constructor(r,a){const o=new ca(ua());this.comparer=a,o.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const u=Nt(r);try{for(;u["System.Collections.IEnumerator.MoveNext"]();){const f=u["System.Collections.Generic.IEnumerator`1.get_Current"]();cS(o.contents,f[0],f[1])}}finally{_t(u)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(){const r=this;return Array.from(r)}"System.Collections.IEnumerable.GetEnumerator"(){return Nt(this)}GetEnumerator(){return Nt(tR(this.hashMap.values()))}[Symbol.iterator](){return cp(Nt(this))}"System.Collections.Generic.ICollection`1.Add2B595"(r){cS(this,r[0],r[1])}"System.Collections.Generic.ICollection`1.Clear"(){DD(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(r){const o=ih(this,r[0]);let u;switch(o!=null&&je(ae(o)[1],r[1])?(u=0,ae(o)):u=1,u){case 0:return!0;default:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(r,a){B4((u,f)=>{Mi(r,a+u,f)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return AD(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(r){const a=this,o=ih(a,r[0]);return o!=null?(je(ae(o)[1],r[1])&&fS(a,r[0]),!0):!1}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(r,a){cS(this,r,a)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(r){return ID(this,r)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(r){return PD(this,r)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(r,a){kD(this,r,a)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const r=this;return r_(la(()=>Fn(a=>a[0],r)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(r){return fS(this,r)}"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(r,a){const u=ih(this,r);if(u!=null){const f=ae(u);return a.contents=f[1],!0}else return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const r=this;return r_(la(()=>Fn(a=>a[1],r)))}get size(){return AD(this)|0}clear(){DD(this)}delete(r){return fS(this,r)}entries(){return Fn(a=>[a[0],a[1]],this)}get(r){return PD(this,r)}has(r){return ID(this,r)}keys(){return Fn(a=>a[0],this)}set(r,a){const o=this;return kD(o,r,a),o}values(){return Fn(a=>a[1],this)}forEach(r,a){const o=this;bp(u=>{r(u[1],u[0],o)},o)}}function Ep(e,r){const a=e.comparer.GetHashCode(r)|0;let o,u=ua();return o=[b5(e.hashMap,a,new ca(()=>u,f=>{u=f})),u],o[0]?[!0,a,o[1].findIndex(f=>e.comparer.Equals(r,f[0]))]:[!1,a,-1]}function ih(e,r){const a=Ep(e,r);let o;switch(a[0]&&a[2]>-1?o=0:o=1,o){case 0:return np(e.hashMap,a[1])[a[2]];default:return}}function DD(e){e.hashMap.clear()}function AD(e){let r=0,a=Nt(e.hashMap.values());try{for(;a["System.Collections.IEnumerator.MoveNext"]();){const o=a["System.Collections.Generic.IEnumerator`1.get_Current"]();r=r+o.length|0}}finally{_t(a)}return r|0}function PD(e,r){const a=ih(e,r);if(a!=null)return ae(a)[1];throw new Error("The item was not found in collection")}function kD(e,r,a){const o=Ep(e,r);o[0]?o[2]>-1?np(e.hashMap,o[1])[o[2]]=[r,a]:np(e.hashMap,o[1]).push([r,a]):e.hashMap.set(o[1],[[r,a]])}function cS(e,r,a){const o=Ep(e,r);if(o[0]){if(o[2]>-1)throw new Error(ek("An item with the same key has already been added. Key: {0}",r));np(e.hashMap,o[1]).push([r,a])}else e.hashMap.set(o[1],[[r,a]])}function ID(e,r){const a=Ep(e,r);let o;switch(a[0]&&a[2]>-1?o=0:o=1,o){case 0:return!0;default:return!1}}function fS(e,r){const a=Ep(e,r);let o;switch(a[0]&&a[2]>-1?o=0:o=1,o){case 0:return np(e.hashMap,a[1]).splice(a[2],1),!0;default:return!1}}function C5(e,r){const a=L6(GP(e),r);if(a!=null)return ot(Eh(la(()=>Fn(o=>o||"",a))))}function w5(e){let r;const a=C5(".*?@(.*)",e);switch(a!=null?st(a)?r=1:st(ot(a))?r=0:r=1:r=1,r){case 0:return e;default:return}}function Dk(e,r){return tk(r)?new x(1,[Me(Oe("%s cannot be null or empty"))(e)]):new x(0,[r])}function S5(e){const r=w5(e);if(r!=null){const a=r;return new x(0,[a])}else return new x(1,["Email is not in the correct format"])}class _5 extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["ProfileId"]}}function Ak(e){return new _5(e)}function Pk(e){return e.fields[0]}class R5 extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["InviteCode"]}}function T5(e){return!ts(e)}function x5(e){return T5(e)?new x(0,[new R5(e)]):new x(1,["Invalid invite code format."])}class O5 extends ft{constructor(r,a,o){super(),this.CompanyName=r,this.Logo=a,this.Support=o}}class M5 extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["Logo"]}}class D5 extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["CompanyName"]}}class A5 extends ft{constructor(r,a){super(),this.Email=r,this.Phone=a}}class P5 extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["Email"]}}class k5 extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["Phone"]}}const I5=e=>Di(r=>new P5(r),xk(S5,Dk("Email",e))),L5=e=>Di(r=>new k5(r),Dk("Phone",e));function N5(e){return ts(e)?new x(1,["Invalid company name."]):new x(0,[new D5(e)])}function LD(e){return e.fields[0]}function $5(e){try{const r=Cr.create(e);return r.isAbsoluteUri?[!0,r]:[!1,void 0]}catch{return[!1,void 0]}}function q5(e){return $5(e)[0]?new x(0,[new M5(e)]):new x(1,["Invalid logo url."])}class B5 extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["SecondFactorCode"]}}function U5(e){return new B5(e)}class F5 extends ft{constructor(r,a,o,u){super(),this.Code=r,this.DateIssued=a,this.NumberOfAttempts=o|0,this.DateOfLastAttempt=u}}class j5 extends ft{constructor(r,a,o,u){super(),this.Code=r,this.DateIssued=a,this.SecondFactor=o,this.Branding=u}}class so extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["ProcessStepId"]}}class co extends ft{constructor(r,a,o){super(),this.Id=r,this.DisplayName=a,this.ComponentTagName=o}}const fa=new co(new so("personal-details"),"Personal Details","apollo-personal-details-app"),Pi=new co(new so("emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),ki=new co(new so("bank"),"Bank","bank-component"),Ii=new co(new so("tax"),"Tax","tax-component"),fr=new co(new so("super"),"Super","super-selection-app"),Cp=new co(new so("app-workplace-linking"),"App Workplace Linking","workplace-link"),V5=new so("benefits-onboarding"),aR=new co(V5,"Benefits","benefits-onboarding"),tu=new co(new so("workplace-policy"),"Workplace-policy","apollo-workplace-policies-app"),wp=new co(new so("Benefits-Discrete"),"Benefits","benefits-onboarding");function kk(e){return new so(e)}function wh(e){return e.fields[0]}class Vn extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["ProcessConfigId"]}}class Hn extends ft{constructor(r,a,o){super(),this.Id=r,this.Name=a,this.Steps=o}}const Sh=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000000")),"onboarding-default",Ee([ki,Ii,fr])),ND=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000001")),"PEBTS",Ee([fa,Pi,ki,Ii,fr])),$D=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000002")),"PS",Ee([fa,fr])),qD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000003")),"BS",Ee([ki,fr])),BD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000004")),"Super",Te(fr)),l_=new Hn(new Vn(jn("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",Te(Cp)),UD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000005")),"Tax",Te(Ii)),FD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000006")),"PBTS",Ee([fa,ki,Ii,fr])),jD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000007")),"PEBTSPo",Ee([fa,Pi,ki,Ii,fr,tu])),VD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000008")),"PEBSPo",Ee([fa,Pi,ki,fr,tu])),HD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000009")),"PESPo",Ee([fa,Pi,fr,tu])),zD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000010")),"PETSPo",Ee([fa,Pi,Ii,fr,tu])),u_=new Hn(new Vn(jn("00000000-0000-0000-0002-000000000000")),"Bo",Te(wp)),WD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000011")),"PETS",Ee([fa,Pi,Ii,fr])),GD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000012")),"PEBS",Ee([fa,Pi,ki,fr])),YD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000013")),"PES",Ee([fa,Pi,fr])),KD=new Hn(new Vn(jn("00000000-0000-0000-0000-000000000014")),"PBTSPo",Ee([fa,ki,Ii,fr,tu])),H5=new E5([[Sh.Id,Sh],[ND.Id,ND],[$D.Id,$D],[qD.Id,qD],[BD.Id,BD],[l_.Id,l_],[UD.Id,UD],[FD.Id,FD],[jD.Id,jD],[VD.Id,VD],[HD.Id,HD],[zD.Id,zD],[u_.Id,u_],[WD.Id,WD],[GD.Id,GD],[YD.Id,YD],[KD.Id,KD]],{Equals:je,GetHashCode:H_});function z5(e){return je(e,u_)?!1:!je(e,l_)}function W5(e){const r=new Vn(e);return Fu(r,H5.keys(),{Equals:je,GetHashCode:H_})?new x(0,[r]):new x(1,[Me(KP("Invalid Type %A%P()",[e]))])}function Ik(e){return e.fields[0]}class iR extends ft{constructor(r,a){super(),this.ActivatedDates=r,this.CompletedSteps=a}}class Wu extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Inactive","Active","Complete","Abandoned"]}}function s_(e){return e.tag===2}class G5 extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["ProcessInstanceId"]}}function oR(e){return new G5(e)}function Gh(e){return e.fields[0]}class Y5 extends ft{constructor(r,a){super(),this.Name=r,this.Value=a}}class K5 extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["TagName"]}}class X5 extends Ye{constructor(r){super(),this.tag=0,this.fields=[r]}cases(){return["TagValue"]}}function Q5(e){return ts(e)?new x(1,["Tag name is empty"]):e.length<100?new x(0,[new K5(e)]):new x(1,["Tag name is too long"])}function J5(e){return ts(e)?new x(1,["Tag value is empty"]):e.length<100?new x(0,[new X5(e)]):new x(1,["Tag value is too long"])}function Z5(e,r){const a=Q5(e);if(a.tag===1)return new x(1,[a.fields[0]]);{const o=J5(r);return o.tag===1?new x(1,[o.fields[0]]):new x(0,[new Y5(a.fields[0],o.fields[0])])}}class Lk extends ft{constructor(r,a,o,u,f,c,v,m,h,C,b){super(),this.Id=r,this.Configuration=a,this.DateCreated=o,this.Status=u,this.Invite=f,this.Tags=c,this.Creator=v,this.StepsConfiguration=m,this.JourneyType=h,this.IsBenefitsStepEnabled=C,this.PaySetupComplete=b}}class eW extends ft{constructor(r){super(),this.BenefitsOnboarding=r}}class Ul extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class lR extends ft{constructor(r){super(),this.Category=r}}class XD extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["WhenEnabled","Always"]}}function Nk(){return new lR(void 0)}function tW(e,r){const a=Hh(f=>je(f.Id,e),r.Configuration.Steps),o=Me(KP("Invalid ProcessStep Id %A%P()",[e])),u=a;return u==null?new x(1,[o]):new x(0,[u])}function nW(e){const r=e.Status;switch(r.tag){case 2:return e.Configuration.Steps;case 3:case 0:return ct();default:{const a=Sr(o=>o[0],r.fields[0].CompletedSteps);return Z_(o=>gk(o.Id,a,{Equals:je,GetHashCode:H_}),e.Configuration.Steps)}}}class rW{constructor(r=!1){this._id=0,this._cancelled=r,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,r]of this._listeners)r()}}addListener(r){const a=this._id;return this._listeners.set(this._id++,r),a}removeListener(r){return this._listeners.delete(r)}register(r,a){const o=this,u=this.addListener(a==null?r:()=>r(a));return{Dispose(){o.removeListener(u)}}}Dispose(){}}class Yh extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Yh.prototype)}}class uR{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>uR.maxTrampolineCallCount}hijack(r){this.callCount=0,setTimeout(r,0)}}function Go(e){return r=>{if(r.cancelToken.isCancelled)r.onCancel(new Yh);else if(r.trampoline.incrementAndCheck())r.trampoline.hijack(()=>{try{e(r)}catch(a){r.onError(mh(a))}});else try{e(r)}catch(a){r.onError(mh(a))}}}function $k(e,r){return Go(a=>{e({onSuccess:o=>{try{r(o)(a)}catch(u){a.onError(mh(u))}},onError:a.onError,onCancel:a.onCancel,cancelToken:a.cancelToken,trampoline:a.trampoline})})}function qk(e){return Go(r=>r.onSuccess(e))}class aW{Bind(r,a){return $k(r,a)}Combine(r,a){return this.Bind(r,()=>a)}Delay(r){return Go(a=>r()(a))}For(r,a){const o=r[Symbol.iterator]();let u=o.next();return this.While(()=>!u.done,this.Delay(()=>{const f=a(u.value);return u=o.next(),f}))}Return(r){return qk(r)}ReturnFrom(r){return r}TryFinally(r,a){return Go(o=>{r({onSuccess:u=>{a(),o.onSuccess(u)},onError:u=>{a(),o.onError(u)},onCancel:u=>{a(),o.onCancel(u)},cancelToken:o.cancelToken,trampoline:o.trampoline})})}TryWith(r,a){return Go(o=>{r({onSuccess:o.onSuccess,onCancel:o.onCancel,cancelToken:o.cancelToken,trampoline:o.trampoline,onError:u=>{try{a(u)(o)}catch(f){o.onError(mh(f))}}})})}Using(r,a){return this.TryFinally(a(r),()=>r.Dispose())}While(r,a){return r()?this.Bind(a,()=>this.While(r,a)):this.Return(void 0)}Zero(){return Go(r=>r.onSuccess(void 0))}}const he=new aW;function iW(e,r,a){e:for(;;){const o=e,u=r,f=a;if(st(f)){const c=o;return c.tag===1?new x(1,[c.fields[0]]):new x(0,[Vh(c.fields[0])])}else{let c;const v=u(Re(f));if(v.tag===1)c=new x(1,[v.fields[0]]);else{const m=o;c=m.tag===1?new x(1,[m.fields[0]]):new x(0,[Oa(v.fields[0],m.fields[0])])}if(c.tag===1)return c;e=c,r=u,a=ot(f);continue e}}}function oW(e,r){return iW(new x(0,[ct()]),e,r)}function Lc(e){return oW(r=>r,e)}class lW extends ft{constructor(r,a,o){super(),this.CompanyName=r,this.Logo=a,this.Support=o}}function uW(){return Ai("Workflows.Business.Aggregates.CommonDto.InviteBrandingDto",[],lW,()=>[["CompanyName",ur(kn)],["Logo",ur(kn)],["Support",ur(cW())]])}class sW extends ft{constructor(r,a){super(),this.Email=r,this.Phone=a}}function cW(){return Ai("Workflows.Business.Aggregates.CommonDto.SupportDto",[],sW,()=>[["Email",ur(kn)],["Phone",ur(kn)]])}function fW(e){let r;const a=e.Email;if(a!=null){const o=I5(a);r=o.tag===1?new x(1,[o.fields[0]]):new x(0,[o.fields[0]])}else r=new x(0,[void 0]);if(r.tag===1)return new x(1,[r.fields[0]]);{let o;const u=e.Phone;if(u!=null){const f=L5(u);o=f.tag===1?new x(1,[f.fields[0]]):new x(0,[f.fields[0]])}else o=new x(0,[void 0]);return o.tag===1?new x(1,[o.fields[0]]):new x(0,[new A5(r.fields[0],o.fields[0])])}}function dW(e){let r;const a=e.Logo;if(a!=null){const o=q5(a);r=o.tag===1?new x(1,[o.fields[0]]):new x(0,[o.fields[0]])}else r=new x(0,[void 0]);if(r.tag===1)return new x(1,[r.fields[0]]);{let o;const u=e.CompanyName;if(u!=null){const f=N5(u);o=f.tag===1?new x(1,[f.fields[0]]):new x(0,[f.fields[0]])}else o=new x(0,[void 0]);if(o.tag===1)return new x(1,[o.fields[0]]);{let f;const c=e.Support;if(c!=null){const v=fW(c);f=v.tag===1?new x(1,[v.fields[0]]):new x(0,[v.fields[0]])}else f=new x(0,[void 0]);return f.tag===1?new x(1,[f.fields[0]]):new x(0,[new O5(o.fields[0],r.fields[0],f.fields[0])])}}}class pW extends ft{constructor(r,a,o,u){super(),this.Code=r,this.DateIssued=a,this.NumberOfAttempts=o|0,this.DateOfLastAttempt=u}}function vW(){return Ai("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],pW,()=>[["Code",kn],["DateIssued",oo("System.DateTime")],["NumberOfAttempts",Y_],["DateOfLastAttempt",ur(oo("System.DateTime"))]])}function mW(e){return new F5(U5(e.Code),e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt)}class hW extends ft{constructor(r,a,o,u){super(),this.Code=r,this.DateIssued=a,this.SecondFactor=o,this.Branding=u}}function yW(){return Ai("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],hW,()=>[["Code",kn],["DateIssued",oo("System.DateTime")],["SecondFactor",ur(vW())],["Branding",ur(uW())]])}function gW(e){const r=x5(e.Code);if(r.tag===1)return new x(1,[r.fields[0]]);{let a;const o=e.SecondFactor;a=o==null?void 0:mW(o);let u;const f=e.Branding;if(f!=null){const c=dW(f);u=c.tag===1?new x(1,[c.fields[0]]):new x(0,[c.fields[0]])}else u=new x(0,[void 0]);return u.tag===1?new x(1,[u.fields[0]]):new x(0,[new j5(r.fields[0],e.DateIssued,a,u.fields[0])])}}class bW extends ft{constructor(r,a,o){super(),this.Id=r,this.DisplayName=a,this.ComponentTagName=o}}function EW(){return Ai("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],bW,()=>[["Id",kn],["DisplayName",kn],["ComponentTagName",kn]])}function CW(e){return new x(0,[new co(kk(e.Id),e.DisplayName,e.ComponentTagName)])}function wW(e){return Lc(Sr(CW,e))}class SW extends ft{constructor(r,a){super(),this.ActivatedDates=r,this.CompletedSteps=a}}function _W(){return Ai("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],SW,()=>[["ActivatedDates",Ic(oo("System.DateTime"))],["CompletedSteps",Ic(K6(kn,oo("System.DateTime")))]])}function RW(e){const r=Lc(Sr(a=>new x(0,[[kk(a[0]),a[1]]]),e.CompletedSteps));return r.tag===1?new x(1,[r.fields[0]]):new x(0,[new iR(e.ActivatedDates,r.fields[0])])}class TW extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Inactive","Active","Complete","Abandoned"]}}function xW(){return pp("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],TW,()=>[[],[["Item",_W()]],[["Item",oo("System.DateTime")]],[["Item",oo("System.DateTime")]]])}function OW(e){switch(e.tag){case 1:{const r=RW(e.fields[0]);return r.tag===1?new x(1,[r.fields[0]]):new x(0,[new Wu(1,[r.fields[0]])])}case 2:return new x(0,[new Wu(2,[e.fields[0]])]);case 3:return new x(0,[new Wu(3,[e.fields[0]])]);default:return new x(0,[new Wu(0,[])])}}class MW extends ft{constructor(r,a,o){super(),this.Id=r,this.Name=a,this.Steps=o}}function DW(){return Ai("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],MW,()=>[["Id",oo("System.Guid")],["Name",kn],["Steps",Ic(EW())]])}function AW(e){const r=wW(e.Steps);if(r.tag===1)return new x(1,[r.fields[0]]);{const a=W5(e.Id);return a.tag===1?new x(1,[a.fields[0]]):new x(0,[new Hn(a.fields[0],e.Name,r.fields[0])])}}class PW extends ft{constructor(r,a){super(),this.Name=r,this.Value=a}}function kW(){return Ai("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],PW,()=>[["Name",kn],["Value",kn]])}function IW(e){return Z5(e.Name,e.Value)}class LW extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["WhenEnabled","Always"]}}function NW(){return pp("Workflows.Business.Aggregates.ProcessInstanceList.Dto.BenefitsOnboardingShowOptionsDto",[],LW,()=>[[],[]])}class $W extends ft{constructor(r){super(),this.BenefitsOnboarding=r}}function qW(){return Ai("Workflows.Business.Aggregates.ProcessInstanceList.Dto.StepsConfigurationDto",[],$W,()=>[["BenefitsOnboarding",ur(Y6(["Show",NW()]))]])}function BW(e){let r,a;return new eW((r=e.BenefitsOnboarding,r==null?void 0:(a=r,{Show:a.Show.tag===1?new XD(1,[]):new XD(0,[])})))}class UW extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}function FW(){return pp("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDto",[],UW,()=>[[["Item",Hd()]],[["Item",Hd()]],[["Item",Hd()]],[["Item",Hd()]],[["Item",Hd()]]])}class jW extends ft{constructor(r){super(),this.Category=r}}function Hd(){return Ai("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDetailsDto",[],jW,()=>[["Category",ur(kn)]])}function zd(e){return new lR(e.Category)}function VW(e){if(e==null)return new Ul(0,[new lR(void 0)]);switch(e.tag){case 1:{const r=e.fields[0];return new Ul(1,[zd(r)])}case 2:{const r=e.fields[0];return new Ul(2,[zd(r)])}case 3:{const r=e.fields[0];return new Ul(3,[zd(r)])}case 4:{const r=e.fields[0];return new Ul(4,[zd(r)])}default:{const r=e.fields[0];return new Ul(0,[zd(r)])}}}class HW extends ft{constructor(r,a,o,u,f,c,v,m,h,C,b){super(),this.Id=r|0,this.DateCreated=a,this.Configuration=o,this.Status=u,this.Invite=f,this.Tags=c,this.Creator=v,this.StepsConfiguration=m,this.JourneyType=h,this.IsBenefitsStepEnabled=C,this.PaySetupComplete=b}}function zW(){return Ai("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],HW,()=>[["Id",Y_],["DateCreated",oo("System.DateTime")],["Configuration",DW()],["Status",xW()],["Invite",ur(yW())],["Tags",ur(Ic(kW()))],["Creator",ur(kn)],["StepsConfiguration",ur(qW())],["JourneyType",ur(FW())],["IsBenefitsStepEnabled",ur(Qu)],["PaySetupComplete",ur(Qu)]])}function WW(e){let r,a;const o=AW(e.Configuration);if(o.tag===1)return new x(1,[o.fields[0]]);{const u=o.fields[0],f=OW(e.Status);if(f.tag===1)return new x(1,[f.fields[0]]);{const c=f.fields[0];let v;if(c.tag===1){const m=c.fields[0],h=Lc(Sr(C=>{const b=[C[0],C[1]],R=b[0];return gh(M=>je(M.Id,R),u.Steps)?new x(0,[[R,b[1]]]):new x(1,["Step id is not configured for this Process Instance."])},m.CompletedSteps));v=h.tag===1?new x(1,[h.fields[0]]):new x(0,[new Wu(1,[new iR(m.ActivatedDates,h.fields[0])])])}else v=new x(0,[c]);if(v.tag===1)return new x(1,[v.fields[0]]);{let m;const h=e.Invite;if(h!=null){const C=gW(h);m=C.tag===1?new x(1,[C.fields[0]]):new x(0,[C.fields[0]])}else m=new x(0,[void 0]);if(m.tag===1)return new x(1,[m.fields[0]]);{let C;const b=e.Tags;if(b!=null){const R=Lc(Sr(IW,b));C=R.tag===1?new x(1,[R.fields[0]]):new x(0,[R.fields[0]])}else C=new x(0,[void 0]);return C.tag===1?new x(1,[C.fields[0]]):new x(0,[new Lk(oR(e.Id),u,e.DateCreated,v.fields[0],m.fields[0],C.fields[0],(r=e.Creator,r==null?void 0:Ak(r)),(a=e.StepsConfiguration,a==null?void 0:BW(a)),VW(e.JourneyType),e.IsBenefitsStepEnabled,e.PaySetupComplete)])}}}}}class Kh extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["CompleteStep","CompleteStepV2","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}class ju extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["CompleteStep","CompleteStepV2","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}function GW(){return pp("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],ju,()=>[[["Item",kn]],[["Item",kn]],[],[["Item",Qu]],[["Item",Qu]],[["Item",Qu]]])}function YW(e){switch(e.tag){case 1:return new ju(1,[wh(e.fields[0])]);case 2:return new ju(2,[]);case 3:return new ju(3,[e.fields[0]]);case 4:return new ju(4,[e.fields[0]]);case 5:return new ju(5,[e.fields[0]]);default:return new ju(0,[wh(e.fields[0])])}}const KW=WW;class oh extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}function XW(){return pp("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],oh,()=>[[["Item",kn]],[],[]])}function QW(e){return new Bk(0,[e])}function JW(e){return new Bk(1,[e])}class Bk extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Choice1Of2","Choice2Of2"]}}function ZW(e){return QW(e)}function eG(e){return JW(e)}function dS(e){}const Uk=new rW;function sR(e){return Go(r=>{e({onSuccess:a=>r.onSuccess(ZW(a)),onError:a=>r.onSuccess(eG(a)),onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline})})}function tG(e){return Go(r=>e([r.onSuccess,r.onError,r.onCancel]))}function nG(e){return $k(e,r=>qk(void 0))}function Ho(e){return Go(r=>{let a;const o=setTimeout(()=>{r.cancelToken.removeListener(a),r.onSuccess(void 0)},e);a=r.cancelToken.addListener(()=>{clearTimeout(o),r.onCancel(new Yh)})})}function rG(e,r){return Fk(e,r)}function Xh(e,r){return rG(e,r)}function Fk(e,r,a,o,u){typeof r!="function"&&(u=r,r=void 0);const f=new uR;e({onSuccess:r||dS,onError:a||dS,onCancel:o||dS,cancelToken:u||Uk,trampoline:f})}function aG(e,r){return new Promise((a,o)=>Fk(e,a,o,o,Uk))}class jk{constructor(r,a){this.k=r,this.v=a}}function _h(e,r){return new jk(e,r)}function zr(e){return e.k}function Ma(e){return e.v}class An extends jk{constructor(r,a,o,u,f){super(r,a),this.left=o,this.right=u,this.h=f|0}}function lh(e,r,a,o,u){return new An(e,r,a,o,u)}function Vr(e){return e.left}function Hr(e){return e.right}function Gu(e){return e.h}function Vk(e,r){e:for(;;){const a=e,o=r;if(o!=null){const u=ae(o);if(u instanceof An){const f=u;e=Vk(a+1,Vr(f)),r=Hr(f);continue e}else return a+1|0}else return a|0}}function iG(e){return Vk(0,e)}function hi(e,r,a,o){let u,f,c;const v=e;if(v!=null){const b=ae(v);c=b instanceof An?(u=b,Gu(u)):1}else c=0;let m;const h=o;if(h!=null){const b=ae(h);m=b instanceof An?(f=b,Gu(f)):1}else m=0;const C=(c<m?m:c)|0;return C===0?_h(r,a):lh(r,a,e,o,C+1)}function QD(e,r,a,o){let u,f,c,v,m,h,C,b,R;const M=e;if(M!=null){const B=ae(M);R=B instanceof An?(u=B,Gu(u)):1}else R=0;let A;const L=o;if(L!=null){const B=ae(L);A=B instanceof An?(f=B,Gu(f)):1}else A=0;if(A>R+2){const B=ae(o);if(B instanceof An){const T=B;if(c=Vr(T),(c!=null?(v=ae(c),v instanceof An?(m=v,Gu(m)):1):0)>R+1){const j=ae(Vr(T));if(j instanceof An){const U=j;return hi(hi(e,r,a,Vr(U)),zr(U),Ma(U),hi(Hr(U),zr(T),Ma(T),Hr(T)))}else throw new Error("internal error: Map.rebalance")}else return hi(hi(e,r,a,Vr(T)),zr(T),Ma(T),Hr(T))}else throw new Error("internal error: Map.rebalance")}else if(R>A+2){const B=ae(e);if(B instanceof An){const T=B;if(h=Hr(T),(h!=null?(C=ae(h),C instanceof An?(b=C,Gu(b)):1):0)>A+1){const j=ae(Hr(T));if(j instanceof An){const U=j;return hi(hi(Vr(T),zr(T),Ma(T),Vr(U)),zr(U),Ma(U),hi(Hr(U),r,a,o))}else throw new Error("internal error: Map.rebalance")}else return hi(Vr(T),zr(T),Ma(T),hi(Hr(T),r,a,o))}else throw new Error("internal error: Map.rebalance")}else return hi(e,r,a,o)}function Nc(e,r,a,o){if(o!=null){const u=ae(o),f=e.Compare(r,zr(u))|0;if(u instanceof An){const c=u;return f<0?QD(Nc(e,r,a,Vr(c)),zr(c),Ma(c),Hr(c)):f===0?lh(r,a,Vr(c),Hr(c),Gu(c)):QD(Vr(c),zr(c),Ma(c),Nc(e,r,a,Hr(c)))}else return f<0?lh(r,a,void 0,o,2):f===0?_h(r,a):lh(r,a,o,void 0,2)}else return _h(r,a)}function Hk(e,r,a){e:for(;;){const o=e,u=r,f=a;if(f!=null){const c=ae(f),v=o.Compare(u,zr(c))|0;if(v===0)return Pn(Ma(c));if(c instanceof An){const m=c;e=o,r=u,a=v<0?Vr(m):Hr(m);continue e}else return}else return}}function oG(e,r,a){const o=Hk(e,r,a);if(o==null)throw new Error;return ae(o)}function lG(e,r,a){e:for(;;){const o=e,u=r,f=a;if(f!=null){const c=ae(f),v=o.Compare(u,zr(c))|0;if(c instanceof An){const m=c;if(v<0){e=o,r=u,a=Vr(m);continue e}else{if(v===0)return!0;e=o,r=u,a=Hr(m);continue e}}else return v===0}else return!1}}function zk(e,r){e:for(;;){const a=e,o=r;if(o!=null){const u=ae(o);if(u instanceof An){const f=u;zk(a,Vr(f)),a(zr(f),Ma(f)),e=a,r=Hr(f);continue e}else a(zr(u),Ma(u))}break}}function uG(e,r){zk(e,r)}function sG(e,r,a){let o=a;uG((u,f)=>{Mi(r,o,[u,f]),o=o+1|0},e)}function cG(e,r){return uo((a,o)=>Nc(e,o[0],o[1],a),void 0,r)}function fG(e,r,a){e:for(;;){const o=e,u=r,f=a;if(f["System.Collections.IEnumerator.MoveNext"]()){const c=f["System.Collections.Generic.IEnumerator`1.get_Current"]();e=o,r=Nc(o,c[0],c[1],u),a=f;continue e}else return u}}function dG(e,r){let a=void 0;for(let o=0;o<=r.length-1;o++){const u=Lt(o,r);a=Nc(e,u[0],u[1],a)}return a}function Wk(e,r){if(Oi(r))return dG(e,r);if(r instanceof Tr)return cG(e,r);{const a=Nt(r);try{return fG(e,void 0,a)}finally{_t(a)}}}class pG extends ft{constructor(r,a){super(),this.stack=r,this.started=a}}function Gk(e){e:for(;;){const r=e;if(st(r))return ct();{const a=ot(r),o=Re(r);if(o!=null){const u=ae(o);if(u instanceof An){const f=u;e=Zt([Vr(f),_h(zr(f),Ma(f)),Hr(f)],a);continue e}else return r}else{e=a;continue e}}}}function JD(e){return new pG(Gk(Te(e)),!1)}function vG(){throw new Error("enumeration not started")}function mG(){throw new Error("enumeration already finished")}function ZD(e){if(e.started){const r=e.stack;if(st(r))return mG();if(Re(r)!=null){const a=ae(Re(r));if(a instanceof An)throw new Error("Please report error: Map iterator, unexpected stack for current");return[zr(a),Ma(a)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return vG()}function hG(e){if(e.started){const r=e.stack;if(st(r))return!1;if(Re(r)!=null){if(ae(Re(r))instanceof An)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Gk(ot(r)),!st(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!st(e.stack)}function eA(e){let r=JD(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return ZD(r)},"System.Collections.IEnumerator.get_Current"(){return ZD(r)},"System.Collections.IEnumerator.MoveNext"(){return hG(r)},"System.Collections.IEnumerator.Reset"(){r=JD(e)},Dispose(){}}}class Rh{constructor(r,a){this.comparer=r,this.tree=a}GetHashCode(){return EG(this)|0}Equals(r){const a=this;if(r instanceof Rh){const o=r,u=Nt(a);try{const f=Nt(o);try{const c=()=>{const v=u["System.Collections.IEnumerator.MoveNext"]();if(v===f["System.Collections.IEnumerator.MoveNext"]())if(v){const m=u["System.Collections.Generic.IEnumerator`1.get_Current"](),h=f["System.Collections.Generic.IEnumerator`1.get_Current"]();return je(m[0],h[0])&&je(m[1],h[1])?c():!1}else return!0;else return!1};return c()}finally{_t(f)}}finally{_t(u)}}else return!1}toString(){return"map ["+Qo("; ",Fn(a=>ek("({0}, {1})",a[0],a[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const r=this;return Array.from(r)}GetEnumerator(){return eA(this.tree)}[Symbol.iterator](){return cp(Nt(this))}"System.Collections.IEnumerable.GetEnumerator"(){return eA(this.tree)}CompareTo(r){const a=this;if(r instanceof Rh)return q4((u,f)=>{const c=a.comparer.Compare(u[0],f[0])|0;return(c!==0?c:Fa(u[1],f[1]))|0},a,r)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(r){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(r){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(r){const a=this;return nA(a,r[0])&&je(tA(a,r[0]),r[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(r,a){sG(this.tree,r,a)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return pS(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return pS(this)|0}get size(){return pS(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(r){throw new Error("Map cannot be mutated")}entries(){return Fn(a=>[a[0],a[1]],this)}get(r){return tA(this,r)}has(r){return nA(this,r)}keys(){return Fn(a=>a[0],this)}set(r,a){throw new Error("Map cannot be mutated")}values(){return Fn(a=>a[1],this)}forEach(r,a){const o=this;bp(u=>{r(u[1],u[0],o)},o)}}function Qh(e,r){return new Rh(e,r)}function yG(e){return Qh(e,void 0)}function gG(e,r,a){return Qh(e.comparer,Nc(e.comparer,r,a,e.tree))}function tA(e,r){return oG(e.comparer,r,e.tree)}function pS(e){return iG(e.tree)}function nA(e,r){return lG(e.comparer,r,e.tree)}function bG(e,r){return Hk(e.comparer,r,e.tree)}function EG(e){const r=(u,f)=>(u<<1)+f+631;let a=0;const o=Nt(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const u=o["System.Collections.Generic.IEnumerator`1.get_Current"]();a=r(a,ao(u[0]))|0,a=r(a,ao(u[1]))|0}}finally{_t(o)}return a|0}function Yk(e,r,a){return gG(a,e,r)}function Kk(e,r){return bG(r,e)}function CG(e,r){return Qh(r,Wk(r,e))}function wG(e,r){return Qh(r,Wk(r,e))}function cR(e){return yG(e)}class Dn extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function SG(e,r){switch(r.tag){case 1:return new Dn(1,[]);case 3:return new Dn(3,[r.fields[0]]);case 2:try{return new Dn(2,[e(r.fields[0])])}catch(a){return new Dn(3,[a])}default:return new Dn(0,[])}}class Ei extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding","WorkplacePolicies","DiscreteBenefits"]}}class rp extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Hidden","Incomplete","Complete"]}}function fR(e){return e?new rp(1,[]):new rp(0,[])}class Rr extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Completed","Disabled","Active","Locked","CompletedAndDisabled"]}}function rA(e){return je(e,fa)?new x(0,[new Ei(0,[])]):je(e,Pi)?new x(0,[new Ei(1,[])]):je(e,ki)?new x(0,[new Ei(2,[])]):je(e,Ii)?new x(0,[new Ei(3,[])]):je(e,fr)?new x(0,[new Ei(4,[])]):je(e,Cp)?new x(0,[new Ei(5,[])]):je(e,tu)?new x(0,[new Ei(7,[])]):je(e,wp)?new x(0,[new Ei(8,[])]):new x(1,["Invalid step"])}function _G(e){switch(e.tag){case 1:return Pi;case 2:return ki;case 3:return Ii;case 4:return fr;case 5:return Cp;case 6:return aR;case 7:return tu;case 8:return wp;default:return fa}}function RG(e){switch(e.tag){case 1:return"Emergency contacts";case 2:return"Bank details";case 3:return"Tax declaration";case 4:return"Super nomination";case 5:return Cp.DisplayName;case 6:return"Workplace benefits";case 7:return"Fair Work";case 8:return wp.DisplayName;default:return"Employee profile"}}function Xk(e){switch(e.tag){case 1:return Pi;case 2:return ki;case 3:return Ii;case 4:return fr;case 5:return Cp;case 6:return aR;case 7:return tu;case 8:return wp;default:return fa}}function TG(e){switch(e.tag){case 5:case 6:case 8:return!1;default:return!0}}function xG(e,r){return e.tag===0?r:yp(r,Te(new Ei(6,[])))}class Qd extends ft{constructor(r,a){super(),this.Id=r,this.Status=a}}function OG(e){return RG(e.Id)}function MG(e){return Xk(e.Id).ComponentTagName}function DG(e){return Xk(e.Id).Id}function AG(e){return TG(e.Id)}function PG(e){return Hh(r=>je(r.Status,new Rr(2,[])),e)}function kG(e){return((a,o)=>{e:for(;;){const u=a,f=o;if(st(u))return f;if(je(Re(u).Status,new Rr(2,[])))return t_([f,Te(Re(u)),ot(u)]);if(je(Re(u).Status,new Rr(1,[])))return t_([f,Te(new Qd(Re(u).Id,new Rr(2,[]))),ot(u)]);a=ot(u),o=yp(f,Te(Re(u)));continue e}})(e,ct())}function dR(e,r){const a=io(e.PaySetupComplete,!1);let o;const u=Lc(Sr(rA,e.Configuration.Steps));if(o=u.tag===1?new x(1,[u.fields[0]]):new x(0,[xG(r,u.fields[0])]),o.tag===1)return new x(1,[o.fields[0]]);{const f=Lc(Sr(rA,nW(e)));return f.tag===1?new x(1,[f.fields[0]]):new x(0,[kG(Sr(c=>a&&AG(c)&&je(c.Status,new Rr(0,[]))?new Qd(c.Id,new Rr(4,[])):c,Sr(c=>gh(v=>je(v,c.Id),f.fields[0])?new Qd(c.Id,new Rr(0,[])):c,Sr(c=>je(c.Id,new Ei(6,[]))&&!a?new Qd(c.Id,new Rr(3,[])):c,Sr(c=>new Qd(c,new Rr(1,[])),o.fields[0])))))])}}class pR extends ft{constructor(r,a,o,u,f,c,v,m,h,C,b){super(),this.AppMode=r,this.JourneyType=a,this.Branding=o,this.IsBenefitsStepEnabled=u,this.IsPaySetupCompatible=f,this.IsPaySetupComplete=c,this.Status=v,this.ProcessInstanceId=m,this.InstanceName=h,this.ProcessConfigId=C,this.Steps=b}}function Qk(e){switch(e.Status.tag){case 3:return!1;case 0:return!1;case 1:return io(e.PaySetupComplete,!1);default:return!0}}function IG(e,r){let a;const o=[r.ProcessInstance,fR(r.IsBenefitsEnabled)];return a=dR(o[0],o[1]),a.tag===1?new x(1,[a.fields[0]]):new x(0,[new pR(e,r.ProcessInstance.JourneyType,r.Branding,r.IsBenefitsEnabled,z5(r.ProcessInstance.Configuration),Qk(r.ProcessInstance),r.ProcessInstance.Status,r.ProcessInstance.Id,r.ProcessInstance.Configuration.Name,r.ProcessInstance.Configuration.Id,a.fields[0])])}function vS(e,r){let a;const o=[r,fR(e.IsBenefitsStepEnabled)];return a=dR(o[0],o[1]),a.tag===1?new x(1,[a.fields[0]]):new x(0,[new pR(e.AppMode,e.JourneyType,e.Branding,e.IsBenefitsStepEnabled,e.IsPaySetupCompatible,Qk(r),r.Status,e.ProcessInstanceId,e.InstanceName,e.ProcessConfigId,a.fields[0])])}let Mt=class extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Initialising","StepList","Step","PaySetupCompleteConfirmation","Oops","AllDone"]}};class Ge extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["ActivateCallback","ChangeCurrentView","CloseStepListView","StepCompletionEventCallback","CompleteStep","ConfirmPaySetupComplete","ResumePaySetup","CompletePaySetup","PaySetupCompleted","CompleteWorkflow","ShowAllDoneAndNotifyComplete","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep","CommandSuccess","CommandFailure"]}}class gi extends ft{constructor(r,a,o,u,f,c){super(),this.ProfileId=r,this.ProcessInstanceId=a,this.WorkflowDetail=o,this.CurrentView=u,this.CssOverrides=f,this.BenefitsOnboarding=c}}function LG(e){if(e<640)return Pn(void 0)}class Jk{constructor(r){this.k=r}}function Ra(e){return new Jk(e)}function He(e){return e.k}class St extends Jk{constructor(r,a,o,u){super(r),this.left=a,this.right=o,this.h=u|0}}function Ta(e,r,a,o){return new St(e,r,a,o)}function Ft(e){return e.left}function It(e){return e.right}function xc(e){return e.h}function Zk(e,r){e:for(;;){const a=e,o=r;if(a!=null){const u=ae(a);if(u instanceof St){const f=u;e=Ft(f),r=Zk(It(f),o+1);continue e}else return o+1|0}else return o|0}}function NG(e){return Zk(e,0)}function yi(e,r,a){let o,u,f;const c=e;if(c!=null){const C=ae(c);f=C instanceof St?(o=C,xc(o)):1}else f=0;let v;const m=a;if(m!=null){const C=ae(m);v=C instanceof St?(u=C,xc(u)):1}else v=0;const h=(f<v?v:f)|0;return h===0?Ra(r):Ta(r,e,a,h+1)}function aA(e,r,a){let o,u,f,c,v,m,h,C,b;const R=e;if(R!=null){const L=ae(R);b=L instanceof St?(o=L,xc(o)):1}else b=0;let M;const A=a;if(A!=null){const L=ae(A);M=L instanceof St?(u=L,xc(u)):1}else M=0;if(M>b+2){const L=ae(a);if(L instanceof St){const B=L;if(f=Ft(B),(f!=null?(c=ae(f),c instanceof St?(v=c,xc(v)):1):0)>b+1){const T=ae(Ft(B));if(T instanceof St){const j=T;return yi(yi(e,r,Ft(j)),He(j),yi(It(j),He(B),It(B)))}else throw new Error("internal error: Set.rebalance")}else return yi(yi(e,r,Ft(B)),He(B),It(B))}else throw new Error("internal error: Set.rebalance")}else if(b>M+2){const L=ae(e);if(L instanceof St){const B=L;if(m=It(B),(m!=null?(h=ae(m),h instanceof St?(C=h,xc(C)):1):0)>M+1){const T=ae(It(B));if(T instanceof St){const j=T;return yi(yi(Ft(B),He(B),Ft(j)),He(j),yi(It(j),r,a))}else throw new Error("internal error: Set.rebalance")}else return yi(Ft(B),He(B),yi(It(B),r,a))}else throw new Error("internal error: Set.rebalance")}else return yi(e,r,a)}function $c(e,r,a){if(a!=null){const o=ae(a),u=e.Compare(r,He(o))|0;if(o instanceof St){const f=o;return u<0?aA($c(e,r,Ft(f)),He(f),It(f)):u===0?a:aA(Ft(f),He(f),$c(e,r,It(f)))}else{const f=e.Compare(r,He(o))|0;return f<0?Ta(r,void 0,a,2):f===0?a:Ta(r,a,void 0,2)}}else return Ra(r)}function eI(e,r,a){e:for(;;){const o=e,u=r,f=a;if(f!=null){const c=ae(f),v=o.Compare(u,He(c))|0;if(c instanceof St){const m=c;if(v<0){e=o,r=u,a=Ft(m);continue e}else{if(v===0)return!0;e=o,r=u,a=It(m);continue e}}else return v===0}else return!1}}function tI(e,r){e:for(;;){const a=e,o=r;if(o!=null){const u=ae(o);if(u instanceof St){const f=u;tI(a,Ft(f)),a(He(f)),e=a,r=It(f);continue e}else a(He(u))}break}}class $G extends ft{constructor(r,a){super(),this.stack=r,this.started=a}}function nI(e){e:for(;;){const r=e;if(st(r))return ct();{const a=Re(r),o=ot(r);if(a!=null){const u=ae(a);if(u instanceof St){const f=u;e=Zt([Ft(f),Ra(He(f)),It(f)],o);continue e}else return r}else{e=o;continue e}}}}function iA(e){return new $G(nI(Te(e)),!1)}function qG(){throw new Error("Enumeration not started")}function BG(){throw new Error("Enumeration already started")}function oA(e){if(e.started){const r=e.stack;if(st(r))return BG();if(Re(r)!=null){const a=ae(Re(r));return He(a)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return qG()}function UG(e){if(e.started){const r=e.stack;if(st(r))return!1;if(Re(r)!=null){if(ae(Re(r))instanceof St)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=nI(ot(r)),!st(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!st(e.stack)}function lA(e){let r=iA(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return oA(r)},"System.Collections.IEnumerator.get_Current"(){return oA(r)},"System.Collections.IEnumerator.MoveNext"(){return UG(r)},"System.Collections.IEnumerator.Reset"(){r=iA(e)},Dispose(){}}}function FG(e,r,a){e:for(;;){const o=e,u=r,f=a;if(st(u))return st(f)?0:-1;if(st(f))return 1;if(Re(f)!=null)if(Re(u)!=null){const c=ae(Re(u)),v=ae(Re(f));if(c instanceof St){const m=c;if(Ft(m)==null)if(v instanceof St){const h=v;if(Ft(h)==null){const C=o.Compare(He(m),He(h))|0;if(C!==0)return C|0;e=o,r=Oa(It(m),ot(u)),a=Oa(It(h),ot(f));continue e}else{let C,b,R,M,A;switch(st(u)?st(f)?C=2:Re(f)!=null?(C=1,M=ot(f),A=ae(Re(f))):C=2:Re(u)!=null?(C=0,b=ot(u),R=ae(Re(u))):st(f)?C=2:Re(f)!=null?(C=1,M=ot(f),A=ae(Re(f))):C=2,C){case 0:if(R instanceof St){const L=R;e=o,r=Zt([Ft(L),Ta(He(L),void 0,It(L),0)],b),a=f;continue e}else{e=o,r=Zt([void 0,Ra(He(R))],b),a=f;continue e}case 1:if(A instanceof St){const L=A;e=o,r=u,a=Zt([Ft(L),Ta(He(L),void 0,It(L),0)],M);continue e}else{e=o,r=u,a=Zt([void 0,Ra(He(A))],M);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const h=o.Compare(He(m),He(v))|0;if(h!==0)return h|0;e=o,r=Oa(It(m),ot(u)),a=Oa(void 0,ot(f));continue e}else{let h,C,b,R,M;switch(st(u)?st(f)?h=2:Re(f)!=null?(h=1,R=ot(f),M=ae(Re(f))):h=2:Re(u)!=null?(h=0,C=ot(u),b=ae(Re(u))):st(f)?h=2:Re(f)!=null?(h=1,R=ot(f),M=ae(Re(f))):h=2,h){case 0:if(b instanceof St){const A=b;e=o,r=Zt([Ft(A),Ta(He(A),void 0,It(A),0)],C),a=f;continue e}else{e=o,r=Zt([void 0,Ra(He(b))],C),a=f;continue e}case 1:if(M instanceof St){const A=M;e=o,r=u,a=Zt([Ft(A),Ta(He(A),void 0,It(A),0)],R);continue e}else{e=o,r=u,a=Zt([void 0,Ra(He(M))],R);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(v instanceof St){const m=v;if(Ft(m)==null){const h=o.Compare(He(c),He(m))|0;if(h!==0)return h|0;e=o,r=Oa(void 0,ot(u)),a=Oa(It(m),ot(f));continue e}else{let h,C,b,R,M;switch(st(u)?st(f)?h=2:Re(f)!=null?(h=1,R=ot(f),M=ae(Re(f))):h=2:Re(u)!=null?(h=0,C=ot(u),b=ae(Re(u))):st(f)?h=2:Re(f)!=null?(h=1,R=ot(f),M=ae(Re(f))):h=2,h){case 0:if(b instanceof St){const A=b;e=o,r=Zt([Ft(A),Ta(He(A),void 0,It(A),0)],C),a=f;continue e}else{e=o,r=Zt([void 0,Ra(He(b))],C),a=f;continue e}case 1:if(M instanceof St){const A=M;e=o,r=u,a=Zt([Ft(A),Ta(He(A),void 0,It(A),0)],R);continue e}else{e=o,r=u,a=Zt([void 0,Ra(He(M))],R);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const m=o.Compare(He(c),He(v))|0;if(m!==0)return m|0;e=o,r=ot(u),a=ot(f);continue e}}else{ae(Re(f));let c,v,m,h,C;switch(st(u)?st(f)?c=2:Re(f)!=null?(c=1,h=ot(f),C=ae(Re(f))):c=2:Re(u)!=null?(c=0,v=ot(u),m=ae(Re(u))):st(f)?c=2:Re(f)!=null?(c=1,h=ot(f),C=ae(Re(f))):c=2,c){case 0:if(m instanceof St){const b=m;e=o,r=Zt([Ft(b),Ta(He(b),void 0,It(b),0)],v),a=f;continue e}else{e=o,r=Zt([void 0,Ra(He(m))],v),a=f;continue e}case 1:if(C instanceof St){const b=C;e=o,r=u,a=Zt([Ft(b),Ta(He(b),void 0,It(b),0)],h);continue e}else{e=o,r=u,a=Zt([void 0,Ra(He(C))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(Re(u)!=null){ae(Re(u));let c,v,m,h,C;switch(st(u)?st(f)?c=2:Re(f)!=null?(c=1,h=ot(f),C=ae(Re(f))):c=2:Re(u)!=null?(c=0,v=ot(u),m=ae(Re(u))):st(f)?c=2:Re(f)!=null?(c=1,h=ot(f),C=ae(Re(f))):c=2,c){case 0:if(m instanceof St){const b=m;e=o,r=Zt([Ft(b),Ta(He(b),void 0,It(b),0)],v),a=f;continue e}else{e=o,r=Zt([void 0,Ra(He(m))],v),a=f;continue e}case 1:if(C instanceof St){const b=C;e=o,r=u,a=Zt([Ft(b),Ta(He(b),void 0,It(b),0)],h);continue e}else{e=o,r=u,a=Zt([void 0,Ra(He(C))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=o,r=ot(u),a=ot(f);continue e}}}function uA(e,r,a){return r==null?a==null?0:-1:a==null?1:FG(e,Te(r),Te(a))|0}function jG(e,r,a){let o=a;tI(u=>{Mi(r,o,u),o=o+1|0},e)}function VG(e,r,a){e:for(;;){const o=e,u=r,f=a;if(f["System.Collections.IEnumerator.MoveNext"]()){e=o,r=$c(o,f["System.Collections.Generic.IEnumerator`1.get_Current"](),u),a=f;continue e}else return u}}function HG(e,r){return jh((a,o)=>$c(e,o,a),void 0,r)}function zG(e,r){return uo((a,o)=>$c(e,o,a),void 0,r)}function rI(e,r){if(Oi(r))return HG(e,r);if(r instanceof Tr)return zG(e,r);{const a=Nt(r);try{return VG(e,void 0,a)}finally{_t(a)}}}class vR{constructor(r,a){this.comparer=r,this.tree=a}GetHashCode(){return YG(this)|0}Equals(r){let a;const o=this;return r instanceof vR&&(a=r,uA(Dc(o),Ci(o),Ci(a))===0)}toString(){return"set ["+Qo("; ",Fn(a=>ja(a),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const r=this;return Array.from(r)}CompareTo(r){const a=this;return uA(Dc(a),Ci(a),Ci(r))|0}"System.Collections.Generic.ICollection`1.Add2B595"(r){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(r){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(r){const a=this;return eI(Dc(a),r,Ci(a))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(r,a){jG(Ci(this),r,a)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return mS(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return mS(this)|0}GetEnumerator(){return lA(Ci(this))}[Symbol.iterator](){return cp(Nt(this))}"System.Collections.IEnumerable.GetEnumerator"(){return lA(Ci(this))}get size(){return mS(this)|0}add(r){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(r){throw new Error("Set cannot be mutated")}has(r){return aI(this,r)}keys(){return Fn(a=>a,this)}values(){return Fn(a=>a,this)}entries(){return Fn(a=>[a,a],this)}forEach(r,a){const o=this;bp(u=>{r(u,u,o)},o)}}function Jh(e,r){return new vR(e,r)}function Dc(e){return e.comparer}function Ci(e){return e.tree}function WG(e){return Jh(e,void 0)}function GG(e,r){return Jh(Dc(e),$c(Dc(e),r,Ci(e)))}function mS(e){return NG(Ci(e))}function aI(e,r){return eI(Dc(e),r,Ci(e))}function YG(e){let r=0;const a=Nt(e);try{for(;a["System.Collections.IEnumerator.MoveNext"]();){const o=a["System.Collections.Generic.IEnumerator`1.get_Current"]();r=(r<<1)+ao(o)+631|0}}finally{_t(a)}return Math.abs(r)|0}function c_(e,r){return aI(r,e)}function KG(e,r){return GG(r,e)}function XG(e){return WG(e)}function QG(e,r){return Jh(r,rI(r,e))}function JG(e,r){return Jh(r,rI(r,e))}function ZG(){return ct()}function mR(e){return Qo("/",e)}function e9(e,r){const a=new Error("Duplicate SubId");return e(["Duplicate SubId: "+mR(r),a])}function iI(e,r,a){try{_t(a)}catch(o){e(["Error stopping subscription: "+mR(r),o])}}function t9(e,r,a,o){try{return[a,o(r)]}catch(u){e(["Error starting subscription: "+mR(a),u]);return}}function n9(e,r){rs(a=>{iI(e,a[0],a[1])},r)}function sA(e,r,a,o,u,f){return rs(c=>{e9(e,c)},a),rs(c=>{iI(e,c[0],c[1])},o),yp(u,yk(c=>t9(e,r,c[0],c[1]),f))}function r9(){return[ct(),XG({Compare:Fa}),ct()]}function a9(e,r,a,o,u){return c_(e,o)?[Oa(e,a),o,u]:[a,KG(e,o),Oa([e,r],u)]}function i9(e){return p4((r,a)=>a9(r[0],r[1],a[0],a[1],a[2]),e,r9())}const o9=ct();function cA(e,r){const a=QG(Sr(c=>c[0],e),{Compare:Fa}),o=i9(r),u=o[1],f=o[0];if(a.Equals(u))return[f,ct(),e,ct()];{const c=g4(v=>c_(v[0],u),e);return[f,c[1],c[0],Z_(v=>!c_(v[0],a),o[2])]}}class l9{constructor(r,a,o){this.OnNext=r,this.OnError=a||(u=>{}),this.OnCompleted=o||(()=>{})}}function u9(e,r){r.Subscribe(new l9(e))}class s9{constructor(){this.delegates=[]}_add(r){this.delegates.push(r)}_remove(r){const a=this.delegates.indexOf(r);a>-1&&this.delegates.splice(a,1)}get Publish(){return f9(r=>{this._add(r)},r=>{this._remove(r)})}Trigger(r,a){let o=null;const u=a===void 0?r:(o=r,a);this.delegates.forEach(f=>{f(o,u)})}}class c9 extends s9{}function f9(e,r){return{AddHandler(a){e(a)},RemoveHandler(a){r(a)},Subscribe(a){const o=(u,f)=>a.OnNext(f);return e(o),{Dispose(){r(o)}}}}}class d9{constructor(r){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=r&&r>0?r:100,this.AutoReset=!0,this._elapsed=new c9}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(r){!this._isDisposed&&this._enabled!==r&&(this._enabled=r,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function p9(e,r){console.error(Pn(e),r)}function v9(e,r){let a,o=new d9(e);o.AutoReset=!1,a=o,u9(r,a.Elapsed()),a.Enabled=!0,a.Start()}function fA(e,r,a){rs(o=>{try{o(r)}catch(u){e(u)}},a)}function aa(){return ct()}function dA(e){return t_(e)}function m9(e){return Te(e)}function Wd(e,r,a,o,u){return Te(f=>{e(he.Delay(()=>he.Bind(sR(r(a)),c=>{const v=c;return f(v.tag===1?u(v.fields[0]):o(v.fields[0])),he.Zero()})))})}function Ec(e){v9(1,r=>{Xh(e)})}function h9(e,r,a,o){const u=Fa(e,a)|0;if(u===0)throw new Error("The step of a range cannot be zero");const f=u>0;return c=>{const v=Fa(c,r)|0;return f&&v<=0||!f&&v>=0?[c,o(c,e)]:void 0}}function y9(e,r,a,o,u){const f=h9(r,a,o,u);return la(()=>N4(f,e))}function g9(e,r,a){return y9(e,r,a,0,(o,u)=>o+u)}class Ac extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Writable","ReadWritable"]}}class b9{constructor(r){this.state=new Ac(0,[Fh(new Array(RD(r,10)),0,RD(r,10),null),0])}}function E9(e){return new b9(e)}function pA(e){const r=e.state;if(r.tag===1){const a=r.fields[1]|0,o=r.fields[2]|0,u=r.fields[0],f=(o+1)%u.length|0;return f===a?e.state=new Ac(0,[u,a]):e.state=new Ac(1,[u,a,f]),Pn(Lt(o,u))}else return}function C9(e,r){const a=e.state;if(a.tag===1){const o=a.fields[1]|0,u=a.fields[2]|0,f=a.fields[0];Mi(f,o,r);const c=(o+1)%f.length|0;c===u?e.state=new Ac(1,[w9(e,u,f),f.length,0]):e.state=new Ac(1,[f,c,u])}else{const o=a.fields[1]|0,u=a.fields[0];Mi(u,o,r);const f=(o+1)%u.length|0;e.state=new Ac(1,[u,f,o])}}function w9(e,r,a){return Array.from(la(()=>Ch(j4(r,a),la(()=>Ch(V4(r,a),la(()=>a_(o=>wk(ua()),g9(0,1,a.length))))))))}class hR extends ft{constructor(r,a,o,u,f,c,v){super(),this.init=r,this.update=a,this.subscribe=o,this.view=u,this.setState=f,this.onError=c,this.termination=v}}function S9(e,r,a){return new hR(e,r,o=>ZG(),a,on(o=>{const u=Hl(a)(o);return f=>{u(f)}}),o=>{p9(o[0],o[1])},[o=>!1,o=>{}])}function _9(e,r){return new hR(r.init,r.update,r.subscribe,r.view,e,r.onError,r.termination)}function R9(e){return e.init}function T9(e,r,a,o,u,f,c){const v=Hl(e)(c.init),m=ah(r)(Hl(c.update)),h=ah(a)(Hl(c.view)),C=ah(o)(Hl(c.setState));return new hR(v,on(m),Hl(u)(c.subscribe),on(h),on(C),c.onError,f(c.termination))}function x9(e,r,a){let o;const u=a.init(r),f=u[0],c=a.subscribe(f),v=a.termination,m=E9(10);let h=!1,C=f,b=o9,R=!1;const M=B=>{R||(C9(m,B),h||(h=!0,L(),h=!1))},A=Hl(e)(M),L=()=>{let B,T=pA(m);for(;!R&&T!=null;){const j=ae(T);if(v[0](j))n9(a.onError,b),v[1](C),R=!0;else{const U=a.update(j,C),Y=U[0],J=a.subscribe(Y);a.setState(Y,A),fA(I=>{a.onError([Me(Oe("Error handling the message: %A"))(j),I])},A,U[1]),C=Y,b=(B=cA(b,J),sA(a.onError,A,B[0],B[1],B[2],B[3])),T=pA(m)}}};h=!0,a.setState(f,A),fA(B=>{a.onError([Me(Oe("Error intitializing:")),B])},A,u[1]),b=(o=cA(b,c),sA(a.onError,A,o[0],o[1],o[2],o[3])),L(),h=!1}function O9(e,r){x9(on(a=>a),e,r)}var oI={exports:{}},lI={};/**
|
|
34
|
+
* @license React
|
|
35
|
+
* use-sync-external-store-shim.development.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=ke,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(U){{for(var Y=arguments.length,J=new Array(Y>1?Y-1:0),I=1;I<Y;I++)J[I-1]=arguments[I];o("error",U,J)}}function o(U,Y,J){{var I=r.ReactDebugCurrentFrame,K=I.getStackAddendum();K!==""&&(Y+="%s",J=J.concat([K]));var N=J.map(function(re){return String(re)});N.unshift("Warning: "+Y),Function.prototype.apply.call(console[U],console,N)}}function u(U,Y){return U===Y&&(U!==0||1/U===1/Y)||U!==U&&Y!==Y}var f=typeof Object.is=="function"?Object.is:u,c=e.useState,v=e.useEffect,m=e.useLayoutEffect,h=e.useDebugValue,C=!1,b=!1;function R(U,Y,J){C||e.startTransition!==void 0&&(C=!0,a("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var I=Y();if(!b){var K=Y();f(I,K)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),b=!0)}var N=c({inst:{value:I,getSnapshot:Y}}),re=N[0].inst,_=N[1];return m(function(){re.value=I,re.getSnapshot=Y,M(re)&&_({inst:re})},[U,I,Y]),v(function(){M(re)&&_({inst:re});var ce=function(){M(re)&&_({inst:re})};return U(ce)},[U]),h(I),I}function M(U){var Y=U.getSnapshot,J=U.value;try{var I=Y();return!f(J,I)}catch{return!0}}function A(U,Y,J){return Y()}var L=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",B=!L,T=B?A:R,j=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:T;lI.useSyncExternalStore=j,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();oI.exports=lI;var M9=oI.exports;class D9{constructor(r,a,o){this.arg=a,this.dependencies=o;const u=r(),f=[];this.finalDispatch=void 0;let c;const v=R9(u)(this.arg);let m=v[0],h=v[1];c=[[m,C=>{const b=this.finalDispatch;b==null?f.push(C):b(C)},!1,f],h],this.state=c[0],this.cmd=c[1],this.subscribe=C=>{let b=!1;const R=YS(this.state[0]);return O9(this.arg,_9((M,A)=>{const L=this.state;this.finalDispatch=A,this.state=[M,L[1],!0,f],M!==L[0]&&C()},T9((M,A)=>{const L=this.cmd;return this.cmd=aa(),[this.state[0],L]},(M,A,L)=>M(A)(this.state[0]),XS(M=>M),XS(M=>M),on(M=>M),M=>[A=>M[0](A)?!0:R&&b,A=>{const L=A;YS(L)?_t(L):M[1](A)}],u))),()=>{b=!0}}}}function vA(e,r,a){return new D9(e,r,a)}function A9(e){return e.state}function P9(e){return e.subscribe}function k9(e,r,a){return je(e.arg,r)?!je(e.dependencies,a):!0}function I9(e,r,a){const o=ke.useState(()=>vA(e,r,a)),u=o[0];k9(u,r,a)&&o[1](vA(e,r,a));const f=M9.useSyncExternalStore(P9(u),()=>A9(u)),c=f[2],v=f[3],m=f[1];return ke.useEffect(()=>{if(c&&v.length>0){let h=Nt(v);try{for(;h["System.Collections.IEnumerator.MoveNext"]();){const C=h["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{m(C)})}}finally{_t(h)}l6(v)}},[c,v]),[f[0],m]}class L9 extends Error{}L9.prototype.name="InvalidTokenError";ke.createElement("div",or(Ee([["className","w-full sm:max-w-[640px] mt-10 sm:mt-14 text-xs text-gray-500 text-center whitespace-pre-wrap space-y-4"],(()=>{let e,r;const a=[(e=Ee([(r="Flare provides workplace solutions to Australian businesses and their employees. All information collected is treated in accordance with our ",ke.createElement("span",{children:[r]})),ke.createElement("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:"https://www.flarehr.com/security",target:"_blank",rel:"noreferrer",children:"security standards"}),ke.createElement("span",{children:[" and "]}),ke.createElement("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:"https://www.flarehr.com/privacy-policy",target:"_blank",rel:"noreferrer",children:"Privacy Policy"}),ke.createElement("span",{children:["."]})]),ke.createElement("p",{children:zt.Children.toArray(Array.from(e))})),ke.createElement("p",{children:[`Copyright © ${WP(A6())} Flare. ABN 46 607 120 892.`]})];return["children",zt.Children.toArray(Array.from(a))]})()])));function N9(e,r){let a;const o=e.tag===2?e.fields[0]:void 0;let u;if(o==null)u=void 0;else{const h=o;u=e_(C=>y4(C+1,r.Steps),J_(C=>je(h,C),r.Steps))}const f=dp(h=>new Ge(1,[new Mt(2,[h])]),Hh(h=>je(h.Status,new Rr(2,[])),r.Steps));let c,v,m;switch(o!=null&&u!=null?(a=u,je(o.Status,new Rr(2,[]))&&(je(a.Status,new Rr(1,[]))?!0:je(a.Status,new Rr(3,[])))?(c=0,v=o):(c=1,m=u)):c=2,c){case 0:return new Ge(1,[new Mt(2,[v])]);case 1:return je(m.Status,new Rr(3,[]))?void 0:new Ge(1,[new Mt(2,[m])]);default:return f}}function $9(e,r){const a=e.IsPaySetupCompatible&&!e.IsPaySetupComplete&&hk(e.Steps)!==1;let o;if(a)switch(r.tag){case 1:case 0:{o=0;break}default:o=1}else o=1;switch(o){case 0:return new Ge(5,[{Branding:ZS(e.Branding),InjectedBenefits:e.IsBenefitsStepEnabled}]);default:return}}function q9(e){if(s_(e.Status))return new Ge(10,[e])}function hS(e,r,a){return io(_D(_D(q9(r),N9(e,r)),$9(r,a)),new Ge(9,[new Dn(0,[])]))}class yR extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class uI extends Ye{constructor(r,a){super(),this.tag=0,this.fields=[r,a]}cases(){return["Header"]}}class gR extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Empty","Text","Binary","Form"]}}class Sp extends ft{constructor(r,a,o,u,f,c,v,m){super(),this.url=r,this.method=a,this.headers=o,this.withCredentials=u,this.overridenMimeType=f,this.overridenResponseType=c,this.timeout=v,this.content=m}}class Rc extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class sI extends ft{constructor(r,a,o,u,f,c){super(),this.statusCode=r|0,this.responseText=a,this.responseType=o,this.responseUrl=u,this.responseHeaders=f,this.content=c}}function cI(e){return new uI("Content-Type",e)}function B9(e){return new uI("Authorization",e)}const Uu=new Sp("",new yR(0,[]),ct(),!1,void 0,void 0,void 0,new gR(0,[]));new sI(0,"","","",cR({Compare:qh}),new Rc(0,[""]));function mA(e,r){return tk(r)?new Array(0):G_(r,[e],void 0,0)}function U9(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}function fI(e){return new Sp(e,Uu.method,Uu.headers,Uu.withCredentials,Uu.overridenMimeType,Uu.overridenResponseType,Uu.timeout,Uu.content)}function dI(e,r){return new Sp(r.url,e,r.headers,r.withCredentials,r.overridenMimeType,r.overridenResponseType,r.timeout,r.content)}function bR(e,r){return new Sp(r.url,r.method,yp(r.headers,Te(e)),r.withCredentials,r.overridenMimeType,r.overridenResponseType,r.timeout,r.content)}function pI(e,r){return new Sp(r.url,r.method,r.headers,r.withCredentials,r.overridenMimeType,r.overridenResponseType,r.timeout,e)}function hA(e){return tG(r=>{const a=new XMLHttpRequest;a.open(U9(e.method),e.url),a.onreadystatechange=()=>{let m,h,C,b,R,M,A;a.readyState===4&&r[0]((m=(h=a.responseType,h===""||h==="text"?a.responseText:""),C=a.status|0,b=a.responseType,R=(M=a.responseType,M===""?new Rc(0,[a.responseText]):M==="text"?new Rc(0,[a.responseText]):M==="arraybuffer"?new Rc(2,[a.response]):M==="blob"?new Rc(1,[a.response]):new Rc(3,[a.response])),A=wG(u4(L=>{const B=Ee(mA(":",L));if(!st(B))return[Re(B).toLocaleLowerCase(),Qo(":",ot(B)).trim()]},mA(`\r
|
|
42
|
+
`,a.getAllResponseHeaders())),{Compare:qh}),new sI(C,m,b,a.responseURL,A,R)))};const o=Nt(e.headers);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const m=o["System.Collections.Generic.IEnumerator`1.get_Current"]();a.setRequestHeader(m.fields[0],m.fields[1])}}finally{_t(o)}a.withCredentials=e.withCredentials;const u=e.overridenMimeType;if(u!=null){const m=u;a.overrideMimeType(m)}const f=e.overridenResponseType;if(f!=null)switch(f.tag){case 1:{a.responseType="blob";break}case 2:{a.responseType="arraybuffer";break}default:a.responseType="text"}const c=e.timeout;if(c!=null){const m=c|0;a.timeout=m|0}const v=e.content;switch(v.tag){case 1:{a.send(Pn(v.fields[0]));break}case 3:{a.send(Pn(v.fields[0]));break}case 2:{a.send(Pn(v.fields[0]));break}default:a.send()}})}function _p(e){return e<0?Math.ceil(e):Math.floor(e)}function yA(e=0,r=0,a=0,o=0,u=0){switch(arguments.length){case 1:return F9(arguments[0]);case 3:e=0,r=arguments[0],a=arguments[1],o=arguments[2],u=0;break}return e*864e5+r*36e5+a*6e4+o*1e3+u}function F9(e){return Number(BigInt(e)/10000n)}function j9(e){return _p(e/864e5)}function V9(e){return _p(e%864e5/36e5)}function H9(e){return _p(e%36e5/6e4)}function z9(e){return _p(e%6e4/1e3)}function W9(e){return _p(e%1e3)}function G9(e,r="c",a){if(["c","g","G"].indexOf(r)===-1)throw new Error("Custom formats are not supported");const o=Math.abs(j9(e)),u=Math.abs(V9(e)),f=Math.abs(H9(e)),c=Math.abs(z9(e)),v=Math.abs(W9(e));return`${e<0?"-":""}${o===0&&(r==="c"||r==="g")?"":r==="c"?o+".":o+":"}${r==="g"?u:Rt(u,2)}:${Rt(f,2)}:${Rt(c,2)}${v===0&&(r==="c"||r==="g")?"":r==="g"?"."+Rt(v,3):"."+J3(v,3,7)}`}function Y9(e){const r=e.search("\\."),a=e.search("\\:");if(r===-1&&a===-1){const o=parseInt(e,0);if(isNaN(o))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return yA(o,0,0,0,0)}if(a>0){const o=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(o!=null&&o[4]!=null&&o[5]!=null){let u=0,f=0,c=0;const v=o[1]!=null&&o[1]==="-"?-1:1,m=+o[4],h=+o[5];if(o[3]!=null&&(u=+o[3]),o[7]!=null&&(c=+o[7]),o[8]!=null)switch(o[8].length){case 1:f=+o[8]*100;break;case 2:f=+o[8]*10;break;case 3:f=+o[8];break;case 4:f=+o[8]/10;break;case 5:f=+o[8]/100;break;case 6:f=+o[8]/1e3;break;case 7:f=+o[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return v*yA(u,m,h,c,f)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function K9(e,r){try{return r.contents=Y9(e),!0}catch{return!1}}class Se extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class ap extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function gA(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function vI(e,r){switch(e.tag){case 2:return N6(gA(r),"[A-Z]","_$0").toLowerCase();case 0:return r;default:return gA(r)}}function X9(e){return e}const mI=ua();function Gm(e){return Array.from(e)}function Q9(e){return Uh(e,"O")}function J9(e){return G9(e)}function Z9(){return ua()}function e8(e){return Uh(e,"O")}function hI(e,r){return JSON.stringify(r,void 0,Pn(e))}function t8(e){return r=>W6(dp(e,r),()=>mI)}function bA(e,r,a,o){let u;const f=new ca(ua());let c;const v=Wt(o);c=v===""?e:Yk(v,f,e);let m;if(fk(o)){const h=zc(C=>{const b=vI(r,Mc(C)),R=jo(c,r,a,C[1]);return M=>A=>{const L=t4(M,C);return(!a||a&&L!=null)&&(A[b]=R(L)),A}},tp(o));m=C=>gp((b,R)=>R(C)(b),{},h)}else if(ck(o))m=h=>{const C=e4(h,o),b=C[0],R=C[1],M=R.length|0;if(M===0)return Mc(b);{const A=M|0,L=dk(b),B=Fh(new Array(A+1),0,A+1,null);Mi(B,0,Mc(b));for(let T=1;T<=A;T++){const j=jo(c,r,a,Lt(T-1,L)[1]);Mi(B,T,j(Lt(T-1,R)))}return B}};else throw new Error((u=Wt(o),Me(Oe(`Cannot generate auto encoder for %s. Please pass an extra encoder.
|
|
43
|
+
|
|
44
|
+
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(u)));return f.contents=m,m}function jo(e,r,a,o){const u=Wt(o),f=Kk(u,e);if(f==null)if(ak(o)){const c=jo(e,r,a,vp(o));return v=>Gm(Fn(c,v))}else if(K_(o))switch(Wt(lk(o))){case"System.SByte":return v=>v;case"System.Byte":return v=>v;case"System.Int16":return v=>v;case"System.UInt16":return v=>v;case"System.Int32":return v=>v;case"System.UInt32":return v=>v;default:{const v=Wt(o);return QP(Oe(`Cannot generate auto encoder for %s.
|
|
45
|
+
Thoth.Json.Net only support the following enum types:
|
|
46
|
+
- sbyte
|
|
47
|
+
- byte
|
|
48
|
+
- int16
|
|
49
|
+
- uint16
|
|
50
|
+
- int
|
|
51
|
+
- uint32
|
|
52
|
+
|
|
53
|
+
If you can't use one of these types, please pass an extra encoder.
|
|
54
|
+
|
|
55
|
+
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders
|
|
56
|
+
`))(v)}}else if(ik(o))if(X_(o)){const c=zc(v=>jo(e,r,a,v),sk(o));return v=>Gm(U4((m,h)=>Lt(m,c)(h),v))}else{const c=Wt(ok(o));if(c==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const v=new Q3(()=>t8(jo(e,r,a,Lt(0,xa(o)))));return m=>m==null?mI:v.Value(m)}else if(c==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]"||c==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"||c==="System.Collections.Generic.IEnumerable`1[System.Object]"){const v=jo(e,r,a,Lt(0,xa(o)));return m=>Gm(Fn(v,m))}else if(c==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const v=Lt(0,xa(o)),m=jo(e,r,a,Lt(1,xa(o)));if(Wt(v)==="System.String"||Wt(v)==="System.Guid")return h=>gp((C,b)=>{const R=b;return C[R[0]]=m(R[1]),C},{},h);{let h;return h=jo(e,r,a,v),b=>Gm(Fn(R=>{const M=R;return[h(M[0]),m(M[1])]},b))}}else return bA(e,r,a,o)}else switch(u){case"System.Boolean":return c=>c;case"Microsoft.FSharp.Core.Unit":return Z9;case"System.String":return c=>c;case"System.Char":return c=>c;case"System.SByte":return c=>c;case"System.Byte":return c=>c;case"System.Int16":return c=>c;case"System.UInt16":return c=>c;case"System.Int32":return c=>c;case"System.UInt32":return c=>c;case"System.Double":return c=>c;case"System.Single":return c=>c;case"System.DateTime":return e8;case"System.DateTimeOffset":return Q9;case"System.TimeSpan":return J9;case"System.Guid":return X9;case"System.Object":return c=>c;default:return bA(e,r,a,o)}else{const c=f;return v=>c.contents(v)}}function n8(e){return cR({Compare:qh})}function yI(e,r,a,o){const u=io(r,new ap(0,[])),f=io(o,!0);return jo(n8(),u,f,e)}function gI(e,r){r8(r);const a=new Date(e);return a.offset=r??new Date().getTimezoneOffset()*-6e4,a}function r8(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function a8(){return gI(-621355968e5,0)}function i8(e){const[r,a]=zP(e),o=a==null?r.getTimezoneOffset()*-6e4:a==="Z"?0:a*6e4;return gI(r.getTime(),o)}function o8(e,r){try{return r.contents=i8(e),!0}catch{return!1}}function Gd(e,r,a){try{return"Expecting "+e+" but instead got:"+(a?`
|
|
57
|
+
`:" ")+(JSON.stringify(r,null,4)+"")}catch{return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(a?`
|
|
58
|
+
`:" ")}}function l8(e,r){const a=r.tag===2?Gd(r.fields[0],r.fields[1],!0):r.tag===1?Gd(r.fields[0],r.fields[1],!1)+`
|
|
59
|
+
Reason: `+r.fields[2]:r.tag===3?Gd(r.fields[0],r.fields[1],!0):r.tag===4?Gd(r.fields[0],r.fields[1],!0)+("\nNode `"+r.fields[2]+"` is unkown."):r.tag===5?"Expecting "+r.fields[0]+`.
|
|
60
|
+
`+(JSON.stringify(r.fields[1],null,4)+""):r.tag===7?`The following errors were found:
|
|
61
|
+
|
|
62
|
+
`+Qo(`
|
|
63
|
+
|
|
64
|
+
`,r.fields[0]):r.tag===6?"The following `failure` occurred with the decoder: "+r.fields[0]:Gd(r.fields[0],r.fields[1],!1);return r.tag===7?a:"Error at: `"+e+"`\n"+a}function bI(e,r,a){const o=r(e,a);if(o.tag===1){const u=o.fields[0];return new x(1,[l8(u[0],u[1])])}else return new x(0,[o.fields[0]])}function u8(e,r){try{return bI("$",e,JSON.parse(r))}catch(a){if(a instanceof SyntaxError)return new x(1,["Given an invalid JSON: "+a.message]);throw a}}function EI(e,r){return typeof r=="string"?new x(0,[r]):new x(1,[[e,new Se(0,["a string",r])]])}function s8(e,r){if(typeof r=="string"){const a=r;return a.length===1?new x(0,[a[0]]):new x(1,[[e,new Se(0,["a single character string",r])]])}else return new x(1,[[e,new Se(0,["a char",r])]])}function c8(e,r){if(typeof r=="string"){let a,o="00000000-0000-0000-0000-000000000000";return a=[s5(r,new ca(()=>o,u=>{o=u})),o],a[0]?new x(0,[a[1]]):new x(1,[[e,new Se(0,["a guid",r])]])}else return new x(1,[[e,new Se(0,["a guid",r])]])}function f8(e,r){return r==null?new x(0,[void 0]):new x(1,[[e,new Se(0,["null",r])]])}const EA=e=>r=>{const a=e,o=r;if(typeof o=="number"){const u=o;return isFinite(u)&&Math.floor(u)===u?-128<=u&&u<=127?new x(0,[(u+128&255)-128]):new x(1,[[a,new Se(1,["a sbyte",u,"Value was either too large or too small for a sbyte"])]]):new x(1,[[a,new Se(1,["a sbyte",u,"Value is not an integral value"])]])}else if(typeof o=="string"){let u,f=0;return u=[Gc(o,511,!1,8,new ca(()=>f,c=>{f=c|0})),f],u[0]?new x(0,[u[1]]):new x(1,[[a,new Se(0,["a sbyte",o])]])}else return new x(1,[[a,new Se(0,["a sbyte",o])]])},CA=e=>r=>{const a=e,o=r;if(typeof o=="number"){const u=o;return isFinite(u)&&Math.floor(u)===u?0<=u&&u<=255?new x(0,[u&255]):new x(1,[[a,new Se(1,["a byte",u,"Value was either too large or too small for a byte"])]]):new x(1,[[a,new Se(1,["a byte",u,"Value is not an integral value"])]])}else if(typeof o=="string"){let u,f=0;return u=[Gc(o,511,!0,8,new ca(()=>f,c=>{f=c})),f],u[0]?new x(0,[u[1]]):new x(1,[[a,new Se(0,["a byte",o])]])}else return new x(1,[[a,new Se(0,["a byte",o])]])},wA=e=>r=>{const a=e,o=r;if(typeof o=="number"){const u=o;return isFinite(u)&&Math.floor(u)===u?-32768<=u&&u<=32767?new x(0,[(u+32768&65535)-32768]):new x(1,[[a,new Se(1,["an int16",u,"Value was either too large or too small for an int16"])]]):new x(1,[[a,new Se(1,["an int16",u,"Value is not an integral value"])]])}else if(typeof o=="string"){let u,f=0;return u=[Gc(o,511,!1,16,new ca(()=>f,c=>{f=c|0})),f],u[0]?new x(0,[u[1]]):new x(1,[[a,new Se(0,["an int16",o])]])}else return new x(1,[[a,new Se(0,["an int16",o])]])},SA=e=>r=>{const a=e,o=r;if(typeof o=="number"){const u=o;return isFinite(u)&&Math.floor(u)===u?0<=u&&u<=65535?new x(0,[u&65535]):new x(1,[[a,new Se(1,["an uint16",u,"Value was either too large or too small for an uint16"])]]):new x(1,[[a,new Se(1,["an uint16",u,"Value is not an integral value"])]])}else if(typeof o=="string"){let u,f=0;return u=[Gc(o,511,!0,16,new ca(()=>f,c=>{f=c})),f],u[0]?new x(0,[u[1]]):new x(1,[[a,new Se(0,["an uint16",o])]])}else return new x(1,[[a,new Se(0,["an uint16",o])]])},_A=e=>r=>{const a=e,o=r;if(typeof o=="number"){const u=o;return isFinite(u)&&Math.floor(u)===u?-2147483648<=u&&u<=2147483647?new x(0,[~~u]):new x(1,[[a,new Se(1,["an int",u,"Value was either too large or too small for an int"])]]):new x(1,[[a,new Se(1,["an int",u,"Value is not an integral value"])]])}else if(typeof o=="string"){let u,f=0;return u=[Gc(o,511,!1,32,new ca(()=>f,c=>{f=c|0})),f],u[0]?new x(0,[u[1]]):new x(1,[[a,new Se(0,["an int",o])]])}else return new x(1,[[a,new Se(0,["an int",o])]])},RA=e=>r=>{const a=e,o=r;if(typeof o=="number"){const u=o;return isFinite(u)&&Math.floor(u)===u?0<=u&&u<=4294967295?new x(0,[u>>>0]):new x(1,[[a,new Se(1,["an uint32",u,"Value was either too large or too small for an uint32"])]]):new x(1,[[a,new Se(1,["an uint32",u,"Value is not an integral value"])]])}else if(typeof o=="string"){let u,f=0;return u=[Gc(o,511,!0,32,new ca(()=>f,c=>{f=c})),f],u[0]?new x(0,[u[1]]):new x(1,[[a,new Se(0,["an uint32",o])]])}else return new x(1,[[a,new Se(0,["an uint32",o])]])};function d8(e,r){return typeof r=="boolean"?new x(0,[r]):new x(1,[[e,new Se(0,["a boolean",r])]])}function p8(e,r){return typeof r=="number"?new x(0,[r]):new x(1,[[e,new Se(0,["a float",r])]])}function v8(e,r){return typeof r=="number"?new x(0,[r]):new x(1,[[e,new Se(0,["a float32",r])]])}function m8(e,r){if(typeof r=="string"){let a,o=x6();return a=[M6(r,new ca(()=>o,u=>{o=u})),o],a[0]?new x(0,[P6(a[1])]):new x(1,[[e,new Se(0,["a datetime",r])]])}else return new x(1,[[e,new Se(0,["a datetime",r])]])}function h8(e,r){if(typeof r=="string"){let a,o=a8();return a=[o8(r,new ca(()=>o,u=>{o=u})),o],a[0]?new x(0,[a[1]]):new x(1,[[e,new Se(0,["a datetimeoffset",r])]])}else return new x(1,[[e,new Se(0,["a datetime",r])]])}function y8(e,r){if(typeof r=="string"){let a,o=0;return a=[K9(r,new ca(()=>o,u=>{o=u})),o],a[0]?new x(0,[a[1]]):new x(1,[[e,new Se(0,["a timespan",r])]])}else return new x(1,[[e,new Se(0,["a timespan",r])]])}function TA(e,r,a,o){let u;const f=a+".["+Xu(e)+"]";if(Array.isArray(o)){const c=o;return e<c.length?r(f,Lt(e,c)):new x(1,[[f,new Se(5,["a longer array. Need index `"+Xu(e)+"` but there are only `"+(u=c.length,Xu(u))+"` entries",o])]])}else return new x(1,[[f,new Se(0,["an array",o])]])}function g8(e,r,a){return a==null?new x(0,[void 0]):Di(Pn,e(r,a))}function xA(e,r,a){if(Array.isArray(a)){let o=-1;return Di(Vh,jh((u,f)=>{if(o=o+1|0,u.tag===0){const c=e(r+".["+Xu(o)+"]",f);return c.tag===0?new x(0,[Oa(c.fields[0],u.fields[0])]):new x(1,[c.fields[0]])}else return u},new x(0,[ct()]),a))}else return new x(1,[[r,new Se(0,["a list",a])]])}function b8(e,r,a){if(Array.isArray(a)){let o=-1;return Di(F4,jh((u,f)=>{if(o=o+1|0,u.tag===0){const c=e(r+".["+Xu(o)+"]",f);return c.tag===0?new x(0,[Ch([c.fields[0]],u.fields[0])]):new x(1,[c.fields[0]])}else return u},new x(0,[[]]),a))}else return new x(1,[[r,new Se(0,["a seq",a])]])}function OA(e,r,a){if(Array.isArray(a)){let o=-1;const u=a;return jh((f,c)=>{if(o=o+1|0,f.tag===0){const v=f.fields[0],m=e(r+".["+Xu(o)+"]",c);return m.tag===0?(Mi(v,o,m.fields[0]),new x(0,[v])):new x(1,[m.fields[0]])}else return f},new x(0,[Fh(new Array(u.length),0,u.length,null)]),u)}else return new x(1,[[r,new Se(0,["an array",a])]])}function E8(e,r,a){return((u,f)=>{e:for(;;){const c=u,v=f;if(st(c))return new x(1,[[r,new Se(7,[v])]]);{const m=bI(r,on(Re(c)),a);if(m.tag===1){u=ot(c),f=yp(v,Te(m.fields[0]));continue e}else return new x(0,[m.fields[0]])}}})(e,ct())}function C8(e,r,a){return new x(0,[e])}function MA(e,r,a,o){const u=r(a,o);return u.tag===0?e(u.fields[0],a,o):new x(1,[u.fields[0]])}function w8(e,r,a,o){const u=r(a,o);return u.tag===1?new x(1,[u.fields[0]]):new x(0,[e(u.fields[0])])}function S8(e,r){let a;const o=e;return a=u=>f=>TA(0,o,u,f),u=>f=>MA(XS(c=>{let v;const m=r;return v=h=>C=>TA(1,m,h,C),h=>C=>MA((b,R,M)=>C8([c,b]),on(v),h,C)}),on(a),u,f)}function _8(e){return CG(e,{Compare:Fa})}function R8(e){return JG(e,{Compare:Fa})}function T8(e,r,a){return a!==null&&Object.getPrototypeOf(a||!1)===Object.prototype?vk((o,u)=>{const f=o[0];return u.tag===0?Di(c=>Oa(c,u.fields[0]),o[1](r+"."+f)(a[f])):u},e,new x(0,[ct()])):new x(1,[[r,new Se(0,["an object",a])]])}function x8(e,r,a,o){return o!==null&&Object.getPrototypeOf(o||!1)===Object.prototype?gp((u,f)=>{if(u.tag===0){const c=e(a,f);if(c.tag===0){const v=r(a+"."+f,o[f]);return v.tag===0?new x(0,[Oa([c.fields[0],v.fields[0]],u.fields[0])]):new x(1,[v.fields[0]])}else return new x(1,[c.fields[0]])}else return u},new x(0,[ct()]),Object.keys(o)):new x(1,[[a,new Se(0,["an object",o])]])}function CI(e,r,a,o){let u;const f=r.length+e|0;if(f!==o.length)return new x(1,[[a,new Se(6,[(u=o.length|0,Me(Oe("Expected array of length %i but got %i"))(f)(u))])]]);{let c=new x(0,[ct()]);for(let v=e;v<=o.length-1;v++)if(c.tag===0){const m=c.fields[0],h=Me(Oe("%s[%i]"))(a)(v),C=Lt(v-e,r),b=Lt(v,o);c=Di(R=>Oa(R,m),C(h)(b))}return Di(Vh,c)}}function DA(e,r,a,o,u,f){const c=l4(v=>Mc(v)===o,uk(a));if(c!=null){const v=c,m=zc(h=>wi(e,r,!1,h[1]),dk(v));return Di(h=>n4(v,hp(h)),m.length===0&&f.length<=1?new x(0,[ct()]):CI(1,m,u,f))}else return new x(1,[[u,new Se(6,["Cannot find case "+o+" in "+Wt(a)])]])}function AA(e,r,a,o){let u;const f=new ca(ua());let c;const v=Wt(o);c=v===""?e:Yk(v,f,e);let m;if(fk(o)){const h=zc(C=>[vI(r,Mc(C)),wi(c,r,!1,C[1])],tp(o));m=C=>b=>Di(R=>r4(o,hp(R)),T8(h,C,b))}else if(ck(o))m=h=>C=>{if(typeof C=="string")return DA(c,r,o,C,h,[]);if(Array.isArray(C)){const b=C;return xk(R=>DA(c,r,o,R,h,b),EI(h+"[0]",Lt(0,b)))}else return new x(1,[[h,new Se(0,["a string or array",C])]])};else if(a)m=h=>C=>new x(1,[[h,new Se(2,["an extra coder for "+Wt(o),C])]]);else throw new Error((u=Wt(o),Me(Oe(`Cannot generate auto decoder for %s. Please pass an extra decoder.
|
|
65
|
+
|
|
66
|
+
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(u)));return f.contents=m,m}function wi(e,r,a,o){let u,f,c,v;const m=Wt(o),h=Kk(m,e);if(h==null)if(ak(o)){const C=wi(e,r,!1,vp(o));return b=>R=>OA(on(C),b,R)}else if(K_(o))switch(Wt(lk(o))){case"System.SByte":return b=>R=>{const M=o,A=b,L=R,B=EA(A)(L);if(B.tag===1)return new x(1,[B.fields[0]]);{const T=B.fields[0]|0;return Fu(T,gc(M),{Equals:(j,U)=>j===U,GetHashCode:Si})?new x(0,[bc(M,T.toString())]):new x(1,[[A,new Se(1,[Wt(M),L,"Unkown value provided for the enum"])]])}};case"System.Byte":return b=>R=>{const M=o,A=b,L=R,B=CA(A)(L);if(B.tag===1)return new x(1,[B.fields[0]]);{const T=B.fields[0];return Fu(T,gc(M),{Equals:(j,U)=>j===U,GetHashCode:Si})?new x(0,[bc(M,T.toString())]):new x(1,[[A,new Se(1,[Wt(M),L,"Unkown value provided for the enum"])]])}};case"System.Int16":return b=>R=>{const M=o,A=b,L=R,B=wA(A)(L);if(B.tag===1)return new x(1,[B.fields[0]]);{const T=B.fields[0]|0;return Fu(T,gc(M),{Equals:(j,U)=>j===U,GetHashCode:Si})?new x(0,[bc(M,Z3(T))]):new x(1,[[A,new Se(1,[Wt(M),L,"Unkown value provided for the enum"])]])}};case"System.UInt16":return b=>R=>{const M=o,A=b,L=R,B=SA(A)(L);if(B.tag===1)return new x(1,[B.fields[0]]);{const T=B.fields[0];return Fu(T,gc(M),{Equals:(j,U)=>j===U,GetHashCode:Si})?new x(0,[bc(M,T.toString())]):new x(1,[[A,new Se(1,[Wt(M),L,"Unkown value provided for the enum"])]])}};case"System.Int32":return b=>R=>{const M=o,A=b,L=R,B=_A(A)(L);if(B.tag===1)return new x(1,[B.fields[0]]);{const T=B.fields[0]|0;return Fu(T,gc(M),{Equals:(j,U)=>j===U,GetHashCode:Si})?new x(0,[bc(M,Xu(T))]):new x(1,[[A,new Se(1,[Wt(M),L,"Unkown value provided for the enum"])]])}};case"System.UInt32":return b=>R=>{const M=o,A=b,L=R,B=RA(A)(L);if(B.tag===1)return new x(1,[B.fields[0]]);{const T=B.fields[0];return Fu(T,gc(M),{Equals:(j,U)=>j===U,GetHashCode:Si})?new x(0,[bc(M,T.toString())]):new x(1,[[A,new Se(1,[Wt(M),L,"Unkown value provided for the enum"])]])}};default:{const b=Wt(o),R=QP(Oe(`Cannot generate auto decoder for %s.
|
|
67
|
+
Thoth.Json.Net only support the following enum types:
|
|
68
|
+
- sbyte
|
|
69
|
+
- byte
|
|
70
|
+
- int16
|
|
71
|
+
- uint16
|
|
72
|
+
- int
|
|
73
|
+
- uint32
|
|
74
|
+
If you can't use one of these types, please pass an extra decoder.
|
|
75
|
+
`))(b);return M=>R(M)}}else if(ik(o))if(X_(o)){const C=zc(b=>wi(e,r,!1,b),sk(o));return b=>R=>Array.isArray(R)?Di(M=>a4(hp(M)),CI(0,C,b,R)):new x(1,[[b,new Se(0,["an array",R])]])}else switch(Wt(ok(o))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return u=wi(e,r,!0,Lt(0,xa(o))),b=>R=>g8(on(u),b,R);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return f=wi(e,r,!1,Lt(0,xa(o))),b=>R=>xA(on(f),b,R);case"System.Collections.Generic.IEnumerable`1[System.Object]":return c=wi(e,r,!1,Lt(0,xa(o))),b=>R=>b8(on(c),b,R);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const b=wi(e,r,!1,Lt(0,xa(o))),R=wi(e,r,!1,Lt(1,xa(o)));let M;const A=Ee([L=>B=>x8(on(b),on(R),L,B),(v=S8(on(b),on(R)),L=>B=>xA(on(v),L,B))]);return M=L=>B=>E8(A,L,B),L=>B=>w8(_8,on(M),L,B)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const b=wi(e,r,!1,Lt(0,xa(o)));return R=>M=>{const A=OA(on(b),R,M);return A.tag===0?new x(0,[R8(A.fields[0])]):new x(1,[A.fields[0]])}}default:return AA(e,r,a,o)}else switch(m){case"System.Boolean":return C=>b=>d8(C,b);case"Microsoft.FSharp.Core.Unit":return C=>b=>f8(C,b);case"System.String":return C=>b=>EI(C,b);case"System.Char":return C=>b=>s8(C,b);case"System.SByte":return EA;case"System.Byte":return CA;case"System.Int16":return wA;case"System.UInt16":return SA;case"System.Int32":return _A;case"System.UInt32":return RA;case"System.Double":return C=>b=>p8(C,b);case"System.Single":return C=>b=>v8(C,b);case"System.DateTime":return C=>b=>m8(C,b);case"System.DateTimeOffset":return C=>b=>h8(C,b);case"System.TimeSpan":return C=>b=>y8(C,b);case"System.Guid":return C=>b=>c8(C,b);case"System.Object":return C=>b=>new x(0,[b]);default:return AA(e,r,a,o)}else{const C=h;return b=>R=>C.contents(b)(R)}}function O8(e){return cR({Compare:qh})}function M8(e,r,a){const o=io(r,new ap(0,[]));return wi(O8(),o,!1,e)}function D8(e){const r=Gh(e)|0;return Me(Oe("%s/workflows/backend/%i"))(rR)(r)}function A8(e){const r=Gh(e)|0;return Me(Oe("%s/workflows/backend/process-instances/%i/analytics-events"))(rR)(r)}function wI(e,r){return he.Delay(()=>{const a=bR(B9(Me(Oe("Bearer %s"))(e)),r);let o;const u=hA(a);return o=he.Bind(u,f=>he.Return(new x(0,[f]))),he.Bind(o,f=>{const c=f;if(c.tag===1)return he.Return(new x(1,[c.fields[0]]));{const v=c.fields[0];if(v.statusCode===429||v.statusCode>=500){const m=hA(a);return he.Bind(m,h=>he.Return(new x(0,[h])))}else return he.Return(new x(0,[v]))}})})}function Zh(e,r,a){return he.Delay(()=>{let o,u;const f=wI(a,(o=pI(new gR(1,[(u=Te(YW(e)),hI(0,yI(Ic(GW()),new ap(1,[]),void 0,void 0)(u)))]),dI(new yR(1,[]),fI(D8(r)))),bR(cI("application/json"),o)));return he.Bind(f,c=>{const v=c;if(v.tag===1)return he.Return(new x(1,[v.fields[0]]));{const m=v.fields[0];if(m.statusCode===200){let h;const C=u8(on(M8(zW(),new ap(1,[]))),m.responseText);return h=C.tag===1?new x(1,[C.fields[0]]):KW(C.fields[0]),he.Return(h)}else return he.Return(new x(1,["Unexpected response from backend"]))}})})}function P8(e,r,a){let o;const u=he.Delay(()=>{let f;return wI(e,(f=pI(new gR(1,[hI(0,yI(Ic(XW()),new ap(1,[]),void 0,void 0)(Te(a)))]),dI(new yR(1,[]),fI(A8(r)))),bR(cI("application/json"),f)))});return o=he.Bind(u,f=>{let c;const v=f;return c=v.tag===1?new x(1,[v.fields[0]]):new x(0,[void v.fields[0]]),he.Return(c)}),he.Bind(o,f=>{const c=f;return c.tag===1||c.fields[0],he.Return()})}function k8(e,r,a){return Zh(new Kh(1,[r]),e,a)}function I8(e,r,a){return Zh(new Kh(3,[a]),e,r)}function L8(e,r,a){return Zh(new Kh(5,[a]),e,r)}function N8(e,r){return Zh(new Kh(2,[]),e,r)}function $8(){return z6(document.getElementById("external-loading-page-container"))}function q8(){return $8()!=null}var PA;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(PA||(PA={}));var ER=function(e){return Object.freeze(e)},B8=function(){function e(r,a){this.inlineSize=r,this.blockSize=a,ER(this)}return e}(),U8=function(){function e(r,a,o,u){return this.x=r,this.y=a,this.width=o,this.height=u,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ER(this)}return e.prototype.toJSON=function(){var r=this,a=r.x,o=r.y,u=r.top,f=r.right,c=r.bottom,v=r.left,m=r.width,h=r.height;return{x:a,y:o,top:u,right:f,bottom:c,left:v,width:m,height:h}},e.fromRect=function(r){return new e(r.x,r.y,r.width,r.height)},e}(),kA=typeof window<"u"?window:{};/msie|trident/i.test(kA.navigator&&kA.navigator.userAgent);var yS=function(e,r,a){return e===void 0&&(e=0),r===void 0&&(r=0),a===void 0&&(a=!1),new B8((a?r:e)||0,(a?e:r)||0)};ER({devicePixelContentBoxSize:yS(),borderBoxSize:yS(),contentBoxSize:yS(),contentRect:new U8(0,0,0,0)});class SI extends ft{constructor(r,a,o){super(),this.instanceId=r|0,this.name=a,this.type=o}}function F8(e){return new SI(Gh(e.Id),e.Configuration.Name,Ik(e.Configuration.Id))}function j8(e,r,a,o){const u={};return u.type="workflowSubmitSuccess",u.sender="flare",u.workflow=new SI(Gh(e),r,Ik(a)),u.profileId=Pk(o),u}function V8(e,r,a,o){const u={};return u.type="stepSubmitSuccess",u.sender="flare",u.workflow=F8(a),u.profileId=Pk(o),u.step={name:r,type:wh(e)},u}function _I(e){q8()||window.parent.postMessage(e,"*")}function H8(e,r,a){const o=tW(e,r);o.tag===1||_I(V8(e,o.fields[0].DisplayName,r,a))}function gS(e,r,a,o){_I(j8(e,r,a,o))}function z8(e,r,a,o,u){let f,c,v,m,h,C,b,R,M,A,L,B,T,j,U,Y,J,I,K;switch(o.tag){case 1:{const N=o.fields[0];return[new gi(u.ProfileId,u.ProcessInstanceId,u.WorkflowDetail,N,u.CssOverrides,u.BenefitsOnboarding),N.tag===2?(f=_G(N.fields[0].Id),je(f.Id,aR.Id)?Te(re=>{re(new Ge(11,[u.ProcessInstanceId,new oh(1,[])]))}):(c=new Ge(11,[u.ProcessInstanceId,new oh(0,[wh(f.Id)])]),Te(re=>{re(c)}))):aa()]}case 2:{const N=u.WorkflowDetail;let re,_;switch(N.tag===2&&N.fields[0].tag===0?(re=0,_=N.fields[0].fields[0]):re=1,re){case 0:{const ce=hS(u.CurrentView,_,u.BenefitsOnboarding);return[u,Te(De=>{De(ce)})]}default:return[u,aa()]}}case 11:return Ec(P8(r,o.fields[0],o.fields[1])),[u,aa()];case 3:{const N=u.WorkflowDetail;let re,_;switch(N.tag===2&&N.fields[0].tag===0?(re=0,_=N.fields[0].fields[0]):re=1,re){case 0:return[u,(v=o.fields[0].target,m=Hh(ce=>q6(MG(ce),v.tagName,5)===0,_.Steps),m==null?aa():je(m.Id,new Ei(6,[]))?Te(ce=>{ce(new Ge(13,[]))}):(h=m,C=new Ge(4,[DG(h),new Dn(0,[])]),Te(ce=>{ce(C)})))];default:return[u,aa()]}}case 13:{const N=u.WorkflowDetail;let re;switch(N.tag===2&&N.fields[0].tag===0?je(u.BenefitsOnboarding,new rp(0,[]))?re=1:re=0:re=1,re){case 0:return[new gi(u.ProfileId,u.ProcessInstanceId,u.WorkflowDetail,u.CurrentView,u.CssOverrides,new rp(2,[])),dA(Ee([Te(_=>{_(new Ge(11,[u.ProcessInstanceId,new oh(2,[])]))}),Te(_=>{_(new Ge(9,[new Dn(0,[])]))}),Te(_=>{_(new Ge(1,[new Mt(5,[])]))})]))];default:return[u,aa()]}}case 4:{const N=o.fields[0],re=o.fields[1];switch(re.tag){case 1:return[u,aa()];case 2:{const _=re.fields[0],ce=_;ce.tag===1?ce.fields[0]:H8(N,ce.fields[0],u.ProfileId);let De;const $e=u.WorkflowDetail;let fe,et;switch($e.tag===2&&$e.fields[0].tag===0?(fe=0,et=$e.fields[0].fields[0]):fe=1,fe){case 0:{De=new Dn(2,[(b=_,b.tag===1?new x(1,[b.fields[0]]):vS(et,b.fields[0]))]);break}default:De=u.WorkflowDetail}return[new gi(u.ProfileId,u.ProcessInstanceId,De,u.CurrentView,u.CssOverrides,u.BenefitsOnboarding),(R=De.tag===2?De.fields[0].tag===1?new Ge(1,[new Mt(4,[De.fields[0].fields[0]])]):hS(u.CurrentView,De.fields[0].fields[0],u.BenefitsOnboarding):De.tag===3?new Ge(1,[new Mt(4,[De.fields[0].message])]):new Ge(1,[new Mt(4,["Process Instance not resolved"])]),Te(ze=>{ze(R)}))]}case 3:{const _=re.fields[0];return[new gi(u.ProfileId,u.ProcessInstanceId,new Dn(3,[_]),u.CurrentView,u.CssOverrides,u.BenefitsOnboarding),(M=new Ge(1,[new Mt(4,[_.message])]),Te(ce=>{ce(M)}))]}default:return[u,Wd(_=>{Ec(_)},_=>k8(u.ProcessInstanceId,N,_),r,_=>new Ge(4,[N,new Dn(2,[_])]),_=>new Ge(4,[N,new Dn(3,[_])]))]}}case 5:return[new gi(u.ProfileId,u.ProcessInstanceId,u.WorkflowDetail,new Mt(3,[]),u.CssOverrides,u.BenefitsOnboarding),Wd(N=>{Ec(N)},N=>I8(u.ProcessInstanceId,r,N),o.fields[0].InjectedBenefits,N=>new Ge(14,[]),N=>new Ge(15,[N]))];case 6:return[u,dA(Ee([Wd(N=>{Ec(N)},N=>L8(u.ProcessInstanceId,r,N),o.fields[0].InjectedBenefits,N=>new Ge(14,[]),N=>new Ge(15,[N])),(A=u.WorkflowDetail,A.tag===2?A.fields[0].tag===0?(L=new Ge(1,[new Mt(2,[d4(Z_(N=>je(N.Status,new Rr(0,[]))?!0:je(N.Status,new Rr(4,[])),A.fields[0].fields[0].Steps))])]),Te(N=>{N(L)})):Te(N=>{N(new Ge(1,[new Mt(4,["Process Instance not resolved"])]))}):Te(N=>{N(new Ge(1,[new Mt(4,["Process Instance not resolved"])]))}))]))];case 7:return[u,Wd(N=>{Ec(N)},ah(e)(u.ProcessInstanceId)(r),o.fields[0].InjectedBenefits,N=>new Ge(8,[N]),N=>new Ge(15,[N]))];case 8:{let N;const re=u.WorkflowDetail;let _,ce;switch(re.tag===2&&re.fields[0].tag===0?(_=0,ce=re.fields[0].fields[0]):_=1,_){case 0:{N=new Dn(2,[(B=o.fields[0],B.tag===1?new x(1,[B.fields[0]]):vS(ce,B.fields[0]))]);break}default:N=u.WorkflowDetail}return[new gi(u.ProfileId,u.ProcessInstanceId,N,u.CurrentView,u.CssOverrides,u.BenefitsOnboarding),(T=N.tag===2?N.fields[0].tag===1?new Ge(1,[new Mt(4,[N.fields[0].fields[0]])]):hS(u.CurrentView,N.fields[0].fields[0],u.BenefitsOnboarding):N.tag===3?new Ge(1,[new Mt(4,[N.fields[0].message])]):new Ge(1,[new Mt(4,["Process Instance not resolved"])]),Te(De=>{De(T)}))]}case 9:{const N=o.fields[0];switch(N.tag){case 1:return[u,aa()];case 2:return N.fields[0].tag===1?[new gi(u.ProfileId,u.ProcessInstanceId,new Dn(2,[new x(1,[N.fields[0].fields[0]])]),u.CurrentView,u.CssOverrides,u.BenefitsOnboarding),Te(re=>{re(new Ge(1,[new Mt(4,[N.fields[0].fields[0]])]))})]:(gS(N.fields[0].fields[0].Id,N.fields[0].fields[0].Configuration.Name,N.fields[0].fields[0].Configuration.Id,u.ProfileId),[new gi(u.ProfileId,u.ProcessInstanceId,SG(re=>{const _=re;return _.tag===1?new x(1,[_.fields[0]]):vS(_.fields[0],N.fields[0].fields[0])},u.WorkflowDetail),u.CurrentView,u.CssOverrides,u.BenefitsOnboarding),Te(re=>{re(new Ge(1,[new Mt(5,[])]))})]);case 3:return[new gi(u.ProfileId,u.ProcessInstanceId,new Dn(3,[N.fields[0]]),u.CurrentView,u.CssOverrides,u.BenefitsOnboarding),(j=new Ge(1,[new Mt(4,[N.fields[0].message])]),Te(re=>{re(j)}))];default:{const re=u.WorkflowDetail;let _,ce;switch(re.tag===2&&re.fields[0].tag===0&&s_(re.fields[0].fields[0].Status)?(_=0,ce=re.fields[0].fields[0]):_=1,_){case 0:return gS(ce.ProcessInstanceId,ce.InstanceName,ce.ProcessConfigId,u.ProfileId),[u,aa()];default:return[u,Wd(De=>{Ec(De)},De=>N8(u.ProcessInstanceId,De),r,De=>new Ge(9,[new Dn(2,[De])]),De=>new Ge(9,[new Dn(3,[De])]))]}}}}case 10:{const N=o.fields[0];return gS(N.ProcessInstanceId,N.InstanceName,N.ProcessConfigId,u.ProfileId),[u,Te(re=>{re(new Ge(1,[new Mt(5,[])]))})]}case 12:return[u,(U=window.location.pathname+"/"+window.location.search+window.location.hash,m9(N=>{d5(Te(U))}))];case 14:return[u,aa()];case 15:return[u,aa()];default:{const N=o.fields[0];let re;switch(N.tag){case 3:{re=[u,(Y=new Ge(1,[new Mt(4,[N.fields[0].message])]),Te(_=>{_(Y)}))];break}case 0:case 1:{re=[u,aa()];break}default:{let _,ce;const De=N.fields[0];if(De.tag===1)ce=new x(1,[De.fields[0]]);else{const $e=De.fields[0],fe=fR($e.IsBenefitsEnabled);let et;const ze=[$e.ProcessInstance,fe];if(et=dR(ze[0],ze[1]),et.tag===1)ce=new x(1,[et.fields[0]]);else{const we=et.fields[0],xt=IG(a,$e);if(xt.tag===1)ce=new x(1,[xt.fields[0]]);else{const dr=xt.fields[0],Or=s_($e.ProcessInstance.Status);let zn;const en=PG(we);zn=en==null?dr.IsPaySetupComplete?Or?new x(0,[new Mt(5,[])]):new x(0,[new Mt(4,["Something went wrong"])]):new x(0,[new Mt(3,[])]):new x(0,[(J=en,I=y5.clientWidth,K=hk(we)|0,K===1?(document.title=OG(J),new Mt(2,[J])):LG(I)!=null?new Mt(1,[]):new Mt(2,[J]))]),ce=zn.tag===1?new x(1,[zn.fields[0]]):new x(0,[[new gi(u.ProfileId,u.ProcessInstanceId,new Dn(2,[new x(0,[dr])]),u.CurrentView,$e.CssOverrides,fe),zn.fields[0]]])}}}_=ce.tag===1?[u,new Mt(4,[ce.fields[0]])]:ce.fields[0],re=[_[0],Te($e=>{$e(new Ge(1,[_[1]]))})]}}return[re[0],re[1]]}}}const W8=e=>ke.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},ke.createElement("path",{d:"M16 16V30",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),ke.createElement("path",{d:"M11 21L16 16L21 21",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),ke.createElement("path",{d:"M11 29H4C3.20435 29 2.44129 28.6839 1.87868 28.1213C1.31607 27.5587 1 26.7956 1 26V2H12L15 7H31V26C31 26.7956 30.6839 27.5587 30.1213 28.1213C29.5587 28.6839 28.7956 29 28 29H21",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),G8=e=>ke.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},ke.createElement("path",{d:"M19.7 4.3C19.3 3.9 18.7 3.9 18.3 4.3L12 10.6L5.7 4.3C5.3 3.9 4.7 3.9 4.3 4.3C3.9 4.7 3.9 5.3 4.3 5.7L10.6 12L4.3 18.3C3.9 18.7 3.9 19.3 4.3 19.7C4.5 19.9 4.7 20 5 20C5.3 20 5.5 19.9 5.7 19.7L12 13.4L18.3 19.7C18.5 19.9 18.8 20 19 20C19.2 20 19.5 19.9 19.7 19.7C20.1 19.3 20.1 18.7 19.7 18.3L13.4 12L19.7 5.7C20.1 5.3 20.1 4.7 19.7 4.3Z",fill:"#9CA3AF"}));function Y8(e){const r=Mk(e,1);return ke.createElement(W8,r)}function K8(e){const r=Mk(e,1);return ke.createElement(G8,r)}function X8(e){return ke.createElement("div",{className:"absolute top-0 bottom-0 left-0 right-0",children:zt.Children.toArray([e])})}function Q8(e,r){let a;return ke.createElement("button",or(Ee([["type","button"],["data-testid","submit-btn"],["className",Qo(" ",["self-stretch md:self-auto md:w-60 px-4 py-2 bg-primary-base hover:bg-primary-hover rounded-md shadow","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus cursor-pointer","justify-center items-center inline-flex"])],["onClick",r],(a=[ke.createElement("div",{className:"text-white text-base font-semibold leading-normal",children:e})],["children",zt.Children.toArray(Array.from(a))])])))}function J8(e,r){let a;return ke.createElement("button",or(Ee([["type","button"],["className",Qo(" ",["relative group self-stretch md:self-auto md:w-60 px-4 py-2 rounded-md shadow justify-center items-center inline-flex","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus cursor-pointer"])],["onClick",r],(a=[ke.createElement("div",{className:"text-primary-dark text-base font-semibold leading-normal z-[1]",children:e}),ke.createElement("div",{className:"absolute w-full h-full rounded-md z-[0] bg-primary-base opacity-10 group-hover:opacity-20"})],["children",zt.Children.toArray(Array.from(a))])])))}function Ym(e,r,a,o,u){let f,c,v,m,h,C,b,R,M,A,L,B,T,j,U;return X8(ke.createElement("div",or(Ee([["className","w-full h-full md:pb-8 bg-white flex-col justify-start items-start md:items-center inline-flex"],(f=[ke.createElement("div",or(Ee([(c="w-full md:self-stretch p-4 bg-white border-gray-200 flex-col justify-start items-end space-x-4 space-y-4 flex",["className",c]),(v=[ke.createElement("button",or(Ee([["type","button"],(m="w-6 h-6 relative rounded-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-base",["className",m]),["onClick",Y=>{u(new Ge(6,[{InjectedBenefits:o}]))}],(h=[K8([])],["children",zt.Children.toArray(Array.from(h))])])))],["children",zt.Children.toArray(Array.from(v))])]))),ke.createElement("div",or(Ee([(C="w-full md:w-[560px] grow shrink basis-0 px-4 md:px-0 pb-8 md:pb-0 bg-white flex-col justify-between md:justify-start items-center md:space-y-14 flex",["className",C]),(b=[ke.createElement("div",or(Ee([["className","self-stretch h-64 md:h-56 flex-col justify-start items-center space-y-8 flex"],(R=[ke.createElement("div",or(Ee([["className","self-stretch h-64 flex-col justify-start items-center space-y-6 flex"],(M=[ke.createElement("div",or(Ee([["className","self-stretch h-24 flex-col justify-start items-center space-y-4 flex"],(A=[ke.createElement("div",or(Ee([["className","w-12 h-12 relative rounded-lg"],(L=[ke.createElement("div",{className:"w-12 h-12 relative bg-primary-base opacity-10 rounded-lg"}),ke.createElement("div",or(Ee([["className","w-8 h-8 left-2 top-2 absolute"],(B=[ke.createElement("div",or(Ee([["className","w-7 h-7 left-px top-0.5 absolute"],(T=[Y8([["className","text-primary-base"]])],["children",zt.Children.toArray(Array.from(T))])])))],["children",zt.Children.toArray(Array.from(B))])])))],["children",zt.Children.toArray(Array.from(L))])]))),ke.createElement("div",{className:"self-stretch text-center text-gray-900 text-2xl md:text-3xl font-bold leading-7 md:leading-9",children:e})],["children",zt.Children.toArray(Array.from(A))])]))),ke.createElement("div",or(Ee([["className","self-stretch h-40 md:h-24 flex-col justify-start items-center space-y-3 md:space-y-4 flex"],(j=[ke.createElement("div",{className:"self-stretch text-center text-gray-900 text-base md:text-lg font-normal leading-normal md:leading-7",children:r}),ke.createElement("div",{className:"self-stretch text-center text-gray-900 text-base md:text-lg font-normal leading-normal md:leading-7",children:a})],["children",zt.Children.toArray(Array.from(j))])])))],["children",zt.Children.toArray(Array.from(M))])])))],["children",zt.Children.toArray(Array.from(R))])]))),ke.createElement("div",or(Ee([["className","self-stretch h-24 flex-col justify-start items-center space-y-4 flex cursor-pointer"],(U=[Q8(o?"Submit and continue":"Submit",Y=>{u(new Ge(7,[{InjectedBenefits:o}]))}),J8("Keep editing",Y=>{u(new Ge(6,[{InjectedBenefits:o}]))})],["children",zt.Children.toArray(Array.from(U))])])))],["children",zt.Children.toArray(Array.from(b))])])))],["children",zt.Children.toArray(Array.from(f))])]))))}function Z8(e){let r,a;const o=e.dispatch,u=e.wd,f=u.IsBenefitsStepEnabled;return u.AppMode.tag===1?f?Ym("Before you continue",(r=e_(c=>c.CompanyName,u.Branding),r==null?"Submit to finalise your pay information to your employer and continue to access your workplace benefits":`Submit to finalise your pay information to ${LD(r)} and continue to access your workplace benefits`),"Once you submit, you’ll be unable to view or edit your details",!0,o):Ym("Submit your details",(a=e_(c=>c.CompanyName,u.Branding),a==null?"Submit to finalise your pay information to your employer":`Submit to finalise your pay information to ${LD(a)}`),"Once you submit, you’ll be unable to view or edit your details.",!1,o):f?Ym("Before you continue","Submit to finalise your pay information to your employer and continue to access your workplace benefits","",!0,o):Ym("Submit your details","Submit to finalise your pay information to your employer","",!1,o)}class eY extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["Normal","Pending","Focused"]}}class _i extends Ye{constructor(r,a){super(),this.tag=r,this.fields=a}cases(){return["SyncTest","AsyncTest","TestList","TestListSequential"]}}class ey extends ft{constructor(r,a){super(),this.absolute=r,this.relative=a}}new ey(1e-6,.001);new ey(1e-8,1e-5);new ey(1e-10,1e-7);new ey(1e-12,1e-9);function tY(e,r){return new _i(1,[e,r,new eY(0,[])])}function nY(e,r){return new _i(2,[e,r])}function rY(e){switch(e.tag){case 1:{const r=e.fields[0];return new _i(3,[r,Te(new _i(1,[r,e.fields[1],e.fields[2]]))])}case 2:return new _i(3,[e.fields[0],e.fields[1]]);case 3:return new _i(3,[e.fields[0],e.fields[1]]);default:{const r=e.fields[0];return new _i(3,[r,Te(new _i(0,[r,e.fields[1],e.fields[2]]))])}}}function aY(e){throw new Error(e)}const iY=new Function("try {return this===window;}catch(e){ return false;}")();function oY(e){return r=>{let a,o;const u=e,f=r;if(u===!0||!new Function("try {return this===window;}catch(e){ return false;}")())X3(u,!0,f);else throw new Error(gk(Qu,Ee([Y_,Qu,Q6,kn,J6,oo("System.Guid")]),{Equals:yh,GetHashCode:ao})?(a=ja(!0),o=ja(u),Me(Oe("<span style='color:black'>Expected:</span> <br /><div style='margin-left:20px; color:crimson'>%s</div><br /><span style='color:black'>Actual:</span> </br ><div style='margin-left:20px;color:crimson'>%s</div><br /><span style='color:black'>Message:</span> </br ><div style='margin-left:20px; color:crimson'>%s</div>"))(a)(o)(f)):Me(Oe("<span style='color:black'>Expected:</span> <br /><div style='margin-left:20px; color:crimson'>%A</div><br /><span style='color:black'>Actual:</span> </br ><div style='margin-left:20px;color:crimson'>%A</div><br /><span style='color:black'>Message:</span> </br ><div style='margin-left:20px; color:crimson'>%s</div>"))(!0)(u)(f))}}class as extends ft{constructor(r,a,o,u){super(),this.Tag=r,this.Attributes=a,this.Content=o,this.Children=u}}function ty(e){const r=document.createElement(e.Tag);r.innerHTML=e.Content;const a=Nt(e.Attributes);try{for(;a["System.Collections.IEnumerator.MoveNext"]();){const u=a["System.Collections.Generic.IEnumerator`1.get_Current"]();r.setAttribute(u[0],u[1])}}finally{_t(a)}const o=Nt(e.Children);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const u=ty(o["System.Collections.Generic.IEnumerator`1.get_Current"]());r.appendChild(u)}}finally{_t(o)}return r}function lr(e,r){return new as("div",e,r,ct())}function Yu(e,r){return new as("div",e,"",r)}function f_(e){let r,a,o;switch(e.tag){case 1:{e.fields[2].tag===2?r=1:r=4;break}case 2:{r=2,a=e.fields[1];break}case 3:{r=3,o=e.fields[1];break}default:e.fields[2].tag===2?r=0:r=4}switch(r){case 0:return!0;case 1:return!0;case 2:return gh(f_,a);case 3:return gh(f_,o);default:return!1}}function IA(e,r,a){try{return r(),lr(Ee([["data-test",e],["class","passed"],["style",Me(Oe("font-size:16px; padding-left:%dpx; color:green"))(a)]]),Me(Oe("✔ %s"))(e))}catch(o){const u=new as("div",Te(["style","font-size:16px;color:red;margin:10px; padding:10px; border: 1px solid red; border-radius: 10px;"]),o.message,ct());return Yu(ct(),Ee([lr(Ee([["data-test",e],["class","failed"],["style",Me(Oe("font-size:16px; padding-left:%dpx; color:red"))(a)]]),Me(Oe("✘ %s"))(e)),u]))}}function LA(e,r,a){let o;return o=Rk(),Xh(he.Delay(()=>he.Bind(Ho(1e3),()=>he.Bind(sR(r),f=>{if(f.tag===1){const c=document.getElementById(o);c.innerHTML=Me(Oe("✘ %s"))(e);const v=new as("div",Te(["style","margin:10px; padding:10px; border: 1px solid red; border-radius: 10px"]),f.fields[0].message,ct());return c.setAttribute("style",Me(Oe("font-size:16px; padding-left:%dpx;color:red"))(a)),c.setAttribute("class","failed"),c.appendChild(ty(v)),he.Zero()}else{const c=document.getElementById(o);return c.innerHTML=Me(Oe("✔ %s"))(e),c.setAttribute("class","passed"),c.setAttribute("style",Me(Oe("font-size:16px; padding-left:%dpx;color:green"))(a)),he.Zero()}})))),lr(Ee([["id",o],["data-test",e],["class","executing"],["style",Me(Oe("font-size:16px; padding-left:%dpx;color:gray"))(a)]]),Me(Oe("⏳ %s"))(e))}function NA(e,r,a){let o;return o=Rk(),[he.Delay(()=>he.Bind(Ho(1e3),()=>he.Bind(sR(r),f=>{if(f.tag===1){const c=document.getElementById(o);c.innerHTML=Me(Oe("✘ %s"))(e);const v=new as("div",Te(["style","margin:10px; padding:10px; border: 1px solid red; border-radius: 10px"]),f.fields[0].message,ct());return c.setAttribute("style",Me(Oe("font-size:16px; padding-left:%dpx;color:red"))(a)),c.setAttribute("class","failed"),c.appendChild(ty(v)),he.Zero()}else{const c=document.getElementById(o);return c.innerHTML=Me(Oe("✔ %s"))(e),c.setAttribute("class","passed"),c.setAttribute("style",Me(Oe("font-size:16px; padding-left:%dpx;color:green"))(a)),he.Zero()}}))),lr(Ee([["id",o],["data-test",e],["class","executing"],["style",Me(Oe("font-size:16px; padding-left:%dpx;color:gray"))(a)]]),Me(Oe("⏳ %s"))(e))]}function d_(e,r){switch(r.tag){case 1:{const a=r.fields[0];return Te(new _i(1,[ts(e)?a:Me(Oe("%s - %s"))(e)(a),r.fields[1],r.fields[2]]))}case 2:return Eh(la(()=>a_(a=>d_(r.fields[0],a),r.fields[1])));case 3:return Eh(la(()=>a_(a=>d_(r.fields[0],a),r.fields[1])));default:{const a=r.fields[0];return Te(new _i(0,[ts(e)?a:Me(Oe("%s - %s"))(e)(a),r.fields[1],r.fields[2]]))}}}function RI(e,r,a){return Sr(o=>{switch(o.tag){case 1:{const u=o.fields[1],f=o.fields[0];switch(o.fields[2].tag){case 1:return lr(Ee([["class","pending"],["data-test",f],["style",Me(Oe("font-size:16px; padding-left:%dpx; color:#B8860B"))(a)]]),Me(Oe("🚧 skipping '%s' due to it being marked as pending"))(f));case 2:return LA(f,u,a);default:return e?lr(Ee([["class","pending"],["data-test",f],["style",Me(Oe("font-size:16px; padding-left:%dpx; color:#B8860B"))(a)]]),Me(Oe("🚧 skipping '%s' due to other focused tests"))(f)):LA(f,u,a)}}case 2:{const u=o.fields[0],f=Yu(ct(),RI(e,o.fields[1],a+10));return Yu(ct(),Te(new as("div",Ee([["class","module"],["data-module",u],["style",Me(Oe("font-size:20px; padding:%dpx"))(a)]]),u,Te(f))))}case 3:{const u=o.fields[0],f=yk(h=>{switch(h.tag){case 0:{const C=h.fields[2];let b;switch(C.tag){case 1:{b=1;break}case 2:{b=2;break}default:e?b=0:b=2}switch(b){case 0:return[he.Delay(()=>he.Bind(Ho(10),()=>he.Return(void 0))),lr(Ee([["class","pending"],["data-test",u],["style",Me(Oe("font-size:16px; padding-left:%dpx; color:#B8860B"))(a)]]),Me(Oe("🚧 skipping '%s' due to other focused tests"))(u))];case 1:return[he.Delay(()=>he.Bind(Ho(10),()=>he.Return(void 0))),lr(Ee([["class","pending"],["data-test",u],["style",Me(Oe("font-size:16px; padding-left:%dpx; color:#B8860B"))(a)]]),Me(Oe("🚧 skipping '%s' due to it being marked as pending"))(u))];default:return NA(h.fields[0],he.Delay(()=>he.Bind(Ho(10),()=>(h.fields[1](),he.Zero()))),a+10)}}case 1:{const C=h.fields[2];let b;switch(C.tag){case 1:{b=1;break}case 2:{b=2;break}default:e?b=0:b=2}switch(b){case 0:return[he.Delay(()=>he.Bind(Ho(10),()=>he.Return(void 0))),lr(Ee([["class","pending"],["data-test",u],["style",Me(Oe("font-size:16px; padding-left:%dpx; color:#B8860B"))(a)]]),Me(Oe("🚧 skipping '%s' due to other focused tests"))(u))];case 1:return[he.Delay(()=>he.Bind(Ho(10),()=>he.Return(void 0))),lr(Ee([["class","pending"],["data-test",u],["style",Me(Oe("font-size:16px; padding-left:%dpx; color:#B8860B"))(a)]]),Me(Oe("🚧 skipping '%s' due to it being marked as pending"))(u))];default:return NA(h.fields[0],h.fields[1],a+10)}}default:return}},d_("",new _i(3,["",o.fields[1]]))),c=Yu(ct(),Sr(h=>h[1],f)),v=new as("div",Ee([["class","module"],["data-module",u],["style",Me(Oe("font-size:20px; padding:%dpx"))(a)]]),u,Te(c)),m=Sr(h=>h[0],f);return Xh(nG(he.Delay(()=>he.Combine(he.For(m,h=>he.Bind(h,()=>he.Zero())),he.Delay(()=>he.Return(void 0)))))),Yu(ct(),Te(v))}default:{const u=o.fields[1],f=o.fields[0];switch(o.fields[2].tag){case 1:return lr(Ee([["class","pending"],["data-test",f],["style",Me(Oe("font-size:16px; padding-left:%dpx; color:#B8860B"))(a)]]),Me(Oe("🚧 skipping '%s' due to it being marked as pending"))(f));case 2:return IA(f,u,a);default:return e?lr(Ee([["class","pending"],["data-test",f],["style",Me(Oe("font-size:16px; padding-left:%dpx; color:#B8860B"))(a)]]),Me(Oe("🚧 skipping '%s' due to other focused tests"))(f)):IA(f,u,a)}}}},r)}function bS(e,r){return aG(e)}function TI(){Xh(he.Delay(()=>{const e=document.getElementsByClassName("passed").length|0,r=document.getElementsByClassName("failed").length|0,a=document.getElementsByClassName("executing").length|0,o=document.getElementsByClassName("pending").length|0,u=e+r+a+o|0;return document.getElementById("total-tests").innerHTML=Me(Oe("Test Results (%d total)"))(u),document.getElementById("passed-tests").innerHTML=Me(Oe("✔ %d passed"))(e),document.getElementById("failed-tests").innerHTML=Me(Oe("✘ %d failed"))(r),document.getElementById("executing-tests").innerHTML=Me(Oe("⏳ %d being executed (async)"))(a),document.getElementById("skipped-tests").innerHTML=Me(Oe("🚧 %d pending"))(o),a>0?he.Bind(Ho(50),()=>(TI(),he.Zero())):he.Return(void 0)}))}function p_(e){switch(e.tag){case 1:{const r=e.fields[1],a=e.fields[0];switch(e.fields[2].tag){case 1:{it.skip(a,()=>bS(r));break}case 2:{it.only(a,()=>bS(r));break}default:it(a,()=>bS(r))}break}case 2:{describe(e.fields[0],()=>{rs(r=>{p_(r)},e.fields[1])});break}case 3:{describe(e.fields[0],()=>{rs(r=>{p_(r)},e.fields[1])});break}default:{const r=e.fields[1],a=e.fields[0];switch(e.fields[2].tag){case 1:{it.skip(a,r);break}case 2:{it.only(a,r);break}default:it(a,r)}}}}function lY(e){if(iY||typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope){const r=RI(f_(e),Te(e),0),a=Yu(Te(["style","margin-bottom: 20px"]),Ee([lr(Ee([["id","total-tests"],["style","font-size:20px; margin-bottom:5px"]]),"Test Results"),lr(Ee([["id","passed-tests"],["style","color:green; margin-left:5px;"]]),"Passed"),lr(Ee([["id","skipped-tests"],["style","color:#B8860B"]]),"Pending"),lr(Ee([["id","failed-tests"],["style","color:red;margin-left:5px"]]),"Failed"),lr(Ee([["id","executing-tests"],["style","color:gray;margin-left:5px"]]),"Executing")])),o=ty(Yu(Te(["style","padding:20px;"]),Eh(la(()=>Ch(wk(a),la(()=>r))))));return document.body.appendChild(o),TI(),0}else return p_(e),0}var xI={exports:{}},yn={},OI={exports:{}},_a={},MI={exports:{}},DI={};(function(e){/**
|
|
76
|
+
* @license React
|
|
77
|
+
* scheduler.development.js
|
|
78
|
+
*
|
|
79
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
80
|
+
*
|
|
81
|
+
* This source code is licensed under the MIT license found in the
|
|
82
|
+
* LICENSE file in the root directory of this source tree.
|
|
83
|
+
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,a=!1,o=5;function u(se,_e){var Xe=se.length;se.push(_e),v(se,_e,Xe)}function f(se){return se.length===0?null:se[0]}function c(se){if(se.length===0)return null;var _e=se[0],Xe=se.pop();return Xe!==_e&&(se[0]=Xe,m(se,Xe,0)),_e}function v(se,_e,Xe){for(var yt=Xe;yt>0;){var gt=yt-1>>>1,fn=se[gt];if(h(fn,_e)>0)se[gt]=_e,se[yt]=fn,yt=gt;else return}}function m(se,_e,Xe){for(var yt=Xe,gt=se.length,fn=gt>>>1;yt<fn;){var sn=(yt+1)*2-1,dn=se[sn],qt=sn+1,Aa=se[qt];if(h(dn,_e)<0)qt<gt&&h(Aa,dn)<0?(se[yt]=Aa,se[qt]=_e,yt=qt):(se[yt]=dn,se[sn]=_e,yt=sn);else if(qt<gt&&h(Aa,_e)<0)se[yt]=Aa,se[qt]=_e,yt=qt;else return}}function h(se,_e){var Xe=se.sortIndex-_e.sortIndex;return Xe!==0?Xe:se.id-_e.id}var C=1,b=2,R=3,M=4,A=5;function L(se,_e){}var B=typeof performance=="object"&&typeof performance.now=="function";if(B){var T=performance;e.unstable_now=function(){return T.now()}}else{var j=Date,U=j.now();e.unstable_now=function(){return j.now()-U}}var Y=1073741823,J=-1,I=250,K=5e3,N=1e4,re=Y,_=[],ce=[],De=1,$e=null,fe=R,et=!1,ze=!1,we=!1,xt=typeof setTimeout=="function"?setTimeout:null,dr=typeof clearTimeout=="function"?clearTimeout:null,Or=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function zn(se){for(var _e=f(ce);_e!==null;){if(_e.callback===null)c(ce);else if(_e.startTime<=se)c(ce),_e.sortIndex=_e.expirationTime,u(_,_e);else return;_e=f(ce)}}function en(se){if(we=!1,zn(se),!ze)if(f(_)!==null)ze=!0,Kr(Mr);else{var _e=f(ce);_e!==null&&Yn(en,_e.startTime-se)}}function Mr(se,_e){ze=!1,we&&(we=!1,pr()),et=!0;var Xe=fe;try{var yt;if(!a)return Dr(se,_e)}finally{$e=null,fe=Xe,et=!1}}function Dr(se,_e){var Xe=_e;for(zn(Xe),$e=f(_);$e!==null&&!r&&!($e.expirationTime>Xe&&(!se||Ga()));){var yt=$e.callback;if(typeof yt=="function"){$e.callback=null,fe=$e.priorityLevel;var gt=$e.expirationTime<=Xe,fn=yt(gt);Xe=e.unstable_now(),typeof fn=="function"?$e.callback=fn:$e===f(_)&&c(_),zn(Xe)}else c(_);$e=f(_)}if($e!==null)return!0;var sn=f(ce);return sn!==null&&Yn(en,sn.startTime-Xe),!1}function Gr(se,_e){switch(se){case C:case b:case R:case M:case A:break;default:se=R}var Xe=fe;fe=se;try{return _e()}finally{fe=Xe}}function Ha(se){var _e;switch(fe){case C:case b:case R:_e=R;break;default:_e=fe;break}var Xe=fe;fe=_e;try{return se()}finally{fe=Xe}}function za(se){var _e=fe;return function(){var Xe=fe;fe=_e;try{return se.apply(this,arguments)}finally{fe=Xe}}}function Wa(se,_e,Xe){var yt=e.unstable_now(),gt;if(typeof Xe=="object"&&Xe!==null){var fn=Xe.delay;typeof fn=="number"&&fn>0?gt=yt+fn:gt=yt}else gt=yt;var sn;switch(se){case C:sn=J;break;case b:sn=I;break;case A:sn=re;break;case M:sn=N;break;case R:default:sn=K;break}var dn=gt+sn,qt={id:De++,callback:_e,priorityLevel:se,startTime:gt,expirationTime:dn,sortIndex:-1};return gt>yt?(qt.sortIndex=gt,u(ce,qt),f(_)===null&&qt===f(ce)&&(we?pr():we=!0,Yn(en,gt-yt))):(qt.sortIndex=dn,u(_,qt),!ze&&!et&&(ze=!0,Kr(Mr))),qt}function Wn(){}function pa(){!ze&&!et&&(ze=!0,Kr(Mr))}function ge(){return f(_)}function Gn(se){se.callback=null}function $t(){return fe}var ln=!1,Ar=null,En=-1,un=o,Pr=-1;function Ga(){var se=e.unstable_now()-Pr;return!(se<un)}function Yr(){}function Ya(se){if(se<0||se>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}se>0?un=Math.floor(1e3/se):un=o}var Li=function(){if(Ar!==null){var se=e.unstable_now();Pr=se;var _e=!0,Xe=!0;try{Xe=Ar(_e,se)}finally{Xe?kr():(ln=!1,Ar=null)}}else ln=!1},kr;if(typeof Or=="function")kr=function(){Or(Li)};else if(typeof MessageChannel<"u"){var Da=new MessageChannel,Ir=Da.port2;Da.port1.onmessage=Li,kr=function(){Ir.postMessage(null)}}else kr=function(){xt(Li,0)};function Kr(se){Ar=se,ln||(ln=!0,kr())}function Yn(se,_e){En=xt(function(){se(e.unstable_now())},_e)}function pr(){dr(En),En=-1}var rl=Yr,al=null;e.unstable_IdlePriority=A,e.unstable_ImmediatePriority=C,e.unstable_LowPriority=M,e.unstable_NormalPriority=R,e.unstable_Profiling=al,e.unstable_UserBlockingPriority=b,e.unstable_cancelCallback=Gn,e.unstable_continueExecution=pa,e.unstable_forceFrameRate=Ya,e.unstable_getCurrentPriorityLevel=$t,e.unstable_getFirstCallbackNode=ge,e.unstable_next=Ha,e.unstable_pauseExecution=Wn,e.unstable_requestPaint=rl,e.unstable_runWithPriority=Gr,e.unstable_scheduleCallback=Wa,e.unstable_shouldYield=Ga,e.unstable_wrapCallback=za,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(DI);MI.exports=DI;var uY=MI.exports;/**
|
|
84
|
+
* @license React
|
|
85
|
+
* react-dom.development.js
|
|
86
|
+
*
|
|
87
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the MIT license found in the
|
|
90
|
+
* LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=ke,r=uY,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,o=!1;function u(t){o=t}function f(t){if(!o){for(var n=arguments.length,i=new Array(n>1?n-1:0),l=1;l<n;l++)i[l-1]=arguments[l];v("warn",t,i)}}function c(t){if(!o){for(var n=arguments.length,i=new Array(n>1?n-1:0),l=1;l<n;l++)i[l-1]=arguments[l];v("error",t,i)}}function v(t,n,i){{var l=a.ReactDebugCurrentFrame,s=l.getStackAddendum();s!==""&&(n+="%s",i=i.concat([s]));var d=i.map(function(p){return String(p)});d.unshift("Warning: "+n),Function.prototype.apply.call(console[t],console,d)}}var m=0,h=1,C=2,b=3,R=4,M=5,A=6,L=7,B=8,T=9,j=10,U=11,Y=12,J=13,I=14,K=15,N=16,re=17,_=18,ce=19,De=21,$e=22,fe=23,et=24,ze=25,we=!0,xt=!1,dr=!1,Or=!1,zn=!1,en=!0,Mr=!1,Dr=!0,Gr=!0,Ha=!0,za=!0,Wa=new Set,Wn={},pa={};function ge(t,n){Gn(t,n),Gn(t+"Capture",n)}function Gn(t,n){Wn[t]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),Wn[t]=n;{var i=t.toLowerCase();pa[i]=t,t==="onDoubleClick"&&(pa.ondblclick=t)}for(var l=0;l<n.length;l++)Wa.add(n[l])}var $t=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ln=Object.prototype.hasOwnProperty;function Ar(t){{var n=typeof Symbol=="function"&&Symbol.toStringTag,i=n&&t[Symbol.toStringTag]||t.constructor.name||"Object";return i}}function En(t){try{return un(t),!1}catch{return!0}}function un(t){return""+t}function Pr(t,n){if(En(t))return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Ar(t)),un(t)}function Ga(t){if(En(t))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ar(t)),un(t)}function Yr(t,n){if(En(t))return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Ar(t)),un(t)}function Ya(t,n){if(En(t))return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Ar(t)),un(t)}function Li(t){if(En(t))return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Ar(t)),un(t)}function kr(t){if(En(t))return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Ar(t)),un(t)}var Da=0,Ir=1,Kr=2,Yn=3,pr=4,rl=5,al=6,se=":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",_e=se+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Xe=new RegExp("^["+se+"]["+_e+"]*$"),yt={},gt={};function fn(t){return ln.call(gt,t)?!0:ln.call(yt,t)?!1:Xe.test(t)?(gt[t]=!0,!0):(yt[t]=!0,c("Invalid attribute name: `%s`",t),!1)}function sn(t,n,i){return n!==null?n.type===Da:i?!1:t.length>2&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")}function dn(t,n,i,l){if(i!==null&&i.type===Da)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(l)return!1;if(i!==null)return!i.acceptsBooleans;var s=t.toLowerCase().slice(0,5);return s!=="data-"&&s!=="aria-"}default:return!1}}function qt(t,n,i,l){if(n===null||typeof n>"u"||dn(t,n,i,l))return!0;if(l)return!1;if(i!==null)switch(i.type){case Yn:return!n;case pr:return n===!1;case rl:return isNaN(n);case al:return isNaN(n)||n<1}return!1}function Aa(t){return Kt.hasOwnProperty(t)?Kt[t]:null}function pn(t,n,i,l,s,d,p){this.acceptsBooleans=n===Kr||n===Yn||n===pr,this.attributeName=l,this.attributeNamespace=s,this.mustUseProperty=i,this.propertyName=t,this.type=n,this.sanitizeURL=d,this.removeEmptyString=p}var Kt={},Ka=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ka.forEach(function(t){Kt[t]=new pn(t,Da,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var n=t[0],i=t[1];Kt[n]=new pn(n,Ir,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){Kt[t]=new pn(t,Kr,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Kt[t]=new pn(t,Kr,!1,t,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(t){Kt[t]=new pn(t,Yn,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){Kt[t]=new pn(t,Yn,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){Kt[t]=new pn(t,pr,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){Kt[t]=new pn(t,al,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){Kt[t]=new pn(t,rl,!1,t.toLowerCase(),null,!1,!1)});var Ni=/[\-\:]([a-z])/g,fo=function(t){return t[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(t){var n=t.replace(Ni,fo);Kt[n]=new pn(n,Ir,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var n=t.replace(Ni,fo);Kt[n]=new pn(n,Ir,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var n=t.replace(Ni,fo);Kt[n]=new pn(n,Ir,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){Kt[t]=new pn(t,Ir,!1,t.toLowerCase(),null,!1,!1)});var vs="xlinkHref";Kt[vs]=new pn("xlinkHref",Ir,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){Kt[t]=new pn(t,Ir,!1,t.toLowerCase(),null,!0,!0)});var il=/^[\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,ru=!1;function ms(t){!ru&&il.test(t)&&(ru=!0,c("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(t)))}function $i(t,n,i,l){if(l.mustUseProperty){var s=l.propertyName;return t[s]}else{Pr(i,n),l.sanitizeURL&&ms(""+i);var d=l.attributeName,p=null;if(l.type===pr){if(t.hasAttribute(d)){var y=t.getAttribute(d);return y===""?!0:qt(n,i,l,!1)?y:y===""+i?i:y}}else if(t.hasAttribute(d)){if(qt(n,i,l,!1))return t.getAttribute(d);if(l.type===Yn)return i;p=t.getAttribute(d)}return qt(n,i,l,!1)?p===null?i:p:p===""+i?i:p}}function ol(t,n,i,l){{if(!fn(n))return;if(!t.hasAttribute(n))return i===void 0?void 0:null;var s=t.getAttribute(n);return Pr(i,n),s===""+i?i:s}}function po(t,n,i,l){var s=Aa(n);if(!sn(n,s,l)){if(qt(n,i,s,l)&&(i=null),l||s===null){if(fn(n)){var d=n;i===null?t.removeAttribute(d):(Pr(i,n),t.setAttribute(d,""+i))}return}var p=s.mustUseProperty;if(p){var y=s.propertyName;if(i===null){var g=s.type;t[y]=g===Yn?!1:""}else t[y]=i;return}var w=s.attributeName,S=s.attributeNamespace;if(i===null)t.removeAttribute(w);else{var k=s.type,P;k===Yn||k===pr&&i===!0?P="":(Pr(i,w),P=""+i,s.sanitizeURL&&ms(P.toString())),S?t.setAttributeNS(S,w,P):t.setAttribute(w,P)}}}var qi=Symbol.for("react.element"),Xa=Symbol.for("react.portal"),Bi=Symbol.for("react.fragment"),ll=Symbol.for("react.strict_mode"),ul=Symbol.for("react.profiler"),sl=Symbol.for("react.provider"),au=Symbol.for("react.context"),Gt=Symbol.for("react.forward_ref"),vo=Symbol.for("react.suspense"),cl=Symbol.for("react.suspense_list"),Ui=Symbol.for("react.memo"),Cn=Symbol.for("react.lazy"),ef=Symbol.for("react.scope"),tf=Symbol.for("react.debug_trace_mode"),hs=Symbol.for("react.offscreen"),nf=Symbol.for("react.legacy_hidden"),ys=Symbol.for("react.cache"),rf=Symbol.for("react.tracing_marker"),gs=Symbol.iterator,af="@@iterator";function Qa(t){if(t===null||typeof t!="object")return null;var n=gs&&t[gs]||t[af];return typeof n=="function"?n:null}var Ke=Object.assign,mo=0,O,X,Q,ee,Pe,Qe,Ot;function In(){}In.__reactDisabledLog=!0;function Kn(){{if(mo===0){O=console.log,X=console.info,Q=console.warn,ee=console.error,Pe=console.group,Qe=console.groupCollapsed,Ot=console.groupEnd;var t={configurable:!0,enumerable:!0,value:In,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}mo++}}function Xn(){{if(mo--,mo===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ke({},t,{value:O}),info:Ke({},t,{value:X}),warn:Ke({},t,{value:Q}),error:Ke({},t,{value:ee}),group:Ke({},t,{value:Pe}),groupCollapsed:Ke({},t,{value:Qe}),groupEnd:Ke({},t,{value:Ot})})}mo<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var tn=a.ReactCurrentDispatcher,Ja;function Lr(t,n,i){{if(Ja===void 0)try{throw Error()}catch(s){var l=s.stack.trim().match(/\n( *(at )?)/);Ja=l&&l[1]||""}return`
|
|
92
|
+
`+Ja+t}}var Fi=!1,Za;{var ho=typeof WeakMap=="function"?WeakMap:Map;Za=new ho}function iu(t,n){if(!t||Fi)return"";{var i=Za.get(t);if(i!==void 0)return i}var l;Fi=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=tn.current,tn.current=null,Kn();try{if(n){var p=function(){throw Error()};if(Object.defineProperty(p.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(H){l=H}Reflect.construct(t,[],p)}else{try{p.call()}catch(H){l=H}t.call(p.prototype)}}else{try{throw Error()}catch(H){l=H}t()}}catch(H){if(H&&l&&typeof H.stack=="string"){for(var y=H.stack.split(`
|
|
93
|
+
`),g=l.stack.split(`
|
|
94
|
+
`),w=y.length-1,S=g.length-1;w>=1&&S>=0&&y[w]!==g[S];)S--;for(;w>=1&&S>=0;w--,S--)if(y[w]!==g[S]){if(w!==1||S!==1)do if(w--,S--,S<0||y[w]!==g[S]){var k=`
|
|
95
|
+
`+y[w].replace(" at new "," at ");return t.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",t.displayName)),typeof t=="function"&&Za.set(t,k),k}while(w>=1&&S>=0);break}}}finally{Fi=!1,tn.current=d,Xn(),Error.prepareStackTrace=s}var P=t?t.displayName||t.name:"",F=P?Lr(P):"";return typeof t=="function"&&Za.set(t,F),F}function ou(t,n,i){return iu(t,!0)}function Xr(t,n,i){return iu(t,!1)}function bs(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function ei(t,n,i){if(t==null)return"";if(typeof t=="function")return iu(t,bs(t));if(typeof t=="string")return Lr(t);switch(t){case vo:return Lr("Suspense");case cl:return Lr("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case Gt:return Xr(t.render);case Ui:return ei(t.type,n,i);case Cn:{var l=t,s=l._payload,d=l._init;try{return ei(d(s),n,i)}catch{}}}return""}function lu(t){switch(t._debugOwner&&t._debugOwner.type,t._debugSource,t.tag){case M:return Lr(t.type);case N:return Lr("Lazy");case J:return Lr("Suspense");case ce:return Lr("SuspenseList");case m:case C:case K:return Xr(t.type);case U:return Xr(t.type.render);case h:return ou(t.type);default:return""}}function yo(t){try{var n="",i=t;do n+=lu(i),i=i.return;while(i);return n}catch(l){return`
|
|
96
|
+
Error generating stack: `+l.message+`
|
|
97
|
+
`+l.stack}}function ti(t,n,i){var l=t.displayName;if(l)return l;var s=n.displayName||n.name||"";return s!==""?i+"("+s+")":i}function of(t){return t.displayName||"Context"}function ut(t){if(t==null)return null;if(typeof t.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Bi:return"Fragment";case Xa:return"Portal";case ul:return"Profiler";case ll:return"StrictMode";case vo:return"Suspense";case cl:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case au:var n=t;return of(n)+".Consumer";case sl:var i=t;return of(i._context)+".Provider";case Gt:return ti(t,t.render,"ForwardRef");case Ui:var l=t.displayName||null;return l!==null?l:ut(t.type)||"Memo";case Cn:{var s=t,d=s._payload,p=s._init;try{return ut(p(d))}catch{return null}}}return null}function lf(t,n,i){var l=n.displayName||n.name||"";return t.displayName||(l!==""?i+"("+l+")":i)}function uf(t){return t.displayName||"Context"}function Ve(t){var n=t.tag,i=t.type;switch(n){case et:return"Cache";case T:var l=i;return uf(l)+".Consumer";case j:var s=i;return uf(s._context)+".Provider";case _:return"DehydratedFragment";case U:return lf(i,i.render,"ForwardRef");case L:return"Fragment";case M:return i;case R:return"Portal";case b:return"Root";case A:return"Text";case N:return ut(i);case B:return i===ll?"StrictMode":"Mode";case $e:return"Offscreen";case Y:return"Profiler";case De:return"Scope";case J:return"Suspense";case ce:return"SuspenseList";case ze:return"TracingMarker";case h:case m:case re:case C:case I:case K:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;break}return null}var Lp=a.ReactDebugCurrentFrame,vr=null,uu=!1;function fl(){{if(vr===null)return null;var t=vr._debugOwner;if(t!==null&&typeof t<"u")return Ve(t)}return null}function Np(){return vr===null?"":yo(vr)}function Ln(){Lp.getCurrentStack=null,vr=null,uu=!1}function Xt(t){Lp.getCurrentStack=t===null?null:Np,vr=t,uu=!1}function $p(){return vr}function va(t){uu=t}function Qr(t){return""+t}function ji(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return kr(t),t;default:return""}}var i0={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Es(t,n){i0[n.type]||n.onChange||n.onInput||n.readOnly||n.disabled||n.value==null||c("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`."),n.onChange||n.readOnly||n.disabled||n.checked==null||c("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 su(t){var n=t.type,i=t.nodeName;return i&&i.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function qp(t){return t._valueTracker}function dl(t){t._valueTracker=null}function Bp(t){var n="";return t&&(su(t)?n=t.checked?"true":"false":n=t.value),n}function Up(t){var n=su(t)?"checked":"value",i=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);kr(t[n]);var l=""+t[n];if(!(t.hasOwnProperty(n)||typeof i>"u"||typeof i.get!="function"||typeof i.set!="function")){var s=i.get,d=i.set;Object.defineProperty(t,n,{configurable:!0,get:function(){return s.call(this)},set:function(y){kr(y),l=""+y,d.call(this,y)}}),Object.defineProperty(t,n,{enumerable:i.enumerable});var p={getValue:function(){return l},setValue:function(y){kr(y),l=""+y},stopTracking:function(){dl(t),delete t[n]}};return p}}function go(t){qp(t)||(t._valueTracker=Up(t))}function Cs(t){if(!t)return!1;var n=qp(t);if(!n)return!0;var i=n.getValue(),l=Bp(t);return l!==i?(n.setValue(l),!0):!1}function pl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var ws=!1,Fp=!1,jp=!1,Vp=!1;function Hp(t){var n=t.type==="checkbox"||t.type==="radio";return n?t.checked!=null:t.value!=null}function E(t,n){var i=t,l=n.checked,s=Ke({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??i._wrapperState.initialChecked});return s}function D(t,n){Es("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!Fp&&(c("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",fl()||"A component",n.type),Fp=!0),n.value!==void 0&&n.defaultValue!==void 0&&!ws&&(c("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",fl()||"A component",n.type),ws=!0);var i=t,l=n.defaultValue==null?"":n.defaultValue;i._wrapperState={initialChecked:n.checked!=null?n.checked:n.defaultChecked,initialValue:ji(n.value!=null?n.value:l),controlled:Hp(n)}}function V(t,n){var i=t,l=n.checked;l!=null&&po(i,"checked",l,!1)}function z(t,n){var i=t;{var l=Hp(n);!i._wrapperState.controlled&&l&&!Vp&&(c("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Vp=!0),i._wrapperState.controlled&&!l&&!jp&&(c("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),jp=!0)}V(t,n);var s=ji(n.value),d=n.type;if(s!=null)d==="number"?(s===0&&i.value===""||i.value!=s)&&(i.value=Qr(s)):i.value!==Qr(s)&&(i.value=Qr(s));else if(d==="submit"||d==="reset"){i.removeAttribute("value");return}n.hasOwnProperty("value")?qe(i,n.type,s):n.hasOwnProperty("defaultValue")&&qe(i,n.type,ji(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(i.defaultChecked=!!n.defaultChecked)}function ie(t,n,i){var l=t;if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var s=n.type,d=s==="submit"||s==="reset";if(d&&(n.value===void 0||n.value===null))return;var p=Qr(l._wrapperState.initialValue);i||p!==l.value&&(l.value=p),l.defaultValue=p}var y=l.name;y!==""&&(l.name=""),l.defaultChecked=!l.defaultChecked,l.defaultChecked=!!l._wrapperState.initialChecked,y!==""&&(l.name=y)}function Le(t,n){var i=t;z(i,n),be(i,n)}function be(t,n){var i=n.name;if(n.type==="radio"&&i!=null){for(var l=t;l.parentNode;)l=l.parentNode;Pr(i,"name");for(var s=l.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),d=0;d<s.length;d++){var p=s[d];if(!(p===t||p.form!==t.form)){var y=Dv(p);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Cs(p),z(p,y)}}}}function qe(t,n,i){(n!=="number"||pl(t.ownerDocument)!==t)&&(i==null?t.defaultValue=Qr(t._wrapperState.initialValue):t.defaultValue!==Qr(i)&&(t.defaultValue=Qr(i)))}var tt=!1,bt=!1,Dt=!1;function At(t,n){n.value==null&&(typeof n.children=="object"&&n.children!==null?e.Children.forEach(n.children,function(i){i!=null&&(typeof i=="string"||typeof i=="number"||bt||(bt=!0,c("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):n.dangerouslySetInnerHTML!=null&&(Dt||(Dt=!0,c("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),n.selected!=null&&!tt&&(c("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),tt=!0)}function jt(t,n){n.value!=null&&t.setAttribute("value",Qr(ji(n.value)))}var nn=Array.isArray;function vt(t){return nn(t)}var vl;vl=!1;function Ss(){var t=fl();return t?`
|
|
98
|
+
|
|
99
|
+
Check the render method of \``+t+"`.":""}var sf=["value","defaultValue"];function o0(t){{Es("select",t);for(var n=0;n<sf.length;n++){var i=sf[n];if(t[i]!=null){var l=vt(t[i]);t.multiple&&!l?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,Ss()):!t.multiple&&l&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,Ss())}}}}function bo(t,n,i,l){var s=t.options;if(n){for(var d=i,p={},y=0;y<d.length;y++)p["$"+d[y]]=!0;for(var g=0;g<s.length;g++){var w=p.hasOwnProperty("$"+s[g].value);s[g].selected!==w&&(s[g].selected=w),w&&l&&(s[g].defaultSelected=!0)}}else{for(var S=Qr(ji(i)),k=null,P=0;P<s.length;P++){if(s[P].value===S){s[P].selected=!0,l&&(s[P].defaultSelected=!0);return}k===null&&!s[P].disabled&&(k=s[P])}k!==null&&(k.selected=!0)}}function cf(t,n){return Ke({},n,{value:void 0})}function ff(t,n){var i=t;o0(n),i._wrapperState={wasMultiple:!!n.multiple},n.value!==void 0&&n.defaultValue!==void 0&&!vl&&(c("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),vl=!0)}function l0(t,n){var i=t;i.multiple=!!n.multiple;var l=n.value;l!=null?bo(i,!!n.multiple,l,!1):n.defaultValue!=null&&bo(i,!!n.multiple,n.defaultValue,!0)}function x$(t,n){var i=t,l=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!n.multiple;var s=n.value;s!=null?bo(i,!!n.multiple,s,!1):l!==!!n.multiple&&(n.defaultValue!=null?bo(i,!!n.multiple,n.defaultValue,!0):bo(i,!!n.multiple,n.multiple?[]:"",!1))}function O$(t,n){var i=t,l=n.value;l!=null&&bo(i,!!n.multiple,l,!1)}var c1=!1;function u0(t,n){var i=t;if(n.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var l=Ke({},n,{value:void 0,defaultValue:void 0,children:Qr(i._wrapperState.initialValue)});return l}function f1(t,n){var i=t;Es("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!c1&&(c("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",fl()||"A component"),c1=!0);var l=n.value;if(l==null){var s=n.children,d=n.defaultValue;if(s!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(vt(s)){if(s.length>1)throw new Error("<textarea> can only have at most one child.");s=s[0]}d=s}}d==null&&(d=""),l=d}i._wrapperState={initialValue:ji(l)}}function d1(t,n){var i=t,l=ji(n.value),s=ji(n.defaultValue);if(l!=null){var d=Qr(l);d!==i.value&&(i.value=d),n.defaultValue==null&&i.defaultValue!==d&&(i.defaultValue=d)}s!=null&&(i.defaultValue=Qr(s))}function p1(t,n){var i=t,l=i.textContent;l===i._wrapperState.initialValue&&l!==""&&l!==null&&(i.value=l)}function M$(t,n){d1(t,n)}var Eo="http://www.w3.org/1999/xhtml",D$="http://www.w3.org/1998/Math/MathML",s0="http://www.w3.org/2000/svg";function c0(t){switch(t){case"svg":return s0;case"math":return D$;default:return Eo}}function f0(t,n){return t==null||t===Eo?c0(n):t===s0&&n==="foreignObject"?Eo:t}var A$=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,i,l,s){MSApp.execUnsafeLocalFunction(function(){return t(n,i,l,s)})}:t},zp,v1=A$(function(t,n){if(t.namespaceURI===s0&&!("innerHTML"in t)){zp=zp||document.createElement("div"),zp.innerHTML="<svg>"+n.valueOf().toString()+"</svg>";for(var i=zp.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;i.firstChild;)t.appendChild(i.firstChild);return}t.innerHTML=n}),Jr=1,Co=3,vn=8,wo=9,d0=11,Wp=function(t,n){if(n){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===Co){i.nodeValue=n;return}}t.textContent=n},P$={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},df={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function k$(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var I$=["Webkit","ms","Moz","O"];Object.keys(df).forEach(function(t){I$.forEach(function(n){df[k$(n,t)]=df[t]})});function p0(t,n,i){var l=n==null||typeof n=="boolean"||n==="";return l?"":!i&&typeof n=="number"&&n!==0&&!(df.hasOwnProperty(t)&&df[t])?n+"px":(Ya(n,t),(""+n).trim())}var L$=/([A-Z])/g,N$=/^ms-/;function $$(t){return t.replace(L$,"-$1").toLowerCase().replace(N$,"-ms-")}var m1=function(){};{var q$=/^(?:webkit|moz|o)[A-Z]/,B$=/^-ms-/,U$=/-(.)/g,h1=/;\s*$/,_s={},v0={},y1=!1,g1=!1,F$=function(t){return t.replace(U$,function(n,i){return i.toUpperCase()})},j$=function(t){_s.hasOwnProperty(t)&&_s[t]||(_s[t]=!0,c("Unsupported style property %s. Did you mean %s?",t,F$(t.replace(B$,"ms-"))))},V$=function(t){_s.hasOwnProperty(t)&&_s[t]||(_s[t]=!0,c("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},H$=function(t,n){v0.hasOwnProperty(n)&&v0[n]||(v0[n]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(h1,"")))},z$=function(t,n){y1||(y1=!0,c("`NaN` is an invalid value for the `%s` css style property.",t))},W$=function(t,n){g1||(g1=!0,c("`Infinity` is an invalid value for the `%s` css style property.",t))};m1=function(t,n){t.indexOf("-")>-1?j$(t):q$.test(t)?V$(t):h1.test(n)&&H$(t,n),typeof n=="number"&&(isNaN(n)?z$(t,n):isFinite(n)||W$(t,n))}}var G$=m1;function Y$(t){{var n="",i="";for(var l in t)if(t.hasOwnProperty(l)){var s=t[l];if(s!=null){var d=l.indexOf("--")===0;n+=i+(d?l:$$(l))+":",n+=p0(l,s,d),i=";"}}return n||null}}function b1(t,n){var i=t.style;for(var l in n)if(n.hasOwnProperty(l)){var s=l.indexOf("--")===0;s||G$(l,n[l]);var d=p0(l,n[l],s);l==="float"&&(l="cssFloat"),s?i.setProperty(l,d):i[l]=d}}function K$(t){return t==null||typeof t=="boolean"||t===""}function E1(t){var n={};for(var i in t)for(var l=P$[i]||[i],s=0;s<l.length;s++)n[l[s]]=i;return n}function X$(t,n){{if(!n)return;var i=E1(t),l=E1(n),s={};for(var d in i){var p=i[d],y=l[d];if(y&&p!==y){var g=p+","+y;if(s[g])continue;s[g]=!0,c("%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.",K$(t[p])?"Removing":"Updating",p,y)}}}}var Q$={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},J$=Ke({menuitem:!0},Q$),Z$="__html";function m0(t,n){if(n){if(J$[t]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw new Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof n.dangerouslySetInnerHTML!="object"||!(Z$ in n.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&c("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."),n.style!=null&&typeof n.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function cu(t,n){if(t.indexOf("-")===-1)return typeof n.is=="string";switch(t){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 Gp={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},C1={"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},Rs={},eq=new RegExp("^(aria)-["+_e+"]*$"),tq=new RegExp("^(aria)[A-Z]["+_e+"]*$");function nq(t,n){{if(ln.call(Rs,n)&&Rs[n])return!0;if(tq.test(n)){var i="aria-"+n.slice(4).toLowerCase(),l=C1.hasOwnProperty(i)?i:null;if(l==null)return c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),Rs[n]=!0,!0;if(n!==l)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,l),Rs[n]=!0,!0}if(eq.test(n)){var s=n.toLowerCase(),d=C1.hasOwnProperty(s)?s:null;if(d==null)return Rs[n]=!0,!1;if(n!==d)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,d),Rs[n]=!0,!0}}return!0}function rq(t,n){{var i=[];for(var l in n){var s=nq(t,l);s||i.push(l)}var d=i.map(function(p){return"`"+p+"`"}).join(", ");i.length===1?c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,t):i.length>1&&c("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,t)}}function aq(t,n){cu(t,n)||rq(t,n)}var w1=!1;function iq(t,n){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;n!=null&&n.value===null&&!w1&&(w1=!0,t==="select"&&n.multiple?c("`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.",t):c("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t))}}var S1=function(){};{var Nr={},_1=/^on./,oq=/^on[^A-Z]/,lq=new RegExp("^(aria)-["+_e+"]*$"),uq=new RegExp("^(aria)[A-Z]["+_e+"]*$");S1=function(t,n,i,l){if(ln.call(Nr,n)&&Nr[n])return!0;var s=n.toLowerCase();if(s==="onfocusin"||s==="onfocusout")return c("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."),Nr[n]=!0,!0;if(l!=null){var d=l.registrationNameDependencies,p=l.possibleRegistrationNames;if(d.hasOwnProperty(n))return!0;var y=p.hasOwnProperty(s)?p[s]:null;if(y!=null)return c("Invalid event handler property `%s`. Did you mean `%s`?",n,y),Nr[n]=!0,!0;if(_1.test(n))return c("Unknown event handler property `%s`. It will be ignored.",n),Nr[n]=!0,!0}else if(_1.test(n))return oq.test(n)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),Nr[n]=!0,!0;if(lq.test(n)||uq.test(n))return!0;if(s==="innerhtml")return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Nr[n]=!0,!0;if(s==="aria")return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Nr[n]=!0,!0;if(s==="is"&&i!==null&&i!==void 0&&typeof i!="string")return c("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),Nr[n]=!0,!0;if(typeof i=="number"&&isNaN(i))return c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",n),Nr[n]=!0,!0;var g=Aa(n),w=g!==null&&g.type===Da;if(Gp.hasOwnProperty(s)){var S=Gp[s];if(S!==n)return c("Invalid DOM property `%s`. Did you mean `%s`?",n,S),Nr[n]=!0,!0}else if(!w&&n!==s)return c("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.",n,s),Nr[n]=!0,!0;return typeof i=="boolean"&&dn(n,i,g,!1)?(i?c('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()}.',i,n,n,i,n):c('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.',i,n,n,i,n,n,n),Nr[n]=!0,!0):w?!0:dn(n,i,g,!1)?(Nr[n]=!0,!1):((i==="false"||i==="true")&&g!==null&&g.type===Yn&&(c("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",i,n,i==="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".',n,i),Nr[n]=!0),!0)}}var sq=function(t,n,i){{var l=[];for(var s in n){var d=S1(t,s,n[s],i);d||l.push(s)}var p=l.map(function(y){return"`"+y+"`"}).join(", ");l.length===1?c("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",p,t):l.length>1&&c("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",p,t)}};function cq(t,n,i){cu(t,n)||sq(t,n,i)}var R1=1,h0=2,pf=4,fq=R1|h0|pf,vf=null;function dq(t){vf!==null&&c("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),vf=t}function pq(){vf===null&&c("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),vf=null}function vq(t){return t===vf}function y0(t){var n=t.target||t.srcElement||window;return n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===Co?n.parentNode:n}var g0=null,Ts=null,xs=null;function T1(t){var n=wl(t);if(n){if(typeof g0!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var i=n.stateNode;if(i){var l=Dv(i);g0(n.stateNode,n.type,l)}}}function mq(t){g0=t}function x1(t){Ts?xs?xs.push(t):xs=[t]:Ts=t}function hq(){return Ts!==null||xs!==null}function O1(){if(Ts){var t=Ts,n=xs;if(Ts=null,xs=null,T1(t),n)for(var i=0;i<n.length;i++)T1(n[i])}}var M1=function(t,n){return t(n)},D1=function(){},b0=!1;function yq(){var t=hq();t&&(D1(),O1())}function A1(t,n,i){if(b0)return t(n,i);b0=!0;try{return M1(t,n,i)}finally{b0=!1,yq()}}function gq(t,n,i){M1=t,D1=i}function bq(t){return t==="button"||t==="input"||t==="select"||t==="textarea"}function Eq(t,n,i){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(i.disabled&&bq(n));default:return!1}}function mf(t,n){var i=t.stateNode;if(i===null)return null;var l=Dv(i);if(l===null)return null;var s=l[n];if(Eq(n,t.type,l))return null;if(s&&typeof s!="function")throw new Error("Expected `"+n+"` listener to be a function, instead got a value of `"+typeof s+"` type.");return s}var E0=!1;if($t)try{var hf={};Object.defineProperty(hf,"passive",{get:function(){E0=!0}}),window.addEventListener("test",hf,hf),window.removeEventListener("test",hf,hf)}catch{E0=!1}function P1(t,n,i,l,s,d,p,y,g){var w=Array.prototype.slice.call(arguments,3);try{n.apply(i,w)}catch(S){this.onError(S)}}var k1=P1;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var C0=document.createElement("react");k1=function(n,i,l,s,d,p,y,g,w){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var S=document.createEvent("Event"),k=!1,P=!0,F=window.event,H=Object.getOwnPropertyDescriptor(window,"event");function W(){C0.removeEventListener(G,xe,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=F)}var ue=Array.prototype.slice.call(arguments,3);function xe(){k=!0,W(),i.apply(l,ue),P=!1}var Ce,at=!1,Je=!1;function $(q){if(Ce=q.error,at=!0,Ce===null&&q.colno===0&&q.lineno===0&&(Je=!0),q.defaultPrevented&&Ce!=null&&typeof Ce=="object")try{Ce._suppressLogging=!0}catch{}}var G="react-"+(n||"invokeguardedcallback");if(window.addEventListener("error",$),C0.addEventListener(G,xe,!1),S.initEvent(G,!1,!1),C0.dispatchEvent(S),H&&Object.defineProperty(window,"event",H),k&&P&&(at?Je&&(Ce=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Ce=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Ce)),window.removeEventListener("error",$),!k)return W(),P1.apply(this,arguments)}}var Cq=k1,Os=!1,Yp=null,Kp=!1,w0=null,wq={onError:function(t){Os=!0,Yp=t}};function S0(t,n,i,l,s,d,p,y,g){Os=!1,Yp=null,Cq.apply(wq,arguments)}function Sq(t,n,i,l,s,d,p,y,g){if(S0.apply(this,arguments),Os){var w=_0();Kp||(Kp=!0,w0=w)}}function _q(){if(Kp){var t=w0;throw Kp=!1,w0=null,t}}function Rq(){return Os}function _0(){if(Os){var t=Yp;return Os=!1,Yp=null,t}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Ms(t){return t._reactInternals}function Tq(t){return t._reactInternals!==void 0}function xq(t,n){t._reactInternals=n}var Ie=0,Ds=1,mn=2,lt=4,fu=16,yf=32,R0=64,mt=128,So=256,ml=512,du=1024,ni=2048,_o=4096,pu=8192,Xp=16384,Oq=ni|lt|R0|ml|du|Xp,Mq=32767,gf=32768,$r=65536,T0=131072,I1=1048576,x0=2097152,vu=4194304,O0=8388608,Ro=16777216,Qp=33554432,M0=lt|du|0,D0=mn|lt|fu|yf|ml|_o|pu,bf=lt|R0|ml|pu,As=ni|fu,To=vu|O0|x0,Dq=a.ReactCurrentOwner;function mu(t){var n=t,i=t;if(t.alternate)for(;n.return;)n=n.return;else{var l=n;do n=l,(n.flags&(mn|_o))!==Ie&&(i=n.return),l=n.return;while(l)}return n.tag===b?i:null}function L1(t){if(t.tag===J){var n=t.memoizedState;if(n===null){var i=t.alternate;i!==null&&(n=i.memoizedState)}if(n!==null)return n.dehydrated}return null}function N1(t){return t.tag===b?t.stateNode.containerInfo:null}function Aq(t){return mu(t)===t}function Pq(t){{var n=Dq.current;if(n!==null&&n.tag===h){var i=n,l=i.stateNode;l._warnedAboutRefsInRender||c("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ve(i)||"A component"),l._warnedAboutRefsInRender=!0}}var s=Ms(t);return s?mu(s)===s:!1}function $1(t){if(mu(t)!==t)throw new Error("Unable to find node on an unmounted component.")}function q1(t){var n=t.alternate;if(!n){var i=mu(t);if(i===null)throw new Error("Unable to find node on an unmounted component.");return i!==t?null:t}for(var l=t,s=n;;){var d=l.return;if(d===null)break;var p=d.alternate;if(p===null){var y=d.return;if(y!==null){l=s=y;continue}break}if(d.child===p.child){for(var g=d.child;g;){if(g===l)return $1(d),t;if(g===s)return $1(d),n;g=g.sibling}throw new Error("Unable to find node on an unmounted component.")}if(l.return!==s.return)l=d,s=p;else{for(var w=!1,S=d.child;S;){if(S===l){w=!0,l=d,s=p;break}if(S===s){w=!0,s=d,l=p;break}S=S.sibling}if(!w){for(S=p.child;S;){if(S===l){w=!0,l=p,s=d;break}if(S===s){w=!0,s=p,l=d;break}S=S.sibling}if(!w)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(l.alternate!==s)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(l.tag!==b)throw new Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?t:n}function B1(t){var n=q1(t);return n!==null?U1(n):null}function U1(t){if(t.tag===M||t.tag===A)return t;for(var n=t.child;n!==null;){var i=U1(n);if(i!==null)return i;n=n.sibling}return null}function kq(t){var n=q1(t);return n!==null?F1(n):null}function F1(t){if(t.tag===M||t.tag===A)return t;for(var n=t.child;n!==null;){if(n.tag!==R){var i=F1(n);if(i!==null)return i}n=n.sibling}return null}var j1=r.unstable_scheduleCallback,Iq=r.unstable_cancelCallback,Lq=r.unstable_shouldYield,Nq=r.unstable_requestPaint,Nn=r.unstable_now,$q=r.unstable_getCurrentPriorityLevel,Jp=r.unstable_ImmediatePriority,A0=r.unstable_UserBlockingPriority,hu=r.unstable_NormalPriority,qq=r.unstable_LowPriority,P0=r.unstable_IdlePriority,Bq=r.unstable_yieldValue,Uq=r.unstable_setDisableYieldValue,Ps=null,mr=null,pe=null,Vi=!1,ri=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Fq(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var n=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n.isDisabled)return!0;if(!n.supportsFiber)return c("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Gr&&(t=Ke({},t,{getLaneLabelMap:Gq,injectProfilingHooks:Wq})),Ps=n.inject(t),mr=n}catch(i){c("React instrumentation encountered an error: %s.",i)}return!!n.checkDCE}function jq(t,n){if(mr&&typeof mr.onScheduleFiberRoot=="function")try{mr.onScheduleFiberRoot(Ps,t,n)}catch(i){Vi||(Vi=!0,c("React instrumentation encountered an error: %s",i))}}function Vq(t,n){if(mr&&typeof mr.onCommitFiberRoot=="function")try{var i=(t.current.flags&mt)===mt;if(Ha){var l;switch(n){case ya:l=Jp;break;case Oo:l=A0;break;case Mo:l=hu;break;case iv:l=P0;break;default:l=hu;break}mr.onCommitFiberRoot(Ps,t,l,i)}}catch(s){Vi||(Vi=!0,c("React instrumentation encountered an error: %s",s))}}function Hq(t){if(mr&&typeof mr.onPostCommitFiberRoot=="function")try{mr.onPostCommitFiberRoot(Ps,t)}catch(n){Vi||(Vi=!0,c("React instrumentation encountered an error: %s",n))}}function zq(t){if(mr&&typeof mr.onCommitFiberUnmount=="function")try{mr.onCommitFiberUnmount(Ps,t)}catch(n){Vi||(Vi=!0,c("React instrumentation encountered an error: %s",n))}}function $n(t){if(typeof Bq=="function"&&(Uq(t),u(t)),mr&&typeof mr.setStrictMode=="function")try{mr.setStrictMode(Ps,t)}catch(n){Vi||(Vi=!0,c("React instrumentation encountered an error: %s",n))}}function Wq(t){pe=t}function Gq(){{for(var t=new Map,n=1,i=0;i<I0;i++){var l=pB(n);t.set(n,l),n*=2}return t}}function Yq(t){pe!==null&&typeof pe.markCommitStarted=="function"&&pe.markCommitStarted(t)}function V1(){pe!==null&&typeof pe.markCommitStopped=="function"&&pe.markCommitStopped()}function Ef(t){pe!==null&&typeof pe.markComponentRenderStarted=="function"&&pe.markComponentRenderStarted(t)}function ks(){pe!==null&&typeof pe.markComponentRenderStopped=="function"&&pe.markComponentRenderStopped()}function Kq(t){pe!==null&&typeof pe.markComponentPassiveEffectMountStarted=="function"&&pe.markComponentPassiveEffectMountStarted(t)}function Xq(){pe!==null&&typeof pe.markComponentPassiveEffectMountStopped=="function"&&pe.markComponentPassiveEffectMountStopped()}function Qq(t){pe!==null&&typeof pe.markComponentPassiveEffectUnmountStarted=="function"&&pe.markComponentPassiveEffectUnmountStarted(t)}function Jq(){pe!==null&&typeof pe.markComponentPassiveEffectUnmountStopped=="function"&&pe.markComponentPassiveEffectUnmountStopped()}function Zq(t){pe!==null&&typeof pe.markComponentLayoutEffectMountStarted=="function"&&pe.markComponentLayoutEffectMountStarted(t)}function eB(){pe!==null&&typeof pe.markComponentLayoutEffectMountStopped=="function"&&pe.markComponentLayoutEffectMountStopped()}function H1(t){pe!==null&&typeof pe.markComponentLayoutEffectUnmountStarted=="function"&&pe.markComponentLayoutEffectUnmountStarted(t)}function z1(){pe!==null&&typeof pe.markComponentLayoutEffectUnmountStopped=="function"&&pe.markComponentLayoutEffectUnmountStopped()}function tB(t,n,i){pe!==null&&typeof pe.markComponentErrored=="function"&&pe.markComponentErrored(t,n,i)}function nB(t,n,i){pe!==null&&typeof pe.markComponentSuspended=="function"&&pe.markComponentSuspended(t,n,i)}function rB(t){pe!==null&&typeof pe.markLayoutEffectsStarted=="function"&&pe.markLayoutEffectsStarted(t)}function aB(){pe!==null&&typeof pe.markLayoutEffectsStopped=="function"&&pe.markLayoutEffectsStopped()}function iB(t){pe!==null&&typeof pe.markPassiveEffectsStarted=="function"&&pe.markPassiveEffectsStarted(t)}function oB(){pe!==null&&typeof pe.markPassiveEffectsStopped=="function"&&pe.markPassiveEffectsStopped()}function W1(t){pe!==null&&typeof pe.markRenderStarted=="function"&&pe.markRenderStarted(t)}function lB(){pe!==null&&typeof pe.markRenderYielded=="function"&&pe.markRenderYielded()}function G1(){pe!==null&&typeof pe.markRenderStopped=="function"&&pe.markRenderStopped()}function uB(t){pe!==null&&typeof pe.markRenderScheduled=="function"&&pe.markRenderScheduled(t)}function sB(t,n){pe!==null&&typeof pe.markForceUpdateScheduled=="function"&&pe.markForceUpdateScheduled(t,n)}function k0(t,n){pe!==null&&typeof pe.markStateUpdateScheduled=="function"&&pe.markStateUpdateScheduled(t,n)}var Ae=0,nt=1,Et=2,rn=8,Hi=16,Y1=Math.clz32?Math.clz32:dB,cB=Math.log,fB=Math.LN2;function dB(t){var n=t>>>0;return n===0?32:31-(cB(n)/fB|0)|0}var I0=31,te=0,qn=0,Be=1,Is=2,xo=4,yu=8,zi=16,Cf=32,Ls=4194240,wf=64,L0=128,N0=256,$0=512,q0=1024,B0=2048,U0=4096,F0=8192,j0=16384,V0=32768,H0=65536,z0=131072,W0=262144,G0=524288,Y0=1048576,K0=2097152,Zp=130023424,Ns=4194304,X0=8388608,Q0=16777216,J0=33554432,Z0=67108864,K1=Ns,Sf=134217728,X1=268435455,_f=268435456,gu=536870912,ma=1073741824;function pB(t){{if(t&Be)return"Sync";if(t&Is)return"InputContinuousHydration";if(t&xo)return"InputContinuous";if(t&yu)return"DefaultHydration";if(t&zi)return"Default";if(t&Cf)return"TransitionHydration";if(t&Ls)return"Transition";if(t&Zp)return"Retry";if(t&Sf)return"SelectiveHydration";if(t&_f)return"IdleHydration";if(t&gu)return"Idle";if(t&ma)return"Offscreen"}}var Bt=-1,ev=wf,tv=Ns;function Rf(t){switch(bu(t)){case Be:return Be;case Is:return Is;case xo:return xo;case yu:return yu;case zi:return zi;case Cf:return Cf;case wf:case L0:case N0:case $0:case q0:case B0:case U0:case F0:case j0:case V0:case H0:case z0:case W0:case G0:case Y0:case K0:return t&Ls;case Ns:case X0:case Q0:case J0:case Z0:return t&Zp;case Sf:return Sf;case _f:return _f;case gu:return gu;case ma:return ma;default:return c("Should have found matching lanes. This is a bug in React."),t}}function nv(t,n){var i=t.pendingLanes;if(i===te)return te;var l=te,s=t.suspendedLanes,d=t.pingedLanes,p=i&X1;if(p!==te){var y=p&~s;if(y!==te)l=Rf(y);else{var g=p&d;g!==te&&(l=Rf(g))}}else{var w=i&~s;w!==te?l=Rf(w):d!==te&&(l=Rf(d))}if(l===te)return te;if(n!==te&&n!==l&&(n&s)===te){var S=bu(l),k=bu(n);if(S>=k||S===zi&&(k&Ls)!==te)return n}(l&xo)!==te&&(l|=i&zi);var P=t.entangledLanes;if(P!==te)for(var F=t.entanglements,H=l&P;H>0;){var W=Eu(H),ue=1<<W;l|=F[W],H&=~ue}return l}function vB(t,n){for(var i=t.eventTimes,l=Bt;n>0;){var s=Eu(n),d=1<<s,p=i[s];p>l&&(l=p),n&=~d}return l}function mB(t,n){switch(t){case Be:case Is:case xo:return n+250;case yu:case zi:case Cf:case wf:case L0:case N0:case $0:case q0:case B0:case U0:case F0:case j0:case V0:case H0:case z0:case W0:case G0:case Y0:case K0:return n+5e3;case Ns:case X0:case Q0:case J0:case Z0:return Bt;case Sf:case _f:case gu:case ma:return Bt;default:return c("Should have found matching lanes. This is a bug in React."),Bt}}function hB(t,n){for(var i=t.pendingLanes,l=t.suspendedLanes,s=t.pingedLanes,d=t.expirationTimes,p=i;p>0;){var y=Eu(p),g=1<<y,w=d[y];w===Bt?((g&l)===te||(g&s)!==te)&&(d[y]=mB(g,n)):w<=n&&(t.expiredLanes|=g),p&=~g}}function yB(t){return Rf(t.pendingLanes)}function eE(t){var n=t.pendingLanes&~ma;return n!==te?n:n&ma?ma:te}function gB(t){return(t&Be)!==te}function tE(t){return(t&X1)!==te}function Q1(t){return(t&Zp)===t}function bB(t){var n=Be|xo|zi;return(t&n)===te}function EB(t){return(t&Ls)===t}function rv(t,n){var i=Is|xo|yu|zi;return(n&i)!==te}function CB(t,n){return(n&t.expiredLanes)!==te}function J1(t){return(t&Ls)!==te}function Z1(){var t=ev;return ev<<=1,(ev&Ls)===te&&(ev=wf),t}function wB(){var t=tv;return tv<<=1,(tv&Zp)===te&&(tv=Ns),t}function bu(t){return t&-t}function Tf(t){return bu(t)}function Eu(t){return 31-Y1(t)}function nE(t){return Eu(t)}function ha(t,n){return(t&n)!==te}function $s(t,n){return(t&n)===n}function We(t,n){return t|n}function av(t,n){return t&~n}function eT(t,n){return t&n}function ule(t){return t}function SB(t,n){return t!==qn&&t<n?t:n}function rE(t){for(var n=[],i=0;i<I0;i++)n.push(t);return n}function xf(t,n,i){t.pendingLanes|=n,n!==gu&&(t.suspendedLanes=te,t.pingedLanes=te);var l=t.eventTimes,s=nE(n);l[s]=i}function _B(t,n){t.suspendedLanes|=n,t.pingedLanes&=~n;for(var i=t.expirationTimes,l=n;l>0;){var s=Eu(l),d=1<<s;i[s]=Bt,l&=~d}}function tT(t,n,i){t.pingedLanes|=t.suspendedLanes&n}function RB(t,n){var i=t.pendingLanes&~n;t.pendingLanes=n,t.suspendedLanes=te,t.pingedLanes=te,t.expiredLanes&=n,t.mutableReadLanes&=n,t.entangledLanes&=n;for(var l=t.entanglements,s=t.eventTimes,d=t.expirationTimes,p=i;p>0;){var y=Eu(p),g=1<<y;l[y]=te,s[y]=Bt,d[y]=Bt,p&=~g}}function aE(t,n){for(var i=t.entangledLanes|=n,l=t.entanglements,s=i;s;){var d=Eu(s),p=1<<d;p&n|l[d]&n&&(l[d]|=n),s&=~p}}function TB(t,n){var i=bu(n),l;switch(i){case xo:l=Is;break;case zi:l=yu;break;case wf:case L0:case N0:case $0:case q0:case B0:case U0:case F0:case j0:case V0:case H0:case z0:case W0:case G0:case Y0:case K0:case Ns:case X0:case Q0:case J0:case Z0:l=Cf;break;case gu:l=_f;break;default:l=qn;break}return(l&(t.suspendedLanes|n))!==qn?qn:l}function nT(t,n,i){if(ri)for(var l=t.pendingUpdatersLaneMap;i>0;){var s=nE(i),d=1<<s,p=l[s];p.add(n),i&=~d}}function rT(t,n){if(ri)for(var i=t.pendingUpdatersLaneMap,l=t.memoizedUpdaters;n>0;){var s=nE(n),d=1<<s,p=i[s];p.size>0&&(p.forEach(function(y){var g=y.alternate;(g===null||!l.has(g))&&l.add(y)}),p.clear()),n&=~d}}function aT(t,n){return null}var ya=Be,Oo=xo,Mo=zi,iv=gu,Of=qn;function ai(){return Of}function Bn(t){Of=t}function xB(t,n){var i=Of;try{return Of=t,n()}finally{Of=i}}function OB(t,n){return t!==0&&t<n?t:n}function MB(t,n){return t>n?t:n}function iE(t,n){return t!==0&&t<n}function iT(t){var n=bu(t);return iE(ya,n)?iE(Oo,n)?tE(n)?Mo:iv:Oo:ya}function ov(t){var n=t.current.memoizedState;return n.isDehydrated}var oT;function DB(t){oT=t}function AB(t){oT(t)}var oE;function PB(t){oE=t}var lT;function kB(t){lT=t}var uT;function IB(t){uT=t}var sT;function LB(t){sT=t}var lE=!1,lv=[],hl=null,yl=null,gl=null,Mf=new Map,Df=new Map,bl=[],NB=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function $B(t){return NB.indexOf(t)>-1}function qB(t,n,i,l,s){return{blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:s,targetContainers:[l]}}function cT(t,n){switch(t){case"focusin":case"focusout":hl=null;break;case"dragenter":case"dragleave":yl=null;break;case"mouseover":case"mouseout":gl=null;break;case"pointerover":case"pointerout":{var i=n.pointerId;Mf.delete(i);break}case"gotpointercapture":case"lostpointercapture":{var l=n.pointerId;Df.delete(l);break}}}function Af(t,n,i,l,s,d){if(t===null||t.nativeEvent!==d){var p=qB(n,i,l,s,d);if(n!==null){var y=wl(n);y!==null&&oE(y)}return p}t.eventSystemFlags|=l;var g=t.targetContainers;return s!==null&&g.indexOf(s)===-1&&g.push(s),t}function BB(t,n,i,l,s){switch(n){case"focusin":{var d=s;return hl=Af(hl,t,n,i,l,d),!0}case"dragenter":{var p=s;return yl=Af(yl,t,n,i,l,p),!0}case"mouseover":{var y=s;return gl=Af(gl,t,n,i,l,y),!0}case"pointerover":{var g=s,w=g.pointerId;return Mf.set(w,Af(Mf.get(w)||null,t,n,i,l,g)),!0}case"gotpointercapture":{var S=s,k=S.pointerId;return Df.set(k,Af(Df.get(k)||null,t,n,i,l,S)),!0}}return!1}function fT(t){var n=Su(t.target);if(n!==null){var i=mu(n);if(i!==null){var l=i.tag;if(l===J){var s=L1(i);if(s!==null){t.blockedOn=s,sT(t.priority,function(){lT(i)});return}}else if(l===b){var d=i.stateNode;if(ov(d)){t.blockedOn=N1(i);return}}}}t.blockedOn=null}function UB(t){for(var n=uT(),i={blockedOn:null,target:t,priority:n},l=0;l<bl.length&&iE(n,bl[l].priority);l++);bl.splice(l,0,i),l===0&&fT(i)}function uv(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;n.length>0;){var i=n[0],l=cE(t.domEventName,t.eventSystemFlags,i,t.nativeEvent);if(l===null){var s=t.nativeEvent,d=new s.constructor(s.type,s);dq(d),s.target.dispatchEvent(d),pq()}else{var p=wl(l);return p!==null&&oE(p),t.blockedOn=l,!1}n.shift()}return!0}function dT(t,n,i){uv(t)&&i.delete(n)}function FB(){lE=!1,hl!==null&&uv(hl)&&(hl=null),yl!==null&&uv(yl)&&(yl=null),gl!==null&&uv(gl)&&(gl=null),Mf.forEach(dT),Df.forEach(dT)}function Pf(t,n){t.blockedOn===n&&(t.blockedOn=null,lE||(lE=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,FB)))}function kf(t){if(lv.length>0){Pf(lv[0],t);for(var n=1;n<lv.length;n++){var i=lv[n];i.blockedOn===t&&(i.blockedOn=null)}}hl!==null&&Pf(hl,t),yl!==null&&Pf(yl,t),gl!==null&&Pf(gl,t);var l=function(y){return Pf(y,t)};Mf.forEach(l),Df.forEach(l);for(var s=0;s<bl.length;s++){var d=bl[s];d.blockedOn===t&&(d.blockedOn=null)}for(;bl.length>0;){var p=bl[0];if(p.blockedOn!==null)break;fT(p),p.blockedOn===null&&bl.shift()}}var qs=a.ReactCurrentBatchConfig,uE=!0;function pT(t){uE=!!t}function jB(){return uE}function VB(t,n,i){var l=vT(n),s;switch(l){case ya:s=HB;break;case Oo:s=zB;break;case Mo:default:s=sE;break}return s.bind(null,n,i,t)}function HB(t,n,i,l){var s=ai(),d=qs.transition;qs.transition=null;try{Bn(ya),sE(t,n,i,l)}finally{Bn(s),qs.transition=d}}function zB(t,n,i,l){var s=ai(),d=qs.transition;qs.transition=null;try{Bn(Oo),sE(t,n,i,l)}finally{Bn(s),qs.transition=d}}function sE(t,n,i,l){uE&&WB(t,n,i,l)}function WB(t,n,i,l){var s=cE(t,n,i,l);if(s===null){_E(t,n,l,sv,i),cT(t,l);return}if(BB(s,t,n,i,l)){l.stopPropagation();return}if(cT(t,l),n&pf&&$B(t)){for(;s!==null;){var d=wl(s);d!==null&&AB(d);var p=cE(t,n,i,l);if(p===null&&_E(t,n,l,sv,i),p===s)break;s=p}s!==null&&l.stopPropagation();return}_E(t,n,l,null,i)}var sv=null;function cE(t,n,i,l){sv=null;var s=y0(l),d=Su(s);if(d!==null){var p=mu(d);if(p===null)d=null;else{var y=p.tag;if(y===J){var g=L1(p);if(g!==null)return g;d=null}else if(y===b){var w=p.stateNode;if(ov(w))return N1(p);d=null}else p!==d&&(d=null)}}return sv=d,null}function vT(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return ya;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Oo;case"message":{var n=$q();switch(n){case Jp:return ya;case A0:return Oo;case hu:case qq:return Mo;case P0:return iv;default:return Mo}}default:return Mo}}function GB(t,n,i){return t.addEventListener(n,i,!1),i}function YB(t,n,i){return t.addEventListener(n,i,!0),i}function KB(t,n,i,l){return t.addEventListener(n,i,{capture:!0,passive:l}),i}function XB(t,n,i,l){return t.addEventListener(n,i,{passive:l}),i}var If=null,fE=null,Lf=null;function QB(t){return If=t,fE=hT(),!0}function JB(){If=null,fE=null,Lf=null}function mT(){if(Lf)return Lf;var t,n=fE,i=n.length,l,s=hT(),d=s.length;for(t=0;t<i&&n[t]===s[t];t++);var p=i-t;for(l=1;l<=p&&n[i-l]===s[d-l];l++);var y=l>1?1-l:void 0;return Lf=s.slice(t,y),Lf}function hT(){return"value"in If?If.value:If.textContent}function cv(t){var n,i=t.keyCode;return"charCode"in t?(n=t.charCode,n===0&&i===13&&(n=13)):n=i,n===10&&(n=13),n>=32||n===13?n:0}function fv(){return!0}function yT(){return!1}function ga(t){function n(i,l,s,d,p){this._reactName=i,this._targetInst=s,this.type=l,this.nativeEvent=d,this.target=p,this.currentTarget=null;for(var y in t)if(t.hasOwnProperty(y)){var g=t[y];g?this[y]=g(d):this[y]=d[y]}var w=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return w?this.isDefaultPrevented=fv:this.isDefaultPrevented=yT,this.isPropagationStopped=yT,this}return Ke(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=fv)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=fv)},persist:function(){},isPersistent:fv}),n}var Bs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dE=ga(Bs),Nf=Ke({},Bs,{view:0,detail:0}),ZB=ga(Nf),pE,vE,$f;function eU(t){t!==$f&&($f&&t.type==="mousemove"?(pE=t.screenX-$f.screenX,vE=t.screenY-$f.screenY):(pE=0,vE=0),$f=t)}var dv=Ke({},Nf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hE,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(eU(t),pE)},movementY:function(t){return"movementY"in t?t.movementY:vE}}),gT=ga(dv),tU=Ke({},dv,{dataTransfer:0}),nU=ga(tU),rU=Ke({},Nf,{relatedTarget:0}),mE=ga(rU),aU=Ke({},Bs,{animationName:0,elapsedTime:0,pseudoElement:0}),iU=ga(aU),oU=Ke({},Bs,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),lU=ga(oU),uU=Ke({},Bs,{data:0}),bT=ga(uU),sU=bT,cU={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fU={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function dU(t){if(t.key){var n=cU[t.key]||t.key;if(n!=="Unidentified")return n}if(t.type==="keypress"){var i=cv(t);return i===13?"Enter":String.fromCharCode(i)}return t.type==="keydown"||t.type==="keyup"?fU[t.keyCode]||"Unidentified":""}var pU={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vU(t){var n=this,i=n.nativeEvent;if(i.getModifierState)return i.getModifierState(t);var l=pU[t];return l?!!i[l]:!1}function hE(t){return vU}var mU=Ke({},Nf,{key:dU,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hE,charCode:function(t){return t.type==="keypress"?cv(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?cv(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),hU=ga(mU),yU=Ke({},dv,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ET=ga(yU),gU=Ke({},Nf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hE}),bU=ga(gU),EU=Ke({},Bs,{propertyName:0,elapsedTime:0,pseudoElement:0}),CU=ga(EU),wU=Ke({},dv,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),SU=ga(wU),_U=[9,13,27,32],CT=229,yE=$t&&"CompositionEvent"in window,qf=null;$t&&"documentMode"in document&&(qf=document.documentMode);var RU=$t&&"TextEvent"in window&&!qf,wT=$t&&(!yE||qf&&qf>8&&qf<=11),ST=32,_T=String.fromCharCode(ST);function TU(){ge("onBeforeInput",["compositionend","keypress","textInput","paste"]),ge("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),ge("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),ge("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var RT=!1;function xU(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function OU(t){switch(t){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function MU(t,n){return t==="keydown"&&n.keyCode===CT}function TT(t,n){switch(t){case"keyup":return _U.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==CT;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xT(t){var n=t.detail;return typeof n=="object"&&"data"in n?n.data:null}function OT(t){return t.locale==="ko"}var Us=!1;function DU(t,n,i,l,s){var d,p;if(yE?d=OU(n):Us?TT(n,l)&&(d="onCompositionEnd"):MU(n,l)&&(d="onCompositionStart"),!d)return null;wT&&!OT(l)&&(!Us&&d==="onCompositionStart"?Us=QB(s):d==="onCompositionEnd"&&Us&&(p=mT()));var y=yv(i,d);if(y.length>0){var g=new bT(d,n,null,l,s);if(t.push({event:g,listeners:y}),p)g.data=p;else{var w=xT(l);w!==null&&(g.data=w)}}}function AU(t,n){switch(t){case"compositionend":return xT(n);case"keypress":var i=n.which;return i!==ST?null:(RT=!0,_T);case"textInput":var l=n.data;return l===_T&&RT?null:l;default:return null}}function PU(t,n){if(Us){if(t==="compositionend"||!yE&&TT(t,n)){var i=mT();return JB(),Us=!1,i}return null}switch(t){case"paste":return null;case"keypress":if(!xU(n)){if(n.char&&n.char.length>1)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return wT&&!OT(n)?null:n.data;default:return null}}function kU(t,n,i,l,s){var d;if(RU?d=AU(n,l):d=PU(n,l),!d)return null;var p=yv(i,"onBeforeInput");if(p.length>0){var y=new sU("onBeforeInput","beforeinput",null,l,s);t.push({event:y,listeners:p}),y.data=d}}function IU(t,n,i,l,s,d,p){DU(t,n,i,l,s),kU(t,n,i,l,s)}var LU={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 MT(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!LU[t.type]:n==="textarea"}/**
|
|
100
|
+
* Checks if an event is supported in the current execution environment.
|
|
101
|
+
*
|
|
102
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
103
|
+
* `reset`, `load`, `error`, and `select`.
|
|
104
|
+
*
|
|
105
|
+
* Borrows from Modernizr.
|
|
106
|
+
*
|
|
107
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
108
|
+
* @return {boolean} True if the event is supported.
|
|
109
|
+
* @internal
|
|
110
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
111
|
+
*/function NU(t){if(!$t)return!1;var n="on"+t,i=n in document;if(!i){var l=document.createElement("div");l.setAttribute(n,"return;"),i=typeof l[n]=="function"}return i}function $U(){ge("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function DT(t,n,i,l){x1(l);var s=yv(n,"onChange");if(s.length>0){var d=new dE("onChange","change",null,i,l);t.push({event:d,listeners:s})}}var Bf=null,Uf=null;function qU(t){var n=t.nodeName&&t.nodeName.toLowerCase();return n==="select"||n==="input"&&t.type==="file"}function BU(t){var n=[];DT(n,Uf,t,y0(t)),A1(UU,n)}function UU(t){YT(t,0)}function pv(t){var n=Ws(t);if(Cs(n))return t}function FU(t,n){if(t==="change")return n}var AT=!1;$t&&(AT=NU("input")&&(!document.documentMode||document.documentMode>9));function jU(t,n){Bf=t,Uf=n,Bf.attachEvent("onpropertychange",kT)}function PT(){Bf&&(Bf.detachEvent("onpropertychange",kT),Bf=null,Uf=null)}function kT(t){t.propertyName==="value"&&pv(Uf)&&BU(t)}function VU(t,n,i){t==="focusin"?(PT(),jU(n,i)):t==="focusout"&&PT()}function HU(t,n){if(t==="selectionchange"||t==="keyup"||t==="keydown")return pv(Uf)}function zU(t){var n=t.nodeName;return n&&n.toLowerCase()==="input"&&(t.type==="checkbox"||t.type==="radio")}function WU(t,n){if(t==="click")return pv(n)}function GU(t,n){if(t==="input"||t==="change")return pv(n)}function YU(t){var n=t._wrapperState;!n||!n.controlled||t.type!=="number"||qe(t,"number",t.value)}function KU(t,n,i,l,s,d,p){var y=i?Ws(i):window,g,w;if(qU(y)?g=FU:MT(y)?AT?g=GU:(g=HU,w=VU):zU(y)&&(g=WU),g){var S=g(n,i);if(S){DT(t,S,l,s);return}}w&&w(n,y,i),n==="focusout"&&YU(y)}function XU(){Gn("onMouseEnter",["mouseout","mouseover"]),Gn("onMouseLeave",["mouseout","mouseover"]),Gn("onPointerEnter",["pointerout","pointerover"]),Gn("onPointerLeave",["pointerout","pointerover"])}function QU(t,n,i,l,s,d,p){var y=n==="mouseover"||n==="pointerover",g=n==="mouseout"||n==="pointerout";if(y&&!vq(l)){var w=l.relatedTarget||l.fromElement;if(w&&(Su(w)||td(w)))return}if(!(!g&&!y)){var S;if(s.window===s)S=s;else{var k=s.ownerDocument;k?S=k.defaultView||k.parentWindow:S=window}var P,F;if(g){var H=l.relatedTarget||l.toElement;if(P=i,F=H?Su(H):null,F!==null){var W=mu(F);(F!==W||F.tag!==M&&F.tag!==A)&&(F=null)}}else P=null,F=i;if(P!==F){var ue=gT,xe="onMouseLeave",Ce="onMouseEnter",at="mouse";(n==="pointerout"||n==="pointerover")&&(ue=ET,xe="onPointerLeave",Ce="onPointerEnter",at="pointer");var Je=P==null?S:Ws(P),$=F==null?S:Ws(F),G=new ue(xe,at+"leave",P,l,s);G.target=Je,G.relatedTarget=$;var q=null,ne=Su(s);if(ne===i){var me=new ue(Ce,at+"enter",F,l,s);me.target=$,me.relatedTarget=Je,q=me}CF(t,G,q,P,F)}}}function JU(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var ba=typeof Object.is=="function"?Object.is:JU;function Ff(t,n){if(ba(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var i=Object.keys(t),l=Object.keys(n);if(i.length!==l.length)return!1;for(var s=0;s<i.length;s++){var d=i[s];if(!ln.call(n,d)||!ba(t[d],n[d]))return!1}return!0}function IT(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ZU(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function LT(t,n){for(var i=IT(t),l=0,s=0;i;){if(i.nodeType===Co){if(s=l+i.textContent.length,l<=n&&s>=n)return{node:i,offset:n-l};l=s}i=IT(ZU(i))}}function eF(t){var n=t.ownerDocument,i=n&&n.defaultView||window,l=i.getSelection&&i.getSelection();if(!l||l.rangeCount===0)return null;var s=l.anchorNode,d=l.anchorOffset,p=l.focusNode,y=l.focusOffset;try{s.nodeType,p.nodeType}catch{return null}return tF(t,s,d,p,y)}function tF(t,n,i,l,s){var d=0,p=-1,y=-1,g=0,w=0,S=t,k=null;e:for(;;){for(var P=null;S===n&&(i===0||S.nodeType===Co)&&(p=d+i),S===l&&(s===0||S.nodeType===Co)&&(y=d+s),S.nodeType===Co&&(d+=S.nodeValue.length),(P=S.firstChild)!==null;)k=S,S=P;for(;;){if(S===t)break e;if(k===n&&++g===i&&(p=d),k===l&&++w===s&&(y=d),(P=S.nextSibling)!==null)break;S=k,k=S.parentNode}S=P}return p===-1||y===-1?null:{start:p,end:y}}function nF(t,n){var i=t.ownerDocument||document,l=i&&i.defaultView||window;if(l.getSelection){var s=l.getSelection(),d=t.textContent.length,p=Math.min(n.start,d),y=n.end===void 0?p:Math.min(n.end,d);if(!s.extend&&p>y){var g=y;y=p,p=g}var w=LT(t,p),S=LT(t,y);if(w&&S){if(s.rangeCount===1&&s.anchorNode===w.node&&s.anchorOffset===w.offset&&s.focusNode===S.node&&s.focusOffset===S.offset)return;var k=i.createRange();k.setStart(w.node,w.offset),s.removeAllRanges(),p>y?(s.addRange(k),s.extend(S.node,S.offset)):(k.setEnd(S.node,S.offset),s.addRange(k))}}}function NT(t){return t&&t.nodeType===Co}function $T(t,n){return!t||!n?!1:t===n?!0:NT(t)?!1:NT(n)?$T(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1}function rF(t){return t&&t.ownerDocument&&$T(t.ownerDocument.documentElement,t)}function aF(t){try{return typeof t.contentWindow.location.href=="string"}catch{return!1}}function qT(){for(var t=window,n=pl();n instanceof t.HTMLIFrameElement;){if(aF(n))t=n.contentWindow;else return n;n=pl(t.document)}return n}function gE(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}function iF(){var t=qT();return{focusedElem:t,selectionRange:gE(t)?lF(t):null}}function oF(t){var n=qT(),i=t.focusedElem,l=t.selectionRange;if(n!==i&&rF(i)){l!==null&&gE(i)&&uF(i,l);for(var s=[],d=i;d=d.parentNode;)d.nodeType===Jr&&s.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof i.focus=="function"&&i.focus();for(var p=0;p<s.length;p++){var y=s[p];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function lF(t){var n;return"selectionStart"in t?n={start:t.selectionStart,end:t.selectionEnd}:n=eF(t),n||{start:0,end:0}}function uF(t,n){var i=n.start,l=n.end;l===void 0&&(l=i),"selectionStart"in t?(t.selectionStart=i,t.selectionEnd=Math.min(l,t.value.length)):nF(t,n)}var sF=$t&&"documentMode"in document&&document.documentMode<=11;function cF(){ge("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Fs=null,bE=null,jf=null,EE=!1;function fF(t){if("selectionStart"in t&&gE(t))return{start:t.selectionStart,end:t.selectionEnd};var n=t.ownerDocument&&t.ownerDocument.defaultView||window,i=n.getSelection();return{anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}}function dF(t){return t.window===t?t.document:t.nodeType===wo?t:t.ownerDocument}function BT(t,n,i){var l=dF(i);if(!(EE||Fs==null||Fs!==pl(l))){var s=fF(Fs);if(!jf||!Ff(jf,s)){jf=s;var d=yv(bE,"onSelect");if(d.length>0){var p=new dE("onSelect","select",null,n,i);t.push({event:p,listeners:d}),p.target=Fs}}}}function pF(t,n,i,l,s,d,p){var y=i?Ws(i):window;switch(n){case"focusin":(MT(y)||y.contentEditable==="true")&&(Fs=y,bE=i,jf=null);break;case"focusout":Fs=null,bE=null,jf=null;break;case"mousedown":EE=!0;break;case"contextmenu":case"mouseup":case"dragend":EE=!1,BT(t,l,s);break;case"selectionchange":if(sF)break;case"keydown":case"keyup":BT(t,l,s)}}function vv(t,n){var i={};return i[t.toLowerCase()]=n.toLowerCase(),i["Webkit"+t]="webkit"+n,i["Moz"+t]="moz"+n,i}var js={animationend:vv("Animation","AnimationEnd"),animationiteration:vv("Animation","AnimationIteration"),animationstart:vv("Animation","AnimationStart"),transitionend:vv("Transition","TransitionEnd")},CE={},UT={};$t&&(UT=document.createElement("div").style,"AnimationEvent"in window||(delete js.animationend.animation,delete js.animationiteration.animation,delete js.animationstart.animation),"TransitionEvent"in window||delete js.transitionend.transition);function mv(t){if(CE[t])return CE[t];if(!js[t])return t;var n=js[t];for(var i in n)if(n.hasOwnProperty(i)&&i in UT)return CE[t]=n[i];return t}var FT=mv("animationend"),jT=mv("animationiteration"),VT=mv("animationstart"),HT=mv("transitionend"),zT=new Map,WT=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function El(t,n){zT.set(t,n),ge(n,[t])}function vF(){for(var t=0;t<WT.length;t++){var n=WT[t],i=n.toLowerCase(),l=n[0].toUpperCase()+n.slice(1);El(i,"on"+l)}El(FT,"onAnimationEnd"),El(jT,"onAnimationIteration"),El(VT,"onAnimationStart"),El("dblclick","onDoubleClick"),El("focusin","onFocus"),El("focusout","onBlur"),El(HT,"onTransitionEnd")}function mF(t,n,i,l,s,d,p){var y=zT.get(n);if(y!==void 0){var g=dE,w=n;switch(n){case"keypress":if(cv(l)===0)return;case"keydown":case"keyup":g=hU;break;case"focusin":w="focus",g=mE;break;case"focusout":w="blur",g=mE;break;case"beforeblur":case"afterblur":g=mE;break;case"click":if(l.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=gT;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=nU;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=bU;break;case FT:case jT:case VT:g=iU;break;case HT:g=CU;break;case"scroll":g=ZB;break;case"wheel":g=SU;break;case"copy":case"cut":case"paste":g=lU;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=ET;break}var S=(d&pf)!==0;{var k=!S&&n==="scroll",P=bF(i,y,l.type,S,k);if(P.length>0){var F=new g(y,w,null,l,s);t.push({event:F,listeners:P})}}}}vF(),XU(),$U(),cF(),TU();function hF(t,n,i,l,s,d,p){mF(t,n,i,l,s,d);var y=(d&fq)===0;y&&(QU(t,n,i,l,s),KU(t,n,i,l,s),pF(t,n,i,l,s),IU(t,n,i,l,s))}var Vf=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],wE=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Vf));function GT(t,n,i){var l=t.type||"unknown-event";t.currentTarget=i,Sq(l,n,void 0,t),t.currentTarget=null}function yF(t,n,i){var l;if(i)for(var s=n.length-1;s>=0;s--){var d=n[s],p=d.instance,y=d.currentTarget,g=d.listener;if(p!==l&&t.isPropagationStopped())return;GT(t,g,y),l=p}else for(var w=0;w<n.length;w++){var S=n[w],k=S.instance,P=S.currentTarget,F=S.listener;if(k!==l&&t.isPropagationStopped())return;GT(t,F,P),l=k}}function YT(t,n){for(var i=(n&pf)!==0,l=0;l<t.length;l++){var s=t[l],d=s.event,p=s.listeners;yF(d,p,i)}_q()}function gF(t,n,i,l,s){var d=y0(i),p=[];hF(p,t,l,i,d,n),YT(p,n)}function Vt(t,n){wE.has(t)||c('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var i=!1,l=Yj(n),s=wF(t);l.has(s)||(KT(n,t,h0,i),l.add(s))}function SE(t,n,i){wE.has(t)&&!n&&c('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var l=0;n&&(l|=pf),KT(i,t,l,n)}var hv="_reactListening"+Math.random().toString(36).slice(2);function Hf(t){if(!t[hv]){t[hv]=!0,Wa.forEach(function(i){i!=="selectionchange"&&(wE.has(i)||SE(i,!1,t),SE(i,!0,t))});var n=t.nodeType===wo?t:t.ownerDocument;n!==null&&(n[hv]||(n[hv]=!0,SE("selectionchange",!1,n)))}}function KT(t,n,i,l,s){var d=VB(t,n,i),p=void 0;E0&&(n==="touchstart"||n==="touchmove"||n==="wheel")&&(p=!0),t=t,l?p!==void 0?KB(t,n,d,p):YB(t,n,d):p!==void 0?XB(t,n,d,p):GB(t,n,d)}function XT(t,n){return t===n||t.nodeType===vn&&t.parentNode===n}function _E(t,n,i,l,s){var d=l;if(!(n&R1)&&!(n&h0)){var p=s;if(l!==null){var y=l;e:for(;;){if(y===null)return;var g=y.tag;if(g===b||g===R){var w=y.stateNode.containerInfo;if(XT(w,p))break;if(g===R)for(var S=y.return;S!==null;){var k=S.tag;if(k===b||k===R){var P=S.stateNode.containerInfo;if(XT(P,p))return}S=S.return}for(;w!==null;){var F=Su(w);if(F===null)return;var H=F.tag;if(H===M||H===A){y=d=F;continue e}w=w.parentNode}}y=y.return}}}A1(function(){return gF(t,n,i,d)})}function zf(t,n,i){return{instance:t,listener:n,currentTarget:i}}function bF(t,n,i,l,s,d){for(var p=n!==null?n+"Capture":null,y=l?p:n,g=[],w=t,S=null;w!==null;){var k=w,P=k.stateNode,F=k.tag;if(F===M&&P!==null&&(S=P,y!==null)){var H=mf(w,y);H!=null&&g.push(zf(w,H,S))}if(s)break;w=w.return}return g}function yv(t,n){for(var i=n+"Capture",l=[],s=t;s!==null;){var d=s,p=d.stateNode,y=d.tag;if(y===M&&p!==null){var g=p,w=mf(s,i);w!=null&&l.unshift(zf(s,w,g));var S=mf(s,n);S!=null&&l.push(zf(s,S,g))}s=s.return}return l}function Vs(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==M);return t||null}function EF(t,n){for(var i=t,l=n,s=0,d=i;d;d=Vs(d))s++;for(var p=0,y=l;y;y=Vs(y))p++;for(;s-p>0;)i=Vs(i),s--;for(;p-s>0;)l=Vs(l),p--;for(var g=s;g--;){if(i===l||l!==null&&i===l.alternate)return i;i=Vs(i),l=Vs(l)}return null}function QT(t,n,i,l,s){for(var d=n._reactName,p=[],y=i;y!==null&&y!==l;){var g=y,w=g.alternate,S=g.stateNode,k=g.tag;if(w!==null&&w===l)break;if(k===M&&S!==null){var P=S;if(s){var F=mf(y,d);F!=null&&p.unshift(zf(y,F,P))}else if(!s){var H=mf(y,d);H!=null&&p.push(zf(y,H,P))}}y=y.return}p.length!==0&&t.push({event:n,listeners:p})}function CF(t,n,i,l,s){var d=l&&s?EF(l,s):null;l!==null&&QT(t,n,l,d,!1),s!==null&&i!==null&&QT(t,i,s,d,!0)}function wF(t,n){return t+"__bubble"}var Zr=!1,Wf="dangerouslySetInnerHTML",gv="suppressContentEditableWarning",Cl="suppressHydrationWarning",JT="autoFocus",Cu="children",wu="style",bv="__html",RE,Ev,Gf,ZT,Cv,ex,tx;RE={dialog:!0,webview:!0},Ev=function(t,n){aq(t,n),iq(t,n),cq(t,n,{registrationNameDependencies:Wn,possibleRegistrationNames:pa})},ex=$t&&!document.documentMode,Gf=function(t,n,i){if(!Zr){var l=wv(i),s=wv(n);s!==l&&(Zr=!0,c("Prop `%s` did not match. Server: %s Client: %s",t,JSON.stringify(s),JSON.stringify(l)))}},ZT=function(t){if(!Zr){Zr=!0;var n=[];t.forEach(function(i){n.push(i)}),c("Extra attributes from the server: %s",n)}},Cv=function(t,n){n===!1?c("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.",t,t,t):c("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof n)},tx=function(t,n){var i=t.namespaceURI===Eo?t.ownerDocument.createElement(t.tagName):t.ownerDocument.createElementNS(t.namespaceURI,t.tagName);return i.innerHTML=n,i.innerHTML};var SF=/\r\n?/g,_F=/\u0000|\uFFFD/g;function wv(t){Li(t);var n=typeof t=="string"?t:""+t;return n.replace(SF,`
|
|
112
|
+
`).replace(_F,"")}function Sv(t,n,i,l){var s=wv(n),d=wv(t);if(d!==s&&(l&&(Zr||(Zr=!0,c('Text content did not match. Server: "%s" Client: "%s"',d,s))),i&&we))throw new Error("Text content does not match server-rendered HTML.")}function nx(t){return t.nodeType===wo?t:t.ownerDocument}function RF(){}function _v(t){t.onclick=RF}function TF(t,n,i,l,s){for(var d in l)if(l.hasOwnProperty(d)){var p=l[d];if(d===wu)p&&Object.freeze(p),b1(n,p);else if(d===Wf){var y=p?p[bv]:void 0;y!=null&&v1(n,y)}else if(d===Cu)if(typeof p=="string"){var g=t!=="textarea"||p!=="";g&&Wp(n,p)}else typeof p=="number"&&Wp(n,""+p);else d===gv||d===Cl||d===JT||(Wn.hasOwnProperty(d)?p!=null&&(typeof p!="function"&&Cv(d,p),d==="onScroll"&&Vt("scroll",n)):p!=null&&po(n,d,p,s))}}function xF(t,n,i,l){for(var s=0;s<n.length;s+=2){var d=n[s],p=n[s+1];d===wu?b1(t,p):d===Wf?v1(t,p):d===Cu?Wp(t,p):po(t,d,p,l)}}function OF(t,n,i,l){var s,d=nx(i),p,y=l;if(y===Eo&&(y=c0(t)),y===Eo){if(s=cu(t,n),!s&&t!==t.toLowerCase()&&c("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t==="script"){var g=d.createElement("div");g.innerHTML="<script><\/script>";var w=g.firstChild;p=g.removeChild(w)}else if(typeof n.is=="string")p=d.createElement(t,{is:n.is});else if(p=d.createElement(t),t==="select"){var S=p;n.multiple?S.multiple=!0:n.size&&(S.size=n.size)}}else p=d.createElementNS(y,t);return y===Eo&&!s&&Object.prototype.toString.call(p)==="[object HTMLUnknownElement]"&&!ln.call(RE,t)&&(RE[t]=!0,c("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",t)),p}function MF(t,n){return nx(n).createTextNode(t)}function DF(t,n,i,l){var s=cu(n,i);Ev(n,i);var d;switch(n){case"dialog":Vt("cancel",t),Vt("close",t),d=i;break;case"iframe":case"object":case"embed":Vt("load",t),d=i;break;case"video":case"audio":for(var p=0;p<Vf.length;p++)Vt(Vf[p],t);d=i;break;case"source":Vt("error",t),d=i;break;case"img":case"image":case"link":Vt("error",t),Vt("load",t),d=i;break;case"details":Vt("toggle",t),d=i;break;case"input":D(t,i),d=E(t,i),Vt("invalid",t);break;case"option":At(t,i),d=i;break;case"select":ff(t,i),d=cf(t,i),Vt("invalid",t);break;case"textarea":f1(t,i),d=u0(t,i),Vt("invalid",t);break;default:d=i}switch(m0(n,d),TF(n,t,l,d,s),n){case"input":go(t),ie(t,i,!1);break;case"textarea":go(t),p1(t);break;case"option":jt(t,i);break;case"select":l0(t,i);break;default:typeof d.onClick=="function"&&_v(t);break}}function AF(t,n,i,l,s){Ev(n,l);var d=null,p,y;switch(n){case"input":p=E(t,i),y=E(t,l),d=[];break;case"select":p=cf(t,i),y=cf(t,l),d=[];break;case"textarea":p=u0(t,i),y=u0(t,l),d=[];break;default:p=i,y=l,typeof p.onClick!="function"&&typeof y.onClick=="function"&&_v(t);break}m0(n,y);var g,w,S=null;for(g in p)if(!(y.hasOwnProperty(g)||!p.hasOwnProperty(g)||p[g]==null))if(g===wu){var k=p[g];for(w in k)k.hasOwnProperty(w)&&(S||(S={}),S[w]="")}else g===Wf||g===Cu||g===gv||g===Cl||g===JT||(Wn.hasOwnProperty(g)?d||(d=[]):(d=d||[]).push(g,null));for(g in y){var P=y[g],F=p!=null?p[g]:void 0;if(!(!y.hasOwnProperty(g)||P===F||P==null&&F==null))if(g===wu)if(P&&Object.freeze(P),F){for(w in F)F.hasOwnProperty(w)&&(!P||!P.hasOwnProperty(w))&&(S||(S={}),S[w]="");for(w in P)P.hasOwnProperty(w)&&F[w]!==P[w]&&(S||(S={}),S[w]=P[w])}else S||(d||(d=[]),d.push(g,S)),S=P;else if(g===Wf){var H=P?P[bv]:void 0,W=F?F[bv]:void 0;H!=null&&W!==H&&(d=d||[]).push(g,H)}else g===Cu?(typeof P=="string"||typeof P=="number")&&(d=d||[]).push(g,""+P):g===gv||g===Cl||(Wn.hasOwnProperty(g)?(P!=null&&(typeof P!="function"&&Cv(g,P),g==="onScroll"&&Vt("scroll",t)),!d&&F!==P&&(d=[])):(d=d||[]).push(g,P))}return S&&(X$(S,y[wu]),(d=d||[]).push(wu,S)),d}function PF(t,n,i,l,s){i==="input"&&s.type==="radio"&&s.name!=null&&V(t,s);var d=cu(i,l),p=cu(i,s);switch(xF(t,n,d,p),i){case"input":z(t,s);break;case"textarea":d1(t,s);break;case"select":x$(t,s);break}}function kF(t){{var n=t.toLowerCase();return Gp.hasOwnProperty(n)&&Gp[n]||null}}function IF(t,n,i,l,s,d,p){var y,g;switch(y=cu(n,i),Ev(n,i),n){case"dialog":Vt("cancel",t),Vt("close",t);break;case"iframe":case"object":case"embed":Vt("load",t);break;case"video":case"audio":for(var w=0;w<Vf.length;w++)Vt(Vf[w],t);break;case"source":Vt("error",t);break;case"img":case"image":case"link":Vt("error",t),Vt("load",t);break;case"details":Vt("toggle",t);break;case"input":D(t,i),Vt("invalid",t);break;case"option":At(t,i);break;case"select":ff(t,i),Vt("invalid",t);break;case"textarea":f1(t,i),Vt("invalid",t);break}m0(n,i);{g=new Set;for(var S=t.attributes,k=0;k<S.length;k++){var P=S[k].name.toLowerCase();switch(P){case"value":break;case"checked":break;case"selected":break;default:g.add(S[k].name)}}}var F=null;for(var H in i)if(i.hasOwnProperty(H)){var W=i[H];if(H===Cu)typeof W=="string"?t.textContent!==W&&(i[Cl]!==!0&&Sv(t.textContent,W,d,p),F=[Cu,W]):typeof W=="number"&&t.textContent!==""+W&&(i[Cl]!==!0&&Sv(t.textContent,W,d,p),F=[Cu,""+W]);else if(Wn.hasOwnProperty(H))W!=null&&(typeof W!="function"&&Cv(H,W),H==="onScroll"&&Vt("scroll",t));else if(p&&typeof y=="boolean"){var ue=void 0,xe=y&&Mr?null:Aa(H);if(i[Cl]!==!0){if(!(H===gv||H===Cl||H==="value"||H==="checked"||H==="selected")){if(H===Wf){var Ce=t.innerHTML,at=W?W[bv]:void 0;if(at!=null){var Je=tx(t,at);Je!==Ce&&Gf(H,Ce,Je)}}else if(H===wu){if(g.delete(H),ex){var $=Y$(W);ue=t.getAttribute("style"),$!==ue&&Gf(H,ue,$)}}else if(y&&!Mr)g.delete(H.toLowerCase()),ue=ol(t,H,W),W!==ue&&Gf(H,ue,W);else if(!sn(H,xe,y)&&!qt(H,W,xe,y)){var G=!1;if(xe!==null)g.delete(xe.attributeName),ue=$i(t,H,W,xe);else{var q=l;if(q===Eo&&(q=c0(n)),q===Eo)g.delete(H.toLowerCase());else{var ne=kF(H);ne!==null&&ne!==H&&(G=!0,g.delete(ne)),g.delete(H)}ue=ol(t,H,W)}var me=Mr;!me&&W!==ue&&!G&&Gf(H,ue,W)}}}}}switch(p&&g.size>0&&i[Cl]!==!0&&ZT(g),n){case"input":go(t),ie(t,i,!0);break;case"textarea":go(t),p1(t);break;case"select":case"option":break;default:typeof i.onClick=="function"&&_v(t);break}return F}function LF(t,n,i){var l=t.nodeValue!==n;return l}function TE(t,n){{if(Zr)return;Zr=!0,c("Did not expect server HTML to contain a <%s> in <%s>.",n.nodeName.toLowerCase(),t.nodeName.toLowerCase())}}function xE(t,n){{if(Zr)return;Zr=!0,c('Did not expect server HTML to contain the text node "%s" in <%s>.',n.nodeValue,t.nodeName.toLowerCase())}}function OE(t,n,i){{if(Zr)return;Zr=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",n,t.nodeName.toLowerCase())}}function ME(t,n){{if(n===""||Zr)return;Zr=!0,c('Expected server HTML to contain a matching text node for "%s" in <%s>.',n,t.nodeName.toLowerCase())}}function NF(t,n,i){switch(n){case"input":Le(t,i);return;case"textarea":M$(t,i);return;case"select":O$(t,i);return}}var Yf=function(){},Kf=function(){};{var $F=["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"],rx=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],qF=rx.concat(["button"]),BF=["dd","dt","li","option","optgroup","p","rp","rt"],ax={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Kf=function(t,n){var i=Ke({},t||ax),l={tag:n};return rx.indexOf(n)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),qF.indexOf(n)!==-1&&(i.pTagInButtonScope=null),$F.indexOf(n)!==-1&&n!=="address"&&n!=="div"&&n!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=l,n==="form"&&(i.formTag=l),n==="a"&&(i.aTagInScope=l),n==="button"&&(i.buttonTagInScope=l),n==="nobr"&&(i.nobrTagInScope=l),n==="p"&&(i.pTagInButtonScope=l),n==="li"&&(i.listItemTagAutoclosing=l),(n==="dd"||n==="dt")&&(i.dlItemTagAutoclosing=l),i};var UF=function(t,n){switch(n){case"select":return t==="option"||t==="optgroup"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return n!=="h1"&&n!=="h2"&&n!=="h3"&&n!=="h4"&&n!=="h5"&&n!=="h6";case"rp":case"rt":return BF.indexOf(n)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return n==null}return!0},FF=function(t,n){switch(t){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return n.pTagInButtonScope;case"form":return n.formTag||n.pTagInButtonScope;case"li":return n.listItemTagAutoclosing;case"dd":case"dt":return n.dlItemTagAutoclosing;case"button":return n.buttonTagInScope;case"a":return n.aTagInScope;case"nobr":return n.nobrTagInScope}return null},ix={};Yf=function(t,n,i){i=i||ax;var l=i.current,s=l&&l.tag;n!=null&&(t!=null&&c("validateDOMNesting: when childText is passed, childTag should be null"),t="#text");var d=UF(t,s)?null:l,p=d?null:FF(t,i),y=d||p;if(y){var g=y.tag,w=!!d+"|"+t+"|"+g;if(!ix[w]){ix[w]=!0;var S=t,k="";if(t==="#text"?/\S/.test(n)?S="Text nodes":(S="Whitespace text nodes",k=" Make sure you don't have any extra whitespace between tags on each line of your source code."):S="<"+t+">",d){var P="";g==="table"&&t==="tr"&&(P+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),c("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",S,g,k,P)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",S,g)}}}}var Rv="suppressHydrationWarning",Tv="$",xv="/$",Xf="$?",Qf="$!",jF="style",DE=null,AE=null;function VF(t){var n,i,l=t.nodeType;switch(l){case wo:case d0:{n=l===wo?"#document":"#fragment";var s=t.documentElement;i=s?s.namespaceURI:f0(null,"");break}default:{var d=l===vn?t.parentNode:t,p=d.namespaceURI||null;n=d.tagName,i=f0(p,n);break}}{var y=n.toLowerCase(),g=Kf(null,y);return{namespace:i,ancestorInfo:g}}}function HF(t,n,i){{var l=t,s=f0(l.namespace,n),d=Kf(l.ancestorInfo,n);return{namespace:s,ancestorInfo:d}}}function sle(t){return t}function zF(t){DE=jB(),AE=iF();var n=null;return pT(!1),n}function WF(t){oF(AE),pT(DE),DE=null,AE=null}function GF(t,n,i,l,s){var d;{var p=l;if(Yf(t,null,p.ancestorInfo),typeof n.children=="string"||typeof n.children=="number"){var y=""+n.children,g=Kf(p.ancestorInfo,t);Yf(null,y,g)}d=p.namespace}var w=OF(t,n,i,d);return ed(s,w),BE(w,n),w}function YF(t,n){t.appendChild(n)}function KF(t,n,i,l,s){switch(DF(t,n,i,l),n){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function XF(t,n,i,l,s,d){{var p=d;if(typeof l.children!=typeof i.children&&(typeof l.children=="string"||typeof l.children=="number")){var y=""+l.children,g=Kf(p.ancestorInfo,n);Yf(null,y,g)}}return AF(t,n,i,l)}function PE(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}function QF(t,n,i,l){{var s=i;Yf(null,t,s.ancestorInfo)}var d=MF(t,n);return ed(l,d),d}function JF(){var t=window.event;return t===void 0?Mo:vT(t.type)}var kE=typeof setTimeout=="function"?setTimeout:void 0,ZF=typeof clearTimeout=="function"?clearTimeout:void 0,IE=-1,ox=typeof Promise=="function"?Promise:void 0,ej=typeof queueMicrotask=="function"?queueMicrotask:typeof ox<"u"?function(t){return ox.resolve(null).then(t).catch(tj)}:kE;function tj(t){setTimeout(function(){throw t})}function nj(t,n,i,l){switch(n){case"button":case"input":case"select":case"textarea":i.autoFocus&&t.focus();return;case"img":{i.src&&(t.src=i.src);return}}}function rj(t,n,i,l,s,d){PF(t,n,i,l,s),BE(t,s)}function lx(t){Wp(t,"")}function aj(t,n,i){t.nodeValue=i}function ij(t,n){t.appendChild(n)}function oj(t,n){var i;t.nodeType===vn?(i=t.parentNode,i.insertBefore(n,t)):(i=t,i.appendChild(n));var l=t._reactRootContainer;l==null&&i.onclick===null&&_v(i)}function lj(t,n,i){t.insertBefore(n,i)}function uj(t,n,i){t.nodeType===vn?t.parentNode.insertBefore(n,i):t.insertBefore(n,i)}function sj(t,n){t.removeChild(n)}function cj(t,n){t.nodeType===vn?t.parentNode.removeChild(n):t.removeChild(n)}function LE(t,n){var i=n,l=0;do{var s=i.nextSibling;if(t.removeChild(i),s&&s.nodeType===vn){var d=s.data;if(d===xv)if(l===0){t.removeChild(s),kf(n);return}else l--;else(d===Tv||d===Xf||d===Qf)&&l++}i=s}while(i);kf(n)}function fj(t,n){t.nodeType===vn?LE(t.parentNode,n):t.nodeType===Jr&&LE(t,n),kf(t)}function dj(t){t=t;var n=t.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}function pj(t){t.nodeValue=""}function vj(t,n){t=t;var i=n[jF],l=i!=null&&i.hasOwnProperty("display")?i.display:null;t.style.display=p0("display",l)}function mj(t,n){t.nodeValue=n}function hj(t){t.nodeType===Jr?t.textContent="":t.nodeType===wo&&t.documentElement&&t.removeChild(t.documentElement)}function yj(t,n,i){return t.nodeType!==Jr||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t}function gj(t,n){return n===""||t.nodeType!==Co?null:t}function bj(t){return t.nodeType!==vn?null:t}function ux(t){return t.data===Xf}function NE(t){return t.data===Qf}function Ej(t){var n=t.nextSibling&&t.nextSibling.dataset,i,l,s;return n&&(i=n.dgst,l=n.msg,s=n.stck),{message:l,digest:i,stack:s}}function Cj(t,n){t._reactRetry=n}function Ov(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===Jr||n===Co)break;if(n===vn){var i=t.data;if(i===Tv||i===Qf||i===Xf)break;if(i===xv)return null}}return t}function Jf(t){return Ov(t.nextSibling)}function wj(t){return Ov(t.firstChild)}function Sj(t){return Ov(t.firstChild)}function _j(t){return Ov(t.nextSibling)}function Rj(t,n,i,l,s,d,p){ed(d,t),BE(t,i);var y;{var g=s;y=g.namespace}var w=(d.mode&nt)!==Ae;return IF(t,n,i,y,l,w,p)}function Tj(t,n,i,l){return ed(i,t),i.mode&nt,LF(t,n)}function xj(t,n){ed(n,t)}function Oj(t){for(var n=t.nextSibling,i=0;n;){if(n.nodeType===vn){var l=n.data;if(l===xv){if(i===0)return Jf(n);i--}else(l===Tv||l===Qf||l===Xf)&&i++}n=n.nextSibling}return null}function sx(t){for(var n=t.previousSibling,i=0;n;){if(n.nodeType===vn){var l=n.data;if(l===Tv||l===Qf||l===Xf){if(i===0)return n;i--}else l===xv&&i++}n=n.previousSibling}return null}function Mj(t){kf(t)}function Dj(t){kf(t)}function Aj(t){return t!=="head"&&t!=="body"}function Pj(t,n,i,l){var s=!0;Sv(n.nodeValue,i,l,s)}function kj(t,n,i,l,s,d){if(n[Rv]!==!0){var p=!0;Sv(l.nodeValue,s,d,p)}}function Ij(t,n){n.nodeType===Jr?TE(t,n):n.nodeType===vn||xE(t,n)}function Lj(t,n){{var i=t.parentNode;i!==null&&(n.nodeType===Jr?TE(i,n):n.nodeType===vn||xE(i,n))}}function Nj(t,n,i,l,s){(s||n[Rv]!==!0)&&(l.nodeType===Jr?TE(i,l):l.nodeType===vn||xE(i,l))}function $j(t,n,i){OE(t,n)}function qj(t,n){ME(t,n)}function Bj(t,n,i){{var l=t.parentNode;l!==null&&OE(l,n)}}function Uj(t,n){{var i=t.parentNode;i!==null&&ME(i,n)}}function Fj(t,n,i,l,s,d){(d||n[Rv]!==!0)&&OE(i,l)}function jj(t,n,i,l,s){(s||n[Rv]!==!0)&&ME(i,l)}function Vj(t){c("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",t.nodeName.toLowerCase())}function Hj(t){Hf(t)}var Hs=Math.random().toString(36).slice(2),zs="__reactFiber$"+Hs,$E="__reactProps$"+Hs,Zf="__reactContainer$"+Hs,qE="__reactEvents$"+Hs,zj="__reactListeners$"+Hs,Wj="__reactHandles$"+Hs;function Gj(t){delete t[zs],delete t[$E],delete t[qE],delete t[zj],delete t[Wj]}function ed(t,n){n[zs]=t}function Mv(t,n){n[Zf]=t}function cx(t){t[Zf]=null}function td(t){return!!t[Zf]}function Su(t){var n=t[zs];if(n)return n;for(var i=t.parentNode;i;){if(n=i[Zf]||i[zs],n){var l=n.alternate;if(n.child!==null||l!==null&&l.child!==null)for(var s=sx(t);s!==null;){var d=s[zs];if(d)return d;s=sx(s)}return n}t=i,i=t.parentNode}return null}function wl(t){var n=t[zs]||t[Zf];return n&&(n.tag===M||n.tag===A||n.tag===J||n.tag===b)?n:null}function Ws(t){if(t.tag===M||t.tag===A)return t.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Dv(t){return t[$E]||null}function BE(t,n){t[$E]=n}function Yj(t){var n=t[qE];return n===void 0&&(n=t[qE]=new Set),n}var fx={},dx=a.ReactDebugCurrentFrame;function Av(t){if(t){var n=t._owner,i=ei(t.type,t._source,n?n.type:null);dx.setExtraStackFrame(i)}else dx.setExtraStackFrame(null)}function ii(t,n,i,l,s){{var d=Function.call.bind(ln);for(var p in t)if(d(t,p)){var y=void 0;try{if(typeof t[p]!="function"){var g=Error((l||"React class")+": "+i+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw g.name="Invariant Violation",g}y=t[p](n,p,l,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(w){y=w}y&&!(y instanceof Error)&&(Av(s),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",i,p,typeof y),Av(null)),y instanceof Error&&!(y.message in fx)&&(fx[y.message]=!0,Av(s),c("Failed %s type: %s",i,y.message),Av(null))}}}var UE=[],Pv;Pv=[];var Do=-1;function Sl(t){return{current:t}}function hr(t,n){if(Do<0){c("Unexpected pop.");return}n!==Pv[Do]&&c("Unexpected Fiber popped."),t.current=UE[Do],UE[Do]=null,Pv[Do]=null,Do--}function yr(t,n,i){Do++,UE[Do]=t.current,Pv[Do]=i,t.current=n}var FE;FE={};var Ea={};Object.freeze(Ea);var Ao=Sl(Ea),Wi=Sl(!1),jE=Ea;function Gs(t,n,i){return i&&Gi(n)?jE:Ao.current}function px(t,n,i){{var l=t.stateNode;l.__reactInternalMemoizedUnmaskedChildContext=n,l.__reactInternalMemoizedMaskedChildContext=i}}function Ys(t,n){{var i=t.type,l=i.contextTypes;if(!l)return Ea;var s=t.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===n)return s.__reactInternalMemoizedMaskedChildContext;var d={};for(var p in l)d[p]=n[p];{var y=Ve(t)||"Unknown";ii(l,d,"context",y)}return s&&px(t,n,d),d}}function kv(){return Wi.current}function Gi(t){{var n=t.childContextTypes;return n!=null}}function Iv(t){hr(Wi,t),hr(Ao,t)}function VE(t){hr(Wi,t),hr(Ao,t)}function vx(t,n,i){{if(Ao.current!==Ea)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");yr(Ao,n,t),yr(Wi,i,t)}}function mx(t,n,i){{var l=t.stateNode,s=n.childContextTypes;if(typeof l.getChildContext!="function"){{var d=Ve(t)||"Unknown";FE[d]||(FE[d]=!0,c("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",d,d))}return i}var p=l.getChildContext();for(var y in p)if(!(y in s))throw new Error((Ve(t)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var g=Ve(t)||"Unknown";ii(s,p,"child context",g)}return Ke({},i,p)}}function Lv(t){{var n=t.stateNode,i=n&&n.__reactInternalMemoizedMergedChildContext||Ea;return jE=Ao.current,yr(Ao,i,t),yr(Wi,Wi.current,t),!0}}function hx(t,n,i){{var l=t.stateNode;if(!l)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(i){var s=mx(t,n,jE);l.__reactInternalMemoizedMergedChildContext=s,hr(Wi,t),hr(Ao,t),yr(Ao,s,t),yr(Wi,i,t)}else hr(Wi,t),yr(Wi,i,t)}}function Kj(t){{if(!Aq(t)||t.tag!==h)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var n=t;do{switch(n.tag){case b:return n.stateNode.context;case h:{var i=n.type;if(Gi(i))return n.stateNode.__reactInternalMemoizedMergedChildContext;break}}n=n.return}while(n!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var _l=0,Nv=1,Po=null,HE=!1,zE=!1;function yx(t){Po===null?Po=[t]:Po.push(t)}function Xj(t){HE=!0,yx(t)}function gx(){HE&&Rl()}function Rl(){if(!zE&&Po!==null){zE=!0;var t=0,n=ai();try{var i=!0,l=Po;for(Bn(ya);t<l.length;t++){var s=l[t];do s=s(i);while(s!==null)}Po=null,HE=!1}catch(d){throw Po!==null&&(Po=Po.slice(t+1)),j1(Jp,Rl),d}finally{Bn(n),zE=!1}}return null}var Ks=[],Xs=0,$v=null,qv=0,Pa=[],ka=0,_u=null,ko=1,Io="";function Qj(t){return Tu(),(t.flags&I1)!==Ie}function Jj(t){return Tu(),qv}function Zj(){var t=Io,n=ko,i=n&~eV(n);return i.toString(32)+t}function Ru(t,n){Tu(),Ks[Xs++]=qv,Ks[Xs++]=$v,$v=t,qv=n}function bx(t,n,i){Tu(),Pa[ka++]=ko,Pa[ka++]=Io,Pa[ka++]=_u,_u=t;var l=ko,s=Io,d=Bv(l)-1,p=l&~(1<<d),y=i+1,g=Bv(n)+d;if(g>30){var w=d-d%5,S=(1<<w)-1,k=(p&S).toString(32),P=p>>w,F=d-w,H=Bv(n)+F,W=y<<F,ue=W|P,xe=k+s;ko=1<<H|ue,Io=xe}else{var Ce=y<<d,at=Ce|p,Je=s;ko=1<<g|at,Io=Je}}function WE(t){Tu();var n=t.return;if(n!==null){var i=1,l=0;Ru(t,i),bx(t,i,l)}}function Bv(t){return 32-Y1(t)}function eV(t){return 1<<Bv(t)-1}function GE(t){for(;t===$v;)$v=Ks[--Xs],Ks[Xs]=null,qv=Ks[--Xs],Ks[Xs]=null;for(;t===_u;)_u=Pa[--ka],Pa[ka]=null,Io=Pa[--ka],Pa[ka]=null,ko=Pa[--ka],Pa[ka]=null}function tV(){return Tu(),_u!==null?{id:ko,overflow:Io}:null}function nV(t,n){Tu(),Pa[ka++]=ko,Pa[ka++]=Io,Pa[ka++]=_u,ko=n.id,Io=n.overflow,_u=t}function Tu(){Jn()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Qn=null,Ia=null,oi=!1,xu=!1,Tl=null;function rV(){oi&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Ex(){xu=!0}function aV(){return xu}function iV(t){var n=t.stateNode.containerInfo;return Ia=Sj(n),Qn=t,oi=!0,Tl=null,xu=!1,!0}function oV(t,n,i){return Ia=_j(n),Qn=t,oi=!0,Tl=null,xu=!1,i!==null&&nV(t,i),!0}function Cx(t,n){switch(t.tag){case b:{Ij(t.stateNode.containerInfo,n);break}case M:{var i=(t.mode&nt)!==Ae;Nj(t.type,t.memoizedProps,t.stateNode,n,i);break}case J:{var l=t.memoizedState;l.dehydrated!==null&&Lj(l.dehydrated,n);break}}}function wx(t,n){Cx(t,n);var i=c3();i.stateNode=n,i.return=t;var l=t.deletions;l===null?(t.deletions=[i],t.flags|=fu):l.push(i)}function YE(t,n){{if(xu)return;switch(t.tag){case b:{var i=t.stateNode.containerInfo;switch(n.tag){case M:var l=n.type;n.pendingProps,$j(i,l);break;case A:var s=n.pendingProps;qj(i,s);break}break}case M:{var d=t.type,p=t.memoizedProps,y=t.stateNode;switch(n.tag){case M:{var g=n.type,w=n.pendingProps,S=(t.mode&nt)!==Ae;Fj(d,p,y,g,w,S);break}case A:{var k=n.pendingProps,P=(t.mode&nt)!==Ae;jj(d,p,y,k,P);break}}break}case J:{var F=t.memoizedState,H=F.dehydrated;if(H!==null)switch(n.tag){case M:var W=n.type;n.pendingProps,Bj(H,W);break;case A:var ue=n.pendingProps;Uj(H,ue);break}break}default:return}}}function Sx(t,n){n.flags=n.flags&~_o|mn,YE(t,n)}function _x(t,n){switch(t.tag){case M:{var i=t.type;t.pendingProps;var l=yj(n,i);return l!==null?(t.stateNode=l,Qn=t,Ia=wj(l),!0):!1}case A:{var s=t.pendingProps,d=gj(n,s);return d!==null?(t.stateNode=d,Qn=t,Ia=null,!0):!1}case J:{var p=bj(n);if(p!==null){var y={dehydrated:p,treeContext:tV(),retryLane:ma};t.memoizedState=y;var g=f3(p);return g.return=t,t.child=g,Qn=t,Ia=null,!0}return!1}default:return!1}}function KE(t){return(t.mode&nt)!==Ae&&(t.flags&mt)===Ie}function XE(t){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function QE(t){if(oi){var n=Ia;if(!n){KE(t)&&(YE(Qn,t),XE()),Sx(Qn,t),oi=!1,Qn=t;return}var i=n;if(!_x(t,n)){KE(t)&&(YE(Qn,t),XE()),n=Jf(i);var l=Qn;if(!n||!_x(t,n)){Sx(Qn,t),oi=!1,Qn=t;return}wx(l,i)}}}function lV(t,n,i){var l=t.stateNode,s=!xu,d=Rj(l,t.type,t.memoizedProps,n,i,t,s);return t.updateQueue=d,d!==null}function uV(t){var n=t.stateNode,i=t.memoizedProps,l=Tj(n,i,t);if(l){var s=Qn;if(s!==null)switch(s.tag){case b:{var d=s.stateNode.containerInfo,p=(s.mode&nt)!==Ae;Pj(d,n,i,p);break}case M:{var y=s.type,g=s.memoizedProps,w=s.stateNode,S=(s.mode&nt)!==Ae;kj(y,g,w,n,i,S);break}}}return l}function sV(t){var n=t.memoizedState,i=n!==null?n.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");xj(i,t)}function cV(t){var n=t.memoizedState,i=n!==null?n.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return Oj(i)}function Rx(t){for(var n=t.return;n!==null&&n.tag!==M&&n.tag!==b&&n.tag!==J;)n=n.return;Qn=n}function Uv(t){if(t!==Qn)return!1;if(!oi)return Rx(t),oi=!0,!1;if(t.tag!==b&&(t.tag!==M||Aj(t.type)&&!PE(t.type,t.memoizedProps))){var n=Ia;if(n)if(KE(t))Tx(t),XE();else for(;n;)wx(t,n),n=Jf(n)}return Rx(t),t.tag===J?Ia=cV(t):Ia=Qn?Jf(t.stateNode):null,!0}function fV(){return oi&&Ia!==null}function Tx(t){for(var n=Ia;n;)Cx(t,n),n=Jf(n)}function Qs(){Qn=null,Ia=null,oi=!1,xu=!1}function xx(){Tl!==null&&(EM(Tl),Tl=null)}function Jn(){return oi}function JE(t){Tl===null?Tl=[t]:Tl.push(t)}var dV=a.ReactCurrentBatchConfig,pV=null;function vV(){return dV.transition}var li={recordUnsafeLifecycleWarnings:function(t,n){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(t,n){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var mV=function(t){for(var n=null,i=t;i!==null;)i.mode&rn&&(n=i),i=i.return;return n},Ou=function(t){var n=[];return t.forEach(function(i){n.push(i)}),n.sort().join(", ")},nd=[],rd=[],ad=[],id=[],od=[],ld=[],Mu=new Set;li.recordUnsafeLifecycleWarnings=function(t,n){Mu.has(t.type)||(typeof n.componentWillMount=="function"&&n.componentWillMount.__suppressDeprecationWarning!==!0&&nd.push(t),t.mode&rn&&typeof n.UNSAFE_componentWillMount=="function"&&rd.push(t),typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ad.push(t),t.mode&rn&&typeof n.UNSAFE_componentWillReceiveProps=="function"&&id.push(t),typeof n.componentWillUpdate=="function"&&n.componentWillUpdate.__suppressDeprecationWarning!==!0&&od.push(t),t.mode&rn&&typeof n.UNSAFE_componentWillUpdate=="function"&&ld.push(t))},li.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;nd.length>0&&(nd.forEach(function(P){t.add(Ve(P)||"Component"),Mu.add(P.type)}),nd=[]);var n=new Set;rd.length>0&&(rd.forEach(function(P){n.add(Ve(P)||"Component"),Mu.add(P.type)}),rd=[]);var i=new Set;ad.length>0&&(ad.forEach(function(P){i.add(Ve(P)||"Component"),Mu.add(P.type)}),ad=[]);var l=new Set;id.length>0&&(id.forEach(function(P){l.add(Ve(P)||"Component"),Mu.add(P.type)}),id=[]);var s=new Set;od.length>0&&(od.forEach(function(P){s.add(Ve(P)||"Component"),Mu.add(P.type)}),od=[]);var d=new Set;if(ld.length>0&&(ld.forEach(function(P){d.add(Ve(P)||"Component"),Mu.add(P.type)}),ld=[]),n.size>0){var p=Ou(n);c(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
113
|
+
|
|
114
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
115
|
+
|
|
116
|
+
Please update the following components: %s`,p)}if(l.size>0){var y=Ou(l);c(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
117
|
+
|
|
118
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
119
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
120
|
+
|
|
121
|
+
Please update the following components: %s`,y)}if(d.size>0){var g=Ou(d);c(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
122
|
+
|
|
123
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
124
|
+
|
|
125
|
+
Please update the following components: %s`,g)}if(t.size>0){var w=Ou(t);f(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
126
|
+
|
|
127
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
128
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
129
|
+
|
|
130
|
+
Please update the following components: %s`,w)}if(i.size>0){var S=Ou(i);f(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
131
|
+
|
|
132
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
133
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
134
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
135
|
+
|
|
136
|
+
Please update the following components: %s`,S)}if(s.size>0){var k=Ou(s);f(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
137
|
+
|
|
138
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
139
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
140
|
+
|
|
141
|
+
Please update the following components: %s`,k)}};var Fv=new Map,Ox=new Set;li.recordLegacyContextWarning=function(t,n){var i=mV(t);if(i===null){c("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!Ox.has(t.type)){var l=Fv.get(i);(t.type.contextTypes!=null||t.type.childContextTypes!=null||n!==null&&typeof n.getChildContext=="function")&&(l===void 0&&(l=[],Fv.set(i,l)),l.push(t))}},li.flushLegacyContextWarning=function(){Fv.forEach(function(t,n){if(t.length!==0){var i=t[0],l=new Set;t.forEach(function(d){l.add(Ve(d)||"Component"),Ox.add(d.type)});var s=Ou(l);try{Xt(i),c(`Legacy context API has been detected within a strict-mode tree.
|
|
142
|
+
|
|
143
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
144
|
+
|
|
145
|
+
Please update the following components: %s
|
|
146
|
+
|
|
147
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,s)}finally{Ln()}}})},li.discardPendingWarnings=function(){nd=[],rd=[],ad=[],id=[],od=[],ld=[],Fv=new Map}}var ZE,eC,tC,nC,rC,Mx=function(t,n){};ZE=!1,eC=!1,tC={},nC={},rC={},Mx=function(t,n){if(!(t===null||typeof t!="object")&&!(!t._store||t._store.validated||t.key!=null)){if(typeof t._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");t._store.validated=!0;var i=Ve(n)||"Component";nC[i]||(nC[i]=!0,c('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function hV(t){return t.prototype&&t.prototype.isReactComponent}function ud(t,n,i){var l=i.ref;if(l!==null&&typeof l!="function"&&typeof l!="object"){if((t.mode&rn||Dr)&&!(i._owner&&i._self&&i._owner.stateNode!==i._self)&&!(i._owner&&i._owner.tag!==h)&&!(typeof i.type=="function"&&!hV(i.type))&&i._owner){var s=Ve(t)||"Component";tC[s]||(c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',s,l),tC[s]=!0)}if(i._owner){var d=i._owner,p;if(d){var y=d;if(y.tag!==h)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");p=y.stateNode}if(!p)throw new Error("Missing owner for string ref "+l+". This error is likely caused by a bug in React. Please file an issue.");var g=p;Yr(l,"ref");var w=""+l;if(n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===w)return n.ref;var S=function(k){var P=g.refs;k===null?delete P[w]:P[w]=k};return S._stringRef=w,S}else{if(typeof l!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!i._owner)throw new Error("Element ref was specified as a string ("+l+`) but no owner was set. This could happen for one of the following reasons:
|
|
148
|
+
1. You may be adding a ref to a function component
|
|
149
|
+
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
150
|
+
3. You have multiple copies of React loaded
|
|
151
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return l}function jv(t,n){var i=Object.prototype.toString.call(n);throw new Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function Vv(t){{var n=Ve(t)||"Component";if(rC[n])return;rC[n]=!0,c("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function Dx(t){var n=t._payload,i=t._init;return i(n)}function Ax(t){function n($,G){if(t){var q=$.deletions;q===null?($.deletions=[G],$.flags|=fu):q.push(G)}}function i($,G){if(!t)return null;for(var q=G;q!==null;)n($,q),q=q.sibling;return null}function l($,G){for(var q=new Map,ne=G;ne!==null;)ne.key!==null?q.set(ne.key,ne):q.set(ne.index,ne),ne=ne.sibling;return q}function s($,G){var q=qu($,G);return q.index=0,q.sibling=null,q}function d($,G,q){if($.index=q,!t)return $.flags|=I1,G;var ne=$.alternate;if(ne!==null){var me=ne.index;return me<G?($.flags|=mn,G):me}else return $.flags|=mn,G}function p($){return t&&$.alternate===null&&($.flags|=mn),$}function y($,G,q,ne){if(G===null||G.tag!==A){var me=Jw(q,$.mode,ne);return me.return=$,me}else{var de=s(G,q);return de.return=$,de}}function g($,G,q,ne){var me=q.type;if(me===Bi)return S($,G,q.props.children,ne,q.key);if(G!==null&&(G.elementType===me||NM(G,q)||typeof me=="object"&&me!==null&&me.$$typeof===Cn&&Dx(me)===G.type)){var de=s(G,q.props);return de.ref=ud($,G,q),de.return=$,de._debugSource=q._source,de._debugOwner=q._owner,de}var Ne=Qw(q,$.mode,ne);return Ne.ref=ud($,G,q),Ne.return=$,Ne}function w($,G,q,ne){if(G===null||G.tag!==R||G.stateNode.containerInfo!==q.containerInfo||G.stateNode.implementation!==q.implementation){var me=Zw(q,$.mode,ne);return me.return=$,me}else{var de=s(G,q.children||[]);return de.return=$,de}}function S($,G,q,ne,me){if(G===null||G.tag!==L){var de=$l(q,$.mode,ne,me);return de.return=$,de}else{var Ne=s(G,q);return Ne.return=$,Ne}}function k($,G,q){if(typeof G=="string"&&G!==""||typeof G=="number"){var ne=Jw(""+G,$.mode,q);return ne.return=$,ne}if(typeof G=="object"&&G!==null){switch(G.$$typeof){case qi:{var me=Qw(G,$.mode,q);return me.ref=ud($,null,G),me.return=$,me}case Xa:{var de=Zw(G,$.mode,q);return de.return=$,de}case Cn:{var Ne=G._payload,Fe=G._init;return k($,Fe(Ne),q)}}if(vt(G)||Qa(G)){var wt=$l(G,$.mode,q,null);return wt.return=$,wt}jv($,G)}return typeof G=="function"&&Vv($),null}function P($,G,q,ne){var me=G!==null?G.key:null;if(typeof q=="string"&&q!==""||typeof q=="number")return me!==null?null:y($,G,""+q,ne);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case qi:return q.key===me?g($,G,q,ne):null;case Xa:return q.key===me?w($,G,q,ne):null;case Cn:{var de=q._payload,Ne=q._init;return P($,G,Ne(de),ne)}}if(vt(q)||Qa(q))return me!==null?null:S($,G,q,ne,null);jv($,q)}return typeof q=="function"&&Vv($),null}function F($,G,q,ne,me){if(typeof ne=="string"&&ne!==""||typeof ne=="number"){var de=$.get(q)||null;return y(G,de,""+ne,me)}if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case qi:{var Ne=$.get(ne.key===null?q:ne.key)||null;return g(G,Ne,ne,me)}case Xa:{var Fe=$.get(ne.key===null?q:ne.key)||null;return w(G,Fe,ne,me)}case Cn:var wt=ne._payload,dt=ne._init;return F($,G,q,dt(wt),me)}if(vt(ne)||Qa(ne)){var cn=$.get(q)||null;return S(G,cn,ne,me,null)}jv(G,ne)}return typeof ne=="function"&&Vv(G),null}function H($,G,q){{if(typeof $!="object"||$===null)return G;switch($.$$typeof){case qi:case Xa:Mx($,q);var ne=$.key;if(typeof ne!="string")break;if(G===null){G=new Set,G.add(ne);break}if(!G.has(ne)){G.add(ne);break}c("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.",ne);break;case Cn:var me=$._payload,de=$._init;H(de(me),G,q);break}}return G}function W($,G,q,ne){for(var me=null,de=0;de<q.length;de++){var Ne=q[de];me=H(Ne,me,$)}for(var Fe=null,wt=null,dt=G,cn=0,pt=0,an=null;dt!==null&&pt<q.length;pt++){dt.index>pt?(an=dt,dt=null):an=dt.sibling;var br=P($,dt,q[pt],ne);if(br===null){dt===null&&(dt=an);break}t&&dt&&br.alternate===null&&n($,dt),cn=d(br,cn,pt),wt===null?Fe=br:wt.sibling=br,wt=br,dt=an}if(pt===q.length){if(i($,dt),Jn()){var ir=pt;Ru($,ir)}return Fe}if(dt===null){for(;pt<q.length;pt++){var wa=k($,q[pt],ne);wa!==null&&(cn=d(wa,cn,pt),wt===null?Fe=wa:wt.sibling=wa,wt=wa)}if(Jn()){var Fr=pt;Ru($,Fr)}return Fe}for(var jr=l($,dt);pt<q.length;pt++){var Er=F(jr,$,pt,q[pt],ne);Er!==null&&(t&&Er.alternate!==null&&jr.delete(Er.key===null?pt:Er.key),cn=d(Er,cn,pt),wt===null?Fe=Er:wt.sibling=Er,wt=Er)}if(t&&jr.forEach(function(hc){return n($,hc)}),Jn()){var Fo=pt;Ru($,Fo)}return Fe}function ue($,G,q,ne){var me=Qa(q);if(typeof me!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&q[Symbol.toStringTag]==="Generator"&&(eC||c("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),eC=!0),q.entries===me&&(ZE||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ZE=!0);var de=me.call(q);if(de)for(var Ne=null,Fe=de.next();!Fe.done;Fe=de.next()){var wt=Fe.value;Ne=H(wt,Ne,$)}}var dt=me.call(q);if(dt==null)throw new Error("An iterable object provided no iterator.");for(var cn=null,pt=null,an=G,br=0,ir=0,wa=null,Fr=dt.next();an!==null&&!Fr.done;ir++,Fr=dt.next()){an.index>ir?(wa=an,an=null):wa=an.sibling;var jr=P($,an,Fr.value,ne);if(jr===null){an===null&&(an=wa);break}t&&an&&jr.alternate===null&&n($,an),br=d(jr,br,ir),pt===null?cn=jr:pt.sibling=jr,pt=jr,an=wa}if(Fr.done){if(i($,an),Jn()){var Er=ir;Ru($,Er)}return cn}if(an===null){for(;!Fr.done;ir++,Fr=dt.next()){var Fo=k($,Fr.value,ne);Fo!==null&&(br=d(Fo,br,ir),pt===null?cn=Fo:pt.sibling=Fo,pt=Fo)}if(Jn()){var hc=ir;Ru($,hc)}return cn}for(var Ud=l($,an);!Fr.done;ir++,Fr=dt.next()){var to=F(Ud,$,ir,Fr.value,ne);to!==null&&(t&&to.alternate!==null&&Ud.delete(to.key===null?ir:to.key),br=d(to,br,ir),pt===null?cn=to:pt.sibling=to,pt=to)}if(t&&Ud.forEach(function(j3){return n($,j3)}),Jn()){var F3=ir;Ru($,F3)}return cn}function xe($,G,q,ne){if(G!==null&&G.tag===A){i($,G.sibling);var me=s(G,q);return me.return=$,me}i($,G);var de=Jw(q,$.mode,ne);return de.return=$,de}function Ce($,G,q,ne){for(var me=q.key,de=G;de!==null;){if(de.key===me){var Ne=q.type;if(Ne===Bi){if(de.tag===L){i($,de.sibling);var Fe=s(de,q.props.children);return Fe.return=$,Fe._debugSource=q._source,Fe._debugOwner=q._owner,Fe}}else if(de.elementType===Ne||NM(de,q)||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===Cn&&Dx(Ne)===de.type){i($,de.sibling);var wt=s(de,q.props);return wt.ref=ud($,de,q),wt.return=$,wt._debugSource=q._source,wt._debugOwner=q._owner,wt}i($,de);break}else n($,de);de=de.sibling}if(q.type===Bi){var dt=$l(q.props.children,$.mode,ne,q.key);return dt.return=$,dt}else{var cn=Qw(q,$.mode,ne);return cn.ref=ud($,G,q),cn.return=$,cn}}function at($,G,q,ne){for(var me=q.key,de=G;de!==null;){if(de.key===me)if(de.tag===R&&de.stateNode.containerInfo===q.containerInfo&&de.stateNode.implementation===q.implementation){i($,de.sibling);var Ne=s(de,q.children||[]);return Ne.return=$,Ne}else{i($,de);break}else n($,de);de=de.sibling}var Fe=Zw(q,$.mode,ne);return Fe.return=$,Fe}function Je($,G,q,ne){var me=typeof q=="object"&&q!==null&&q.type===Bi&&q.key===null;if(me&&(q=q.props.children),typeof q=="object"&&q!==null){switch(q.$$typeof){case qi:return p(Ce($,G,q,ne));case Xa:return p(at($,G,q,ne));case Cn:var de=q._payload,Ne=q._init;return Je($,G,Ne(de),ne)}if(vt(q))return W($,G,q,ne);if(Qa(q))return ue($,G,q,ne);jv($,q)}return typeof q=="string"&&q!==""||typeof q=="number"?p(xe($,G,""+q,ne)):(typeof q=="function"&&Vv($),i($,G))}return Je}var Js=Ax(!0),Px=Ax(!1);function yV(t,n){if(t!==null&&n.child!==t.child)throw new Error("Resuming work not yet implemented.");if(n.child!==null){var i=n.child,l=qu(i,i.pendingProps);for(n.child=l,l.return=n;i.sibling!==null;)i=i.sibling,l=l.sibling=qu(i,i.pendingProps),l.return=n;l.sibling=null}}function gV(t,n){for(var i=t.child;i!==null;)i3(i,n),i=i.sibling}var aC=Sl(null),iC;iC={};var Hv=null,Zs=null,oC=null,zv=!1;function Wv(){Hv=null,Zs=null,oC=null,zv=!1}function kx(){zv=!0}function Ix(){zv=!1}function Lx(t,n,i){yr(aC,n._currentValue,t),n._currentValue=i,n._currentRenderer!==void 0&&n._currentRenderer!==null&&n._currentRenderer!==iC&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=iC}function lC(t,n){var i=aC.current;hr(aC,n),t._currentValue=i}function uC(t,n,i){for(var l=t;l!==null;){var s=l.alternate;if($s(l.childLanes,n)?s!==null&&!$s(s.childLanes,n)&&(s.childLanes=We(s.childLanes,n)):(l.childLanes=We(l.childLanes,n),s!==null&&(s.childLanes=We(s.childLanes,n))),l===i)break;l=l.return}l!==i&&c("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 bV(t,n,i){EV(t,n,i)}function EV(t,n,i){var l=t.child;for(l!==null&&(l.return=t);l!==null;){var s=void 0,d=l.dependencies;if(d!==null){s=l.child;for(var p=d.firstContext;p!==null;){if(p.context===n){if(l.tag===h){var y=Tf(i),g=Lo(Bt,y);g.tag=Yv;var w=l.updateQueue;if(w!==null){var S=w.shared,k=S.pending;k===null?g.next=g:(g.next=k.next,k.next=g),S.pending=g}}l.lanes=We(l.lanes,i);var P=l.alternate;P!==null&&(P.lanes=We(P.lanes,i)),uC(l.return,i,t),d.lanes=We(d.lanes,i);break}p=p.next}}else if(l.tag===j)s=l.type===t.type?null:l.child;else if(l.tag===_){var F=l.return;if(F===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");F.lanes=We(F.lanes,i);var H=F.alternate;H!==null&&(H.lanes=We(H.lanes,i)),uC(F,i,t),s=l.sibling}else s=l.child;if(s!==null)s.return=l;else for(s=l;s!==null;){if(s===t){s=null;break}var W=s.sibling;if(W!==null){W.return=s.return,s=W;break}s=s.return}l=s}}function ec(t,n){Hv=t,Zs=null,oC=null;var i=t.dependencies;if(i!==null){var l=i.firstContext;l!==null&&(ha(i.lanes,n)&&Sd(),i.firstContext=null)}}function hn(t){zv&&c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var n=t._currentValue;if(oC!==t){var i={context:t,memoizedValue:n,next:null};if(Zs===null){if(Hv===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Zs=i,Hv.dependencies={lanes:te,firstContext:i}}else Zs=Zs.next=i}return n}var Du=null;function sC(t){Du===null?Du=[t]:Du.push(t)}function CV(){if(Du!==null){for(var t=0;t<Du.length;t++){var n=Du[t],i=n.interleaved;if(i!==null){n.interleaved=null;var l=i.next,s=n.pending;if(s!==null){var d=s.next;s.next=l,i.next=d}n.pending=i}}Du=null}}function Nx(t,n,i,l){var s=n.interleaved;return s===null?(i.next=i,sC(n)):(i.next=s.next,s.next=i),n.interleaved=i,Gv(t,l)}function wV(t,n,i,l){var s=n.interleaved;s===null?(i.next=i,sC(n)):(i.next=s.next,s.next=i),n.interleaved=i}function SV(t,n,i,l){var s=n.interleaved;return s===null?(i.next=i,sC(n)):(i.next=s.next,s.next=i),n.interleaved=i,Gv(t,l)}function ea(t,n){return Gv(t,n)}var _V=Gv;function Gv(t,n){t.lanes=We(t.lanes,n);var i=t.alternate;i!==null&&(i.lanes=We(i.lanes,n)),i===null&&(t.flags&(mn|_o))!==Ie&&PM(t);for(var l=t,s=t.return;s!==null;)s.childLanes=We(s.childLanes,n),i=s.alternate,i!==null?i.childLanes=We(i.childLanes,n):(s.flags&(mn|_o))!==Ie&&PM(t),l=s,s=s.return;if(l.tag===b){var d=l.stateNode;return d}else return null}var $x=0,qx=1,Yv=2,cC=3,Kv=!1,fC,Xv;fC=!1,Xv=null;function dC(t){var n={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:te},effects:null};t.updateQueue=n}function Bx(t,n){var i=n.updateQueue,l=t.updateQueue;if(i===l){var s={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects};n.updateQueue=s}}function Lo(t,n){var i={eventTime:t,lane:n,tag:$x,payload:null,callback:null,next:null};return i}function xl(t,n,i){var l=t.updateQueue;if(l===null)return null;var s=l.shared;if(Xv===s&&!fC&&(c("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."),fC=!0),wz()){var d=s.pending;return d===null?n.next=n:(n.next=d.next,d.next=n),s.pending=n,_V(t,i)}else return SV(t,s,n,i)}function Qv(t,n,i){var l=n.updateQueue;if(l!==null){var s=l.shared;if(J1(i)){var d=s.lanes;d=eT(d,t.pendingLanes);var p=We(d,i);s.lanes=p,aE(t,p)}}}function pC(t,n){var i=t.updateQueue,l=t.alternate;if(l!==null){var s=l.updateQueue;if(i===s){var d=null,p=null,y=i.firstBaseUpdate;if(y!==null){var g=y;do{var w={eventTime:g.eventTime,lane:g.lane,tag:g.tag,payload:g.payload,callback:g.callback,next:null};p===null?d=p=w:(p.next=w,p=w),g=g.next}while(g!==null);p===null?d=p=n:(p.next=n,p=n)}else d=p=n;i={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:p,shared:s.shared,effects:s.effects},t.updateQueue=i;return}}var S=i.lastBaseUpdate;S===null?i.firstBaseUpdate=n:S.next=n,i.lastBaseUpdate=n}function RV(t,n,i,l,s,d){switch(i.tag){case qx:{var p=i.payload;if(typeof p=="function"){kx();var y=p.call(d,l,s);{if(t.mode&rn){$n(!0);try{p.call(d,l,s)}finally{$n(!1)}}Ix()}return y}return p}case cC:t.flags=t.flags&~$r|mt;case $x:{var g=i.payload,w;if(typeof g=="function"){kx(),w=g.call(d,l,s);{if(t.mode&rn){$n(!0);try{g.call(d,l,s)}finally{$n(!1)}}Ix()}}else w=g;return w==null?l:Ke({},l,w)}case Yv:return Kv=!0,l}return l}function Jv(t,n,i,l){var s=t.updateQueue;Kv=!1,Xv=s.shared;var d=s.firstBaseUpdate,p=s.lastBaseUpdate,y=s.shared.pending;if(y!==null){s.shared.pending=null;var g=y,w=g.next;g.next=null,p===null?d=w:p.next=w,p=g;var S=t.alternate;if(S!==null){var k=S.updateQueue,P=k.lastBaseUpdate;P!==p&&(P===null?k.firstBaseUpdate=w:P.next=w,k.lastBaseUpdate=g)}}if(d!==null){var F=s.baseState,H=te,W=null,ue=null,xe=null,Ce=d;do{var at=Ce.lane,Je=Ce.eventTime;if($s(l,at)){if(xe!==null){var G={eventTime:Je,lane:qn,tag:Ce.tag,payload:Ce.payload,callback:Ce.callback,next:null};xe=xe.next=G}F=RV(t,s,Ce,F,n,i);var q=Ce.callback;if(q!==null&&Ce.lane!==qn){t.flags|=R0;var ne=s.effects;ne===null?s.effects=[Ce]:ne.push(Ce)}}else{var $={eventTime:Je,lane:at,tag:Ce.tag,payload:Ce.payload,callback:Ce.callback,next:null};xe===null?(ue=xe=$,W=F):xe=xe.next=$,H=We(H,at)}if(Ce=Ce.next,Ce===null){if(y=s.shared.pending,y===null)break;var me=y,de=me.next;me.next=null,Ce=de,s.lastBaseUpdate=me,s.shared.pending=null}}while(!0);xe===null&&(W=F),s.baseState=W,s.firstBaseUpdate=ue,s.lastBaseUpdate=xe;var Ne=s.shared.interleaved;if(Ne!==null){var Fe=Ne;do H=We(H,Fe.lane),Fe=Fe.next;while(Fe!==Ne)}else d===null&&(s.shared.lanes=te);Ld(H),t.lanes=H,t.memoizedState=F}Xv=null}function TV(t,n){if(typeof t!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+t));t.call(n)}function Ux(){Kv=!1}function Zv(){return Kv}function Fx(t,n,i){var l=n.effects;if(n.effects=null,l!==null)for(var s=0;s<l.length;s++){var d=l[s],p=d.callback;p!==null&&(d.callback=null,TV(p,i))}}var sd={},Ol=Sl(sd),cd=Sl(sd),em=Sl(sd);function tm(t){if(t===sd)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return t}function jx(){var t=tm(em.current);return t}function vC(t,n){yr(em,n,t),yr(cd,t,t),yr(Ol,sd,t);var i=VF(n);hr(Ol,t),yr(Ol,i,t)}function tc(t){hr(Ol,t),hr(cd,t),hr(em,t)}function mC(){var t=tm(Ol.current);return t}function Vx(t){tm(em.current);var n=tm(Ol.current),i=HF(n,t.type);n!==i&&(yr(cd,t,t),yr(Ol,i,t))}function hC(t){cd.current===t&&(hr(Ol,t),hr(cd,t))}var xV=0,Hx=1,zx=1,fd=2,ui=Sl(xV);function yC(t,n){return(t&n)!==0}function nc(t){return t&Hx}function gC(t,n){return t&Hx|n}function OV(t,n){return t|n}function Ml(t,n){yr(ui,n,t)}function rc(t){hr(ui,t)}function MV(t,n){var i=t.memoizedState;return i!==null?i.dehydrated!==null:(t.memoizedProps,!0)}function nm(t){for(var n=t;n!==null;){if(n.tag===J){var i=n.memoizedState;if(i!==null){var l=i.dehydrated;if(l===null||ux(l)||NE(l))return n}}else if(n.tag===ce&&n.memoizedProps.revealOrder!==void 0){var s=(n.flags&mt)!==Ie;if(s)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)return null;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var ta=0,wn=1,Yi=2,Sn=4,Zn=8,bC=[];function EC(){for(var t=0;t<bC.length;t++){var n=bC[t];n._workInProgressVersionPrimary=null}bC.length=0}function DV(t,n){var i=n._getVersion,l=i(n._source);t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l)}var ve=a.ReactCurrentDispatcher,dd=a.ReactCurrentBatchConfig,CC,ac;CC=new Set;var Au=te,Ct=null,_n=null,Rn=null,rm=!1,pd=!1,vd=0,AV=0,PV=25,Z=null,La=null,Dl=-1,wC=!1;function ht(){{var t=Z;La===null?La=[t]:La.push(t)}}function le(){{var t=Z;La!==null&&(Dl++,La[Dl]!==t&&kV(t))}}function ic(t){t!=null&&!vt(t)&&c("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Z,typeof t)}function kV(t){{var n=Ve(Ct);if(!CC.has(n)&&(CC.add(n),La!==null)){for(var i="",l=30,s=0;s<=Dl;s++){for(var d=La[s],p=s===Dl?t:d,y=s+1+". "+d;y.length<l;)y+=" ";y+=p+`
|
|
152
|
+
`,i+=y}c(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
153
|
+
|
|
154
|
+
Previous render Next render
|
|
155
|
+
------------------------------------------------------
|
|
156
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
157
|
+
`,n,i)}}}function gr(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
158
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
159
|
+
2. You might be breaking the Rules of Hooks
|
|
160
|
+
3. You might have more than one copy of React in the same app
|
|
161
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function SC(t,n){if(wC)return!1;if(n===null)return c("%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.",Z),!1;t.length!==n.length&&c(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
162
|
+
|
|
163
|
+
Previous: %s
|
|
164
|
+
Incoming: %s`,Z,"["+n.join(", ")+"]","["+t.join(", ")+"]");for(var i=0;i<n.length&&i<t.length;i++)if(!ba(t[i],n[i]))return!1;return!0}function oc(t,n,i,l,s,d){Au=d,Ct=n,La=t!==null?t._debugHookTypes:null,Dl=-1,wC=t!==null&&t.type!==n.type,n.memoizedState=null,n.updateQueue=null,n.lanes=te,t!==null&&t.memoizedState!==null?ve.current=pO:La!==null?ve.current=dO:ve.current=fO;var p=i(l,s);if(pd){var y=0;do{if(pd=!1,vd=0,y>=PV)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,wC=!1,_n=null,Rn=null,n.updateQueue=null,Dl=-1,ve.current=vO,p=i(l,s)}while(pd)}ve.current=hm,n._debugHookTypes=La;var g=_n!==null&&_n.next!==null;if(Au=te,Ct=null,_n=null,Rn=null,Z=null,La=null,Dl=-1,t!==null&&(t.flags&To)!==(n.flags&To)&&(t.mode&nt)!==Ae&&c("Internal React error: Expected static flag was missing. Please notify the React team."),rm=!1,g)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return p}function lc(){var t=vd!==0;return vd=0,t}function Wx(t,n,i){n.updateQueue=t.updateQueue,(n.mode&Hi)!==Ae?n.flags&=~(Qp|Ro|ni|lt):n.flags&=~(ni|lt),t.lanes=av(t.lanes,i)}function Gx(){if(ve.current=hm,rm){for(var t=Ct.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}rm=!1}Au=te,Ct=null,_n=null,Rn=null,La=null,Dl=-1,Z=null,oO=!1,pd=!1,vd=0}function Ki(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rn===null?Ct.memoizedState=Rn=t:Rn=Rn.next=t,Rn}function Na(){var t;if(_n===null){var n=Ct.alternate;n!==null?t=n.memoizedState:t=null}else t=_n.next;var i;if(Rn===null?i=Ct.memoizedState:i=Rn.next,i!==null)Rn=i,i=Rn.next,_n=t;else{if(t===null)throw new Error("Rendered more hooks than during the previous render.");_n=t;var l={memoizedState:_n.memoizedState,baseState:_n.baseState,baseQueue:_n.baseQueue,queue:_n.queue,next:null};Rn===null?Ct.memoizedState=Rn=l:Rn=Rn.next=l}return Rn}function Yx(){return{lastEffect:null,stores:null}}function _C(t,n){return typeof n=="function"?n(t):n}function RC(t,n,i){var l=Ki(),s;i!==void 0?s=i(n):s=n,l.memoizedState=l.baseState=s;var d={pending:null,interleaved:null,lanes:te,dispatch:null,lastRenderedReducer:t,lastRenderedState:s};l.queue=d;var p=d.dispatch=$V.bind(null,Ct,d);return[l.memoizedState,p]}function TC(t,n,i){var l=Na(),s=l.queue;if(s===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");s.lastRenderedReducer=t;var d=_n,p=d.baseQueue,y=s.pending;if(y!==null){if(p!==null){var g=p.next,w=y.next;p.next=w,y.next=g}d.baseQueue!==p&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=p=y,s.pending=null}if(p!==null){var S=p.next,k=d.baseState,P=null,F=null,H=null,W=S;do{var ue=W.lane;if($s(Au,ue)){if(H!==null){var Ce={lane:qn,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null};H=H.next=Ce}if(W.hasEagerState)k=W.eagerState;else{var at=W.action;k=t(k,at)}}else{var xe={lane:ue,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null};H===null?(F=H=xe,P=k):H=H.next=xe,Ct.lanes=We(Ct.lanes,ue),Ld(ue)}W=W.next}while(W!==null&&W!==S);H===null?P=k:H.next=F,ba(k,l.memoizedState)||Sd(),l.memoizedState=k,l.baseState=P,l.baseQueue=H,s.lastRenderedState=k}var Je=s.interleaved;if(Je!==null){var $=Je;do{var G=$.lane;Ct.lanes=We(Ct.lanes,G),Ld(G),$=$.next}while($!==Je)}else p===null&&(s.lanes=te);var q=s.dispatch;return[l.memoizedState,q]}function xC(t,n,i){var l=Na(),s=l.queue;if(s===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");s.lastRenderedReducer=t;var d=s.dispatch,p=s.pending,y=l.memoizedState;if(p!==null){s.pending=null;var g=p.next,w=g;do{var S=w.action;y=t(y,S),w=w.next}while(w!==g);ba(y,l.memoizedState)||Sd(),l.memoizedState=y,l.baseQueue===null&&(l.baseState=y),s.lastRenderedState=y}return[y,d]}function cle(t,n,i){}function fle(t,n,i){}function OC(t,n,i){var l=Ct,s=Ki(),d,p=Jn();if(p){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=i(),ac||d!==i()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),ac=!0)}else{if(d=n(),!ac){var y=n();ba(d,y)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),ac=!0)}var g=Lm();if(g===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rv(g,Au)||Kx(l,n,d)}s.memoizedState=d;var w={value:d,getSnapshot:n};return s.queue=w,um(Qx.bind(null,l,w,t),[t]),l.flags|=ni,md(wn|Zn,Xx.bind(null,l,w,d,n),void 0,null),d}function am(t,n,i){var l=Ct,s=Na(),d=n();if(!ac){var p=n();ba(d,p)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),ac=!0)}var y=s.memoizedState,g=!ba(y,d);g&&(s.memoizedState=d,Sd());var w=s.queue;if(yd(Qx.bind(null,l,w,t),[t]),w.getSnapshot!==n||g||Rn!==null&&Rn.memoizedState.tag&wn){l.flags|=ni,md(wn|Zn,Xx.bind(null,l,w,d,n),void 0,null);var S=Lm();if(S===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rv(S,Au)||Kx(l,n,d)}return d}function Kx(t,n,i){t.flags|=Xp;var l={getSnapshot:n,value:i},s=Ct.updateQueue;if(s===null)s=Yx(),Ct.updateQueue=s,s.stores=[l];else{var d=s.stores;d===null?s.stores=[l]:d.push(l)}}function Xx(t,n,i,l){n.value=i,n.getSnapshot=l,Jx(n)&&Zx(t)}function Qx(t,n,i){var l=function(){Jx(n)&&Zx(t)};return i(l)}function Jx(t){var n=t.getSnapshot,i=t.value;try{var l=n();return!ba(i,l)}catch{return!0}}function Zx(t){var n=ea(t,Be);n!==null&&Mn(n,t,Be,Bt)}function im(t){var n=Ki();typeof t=="function"&&(t=t()),n.memoizedState=n.baseState=t;var i={pending:null,interleaved:null,lanes:te,dispatch:null,lastRenderedReducer:_C,lastRenderedState:t};n.queue=i;var l=i.dispatch=qV.bind(null,Ct,i);return[n.memoizedState,l]}function MC(t){return TC(_C)}function DC(t){return xC(_C)}function md(t,n,i,l){var s={tag:t,create:n,destroy:i,deps:l,next:null},d=Ct.updateQueue;if(d===null)d=Yx(),Ct.updateQueue=d,d.lastEffect=s.next=s;else{var p=d.lastEffect;if(p===null)d.lastEffect=s.next=s;else{var y=p.next;p.next=s,s.next=y,d.lastEffect=s}}return s}function AC(t){var n=Ki();{var i={current:t};return n.memoizedState=i,i}}function om(t){var n=Na();return n.memoizedState}function hd(t,n,i,l){var s=Ki(),d=l===void 0?null:l;Ct.flags|=t,s.memoizedState=md(wn|n,i,void 0,d)}function lm(t,n,i,l){var s=Na(),d=l===void 0?null:l,p=void 0;if(_n!==null){var y=_n.memoizedState;if(p=y.destroy,d!==null){var g=y.deps;if(SC(d,g)){s.memoizedState=md(n,i,p,d);return}}}Ct.flags|=t,s.memoizedState=md(wn|n,i,p,d)}function um(t,n){return(Ct.mode&Hi)!==Ae?hd(Qp|ni|O0,Zn,t,n):hd(ni|O0,Zn,t,n)}function yd(t,n){return lm(ni,Zn,t,n)}function PC(t,n){return hd(lt,Yi,t,n)}function sm(t,n){return lm(lt,Yi,t,n)}function kC(t,n){var i=lt;return i|=vu,(Ct.mode&Hi)!==Ae&&(i|=Ro),hd(i,Sn,t,n)}function cm(t,n){return lm(lt,Sn,t,n)}function eO(t,n){if(typeof n=="function"){var i=n,l=t();return i(l),function(){i(null)}}else if(n!=null){var s=n;s.hasOwnProperty("current")||c("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(s).join(", ")+"}");var d=t();return s.current=d,function(){s.current=null}}}function IC(t,n,i){typeof n!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var l=i!=null?i.concat([t]):null,s=lt;return s|=vu,(Ct.mode&Hi)!==Ae&&(s|=Ro),hd(s,Sn,eO.bind(null,n,t),l)}function fm(t,n,i){typeof n!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var l=i!=null?i.concat([t]):null;return lm(lt,Sn,eO.bind(null,n,t),l)}function IV(t,n){}var dm=IV;function LC(t,n){var i=Ki(),l=n===void 0?null:n;return i.memoizedState=[t,l],t}function pm(t,n){var i=Na(),l=n===void 0?null:n,s=i.memoizedState;if(s!==null&&l!==null){var d=s[1];if(SC(l,d))return s[0]}return i.memoizedState=[t,l],t}function NC(t,n){var i=Ki(),l=n===void 0?null:n,s=t();return i.memoizedState=[s,l],s}function vm(t,n){var i=Na(),l=n===void 0?null:n,s=i.memoizedState;if(s!==null&&l!==null){var d=s[1];if(SC(l,d))return s[0]}var p=t();return i.memoizedState=[p,l],p}function $C(t){var n=Ki();return n.memoizedState=t,t}function tO(t){var n=Na(),i=_n,l=i.memoizedState;return rO(n,l,t)}function nO(t){var n=Na();if(_n===null)return n.memoizedState=t,t;var i=_n.memoizedState;return rO(n,i,t)}function rO(t,n,i){var l=!bB(Au);if(l){if(!ba(i,n)){var s=Z1();Ct.lanes=We(Ct.lanes,s),Ld(s),t.baseState=!0}return n}else return t.baseState&&(t.baseState=!1,Sd()),t.memoizedState=i,i}function LV(t,n,i){var l=ai();Bn(OB(l,Oo)),t(!0);var s=dd.transition;dd.transition={};var d=dd.transition;dd.transition._updatedFibers=new Set;try{t(!1),n()}finally{if(Bn(l),dd.transition=s,s===null&&d._updatedFibers){var p=d._updatedFibers.size;p>10&&f("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),d._updatedFibers.clear()}}}function qC(){var t=im(!1),n=t[0],i=t[1],l=LV.bind(null,i),s=Ki();return s.memoizedState=l,[n,l]}function aO(){var t=MC(),n=t[0],i=Na(),l=i.memoizedState;return[n,l]}function iO(){var t=DC(),n=t[0],i=Na(),l=i.memoizedState;return[n,l]}var oO=!1;function NV(){return oO}function BC(){var t=Ki(),n=Lm(),i=n.identifierPrefix,l;if(Jn()){var s=Zj();l=":"+i+"R"+s;var d=vd++;d>0&&(l+="H"+d.toString(32)),l+=":"}else{var p=AV++;l=":"+i+"r"+p.toString(32)+":"}return t.memoizedState=l,l}function mm(){var t=Na(),n=t.memoizedState;return n}function $V(t,n,i){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var l=Ll(t),s={lane:l,action:i,hasEagerState:!1,eagerState:null,next:null};if(lO(t))uO(n,s);else{var d=Nx(t,n,s,l);if(d!==null){var p=Ur();Mn(d,t,l,p),sO(d,n,l)}}cO(t,l)}function qV(t,n,i){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var l=Ll(t),s={lane:l,action:i,hasEagerState:!1,eagerState:null,next:null};if(lO(t))uO(n,s);else{var d=t.alternate;if(t.lanes===te&&(d===null||d.lanes===te)){var p=n.lastRenderedReducer;if(p!==null){var y;y=ve.current,ve.current=si;try{var g=n.lastRenderedState,w=p(g,i);if(s.hasEagerState=!0,s.eagerState=w,ba(w,g)){wV(t,n,s,l);return}}catch{}finally{ve.current=y}}}var S=Nx(t,n,s,l);if(S!==null){var k=Ur();Mn(S,t,l,k),sO(S,n,l)}}cO(t,l)}function lO(t){var n=t.alternate;return t===Ct||n!==null&&n===Ct}function uO(t,n){pd=rm=!0;var i=t.pending;i===null?n.next=n:(n.next=i.next,i.next=n),t.pending=n}function sO(t,n,i){if(J1(i)){var l=n.lanes;l=eT(l,t.pendingLanes);var s=We(l,i);n.lanes=s,aE(t,s)}}function cO(t,n,i){k0(t,n)}var hm={readContext:hn,useCallback:gr,useContext:gr,useEffect:gr,useImperativeHandle:gr,useInsertionEffect:gr,useLayoutEffect:gr,useMemo:gr,useReducer:gr,useRef:gr,useState:gr,useDebugValue:gr,useDeferredValue:gr,useTransition:gr,useMutableSource:gr,useSyncExternalStore:gr,useId:gr,unstable_isNewReconciler:xt},fO=null,dO=null,pO=null,vO=null,Xi=null,si=null,ym=null;{var UC=function(){c("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().")},Ue=function(){c("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};fO={readContext:function(t){return hn(t)},useCallback:function(t,n){return Z="useCallback",ht(),ic(n),LC(t,n)},useContext:function(t){return Z="useContext",ht(),hn(t)},useEffect:function(t,n){return Z="useEffect",ht(),ic(n),um(t,n)},useImperativeHandle:function(t,n,i){return Z="useImperativeHandle",ht(),ic(i),IC(t,n,i)},useInsertionEffect:function(t,n){return Z="useInsertionEffect",ht(),ic(n),PC(t,n)},useLayoutEffect:function(t,n){return Z="useLayoutEffect",ht(),ic(n),kC(t,n)},useMemo:function(t,n){Z="useMemo",ht(),ic(n);var i=ve.current;ve.current=Xi;try{return NC(t,n)}finally{ve.current=i}},useReducer:function(t,n,i){Z="useReducer",ht();var l=ve.current;ve.current=Xi;try{return RC(t,n,i)}finally{ve.current=l}},useRef:function(t){return Z="useRef",ht(),AC(t)},useState:function(t){Z="useState",ht();var n=ve.current;ve.current=Xi;try{return im(t)}finally{ve.current=n}},useDebugValue:function(t,n){return Z="useDebugValue",ht(),void 0},useDeferredValue:function(t){return Z="useDeferredValue",ht(),$C(t)},useTransition:function(){return Z="useTransition",ht(),qC()},useMutableSource:function(t,n,i){return Z="useMutableSource",ht(),void 0},useSyncExternalStore:function(t,n,i){return Z="useSyncExternalStore",ht(),OC(t,n,i)},useId:function(){return Z="useId",ht(),BC()},unstable_isNewReconciler:xt},dO={readContext:function(t){return hn(t)},useCallback:function(t,n){return Z="useCallback",le(),LC(t,n)},useContext:function(t){return Z="useContext",le(),hn(t)},useEffect:function(t,n){return Z="useEffect",le(),um(t,n)},useImperativeHandle:function(t,n,i){return Z="useImperativeHandle",le(),IC(t,n,i)},useInsertionEffect:function(t,n){return Z="useInsertionEffect",le(),PC(t,n)},useLayoutEffect:function(t,n){return Z="useLayoutEffect",le(),kC(t,n)},useMemo:function(t,n){Z="useMemo",le();var i=ve.current;ve.current=Xi;try{return NC(t,n)}finally{ve.current=i}},useReducer:function(t,n,i){Z="useReducer",le();var l=ve.current;ve.current=Xi;try{return RC(t,n,i)}finally{ve.current=l}},useRef:function(t){return Z="useRef",le(),AC(t)},useState:function(t){Z="useState",le();var n=ve.current;ve.current=Xi;try{return im(t)}finally{ve.current=n}},useDebugValue:function(t,n){return Z="useDebugValue",le(),void 0},useDeferredValue:function(t){return Z="useDeferredValue",le(),$C(t)},useTransition:function(){return Z="useTransition",le(),qC()},useMutableSource:function(t,n,i){return Z="useMutableSource",le(),void 0},useSyncExternalStore:function(t,n,i){return Z="useSyncExternalStore",le(),OC(t,n,i)},useId:function(){return Z="useId",le(),BC()},unstable_isNewReconciler:xt},pO={readContext:function(t){return hn(t)},useCallback:function(t,n){return Z="useCallback",le(),pm(t,n)},useContext:function(t){return Z="useContext",le(),hn(t)},useEffect:function(t,n){return Z="useEffect",le(),yd(t,n)},useImperativeHandle:function(t,n,i){return Z="useImperativeHandle",le(),fm(t,n,i)},useInsertionEffect:function(t,n){return Z="useInsertionEffect",le(),sm(t,n)},useLayoutEffect:function(t,n){return Z="useLayoutEffect",le(),cm(t,n)},useMemo:function(t,n){Z="useMemo",le();var i=ve.current;ve.current=si;try{return vm(t,n)}finally{ve.current=i}},useReducer:function(t,n,i){Z="useReducer",le();var l=ve.current;ve.current=si;try{return TC(t,n,i)}finally{ve.current=l}},useRef:function(t){return Z="useRef",le(),om()},useState:function(t){Z="useState",le();var n=ve.current;ve.current=si;try{return MC(t)}finally{ve.current=n}},useDebugValue:function(t,n){return Z="useDebugValue",le(),dm()},useDeferredValue:function(t){return Z="useDeferredValue",le(),tO(t)},useTransition:function(){return Z="useTransition",le(),aO()},useMutableSource:function(t,n,i){return Z="useMutableSource",le(),void 0},useSyncExternalStore:function(t,n,i){return Z="useSyncExternalStore",le(),am(t,n)},useId:function(){return Z="useId",le(),mm()},unstable_isNewReconciler:xt},vO={readContext:function(t){return hn(t)},useCallback:function(t,n){return Z="useCallback",le(),pm(t,n)},useContext:function(t){return Z="useContext",le(),hn(t)},useEffect:function(t,n){return Z="useEffect",le(),yd(t,n)},useImperativeHandle:function(t,n,i){return Z="useImperativeHandle",le(),fm(t,n,i)},useInsertionEffect:function(t,n){return Z="useInsertionEffect",le(),sm(t,n)},useLayoutEffect:function(t,n){return Z="useLayoutEffect",le(),cm(t,n)},useMemo:function(t,n){Z="useMemo",le();var i=ve.current;ve.current=ym;try{return vm(t,n)}finally{ve.current=i}},useReducer:function(t,n,i){Z="useReducer",le();var l=ve.current;ve.current=ym;try{return xC(t,n,i)}finally{ve.current=l}},useRef:function(t){return Z="useRef",le(),om()},useState:function(t){Z="useState",le();var n=ve.current;ve.current=ym;try{return DC(t)}finally{ve.current=n}},useDebugValue:function(t,n){return Z="useDebugValue",le(),dm()},useDeferredValue:function(t){return Z="useDeferredValue",le(),nO(t)},useTransition:function(){return Z="useTransition",le(),iO()},useMutableSource:function(t,n,i){return Z="useMutableSource",le(),void 0},useSyncExternalStore:function(t,n,i){return Z="useSyncExternalStore",le(),am(t,n)},useId:function(){return Z="useId",le(),mm()},unstable_isNewReconciler:xt},Xi={readContext:function(t){return UC(),hn(t)},useCallback:function(t,n){return Z="useCallback",Ue(),ht(),LC(t,n)},useContext:function(t){return Z="useContext",Ue(),ht(),hn(t)},useEffect:function(t,n){return Z="useEffect",Ue(),ht(),um(t,n)},useImperativeHandle:function(t,n,i){return Z="useImperativeHandle",Ue(),ht(),IC(t,n,i)},useInsertionEffect:function(t,n){return Z="useInsertionEffect",Ue(),ht(),PC(t,n)},useLayoutEffect:function(t,n){return Z="useLayoutEffect",Ue(),ht(),kC(t,n)},useMemo:function(t,n){Z="useMemo",Ue(),ht();var i=ve.current;ve.current=Xi;try{return NC(t,n)}finally{ve.current=i}},useReducer:function(t,n,i){Z="useReducer",Ue(),ht();var l=ve.current;ve.current=Xi;try{return RC(t,n,i)}finally{ve.current=l}},useRef:function(t){return Z="useRef",Ue(),ht(),AC(t)},useState:function(t){Z="useState",Ue(),ht();var n=ve.current;ve.current=Xi;try{return im(t)}finally{ve.current=n}},useDebugValue:function(t,n){return Z="useDebugValue",Ue(),ht(),void 0},useDeferredValue:function(t){return Z="useDeferredValue",Ue(),ht(),$C(t)},useTransition:function(){return Z="useTransition",Ue(),ht(),qC()},useMutableSource:function(t,n,i){return Z="useMutableSource",Ue(),ht(),void 0},useSyncExternalStore:function(t,n,i){return Z="useSyncExternalStore",Ue(),ht(),OC(t,n,i)},useId:function(){return Z="useId",Ue(),ht(),BC()},unstable_isNewReconciler:xt},si={readContext:function(t){return UC(),hn(t)},useCallback:function(t,n){return Z="useCallback",Ue(),le(),pm(t,n)},useContext:function(t){return Z="useContext",Ue(),le(),hn(t)},useEffect:function(t,n){return Z="useEffect",Ue(),le(),yd(t,n)},useImperativeHandle:function(t,n,i){return Z="useImperativeHandle",Ue(),le(),fm(t,n,i)},useInsertionEffect:function(t,n){return Z="useInsertionEffect",Ue(),le(),sm(t,n)},useLayoutEffect:function(t,n){return Z="useLayoutEffect",Ue(),le(),cm(t,n)},useMemo:function(t,n){Z="useMemo",Ue(),le();var i=ve.current;ve.current=si;try{return vm(t,n)}finally{ve.current=i}},useReducer:function(t,n,i){Z="useReducer",Ue(),le();var l=ve.current;ve.current=si;try{return TC(t,n,i)}finally{ve.current=l}},useRef:function(t){return Z="useRef",Ue(),le(),om()},useState:function(t){Z="useState",Ue(),le();var n=ve.current;ve.current=si;try{return MC(t)}finally{ve.current=n}},useDebugValue:function(t,n){return Z="useDebugValue",Ue(),le(),dm()},useDeferredValue:function(t){return Z="useDeferredValue",Ue(),le(),tO(t)},useTransition:function(){return Z="useTransition",Ue(),le(),aO()},useMutableSource:function(t,n,i){return Z="useMutableSource",Ue(),le(),void 0},useSyncExternalStore:function(t,n,i){return Z="useSyncExternalStore",Ue(),le(),am(t,n)},useId:function(){return Z="useId",Ue(),le(),mm()},unstable_isNewReconciler:xt},ym={readContext:function(t){return UC(),hn(t)},useCallback:function(t,n){return Z="useCallback",Ue(),le(),pm(t,n)},useContext:function(t){return Z="useContext",Ue(),le(),hn(t)},useEffect:function(t,n){return Z="useEffect",Ue(),le(),yd(t,n)},useImperativeHandle:function(t,n,i){return Z="useImperativeHandle",Ue(),le(),fm(t,n,i)},useInsertionEffect:function(t,n){return Z="useInsertionEffect",Ue(),le(),sm(t,n)},useLayoutEffect:function(t,n){return Z="useLayoutEffect",Ue(),le(),cm(t,n)},useMemo:function(t,n){Z="useMemo",Ue(),le();var i=ve.current;ve.current=si;try{return vm(t,n)}finally{ve.current=i}},useReducer:function(t,n,i){Z="useReducer",Ue(),le();var l=ve.current;ve.current=si;try{return xC(t,n,i)}finally{ve.current=l}},useRef:function(t){return Z="useRef",Ue(),le(),om()},useState:function(t){Z="useState",Ue(),le();var n=ve.current;ve.current=si;try{return DC(t)}finally{ve.current=n}},useDebugValue:function(t,n){return Z="useDebugValue",Ue(),le(),dm()},useDeferredValue:function(t){return Z="useDeferredValue",Ue(),le(),nO(t)},useTransition:function(){return Z="useTransition",Ue(),le(),iO()},useMutableSource:function(t,n,i){return Z="useMutableSource",Ue(),le(),void 0},useSyncExternalStore:function(t,n,i){return Z="useSyncExternalStore",Ue(),le(),am(t,n)},useId:function(){return Z="useId",Ue(),le(),mm()},unstable_isNewReconciler:xt}}var Al=r.unstable_now,mO=0,gm=-1,gd=-1,bm=-1,FC=!1,Em=!1;function hO(){return FC}function BV(){Em=!0}function UV(){FC=!1,Em=!1}function FV(){FC=Em,Em=!1}function yO(){return mO}function gO(){mO=Al()}function jC(t){gd=Al(),t.actualStartTime<0&&(t.actualStartTime=Al())}function bO(t){gd=-1}function Cm(t,n){if(gd>=0){var i=Al()-gd;t.actualDuration+=i,n&&(t.selfBaseDuration=i),gd=-1}}function Qi(t){if(gm>=0){var n=Al()-gm;gm=-1;for(var i=t.return;i!==null;){switch(i.tag){case b:var l=i.stateNode;l.effectDuration+=n;return;case Y:var s=i.stateNode;s.effectDuration+=n;return}i=i.return}}}function VC(t){if(bm>=0){var n=Al()-bm;bm=-1;for(var i=t.return;i!==null;){switch(i.tag){case b:var l=i.stateNode;l!==null&&(l.passiveEffectDuration+=n);return;case Y:var s=i.stateNode;s!==null&&(s.passiveEffectDuration+=n);return}i=i.return}}}function Ji(){gm=Al()}function HC(){bm=Al()}function zC(t){for(var n=t.child;n;)t.actualDuration+=n.actualDuration,n=n.sibling}function ci(t,n){if(t&&t.defaultProps){var i=Ke({},n),l=t.defaultProps;for(var s in l)i[s]===void 0&&(i[s]=l[s]);return i}return n}var WC={},GC,YC,KC,XC,QC,EO,wm,JC,ZC,ew,bd;{GC=new Set,YC=new Set,KC=new Set,XC=new Set,JC=new Set,QC=new Set,ZC=new Set,ew=new Set,bd=new Set;var CO=new Set;wm=function(t,n){if(!(t===null||typeof t=="function")){var i=n+"_"+t;CO.has(i)||(CO.add(i),c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,t))}},EO=function(t,n){if(n===void 0){var i=ut(t)||"Component";QC.has(i)||(QC.add(i),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(WC,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(WC)}function tw(t,n,i,l){var s=t.memoizedState,d=i(l,s);{if(t.mode&rn){$n(!0);try{d=i(l,s)}finally{$n(!1)}}EO(n,d)}var p=d==null?s:Ke({},s,d);if(t.memoizedState=p,t.lanes===te){var y=t.updateQueue;y.baseState=p}}var nw={isMounted:Pq,enqueueSetState:function(t,n,i){var l=Ms(t),s=Ur(),d=Ll(l),p=Lo(s,d);p.payload=n,i!=null&&(wm(i,"setState"),p.callback=i);var y=xl(l,p,d);y!==null&&(Mn(y,l,d,s),Qv(y,l,d)),k0(l,d)},enqueueReplaceState:function(t,n,i){var l=Ms(t),s=Ur(),d=Ll(l),p=Lo(s,d);p.tag=qx,p.payload=n,i!=null&&(wm(i,"replaceState"),p.callback=i);var y=xl(l,p,d);y!==null&&(Mn(y,l,d,s),Qv(y,l,d)),k0(l,d)},enqueueForceUpdate:function(t,n){var i=Ms(t),l=Ur(),s=Ll(i),d=Lo(l,s);d.tag=Yv,n!=null&&(wm(n,"forceUpdate"),d.callback=n);var p=xl(i,d,s);p!==null&&(Mn(p,i,s,l),Qv(p,i,s)),sB(i,s)}};function wO(t,n,i,l,s,d,p){var y=t.stateNode;if(typeof y.shouldComponentUpdate=="function"){var g=y.shouldComponentUpdate(l,d,p);{if(t.mode&rn){$n(!0);try{g=y.shouldComponentUpdate(l,d,p)}finally{$n(!1)}}g===void 0&&c("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ut(n)||"Component")}return g}return n.prototype&&n.prototype.isPureReactComponent?!Ff(i,l)||!Ff(s,d):!0}function jV(t,n,i){var l=t.stateNode;{var s=ut(n)||"Component",d=l.render;d||(n.prototype&&typeof n.prototype.render=="function"?c("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",s):c("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",s)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&c("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",s),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&c("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",s),l.propTypes&&c("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",s),l.contextType&&c("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",s),n.childContextTypes&&!bd.has(n)&&(t.mode&rn)===Ae&&(bd.add(n),c(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
165
|
+
|
|
166
|
+
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,s)),n.contextTypes&&!bd.has(n)&&(t.mode&rn)===Ae&&(bd.add(n),c(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
167
|
+
|
|
168
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,s)),l.contextTypes&&c("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",s),n.contextType&&n.contextTypes&&!ZC.has(n)&&(ZC.add(n),c("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",s)),typeof l.componentShouldUpdate=="function"&&c("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",s),n.prototype&&n.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&c("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ut(n)||"A pure component"),typeof l.componentDidUnmount=="function"&&c("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",s),typeof l.componentDidReceiveProps=="function"&&c("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",s),typeof l.componentWillRecieveProps=="function"&&c("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",s),typeof l.UNSAFE_componentWillRecieveProps=="function"&&c("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",s);var p=l.props!==i;l.props!==void 0&&p&&c("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",s,s),l.defaultProps&&c("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",s,s),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!KC.has(n)&&(KC.add(n),c("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ut(n))),typeof l.getDerivedStateFromProps=="function"&&c("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof l.getDerivedStateFromError=="function"&&c("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof n.getSnapshotBeforeUpdate=="function"&&c("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",s);var y=l.state;y&&(typeof y!="object"||vt(y))&&c("%s.state: must be set to an object or null",s),typeof l.getChildContext=="function"&&typeof n.childContextTypes!="object"&&c("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s)}}function SO(t,n){n.updater=nw,t.stateNode=n,xq(n,t),n._reactInternalInstance=WC}function _O(t,n,i){var l=!1,s=Ea,d=Ea,p=n.contextType;if("contextType"in n){var y=p===null||p!==void 0&&p.$$typeof===au&&p._context===void 0;if(!y&&!ew.has(n)){ew.add(n);var g="";p===void 0?g=" 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 p!="object"?g=" However, it is set to a "+typeof p+".":p.$$typeof===sl?g=" Did you accidentally pass the Context.Provider instead?":p._context!==void 0?g=" Did you accidentally pass the Context.Consumer instead?":g=" However, it is set to an object with keys {"+Object.keys(p).join(", ")+"}.",c("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ut(n)||"Component",g)}}if(typeof p=="object"&&p!==null)d=hn(p);else{s=Gs(t,n,!0);var w=n.contextTypes;l=w!=null,d=l?Ys(t,s):Ea}var S=new n(i,d);if(t.mode&rn){$n(!0);try{S=new n(i,d)}finally{$n(!1)}}var k=t.memoizedState=S.state!==null&&S.state!==void 0?S.state:null;SO(t,S);{if(typeof n.getDerivedStateFromProps=="function"&&k===null){var P=ut(n)||"Component";YC.has(P)||(YC.add(P),c("`%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.",P,S.state===null?"null":"undefined",P))}if(typeof n.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"){var F=null,H=null,W=null;if(typeof S.componentWillMount=="function"&&S.componentWillMount.__suppressDeprecationWarning!==!0?F="componentWillMount":typeof S.UNSAFE_componentWillMount=="function"&&(F="UNSAFE_componentWillMount"),typeof S.componentWillReceiveProps=="function"&&S.componentWillReceiveProps.__suppressDeprecationWarning!==!0?H="componentWillReceiveProps":typeof S.UNSAFE_componentWillReceiveProps=="function"&&(H="UNSAFE_componentWillReceiveProps"),typeof S.componentWillUpdate=="function"&&S.componentWillUpdate.__suppressDeprecationWarning!==!0?W="componentWillUpdate":typeof S.UNSAFE_componentWillUpdate=="function"&&(W="UNSAFE_componentWillUpdate"),F!==null||H!==null||W!==null){var ue=ut(n)||"Component",xe=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";XC.has(ue)||(XC.add(ue),c(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
169
|
+
|
|
170
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
171
|
+
|
|
172
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
173
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,ue,xe,F!==null?`
|
|
174
|
+
`+F:"",H!==null?`
|
|
175
|
+
`+H:"",W!==null?`
|
|
176
|
+
`+W:""))}}}return l&&px(t,s,d),S}function VV(t,n){var i=n.state;typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),i!==n.state&&(c("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ve(t)||"Component"),nw.enqueueReplaceState(n,n.state,null))}function RO(t,n,i,l){var s=n.state;if(typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(i,l),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(i,l),n.state!==s){{var d=Ve(t)||"Component";GC.has(d)||(GC.add(d),c("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}nw.enqueueReplaceState(n,n.state,null)}}function rw(t,n,i,l){jV(t,n,i);var s=t.stateNode;s.props=i,s.state=t.memoizedState,s.refs={},dC(t);var d=n.contextType;if(typeof d=="object"&&d!==null)s.context=hn(d);else{var p=Gs(t,n,!0);s.context=Ys(t,p)}{if(s.state===i){var y=ut(n)||"Component";JC.has(y)||(JC.add(y),c("%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.",y))}t.mode&rn&&li.recordLegacyContextWarning(t,s),li.recordUnsafeLifecycleWarnings(t,s)}s.state=t.memoizedState;var g=n.getDerivedStateFromProps;if(typeof g=="function"&&(tw(t,n,g,i),s.state=t.memoizedState),typeof n.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(VV(t,s),Jv(t,i,s,l),s.state=t.memoizedState),typeof s.componentDidMount=="function"){var w=lt;w|=vu,(t.mode&Hi)!==Ae&&(w|=Ro),t.flags|=w}}function HV(t,n,i,l){var s=t.stateNode,d=t.memoizedProps;s.props=d;var p=s.context,y=n.contextType,g=Ea;if(typeof y=="object"&&y!==null)g=hn(y);else{var w=Gs(t,n,!0);g=Ys(t,w)}var S=n.getDerivedStateFromProps,k=typeof S=="function"||typeof s.getSnapshotBeforeUpdate=="function";!k&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(d!==i||p!==g)&&RO(t,s,i,g),Ux();var P=t.memoizedState,F=s.state=P;if(Jv(t,i,s,l),F=t.memoizedState,d===i&&P===F&&!kv()&&!Zv()){if(typeof s.componentDidMount=="function"){var H=lt;H|=vu,(t.mode&Hi)!==Ae&&(H|=Ro),t.flags|=H}return!1}typeof S=="function"&&(tw(t,n,S,i),F=t.memoizedState);var W=Zv()||wO(t,n,d,i,P,F,g);if(W){if(!k&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"){var ue=lt;ue|=vu,(t.mode&Hi)!==Ae&&(ue|=Ro),t.flags|=ue}}else{if(typeof s.componentDidMount=="function"){var xe=lt;xe|=vu,(t.mode&Hi)!==Ae&&(xe|=Ro),t.flags|=xe}t.memoizedProps=i,t.memoizedState=F}return s.props=i,s.state=F,s.context=g,W}function zV(t,n,i,l,s){var d=n.stateNode;Bx(t,n);var p=n.memoizedProps,y=n.type===n.elementType?p:ci(n.type,p);d.props=y;var g=n.pendingProps,w=d.context,S=i.contextType,k=Ea;if(typeof S=="object"&&S!==null)k=hn(S);else{var P=Gs(n,i,!0);k=Ys(n,P)}var F=i.getDerivedStateFromProps,H=typeof F=="function"||typeof d.getSnapshotBeforeUpdate=="function";!H&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(p!==g||w!==k)&&RO(n,d,l,k),Ux();var W=n.memoizedState,ue=d.state=W;if(Jv(n,l,d,s),ue=n.memoizedState,p===g&&W===ue&&!kv()&&!Zv()&&!dr)return typeof d.componentDidUpdate=="function"&&(p!==t.memoizedProps||W!==t.memoizedState)&&(n.flags|=lt),typeof d.getSnapshotBeforeUpdate=="function"&&(p!==t.memoizedProps||W!==t.memoizedState)&&(n.flags|=du),!1;typeof F=="function"&&(tw(n,i,F,l),ue=n.memoizedState);var xe=Zv()||wO(n,i,y,l,W,ue,k)||dr;return xe?(!H&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(l,ue,k),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(l,ue,k)),typeof d.componentDidUpdate=="function"&&(n.flags|=lt),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=du)):(typeof d.componentDidUpdate=="function"&&(p!==t.memoizedProps||W!==t.memoizedState)&&(n.flags|=lt),typeof d.getSnapshotBeforeUpdate=="function"&&(p!==t.memoizedProps||W!==t.memoizedState)&&(n.flags|=du),n.memoizedProps=l,n.memoizedState=ue),d.props=l,d.state=ue,d.context=k,xe}function Pu(t,n){return{value:t,source:n,stack:yo(n),digest:null}}function aw(t,n,i){return{value:t,source:null,stack:i??null,digest:n??null}}function WV(t,n){return!0}function iw(t,n){try{var i=WV(t,n);if(i===!1)return;var l=n.value,s=n.source,d=n.stack,p=d!==null?d:"";if(l!=null&&l._suppressLogging){if(t.tag===h)return;console.error(l)}var y=s?Ve(s):null,g=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",w;if(t.tag===b)w=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
177
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var S=Ve(t)||"Anonymous";w="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+S+".")}var k=g+`
|
|
178
|
+
`+p+`
|
|
179
|
+
|
|
180
|
+
`+(""+w);console.error(k)}catch(P){setTimeout(function(){throw P})}}var GV=typeof WeakMap=="function"?WeakMap:Map;function TO(t,n,i){var l=Lo(Bt,i);l.tag=cC,l.payload={element:null};var s=n.value;return l.callback=function(){Bz(s),iw(t,n)},l}function ow(t,n,i){var l=Lo(Bt,i);l.tag=cC;var s=t.type.getDerivedStateFromError;if(typeof s=="function"){var d=n.value;l.payload=function(){return s(d)},l.callback=function(){$M(t),iw(t,n)}}var p=t.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(l.callback=function(){$M(t),iw(t,n),typeof s!="function"&&$z(this);var g=n.value,w=n.stack;this.componentDidCatch(g,{componentStack:w!==null?w:""}),typeof s!="function"&&(ha(t.lanes,Be)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ve(t)||"Unknown"))}),l}function xO(t,n,i){var l=t.pingCache,s;if(l===null?(l=t.pingCache=new GV,s=new Set,l.set(n,s)):(s=l.get(n),s===void 0&&(s=new Set,l.set(n,s))),!s.has(i)){s.add(i);var d=Uz.bind(null,t,n,i);ri&&Nd(t,i),n.then(d,d)}}function YV(t,n,i,l){var s=t.updateQueue;if(s===null){var d=new Set;d.add(i),t.updateQueue=d}else s.add(i)}function KV(t,n){var i=t.tag;if((t.mode&nt)===Ae&&(i===m||i===U||i===K)){var l=t.alternate;l?(t.updateQueue=l.updateQueue,t.memoizedState=l.memoizedState,t.lanes=l.lanes):(t.updateQueue=null,t.memoizedState=null)}}function OO(t){var n=t;do{if(n.tag===J&&MV(n))return n;n=n.return}while(n!==null);return null}function MO(t,n,i,l,s){if((t.mode&nt)===Ae){if(t===n)t.flags|=$r;else{if(t.flags|=mt,i.flags|=T0,i.flags&=~(Oq|gf),i.tag===h){var d=i.alternate;if(d===null)i.tag=re;else{var p=Lo(Bt,Be);p.tag=Yv,xl(i,p,Be)}}i.lanes=We(i.lanes,Be)}return t}return t.flags|=$r,t.lanes=s,t}function XV(t,n,i,l,s){if(i.flags|=gf,ri&&Nd(t,s),l!==null&&typeof l=="object"&&typeof l.then=="function"){var d=l;KV(i),Jn()&&i.mode&nt&&Ex();var p=OO(n);if(p!==null){p.flags&=~So,MO(p,n,i,t,s),p.mode&nt&&xO(t,d,s),YV(p,t,d);return}else{if(!gB(s)){xO(t,d,s),Bw();return}var y=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");l=y}}else if(Jn()&&i.mode&nt){Ex();var g=OO(n);if(g!==null){(g.flags&$r)===Ie&&(g.flags|=So),MO(g,n,i,t,s),JE(Pu(l,i));return}}l=Pu(l,i),Mz(l);var w=n;do{switch(w.tag){case b:{var S=l;w.flags|=$r;var k=Tf(s);w.lanes=We(w.lanes,k);var P=TO(w,S,k);pC(w,P);return}case h:var F=l,H=w.type,W=w.stateNode;if((w.flags&mt)===Ie&&(typeof H.getDerivedStateFromError=="function"||W!==null&&typeof W.componentDidCatch=="function"&&!OM(W))){w.flags|=$r;var ue=Tf(s);w.lanes=We(w.lanes,ue);var xe=ow(w,F,ue);pC(w,xe);return}break}w=w.return}while(w!==null)}function QV(){return null}var Ed=a.ReactCurrentOwner,fi=!1,lw,Cd,uw,sw,cw,ku,fw,Sm,wd;lw={},Cd={},uw={},sw={},cw={},ku=!1,fw={},Sm={},wd={};function qr(t,n,i,l){t===null?n.child=Px(n,null,i,l):n.child=Js(n,t.child,i,l)}function JV(t,n,i,l){n.child=Js(n,t.child,null,l),n.child=Js(n,null,i,l)}function DO(t,n,i,l,s){if(n.type!==n.elementType){var d=i.propTypes;d&&ii(d,l,"prop",ut(i))}var p=i.render,y=n.ref,g,w;ec(n,s),Ef(n);{if(Ed.current=n,va(!0),g=oc(t,n,p,l,y,s),w=lc(),n.mode&rn){$n(!0);try{g=oc(t,n,p,l,y,s),w=lc()}finally{$n(!1)}}va(!1)}return ks(),t!==null&&!fi?(Wx(t,n,s),No(t,n,s)):(Jn()&&w&&WE(n),n.flags|=Ds,qr(t,n,g,s),n.child)}function AO(t,n,i,l,s){if(t===null){var d=i.type;if(r3(d)&&i.compare===null&&i.defaultProps===void 0){var p=d;return p=mc(d),n.tag=K,n.type=p,vw(n,d),PO(t,n,p,l,s)}{var y=d.propTypes;if(y&&ii(y,l,"prop",ut(d)),i.defaultProps!==void 0){var g=ut(d)||"Unknown";wd[g]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",g),wd[g]=!0)}}var w=Xw(i.type,null,l,n,n.mode,s);return w.ref=n.ref,w.return=n,n.child=w,w}{var S=i.type,k=S.propTypes;k&&ii(k,l,"prop",ut(S))}var P=t.child,F=Ew(t,s);if(!F){var H=P.memoizedProps,W=i.compare;if(W=W!==null?W:Ff,W(H,l)&&t.ref===n.ref)return No(t,n,s)}n.flags|=Ds;var ue=qu(P,l);return ue.ref=n.ref,ue.return=n,n.child=ue,ue}function PO(t,n,i,l,s){if(n.type!==n.elementType){var d=n.elementType;if(d.$$typeof===Cn){var p=d,y=p._payload,g=p._init;try{d=g(y)}catch{d=null}var w=d&&d.propTypes;w&&ii(w,l,"prop",ut(d))}}if(t!==null){var S=t.memoizedProps;if(Ff(S,l)&&t.ref===n.ref&&n.type===t.type)if(fi=!1,n.pendingProps=l=S,Ew(t,s))(t.flags&T0)!==Ie&&(fi=!0);else return n.lanes=t.lanes,No(t,n,s)}return dw(t,n,i,l,s)}function kO(t,n,i){var l=n.pendingProps,s=l.children,d=t!==null?t.memoizedState:null;if(l.mode==="hidden"||Or)if((n.mode&nt)===Ae){var p={baseLanes:te,cachePool:null,transitions:null};n.memoizedState=p,Nm(n,i)}else if(ha(i,ma)){var k={baseLanes:te,cachePool:null,transitions:null};n.memoizedState=k;var P=d!==null?d.baseLanes:i;Nm(n,P)}else{var y=null,g;if(d!==null){var w=d.baseLanes;g=We(w,i)}else g=i;n.lanes=n.childLanes=ma;var S={baseLanes:g,cachePool:y,transitions:null};return n.memoizedState=S,n.updateQueue=null,Nm(n,g),null}else{var F;d!==null?(F=We(d.baseLanes,i),n.memoizedState=null):F=i,Nm(n,F)}return qr(t,n,s,i),n.child}function ZV(t,n,i){var l=n.pendingProps;return qr(t,n,l,i),n.child}function eH(t,n,i){var l=n.pendingProps.children;return qr(t,n,l,i),n.child}function tH(t,n,i){{n.flags|=lt;{var l=n.stateNode;l.effectDuration=0,l.passiveEffectDuration=0}}var s=n.pendingProps,d=s.children;return qr(t,n,d,i),n.child}function IO(t,n){var i=n.ref;(t===null&&i!==null||t!==null&&t.ref!==i)&&(n.flags|=ml,n.flags|=x0)}function dw(t,n,i,l,s){if(n.type!==n.elementType){var d=i.propTypes;d&&ii(d,l,"prop",ut(i))}var p;{var y=Gs(n,i,!0);p=Ys(n,y)}var g,w;ec(n,s),Ef(n);{if(Ed.current=n,va(!0),g=oc(t,n,i,l,p,s),w=lc(),n.mode&rn){$n(!0);try{g=oc(t,n,i,l,p,s),w=lc()}finally{$n(!1)}}va(!1)}return ks(),t!==null&&!fi?(Wx(t,n,s),No(t,n,s)):(Jn()&&w&&WE(n),n.flags|=Ds,qr(t,n,g,s),n.child)}function LO(t,n,i,l,s){{switch(g3(n)){case!1:{var d=n.stateNode,p=n.type,y=new p(n.memoizedProps,d.context),g=y.state;d.updater.enqueueSetState(d,g,null);break}case!0:{n.flags|=mt,n.flags|=$r;var w=new Error("Simulated error coming from DevTools"),S=Tf(s);n.lanes=We(n.lanes,S);var k=ow(n,Pu(w,n),S);pC(n,k);break}}if(n.type!==n.elementType){var P=i.propTypes;P&&ii(P,l,"prop",ut(i))}}var F;Gi(i)?(F=!0,Lv(n)):F=!1,ec(n,s);var H=n.stateNode,W;H===null?(Rm(t,n),_O(n,i,l),rw(n,i,l,s),W=!0):t===null?W=HV(n,i,l,s):W=zV(t,n,i,l,s);var ue=pw(t,n,i,W,F,s);{var xe=n.stateNode;W&&xe.props!==l&&(ku||c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ve(n)||"a component"),ku=!0)}return ue}function pw(t,n,i,l,s,d){IO(t,n);var p=(n.flags&mt)!==Ie;if(!l&&!p)return s&&hx(n,i,!1),No(t,n,d);var y=n.stateNode;Ed.current=n;var g;if(p&&typeof i.getDerivedStateFromError!="function")g=null,bO();else{Ef(n);{if(va(!0),g=y.render(),n.mode&rn){$n(!0);try{y.render()}finally{$n(!1)}}va(!1)}ks()}return n.flags|=Ds,t!==null&&p?JV(t,n,g,d):qr(t,n,g,d),n.memoizedState=y.state,s&&hx(n,i,!0),n.child}function NO(t){var n=t.stateNode;n.pendingContext?vx(t,n.pendingContext,n.pendingContext!==n.context):n.context&&vx(t,n.context,!1),vC(t,n.containerInfo)}function nH(t,n,i){if(NO(n),t===null)throw new Error("Should have a current fiber. This is a bug in React.");var l=n.pendingProps,s=n.memoizedState,d=s.element;Bx(t,n),Jv(n,l,null,i);var p=n.memoizedState;n.stateNode;var y=p.element;if(s.isDehydrated){var g={element:y,isDehydrated:!1,cache:p.cache,pendingSuspenseBoundaries:p.pendingSuspenseBoundaries,transitions:p.transitions},w=n.updateQueue;if(w.baseState=g,n.memoizedState=g,n.flags&So){var S=Pu(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),n);return $O(t,n,y,i,S)}else if(y!==d){var k=Pu(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),n);return $O(t,n,y,i,k)}else{iV(n);var P=Px(n,null,y,i);n.child=P;for(var F=P;F;)F.flags=F.flags&~mn|_o,F=F.sibling}}else{if(Qs(),y===d)return No(t,n,i);qr(t,n,y,i)}return n.child}function $O(t,n,i,l,s){return Qs(),JE(s),n.flags|=So,qr(t,n,i,l),n.child}function rH(t,n,i){Vx(n),t===null&&QE(n);var l=n.type,s=n.pendingProps,d=t!==null?t.memoizedProps:null,p=s.children,y=PE(l,s);return y?p=null:d!==null&&PE(l,d)&&(n.flags|=yf),IO(t,n),qr(t,n,p,i),n.child}function aH(t,n){return t===null&&QE(n),null}function iH(t,n,i,l){Rm(t,n);var s=n.pendingProps,d=i,p=d._payload,y=d._init,g=y(p);n.type=g;var w=n.tag=a3(g),S=ci(g,s),k;switch(w){case m:return vw(n,g),n.type=g=mc(g),k=dw(null,n,g,S,l),k;case h:return n.type=g=Hw(g),k=LO(null,n,g,S,l),k;case U:return n.type=g=zw(g),k=DO(null,n,g,S,l),k;case I:{if(n.type!==n.elementType){var P=g.propTypes;P&&ii(P,S,"prop",ut(g))}return k=AO(null,n,g,ci(g.type,S),l),k}}var F="";throw g!==null&&typeof g=="object"&&g.$$typeof===Cn&&(F=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+g+". "+("Lazy element type must resolve to a class or function."+F))}function oH(t,n,i,l,s){Rm(t,n),n.tag=h;var d;return Gi(i)?(d=!0,Lv(n)):d=!1,ec(n,s),_O(n,i,l),rw(n,i,l,s),pw(null,n,i,!0,d,s)}function lH(t,n,i,l){Rm(t,n);var s=n.pendingProps,d;{var p=Gs(n,i,!1);d=Ys(n,p)}ec(n,l);var y,g;Ef(n);{if(i.prototype&&typeof i.prototype.render=="function"){var w=ut(i)||"Unknown";lw[w]||(c("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.",w,w),lw[w]=!0)}n.mode&rn&&li.recordLegacyContextWarning(n,null),va(!0),Ed.current=n,y=oc(null,n,i,s,d,l),g=lc(),va(!1)}if(ks(),n.flags|=Ds,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var S=ut(i)||"Unknown";Cd[S]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",S,S,S),Cd[S]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var k=ut(i)||"Unknown";Cd[k]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",k,k,k),Cd[k]=!0)}n.tag=h,n.memoizedState=null,n.updateQueue=null;var P=!1;return Gi(i)?(P=!0,Lv(n)):P=!1,n.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,dC(n),SO(n,y),rw(n,i,s,l),pw(null,n,i,!0,P,l)}else{if(n.tag=m,n.mode&rn){$n(!0);try{y=oc(null,n,i,s,d,l),g=lc()}finally{$n(!1)}}return Jn()&&g&&WE(n),qr(null,n,y,l),vw(n,i),n.child}}function vw(t,n){{if(n&&n.childContextTypes&&c("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),t.ref!==null){var i="",l=fl();l&&(i+=`
|
|
181
|
+
|
|
182
|
+
Check the render method of \``+l+"`.");var s=l||"",d=t._debugSource;d&&(s=d.fileName+":"+d.lineNumber),cw[s]||(cw[s]=!0,c("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(n.defaultProps!==void 0){var p=ut(n)||"Unknown";wd[p]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",p),wd[p]=!0)}if(typeof n.getDerivedStateFromProps=="function"){var y=ut(n)||"Unknown";sw[y]||(c("%s: Function components do not support getDerivedStateFromProps.",y),sw[y]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var g=ut(n)||"Unknown";uw[g]||(c("%s: Function components do not support contextType.",g),uw[g]=!0)}}}var mw={dehydrated:null,treeContext:null,retryLane:qn};function hw(t){return{baseLanes:t,cachePool:QV(),transitions:null}}function uH(t,n){var i=null;return{baseLanes:We(t.baseLanes,n),cachePool:i,transitions:t.transitions}}function sH(t,n,i,l){if(n!==null){var s=n.memoizedState;if(s===null)return!1}return yC(t,fd)}function cH(t,n){return av(t.childLanes,n)}function qO(t,n,i){var l=n.pendingProps;b3(n)&&(n.flags|=mt);var s=ui.current,d=!1,p=(n.flags&mt)!==Ie;if(p||sH(s,t)?(d=!0,n.flags&=~mt):(t===null||t.memoizedState!==null)&&(s=OV(s,zx)),s=nc(s),Ml(n,s),t===null){QE(n);var y=n.memoizedState;if(y!==null){var g=y.dehydrated;if(g!==null)return mH(n,g)}var w=l.children,S=l.fallback;if(d){var k=fH(n,w,S,i),P=n.child;return P.memoizedState=hw(i),n.memoizedState=mw,k}else return yw(n,w)}else{var F=t.memoizedState;if(F!==null){var H=F.dehydrated;if(H!==null)return hH(t,n,p,l,H,F,i)}if(d){var W=l.fallback,ue=l.children,xe=pH(t,n,ue,W,i),Ce=n.child,at=t.child.memoizedState;return Ce.memoizedState=at===null?hw(i):uH(at,i),Ce.childLanes=cH(t,i),n.memoizedState=mw,xe}else{var Je=l.children,$=dH(t,n,Je,i);return n.memoizedState=null,$}}}function yw(t,n,i){var l=t.mode,s={mode:"visible",children:n},d=gw(s,l);return d.return=t,t.child=d,d}function fH(t,n,i,l){var s=t.mode,d=t.child,p={mode:"hidden",children:n},y,g;return(s&nt)===Ae&&d!==null?(y=d,y.childLanes=te,y.pendingProps=p,t.mode&Et&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),g=$l(i,s,l,null)):(y=gw(p,s),g=$l(i,s,l,null)),y.return=t,g.return=t,y.sibling=g,t.child=y,g}function gw(t,n,i){return BM(t,n,te,null)}function BO(t,n){return qu(t,n)}function dH(t,n,i,l){var s=t.child,d=s.sibling,p=BO(s,{mode:"visible",children:i});if((n.mode&nt)===Ae&&(p.lanes=l),p.return=n,p.sibling=null,d!==null){var y=n.deletions;y===null?(n.deletions=[d],n.flags|=fu):y.push(d)}return n.child=p,p}function pH(t,n,i,l,s){var d=n.mode,p=t.child,y=p.sibling,g={mode:"hidden",children:i},w;if((d&nt)===Ae&&n.child!==p){var S=n.child;w=S,w.childLanes=te,w.pendingProps=g,n.mode&Et&&(w.actualDuration=0,w.actualStartTime=-1,w.selfBaseDuration=p.selfBaseDuration,w.treeBaseDuration=p.treeBaseDuration),n.deletions=null}else w=BO(p,g),w.subtreeFlags=p.subtreeFlags&To;var k;return y!==null?k=qu(y,l):(k=$l(l,d,s,null),k.flags|=mn),k.return=n,w.return=n,w.sibling=k,n.child=w,k}function _m(t,n,i,l){l!==null&&JE(l),Js(n,t.child,null,i);var s=n.pendingProps,d=s.children,p=yw(n,d);return p.flags|=mn,n.memoizedState=null,p}function vH(t,n,i,l,s){var d=n.mode,p={mode:"visible",children:i},y=gw(p,d),g=$l(l,d,s,null);return g.flags|=mn,y.return=n,g.return=n,y.sibling=g,n.child=y,(n.mode&nt)!==Ae&&Js(n,t.child,null,s),g}function mH(t,n,i){return(t.mode&nt)===Ae?(c("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),t.lanes=Be):NE(n)?t.lanes=yu:t.lanes=ma,null}function hH(t,n,i,l,s,d,p){if(i)if(n.flags&So){n.flags&=~So;var $=aw(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return _m(t,n,p,$)}else{if(n.memoizedState!==null)return n.child=t.child,n.flags|=mt,null;var G=l.children,q=l.fallback,ne=vH(t,n,G,q,p),me=n.child;return me.memoizedState=hw(p),n.memoizedState=mw,ne}else{if(rV(),(n.mode&nt)===Ae)return _m(t,n,p,null);if(NE(s)){var y,g,w;{var S=Ej(s);y=S.digest,g=S.message,w=S.stack}var k;g?k=new Error(g):k=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var P=aw(k,y,w);return _m(t,n,p,P)}var F=ha(p,t.childLanes);if(fi||F){var H=Lm();if(H!==null){var W=TB(H,p);if(W!==qn&&W!==d.retryLane){d.retryLane=W;var ue=Bt;ea(t,W),Mn(H,t,W,ue)}}Bw();var xe=aw(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return _m(t,n,p,xe)}else if(ux(s)){n.flags|=mt,n.child=t.child;var Ce=Fz.bind(null,t);return Cj(s,Ce),null}else{oV(n,s,d.treeContext);var at=l.children,Je=yw(n,at);return Je.flags|=_o,Je}}}function UO(t,n,i){t.lanes=We(t.lanes,n);var l=t.alternate;l!==null&&(l.lanes=We(l.lanes,n)),uC(t.return,n,i)}function yH(t,n,i){for(var l=n;l!==null;){if(l.tag===J){var s=l.memoizedState;s!==null&&UO(l,i,t)}else if(l.tag===ce)UO(l,i,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)return;for(;l.sibling===null;){if(l.return===null||l.return===t)return;l=l.return}l.sibling.return=l.return,l=l.sibling}}function gH(t){for(var n=t,i=null;n!==null;){var l=n.alternate;l!==null&&nm(l)===null&&(i=n),n=n.sibling}return i}function bH(t){if(t!==void 0&&t!=="forwards"&&t!=="backwards"&&t!=="together"&&!fw[t])if(fw[t]=!0,typeof t=="string")switch(t.toLowerCase()){case"together":case"forwards":case"backwards":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',t,t.toLowerCase());break}case"forward":case"backward":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',t,t.toLowerCase());break}default:c('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t);break}else c('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t)}function EH(t,n){t!==void 0&&!Sm[t]&&(t!=="collapsed"&&t!=="hidden"?(Sm[t]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',t)):n!=="forwards"&&n!=="backwards"&&(Sm[t]=!0,c('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',t)))}function FO(t,n){{var i=vt(t),l=!i&&typeof Qa(t)=="function";if(i||l){var s=i?"array":"iterable";return c("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",s,n,s),!1}}return!0}function CH(t,n){if((n==="forwards"||n==="backwards")&&t!==void 0&&t!==null&&t!==!1)if(vt(t)){for(var i=0;i<t.length;i++)if(!FO(t[i],i))return}else{var l=Qa(t);if(typeof l=="function"){var s=l.call(t);if(s)for(var d=s.next(),p=0;!d.done;d=s.next()){if(!FO(d.value,p))return;p++}}else c('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?',n)}}function bw(t,n,i,l,s){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:l,tail:i,tailMode:s}:(d.isBackwards=n,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=i,d.tailMode=s)}function jO(t,n,i){var l=n.pendingProps,s=l.revealOrder,d=l.tail,p=l.children;bH(s),EH(d,s),CH(p,s),qr(t,n,p,i);var y=ui.current,g=yC(y,fd);if(g)y=gC(y,fd),n.flags|=mt;else{var w=t!==null&&(t.flags&mt)!==Ie;w&&yH(n,n.child,i),y=nc(y)}if(Ml(n,y),(n.mode&nt)===Ae)n.memoizedState=null;else switch(s){case"forwards":{var S=gH(n.child),k;S===null?(k=n.child,n.child=null):(k=S.sibling,S.sibling=null),bw(n,!1,k,S,d);break}case"backwards":{var P=null,F=n.child;for(n.child=null;F!==null;){var H=F.alternate;if(H!==null&&nm(H)===null){n.child=F;break}var W=F.sibling;F.sibling=P,P=F,F=W}bw(n,!0,P,null,d);break}case"together":{bw(n,!1,null,null,void 0);break}default:n.memoizedState=null}return n.child}function wH(t,n,i){vC(n,n.stateNode.containerInfo);var l=n.pendingProps;return t===null?n.child=Js(n,null,l,i):qr(t,n,l,i),n.child}var VO=!1;function SH(t,n,i){var l=n.type,s=l._context,d=n.pendingProps,p=n.memoizedProps,y=d.value;{"value"in d||VO||(VO=!0,c("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var g=n.type.propTypes;g&&ii(g,d,"prop","Context.Provider")}if(Lx(n,s,y),p!==null){var w=p.value;if(ba(w,y)){if(p.children===d.children&&!kv())return No(t,n,i)}else bV(n,s,i)}var S=d.children;return qr(t,n,S,i),n.child}var HO=!1;function _H(t,n,i){var l=n.type;l._context===void 0?l!==l.Consumer&&(HO||(HO=!0,c("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):l=l._context;var s=n.pendingProps,d=s.children;typeof d!="function"&&c("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."),ec(n,i);var p=hn(l);Ef(n);var y;return Ed.current=n,va(!0),y=d(p),va(!1),ks(),n.flags|=Ds,qr(t,n,y,i),n.child}function Sd(){fi=!0}function Rm(t,n){(n.mode&nt)===Ae&&t!==null&&(t.alternate=null,n.alternate=null,n.flags|=mn)}function No(t,n,i){return t!==null&&(n.dependencies=t.dependencies),bO(),Ld(n.lanes),ha(i,n.childLanes)?(yV(t,n),n.child):null}function RH(t,n,i){{var l=n.return;if(l===null)throw new Error("Cannot swap the root fiber.");if(t.alternate=null,n.alternate=null,i.index=n.index,i.sibling=n.sibling,i.return=n.return,i.ref=n.ref,n===l.child)l.child=i;else{var s=l.child;if(s===null)throw new Error("Expected parent to have a child.");for(;s.sibling!==n;)if(s=s.sibling,s===null)throw new Error("Expected to find the previous sibling.");s.sibling=i}var d=l.deletions;return d===null?(l.deletions=[t],l.flags|=fu):d.push(t),i.flags|=mn,i}}function Ew(t,n){var i=t.lanes;return!!ha(i,n)}function TH(t,n,i){switch(n.tag){case b:NO(n),n.stateNode,Qs();break;case M:Vx(n);break;case h:{var l=n.type;Gi(l)&&Lv(n);break}case R:vC(n,n.stateNode.containerInfo);break;case j:{var s=n.memoizedProps.value,d=n.type._context;Lx(n,d,s);break}case Y:{var p=ha(i,n.childLanes);p&&(n.flags|=lt);{var y=n.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}}break;case J:{var g=n.memoizedState;if(g!==null){if(g.dehydrated!==null)return Ml(n,nc(ui.current)),n.flags|=mt,null;var w=n.child,S=w.childLanes;if(ha(i,S))return qO(t,n,i);Ml(n,nc(ui.current));var k=No(t,n,i);return k!==null?k.sibling:null}else Ml(n,nc(ui.current));break}case ce:{var P=(t.flags&mt)!==Ie,F=ha(i,n.childLanes);if(P){if(F)return jO(t,n,i);n.flags|=mt}var H=n.memoizedState;if(H!==null&&(H.rendering=null,H.tail=null,H.lastEffect=null),Ml(n,ui.current),F)break;return null}case $e:case fe:return n.lanes=te,kO(t,n,i)}return No(t,n,i)}function zO(t,n,i){if(n._debugNeedsRemount&&t!==null)return RH(t,n,Xw(n.type,n.key,n.pendingProps,n._debugOwner||null,n.mode,n.lanes));if(t!==null){var l=t.memoizedProps,s=n.pendingProps;if(l!==s||kv()||n.type!==t.type)fi=!0;else{var d=Ew(t,i);if(!d&&(n.flags&mt)===Ie)return fi=!1,TH(t,n,i);(t.flags&T0)!==Ie?fi=!0:fi=!1}}else if(fi=!1,Jn()&&Qj(n)){var p=n.index,y=Jj();bx(n,y,p)}switch(n.lanes=te,n.tag){case C:return lH(t,n,n.type,i);case N:{var g=n.elementType;return iH(t,n,g,i)}case m:{var w=n.type,S=n.pendingProps,k=n.elementType===w?S:ci(w,S);return dw(t,n,w,k,i)}case h:{var P=n.type,F=n.pendingProps,H=n.elementType===P?F:ci(P,F);return LO(t,n,P,H,i)}case b:return nH(t,n,i);case M:return rH(t,n,i);case A:return aH(t,n);case J:return qO(t,n,i);case R:return wH(t,n,i);case U:{var W=n.type,ue=n.pendingProps,xe=n.elementType===W?ue:ci(W,ue);return DO(t,n,W,xe,i)}case L:return ZV(t,n,i);case B:return eH(t,n,i);case Y:return tH(t,n,i);case j:return SH(t,n,i);case T:return _H(t,n,i);case I:{var Ce=n.type,at=n.pendingProps,Je=ci(Ce,at);if(n.type!==n.elementType){var $=Ce.propTypes;$&&ii($,Je,"prop",ut(Ce))}return Je=ci(Ce.type,Je),AO(t,n,Ce,Je,i)}case K:return PO(t,n,n.type,n.pendingProps,i);case re:{var G=n.type,q=n.pendingProps,ne=n.elementType===G?q:ci(G,q);return oH(t,n,G,ne,i)}case ce:return jO(t,n,i);case De:break;case $e:return kO(t,n,i)}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function uc(t){t.flags|=lt}function WO(t){t.flags|=ml,t.flags|=x0}var GO,Cw,YO,KO;GO=function(t,n,i,l){for(var s=n.child;s!==null;){if(s.tag===M||s.tag===A)YF(t,s.stateNode);else if(s.tag!==R){if(s.child!==null){s.child.return=s,s=s.child;continue}}if(s===n)return;for(;s.sibling===null;){if(s.return===null||s.return===n)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},Cw=function(t,n){},YO=function(t,n,i,l,s){var d=t.memoizedProps;if(d!==l){var p=n.stateNode,y=mC(),g=XF(p,i,d,l,s,y);n.updateQueue=g,g&&uc(n)}},KO=function(t,n,i,l){i!==l&&uc(n)};function _d(t,n){if(!Jn())switch(t.tailMode){case"hidden":{for(var i=t.tail,l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?t.tail=null:l.sibling=null;break}case"collapsed":{for(var s=t.tail,d=null;s!==null;)s.alternate!==null&&(d=s),s=s.sibling;d===null?!n&&t.tail!==null?t.tail.sibling=null:t.tail=null:d.sibling=null;break}}}function er(t){var n=t.alternate!==null&&t.alternate.child===t.child,i=te,l=Ie;if(n){if((t.mode&Et)!==Ae){for(var g=t.selfBaseDuration,w=t.child;w!==null;)i=We(i,We(w.lanes,w.childLanes)),l|=w.subtreeFlags&To,l|=w.flags&To,g+=w.treeBaseDuration,w=w.sibling;t.treeBaseDuration=g}else for(var S=t.child;S!==null;)i=We(i,We(S.lanes,S.childLanes)),l|=S.subtreeFlags&To,l|=S.flags&To,S.return=t,S=S.sibling;t.subtreeFlags|=l}else{if((t.mode&Et)!==Ae){for(var s=t.actualDuration,d=t.selfBaseDuration,p=t.child;p!==null;)i=We(i,We(p.lanes,p.childLanes)),l|=p.subtreeFlags,l|=p.flags,s+=p.actualDuration,d+=p.treeBaseDuration,p=p.sibling;t.actualDuration=s,t.treeBaseDuration=d}else for(var y=t.child;y!==null;)i=We(i,We(y.lanes,y.childLanes)),l|=y.subtreeFlags,l|=y.flags,y.return=t,y=y.sibling;t.subtreeFlags|=l}return t.childLanes=i,n}function xH(t,n,i){if(fV()&&(n.mode&nt)!==Ae&&(n.flags&mt)===Ie)return Tx(n),Qs(),n.flags|=So|gf|$r,!1;var l=Uv(n);if(i!==null&&i.dehydrated!==null)if(t===null){if(!l)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(sV(n),er(n),(n.mode&Et)!==Ae){var s=i!==null;if(s){var d=n.child;d!==null&&(n.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(Qs(),(n.flags&mt)===Ie&&(n.memoizedState=null),n.flags|=lt,er(n),(n.mode&Et)!==Ae){var p=i!==null;if(p){var y=n.child;y!==null&&(n.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return xx(),!0}function XO(t,n,i){var l=n.pendingProps;switch(GE(n),n.tag){case C:case N:case K:case m:case U:case L:case B:case Y:case T:case I:return er(n),null;case h:{var s=n.type;return Gi(s)&&Iv(n),er(n),null}case b:{var d=n.stateNode;if(tc(n),VE(n),EC(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),t===null||t.child===null){var p=Uv(n);if(p)uc(n);else if(t!==null){var y=t.memoizedState;(!y.isDehydrated||(n.flags&So)!==Ie)&&(n.flags|=du,xx())}}return Cw(t,n),er(n),null}case M:{hC(n);var g=jx(),w=n.type;if(t!==null&&n.stateNode!=null)YO(t,n,w,l,g),t.ref!==n.ref&&WO(n);else{if(!l){if(n.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return er(n),null}var S=mC(),k=Uv(n);if(k)lV(n,g,S)&&uc(n);else{var P=GF(w,l,g,S,n);GO(P,n,!1,!1),n.stateNode=P,KF(P,w,l,g)&&uc(n)}n.ref!==null&&WO(n)}return er(n),null}case A:{var F=l;if(t&&n.stateNode!=null){var H=t.memoizedProps;KO(t,n,H,F)}else{if(typeof F!="string"&&n.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var W=jx(),ue=mC(),xe=Uv(n);xe?uV(n)&&uc(n):n.stateNode=QF(F,W,ue,n)}return er(n),null}case J:{rc(n);var Ce=n.memoizedState;if(t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){var at=xH(t,n,Ce);if(!at)return n.flags&$r?n:null}if((n.flags&mt)!==Ie)return n.lanes=i,(n.mode&Et)!==Ae&&zC(n),n;var Je=Ce!==null,$=t!==null&&t.memoizedState!==null;if(Je!==$&&Je){var G=n.child;if(G.flags|=pu,(n.mode&nt)!==Ae){var q=t===null&&(n.memoizedProps.unstable_avoidThisFallback!==!0||!zn);q||yC(ui.current,zx)?Oz():Bw()}}var ne=n.updateQueue;if(ne!==null&&(n.flags|=lt),er(n),(n.mode&Et)!==Ae&&Je){var me=n.child;me!==null&&(n.treeBaseDuration-=me.treeBaseDuration)}return null}case R:return tc(n),Cw(t,n),t===null&&Hj(n.stateNode.containerInfo),er(n),null;case j:var de=n.type._context;return lC(de,n),er(n),null;case re:{var Ne=n.type;return Gi(Ne)&&Iv(n),er(n),null}case ce:{rc(n);var Fe=n.memoizedState;if(Fe===null)return er(n),null;var wt=(n.flags&mt)!==Ie,dt=Fe.rendering;if(dt===null)if(wt)_d(Fe,!1);else{var cn=Dz()&&(t===null||(t.flags&mt)===Ie);if(!cn)for(var pt=n.child;pt!==null;){var an=nm(pt);if(an!==null){wt=!0,n.flags|=mt,_d(Fe,!1);var br=an.updateQueue;return br!==null&&(n.updateQueue=br,n.flags|=lt),n.subtreeFlags=Ie,gV(n,i),Ml(n,gC(ui.current,fd)),n.child}pt=pt.sibling}Fe.tail!==null&&Nn()>yM()&&(n.flags|=mt,wt=!0,_d(Fe,!1),n.lanes=K1)}else{if(!wt){var ir=nm(dt);if(ir!==null){n.flags|=mt,wt=!0;var wa=ir.updateQueue;if(wa!==null&&(n.updateQueue=wa,n.flags|=lt),_d(Fe,!0),Fe.tail===null&&Fe.tailMode==="hidden"&&!dt.alternate&&!Jn())return er(n),null}else Nn()*2-Fe.renderingStartTime>yM()&&i!==ma&&(n.flags|=mt,wt=!0,_d(Fe,!1),n.lanes=K1)}if(Fe.isBackwards)dt.sibling=n.child,n.child=dt;else{var Fr=Fe.last;Fr!==null?Fr.sibling=dt:n.child=dt,Fe.last=dt}}if(Fe.tail!==null){var jr=Fe.tail;Fe.rendering=jr,Fe.tail=jr.sibling,Fe.renderingStartTime=Nn(),jr.sibling=null;var Er=ui.current;return wt?Er=gC(Er,fd):Er=nc(Er),Ml(n,Er),jr}return er(n),null}case De:break;case $e:case fe:{qw(n);var Fo=n.memoizedState,hc=Fo!==null;if(t!==null){var Ud=t.memoizedState,to=Ud!==null;to!==hc&&!Or&&(n.flags|=pu)}return!hc||(n.mode&nt)===Ae?er(n):ha(eo,ma)&&(er(n),n.subtreeFlags&(mn|lt)&&(n.flags|=pu)),null}case et:return null;case ze:return null}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function OH(t,n,i){switch(GE(n),n.tag){case h:{var l=n.type;Gi(l)&&Iv(n);var s=n.flags;return s&$r?(n.flags=s&~$r|mt,(n.mode&Et)!==Ae&&zC(n),n):null}case b:{n.stateNode,tc(n),VE(n),EC();var d=n.flags;return(d&$r)!==Ie&&(d&mt)===Ie?(n.flags=d&~$r|mt,n):null}case M:return hC(n),null;case J:{rc(n);var p=n.memoizedState;if(p!==null&&p.dehydrated!==null){if(n.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qs()}var y=n.flags;return y&$r?(n.flags=y&~$r|mt,(n.mode&Et)!==Ae&&zC(n),n):null}case ce:return rc(n),null;case R:return tc(n),null;case j:var g=n.type._context;return lC(g,n),null;case $e:case fe:return qw(n),null;case et:return null;default:return null}}function QO(t,n,i){switch(GE(n),n.tag){case h:{var l=n.type.childContextTypes;l!=null&&Iv(n);break}case b:{n.stateNode,tc(n),VE(n),EC();break}case M:{hC(n);break}case R:tc(n);break;case J:rc(n);break;case ce:rc(n);break;case j:var s=n.type._context;lC(s,n);break;case $e:case fe:qw(n);break}}var JO=null;JO=new Set;var Tm=!1,tr=!1,MH=typeof WeakSet=="function"?WeakSet:Set,ye=null,sc=null,cc=null;function DH(t){S0(null,function(){throw t}),_0()}var AH=function(t,n){if(n.props=t.memoizedProps,n.state=t.memoizedState,t.mode&Et)try{Ji(),n.componentWillUnmount()}finally{Qi(t)}else n.componentWillUnmount()};function ZO(t,n){try{Pl(Sn,t)}catch(i){Pt(t,n,i)}}function ww(t,n,i){try{AH(t,i)}catch(l){Pt(t,n,l)}}function PH(t,n,i){try{i.componentDidMount()}catch(l){Pt(t,n,l)}}function eM(t,n){try{nM(t)}catch(i){Pt(t,n,i)}}function fc(t,n){var i=t.ref;if(i!==null)if(typeof i=="function"){var l;try{if(Ha&&za&&t.mode&Et)try{Ji(),l=i(null)}finally{Qi(t)}else l=i(null)}catch(s){Pt(t,n,s)}typeof l=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(t))}else i.current=null}function xm(t,n,i){try{i()}catch(l){Pt(t,n,l)}}var tM=!1;function kH(t,n){zF(t.containerInfo),ye=n,IH();var i=tM;return tM=!1,i}function IH(){for(;ye!==null;){var t=ye,n=t.child;(t.subtreeFlags&M0)!==Ie&&n!==null?(n.return=t,ye=n):LH()}}function LH(){for(;ye!==null;){var t=ye;Xt(t);try{NH(t)}catch(i){Pt(t,t.return,i)}Ln();var n=t.sibling;if(n!==null){n.return=t.return,ye=n;return}ye=t.return}}function NH(t){var n=t.alternate,i=t.flags;if((i&du)!==Ie){switch(Xt(t),t.tag){case m:case U:case K:break;case h:{if(n!==null){var l=n.memoizedProps,s=n.memoizedState,d=t.stateNode;t.type===t.elementType&&!ku&&(d.props!==t.memoizedProps&&c("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(t)||"instance"),d.state!==t.memoizedState&&c("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(t)||"instance"));var p=d.getSnapshotBeforeUpdate(t.elementType===t.type?l:ci(t.type,l),s);{var y=JO;p===void 0&&!y.has(t.type)&&(y.add(t.type),c("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ve(t)))}d.__reactInternalSnapshotBeforeUpdate=p}break}case b:{{var g=t.stateNode;hj(g.containerInfo)}break}case M:case A:case R:case re:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Ln()}}function di(t,n,i){var l=n.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var d=s.next,p=d;do{if((p.tag&t)===t){var y=p.destroy;p.destroy=void 0,y!==void 0&&((t&Zn)!==ta?Qq(n):(t&Sn)!==ta&&H1(n),(t&Yi)!==ta&&$d(!0),xm(n,i,y),(t&Yi)!==ta&&$d(!1),(t&Zn)!==ta?Jq():(t&Sn)!==ta&&z1())}p=p.next}while(p!==d)}}function Pl(t,n){var i=n.updateQueue,l=i!==null?i.lastEffect:null;if(l!==null){var s=l.next,d=s;do{if((d.tag&t)===t){(t&Zn)!==ta?Kq(n):(t&Sn)!==ta&&Zq(n);var p=d.create;(t&Yi)!==ta&&$d(!0),d.destroy=p(),(t&Yi)!==ta&&$d(!1),(t&Zn)!==ta?Xq():(t&Sn)!==ta&&eB();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var g=void 0;(d.tag&Sn)!==Ie?g="useLayoutEffect":(d.tag&Yi)!==Ie?g="useInsertionEffect":g="useEffect";var w=void 0;y===null?w=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?w=`
|
|
183
|
+
|
|
184
|
+
It looks like you wrote `+g+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
185
|
+
|
|
186
|
+
`+g+`(() => {
|
|
187
|
+
async function fetchData() {
|
|
188
|
+
// You can await here
|
|
189
|
+
const response = await MyAPI.getData(someId);
|
|
190
|
+
// ...
|
|
191
|
+
}
|
|
192
|
+
fetchData();
|
|
193
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
194
|
+
|
|
195
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:w=" You returned: "+y,c("%s must not return anything besides a function, which is used for clean-up.%s",g,w)}}}d=d.next}while(d!==s)}}function $H(t,n){if((n.flags<)!==Ie)switch(n.tag){case Y:{var i=n.stateNode.passiveEffectDuration,l=n.memoizedProps,s=l.id,d=l.onPostCommit,p=yO(),y=n.alternate===null?"mount":"update";hO()&&(y="nested-update"),typeof d=="function"&&d(s,y,i,p);var g=n.return;e:for(;g!==null;){switch(g.tag){case b:var w=g.stateNode;w.passiveEffectDuration+=i;break e;case Y:var S=g.stateNode;S.passiveEffectDuration+=i;break e}g=g.return}break}}}function qH(t,n,i,l){if((i.flags&bf)!==Ie)switch(i.tag){case m:case U:case K:{if(!tr)if(i.mode&Et)try{Ji(),Pl(Sn|wn,i)}finally{Qi(i)}else Pl(Sn|wn,i);break}case h:{var s=i.stateNode;if(i.flags<&&!tr)if(n===null)if(i.type===i.elementType&&!ku&&(s.props!==i.memoizedProps&&c("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(i)||"instance"),s.state!==i.memoizedState&&c("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(i)||"instance")),i.mode&Et)try{Ji(),s.componentDidMount()}finally{Qi(i)}else s.componentDidMount();else{var d=i.elementType===i.type?n.memoizedProps:ci(i.type,n.memoizedProps),p=n.memoizedState;if(i.type===i.elementType&&!ku&&(s.props!==i.memoizedProps&&c("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(i)||"instance"),s.state!==i.memoizedState&&c("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(i)||"instance")),i.mode&Et)try{Ji(),s.componentDidUpdate(d,p,s.__reactInternalSnapshotBeforeUpdate)}finally{Qi(i)}else s.componentDidUpdate(d,p,s.__reactInternalSnapshotBeforeUpdate)}var y=i.updateQueue;y!==null&&(i.type===i.elementType&&!ku&&(s.props!==i.memoizedProps&&c("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(i)||"instance"),s.state!==i.memoizedState&&c("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(i)||"instance")),Fx(i,y,s));break}case b:{var g=i.updateQueue;if(g!==null){var w=null;if(i.child!==null)switch(i.child.tag){case M:w=i.child.stateNode;break;case h:w=i.child.stateNode;break}Fx(i,g,w)}break}case M:{var S=i.stateNode;if(n===null&&i.flags<){var k=i.type,P=i.memoizedProps;nj(S,k,P)}break}case A:break;case R:break;case Y:{{var F=i.memoizedProps,H=F.onCommit,W=F.onRender,ue=i.stateNode.effectDuration,xe=yO(),Ce=n===null?"mount":"update";hO()&&(Ce="nested-update"),typeof W=="function"&&W(i.memoizedProps.id,Ce,i.actualDuration,i.treeBaseDuration,i.actualStartTime,xe);{typeof H=="function"&&H(i.memoizedProps.id,Ce,ue,xe),Lz(i);var at=i.return;e:for(;at!==null;){switch(at.tag){case b:var Je=at.stateNode;Je.effectDuration+=ue;break e;case Y:var $=at.stateNode;$.effectDuration+=ue;break e}at=at.return}}}break}case J:{WH(t,i);break}case ce:case re:case De:case $e:case fe:case ze:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}tr||i.flags&ml&&nM(i)}function BH(t){switch(t.tag){case m:case U:case K:{if(t.mode&Et)try{Ji(),ZO(t,t.return)}finally{Qi(t)}else ZO(t,t.return);break}case h:{var n=t.stateNode;typeof n.componentDidMount=="function"&&PH(t,t.return,n),eM(t,t.return);break}case M:{eM(t,t.return);break}}}function UH(t,n){for(var i=null,l=t;;){if(l.tag===M){if(i===null){i=l;try{var s=l.stateNode;n?dj(s):vj(l.stateNode,l.memoizedProps)}catch(p){Pt(t,t.return,p)}}}else if(l.tag===A){if(i===null)try{var d=l.stateNode;n?pj(d):mj(d,l.memoizedProps)}catch(p){Pt(t,t.return,p)}}else if(!((l.tag===$e||l.tag===fe)&&l.memoizedState!==null&&l!==t)){if(l.child!==null){l.child.return=l,l=l.child;continue}}if(l===t)return;for(;l.sibling===null;){if(l.return===null||l.return===t)return;i===l&&(i=null),l=l.return}i===l&&(i=null),l.sibling.return=l.return,l=l.sibling}}function nM(t){var n=t.ref;if(n!==null){var i=t.stateNode,l;switch(t.tag){case M:l=i;break;default:l=i}if(typeof n=="function"){var s;if(t.mode&Et)try{Ji(),s=n(l)}finally{Qi(t)}else s=n(l);typeof s=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(t))}else n.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Ve(t)),n.current=l}}function FH(t){var n=t.alternate;n!==null&&(n.return=null),t.return=null}function rM(t){var n=t.alternate;n!==null&&(t.alternate=null,rM(n));{if(t.child=null,t.deletions=null,t.sibling=null,t.tag===M){var i=t.stateNode;i!==null&&Gj(i)}t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}}function jH(t){for(var n=t.return;n!==null;){if(aM(n))return n;n=n.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function aM(t){return t.tag===M||t.tag===b||t.tag===R}function iM(t){var n=t;e:for(;;){for(;n.sibling===null;){if(n.return===null||aM(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==M&&n.tag!==A&&n.tag!==_;){if(n.flags&mn||n.child===null||n.tag===R)continue e;n.child.return=n,n=n.child}if(!(n.flags&mn))return n.stateNode}}function VH(t){var n=jH(t);switch(n.tag){case M:{var i=n.stateNode;n.flags&yf&&(lx(i),n.flags&=~yf);var l=iM(t);_w(t,l,i);break}case b:case R:{var s=n.stateNode.containerInfo,d=iM(t);Sw(t,d,s);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Sw(t,n,i){var l=t.tag,s=l===M||l===A;if(s){var d=t.stateNode;n?uj(i,d,n):oj(i,d)}else if(l!==R){var p=t.child;if(p!==null){Sw(p,n,i);for(var y=p.sibling;y!==null;)Sw(y,n,i),y=y.sibling}}}function _w(t,n,i){var l=t.tag,s=l===M||l===A;if(s){var d=t.stateNode;n?lj(i,d,n):ij(i,d)}else if(l!==R){var p=t.child;if(p!==null){_w(p,n,i);for(var y=p.sibling;y!==null;)_w(y,n,i),y=y.sibling}}}var nr=null,pi=!1;function HH(t,n,i){{var l=n;e:for(;l!==null;){switch(l.tag){case M:{nr=l.stateNode,pi=!1;break e}case b:{nr=l.stateNode.containerInfo,pi=!0;break e}case R:{nr=l.stateNode.containerInfo,pi=!0;break e}}l=l.return}if(nr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");oM(t,n,i),nr=null,pi=!1}FH(i)}function kl(t,n,i){for(var l=i.child;l!==null;)oM(t,n,l),l=l.sibling}function oM(t,n,i){switch(zq(i),i.tag){case M:tr||fc(i,n);case A:{{var l=nr,s=pi;nr=null,kl(t,n,i),nr=l,pi=s,nr!==null&&(pi?cj(nr,i.stateNode):sj(nr,i.stateNode))}return}case _:{nr!==null&&(pi?fj(nr,i.stateNode):LE(nr,i.stateNode));return}case R:{{var d=nr,p=pi;nr=i.stateNode.containerInfo,pi=!0,kl(t,n,i),nr=d,pi=p}return}case m:case U:case I:case K:{if(!tr){var y=i.updateQueue;if(y!==null){var g=y.lastEffect;if(g!==null){var w=g.next,S=w;do{var k=S,P=k.destroy,F=k.tag;P!==void 0&&((F&Yi)!==ta?xm(i,n,P):(F&Sn)!==ta&&(H1(i),i.mode&Et?(Ji(),xm(i,n,P),Qi(i)):xm(i,n,P),z1())),S=S.next}while(S!==w)}}}kl(t,n,i);return}case h:{if(!tr){fc(i,n);var H=i.stateNode;typeof H.componentWillUnmount=="function"&&ww(i,n,H)}kl(t,n,i);return}case De:{kl(t,n,i);return}case $e:{if(i.mode&nt){var W=tr;tr=W||i.memoizedState!==null,kl(t,n,i),tr=W}else kl(t,n,i);break}default:{kl(t,n,i);return}}}function zH(t){t.memoizedState}function WH(t,n){var i=n.memoizedState;if(i===null){var l=n.alternate;if(l!==null){var s=l.memoizedState;if(s!==null){var d=s.dehydrated;d!==null&&Dj(d)}}}}function lM(t){var n=t.updateQueue;if(n!==null){t.updateQueue=null;var i=t.stateNode;i===null&&(i=t.stateNode=new MH),n.forEach(function(l){var s=jz.bind(null,t,l);if(!i.has(l)){if(i.add(l),ri)if(sc!==null&&cc!==null)Nd(cc,sc);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");l.then(s,s)}})}}function GH(t,n,i){sc=i,cc=t,Xt(n),uM(n,t),Xt(n),sc=null,cc=null}function vi(t,n,i){var l=n.deletions;if(l!==null)for(var s=0;s<l.length;s++){var d=l[s];try{HH(t,n,d)}catch(g){Pt(d,n,g)}}var p=$p();if(n.subtreeFlags&D0)for(var y=n.child;y!==null;)Xt(y),uM(y,t),y=y.sibling;Xt(p)}function uM(t,n,i){var l=t.alternate,s=t.flags;switch(t.tag){case m:case U:case I:case K:{if(vi(n,t),Zi(t),s<){try{di(Yi|wn,t,t.return),Pl(Yi|wn,t)}catch(Ne){Pt(t,t.return,Ne)}if(t.mode&Et){try{Ji(),di(Sn|wn,t,t.return)}catch(Ne){Pt(t,t.return,Ne)}Qi(t)}else try{di(Sn|wn,t,t.return)}catch(Ne){Pt(t,t.return,Ne)}}return}case h:{vi(n,t),Zi(t),s&ml&&l!==null&&fc(l,l.return);return}case M:{vi(n,t),Zi(t),s&ml&&l!==null&&fc(l,l.return);{if(t.flags&yf){var d=t.stateNode;try{lx(d)}catch(Ne){Pt(t,t.return,Ne)}}if(s<){var p=t.stateNode;if(p!=null){var y=t.memoizedProps,g=l!==null?l.memoizedProps:y,w=t.type,S=t.updateQueue;if(t.updateQueue=null,S!==null)try{rj(p,S,w,g,y,t)}catch(Ne){Pt(t,t.return,Ne)}}}}return}case A:{if(vi(n,t),Zi(t),s<){if(t.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var k=t.stateNode,P=t.memoizedProps,F=l!==null?l.memoizedProps:P;try{aj(k,F,P)}catch(Ne){Pt(t,t.return,Ne)}}return}case b:{if(vi(n,t),Zi(t),s<&&l!==null){var H=l.memoizedState;if(H.isDehydrated)try{Mj(n.containerInfo)}catch(Ne){Pt(t,t.return,Ne)}}return}case R:{vi(n,t),Zi(t);return}case J:{vi(n,t),Zi(t);var W=t.child;if(W.flags&pu){var ue=W.stateNode,xe=W.memoizedState,Ce=xe!==null;if(ue.isHidden=Ce,Ce){var at=W.alternate!==null&&W.alternate.memoizedState!==null;at||xz()}}if(s<){try{zH(t)}catch(Ne){Pt(t,t.return,Ne)}lM(t)}return}case $e:{var Je=l!==null&&l.memoizedState!==null;if(t.mode&nt){var $=tr;tr=$||Je,vi(n,t),tr=$}else vi(n,t);if(Zi(t),s&pu){var G=t.stateNode,q=t.memoizedState,ne=q!==null,me=t;if(G.isHidden=ne,ne&&!Je&&(me.mode&nt)!==Ae){ye=me;for(var de=me.child;de!==null;)ye=de,KH(de),de=de.sibling}UH(me,ne)}return}case ce:{vi(n,t),Zi(t),s<&&lM(t);return}case De:return;default:{vi(n,t),Zi(t);return}}}function Zi(t){var n=t.flags;if(n&mn){try{VH(t)}catch(i){Pt(t,t.return,i)}t.flags&=~mn}n&_o&&(t.flags&=~_o)}function YH(t,n,i){sc=i,cc=n,ye=t,sM(t,n,i),sc=null,cc=null}function sM(t,n,i){for(var l=(t.mode&nt)!==Ae;ye!==null;){var s=ye,d=s.child;if(s.tag===$e&&l){var p=s.memoizedState!==null,y=p||Tm;if(y){Rw(t,n,i);continue}else{var g=s.alternate,w=g!==null&&g.memoizedState!==null,S=w||tr,k=Tm,P=tr;Tm=y,tr=S,tr&&!P&&(ye=s,XH(s));for(var F=d;F!==null;)ye=F,sM(F,n,i),F=F.sibling;ye=s,Tm=k,tr=P,Rw(t,n,i);continue}}(s.subtreeFlags&bf)!==Ie&&d!==null?(d.return=s,ye=d):Rw(t,n,i)}}function Rw(t,n,i){for(;ye!==null;){var l=ye;if((l.flags&bf)!==Ie){var s=l.alternate;Xt(l);try{qH(n,s,l,i)}catch(p){Pt(l,l.return,p)}Ln()}if(l===t){ye=null;return}var d=l.sibling;if(d!==null){d.return=l.return,ye=d;return}ye=l.return}}function KH(t){for(;ye!==null;){var n=ye,i=n.child;switch(n.tag){case m:case U:case I:case K:{if(n.mode&Et)try{Ji(),di(Sn,n,n.return)}finally{Qi(n)}else di(Sn,n,n.return);break}case h:{fc(n,n.return);var l=n.stateNode;typeof l.componentWillUnmount=="function"&&ww(n,n.return,l);break}case M:{fc(n,n.return);break}case $e:{var s=n.memoizedState!==null;if(s){cM(t);continue}break}}i!==null?(i.return=n,ye=i):cM(t)}}function cM(t){for(;ye!==null;){var n=ye;if(n===t){ye=null;return}var i=n.sibling;if(i!==null){i.return=n.return,ye=i;return}ye=n.return}}function XH(t){for(;ye!==null;){var n=ye,i=n.child;if(n.tag===$e){var l=n.memoizedState!==null;if(l){fM(t);continue}}i!==null?(i.return=n,ye=i):fM(t)}}function fM(t){for(;ye!==null;){var n=ye;Xt(n);try{BH(n)}catch(l){Pt(n,n.return,l)}if(Ln(),n===t){ye=null;return}var i=n.sibling;if(i!==null){i.return=n.return,ye=i;return}ye=n.return}}function QH(t,n,i,l){ye=n,JH(n,t,i,l)}function JH(t,n,i,l){for(;ye!==null;){var s=ye,d=s.child;(s.subtreeFlags&As)!==Ie&&d!==null?(d.return=s,ye=d):ZH(t,n,i,l)}}function ZH(t,n,i,l){for(;ye!==null;){var s=ye;if((s.flags&ni)!==Ie){Xt(s);try{ez(n,s,i,l)}catch(p){Pt(s,s.return,p)}Ln()}if(s===t){ye=null;return}var d=s.sibling;if(d!==null){d.return=s.return,ye=d;return}ye=s.return}}function ez(t,n,i,l){switch(n.tag){case m:case U:case K:{if(n.mode&Et){HC();try{Pl(Zn|wn,n)}finally{VC(n)}}else Pl(Zn|wn,n);break}}}function tz(t){ye=t,nz()}function nz(){for(;ye!==null;){var t=ye,n=t.child;if((ye.flags&fu)!==Ie){var i=t.deletions;if(i!==null){for(var l=0;l<i.length;l++){var s=i[l];ye=s,iz(s,t)}{var d=t.alternate;if(d!==null){var p=d.child;if(p!==null){d.child=null;do{var y=p.sibling;p.sibling=null,p=y}while(p!==null)}}}ye=t}}(t.subtreeFlags&As)!==Ie&&n!==null?(n.return=t,ye=n):rz()}}function rz(){for(;ye!==null;){var t=ye;(t.flags&ni)!==Ie&&(Xt(t),az(t),Ln());var n=t.sibling;if(n!==null){n.return=t.return,ye=n;return}ye=t.return}}function az(t){switch(t.tag){case m:case U:case K:{t.mode&Et?(HC(),di(Zn|wn,t,t.return),VC(t)):di(Zn|wn,t,t.return);break}}}function iz(t,n){for(;ye!==null;){var i=ye;Xt(i),lz(i,n),Ln();var l=i.child;l!==null?(l.return=i,ye=l):oz(t)}}function oz(t){for(;ye!==null;){var n=ye,i=n.sibling,l=n.return;if(rM(n),n===t){ye=null;return}if(i!==null){i.return=l,ye=i;return}ye=l}}function lz(t,n){switch(t.tag){case m:case U:case K:{t.mode&Et?(HC(),di(Zn,t,n),VC(t)):di(Zn,t,n);break}}}function uz(t){switch(t.tag){case m:case U:case K:{try{Pl(Sn|wn,t)}catch(i){Pt(t,t.return,i)}break}case h:{var n=t.stateNode;try{n.componentDidMount()}catch(i){Pt(t,t.return,i)}break}}}function sz(t){switch(t.tag){case m:case U:case K:{try{Pl(Zn|wn,t)}catch(n){Pt(t,t.return,n)}break}}}function cz(t){switch(t.tag){case m:case U:case K:{try{di(Sn|wn,t,t.return)}catch(i){Pt(t,t.return,i)}break}case h:{var n=t.stateNode;typeof n.componentWillUnmount=="function"&&ww(t,t.return,n);break}}}function fz(t){switch(t.tag){case m:case U:case K:try{di(Zn|wn,t,t.return)}catch(n){Pt(t,t.return,n)}}}if(typeof Symbol=="function"&&Symbol.for){var Rd=Symbol.for;Rd("selector.component"),Rd("selector.has_pseudo_class"),Rd("selector.role"),Rd("selector.test_id"),Rd("selector.text")}var dz=[];function pz(){dz.forEach(function(t){return t()})}var vz=a.ReactCurrentActQueue;function mz(t){{var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&n!==!1}}function dM(){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!t&&vz.current!==null&&c("The current testing environment is not configured to support act(...)"),t}}var hz=Math.ceil,Tw=a.ReactCurrentDispatcher,xw=a.ReactCurrentOwner,rr=a.ReactCurrentBatchConfig,mi=a.ReactCurrentActQueue,Tn=0,pM=1,ar=2,$a=4,$o=0,Td=1,Iu=2,Om=3,xd=4,vM=5,Ow=6,rt=Tn,Br=null,Qt=null,xn=te,eo=te,Mw=Sl(te),On=$o,Od=null,Mm=te,Md=te,Dm=te,Dd=null,na=null,Dw=0,mM=500,hM=1/0,yz=500,qo=null;function Ad(){hM=Nn()+yz}function yM(){return hM}var Am=!1,Aw=null,dc=null,Lu=!1,Il=null,Pd=te,Pw=[],kw=null,gz=50,kd=0,Iw=null,Lw=!1,Pm=!1,bz=50,pc=0,km=null,Id=Bt,Im=te,gM=!1;function Lm(){return Br}function Ur(){return(rt&(ar|$a))!==Tn?Nn():(Id!==Bt||(Id=Nn()),Id)}function Ll(t){var n=t.mode;if((n&nt)===Ae)return Be;if((rt&ar)!==Tn&&xn!==te)return Tf(xn);var i=vV()!==pV;if(i){if(rr.transition!==null){var l=rr.transition;l._updatedFibers||(l._updatedFibers=new Set),l._updatedFibers.add(t)}return Im===qn&&(Im=Z1()),Im}var s=ai();if(s!==qn)return s;var d=JF();return d}function Ez(t){var n=t.mode;return(n&nt)===Ae?Be:wB()}function Mn(t,n,i,l){Hz(),gM&&c("useInsertionEffect must not schedule updates."),Lw&&(Pm=!0),xf(t,i,l),(rt&ar)!==te&&t===Br?Gz(n):(ri&&nT(t,n,i),Yz(n),t===Br&&((rt&ar)===Tn&&(Md=We(Md,i)),On===xd&&Nl(t,xn)),ra(t,l),i===Be&&rt===Tn&&(n.mode&nt)===Ae&&!mi.isBatchingLegacy&&(Ad(),gx()))}function Cz(t,n,i){var l=t.current;l.lanes=n,xf(t,n,i),ra(t,i)}function wz(t){return(rt&ar)!==Tn}function ra(t,n){var i=t.callbackNode;hB(t,n);var l=nv(t,t===Br?xn:te);if(l===te){i!==null&&IM(i),t.callbackNode=null,t.callbackPriority=qn;return}var s=bu(l),d=t.callbackPriority;if(d===s&&!(mi.current!==null&&i!==jw)){i==null&&d!==Be&&c("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&IM(i);var p;if(s===Be)t.tag===_l?(mi.isBatchingLegacy!==null&&(mi.didScheduleLegacyUpdate=!0),Xj(CM.bind(null,t))):yx(CM.bind(null,t)),mi.current!==null?mi.current.push(Rl):ej(function(){(rt&(ar|$a))===Tn&&Rl()}),p=null;else{var y;switch(iT(l)){case ya:y=Jp;break;case Oo:y=A0;break;case Mo:y=hu;break;case iv:y=P0;break;default:y=hu;break}p=Vw(y,bM.bind(null,t))}t.callbackPriority=s,t.callbackNode=p}function bM(t,n){if(UV(),Id=Bt,Im=te,(rt&(ar|$a))!==Tn)throw new Error("Should not already be working.");var i=t.callbackNode,l=Uo();if(l&&t.callbackNode!==i)return null;var s=nv(t,t===Br?xn:te);if(s===te)return null;var d=!rv(t,s)&&!CB(t,s)&&!n,p=d?Pz(t,s):$m(t,s);if(p!==$o){if(p===Iu){var y=eE(t);y!==te&&(s=y,p=Nw(t,y))}if(p===Td){var g=Od;throw Nu(t,te),Nl(t,s),ra(t,Nn()),g}if(p===Ow)Nl(t,s);else{var w=!rv(t,s),S=t.current.alternate;if(w&&!_z(S)){if(p=$m(t,s),p===Iu){var k=eE(t);k!==te&&(s=k,p=Nw(t,k))}if(p===Td){var P=Od;throw Nu(t,te),Nl(t,s),ra(t,Nn()),P}}t.finishedWork=S,t.finishedLanes=s,Sz(t,p,s)}}return ra(t,Nn()),t.callbackNode===i?bM.bind(null,t):null}function Nw(t,n){var i=Dd;if(ov(t)){var l=Nu(t,n);l.flags|=So,Vj(t.containerInfo)}var s=$m(t,n);if(s!==Iu){var d=na;na=i,d!==null&&EM(d)}return s}function EM(t){na===null?na=t:na.push.apply(na,t)}function Sz(t,n,i){switch(n){case $o:case Td:throw new Error("Root did not complete. This is a bug in React.");case Iu:{$u(t,na,qo);break}case Om:{if(Nl(t,i),Q1(i)&&!LM()){var l=Dw+mM-Nn();if(l>10){var s=nv(t,te);if(s!==te)break;var d=t.suspendedLanes;if(!$s(d,i)){Ur(),tT(t,d);break}t.timeoutHandle=kE($u.bind(null,t,na,qo),l);break}}$u(t,na,qo);break}case xd:{if(Nl(t,i),EB(i))break;if(!LM()){var p=vB(t,i),y=p,g=Nn()-y,w=Vz(g)-g;if(w>10){t.timeoutHandle=kE($u.bind(null,t,na,qo),w);break}}$u(t,na,qo);break}case vM:{$u(t,na,qo);break}default:throw new Error("Unknown root exit status.")}}function _z(t){for(var n=t;;){if(n.flags&Xp){var i=n.updateQueue;if(i!==null){var l=i.stores;if(l!==null)for(var s=0;s<l.length;s++){var d=l[s],p=d.getSnapshot,y=d.value;try{if(!ba(p(),y))return!1}catch{return!1}}}}var g=n.child;if(n.subtreeFlags&Xp&&g!==null){g.return=n,n=g;continue}if(n===t)return!0;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}return!0}function Nl(t,n){n=av(n,Dm),n=av(n,Md),_B(t,n)}function CM(t){if(FV(),(rt&(ar|$a))!==Tn)throw new Error("Should not already be working.");Uo();var n=nv(t,te);if(!ha(n,Be))return ra(t,Nn()),null;var i=$m(t,n);if(t.tag!==_l&&i===Iu){var l=eE(t);l!==te&&(n=l,i=Nw(t,l))}if(i===Td){var s=Od;throw Nu(t,te),Nl(t,n),ra(t,Nn()),s}if(i===Ow)throw new Error("Root did not complete. This is a bug in React.");var d=t.current.alternate;return t.finishedWork=d,t.finishedLanes=n,$u(t,na,qo),ra(t,Nn()),null}function Rz(t,n){n!==te&&(aE(t,We(n,Be)),ra(t,Nn()),(rt&(ar|$a))===Tn&&(Ad(),Rl()))}function $w(t,n){var i=rt;rt|=pM;try{return t(n)}finally{rt=i,rt===Tn&&!mi.isBatchingLegacy&&(Ad(),gx())}}function Tz(t,n,i,l,s){var d=ai(),p=rr.transition;try{return rr.transition=null,Bn(ya),t(n,i,l,s)}finally{Bn(d),rr.transition=p,rt===Tn&&Ad()}}function Bo(t){Il!==null&&Il.tag===_l&&(rt&(ar|$a))===Tn&&Uo();var n=rt;rt|=pM;var i=rr.transition,l=ai();try{return rr.transition=null,Bn(ya),t?t():void 0}finally{Bn(l),rr.transition=i,rt=n,(rt&(ar|$a))===Tn&&Rl()}}function wM(){return(rt&(ar|$a))!==Tn}function Nm(t,n){yr(Mw,eo,t),eo=We(eo,n)}function qw(t){eo=Mw.current,hr(Mw,t)}function Nu(t,n){t.finishedWork=null,t.finishedLanes=te;var i=t.timeoutHandle;if(i!==IE&&(t.timeoutHandle=IE,ZF(i)),Qt!==null)for(var l=Qt.return;l!==null;){var s=l.alternate;QO(s,l),l=l.return}Br=t;var d=qu(t.current,null);return Qt=d,xn=eo=n,On=$o,Od=null,Mm=te,Md=te,Dm=te,Dd=null,na=null,CV(),li.discardPendingWarnings(),d}function SM(t,n){do{var i=Qt;try{if(Wv(),Gx(),Ln(),xw.current=null,i===null||i.return===null){On=Td,Od=n,Qt=null;return}if(Ha&&i.mode&Et&&Cm(i,!0),Gr)if(ks(),n!==null&&typeof n=="object"&&typeof n.then=="function"){var l=n;nB(i,l,xn)}else tB(i,n,xn);XV(t,i.return,i,n,xn),xM(i)}catch(s){n=s,Qt===i&&i!==null?(i=i.return,Qt=i):i=Qt;continue}return}while(!0)}function _M(){var t=Tw.current;return Tw.current=hm,t===null?hm:t}function RM(t){Tw.current=t}function xz(){Dw=Nn()}function Ld(t){Mm=We(t,Mm)}function Oz(){On===$o&&(On=Om)}function Bw(){(On===$o||On===Om||On===Iu)&&(On=xd),Br!==null&&(tE(Mm)||tE(Md))&&Nl(Br,xn)}function Mz(t){On!==xd&&(On=Iu),Dd===null?Dd=[t]:Dd.push(t)}function Dz(){return On===$o}function $m(t,n){var i=rt;rt|=ar;var l=_M();if(Br!==t||xn!==n){if(ri){var s=t.memoizedUpdaters;s.size>0&&(Nd(t,xn),s.clear()),rT(t,n)}qo=aT(),Nu(t,n)}W1(n);do try{Az();break}catch(d){SM(t,d)}while(!0);if(Wv(),rt=i,RM(l),Qt!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return G1(),Br=null,xn=te,On}function Az(){for(;Qt!==null;)TM(Qt)}function Pz(t,n){var i=rt;rt|=ar;var l=_M();if(Br!==t||xn!==n){if(ri){var s=t.memoizedUpdaters;s.size>0&&(Nd(t,xn),s.clear()),rT(t,n)}qo=aT(),Ad(),Nu(t,n)}W1(n);do try{kz();break}catch(d){SM(t,d)}while(!0);return Wv(),RM(l),rt=i,Qt!==null?(lB(),$o):(G1(),Br=null,xn=te,On)}function kz(){for(;Qt!==null&&!Lq();)TM(Qt)}function TM(t){var n=t.alternate;Xt(t);var i;(t.mode&Et)!==Ae?(jC(t),i=Uw(n,t,eo),Cm(t,!0)):i=Uw(n,t,eo),Ln(),t.memoizedProps=t.pendingProps,i===null?xM(t):Qt=i,xw.current=null}function xM(t){var n=t;do{var i=n.alternate,l=n.return;if((n.flags&gf)===Ie){Xt(n);var s=void 0;if((n.mode&Et)===Ae?s=XO(i,n,eo):(jC(n),s=XO(i,n,eo),Cm(n,!1)),Ln(),s!==null){Qt=s;return}}else{var d=OH(i,n);if(d!==null){d.flags&=Mq,Qt=d;return}if((n.mode&Et)!==Ae){Cm(n,!1);for(var p=n.actualDuration,y=n.child;y!==null;)p+=y.actualDuration,y=y.sibling;n.actualDuration=p}if(l!==null)l.flags|=gf,l.subtreeFlags=Ie,l.deletions=null;else{On=Ow,Qt=null;return}}var g=n.sibling;if(g!==null){Qt=g;return}n=l,Qt=n}while(n!==null);On===$o&&(On=vM)}function $u(t,n,i){var l=ai(),s=rr.transition;try{rr.transition=null,Bn(ya),Iz(t,n,i,l)}finally{rr.transition=s,Bn(l)}return null}function Iz(t,n,i,l){do Uo();while(Il!==null);if(zz(),(rt&(ar|$a))!==Tn)throw new Error("Should not already be working.");var s=t.finishedWork,d=t.finishedLanes;if(Yq(d),s===null)return V1(),null;if(d===te&&c("root.finishedLanes should not be empty during a commit. This is a bug in React."),t.finishedWork=null,t.finishedLanes=te,s===t.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");t.callbackNode=null,t.callbackPriority=qn;var p=We(s.lanes,s.childLanes);RB(t,p),t===Br&&(Br=null,Qt=null,xn=te),((s.subtreeFlags&As)!==Ie||(s.flags&As)!==Ie)&&(Lu||(Lu=!0,kw=i,Vw(hu,function(){return Uo(),null})));var y=(s.subtreeFlags&(M0|D0|bf|As))!==Ie,g=(s.flags&(M0|D0|bf|As))!==Ie;if(y||g){var w=rr.transition;rr.transition=null;var S=ai();Bn(ya);var k=rt;rt|=$a,xw.current=null,kH(t,s),gO(),GH(t,s,d),WF(t.containerInfo),t.current=s,rB(d),YH(s,t,d),aB(),Nq(),rt=k,Bn(S),rr.transition=w}else t.current=s,gO();var P=Lu;if(Lu?(Lu=!1,Il=t,Pd=d):(pc=0,km=null),p=t.pendingLanes,p===te&&(dc=null),P||AM(t.current,!1),Vq(s.stateNode,l),ri&&t.memoizedUpdaters.clear(),pz(),ra(t,Nn()),n!==null)for(var F=t.onRecoverableError,H=0;H<n.length;H++){var W=n[H],ue=W.stack,xe=W.digest;F(W.value,{componentStack:ue,digest:xe})}if(Am){Am=!1;var Ce=Aw;throw Aw=null,Ce}return ha(Pd,Be)&&t.tag!==_l&&Uo(),p=t.pendingLanes,ha(p,Be)?(BV(),t===Iw?kd++:(kd=0,Iw=t)):kd=0,Rl(),V1(),null}function Uo(){if(Il!==null){var t=iT(Pd),n=MB(Mo,t),i=rr.transition,l=ai();try{return rr.transition=null,Bn(n),Nz()}finally{Bn(l),rr.transition=i}}return!1}function Lz(t){Pw.push(t),Lu||(Lu=!0,Vw(hu,function(){return Uo(),null}))}function Nz(){if(Il===null)return!1;var t=kw;kw=null;var n=Il,i=Pd;if(Il=null,Pd=te,(rt&(ar|$a))!==Tn)throw new Error("Cannot flush passive effects while already rendering.");Lw=!0,Pm=!1,iB(i);var l=rt;rt|=$a,tz(n.current),QH(n,n.current,i,t);{var s=Pw;Pw=[];for(var d=0;d<s.length;d++){var p=s[d];$H(n,p)}}oB(),AM(n.current,!0),rt=l,Rl(),Pm?n===km?pc++:(pc=0,km=n):pc=0,Lw=!1,Pm=!1,Hq(n);{var y=n.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function OM(t){return dc!==null&&dc.has(t)}function $z(t){dc===null?dc=new Set([t]):dc.add(t)}function qz(t){Am||(Am=!0,Aw=t)}var Bz=qz;function MM(t,n,i){var l=Pu(i,n),s=TO(t,l,Be),d=xl(t,s,Be),p=Ur();d!==null&&(xf(d,Be,p),ra(d,p))}function Pt(t,n,i){if(DH(i),$d(!1),t.tag===b){MM(t,t,i);return}var l=null;for(l=n;l!==null;){if(l.tag===b){MM(l,t,i);return}else if(l.tag===h){var s=l.type,d=l.stateNode;if(typeof s.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!OM(d)){var p=Pu(i,t),y=ow(l,p,Be),g=xl(l,y,Be),w=Ur();g!==null&&(xf(g,Be,w),ra(g,w));return}}l=l.return}c(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
196
|
+
|
|
197
|
+
Error message:
|
|
198
|
+
|
|
199
|
+
%s`,i)}function Uz(t,n,i){var l=t.pingCache;l!==null&&l.delete(n);var s=Ur();tT(t,i),Kz(t),Br===t&&$s(xn,i)&&(On===xd||On===Om&&Q1(xn)&&Nn()-Dw<mM?Nu(t,te):Dm=We(Dm,i)),ra(t,s)}function DM(t,n){n===qn&&(n=Ez(t));var i=Ur(),l=ea(t,n);l!==null&&(xf(l,n,i),ra(l,i))}function Fz(t){var n=t.memoizedState,i=qn;n!==null&&(i=n.retryLane),DM(t,i)}function jz(t,n){var i=qn,l;switch(t.tag){case J:l=t.stateNode;var s=t.memoizedState;s!==null&&(i=s.retryLane);break;case ce:l=t.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}l!==null&&l.delete(n),DM(t,i)}function Vz(t){return t<120?120:t<480?480:t<1080?1080:t<1920?1920:t<3e3?3e3:t<4320?4320:hz(t/1960)*1960}function Hz(){if(kd>gz)throw kd=0,Iw=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");pc>bz&&(pc=0,km=null,c("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function zz(){li.flushLegacyContextWarning(),li.flushPendingUnsafeLifecycleWarnings()}function AM(t,n){Xt(t),qm(t,Ro,cz),n&&qm(t,Qp,fz),qm(t,Ro,uz),n&&qm(t,Qp,sz),Ln()}function qm(t,n,i){for(var l=t,s=null;l!==null;){var d=l.subtreeFlags&n;l!==s&&l.child!==null&&d!==Ie?l=l.child:((l.flags&n)!==Ie&&i(l),l.sibling!==null?l=l.sibling:l=s=l.return)}}var Bm=null;function PM(t){{if((rt&ar)!==Tn||!(t.mode&nt))return;var n=t.tag;if(n!==C&&n!==b&&n!==h&&n!==m&&n!==U&&n!==I&&n!==K)return;var i=Ve(t)||"ReactComponent";if(Bm!==null){if(Bm.has(i))return;Bm.add(i)}else Bm=new Set([i]);var l=vr;try{Xt(t),c("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{l?Xt(t):Ln()}}}var Uw;{var Wz=null;Uw=function(t,n,i){var l=UM(Wz,n);try{return zO(t,n,i)}catch(d){if(aV()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(Wv(),Gx(),QO(t,n),UM(n,l),n.mode&Et&&jC(n),S0(null,zO,null,t,n,i),Rq()){var s=_0();typeof s=="object"&&s!==null&&s._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var kM=!1,Fw;Fw=new Set;function Gz(t){if(uu&&!NV())switch(t.tag){case m:case U:case K:{var n=Qt&&Ve(Qt)||"Unknown",i=n;if(!Fw.has(i)){Fw.add(i);var l=Ve(t)||"Unknown";c("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",l,n,n)}break}case h:{kM||(c("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),kM=!0);break}}}function Nd(t,n){if(ri){var i=t.memoizedUpdaters;i.forEach(function(l){nT(t,l,n)})}}var jw={};function Vw(t,n){{var i=mi.current;return i!==null?(i.push(n),jw):j1(t,n)}}function IM(t){if(t!==jw)return Iq(t)}function LM(){return mi.current!==null}function Yz(t){{if(t.mode&nt){if(!dM())return}else if(!mz()||rt!==Tn||t.tag!==m&&t.tag!==U&&t.tag!==K)return;if(mi.current===null){var n=vr;try{Xt(t),c(`An update to %s inside a test was not wrapped in act(...).
|
|
200
|
+
|
|
201
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
202
|
+
|
|
203
|
+
act(() => {
|
|
204
|
+
/* fire events that update state */
|
|
205
|
+
});
|
|
206
|
+
/* assert on the output */
|
|
207
|
+
|
|
208
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Ve(t))}finally{n?Xt(t):Ln()}}}}function Kz(t){t.tag!==_l&&dM()&&mi.current===null&&c(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
209
|
+
|
|
210
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
211
|
+
|
|
212
|
+
act(() => {
|
|
213
|
+
/* finish loading suspended data */
|
|
214
|
+
});
|
|
215
|
+
/* assert on the output */
|
|
216
|
+
|
|
217
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function $d(t){gM=t}var qa=null,vc=null,Xz=function(t){qa=t};function mc(t){{if(qa===null)return t;var n=qa(t);return n===void 0?t:n.current}}function Hw(t){return mc(t)}function zw(t){{if(qa===null)return t;var n=qa(t);if(n===void 0){if(t!=null&&typeof t.render=="function"){var i=mc(t.render);if(t.render!==i){var l={$$typeof:Gt,render:i};return t.displayName!==void 0&&(l.displayName=t.displayName),l}}return t}return n.current}}function NM(t,n){{if(qa===null)return!1;var i=t.elementType,l=n.type,s=!1,d=typeof l=="object"&&l!==null?l.$$typeof:null;switch(t.tag){case h:{typeof l=="function"&&(s=!0);break}case m:{(typeof l=="function"||d===Cn)&&(s=!0);break}case U:{(d===Gt||d===Cn)&&(s=!0);break}case I:case K:{(d===Ui||d===Cn)&&(s=!0);break}default:return!1}if(s){var p=qa(i);if(p!==void 0&&p===qa(l))return!0}return!1}}function $M(t){{if(qa===null||typeof WeakSet!="function")return;vc===null&&(vc=new WeakSet),vc.add(t)}}var Qz=function(t,n){{if(qa===null)return;var i=n.staleFamilies,l=n.updatedFamilies;Uo(),Bo(function(){Ww(t.current,l,i)})}},Jz=function(t,n){{if(t.context!==Ea)return;Uo(),Bo(function(){qd(n,t,null,null)})}};function Ww(t,n,i){{var l=t.alternate,s=t.child,d=t.sibling,p=t.tag,y=t.type,g=null;switch(p){case m:case K:case h:g=y;break;case U:g=y.render;break}if(qa===null)throw new Error("Expected resolveFamily to be set during hot reload.");var w=!1,S=!1;if(g!==null){var k=qa(g);k!==void 0&&(i.has(k)?S=!0:n.has(k)&&(p===h?S=!0:w=!0))}if(vc!==null&&(vc.has(t)||l!==null&&vc.has(l))&&(S=!0),S&&(t._debugNeedsRemount=!0),S||w){var P=ea(t,Be);P!==null&&Mn(P,t,Be,Bt)}s!==null&&!S&&Ww(s,n,i),d!==null&&Ww(d,n,i)}}var Zz=function(t,n){{var i=new Set,l=new Set(n.map(function(s){return s.current}));return Gw(t.current,l,i),i}};function Gw(t,n,i){{var l=t.child,s=t.sibling,d=t.tag,p=t.type,y=null;switch(d){case m:case K:case h:y=p;break;case U:y=p.render;break}var g=!1;y!==null&&n.has(y)&&(g=!0),g?e3(t,i):l!==null&&Gw(l,n,i),s!==null&&Gw(s,n,i)}}function e3(t,n){{var i=t3(t,n);if(i)return;for(var l=t;;){switch(l.tag){case M:n.add(l.stateNode);return;case R:n.add(l.stateNode.containerInfo);return;case b:n.add(l.stateNode.containerInfo);return}if(l.return===null)throw new Error("Expected to reach root first.");l=l.return}}}function t3(t,n){for(var i=t,l=!1;;){if(i.tag===M)l=!0,n.add(i.stateNode);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)return l;for(;i.sibling===null;){if(i.return===null||i.return===t)return l;i=i.return}i.sibling.return=i.return,i=i.sibling}return!1}var Yw;{Yw=!1;try{var qM=Object.preventExtensions({})}catch{Yw=!0}}function n3(t,n,i,l){this.tag=t,this.key=i,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=n,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=l,this.flags=Ie,this.subtreeFlags=Ie,this.deletions=null,this.lanes=te,this.childLanes=te,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!Yw&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Ca=function(t,n,i,l){return new n3(t,n,i,l)};function Kw(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function r3(t){return typeof t=="function"&&!Kw(t)&&t.defaultProps===void 0}function a3(t){if(typeof t=="function")return Kw(t)?h:m;if(t!=null){var n=t.$$typeof;if(n===Gt)return U;if(n===Ui)return I}return C}function qu(t,n){var i=t.alternate;i===null?(i=Ca(t.tag,n,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i._debugSource=t._debugSource,i._debugOwner=t._debugOwner,i._debugHookTypes=t._debugHookTypes,i.alternate=t,t.alternate=i):(i.pendingProps=n,i.type=t.type,i.flags=Ie,i.subtreeFlags=Ie,i.deletions=null,i.actualDuration=0,i.actualStartTime=-1),i.flags=t.flags&To,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue;var l=t.dependencies;switch(i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i.selfBaseDuration=t.selfBaseDuration,i.treeBaseDuration=t.treeBaseDuration,i._debugNeedsRemount=t._debugNeedsRemount,i.tag){case C:case m:case K:i.type=mc(t.type);break;case h:i.type=Hw(t.type);break;case U:i.type=zw(t.type);break}return i}function i3(t,n){t.flags&=To|mn;var i=t.alternate;if(i===null)t.childLanes=te,t.lanes=n,t.child=null,t.subtreeFlags=Ie,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0;else{t.childLanes=i.childLanes,t.lanes=i.lanes,t.child=i.child,t.subtreeFlags=Ie,t.deletions=null,t.memoizedProps=i.memoizedProps,t.memoizedState=i.memoizedState,t.updateQueue=i.updateQueue,t.type=i.type;var l=i.dependencies;t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},t.selfBaseDuration=i.selfBaseDuration,t.treeBaseDuration=i.treeBaseDuration}return t}function o3(t,n,i){var l;return t===Nv?(l=nt,n===!0&&(l|=rn,l|=Hi)):l=Ae,ri&&(l|=Et),Ca(b,null,null,l)}function Xw(t,n,i,l,s,d){var p=C,y=t;if(typeof t=="function")Kw(t)?(p=h,y=Hw(y)):y=mc(y);else if(typeof t=="string")p=M;else e:switch(t){case Bi:return $l(i.children,s,d,n);case ll:p=B,s|=rn,(s&nt)!==Ae&&(s|=Hi);break;case ul:return l3(i,s,d,n);case vo:return u3(i,s,d,n);case cl:return s3(i,s,d,n);case hs:return BM(i,s,d,n);case nf:case ef:case ys:case rf:case tf:default:{if(typeof t=="object"&&t!==null)switch(t.$$typeof){case sl:p=j;break e;case au:p=T;break e;case Gt:p=U,y=zw(y);break e;case Ui:p=I;break e;case Cn:p=N,y=null;break e}var g="";{(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var w=l?Ve(l):null;w&&(g+=`
|
|
218
|
+
|
|
219
|
+
Check the render method of \``+w+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(t==null?t:typeof t)+"."+g))}}var S=Ca(p,i,n,s);return S.elementType=t,S.type=y,S.lanes=d,S._debugOwner=l,S}function Qw(t,n,i){var l=null;l=t._owner;var s=t.type,d=t.key,p=t.props,y=Xw(s,d,p,l,n,i);return y._debugSource=t._source,y._debugOwner=t._owner,y}function $l(t,n,i,l){var s=Ca(L,t,l,n);return s.lanes=i,s}function l3(t,n,i,l){typeof t.id!="string"&&c('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id);var s=Ca(Y,t,l,n|Et);return s.elementType=ul,s.lanes=i,s.stateNode={effectDuration:0,passiveEffectDuration:0},s}function u3(t,n,i,l){var s=Ca(J,t,l,n);return s.elementType=vo,s.lanes=i,s}function s3(t,n,i,l){var s=Ca(ce,t,l,n);return s.elementType=cl,s.lanes=i,s}function BM(t,n,i,l){var s=Ca($e,t,l,n);s.elementType=hs,s.lanes=i;var d={isHidden:!1};return s.stateNode=d,s}function Jw(t,n,i){var l=Ca(A,t,null,n);return l.lanes=i,l}function c3(){var t=Ca(M,null,null,Ae);return t.elementType="DELETED",t}function f3(t){var n=Ca(_,null,null,Ae);return n.stateNode=t,n}function Zw(t,n,i){var l=t.children!==null?t.children:[],s=Ca(R,l,t.key,n);return s.lanes=i,s.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},s}function UM(t,n){return t===null&&(t=Ca(C,null,null,Ae)),t.tag=n.tag,t.key=n.key,t.elementType=n.elementType,t.type=n.type,t.stateNode=n.stateNode,t.return=n.return,t.child=n.child,t.sibling=n.sibling,t.index=n.index,t.ref=n.ref,t.pendingProps=n.pendingProps,t.memoizedProps=n.memoizedProps,t.updateQueue=n.updateQueue,t.memoizedState=n.memoizedState,t.dependencies=n.dependencies,t.mode=n.mode,t.flags=n.flags,t.subtreeFlags=n.subtreeFlags,t.deletions=n.deletions,t.lanes=n.lanes,t.childLanes=n.childLanes,t.alternate=n.alternate,t.actualDuration=n.actualDuration,t.actualStartTime=n.actualStartTime,t.selfBaseDuration=n.selfBaseDuration,t.treeBaseDuration=n.treeBaseDuration,t._debugSource=n._debugSource,t._debugOwner=n._debugOwner,t._debugNeedsRemount=n._debugNeedsRemount,t._debugHookTypes=n._debugHookTypes,t}function d3(t,n,i,l,s){this.tag=n,this.containerInfo=t,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=IE,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=qn,this.eventTimes=rE(te),this.expirationTimes=rE(Bt),this.pendingLanes=te,this.suspendedLanes=te,this.pingedLanes=te,this.expiredLanes=te,this.mutableReadLanes=te,this.finishedLanes=te,this.entangledLanes=te,this.entanglements=rE(te),this.identifierPrefix=l,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],p=0;p<I0;p++)d.push(new Set)}switch(n){case Nv:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case _l:this._debugRootType=i?"hydrate()":"render()";break}}function FM(t,n,i,l,s,d,p,y,g,w){var S=new d3(t,n,i,y,g),k=o3(n,d);S.current=k,k.stateNode=S;{var P={element:l,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};k.memoizedState=P}return dC(k),S}var eS="18.3.1";function p3(t,n,i){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Ga(l),{$$typeof:Xa,key:l==null?null:""+l,children:t,containerInfo:n,implementation:i}}var tS,nS;tS=!1,nS={};function jM(t){if(!t)return Ea;var n=Ms(t),i=Kj(n);if(n.tag===h){var l=n.type;if(Gi(l))return mx(n,l,i)}return i}function v3(t,n){{var i=Ms(t);if(i===void 0){if(typeof t.render=="function")throw new Error("Unable to find node on an unmounted component.");var l=Object.keys(t).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+l)}var s=B1(i);if(s===null)return null;if(s.mode&rn){var d=Ve(i)||"Component";if(!nS[d]){nS[d]=!0;var p=vr;try{Xt(s),i.mode&rn?c("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",n,n,d):c("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",n,n,d)}finally{p?Xt(p):Ln()}}}return s.stateNode}}function VM(t,n,i,l,s,d,p,y){var g=!1,w=null;return FM(t,n,g,w,i,l,s,d,p)}function HM(t,n,i,l,s,d,p,y,g,w){var S=!0,k=FM(i,l,S,t,s,d,p,y,g);k.context=jM(null);var P=k.current,F=Ur(),H=Ll(P),W=Lo(F,H);return W.callback=n??null,xl(P,W,H),Cz(k,H,F),k}function qd(t,n,i,l){jq(n,t);var s=n.current,d=Ur(),p=Ll(s);uB(p);var y=jM(i);n.context===null?n.context=y:n.pendingContext=y,uu&&vr!==null&&!tS&&(tS=!0,c(`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.
|
|
220
|
+
|
|
221
|
+
Check the render method of %s.`,Ve(vr)||"Unknown"));var g=Lo(d,p);g.payload={element:t},l=l===void 0?null:l,l!==null&&(typeof l!="function"&&c("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l),g.callback=l);var w=xl(s,g,p);return w!==null&&(Mn(w,s,p,d),Qv(w,s,p)),p}function Um(t){var n=t.current;if(!n.child)return null;switch(n.child.tag){case M:return n.child.stateNode;default:return n.child.stateNode}}function m3(t){switch(t.tag){case b:{var n=t.stateNode;if(ov(n)){var i=yB(n);Rz(n,i)}break}case J:{Bo(function(){var s=ea(t,Be);if(s!==null){var d=Ur();Mn(s,t,Be,d)}});var l=Be;rS(t,l);break}}}function zM(t,n){var i=t.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=SB(i.retryLane,n))}function rS(t,n){zM(t,n);var i=t.alternate;i&&zM(i,n)}function h3(t){if(t.tag===J){var n=Sf,i=ea(t,n);if(i!==null){var l=Ur();Mn(i,t,n,l)}rS(t,n)}}function y3(t){if(t.tag===J){var n=Ll(t),i=ea(t,n);if(i!==null){var l=Ur();Mn(i,t,n,l)}rS(t,n)}}function WM(t){var n=kq(t);return n===null?null:n.stateNode}var GM=function(t){return null};function g3(t){return GM(t)}var YM=function(t){return!1};function b3(t){return YM(t)}var KM=null,XM=null,QM=null,JM=null,ZM=null,eD=null,tD=null,nD=null,rD=null;{var aD=function(t,n,i){var l=n[i],s=vt(t)?t.slice():Ke({},t);return i+1===n.length?(vt(s)?s.splice(l,1):delete s[l],s):(s[l]=aD(t[l],n,i+1),s)},iD=function(t,n){return aD(t,n,0)},oD=function(t,n,i,l){var s=n[l],d=vt(t)?t.slice():Ke({},t);if(l+1===n.length){var p=i[l];d[p]=d[s],vt(d)?d.splice(s,1):delete d[s]}else d[s]=oD(t[s],n,i,l+1);return d},lD=function(t,n,i){if(n.length!==i.length){f("copyWithRename() expects paths of the same length");return}else for(var l=0;l<i.length-1;l++)if(n[l]!==i[l]){f("copyWithRename() expects paths to be the same except for the deepest key");return}return oD(t,n,i,0)},uD=function(t,n,i,l){if(i>=n.length)return l;var s=n[i],d=vt(t)?t.slice():Ke({},t);return d[s]=uD(t[s],n,i+1,l),d},sD=function(t,n,i){return uD(t,n,0,i)},aS=function(t,n){for(var i=t.memoizedState;i!==null&&n>0;)i=i.next,n--;return i};KM=function(t,n,i,l){var s=aS(t,n);if(s!==null){var d=sD(s.memoizedState,i,l);s.memoizedState=d,s.baseState=d,t.memoizedProps=Ke({},t.memoizedProps);var p=ea(t,Be);p!==null&&Mn(p,t,Be,Bt)}},XM=function(t,n,i){var l=aS(t,n);if(l!==null){var s=iD(l.memoizedState,i);l.memoizedState=s,l.baseState=s,t.memoizedProps=Ke({},t.memoizedProps);var d=ea(t,Be);d!==null&&Mn(d,t,Be,Bt)}},QM=function(t,n,i,l){var s=aS(t,n);if(s!==null){var d=lD(s.memoizedState,i,l);s.memoizedState=d,s.baseState=d,t.memoizedProps=Ke({},t.memoizedProps);var p=ea(t,Be);p!==null&&Mn(p,t,Be,Bt)}},JM=function(t,n,i){t.pendingProps=sD(t.memoizedProps,n,i),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var l=ea(t,Be);l!==null&&Mn(l,t,Be,Bt)},ZM=function(t,n){t.pendingProps=iD(t.memoizedProps,n),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var i=ea(t,Be);i!==null&&Mn(i,t,Be,Bt)},eD=function(t,n,i){t.pendingProps=lD(t.memoizedProps,n,i),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var l=ea(t,Be);l!==null&&Mn(l,t,Be,Bt)},tD=function(t){var n=ea(t,Be);n!==null&&Mn(n,t,Be,Bt)},nD=function(t){GM=t},rD=function(t){YM=t}}function E3(t){var n=B1(t);return n===null?null:n.stateNode}function C3(t){return null}function w3(){return vr}function S3(t){var n=t.findFiberByHostInstance,i=a.ReactCurrentDispatcher;return Fq({bundleType:t.bundleType,version:t.version,rendererPackageName:t.rendererPackageName,rendererConfig:t.rendererConfig,overrideHookState:KM,overrideHookStateDeletePath:XM,overrideHookStateRenamePath:QM,overrideProps:JM,overridePropsDeletePath:ZM,overridePropsRenamePath:eD,setErrorHandler:nD,setSuspenseHandler:rD,scheduleUpdate:tD,currentDispatcherRef:i,findHostInstanceByFiber:E3,findFiberByHostInstance:n||C3,findHostInstancesForRefresh:Zz,scheduleRefresh:Qz,scheduleRoot:Jz,setRefreshHandler:Xz,getCurrentFiber:w3,reconcilerVersion:eS})}var cD=typeof reportError=="function"?reportError:function(t){console.error(t)};function iS(t){this._internalRoot=t}Fm.prototype.render=iS.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?c("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):jm(arguments[1])?c("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&c("You passed a second argument to root.render(...) but it only accepts one argument.");var i=n.containerInfo;if(i.nodeType!==vn){var l=WM(n.current);l&&l.parentNode!==i&&c("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}qd(t,n,null,null)},Fm.prototype.unmount=iS.prototype.unmount=function(){typeof arguments[0]=="function"&&c("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;wM()&&c("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."),Bo(function(){qd(null,t,null,null)}),cx(n)}};function _3(t,n){if(!jm(t))throw new Error("createRoot(...): Target container is not a DOM element.");fD(t);var i=!1,l=!1,s="",d=cD;n!=null&&(n.hydrate?f("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof n=="object"&&n!==null&&n.$$typeof===qi&&c(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
222
|
+
|
|
223
|
+
let root = createRoot(domContainer);
|
|
224
|
+
root.render(<App />);`),n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.transitionCallbacks!==void 0&&n.transitionCallbacks);var p=VM(t,Nv,null,i,l,s,d);Mv(p.current,t);var y=t.nodeType===vn?t.parentNode:t;return Hf(y),new iS(p)}function Fm(t){this._internalRoot=t}function R3(t){t&&UB(t)}Fm.prototype.unstable_scheduleHydration=R3;function T3(t,n,i){if(!jm(t))throw new Error("hydrateRoot(...): Target container is not a DOM element.");fD(t),n===void 0&&c("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var l=i??null,s=i!=null&&i.hydratedSources||null,d=!1,p=!1,y="",g=cD;i!=null&&(i.unstable_strictMode===!0&&(d=!0),i.identifierPrefix!==void 0&&(y=i.identifierPrefix),i.onRecoverableError!==void 0&&(g=i.onRecoverableError));var w=HM(n,null,t,Nv,l,d,p,y,g);if(Mv(w.current,t),Hf(t),s)for(var S=0;S<s.length;S++){var k=s[S];DV(w,k)}return new Fm(w)}function jm(t){return!!(t&&(t.nodeType===Jr||t.nodeType===wo||t.nodeType===d0||!en))}function Bd(t){return!!(t&&(t.nodeType===Jr||t.nodeType===wo||t.nodeType===d0||t.nodeType===vn&&t.nodeValue===" react-mount-point-unstable "))}function fD(t){t.nodeType===Jr&&t.tagName&&t.tagName.toUpperCase()==="BODY"&&c("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),td(t)&&(t._reactRootContainer?c("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):c("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var x3=a.ReactCurrentOwner,dD;dD=function(t){if(t._reactRootContainer&&t.nodeType!==vn){var n=WM(t._reactRootContainer.current);n&&n.parentNode!==t&&c("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var i=!!t._reactRootContainer,l=oS(t),s=!!(l&&wl(l));s&&!i&&c("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),t.nodeType===Jr&&t.tagName&&t.tagName.toUpperCase()==="BODY"&&c("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function oS(t){return t?t.nodeType===wo?t.documentElement:t.firstChild:null}function pD(){}function O3(t,n,i,l,s){if(s){if(typeof l=="function"){var d=l;l=function(){var P=Um(p);d.call(P)}}var p=HM(n,l,t,_l,null,!1,!1,"",pD);t._reactRootContainer=p,Mv(p.current,t);var y=t.nodeType===vn?t.parentNode:t;return Hf(y),Bo(),p}else{for(var g;g=t.lastChild;)t.removeChild(g);if(typeof l=="function"){var w=l;l=function(){var P=Um(S);w.call(P)}}var S=VM(t,_l,null,!1,!1,"",pD);t._reactRootContainer=S,Mv(S.current,t);var k=t.nodeType===vn?t.parentNode:t;return Hf(k),Bo(function(){qd(n,S,i,l)}),S}}function M3(t,n){t!==null&&typeof t!="function"&&c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,t)}function Vm(t,n,i,l,s){dD(i),M3(s===void 0?null:s,"render");var d=i._reactRootContainer,p;if(!d)p=O3(i,n,t,s,l);else{if(p=d,typeof s=="function"){var y=s;s=function(){var g=Um(p);y.call(g)}}qd(n,p,t,s)}return Um(p)}var vD=!1;function D3(t){{vD||(vD=!0,c("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var n=x3.current;if(n!==null&&n.stateNode!==null){var i=n.stateNode._warnedAboutRefsInRender;i||c("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ut(n.type)||"A component"),n.stateNode._warnedAboutRefsInRender=!0}}return t==null?null:t.nodeType===Jr?t:v3(t,"findDOMNode")}function A3(t,n,i){if(c("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Bd(n))throw new Error("Target container is not a DOM element.");{var l=td(n)&&n._reactRootContainer===void 0;l&&c("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Vm(null,t,n,!0,i)}function P3(t,n,i){if(c("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Bd(n))throw new Error("Target container is not a DOM element.");{var l=td(n)&&n._reactRootContainer===void 0;l&&c("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Vm(null,t,n,!1,i)}function k3(t,n,i,l){if(c("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Bd(i))throw new Error("Target container is not a DOM element.");if(t==null||!Tq(t))throw new Error("parentComponent must be a valid React Component");return Vm(t,n,i,!1,l)}var mD=!1;function I3(t){if(mD||(mD=!0,c("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Bd(t))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var n=td(t)&&t._reactRootContainer===void 0;n&&c("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(t._reactRootContainer){{var i=oS(t),l=i&&!wl(i);l&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Bo(function(){Vm(null,null,t,!1,function(){t._reactRootContainer=null,cx(t)})}),!0}else{{var s=oS(t),d=!!(s&&wl(s)),p=t.nodeType===Jr&&Bd(t.parentNode)&&!!t.parentNode._reactRootContainer;d&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",p?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}DB(m3),PB(h3),kB(y3),IB(ai),LB(xB),(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")&&c("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),mq(NF),gq($w,Tz,Bo);function L3(t,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!jm(n))throw new Error("Target container is not a DOM element.");return p3(t,n,null,i)}function N3(t,n,i,l){return k3(t,n,i,l)}var lS={usingClientEntryPoint:!1,Events:[wl,Ws,Dv,x1,O1,$w]};function $3(t,n){return lS.usingClientEntryPoint||c('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),_3(t,n)}function q3(t,n,i){return lS.usingClientEntryPoint||c('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),T3(t,n,i)}function B3(t){return wM()&&c("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Bo(t)}var U3=S3({findFiberByHostInstance:Su,bundleType:1,version:eS,rendererPackageName:"react-dom"});if(!U3&&$t&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var hD=window.location.protocol;/^(https?|file):$/.test(hD)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(hD==="file:"?`
|
|
225
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}_a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lS,_a.createPortal=L3,_a.createRoot=$3,_a.findDOMNode=D3,_a.flushSync=B3,_a.hydrate=A3,_a.hydrateRoot=q3,_a.render=P3,_a.unmountComponentAtNode=I3,_a.unstable_batchedUpdates=$w,_a.unstable_renderSubtreeIntoContainer=N3,_a.version=eS,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();OI.exports=_a;var CR=OI.exports;const uh=zh(CR);/**
|
|
226
|
+
* @license React
|
|
227
|
+
* react-dom-test-utils.development.js
|
|
228
|
+
*
|
|
229
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
230
|
+
*
|
|
231
|
+
* This source code is licensed under the MIT license found in the
|
|
232
|
+
* LICENSE file in the root directory of this source tree.
|
|
233
|
+
*/(function(){var e=ke,r=CR,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function o(O){{for(var X=arguments.length,Q=new Array(X>1?X-1:0),ee=1;ee<X;ee++)Q[ee-1]=arguments[ee];f("warn",O,Q)}}function u(O){{for(var X=arguments.length,Q=new Array(X>1?X-1:0),ee=1;ee<X;ee++)Q[ee-1]=arguments[ee];f("error",O,Q)}}function f(O,X,Q){{var ee=a.ReactDebugCurrentFrame,Pe=ee.getStackAddendum();Pe!==""&&(X+="%s",Q=Q.concat([Pe]));var Qe=Q.map(function(Ot){return String(Ot)});Qe.unshift("Warning: "+X),Function.prototype.apply.call(console[O],console,Qe)}}function c(O){return O._reactInternals}var v=0,m=1,h=3,C=5,b=6,R=0,M=2,A=4096;a.ReactCurrentOwner;function L(O){var X=O,Q=O;if(O.alternate)for(;X.return;)X=X.return;else{var ee=X;do X=ee,(X.flags&(M|A))!==R&&(Q=X.return),ee=X.return;while(ee)}return X.tag===h?Q:null}function B(O){if(L(O)!==O)throw new Error("Unable to find node on an unmounted component.")}function T(O){var X=O.alternate;if(!X){var Q=L(O);if(Q===null)throw new Error("Unable to find node on an unmounted component.");return Q!==O?null:O}for(var ee=O,Pe=X;;){var Qe=ee.return;if(Qe===null)break;var Ot=Qe.alternate;if(Ot===null){var In=Qe.return;if(In!==null){ee=Pe=In;continue}break}if(Qe.child===Ot.child){for(var Kn=Qe.child;Kn;){if(Kn===ee)return B(Qe),O;if(Kn===Pe)return B(Qe),X;Kn=Kn.sibling}throw new Error("Unable to find node on an unmounted component.")}if(ee.return!==Pe.return)ee=Qe,Pe=Ot;else{for(var Xn=!1,tn=Qe.child;tn;){if(tn===ee){Xn=!0,ee=Qe,Pe=Ot;break}if(tn===Pe){Xn=!0,Pe=Qe,ee=Ot;break}tn=tn.sibling}if(!Xn){for(tn=Ot.child;tn;){if(tn===ee){Xn=!0,ee=Ot,Pe=Qe;break}if(tn===Pe){Xn=!0,Pe=Ot,ee=Qe;break}tn=tn.sibling}if(!Xn)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(ee.alternate!==Pe)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(ee.tag!==h)throw new Error("Unable to find node on an unmounted component.");return ee.stateNode.current===ee?O:X}var j=Object.assign;function U(O){var X,Q=O.keyCode;return"charCode"in O?(X=O.charCode,X===0&&Q===13&&(X=13)):X=Q,X===10&&(X=13),X>=32||X===13?X:0}function Y(){return!0}function J(){return!1}function I(O){function X(Q,ee,Pe,Qe,Ot){this._reactName=Q,this._targetInst=Pe,this.type=ee,this.nativeEvent=Qe,this.target=Ot,this.currentTarget=null;for(var In in O)if(O.hasOwnProperty(In)){var Kn=O[In];Kn?this[In]=Kn(Qe):this[In]=Qe[In]}var Xn=Qe.defaultPrevented!=null?Qe.defaultPrevented:Qe.returnValue===!1;return Xn?this.isDefaultPrevented=Y:this.isDefaultPrevented=J,this.isPropagationStopped=J,this}return j(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Q=this.nativeEvent;Q&&(Q.preventDefault?Q.preventDefault():typeof Q.returnValue!="unknown"&&(Q.returnValue=!1),this.isDefaultPrevented=Y)},stopPropagation:function(){var Q=this.nativeEvent;Q&&(Q.stopPropagation?Q.stopPropagation():typeof Q.cancelBubble!="unknown"&&(Q.cancelBubble=!0),this.isPropagationStopped=Y)},persist:function(){},isPersistent:Y}),X}var K={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(O){return O.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},N=I(K),re=j({},K,{view:0,detail:0});I(re);var _,ce,De;function $e(O){O!==De&&(De&&O.type==="mousemove"?(_=O.screenX-De.screenX,ce=O.screenY-De.screenY):(_=0,ce=0),De=O)}var fe=j({},re,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gr,button:0,buttons:0,relatedTarget:function(O){return O.relatedTarget===void 0?O.fromElement===O.srcElement?O.toElement:O.fromElement:O.relatedTarget},movementX:function(O){return"movementX"in O?O.movementX:($e(O),_)},movementY:function(O){return"movementY"in O?O.movementY:ce}});I(fe);var et=j({},fe,{dataTransfer:0});I(et);var ze=j({},re,{relatedTarget:0});I(ze);var we=j({},K,{animationName:0,elapsedTime:0,pseudoElement:0});I(we);var xt=j({},K,{clipboardData:function(O){return"clipboardData"in O?O.clipboardData:window.clipboardData}});I(xt);var dr=j({},K,{data:0});I(dr);var Or={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function en(O){if(O.key){var X=Or[O.key]||O.key;if(X!=="Unidentified")return X}if(O.type==="keypress"){var Q=U(O);return Q===13?"Enter":String.fromCharCode(Q)}return O.type==="keydown"||O.type==="keyup"?zn[O.keyCode]||"Unidentified":""}var Mr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Dr(O){var X=this,Q=X.nativeEvent;if(Q.getModifierState)return Q.getModifierState(O);var ee=Mr[O];return ee?!!Q[ee]:!1}function Gr(O){return Dr}var Ha=j({},re,{key:en,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gr,charCode:function(O){return O.type==="keypress"?U(O):0},keyCode:function(O){return O.type==="keydown"||O.type==="keyup"?O.keyCode:0},which:function(O){return O.type==="keypress"?U(O):O.type==="keydown"||O.type==="keyup"?O.keyCode:0}});I(Ha);var za=j({},fe,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});I(za);var Wa=j({},re,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gr});I(Wa);var Wn=j({},K,{propertyName:0,elapsedTime:0,pseudoElement:0});I(Wn);var pa=j({},fe,{deltaX:function(O){return"deltaX"in O?O.deltaX:"wheelDeltaX"in O?-O.wheelDeltaX:0},deltaY:function(O){return"deltaY"in O?O.deltaY:"wheelDeltaY"in O?-O.wheelDeltaY:"wheelDelta"in O?-O.wheelDelta:0},deltaZ:0,deltaMode:0});I(pa);var ge=1;function Gn(O,X,Q,ee,Pe,Qe,Ot,In,Kn){var Xn=Array.prototype.slice.call(arguments,3);try{X.apply(Q,Xn)}catch(tn){this.onError(tn)}}var $t=Gn;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var ln=document.createElement("react");$t=function(X,Q,ee,Pe,Qe,Ot,In,Kn,Xn){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var tn=document.createEvent("Event"),Ja=!1,Lr=!0,Fi=window.event,Za=Object.getOwnPropertyDescriptor(window,"event");function ho(){ln.removeEventListener(yo,ou,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Fi)}var iu=Array.prototype.slice.call(arguments,3);function ou(){Ja=!0,ho(),Q.apply(ee,iu),Lr=!1}var Xr,bs=!1,ei=!1;function lu(ti){if(Xr=ti.error,bs=!0,Xr===null&&ti.colno===0&&ti.lineno===0&&(ei=!0),ti.defaultPrevented&&Xr!=null&&typeof Xr=="object")try{Xr._suppressLogging=!0}catch{}}var yo="react-"+(X||"invokeguardedcallback");if(window.addEventListener("error",lu),ln.addEventListener(yo,ou,!1),tn.initEvent(yo,!1,!1),ln.dispatchEvent(tn),Za&&Object.defineProperty(window,"event",Za),Ja&&Lr&&(bs?ei&&(Xr=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Xr=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Xr)),window.removeEventListener("error",lu),!Ja)return ho(),Gn.apply(this,arguments)}}var Ar=$t,En=!1,un=null,Pr=!1,Ga=null,Yr={onError:function(O){En=!0,un=O}};function Ya(O,X,Q,ee,Pe,Qe,Ot,In,Kn){En=!1,un=null,Ar.apply(Yr,arguments)}function Li(O,X,Q,ee,Pe,Qe,Ot,In,Kn){if(Ya.apply(this,arguments),En){var Xn=Da();Pr||(Pr=!0,Ga=Xn)}}function kr(){if(Pr){var O=Ga;throw Pr=!1,Ga=null,O}}function Da(){if(En){var O=un;return En=!1,un=null,O}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}var Ir=Array.isArray;function Kr(O){return Ir(O)}var Yn=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,pr=Yn.Events,rl=pr[0],al=pr[1],se=pr[2],_e=pr[3],Xe=pr[4],yt=e.unstable_act;function gt(O){}var fn=!1;function sn(O,X){if(!O)return[];var Q=T(O);if(!Q)return[];for(var ee=Q,Pe=[];;){if(ee.tag===C||ee.tag===b||ee.tag===m||ee.tag===v){var Qe=ee.stateNode;X(Qe)&&Pe.push(Qe)}if(ee.child){ee.child.return=ee,ee=ee.child;continue}if(ee===Q)return Pe;for(;!ee.sibling;){if(!ee.return||ee.return===Q)return Pe;ee=ee.return}ee.sibling.return=ee.return,ee=ee.sibling}}function dn(O,X){if(O&&!c(O)){var Q,ee=String(O);throw Kr(O)?Q="an array":O&&O.nodeType===ge&&O.tagName?Q="a DOM node":ee==="[object Object]"?Q="object with keys {"+Object.keys(O).join(", ")+"}":Q=ee,new Error(X+"(...): the first argument must be a React class instance. "+("Instead received: "+Q+"."))}}var qt=!1;function Aa(O){qt||(qt=!0,u("ReactDOMTestUtils is deprecated and will be removed in a future major release, because it exposes internal implementation details that are highly likely to change between releases. Upgrade to a modern testing library, such as @testing-library/react. See https://react.dev/warnings/react-dom-test-utils for more info."));var X=document.createElement("div");return r.render(O,X)}function pn(O){return e.isValidElement(O)}function Kt(O,X){return e.isValidElement(O)&&O.type===X}function Ka(O){return!!(O&&O.nodeType===ge&&O.tagName)}function Ni(O){return!!(O&&e.isValidElement(O)&&O.tagName)}function fo(O){return Ka(O)?!1:O!=null&&typeof O.render=="function"&&typeof O.setState=="function"}function vs(O,X){if(!fo(O))return!1;var Q=c(O),ee=Q.type;return ee===X}function il(O,X){if(dn(O,"findAllInRenderedTree"),!O)return[];var Q=c(O);return sn(Q,X)}function ru(O,X){return dn(O,"scryRenderedDOMComponentsWithClass"),il(O,function(Q){if(Ka(Q)){var ee=Q.className;typeof ee!="string"&&(ee=Q.getAttribute("class")||"");var Pe=ee.split(/\s+/);if(!Kr(X)){if(X===void 0)throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");X=X.split(/\s+/)}return X.every(function(Qe){return Pe.indexOf(Qe)!==-1})}return!1})}function ms(O,X){dn(O,"findRenderedDOMComponentWithClass");var Q=ru(O,X);if(Q.length!==1)throw new Error("Did not find exactly one match (found: "+Q.length+") for class:"+X);return Q[0]}function $i(O,X){return dn(O,"scryRenderedDOMComponentsWithTag"),il(O,function(Q){return Ka(Q)&&Q.tagName.toUpperCase()===X.toUpperCase()})}function ol(O,X){dn(O,"findRenderedDOMComponentWithTag");var Q=$i(O,X);if(Q.length!==1)throw new Error("Did not find exactly one match (found: "+Q.length+") for tag:"+X);return Q[0]}function po(O,X){return dn(O,"scryRenderedComponentsWithType"),il(O,function(Q){return vs(Q,X)})}function qi(O,X){dn(O,"findRenderedComponentWithType");var Q=po(O,X);if(Q.length!==1)throw new Error("Did not find exactly one match (found: "+Q.length+") for componentType:"+X);return Q[0]}function Xa(O,X){return fn||(fn=!0,o(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
|
|
234
|
+
|
|
235
|
+
See https://reactjs.org/link/test-utils-mock-component for more information.`)),X=X||O.mockTagName||"div",O.prototype.render.mockImplementation(function(){return e.createElement(X,null,this.props.children)}),this}function Bi(O,X){return{touches:[{pageX:O,pageY:X}]}}function ll(O,X,Q){var ee=O.type||"unknown-event";O.currentTarget=al(Q),Li(ee,X,void 0,O),O.currentTarget=null}function ul(O){var X=O._dispatchListeners,Q=O._dispatchInstances;if(Kr(X))for(var ee=0;ee<X.length&&!O.isPropagationStopped();ee++)ll(O,X[ee],Q[ee]);else X&&ll(O,X,Q);O._dispatchListeners=null,O._dispatchInstances=null}var sl=function(O){O&&(ul(O),O.isPersistent()||O.constructor.release(O))};function au(O){return O==="button"||O==="input"||O==="select"||O==="textarea"}function Gt(O){do O=O.return;while(O&&O.tag!==C);return O||null}function vo(O,X,Q){for(var ee=[];O;)ee.push(O),O=Gt(O);var Pe;for(Pe=ee.length;Pe-- >0;)X(ee[Pe],"captured",Q);for(Pe=0;Pe<ee.length;Pe++)X(ee[Pe],"bubbled",Q)}function cl(O,X,Q){switch(O){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(Q.disabled&&au(X));default:return!1}}function Ui(O,X){var Q=O.stateNode;if(!Q)return null;var ee=se(Q);if(!ee)return null;var Pe=ee[X];if(cl(X,O.type,ee))return null;if(Pe&&typeof Pe!="function")throw new Error("Expected `"+X+"` listener to be a function, instead got a value of `"+typeof Pe+"` type.");return Pe}function Cn(O,X,Q){var ee=X._reactName;return Q==="captured"&&(ee+="Capture"),Ui(O,ee)}function ef(O,X,Q){if(O&&Q&&Q._reactName){var ee=Q._reactName,Pe=Ui(O,ee);Pe&&(Q._dispatchListeners==null&&(Q._dispatchListeners=[]),Q._dispatchInstances==null&&(Q._dispatchInstances=[]),Q._dispatchListeners.push(Pe),Q._dispatchInstances.push(O))}}function tf(O,X,Q){O||u("Dispatching inst must not be null");var ee=Cn(O,Q,X);ee&&(Q._dispatchListeners==null&&(Q._dispatchListeners=[]),Q._dispatchInstances==null&&(Q._dispatchInstances=[]),Q._dispatchListeners.push(ee),Q._dispatchInstances.push(O))}function hs(O){O&&O._reactName&&ef(O._targetInst,null,O)}function nf(O){O&&O._reactName&&vo(O._targetInst,tf,O)}var ys={},rf=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function gs(O){return function(X,Q){if(e.isValidElement(X))throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(fo(X))throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var ee="on"+O[0].toUpperCase()+O.slice(1),Pe=new gt;Pe.target=X,Pe.type=O.toLowerCase();var Qe=rl(X),Ot=new N(ee,Pe.type,Qe,Pe,X);Ot.persist(),j(Ot,Q),rf.has(O)?hs(Ot):nf(Ot),r.unstable_batchedUpdates(function(){_e(X),sl(Ot),kr()}),Xe()}}var af=["blur","cancel","click","close","contextMenu","copy","cut","auxClick","doubleClick","dragEnd","dragStart","drop","focus","input","invalid","keyDown","keyPress","keyUp","mouseDown","mouseUp","paste","pause","play","pointerCancel","pointerDown","pointerUp","rateChange","reset","resize","seeked","submit","touchCancel","touchEnd","touchStart","volumeChange","drag","dragEnter","dragExit","dragLeave","dragOver","mouseMove","mouseOut","mouseOver","pointerMove","pointerOut","pointerOver","scroll","toggle","touchMove","wheel","abort","animationEnd","animationIteration","animationStart","canPlay","canPlayThrough","durationChange","emptied","encrypted","ended","error","gotPointerCapture","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","playing","progress","seeking","stalled","suspend","timeUpdate","transitionEnd","waiting","mouseEnter","mouseLeave","pointerEnter","pointerLeave","change","select","beforeInput","compositionEnd","compositionStart","compositionUpdate"];function Qa(){af.forEach(function(O){ys[O]=gs(O)})}Qa();var Ke=!1,mo=function(X){return Ke||(Ke=!0,u("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")),yt(X)};yn.Simulate=ys,yn.act=mo,yn.findAllInRenderedTree=il,yn.findRenderedComponentWithType=qi,yn.findRenderedDOMComponentWithClass=ms,yn.findRenderedDOMComponentWithTag=ol,yn.isCompositeComponent=fo,yn.isCompositeComponentWithType=vs,yn.isDOMComponent=Ka,yn.isDOMComponentElement=Ni,yn.isElement=pn,yn.isElementOfType=Kt,yn.mockComponent=Xa,yn.nativeTouchData=Bi,yn.renderIntoDocument=Aa,yn.scryRenderedComponentsWithType=po,yn.scryRenderedDOMComponentsWithClass=ru,yn.scryRenderedDOMComponentsWithTag=$i,yn.traverseTwoPhase=vo})();xI.exports=yn;var sY=xI.exports,AI,PI,ES=CR;{var Km=ES.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;PI=function(e,r){Km.usingClientEntryPoint=!0;try{return ES.createRoot(e,r)}finally{Km.usingClientEntryPoint=!1}},AI=function(e,r,a){Km.usingClientEntryPoint=!0;try{return ES.hydrateRoot(e,r,a)}finally{Km.usingClientEntryPoint=!1}}}var Xo={},wR={exports:{}};wR.exports;(function(e){const a=(f=0)=>c=>`\x1B[${38+f};5;${c}m`,o=(f=0)=>(c,v,m)=>`\x1B[${38+f};2;${c};${v};${m}m`;function u(){const f=new Map,c={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};c.color.gray=c.color.blackBright,c.bgColor.bgGray=c.bgColor.bgBlackBright,c.color.grey=c.color.blackBright,c.bgColor.bgGrey=c.bgColor.bgBlackBright;for(const[v,m]of Object.entries(c)){for(const[h,C]of Object.entries(m))c[h]={open:`\x1B[${C[0]}m`,close:`\x1B[${C[1]}m`},m[h]=c[h],f.set(C[0],C[1]);Object.defineProperty(c,v,{value:m,enumerable:!1})}return Object.defineProperty(c,"codes",{value:f,enumerable:!1}),c.color.close="\x1B[39m",c.bgColor.close="\x1B[49m",c.color.ansi256=a(),c.color.ansi16m=o(),c.bgColor.ansi256=a(10),c.bgColor.ansi16m=o(10),Object.defineProperties(c,{rgbToAnsi256:{value:(v,m,h)=>v===m&&m===h?v<8?16:v>248?231:Math.round((v-8)/247*24)+232:16+36*Math.round(v/255*5)+6*Math.round(m/255*5)+Math.round(h/255*5),enumerable:!1},hexToRgb:{value:v=>{const m=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(v.toString(16));if(!m)return[0,0,0];let{colorString:h}=m.groups;h.length===3&&(h=h.split("").map(b=>b+b).join(""));const C=Number.parseInt(h,16);return[C>>16&255,C>>8&255,C&255]},enumerable:!1},hexToAnsi256:{value:v=>c.rgbToAnsi256(...c.hexToRgb(v)),enumerable:!1}}),c}Object.defineProperty(e,"exports",{enumerable:!0,get:u})})(wR);var kI=wR.exports,Jo={};Object.defineProperty(Jo,"__esModule",{value:!0});Jo.printIteratorEntries=fY;Jo.printIteratorValues=dY;Jo.printListItems=pY;Jo.printObjectProperties=vY;const cY=(e,r)=>{const a=Object.keys(e).sort(r);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(o=>{Object.getOwnPropertyDescriptor(e,o).enumerable&&a.push(o)}),a};function fY(e,r,a,o,u,f,c=": "){let v="",m=e.next();if(!m.done){v+=r.spacingOuter;const h=a+r.indent;for(;!m.done;){const C=f(m.value[0],r,h,o,u),b=f(m.value[1],r,h,o,u);v+=h+C+c+b,m=e.next(),m.done?r.min||(v+=","):v+=","+r.spacingInner}v+=r.spacingOuter+a}return v}function dY(e,r,a,o,u,f){let c="",v=e.next();if(!v.done){c+=r.spacingOuter;const m=a+r.indent;for(;!v.done;)c+=m+f(v.value,r,m,o,u),v=e.next(),v.done?r.min||(c+=","):c+=","+r.spacingInner;c+=r.spacingOuter+a}return c}function pY(e,r,a,o,u,f){let c="";if(e.length){c+=r.spacingOuter;const v=a+r.indent;for(let m=0;m<e.length;m++)c+=v,m in e&&(c+=f(e[m],r,v,o,u)),m<e.length-1?c+=","+r.spacingInner:r.min||(c+=",");c+=r.spacingOuter+a}return c}function vY(e,r,a,o,u,f){let c="";const v=cY(e,r.compareKeys);if(v.length){c+=r.spacingOuter;const m=a+r.indent;for(let h=0;h<v.length;h++){const C=v[h],b=f(C,r,m,o,u),R=f(e[C],r,m,o,u);c+=m+b+": "+R,h<v.length-1?c+=","+r.spacingInner:r.min||(c+=",")}c+=r.spacingOuter+a}return c}var zl={};Object.defineProperty(zl,"__esModule",{value:!0});zl.test=zl.serialize=zl.default=void 0;var $A=Jo,Th=function(){return typeof globalThis<"u"?globalThis:typeof Th<"u"?Th:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),CS=Th["jest-symbol-do-not-touch"]||Th.Symbol;const mY=typeof CS=="function"&&CS.for?CS.for("jest.asymmetricMatcher"):1267621,Xm=" ",II=(e,r,a,o,u,f)=>{const c=e.toString();return c==="ArrayContaining"||c==="ArrayNotContaining"?++o>r.maxDepth?"["+c+"]":c+Xm+"["+(0,$A.printListItems)(e.sample,r,a,o,u,f)+"]":c==="ObjectContaining"||c==="ObjectNotContaining"?++o>r.maxDepth?"["+c+"]":c+Xm+"{"+(0,$A.printObjectProperties)(e.sample,r,a,o,u,f)+"}":c==="StringMatching"||c==="StringNotMatching"||c==="StringContaining"||c==="StringNotContaining"?c+Xm+f(e.sample,r,a,o,u):e.toAsymmetricMatcher()};zl.serialize=II;const LI=e=>e&&e.$$typeof===mY;zl.test=LI;const hY={serialize:II,test:LI};var yY=hY;zl.default=yY;var Wl={},gY=({onlyFirst:e=!1}={})=>{const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,e?void 0:"g")};Object.defineProperty(Wl,"__esModule",{value:!0});Wl.test=Wl.serialize=Wl.default=void 0;var NI=$I(gY),Ut=$I(kI);function $I(e){return e&&e.__esModule?e:{default:e}}const bY=e=>e.replace((0,NI.default)(),r=>{switch(r){case Ut.default.red.close:case Ut.default.green.close:case Ut.default.cyan.close:case Ut.default.gray.close:case Ut.default.white.close:case Ut.default.yellow.close:case Ut.default.bgRed.close:case Ut.default.bgGreen.close:case Ut.default.bgYellow.close:case Ut.default.inverse.close:case Ut.default.dim.close:case Ut.default.bold.close:case Ut.default.reset.open:case Ut.default.reset.close:return"</>";case Ut.default.red.open:return"<red>";case Ut.default.green.open:return"<green>";case Ut.default.cyan.open:return"<cyan>";case Ut.default.gray.open:return"<gray>";case Ut.default.white.open:return"<white>";case Ut.default.yellow.open:return"<yellow>";case Ut.default.bgRed.open:return"<bgRed>";case Ut.default.bgGreen.open:return"<bgGreen>";case Ut.default.bgYellow.open:return"<bgYellow>";case Ut.default.inverse.open:return"<inverse>";case Ut.default.dim.open:return"<dim>";case Ut.default.bold.open:return"<bold>";default:return""}}),qI=e=>typeof e=="string"&&!!e.match((0,NI.default)());Wl.test=qI;const BI=(e,r,a,o,u,f)=>f(bY(e),r,a,o,u);Wl.serialize=BI;const EY={serialize:BI,test:qI};var CY=EY;Wl.default=CY;var Gl={};Object.defineProperty(Gl,"__esModule",{value:!0});Gl.test=Gl.serialize=Gl.default=void 0;var qA=Jo;const wY=" ",UI=["DOMStringMap","NamedNodeMap"],SY=/^(HTML\w*Collection|NodeList)$/,_Y=e=>UI.indexOf(e)!==-1||SY.test(e),FI=e=>e&&e.constructor&&!!e.constructor.name&&_Y(e.constructor.name);Gl.test=FI;const RY=e=>e.constructor.name==="NamedNodeMap",jI=(e,r,a,o,u,f)=>{const c=e.constructor.name;return++o>r.maxDepth?"["+c+"]":(r.min?"":c+wY)+(UI.indexOf(c)!==-1?"{"+(0,qA.printObjectProperties)(RY(e)?Array.from(e).reduce((v,m)=>(v[m.name]=m.value,v),{}):{...e},r,a,o,u,f)+"}":"["+(0,qA.printListItems)(Array.from(e),r,a,o,u,f)+"]")};Gl.serialize=jI;const TY={serialize:jI,test:FI};var xY=TY;Gl.default=xY;var Yl={},_r={},SR={};Object.defineProperty(SR,"__esModule",{value:!0});SR.default=OY;function OY(e){return e.replace(/</g,"<").replace(/>/g,">")}Object.defineProperty(_r,"__esModule",{value:!0});_r.printText=_r.printProps=_r.printElementAsLeaf=_r.printElement=_r.printComment=_r.printChildren=void 0;var VI=MY(SR);function MY(e){return e&&e.__esModule?e:{default:e}}const DY=(e,r,a,o,u,f,c)=>{const v=o+a.indent,m=a.colors;return e.map(h=>{const C=r[h];let b=c(C,a,v,u,f);return typeof C!="string"&&(b.indexOf(`
|
|
236
|
+
`)!==-1&&(b=a.spacingOuter+v+b+a.spacingOuter+o),b="{"+b+"}"),a.spacingInner+o+m.prop.open+h+m.prop.close+"="+m.value.open+b+m.value.close}).join("")};_r.printProps=DY;const AY=(e,r,a,o,u,f)=>e.map(c=>r.spacingOuter+a+(typeof c=="string"?HI(c,r):f(c,r,a,o,u))).join("");_r.printChildren=AY;const HI=(e,r)=>{const a=r.colors.content;return a.open+(0,VI.default)(e)+a.close};_r.printText=HI;const PY=(e,r)=>{const a=r.colors.comment;return a.open+"<!--"+(0,VI.default)(e)+"-->"+a.close};_r.printComment=PY;const kY=(e,r,a,o,u)=>{const f=o.colors.tag;return f.open+"<"+e+(r&&f.close+r+o.spacingOuter+u+f.open)+(a?">"+f.close+a+o.spacingOuter+u+f.open+"</"+e:(r&&!o.min?"":" ")+"/")+">"+f.close};_r.printElement=kY;const IY=(e,r)=>{const a=r.colors.tag;return a.open+"<"+e+a.close+" …"+a.open+" />"+a.close};_r.printElementAsLeaf=IY;Object.defineProperty(Yl,"__esModule",{value:!0});Yl.test=Yl.serialize=Yl.default=void 0;var Cc=_r;const LY=1,zI=3,WI=8,GI=11,NY=/^((HTML|SVG)\w*)?Element$/,$Y=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},qY=e=>{const r=e.constructor.name,{nodeType:a,tagName:o}=e,u=typeof o=="string"&&o.includes("-")||$Y(e);return a===LY&&(NY.test(r)||u)||a===zI&&r==="Text"||a===WI&&r==="Comment"||a===GI&&r==="DocumentFragment"},YI=e=>{var r;return(e==null||(r=e.constructor)===null||r===void 0?void 0:r.name)&&qY(e)};Yl.test=YI;function BY(e){return e.nodeType===zI}function UY(e){return e.nodeType===WI}function wS(e){return e.nodeType===GI}const KI=(e,r,a,o,u,f)=>{if(BY(e))return(0,Cc.printText)(e.data,r);if(UY(e))return(0,Cc.printComment)(e.data,r);const c=wS(e)?"DocumentFragment":e.tagName.toLowerCase();return++o>r.maxDepth?(0,Cc.printElementAsLeaf)(c,r):(0,Cc.printElement)(c,(0,Cc.printProps)(wS(e)?[]:Array.from(e.attributes).map(v=>v.name).sort(),wS(e)?{}:Array.from(e.attributes).reduce((v,m)=>(v[m.name]=m.value,v),{}),r,a+r.indent,o,u,f),(0,Cc.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),r,a+r.indent,o,u,f),r,a)};Yl.serialize=KI;const FY={serialize:KI,test:YI};var jY=FY;Yl.default=jY;var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0});Kl.test=Kl.serialize=Kl.default=void 0;var ip=Jo;const VY="@@__IMMUTABLE_ITERABLE__@@",HY="@@__IMMUTABLE_LIST__@@",zY="@@__IMMUTABLE_KEYED__@@",WY="@@__IMMUTABLE_MAP__@@",BA="@@__IMMUTABLE_ORDERED__@@",GY="@@__IMMUTABLE_RECORD__@@",YY="@@__IMMUTABLE_SEQ__@@",KY="@@__IMMUTABLE_SET__@@",XY="@@__IMMUTABLE_STACK__@@",qc=e=>"Immutable."+e,ny=e=>"["+e+"]",op=" ",UA="…",QY=(e,r,a,o,u,f,c)=>++o>r.maxDepth?ny(qc(c)):qc(c)+op+"{"+(0,ip.printIteratorEntries)(e.entries(),r,a,o,u,f)+"}";function JY(e){let r=0;return{next(){if(r<e._keys.length){const a=e._keys[r++];return{done:!1,value:[a,e.get(a)]}}return{done:!0,value:void 0}}}}const ZY=(e,r,a,o,u,f)=>{const c=qc(e._name||"Record");return++o>r.maxDepth?ny(c):c+op+"{"+(0,ip.printIteratorEntries)(JY(e),r,a,o,u,f)+"}"},e7=(e,r,a,o,u,f)=>{const c=qc("Seq");return++o>r.maxDepth?ny(c):e[zY]?c+op+"{"+(e._iter||e._object?(0,ip.printIteratorEntries)(e.entries(),r,a,o,u,f):UA)+"}":c+op+"["+(e._iter||e._array||e._collection||e._iterable?(0,ip.printIteratorValues)(e.values(),r,a,o,u,f):UA)+"]"},SS=(e,r,a,o,u,f,c)=>++o>r.maxDepth?ny(qc(c)):qc(c)+op+"["+(0,ip.printIteratorValues)(e.values(),r,a,o,u,f)+"]",XI=(e,r,a,o,u,f)=>e[WY]?QY(e,r,a,o,u,f,e[BA]?"OrderedMap":"Map"):e[HY]?SS(e,r,a,o,u,f,"List"):e[KY]?SS(e,r,a,o,u,f,e[BA]?"OrderedSet":"Set"):e[XY]?SS(e,r,a,o,u,f,"Stack"):e[YY]?e7(e,r,a,o,u,f):ZY(e,r,a,o,u,f);Kl.serialize=XI;const QI=e=>e&&(e[VY]===!0||e[GY]===!0);Kl.test=QI;const t7={serialize:XI,test:QI};var n7=t7;Kl.default=n7;var Xl={},JI={exports:{}},kt={};/** @license React v17.0.2
|
|
237
|
+
* react-is.development.js
|
|
238
|
+
*
|
|
239
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
240
|
+
*
|
|
241
|
+
* This source code is licensed under the MIT license found in the
|
|
242
|
+
* LICENSE file in the root directory of this source tree.
|
|
243
|
+
*/(function(){var e=60103,r=60106,a=60107,o=60108,u=60114,f=60109,c=60110,v=60112,m=60113,h=60120,C=60115,b=60116,R=60121,M=60122,A=60117,L=60129,B=60131;if(typeof Symbol=="function"&&Symbol.for){var T=Symbol.for;e=T("react.element"),r=T("react.portal"),a=T("react.fragment"),o=T("react.strict_mode"),u=T("react.profiler"),f=T("react.provider"),c=T("react.context"),v=T("react.forward_ref"),m=T("react.suspense"),h=T("react.suspense_list"),C=T("react.memo"),b=T("react.lazy"),R=T("react.block"),M=T("react.server.block"),A=T("react.fundamental"),T("react.scope"),T("react.opaque.id"),L=T("react.debug_trace_mode"),T("react.offscreen"),B=T("react.legacy_hidden")}var j=!1;function U(ge){return!!(typeof ge=="string"||typeof ge=="function"||ge===a||ge===u||ge===L||ge===o||ge===m||ge===h||ge===B||j||typeof ge=="object"&&ge!==null&&(ge.$$typeof===b||ge.$$typeof===C||ge.$$typeof===f||ge.$$typeof===c||ge.$$typeof===v||ge.$$typeof===A||ge.$$typeof===R||ge[0]===M))}function Y(ge){if(typeof ge=="object"&&ge!==null){var Gn=ge.$$typeof;switch(Gn){case e:var $t=ge.type;switch($t){case a:case u:case o:case m:case h:return $t;default:var ln=$t&&$t.$$typeof;switch(ln){case c:case v:case b:case C:case f:return ln;default:return Gn}}case r:return Gn}}}var J=c,I=f,K=e,N=v,re=a,_=b,ce=C,De=r,$e=u,fe=o,et=m,ze=!1,we=!1;function xt(ge){return ze||(ze=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function dr(ge){return we||(we=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Or(ge){return Y(ge)===c}function zn(ge){return Y(ge)===f}function en(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===e}function Mr(ge){return Y(ge)===v}function Dr(ge){return Y(ge)===a}function Gr(ge){return Y(ge)===b}function Ha(ge){return Y(ge)===C}function za(ge){return Y(ge)===r}function Wa(ge){return Y(ge)===u}function Wn(ge){return Y(ge)===o}function pa(ge){return Y(ge)===m}kt.ContextConsumer=J,kt.ContextProvider=I,kt.Element=K,kt.ForwardRef=N,kt.Fragment=re,kt.Lazy=_,kt.Memo=ce,kt.Portal=De,kt.Profiler=$e,kt.StrictMode=fe,kt.Suspense=et,kt.isAsyncMode=xt,kt.isConcurrentMode=dr,kt.isContextConsumer=Or,kt.isContextProvider=zn,kt.isElement=en,kt.isForwardRef=Mr,kt.isFragment=Dr,kt.isLazy=Gr,kt.isMemo=Ha,kt.isPortal=za,kt.isProfiler=Wa,kt.isStrictMode=Wn,kt.isSuspense=pa,kt.isValidElementType=U,kt.typeOf=Y})();JI.exports=kt;var r7=JI.exports;Object.defineProperty(Xl,"__esModule",{value:!0});Xl.test=Xl.serialize=Xl.default=void 0;var Vu=a7(r7),Qm=_r;function ZI(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,a=new WeakMap;return(ZI=function(o){return o?a:r})(e)}function a7(e,r){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var a=ZI(r);if(a&&a.has(e))return a.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if(f!=="default"&&Object.prototype.hasOwnProperty.call(e,f)){var c=u?Object.getOwnPropertyDescriptor(e,f):null;c&&(c.get||c.set)?Object.defineProperty(o,f,c):o[f]=e[f]}return o.default=e,a&&a.set(e,o),o}const eL=(e,r=[])=>(Array.isArray(e)?e.forEach(a=>{eL(a,r)}):e!=null&&e!==!1&&r.push(e),r),FA=e=>{const r=e.type;if(typeof r=="string")return r;if(typeof r=="function")return r.displayName||r.name||"Unknown";if(Vu.isFragment(e))return"React.Fragment";if(Vu.isSuspense(e))return"React.Suspense";if(typeof r=="object"&&r!==null){if(Vu.isContextProvider(e))return"Context.Provider";if(Vu.isContextConsumer(e))return"Context.Consumer";if(Vu.isForwardRef(e)){if(r.displayName)return r.displayName;const a=r.render.displayName||r.render.name||"";return a!==""?"ForwardRef("+a+")":"ForwardRef"}if(Vu.isMemo(e)){const a=r.displayName||r.type.displayName||r.type.name||"";return a!==""?"Memo("+a+")":"Memo"}}return"UNDEFINED"},i7=e=>{const{props:r}=e;return Object.keys(r).filter(a=>a!=="children"&&r[a]!==void 0).sort()},tL=(e,r,a,o,u,f)=>++o>r.maxDepth?(0,Qm.printElementAsLeaf)(FA(e),r):(0,Qm.printElement)(FA(e),(0,Qm.printProps)(i7(e),e.props,r,a+r.indent,o,u,f),(0,Qm.printChildren)(eL(e.props.children),r,a+r.indent,o,u,f),r,a);Xl.serialize=tL;const nL=e=>e!=null&&Vu.isElement(e);Xl.test=nL;const o7={serialize:tL,test:nL};var l7=o7;Xl.default=l7;var Ql={};Object.defineProperty(Ql,"__esModule",{value:!0});Ql.test=Ql.serialize=Ql.default=void 0;var Jm=_r,xh=function(){return typeof globalThis<"u"?globalThis:typeof xh<"u"?xh:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),_S=xh["jest-symbol-do-not-touch"]||xh.Symbol;const u7=typeof _S=="function"&&_S.for?_S.for("react.test.json"):245830487,s7=e=>{const{props:r}=e;return r?Object.keys(r).filter(a=>r[a]!==void 0).sort():[]},rL=(e,r,a,o,u,f)=>++o>r.maxDepth?(0,Jm.printElementAsLeaf)(e.type,r):(0,Jm.printElement)(e.type,e.props?(0,Jm.printProps)(s7(e),e.props,r,a+r.indent,o,u,f):"",e.children?(0,Jm.printChildren)(e.children,r,a+r.indent,o,u,f):"",r,a);Ql.serialize=rL;const aL=e=>e&&e.$$typeof===u7;Ql.test=aL;const c7={serialize:rL,test:aL};var f7=c7;Ql.default=f7;Object.defineProperty(Xo,"__esModule",{value:!0});var iL=Xo.default=vL=Xo.DEFAULT_OPTIONS=void 0,oL=Xo.format=gL,_R=Xo.plugins=void 0,d7=nu(kI),Yd=Jo,p7=nu(zl),v7=nu(Wl),m7=nu(Gl),h7=nu(Yl),y7=nu(Kl),g7=nu(Xl),b7=nu(Ql);function nu(e){return e&&e.__esModule?e:{default:e}}const lL=Object.prototype.toString,E7=Date.prototype.toISOString,C7=Error.prototype.toString,jA=RegExp.prototype.toString,RS=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",w7=e=>typeof window<"u"&&e===window,S7=/^Symbol\((.*)\)(.*)$/,_7=/\n/gi;class uL extends Error{constructor(r,a){super(r),this.stack=a,this.name=this.constructor.name}}function R7(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function T7(e){return Object.is(e,-0)?"-0":String(e)}function x7(e){return`${e}n`}function VA(e,r){return r?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function HA(e){return String(e).replace(S7,"Symbol($1)")}function zA(e){return"["+C7.call(e)+"]"}function sL(e,r,a,o){if(e===!0||e===!1)return""+e;if(e===void 0)return"undefined";if(e===null)return"null";const u=typeof e;if(u==="number")return T7(e);if(u==="bigint")return x7(e);if(u==="string")return o?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(u==="function")return VA(e,r);if(u==="symbol")return HA(e);const f=lL.call(e);return f==="[object WeakMap]"?"WeakMap {}":f==="[object WeakSet]"?"WeakSet {}":f==="[object Function]"||f==="[object GeneratorFunction]"?VA(e,r):f==="[object Symbol]"?HA(e):f==="[object Date]"?isNaN(+e)?"Date { NaN }":E7.call(e):f==="[object Error]"?zA(e):f==="[object RegExp]"?a?jA.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):jA.call(e):e instanceof Error?zA(e):null}function cL(e,r,a,o,u,f){if(u.indexOf(e)!==-1)return"[Circular]";u=u.slice(),u.push(e);const c=++o>r.maxDepth,v=r.min;if(r.callToJSON&&!c&&e.toJSON&&typeof e.toJSON=="function"&&!f)return Fl(e.toJSON(),r,a,o,u,!0);const m=lL.call(e);return m==="[object Arguments]"?c?"[Arguments]":(v?"":"Arguments ")+"["+(0,Yd.printListItems)(e,r,a,o,u,Fl)+"]":R7(m)?c?"["+e.constructor.name+"]":(v||!r.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,Yd.printListItems)(e,r,a,o,u,Fl)+"]":m==="[object Map]"?c?"[Map]":"Map {"+(0,Yd.printIteratorEntries)(e.entries(),r,a,o,u,Fl," => ")+"}":m==="[object Set]"?c?"[Set]":"Set {"+(0,Yd.printIteratorValues)(e.values(),r,a,o,u,Fl)+"}":c||w7(e)?"["+RS(e)+"]":(v||!r.printBasicPrototype&&RS(e)==="Object"?"":RS(e)+" ")+"{"+(0,Yd.printObjectProperties)(e,r,a,o,u,Fl)+"}"}function O7(e){return e.serialize!=null}function fL(e,r,a,o,u,f){let c;try{c=O7(e)?e.serialize(r,a,o,u,f,Fl):e.print(r,v=>Fl(v,a,o,u,f),v=>{const m=o+a.indent;return m+v.replace(_7,`
|
|
244
|
+
`+m)},{edgeSpacing:a.spacingOuter,min:a.min,spacing:a.spacingInner},a.colors)}catch(v){throw new uL(v.message,v.stack)}if(typeof c!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof c}".`);return c}function dL(e,r){for(let a=0;a<e.length;a++)try{if(e[a].test(r))return e[a]}catch(o){throw new uL(o.message,o.stack)}return null}function Fl(e,r,a,o,u,f){const c=dL(r.plugins,e);if(c!==null)return fL(c,e,r,a,o,u);const v=sL(e,r.printFunctionName,r.escapeRegex,r.escapeString);return v!==null?v:cL(e,r,a,o,u,f)}const RR={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},pL=Object.keys(RR),Ri={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:RR};var vL=Xo.DEFAULT_OPTIONS=Ri;function M7(e){if(Object.keys(e).forEach(r=>{if(!Ri.hasOwnProperty(r))throw new Error(`pretty-format: Unknown option "${r}".`)}),e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(e.theme!==void 0){if(e.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof e.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`)}}const D7=e=>pL.reduce((r,a)=>{const o=e.theme&&e.theme[a]!==void 0?e.theme[a]:RR[a],u=o&&d7.default[o];if(u&&typeof u.close=="string"&&typeof u.open=="string")r[a]=u;else throw new Error(`pretty-format: Option "theme" has a key "${a}" whose value "${o}" is undefined in ansi-styles.`);return r},Object.create(null)),A7=()=>pL.reduce((e,r)=>(e[r]={close:"",open:""},e),Object.create(null)),mL=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:Ri.printFunctionName,hL=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:Ri.escapeRegex,yL=e=>e&&e.escapeString!==void 0?e.escapeString:Ri.escapeString,WA=e=>{var r;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:Ri.callToJSON,colors:e&&e.highlight?D7(e):A7(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:Ri.compareKeys,escapeRegex:hL(e),escapeString:yL(e),indent:e&&e.min?"":P7(e&&e.indent!==void 0?e.indent:Ri.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:Ri.maxDepth,min:e&&e.min!==void 0?e.min:Ri.min,plugins:e&&e.plugins!==void 0?e.plugins:Ri.plugins,printBasicPrototype:(r=e==null?void 0:e.printBasicPrototype)!==null&&r!==void 0?r:!0,printFunctionName:mL(e),spacingInner:e&&e.min?" ":`
|
|
245
|
+
`,spacingOuter:e&&e.min?"":`
|
|
246
|
+
`}};function P7(e){return new Array(e+1).join(" ")}function gL(e,r){if(r&&(M7(r),r.plugins)){const o=dL(r.plugins,e);if(o!==null)return fL(o,e,WA(r),"",0,[])}const a=sL(e,mL(r),hL(r),yL(r));return a!==null?a:cL(e,WA(r),"",0,[])}const k7={AsymmetricMatcher:p7.default,ConvertAnsi:v7.default,DOMCollection:m7.default,DOMElement:h7.default,Immutable:y7.default,ReactElement:g7.default,ReactTestComponent:b7.default};_R=Xo.plugins=k7;var I7=gL;iL=Xo.default=I7;const L7=H3({__proto__:null,get DEFAULT_OPTIONS(){return vL},get default(){return iL},format:oL,get plugins(){return _R}},[Xo]);var N7=Object.prototype.toString;function $7(e){return typeof e=="function"||N7.call(e)==="[object Function]"}function q7(e){var r=Number(e);return isNaN(r)?0:r===0||!isFinite(r)?r:(r>0?1:-1)*Math.floor(Math.abs(r))}var B7=Math.pow(2,53)-1;function U7(e){var r=q7(e);return Math.min(Math.max(r,0),B7)}function Ti(e,r){var a=Array,o=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var u=U7(o.length),f=$7(a)?Object(new a(u)):new Array(u),c=0,v;c<u;)v=o[c],f[c]=v,c+=1;return f.length=u,f}function lp(e){"@babel/helpers - typeof";return lp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},lp(e)}function F7(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function j7(e,r){for(var a=0;a<r.length;a++){var o=r[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,bL(o.key),o)}}function V7(e,r,a){return r&&j7(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function H7(e,r,a){return r=bL(r),r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}function bL(e){var r=z7(e,"string");return lp(r)==="symbol"?r:String(r)}function z7(e,r){if(lp(e)!=="object"||e===null)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var o=a.call(e,r||"default");if(lp(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}var W7=function(){function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];F7(this,e),H7(this,"items",void 0),this.items=r}return V7(e,[{key:"add",value:function(a){return this.has(a)===!1&&this.items.push(a),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(a){var o=this.items.length;return this.items=this.items.filter(function(u){return u!==a}),o!==this.items.length}},{key:"forEach",value:function(a){var o=this;this.items.forEach(function(u){a(u,u,o)})}},{key:"has",value:function(a){return this.items.indexOf(a)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}();const G7=typeof Set>"u"?Set:W7;function xr(e){var r;return(r=e.localName)!==null&&r!==void 0?r:e.tagName.toLowerCase()}var Y7={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},K7={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function X7(e,r){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(a){var o;return e.hasAttribute(a)&&!((o=K7[r])!==null&&o!==void 0&&o.has(a))})}function EL(e,r){return X7(e,r)}function Q7(e){var r=Z7(e);if(r===null||r==="presentation"){var a=J7(e);if(r!=="presentation"||EL(e,a||""))return a}return r}function J7(e){var r=Y7[xr(e)];if(r!==void 0)return r;switch(xr(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!EL(e,"img")?"presentation":"img";case"input":{var a=e,o=a.type;switch(o){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return o;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function Z7(e){var r=e.getAttribute("role");if(r!==null){var a=r.trim().split(" ")[0];if(a.length>0)return a}return null}function Yt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function CL(e){return Yt(e)&&xr(e)==="caption"}function sh(e){return Yt(e)&&xr(e)==="input"}function eK(e){return Yt(e)&&xr(e)==="optgroup"}function tK(e){return Yt(e)&&xr(e)==="select"}function nK(e){return Yt(e)&&xr(e)==="table"}function rK(e){return Yt(e)&&xr(e)==="textarea"}function aK(e){var r=e.ownerDocument===null?e:e.ownerDocument,a=r.defaultView;if(a===null)throw new TypeError("no window available");return a}function iK(e){return Yt(e)&&xr(e)==="fieldset"}function oK(e){return Yt(e)&&xr(e)==="legend"}function lK(e){return Yt(e)&&xr(e)==="slot"}function uK(e){return Yt(e)&&e.ownerSVGElement!==void 0}function sK(e){return Yt(e)&&xr(e)==="svg"}function cK(e){return uK(e)&&xr(e)==="title"}function Oh(e,r){if(Yt(e)&&e.hasAttribute(r)){var a=e.getAttribute(r).split(" "),o=e.getRootNode?e.getRootNode():e.ownerDocument;return a.map(function(u){return o.getElementById(u)}).filter(function(u){return u!==null})}return[]}function Yo(e,r){return Yt(e)?r.indexOf(Q7(e))!==-1:!1}function fK(e){return e.trim().replace(/\s\s+/g," ")}function dK(e,r){if(!Yt(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var a=r(e);return a.getPropertyValue("display")==="none"||a.getPropertyValue("visibility")==="hidden"}function pK(e){return Yo(e,["button","combobox","listbox","textbox"])||wL(e,"range")}function wL(e,r){if(!Yt(e))return!1;switch(r){case"range":return Yo(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(r,"'. This is likely a bug :("))}}function GA(e,r){var a=Ti(e.querySelectorAll(r));return Oh(e,"aria-owns").forEach(function(o){a.push.apply(a,Ti(o.querySelectorAll(r)))}),a}function vK(e){return tK(e)?e.selectedOptions||GA(e,"[selected]"):GA(e,'[aria-selected="true"]')}function mK(e){return Yo(e,["none","presentation"])}function hK(e){return CL(e)}function yK(e){return Yo(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function gK(e){return!1}function bK(e){return sh(e)||rK(e)?e.value:e.textContent||""}function YA(e){var r=e.getPropertyValue("content");return/^["'].*["']$/.test(r)?r.slice(1,-1):""}function SL(e){var r=xr(e);return r==="button"||r==="input"&&e.getAttribute("type")!=="hidden"||r==="meter"||r==="output"||r==="progress"||r==="select"||r==="textarea"}function _L(e){if(SL(e))return e;var r=null;return e.childNodes.forEach(function(a){if(r===null&&Yt(a)){var o=_L(a);o!==null&&(r=o)}}),r}function EK(e){if(e.control!==void 0)return e.control;var r=e.getAttribute("for");return r!==null?e.ownerDocument.getElementById(r):_L(e)}function CK(e){var r=e.labels;if(r===null)return r;if(r!==void 0)return Ti(r);if(!SL(e))return null;var a=e.ownerDocument;return Ti(a.querySelectorAll("label")).filter(function(o){return EK(o)===e})}function wK(e){var r=e.assignedNodes();return r.length===0?Ti(e.childNodes):r}function RL(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=new G7,o=aK(e),u=r.compute,f=u===void 0?"name":u,c=r.computedStyleSupportsPseudoElements,v=c===void 0?r.getComputedStyle!==void 0:c,m=r.getComputedStyle,h=m===void 0?o.getComputedStyle.bind(o):m,C=r.hidden,b=C===void 0?!1:C;function R(T,j){var U="";if(Yt(T)&&v){var Y=h(T,"::before"),J=YA(Y);U="".concat(J," ").concat(U)}var I=lK(T)?wK(T):Ti(T.childNodes).concat(Oh(T,"aria-owns"));if(I.forEach(function(re){var _=B(re,{isEmbeddedInLabel:j.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),ce=Yt(re)?h(re).getPropertyValue("display"):"inline",De=ce!=="inline"?" ":"";U+="".concat(De).concat(_).concat(De)}),Yt(T)&&v){var K=h(T,"::after"),N=YA(K);U="".concat(U," ").concat(N)}return U.trim()}function M(T,j){var U=T.getAttributeNode(j);return U!==null&&!a.has(U)&&U.value.trim()!==""?(a.add(U),U.value):null}function A(T){return Yt(T)?M(T,"title"):null}function L(T){if(!Yt(T))return null;if(iK(T)){a.add(T);for(var j=Ti(T.childNodes),U=0;U<j.length;U+=1){var Y=j[U];if(oK(Y))return B(Y,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(nK(T)){a.add(T);for(var J=Ti(T.childNodes),I=0;I<J.length;I+=1){var K=J[I];if(CL(K))return B(K,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(sK(T)){a.add(T);for(var N=Ti(T.childNodes),re=0;re<N.length;re+=1){var _=N[re];if(cK(_))return _.textContent}return null}else if(xr(T)==="img"||xr(T)==="area"){var ce=M(T,"alt");if(ce!==null)return ce}else if(eK(T)){var De=M(T,"label");if(De!==null)return De}if(sh(T)&&(T.type==="button"||T.type==="submit"||T.type==="reset")){var $e=M(T,"value");if($e!==null)return $e;if(T.type==="submit")return"Submit";if(T.type==="reset")return"Reset"}var fe=CK(T);if(fe!==null&&fe.length!==0)return a.add(T),Ti(fe).map(function(xt){return B(xt,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(xt){return xt.length>0}).join(" ");if(sh(T)&&T.type==="image"){var et=M(T,"alt");if(et!==null)return et;var ze=M(T,"title");return ze!==null?ze:"Submit Query"}if(Yo(T,["button"])){var we=R(T,{isEmbeddedInLabel:!1,isReferenced:!1});if(we!=="")return we}return null}function B(T,j){if(a.has(T))return"";if(!b&&dK(T,h)&&!j.isReferenced)return a.add(T),"";var U=Yt(T)?T.getAttributeNode("aria-labelledby"):null,Y=U!==null&&!a.has(U)?Oh(T,"aria-labelledby"):[];if(f==="name"&&!j.isReferenced&&Y.length>0)return a.add(U),Y.map(function(ce){return B(ce,{isEmbeddedInLabel:j.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var J=j.recursion&&pK(T)&&f==="name";if(!J){var I=(Yt(T)&&T.getAttribute("aria-label")||"").trim();if(I!==""&&f==="name")return a.add(T),I;if(!mK(T)){var K=L(T);if(K!==null)return a.add(T),K}}if(Yo(T,["menu"]))return a.add(T),"";if(J||j.isEmbeddedInLabel||j.isReferenced){if(Yo(T,["combobox","listbox"])){a.add(T);var N=vK(T);return N.length===0?sh(T)?T.value:"":Ti(N).map(function(ce){return B(ce,{isEmbeddedInLabel:j.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(wL(T,"range"))return a.add(T),T.hasAttribute("aria-valuetext")?T.getAttribute("aria-valuetext"):T.hasAttribute("aria-valuenow")?T.getAttribute("aria-valuenow"):T.getAttribute("value")||"";if(Yo(T,["textbox"]))return a.add(T),bK(T)}if(yK(T)||Yt(T)&&j.isReferenced||hK(T)||gK()){var re=R(T,{isEmbeddedInLabel:j.isEmbeddedInLabel,isReferenced:!1});if(re!=="")return a.add(T),re}if(T.nodeType===T.TEXT_NODE)return a.add(T),T.textContent||"";if(j.recursion)return a.add(T),R(T,{isEmbeddedInLabel:j.isEmbeddedInLabel,isReferenced:!1});var _=A(T);return _!==null?(a.add(T),_):(a.add(T),"")}return fK(B(e,{isEmbeddedInLabel:!1,isReferenced:f==="description",recursion:!1}))}function up(e){"@babel/helpers - typeof";return up=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},up(e)}function KA(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),a.push.apply(a,o)}return a}function XA(e){for(var r=1;r<arguments.length;r++){var a=arguments[r]!=null?arguments[r]:{};r%2?KA(Object(a),!0).forEach(function(o){SK(e,o,a[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):KA(Object(a)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(a,o))})}return e}function SK(e,r,a){return r=_K(r),r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}function _K(e){var r=RK(e,"string");return up(r)==="symbol"?r:String(r)}function RK(e,r){if(up(e)!=="object"||e===null)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var o=a.call(e,r||"default");if(up(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function TL(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=Oh(e,"aria-describedby").map(function(u){return RL(u,XA(XA({},r),{},{compute:"description"}))}).join(" ");if(a===""){var o=e.getAttribute("title");a=o===null?"":o}return a}function TK(e){return Yo(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function TR(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return TK(e)?"":RL(e,r)}var xi={},ry={},us={},ay={};Object.defineProperty(ay,"__esModule",{value:!0});ay.default=void 0;function xK(){var e=this,r=0,a={"@@iterator":function(){return a},next:function(){if(r<e.length){var u=e[r];return r=r+1,{done:!1,value:u}}else return{done:!0}}};return a}var OK=xK;ay.default=OK;Object.defineProperty(us,"__esModule",{value:!0});us.default=AK;var MK=DK(ay);function DK(e){return e&&e.__esModule?e:{default:e}}function v_(e){"@babel/helpers - typeof";return v_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},v_(e)}function AK(e,r){return typeof Symbol=="function"&&v_(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:MK.default.bind(r)}),e}Object.defineProperty(ry,"__esModule",{value:!0});ry.default=void 0;var PK=kK(us);function kK(e){return e&&e.__esModule?e:{default:e}}function TS(e,r){return NK(e)||LK(e,r)||xL(e,r)||IK()}function IK(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
247
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function LK(e,r){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var o=[],u=!0,f=!1,c,v;try{for(a=a.call(e);!(u=(c=a.next()).done)&&(o.push(c.value),!(r&&o.length===r));u=!0);}catch(m){f=!0,v=m}finally{try{!u&&a.return!=null&&a.return()}finally{if(f)throw v}}return o}}function NK(e){if(Array.isArray(e))return e}function $K(e,r){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=xL(e))||r){a&&(e=a);var o=0,u=function(){};return{s:u,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(h){throw h},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
248
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,c=!1,v;return{s:function(){a=a.call(e)},n:function(){var h=a.next();return f=h.done,h},e:function(h){c=!0,v=h},f:function(){try{!f&&a.return!=null&&a.return()}finally{if(c)throw v}}}}function xL(e,r){if(e){if(typeof e=="string")return QA(e,r);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return QA(e,r)}}function QA(e,r){(r==null||r>e.length)&&(r=e.length);for(var a=0,o=new Array(r);a<r;a++)o[a]=e[a];return o}var wc=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],m_={entries:function(){return wc},forEach:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=$K(wc),u;try{for(o.s();!(u=o.n()).done;){var f=TS(u.value,2),c=f[0],v=f[1];r.call(a,v,c,wc)}}catch(m){o.e(m)}finally{o.f()}},get:function(r){var a=wc.find(function(o){return o[0]===r});return a&&a[1]},has:function(r){return!!m_.get(r)},keys:function(){return wc.map(function(r){var a=TS(r,1),o=a[0];return o})},values:function(){return wc.map(function(r){var a=TS(r,2),o=a[1];return o})}},qK=(0,PK.default)(m_,m_.entries());ry.default=qK;var iy={};Object.defineProperty(iy,"__esModule",{value:!0});iy.default=void 0;var BK=UK(us);function UK(e){return e&&e.__esModule?e:{default:e}}function xS(e,r){return VK(e)||jK(e,r)||OL(e,r)||FK()}function FK(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
249
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jK(e,r){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var o=[],u=!0,f=!1,c,v;try{for(a=a.call(e);!(u=(c=a.next()).done)&&(o.push(c.value),!(r&&o.length===r));u=!0);}catch(m){f=!0,v=m}finally{try{!u&&a.return!=null&&a.return()}finally{if(f)throw v}}return o}}function VK(e){if(Array.isArray(e))return e}function HK(e,r){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=OL(e))||r){a&&(e=a);var o=0,u=function(){};return{s:u,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(h){throw h},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
250
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,c=!1,v;return{s:function(){a=a.call(e)},n:function(){var h=a.next();return f=h.done,h},e:function(h){c=!0,v=h},f:function(){try{!f&&a.return!=null&&a.return()}finally{if(c)throw v}}}}function OL(e,r){if(e){if(typeof e=="string")return JA(e,r);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return JA(e,r)}}function JA(e,r){(r==null||r>e.length)&&(r=e.length);for(var a=0,o=new Array(r);a<r;a++)o[a]=e[a];return o}var Sc=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],h_={entries:function(){return Sc},forEach:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=HK(Sc),u;try{for(o.s();!(u=o.n()).done;){var f=xS(u.value,2),c=f[0],v=f[1];r.call(a,v,c,Sc)}}catch(m){o.e(m)}finally{o.f()}},get:function(r){var a=Sc.find(function(o){return o[0]===r});return a&&a[1]},has:function(r){return!!h_.get(r)},keys:function(){return Sc.map(function(r){var a=xS(r,1),o=a[0];return o})},values:function(){return Sc.map(function(r){var a=xS(r,2),o=a[1];return o})}},zK=(0,BK.default)(h_,h_.entries());iy.default=zK;var Yc={},oy={},ly={};Object.defineProperty(ly,"__esModule",{value:!0});ly.default=void 0;var WK={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},GK=WK;ly.default=GK;var uy={};Object.defineProperty(uy,"__esModule",{value:!0});uy.default=void 0;var YK={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},KK=YK;uy.default=KK;var sy={};Object.defineProperty(sy,"__esModule",{value:!0});sy.default=void 0;var XK={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},QK=XK;sy.default=QK;var cy={};Object.defineProperty(cy,"__esModule",{value:!0});cy.default=void 0;var JK={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ZK=JK;cy.default=ZK;var fy={};Object.defineProperty(fy,"__esModule",{value:!0});fy.default=void 0;var eX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},tX=eX;fy.default=tX;var dy={};Object.defineProperty(dy,"__esModule",{value:!0});dy.default=void 0;var nX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},rX=nX;dy.default=rX;var py={};Object.defineProperty(py,"__esModule",{value:!0});py.default=void 0;var aX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},iX=aX;py.default=iX;var vy={};Object.defineProperty(vy,"__esModule",{value:!0});vy.default=void 0;var oX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},lX=oX;vy.default=lX;var my={};Object.defineProperty(my,"__esModule",{value:!0});my.default=void 0;var uX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},sX=uX;my.default=sX;var hy={};Object.defineProperty(hy,"__esModule",{value:!0});hy.default=void 0;var cX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},fX=cX;hy.default=fX;var yy={};Object.defineProperty(yy,"__esModule",{value:!0});yy.default=void 0;var dX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},pX=dX;yy.default=pX;var gy={};Object.defineProperty(gy,"__esModule",{value:!0});gy.default=void 0;var vX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},mX=vX;gy.default=mX;Object.defineProperty(oy,"__esModule",{value:!0});oy.default=void 0;var hX=Va(ly),yX=Va(uy),gX=Va(sy),bX=Va(cy),EX=Va(fy),CX=Va(dy),wX=Va(py),SX=Va(vy),_X=Va(my),RX=Va(hy),TX=Va(yy),xX=Va(gy);function Va(e){return e&&e.__esModule?e:{default:e}}var OX=[["command",hX.default],["composite",yX.default],["input",gX.default],["landmark",bX.default],["range",EX.default],["roletype",CX.default],["section",wX.default],["sectionhead",SX.default],["select",_X.default],["structure",RX.default],["widget",TX.default],["window",xX.default]],MX=OX;oy.default=MX;var by={},Ey={};Object.defineProperty(Ey,"__esModule",{value:!0});Ey.default=void 0;var DX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AX=DX;Ey.default=AX;var Cy={};Object.defineProperty(Cy,"__esModule",{value:!0});Cy.default=void 0;var PX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},kX=PX;Cy.default=kX;var wy={};Object.defineProperty(wy,"__esModule",{value:!0});wy.default=void 0;var IX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},LX=IX;wy.default=LX;var Sy={};Object.defineProperty(Sy,"__esModule",{value:!0});Sy.default=void 0;var NX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},$X=NX;Sy.default=$X;var _y={};Object.defineProperty(_y,"__esModule",{value:!0});_y.default=void 0;var qX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},BX=qX;_y.default=BX;var Ry={};Object.defineProperty(Ry,"__esModule",{value:!0});Ry.default=void 0;var UX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},FX=UX;Ry.default=FX;var Ty={};Object.defineProperty(Ty,"__esModule",{value:!0});Ty.default=void 0;var jX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},VX=jX;Ty.default=VX;var xy={};Object.defineProperty(xy,"__esModule",{value:!0});xy.default=void 0;var HX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},zX=HX;xy.default=zX;var Oy={};Object.defineProperty(Oy,"__esModule",{value:!0});Oy.default=void 0;var WX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},GX=WX;Oy.default=GX;var My={};Object.defineProperty(My,"__esModule",{value:!0});My.default=void 0;var YX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},KX=YX;My.default=KX;var Dy={};Object.defineProperty(Dy,"__esModule",{value:!0});Dy.default=void 0;var XX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},QX=XX;Dy.default=QX;var Ay={};Object.defineProperty(Ay,"__esModule",{value:!0});Ay.default=void 0;var JX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},ZX=JX;Ay.default=ZX;var Py={};Object.defineProperty(Py,"__esModule",{value:!0});Py.default=void 0;var eQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},tQ=eQ;Py.default=tQ;var ky={};Object.defineProperty(ky,"__esModule",{value:!0});ky.default=void 0;var nQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},rQ=nQ;ky.default=rQ;var Iy={};Object.defineProperty(Iy,"__esModule",{value:!0});Iy.default=void 0;var aQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},iQ=aQ;Iy.default=iQ;var Ly={};Object.defineProperty(Ly,"__esModule",{value:!0});Ly.default=void 0;var oQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},lQ=oQ;Ly.default=lQ;var Ny={};Object.defineProperty(Ny,"__esModule",{value:!0});Ny.default=void 0;var uQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},sQ=uQ;Ny.default=sQ;var $y={};Object.defineProperty($y,"__esModule",{value:!0});$y.default=void 0;var cQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},fQ=cQ;$y.default=fQ;var qy={};Object.defineProperty(qy,"__esModule",{value:!0});qy.default=void 0;var dQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},pQ=dQ;qy.default=pQ;var By={};Object.defineProperty(By,"__esModule",{value:!0});By.default=void 0;var vQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},mQ=vQ;By.default=mQ;var Uy={};Object.defineProperty(Uy,"__esModule",{value:!0});Uy.default=void 0;var hQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yQ=hQ;Uy.default=yQ;var Fy={};Object.defineProperty(Fy,"__esModule",{value:!0});Fy.default=void 0;var gQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},bQ=gQ;Fy.default=bQ;var jy={};Object.defineProperty(jy,"__esModule",{value:!0});jy.default=void 0;var EQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},CQ=EQ;jy.default=CQ;var Vy={};Object.defineProperty(Vy,"__esModule",{value:!0});Vy.default=void 0;var wQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},SQ=wQ;Vy.default=SQ;var Hy={};Object.defineProperty(Hy,"__esModule",{value:!0});Hy.default=void 0;var _Q={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},RQ=_Q;Hy.default=RQ;var zy={};Object.defineProperty(zy,"__esModule",{value:!0});zy.default=void 0;var TQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},xQ=TQ;zy.default=xQ;var Wy={};Object.defineProperty(Wy,"__esModule",{value:!0});Wy.default=void 0;var OQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},MQ=OQ;Wy.default=MQ;var Gy={};Object.defineProperty(Gy,"__esModule",{value:!0});Gy.default=void 0;var DQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AQ=DQ;Gy.default=AQ;var Yy={};Object.defineProperty(Yy,"__esModule",{value:!0});Yy.default=void 0;var PQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},kQ=PQ;Yy.default=kQ;var Ky={};Object.defineProperty(Ky,"__esModule",{value:!0});Ky.default=void 0;var IQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LQ=IQ;Ky.default=LQ;var Xy={};Object.defineProperty(Xy,"__esModule",{value:!0});Xy.default=void 0;var NQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},$Q=NQ;Xy.default=$Q;var Qy={};Object.defineProperty(Qy,"__esModule",{value:!0});Qy.default=void 0;var qQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},BQ=qQ;Qy.default=BQ;var Jy={};Object.defineProperty(Jy,"__esModule",{value:!0});Jy.default=void 0;var UQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},FQ=UQ;Jy.default=FQ;var Zy={};Object.defineProperty(Zy,"__esModule",{value:!0});Zy.default=void 0;var jQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},VQ=jQ;Zy.default=VQ;var eg={};Object.defineProperty(eg,"__esModule",{value:!0});eg.default=void 0;var HQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},zQ=HQ;eg.default=zQ;var tg={};Object.defineProperty(tg,"__esModule",{value:!0});tg.default=void 0;var WQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},GQ=WQ;tg.default=GQ;var ng={};Object.defineProperty(ng,"__esModule",{value:!0});ng.default=void 0;var YQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},KQ=YQ;ng.default=KQ;var rg={};Object.defineProperty(rg,"__esModule",{value:!0});rg.default=void 0;var XQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},QQ=XQ;rg.default=QQ;var ag={};Object.defineProperty(ag,"__esModule",{value:!0});ag.default=void 0;var JQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ZQ=JQ;ag.default=ZQ;var ig={};Object.defineProperty(ig,"__esModule",{value:!0});ig.default=void 0;var eJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tJ=eJ;ig.default=tJ;var og={};Object.defineProperty(og,"__esModule",{value:!0});og.default=void 0;var nJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},rJ=nJ;og.default=rJ;var lg={};Object.defineProperty(lg,"__esModule",{value:!0});lg.default=void 0;var aJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},iJ=aJ;lg.default=iJ;var ug={};Object.defineProperty(ug,"__esModule",{value:!0});ug.default=void 0;var oJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},lJ=oJ;ug.default=lJ;var sg={};Object.defineProperty(sg,"__esModule",{value:!0});sg.default=void 0;var uJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},sJ=uJ;sg.default=sJ;var cg={};Object.defineProperty(cg,"__esModule",{value:!0});cg.default=void 0;var cJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},fJ=cJ;cg.default=fJ;var fg={};Object.defineProperty(fg,"__esModule",{value:!0});fg.default=void 0;var dJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},pJ=dJ;fg.default=pJ;var dg={};Object.defineProperty(dg,"__esModule",{value:!0});dg.default=void 0;var vJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},mJ=vJ;dg.default=mJ;var pg={};Object.defineProperty(pg,"__esModule",{value:!0});pg.default=void 0;var hJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},yJ=hJ;pg.default=yJ;var vg={};Object.defineProperty(vg,"__esModule",{value:!0});vg.default=void 0;var gJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},bJ=gJ;vg.default=bJ;var mg={};Object.defineProperty(mg,"__esModule",{value:!0});mg.default=void 0;var EJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},CJ=EJ;mg.default=CJ;var hg={};Object.defineProperty(hg,"__esModule",{value:!0});hg.default=void 0;var wJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},SJ=wJ;hg.default=SJ;var yg={};Object.defineProperty(yg,"__esModule",{value:!0});yg.default=void 0;var _J={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},RJ=_J;yg.default=RJ;var gg={};Object.defineProperty(gg,"__esModule",{value:!0});gg.default=void 0;var TJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},xJ=TJ;gg.default=xJ;var bg={};Object.defineProperty(bg,"__esModule",{value:!0});bg.default=void 0;var OJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},MJ=OJ;bg.default=MJ;var Eg={};Object.defineProperty(Eg,"__esModule",{value:!0});Eg.default=void 0;var DJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},AJ=DJ;Eg.default=AJ;var Cg={};Object.defineProperty(Cg,"__esModule",{value:!0});Cg.default=void 0;var PJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},kJ=PJ;Cg.default=kJ;var wg={};Object.defineProperty(wg,"__esModule",{value:!0});wg.default=void 0;var IJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},LJ=IJ;wg.default=LJ;var Sg={};Object.defineProperty(Sg,"__esModule",{value:!0});Sg.default=void 0;var NJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},$J=NJ;Sg.default=$J;var _g={};Object.defineProperty(_g,"__esModule",{value:!0});_g.default=void 0;var qJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},BJ=qJ;_g.default=BJ;var Rg={};Object.defineProperty(Rg,"__esModule",{value:!0});Rg.default=void 0;var UJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},FJ=UJ;Rg.default=FJ;var Tg={};Object.defineProperty(Tg,"__esModule",{value:!0});Tg.default=void 0;var jJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},VJ=jJ;Tg.default=VJ;var xg={};Object.defineProperty(xg,"__esModule",{value:!0});xg.default=void 0;var HJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},zJ=HJ;xg.default=zJ;var Og={};Object.defineProperty(Og,"__esModule",{value:!0});Og.default=void 0;var WJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},GJ=WJ;Og.default=GJ;var Mg={};Object.defineProperty(Mg,"__esModule",{value:!0});Mg.default=void 0;var YJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},KJ=YJ;Mg.default=KJ;var Dg={};Object.defineProperty(Dg,"__esModule",{value:!0});Dg.default=void 0;var XJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},QJ=XJ;Dg.default=QJ;var Ag={};Object.defineProperty(Ag,"__esModule",{value:!0});Ag.default=void 0;var JJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ZJ=JJ;Ag.default=ZJ;var Pg={};Object.defineProperty(Pg,"__esModule",{value:!0});Pg.default=void 0;var eZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tZ=eZ;Pg.default=tZ;var kg={};Object.defineProperty(kg,"__esModule",{value:!0});kg.default=void 0;var nZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},rZ=nZ;kg.default=rZ;var Ig={};Object.defineProperty(Ig,"__esModule",{value:!0});Ig.default=void 0;var aZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},iZ=aZ;Ig.default=iZ;var Lg={};Object.defineProperty(Lg,"__esModule",{value:!0});Lg.default=void 0;var oZ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},lZ=oZ;Lg.default=lZ;var Ng={};Object.defineProperty(Ng,"__esModule",{value:!0});Ng.default=void 0;var uZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},sZ=uZ;Ng.default=sZ;var $g={};Object.defineProperty($g,"__esModule",{value:!0});$g.default=void 0;var cZ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},fZ=cZ;$g.default=fZ;var qg={};Object.defineProperty(qg,"__esModule",{value:!0});qg.default=void 0;var dZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},pZ=dZ;qg.default=pZ;var Bg={};Object.defineProperty(Bg,"__esModule",{value:!0});Bg.default=void 0;var vZ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},mZ=vZ;Bg.default=mZ;var Ug={};Object.defineProperty(Ug,"__esModule",{value:!0});Ug.default=void 0;var hZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yZ=hZ;Ug.default=yZ;var Fg={};Object.defineProperty(Fg,"__esModule",{value:!0});Fg.default=void 0;var gZ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},bZ=gZ;Fg.default=bZ;var jg={};Object.defineProperty(jg,"__esModule",{value:!0});jg.default=void 0;var EZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},CZ=EZ;jg.default=CZ;var Vg={};Object.defineProperty(Vg,"__esModule",{value:!0});Vg.default=void 0;var wZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},SZ=wZ;Vg.default=SZ;var Hg={};Object.defineProperty(Hg,"__esModule",{value:!0});Hg.default=void 0;var _Z={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},RZ=_Z;Hg.default=RZ;var zg={};Object.defineProperty(zg,"__esModule",{value:!0});zg.default=void 0;var TZ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},xZ=TZ;zg.default=xZ;var Wg={};Object.defineProperty(Wg,"__esModule",{value:!0});Wg.default=void 0;var OZ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},MZ=OZ;Wg.default=MZ;var Gg={};Object.defineProperty(Gg,"__esModule",{value:!0});Gg.default=void 0;var DZ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},AZ=DZ;Gg.default=AZ;var Yg={};Object.defineProperty(Yg,"__esModule",{value:!0});Yg.default=void 0;var PZ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},kZ=PZ;Yg.default=kZ;Object.defineProperty(by,"__esModule",{value:!0});by.default=void 0;var IZ=oe(Ey),LZ=oe(Cy),NZ=oe(wy),$Z=oe(Sy),qZ=oe(_y),BZ=oe(Ry),UZ=oe(Ty),FZ=oe(xy),jZ=oe(Oy),VZ=oe(My),HZ=oe(Dy),zZ=oe(Ay),WZ=oe(Py),GZ=oe(ky),YZ=oe(Iy),KZ=oe(Ly),XZ=oe(Ny),QZ=oe($y),JZ=oe(qy),ZZ=oe(By),e2=oe(Uy),t2=oe(Fy),n2=oe(jy),r2=oe(Vy),a2=oe(Hy),i2=oe(zy),o2=oe(Wy),l2=oe(Gy),u2=oe(Yy),s2=oe(Ky),c2=oe(Xy),f2=oe(Qy),d2=oe(Jy),p2=oe(Zy),v2=oe(eg),m2=oe(tg),h2=oe(ng),y2=oe(rg),g2=oe(ag),b2=oe(ig),E2=oe(og),C2=oe(lg),w2=oe(ug),S2=oe(sg),_2=oe(cg),R2=oe(fg),T2=oe(dg),x2=oe(pg),O2=oe(vg),M2=oe(mg),D2=oe(hg),A2=oe(yg),P2=oe(gg),k2=oe(bg),I2=oe(Eg),L2=oe(Cg),N2=oe(wg),$2=oe(Sg),q2=oe(_g),B2=oe(Rg),U2=oe(Tg),F2=oe(xg),j2=oe(Og),V2=oe(Mg),H2=oe(Dg),z2=oe(Ag),W2=oe(Pg),G2=oe(kg),Y2=oe(Ig),K2=oe(Lg),X2=oe(Ng),Q2=oe($g),J2=oe(qg),Z2=oe(Bg),eee=oe(Ug),tee=oe(Fg),nee=oe(jg),ree=oe(Vg),aee=oe(Hg),iee=oe(zg),oee=oe(Wg),lee=oe(Gg),uee=oe(Yg);function oe(e){return e&&e.__esModule?e:{default:e}}var see=[["alert",IZ.default],["alertdialog",LZ.default],["application",NZ.default],["article",$Z.default],["banner",qZ.default],["blockquote",BZ.default],["button",UZ.default],["caption",FZ.default],["cell",jZ.default],["checkbox",VZ.default],["code",HZ.default],["columnheader",zZ.default],["combobox",WZ.default],["complementary",GZ.default],["contentinfo",YZ.default],["definition",KZ.default],["deletion",XZ.default],["dialog",QZ.default],["directory",JZ.default],["document",ZZ.default],["emphasis",e2.default],["feed",t2.default],["figure",n2.default],["form",r2.default],["generic",a2.default],["grid",i2.default],["gridcell",o2.default],["group",l2.default],["heading",u2.default],["img",s2.default],["insertion",c2.default],["link",f2.default],["list",d2.default],["listbox",p2.default],["listitem",v2.default],["log",m2.default],["main",h2.default],["mark",y2.default],["marquee",g2.default],["math",b2.default],["menu",E2.default],["menubar",C2.default],["menuitem",w2.default],["menuitemcheckbox",S2.default],["menuitemradio",_2.default],["meter",R2.default],["navigation",T2.default],["none",x2.default],["note",O2.default],["option",M2.default],["paragraph",D2.default],["presentation",A2.default],["progressbar",P2.default],["radio",k2.default],["radiogroup",I2.default],["region",L2.default],["row",N2.default],["rowgroup",$2.default],["rowheader",q2.default],["scrollbar",B2.default],["search",U2.default],["searchbox",F2.default],["separator",j2.default],["slider",V2.default],["spinbutton",H2.default],["status",z2.default],["strong",W2.default],["subscript",G2.default],["superscript",Y2.default],["switch",K2.default],["tab",X2.default],["table",Q2.default],["tablist",J2.default],["tabpanel",Z2.default],["term",eee.default],["textbox",tee.default],["time",nee.default],["timer",ree.default],["toolbar",aee.default],["tooltip",iee.default],["tree",oee.default],["treegrid",lee.default],["treeitem",uee.default]],cee=see;by.default=cee;var Kg={},Xg={};Object.defineProperty(Xg,"__esModule",{value:!0});Xg.default=void 0;var fee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dee=fee;Xg.default=dee;var Qg={};Object.defineProperty(Qg,"__esModule",{value:!0});Qg.default=void 0;var pee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vee=pee;Qg.default=vee;var Jg={};Object.defineProperty(Jg,"__esModule",{value:!0});Jg.default=void 0;var mee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},hee=mee;Jg.default=hee;var Zg={};Object.defineProperty(Zg,"__esModule",{value:!0});Zg.default=void 0;var yee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},gee=yee;Zg.default=gee;var eb={};Object.defineProperty(eb,"__esModule",{value:!0});eb.default=void 0;var bee={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Eee=bee;eb.default=Eee;var tb={};Object.defineProperty(tb,"__esModule",{value:!0});tb.default=void 0;var Cee={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},wee=Cee;tb.default=wee;var nb={};Object.defineProperty(nb,"__esModule",{value:!0});nb.default=void 0;var See={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},_ee=See;nb.default=_ee;var rb={};Object.defineProperty(rb,"__esModule",{value:!0});rb.default=void 0;var Ree={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Tee=Ree;rb.default=Tee;var ab={};Object.defineProperty(ab,"__esModule",{value:!0});ab.default=void 0;var xee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Oee=xee;ab.default=Oee;var ib={};Object.defineProperty(ib,"__esModule",{value:!0});ib.default=void 0;var Mee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Dee=Mee;ib.default=Dee;var ob={};Object.defineProperty(ob,"__esModule",{value:!0});ob.default=void 0;var Aee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Pee=Aee;ob.default=Pee;var lb={};Object.defineProperty(lb,"__esModule",{value:!0});lb.default=void 0;var kee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},Iee=kee;lb.default=Iee;var ub={};Object.defineProperty(ub,"__esModule",{value:!0});ub.default=void 0;var Lee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Nee=Lee;ub.default=Nee;var sb={};Object.defineProperty(sb,"__esModule",{value:!0});sb.default=void 0;var $ee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},qee=$ee;sb.default=qee;var cb={};Object.defineProperty(cb,"__esModule",{value:!0});cb.default=void 0;var Bee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Uee=Bee;cb.default=Uee;var fb={};Object.defineProperty(fb,"__esModule",{value:!0});fb.default=void 0;var Fee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},jee=Fee;fb.default=jee;var db={};Object.defineProperty(db,"__esModule",{value:!0});db.default=void 0;var Vee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Hee=Vee;db.default=Hee;var pb={};Object.defineProperty(pb,"__esModule",{value:!0});pb.default=void 0;var zee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Wee=zee;pb.default=Wee;var vb={};Object.defineProperty(vb,"__esModule",{value:!0});vb.default=void 0;var Gee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Yee=Gee;vb.default=Yee;var mb={};Object.defineProperty(mb,"__esModule",{value:!0});mb.default=void 0;var Kee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Xee=Kee;mb.default=Xee;var hb={};Object.defineProperty(hb,"__esModule",{value:!0});hb.default=void 0;var Qee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Jee=Qee;hb.default=Jee;var yb={};Object.defineProperty(yb,"__esModule",{value:!0});yb.default=void 0;var Zee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ete=Zee;yb.default=ete;var gb={};Object.defineProperty(gb,"__esModule",{value:!0});gb.default=void 0;var tte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},nte=tte;gb.default=nte;var bb={};Object.defineProperty(bb,"__esModule",{value:!0});bb.default=void 0;var rte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},ate=rte;bb.default=ate;var Eb={};Object.defineProperty(Eb,"__esModule",{value:!0});Eb.default=void 0;var ite={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},ote=ite;Eb.default=ote;var Cb={};Object.defineProperty(Cb,"__esModule",{value:!0});Cb.default=void 0;var lte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},ute=lte;Cb.default=ute;var wb={};Object.defineProperty(wb,"__esModule",{value:!0});wb.default=void 0;var ste={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},cte=ste;wb.default=cte;var Sb={};Object.defineProperty(Sb,"__esModule",{value:!0});Sb.default=void 0;var fte={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},dte=fte;Sb.default=dte;var _b={};Object.defineProperty(_b,"__esModule",{value:!0});_b.default=void 0;var pte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},vte=pte;_b.default=vte;var Rb={};Object.defineProperty(Rb,"__esModule",{value:!0});Rb.default=void 0;var mte={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},hte=mte;Rb.default=hte;var Tb={};Object.defineProperty(Tb,"__esModule",{value:!0});Tb.default=void 0;var yte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},gte=yte;Tb.default=gte;var xb={};Object.defineProperty(xb,"__esModule",{value:!0});xb.default=void 0;var bte={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Ete=bte;xb.default=Ete;var Ob={};Object.defineProperty(Ob,"__esModule",{value:!0});Ob.default=void 0;var Cte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},wte=Cte;Ob.default=wte;var Mb={};Object.defineProperty(Mb,"__esModule",{value:!0});Mb.default=void 0;var Ste={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},_te=Ste;Mb.default=_te;var Db={};Object.defineProperty(Db,"__esModule",{value:!0});Db.default=void 0;var Rte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},Tte=Rte;Db.default=Tte;var Ab={};Object.defineProperty(Ab,"__esModule",{value:!0});Ab.default=void 0;var xte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ote=xte;Ab.default=Ote;var Pb={};Object.defineProperty(Pb,"__esModule",{value:!0});Pb.default=void 0;var Mte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},Dte=Mte;Pb.default=Dte;var kb={};Object.defineProperty(kb,"__esModule",{value:!0});kb.default=void 0;var Ate={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},Pte=Ate;kb.default=Pte;var Ib={};Object.defineProperty(Ib,"__esModule",{value:!0});Ib.default=void 0;var kte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},Ite=kte;Ib.default=Ite;Object.defineProperty(Kg,"__esModule",{value:!0});Kg.default=void 0;var Lte=Ze(Xg),Nte=Ze(Qg),$te=Ze(Jg),qte=Ze(Zg),Bte=Ze(eb),Ute=Ze(tb),Fte=Ze(nb),jte=Ze(rb),Vte=Ze(ab),Hte=Ze(ib),zte=Ze(ob),Wte=Ze(lb),Gte=Ze(ub),Yte=Ze(sb),Kte=Ze(cb),Xte=Ze(fb),Qte=Ze(db),Jte=Ze(pb),Zte=Ze(vb),ene=Ze(mb),tne=Ze(hb),nne=Ze(yb),rne=Ze(gb),ane=Ze(bb),ine=Ze(Eb),one=Ze(Cb),lne=Ze(wb),une=Ze(Sb),sne=Ze(_b),cne=Ze(Rb),fne=Ze(Tb),dne=Ze(xb),pne=Ze(Ob),vne=Ze(Mb),mne=Ze(Db),hne=Ze(Ab),yne=Ze(Pb),gne=Ze(kb),bne=Ze(Ib);function Ze(e){return e&&e.__esModule?e:{default:e}}var Ene=[["doc-abstract",Lte.default],["doc-acknowledgments",Nte.default],["doc-afterword",$te.default],["doc-appendix",qte.default],["doc-backlink",Bte.default],["doc-biblioentry",Ute.default],["doc-bibliography",Fte.default],["doc-biblioref",jte.default],["doc-chapter",Vte.default],["doc-colophon",Hte.default],["doc-conclusion",zte.default],["doc-cover",Wte.default],["doc-credit",Gte.default],["doc-credits",Yte.default],["doc-dedication",Kte.default],["doc-endnote",Xte.default],["doc-endnotes",Qte.default],["doc-epigraph",Jte.default],["doc-epilogue",Zte.default],["doc-errata",ene.default],["doc-example",tne.default],["doc-footnote",nne.default],["doc-foreword",rne.default],["doc-glossary",ane.default],["doc-glossref",ine.default],["doc-index",one.default],["doc-introduction",lne.default],["doc-noteref",une.default],["doc-notice",sne.default],["doc-pagebreak",cne.default],["doc-pagelist",fne.default],["doc-part",dne.default],["doc-preface",pne.default],["doc-prologue",vne.default],["doc-pullquote",mne.default],["doc-qna",hne.default],["doc-subtitle",yne.default],["doc-tip",gne.default],["doc-toc",bne.default]],Cne=Ene;Kg.default=Cne;var Lb={},Nb={};Object.defineProperty(Nb,"__esModule",{value:!0});Nb.default=void 0;var wne={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},Sne=wne;Nb.default=Sne;var $b={};Object.defineProperty($b,"__esModule",{value:!0});$b.default=void 0;var _ne={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},Rne=_ne;$b.default=Rne;var qb={};Object.defineProperty(qb,"__esModule",{value:!0});qb.default=void 0;var Tne={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},xne=Tne;qb.default=xne;Object.defineProperty(Lb,"__esModule",{value:!0});Lb.default=void 0;var One=xR(Nb),Mne=xR($b),Dne=xR(qb);function xR(e){return e&&e.__esModule?e:{default:e}}var Ane=[["graphics-document",One.default],["graphics-object",Mne.default],["graphics-symbol",Dne.default]],Pne=Ane;Lb.default=Pne;Object.defineProperty(Yc,"__esModule",{value:!0});Yc.default=void 0;var kne=Rp(oy),Ine=Rp(by),Lne=Rp(Kg),Nne=Rp(Lb),$ne=Rp(us);function Rp(e){return e&&e.__esModule?e:{default:e}}function qne(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}function y_(e,r){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=ML(e))||r){a&&(e=a);var o=0,u=function(){};return{s:u,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(h){throw h},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
251
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,c=!1,v;return{s:function(){a=a.call(e)},n:function(){var h=a.next();return f=h.done,h},e:function(h){c=!0,v=h},f:function(){try{!f&&a.return!=null&&a.return()}finally{if(c)throw v}}}}function Zd(e,r){return Fne(e)||Une(e,r)||ML(e,r)||Bne()}function Bne(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
252
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ML(e,r){if(e){if(typeof e=="string")return ZA(e,r);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return ZA(e,r)}}function ZA(e,r){(r==null||r>e.length)&&(r=e.length);for(var a=0,o=new Array(r);a<r;a++)o[a]=e[a];return o}function Une(e,r){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var o=[],u=!0,f=!1,c,v;try{for(a=a.call(e);!(u=(c=a.next()).done)&&(o.push(c.value),!(r&&o.length===r));u=!0);}catch(m){f=!0,v=m}finally{try{!u&&a.return!=null&&a.return()}finally{if(f)throw v}}return o}}function Fne(e){if(Array.isArray(e))return e}var jl=[].concat(kne.default,Ine.default,Lne.default,Nne.default);jl.forEach(function(e){var r=Zd(e,2),a=r[1],o=y_(a.superClass),u;try{for(o.s();!(u=o.n()).done;){var f=u.value,c=y_(f),v;try{var m=function(){var C=v.value,b=jl.find(function(B){var T=Zd(B,1),j=T[0];return j===C});if(b)for(var R=b[1],M=0,A=Object.keys(R.props);M<A.length;M++){var L=A[M];Object.prototype.hasOwnProperty.call(a.props,L)||Object.assign(a.props,qne({},L,R.props[L]))}};for(c.s();!(v=c.n()).done;)m()}catch(h){c.e(h)}finally{c.f()}}}catch(h){o.e(h)}finally{o.f()}});var g_={entries:function(){return jl},forEach:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=y_(jl),u;try{for(o.s();!(u=o.n()).done;){var f=Zd(u.value,2),c=f[0],v=f[1];r.call(a,v,c,jl)}}catch(m){o.e(m)}finally{o.f()}},get:function(r){var a=jl.find(function(o){return o[0]===r});return a&&a[1]},has:function(r){return!!g_.get(r)},keys:function(){return jl.map(function(r){var a=Zd(r,1),o=a[0];return o})},values:function(){return jl.map(function(r){var a=Zd(r,2),o=a[1];return o})}},jne=(0,$ne.default)(g_,g_.entries());Yc.default=jne;var Bb={},DL={},eP=Object.prototype.hasOwnProperty;function b_(e,r){var a,o;if(e===r)return!0;if(e&&r&&(a=e.constructor)===r.constructor){if(a===Date)return e.getTime()===r.getTime();if(a===RegExp)return e.toString()===r.toString();if(a===Array){if((o=e.length)===r.length)for(;o--&&b_(e[o],r[o]););return o===-1}if(!a||typeof e=="object"){o=0;for(a in e)if(eP.call(e,a)&&++o&&!eP.call(r,a)||!(a in r)||!b_(e[a],r[a]))return!1;return Object.keys(r).length===o}}return e!==e&&r!==r}DL.dequal=b_;Object.defineProperty(Bb,"__esModule",{value:!0});Bb.default=void 0;var AL=DL,Vne=kL(us),PL=kL(Yc);function kL(e){return e&&e.__esModule?e:{default:e}}function OS(e,r){return Wne(e)||zne(e,r)||IL(e,r)||Hne()}function Hne(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
253
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zne(e,r){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var o=[],u=!0,f=!1,c,v;try{for(a=a.call(e);!(u=(c=a.next()).done)&&(o.push(c.value),!(r&&o.length===r));u=!0);}catch(m){f=!0,v=m}finally{try{!u&&a.return!=null&&a.return()}finally{if(f)throw v}}return o}}function Wne(e){if(Array.isArray(e))return e}function Gne(e,r){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=IL(e))||r){a&&(e=a);var o=0,u=function(){};return{s:u,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(h){throw h},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
254
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,c=!1,v;return{s:function(){a=a.call(e)},n:function(){var h=a.next();return f=h.done,h},e:function(h){c=!0,v=h},f:function(){try{!f&&a.return!=null&&a.return()}finally{if(c)throw v}}}}function IL(e,r){if(e){if(typeof e=="string")return tP(e,r);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return tP(e,r)}}function tP(e,r){(r==null||r>e.length)&&(r=e.length);for(var a=0,o=new Array(r);a<r;a++)o[a]=e[a];return o}var Vl=[],nP=PL.default.keys();for(var MS=0;MS<nP.length;MS++){var DS=nP[MS],AS=PL.default.get(DS);if(AS)for(var rP=[].concat(AS.baseConcepts,AS.relatedConcepts),PS=0;PS<rP.length;PS++){var aP=rP[PS];aP.module==="HTML"&&function(){var e=aP.concept;if(e){var r=Vl.find(function(f){return(0,AL.dequal)(f,e)}),a;r?a=r[1]:a=[];for(var o=!0,u=0;u<a.length;u++)if(a[u]===DS){o=!1;break}o&&a.push(DS),Vl.push([e,a])}}()}}var E_={entries:function(){return Vl},forEach:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=Gne(Vl),u;try{for(o.s();!(u=o.n()).done;){var f=OS(u.value,2),c=f[0],v=f[1];r.call(a,v,c,Vl)}}catch(m){o.e(m)}finally{o.f()}},get:function(r){var a=Vl.find(function(o){return r.name===o[0].name&&(0,AL.dequal)(r.attributes,o[0].attributes)});return a&&a[1]},has:function(r){return!!E_.get(r)},keys:function(){return Vl.map(function(r){var a=OS(r,1),o=a[0];return o})},values:function(){return Vl.map(function(r){var a=OS(r,2),o=a[1];return o})}},Yne=(0,Vne.default)(E_,E_.entries());Bb.default=Yne;var Ub={};Object.defineProperty(Ub,"__esModule",{value:!0});Ub.default=void 0;var Kne=NL(us),LL=NL(Yc);function NL(e){return e&&e.__esModule?e:{default:e}}function kS(e,r){return Jne(e)||Qne(e,r)||$L(e,r)||Xne()}function Xne(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
255
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qne(e,r){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var o=[],u=!0,f=!1,c,v;try{for(a=a.call(e);!(u=(c=a.next()).done)&&(o.push(c.value),!(r&&o.length===r));u=!0);}catch(m){f=!0,v=m}finally{try{!u&&a.return!=null&&a.return()}finally{if(f)throw v}}return o}}function Jne(e){if(Array.isArray(e))return e}function Zne(e,r){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=$L(e))||r){a&&(e=a);var o=0,u=function(){};return{s:u,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(h){throw h},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
256
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,c=!1,v;return{s:function(){a=a.call(e)},n:function(){var h=a.next();return f=h.done,h},e:function(h){c=!0,v=h},f:function(){try{!f&&a.return!=null&&a.return()}finally{if(c)throw v}}}}function $L(e,r){if(e){if(typeof e=="string")return iP(e,r);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return iP(e,r)}}function iP(e,r){(r==null||r>e.length)&&(r=e.length);for(var a=0,o=new Array(r);a<r;a++)o[a]=e[a];return o}var Hu=[],oP=LL.default.keys();for(var IS=0;IS<oP.length;IS++){var lP=oP[IS],LS=LL.default.get(lP),NS=[];if(LS){for(var uP=[].concat(LS.baseConcepts,LS.relatedConcepts),$S=0;$S<uP.length;$S++){var sP=uP[$S];if(sP.module==="HTML"){var cP=sP.concept;cP!=null&&NS.push(cP)}}NS.length>0&&Hu.push([lP,NS])}}var C_={entries:function(){return Hu},forEach:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=Zne(Hu),u;try{for(o.s();!(u=o.n()).done;){var f=kS(u.value,2),c=f[0],v=f[1];r.call(a,v,c,Hu)}}catch(m){o.e(m)}finally{o.f()}},get:function(r){var a=Hu.find(function(o){return o[0]===r});return a&&a[1]},has:function(r){return!!C_.get(r)},keys:function(){return Hu.map(function(r){var a=kS(r,1),o=a[0];return o})},values:function(){return Hu.map(function(r){var a=kS(r,2),o=a[1];return o})}},ere=(0,Kne.default)(C_,C_.entries());Ub.default=ere;Object.defineProperty(xi,"__esModule",{value:!0});var bi=xi.roles=BL=xi.roleElements=qL=xi.elementRoles=xi.dom=xi.aria=void 0,tre=Tp(ry),nre=Tp(iy),rre=Tp(Yc),are=Tp(Bb),ire=Tp(Ub);function Tp(e){return e&&e.__esModule?e:{default:e}}var ore=tre.default;xi.aria=ore;var lre=nre.default;xi.dom=lre;var ure=rre.default;bi=xi.roles=ure;var sre=are.default,qL=xi.elementRoles=sre,cre=ire.default,BL=xi.roleElements=cre,OR={exports:{}};OR.exports;(function(e){var r=function(){var a=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",f={};function c(m,h){if(!f[m]){f[m]={};for(var C=0;C<m.length;C++)f[m][m.charAt(C)]=C}return f[m][h]}var v={compressToBase64:function(m){if(m==null)return"";var h=v._compress(m,6,function(C){return o.charAt(C)});switch(h.length%4){default:case 0:return h;case 1:return h+"===";case 2:return h+"==";case 3:return h+"="}},decompressFromBase64:function(m){return m==null?"":m==""?null:v._decompress(m.length,32,function(h){return c(o,m.charAt(h))})},compressToUTF16:function(m){return m==null?"":v._compress(m,15,function(h){return a(h+32)})+" "},decompressFromUTF16:function(m){return m==null?"":m==""?null:v._decompress(m.length,16384,function(h){return m.charCodeAt(h)-32})},compressToUint8Array:function(m){for(var h=v.compress(m),C=new Uint8Array(h.length*2),b=0,R=h.length;b<R;b++){var M=h.charCodeAt(b);C[b*2]=M>>>8,C[b*2+1]=M%256}return C},decompressFromUint8Array:function(m){if(m==null)return v.decompress(m);for(var h=new Array(m.length/2),C=0,b=h.length;C<b;C++)h[C]=m[C*2]*256+m[C*2+1];var R=[];return h.forEach(function(M){R.push(a(M))}),v.decompress(R.join(""))},compressToEncodedURIComponent:function(m){return m==null?"":v._compress(m,6,function(h){return u.charAt(h)})},decompressFromEncodedURIComponent:function(m){return m==null?"":m==""?null:(m=m.replace(/ /g,"+"),v._decompress(m.length,32,function(h){return c(u,m.charAt(h))}))},compress:function(m){return v._compress(m,16,function(h){return a(h)})},_compress:function(m,h,C){if(m==null)return"";var b,R,M={},A={},L="",B="",T="",j=2,U=3,Y=2,J=[],I=0,K=0,N;for(N=0;N<m.length;N+=1)if(L=m.charAt(N),Object.prototype.hasOwnProperty.call(M,L)||(M[L]=U++,A[L]=!0),B=T+L,Object.prototype.hasOwnProperty.call(M,B))T=B;else{if(Object.prototype.hasOwnProperty.call(A,T)){if(T.charCodeAt(0)<256){for(b=0;b<Y;b++)I=I<<1,K==h-1?(K=0,J.push(C(I)),I=0):K++;for(R=T.charCodeAt(0),b=0;b<8;b++)I=I<<1|R&1,K==h-1?(K=0,J.push(C(I)),I=0):K++,R=R>>1}else{for(R=1,b=0;b<Y;b++)I=I<<1|R,K==h-1?(K=0,J.push(C(I)),I=0):K++,R=0;for(R=T.charCodeAt(0),b=0;b<16;b++)I=I<<1|R&1,K==h-1?(K=0,J.push(C(I)),I=0):K++,R=R>>1}j--,j==0&&(j=Math.pow(2,Y),Y++),delete A[T]}else for(R=M[T],b=0;b<Y;b++)I=I<<1|R&1,K==h-1?(K=0,J.push(C(I)),I=0):K++,R=R>>1;j--,j==0&&(j=Math.pow(2,Y),Y++),M[B]=U++,T=String(L)}if(T!==""){if(Object.prototype.hasOwnProperty.call(A,T)){if(T.charCodeAt(0)<256){for(b=0;b<Y;b++)I=I<<1,K==h-1?(K=0,J.push(C(I)),I=0):K++;for(R=T.charCodeAt(0),b=0;b<8;b++)I=I<<1|R&1,K==h-1?(K=0,J.push(C(I)),I=0):K++,R=R>>1}else{for(R=1,b=0;b<Y;b++)I=I<<1|R,K==h-1?(K=0,J.push(C(I)),I=0):K++,R=0;for(R=T.charCodeAt(0),b=0;b<16;b++)I=I<<1|R&1,K==h-1?(K=0,J.push(C(I)),I=0):K++,R=R>>1}j--,j==0&&(j=Math.pow(2,Y),Y++),delete A[T]}else for(R=M[T],b=0;b<Y;b++)I=I<<1|R&1,K==h-1?(K=0,J.push(C(I)),I=0):K++,R=R>>1;j--,j==0&&(j=Math.pow(2,Y),Y++)}for(R=2,b=0;b<Y;b++)I=I<<1|R&1,K==h-1?(K=0,J.push(C(I)),I=0):K++,R=R>>1;for(;;)if(I=I<<1,K==h-1){J.push(C(I));break}else K++;return J.join("")},decompress:function(m){return m==null?"":m==""?null:v._decompress(m.length,32768,function(h){return m.charCodeAt(h)})},_decompress:function(m,h,C){var b=[],R=4,M=4,A=3,L="",B=[],T,j,U,Y,J,I,K,N={val:C(0),position:h,index:1};for(T=0;T<3;T+=1)b[T]=T;for(U=0,J=Math.pow(2,2),I=1;I!=J;)Y=N.val&N.position,N.position>>=1,N.position==0&&(N.position=h,N.val=C(N.index++)),U|=(Y>0?1:0)*I,I<<=1;switch(U){case 0:for(U=0,J=Math.pow(2,8),I=1;I!=J;)Y=N.val&N.position,N.position>>=1,N.position==0&&(N.position=h,N.val=C(N.index++)),U|=(Y>0?1:0)*I,I<<=1;K=a(U);break;case 1:for(U=0,J=Math.pow(2,16),I=1;I!=J;)Y=N.val&N.position,N.position>>=1,N.position==0&&(N.position=h,N.val=C(N.index++)),U|=(Y>0?1:0)*I,I<<=1;K=a(U);break;case 2:return""}for(b[3]=K,j=K,B.push(K);;){if(N.index>m)return"";for(U=0,J=Math.pow(2,A),I=1;I!=J;)Y=N.val&N.position,N.position>>=1,N.position==0&&(N.position=h,N.val=C(N.index++)),U|=(Y>0?1:0)*I,I<<=1;switch(K=U){case 0:for(U=0,J=Math.pow(2,8),I=1;I!=J;)Y=N.val&N.position,N.position>>=1,N.position==0&&(N.position=h,N.val=C(N.index++)),U|=(Y>0?1:0)*I,I<<=1;b[M++]=a(U),K=M-1,R--;break;case 1:for(U=0,J=Math.pow(2,16),I=1;I!=J;)Y=N.val&N.position,N.position>>=1,N.position==0&&(N.position=h,N.val=C(N.index++)),U|=(Y>0?1:0)*I,I<<=1;b[M++]=a(U),K=M-1,R--;break;case 2:return B.join("")}if(R==0&&(R=Math.pow(2,A),A++),b[K])L=b[K];else if(K===M)L=j+j.charAt(0);else return null;B.push(L),b[M++]=j+L.charAt(0),R--,j=L,R==0&&(R=Math.pow(2,A),A++)}}};return v}();e!=null?e.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})})(OR);var fre=OR.exports;const dre=zh(fre);var w_={};function UL(e){return e.replace(/</g,"<").replace(/>/g,">")}const pre=(e,r,a,o,u,f,c)=>{const v=o+a.indent,m=a.colors;return e.map(h=>{const C=r[h];let b=c(C,a,v,u,f);return typeof C!="string"&&(b.indexOf(`
|
|
257
|
+
`)!==-1&&(b=a.spacingOuter+v+b+a.spacingOuter+o),b="{"+b+"}"),a.spacingInner+o+m.prop.open+h+m.prop.close+"="+m.value.open+b+m.value.close}).join("")},vre=3,mre=(e,r,a,o,u,f)=>e.map(c=>{const v=typeof c=="string"?FL(c,r):f(c,r,a,o,u);return v===""&&typeof c=="object"&&c!==null&&c.nodeType!==vre?"":r.spacingOuter+a+v}).join(""),FL=(e,r)=>{const a=r.colors.content;return a.open+UL(e)+a.close},hre=(e,r)=>{const a=r.colors.comment;return a.open+"<!--"+UL(e)+"-->"+a.close},yre=(e,r,a,o,u)=>{const f=o.colors.tag;return f.open+"<"+e+(r&&f.close+r+o.spacingOuter+u+f.open)+(a?">"+f.close+a+o.spacingOuter+u+f.open+"</"+e:(r&&!o.min?"":" ")+"/")+">"+f.close},gre=(e,r)=>{const a=r.colors.tag;return a.open+"<"+e+a.close+" …"+a.open+" />"+a.close},bre=1,jL=3,VL=8,HL=11,Ere=/^((HTML|SVG)\w*)?Element$/,zL=e=>{const{tagName:r}=e;return!!(typeof r=="string"&&r.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},Cre=e=>{const r=e.constructor.name,{nodeType:a}=e;return a===bre&&(Ere.test(r)||zL(e))||a===jL&&r==="Text"||a===VL&&r==="Comment"||a===HL&&r==="DocumentFragment"};function wre(e){return e.nodeType===jL}function Sre(e){return e.nodeType===VL}function qS(e){return e.nodeType===HL}function _re(e){return{test:r=>{var a;return((r==null||(a=r.constructor)==null?void 0:a.name)||zL(r))&&Cre(r)},serialize:(r,a,o,u,f,c)=>{if(wre(r))return FL(r.data,a);if(Sre(r))return hre(r.data,a);const v=qS(r)?"DocumentFragment":r.tagName.toLowerCase();return++u>a.maxDepth?gre(v,a):yre(v,pre(qS(r)?[]:Array.from(r.attributes).map(m=>m.name).sort(),qS(r)?{}:Array.from(r.attributes).reduce((m,h)=>(m[h.name]=h.value,m),{}),a,o+a.indent,u,f,c),mre(Array.prototype.slice.call(r.childNodes||r.children).filter(e),a,o+a.indent,u,f,c),a,o)}}}let WL=null,MR=null,DR=null;try{const e=Tc&&Tc.require;MR=e.call(Tc,"fs").readFileSync,DR=e.call(Tc,"@babel/code-frame").codeFrameColumns,WL=e.call(Tc,"chalk")}catch{}function Rre(e){const r=e.indexOf("(")+1,a=e.indexOf(")"),o=e.slice(r,a),u=o.split(":"),[f,c,v]=[u[0],parseInt(u[1],10),parseInt(u[2],10)];let m="";try{m=MR(f,"utf-8")}catch{return""}const h=DR(m,{start:{line:c,column:v}},{highlightCode:!0,linesBelow:0});return WL.dim(o)+`
|
|
258
|
+
`+h+`
|
|
259
|
+
`}function Tre(){if(!MR||!DR)return"";const r=new Error().stack.split(`
|
|
260
|
+
`).slice(1).find(a=>!a.includes("node_modules/"));return Rre(r)}const GL=3;function BS(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function AR(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function YL(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Zo(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+r(e)+".");function r(a){return typeof a=="object"?a===null?"null":a.constructor.name:typeof a}}const xre=()=>{if(typeof process>"u")return!1;let e;try{var r;const a=(r=w_)==null?void 0:r.COLORS;a&&(e=JSON.parse(a))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:Ore}=_R,Mre=1,Dre=8;function Are(e){return e.nodeType!==Dre&&(e.nodeType!==Mre||!e.matches(Tt().defaultIgnore))}function is(e,r,a){if(a===void 0&&(a={}),e||(e=AR().body),typeof r!="number"&&(r=typeof process<"u"&&typeof w_<"u"&&w_.DEBUG_PRINT_LIMIT||7e3),r===0)return"";e.documentElement&&(e=e.documentElement);let o=typeof e;if(o==="object"?o=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+o);const{filterNode:u=Are,...f}=a,c=oL(e,{plugins:[_re(u),Ore],printFunctionName:!1,highlight:xre(),...f});return r!==void 0&&e.outerHTML.length>r?c.slice(0,r)+"...":c}const S_=function(){const e=Tre();console.log(e?is(...arguments)+`
|
|
261
|
+
|
|
262
|
+
`+e:is(...arguments))};let Ju={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,r){const a=is(r),o=new Error([e,"Ignored nodes: comments, "+Ju.defaultIgnore+`
|
|
263
|
+
`+a].filter(Boolean).join(`
|
|
264
|
+
|
|
265
|
+
`));return o.name="TestingLibraryElementError",o},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Pre(e){try{return Ju._disableExpensiveErrorDiagnostics=!0,e()}finally{Ju._disableExpensiveErrorDiagnostics=!1}}function KL(e){typeof e=="function"&&(e=e(Ju)),Ju={...Ju,...e}}function Tt(){return Ju}const kre=["button","meter","output","progress","select","textarea","input"];function XL(e){return kre.includes(e.nodeName.toLowerCase())?"":e.nodeType===GL?e.textContent:Array.from(e.childNodes).map(r=>XL(r)).join("")}function __(e){let r;return e.tagName.toLowerCase()==="label"?r=XL(e):r=e.value||e.textContent,r}function QL(e){if(e.labels!==void 0){var r;return(r=e.labels)!=null?r:[]}if(!Ire(e))return[];const a=e.ownerDocument.querySelectorAll("label");return Array.from(a).filter(o=>o.control===e)}function Ire(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function JL(e,r,a){let{selector:o="*"}=a===void 0?{}:a;const u=r.getAttribute("aria-labelledby"),f=u?u.split(" "):[];return f.length?f.map(c=>{const v=e.querySelector('[id="'+c+'"]');return v?{content:__(v),formControl:null}:{content:"",formControl:null}}):Array.from(QL(r)).map(c=>{const v=__(c),h=Array.from(c.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(C=>C.matches(o))[0];return{content:v,formControl:h}})}function ZL(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Kc(e,r,a,o){if(typeof e!="string")return!1;ZL(a);const u=o(e);return typeof a=="string"||typeof a=="number"?u.toLowerCase().includes(a.toString().toLowerCase()):typeof a=="function"?a(u,r):eN(a,u)}function Ko(e,r,a,o){if(typeof e!="string")return!1;ZL(a);const u=o(e);return a instanceof Function?a(u,r):a instanceof RegExp?eN(a,u):u===String(a)}function PR(e){let{trim:r=!0,collapseWhitespace:a=!0}=e===void 0?{}:e;return o=>{let u=o;return u=r?u.trim():u,u=a?u.replace(/\s+/g," "):u,u}}function ss(e){let{trim:r,collapseWhitespace:a,normalizer:o}=e;if(!o)return PR({trim:r,collapseWhitespace:a});if(typeof r<"u"||typeof a<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return o}function eN(e,r){const a=e.test(r);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),a}function xp(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(r=>r.nodeType===GL&&!!r.textContent).map(r=>r.textContent).join("")}const Lre=Nre(qL);function tN(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Fb(e,r){r===void 0&&(r={});const{isSubtreeInaccessible:a=tN}=r;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let u=e;for(;u;){if(a(u))return!0;u=u.parentElement}return!1}function kR(e){for(const{match:r,roles:a}of Lre)if(r(e))return[...a];return[]}function Nre(e){function r(c){let{name:v,attributes:m}=c;return""+v+m.map(h=>{let{name:C,value:b,constraints:R=[]}=h;const M=R.indexOf("undefined")!==-1,A=R.indexOf("set")!==-1;return typeof b<"u"?"["+C+'="'+b+'"]':M?":not(["+C+"])":A?"["+C+"]:not(["+C+'=""])':"["+C+"]"}).join("")}function a(c){let{attributes:v=[]}=c;return v.length}function o(c,v){let{specificity:m}=c,{specificity:h}=v;return h-m}function u(c){let{attributes:v=[]}=c;const m=v.findIndex(C=>C.value&&C.name==="type"&&C.value==="text");m>=0&&(v=[...v.slice(0,m),...v.slice(m+1)]);const h=r({...c,attributes:v});return C=>m>=0&&C.type!=="text"?!1:C.matches(h)}let f=[];for(const[c,v]of e.entries())f=[...f,{match:u(c),roles:Array.from(v),specificity:a(c)}];return f.sort(o)}function nN(e,r){let{hidden:a=!1}=r===void 0?{}:r;function o(u){return[u,...Array.from(u.children).reduce((f,c)=>[...f,...o(c)],[])]}return o(e).filter(u=>a===!1?Fb(u)===!1:!0).reduce((u,f)=>{let c=[];return f.hasAttribute("role")?c=f.getAttribute("role").split(" ").slice(0,1):c=kR(f),c.reduce((v,m)=>Array.isArray(v[m])?{...v,[m]:[...v[m],f]}:{...v,[m]:[f]},u)},{})}function rN(e,r){let{hidden:a,includeDescription:o}=r;const u=nN(e,{hidden:a});return Object.entries(u).filter(f=>{let[c]=f;return c!=="generic"}).map(f=>{let[c,v]=f;const m="-".repeat(50),h=v.map(C=>{const b='Name "'+TR(C,{computedStyleSupportsPseudoElements:Tt().computedStyleSupportsPseudoElements})+`":
|
|
266
|
+
`,R=is(C.cloneNode(!1));if(o){const M='Description "'+TL(C,{computedStyleSupportsPseudoElements:Tt().computedStyleSupportsPseudoElements})+`":
|
|
267
|
+
`;return""+b+M+R}return""+b+R}).join(`
|
|
268
|
+
|
|
269
|
+
`);return c+`:
|
|
270
|
+
|
|
271
|
+
`+h+`
|
|
272
|
+
|
|
273
|
+
`+m}).join(`
|
|
274
|
+
`)}const $re=function(e,r){let{hidden:a=!1}=r===void 0?{}:r;return console.log(rN(e,{hidden:a}))};function qre(e){return e.tagName==="OPTION"?e.selected:Op(e,"aria-selected")}function Bre(e){return e.getAttribute("aria-busy")==="true"}function Ure(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Op(e,"aria-checked")}function Fre(e){return Op(e,"aria-pressed")}function jre(e){var r,a;return(r=(a=Op(e,"aria-current"))!=null?a:e.getAttribute("aria-current"))!=null?r:!1}function Vre(e){return Op(e,"aria-expanded")}function Op(e,r){const a=e.getAttribute(r);if(a==="true")return!0;if(a==="false")return!1}function Hre(e){const r={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||r[e.tagName]}function zre(e){const r=e.getAttribute("aria-valuenow");return r===null?void 0:+r}function Wre(e){const r=e.getAttribute("aria-valuemax");return r===null?void 0:+r}function Gre(e){const r=e.getAttribute("aria-valuemin");return r===null?void 0:+r}function Yre(e){const r=e.getAttribute("aria-valuetext");return r===null?void 0:r}const fP=PR();function Kre(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function dP(e){return new RegExp(Kre(e.toLowerCase()),"i")}function ql(e,r,a,o){let{variant:u,name:f}=o,c="";const v={},m=[["Role","TestId"].includes(e)?a:dP(a)];f&&(v.name=dP(f)),e==="Role"&&Fb(r)&&(v.hidden=!0,c=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
275
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
276
|
+
`),Object.keys(v).length>0&&m.push(v);const h=u+"By"+e;return{queryName:e,queryMethod:h,queryArgs:m,variant:u,warning:c,toString(){c&&console.warn(c);let[C,b]=m;return C=typeof C=="string"?"'"+C+"'":C,b=b?", { "+Object.entries(b).map(R=>{let[M,A]=R;return M+": "+A}).join(", ")+" }":"",h+"("+C+b+")"}}}function Bl(e,r,a){return a&&(!r||r.toLowerCase()===e.toLowerCase())}function Mh(e,r,a){var o,u;if(r===void 0&&(r="get"),e.matches(Tt().defaultIgnore))return;const f=(o=e.getAttribute("role"))!=null?o:(u=kR(e))==null?void 0:u[0];if(f!=="generic"&&Bl("Role",a,f))return ql("Role",e,f,{variant:r,name:TR(e,{computedStyleSupportsPseudoElements:Tt().computedStyleSupportsPseudoElements})});const c=JL(document,e).map(R=>R.content).join(" ");if(Bl("LabelText",a,c))return ql("LabelText",e,c,{variant:r});const v=e.getAttribute("placeholder");if(Bl("PlaceholderText",a,v))return ql("PlaceholderText",e,v,{variant:r});const m=fP(xp(e));if(Bl("Text",a,m))return ql("Text",e,m,{variant:r});if(Bl("DisplayValue",a,e.value))return ql("DisplayValue",e,fP(e.value),{variant:r});const h=e.getAttribute("alt");if(Bl("AltText",a,h))return ql("AltText",e,h,{variant:r});const C=e.getAttribute("title");if(Bl("Title",a,C))return ql("Title",e,C,{variant:r});const b=e.getAttribute(Tt().testIdAttribute);if(Bl("TestId",a,b))return ql("TestId",e,b,{variant:r})}function Zm(e,r){e.stack=r.stack.replace(r.message,e.message)}function Xre(e,r){let{container:a=AR(),timeout:o=Tt().asyncUtilTimeout,showOriginalStackTrace:u=Tt().showOriginalStackTrace,stackTraceError:f,interval:c=50,onTimeout:v=h=>(Object.defineProperty(h,"message",{value:Tt().getElementError(h.message,a).message}),h),mutationObserverOptions:m={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=r;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(h,C)=>{let b,R,M,A=!1,L="idle";const B=setTimeout(J,o),T=BS();if(T){const{unstable_advanceTimersWrapper:I}=Tt();for(Y();!A;){if(!BS()){const K=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");u||Zm(K,f),C(K);return}if(await I(async()=>{jest.advanceTimersByTime(c)}),A)break;Y()}}else{try{Zo(a)}catch(K){C(K);return}R=setInterval(U,c);const{MutationObserver:I}=YL(a);M=new I(U),M.observe(a,m),Y()}function j(I,K){A=!0,clearTimeout(B),T||(clearInterval(R),M.disconnect()),I?C(I):h(K)}function U(){if(BS()){const I=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return u||Zm(I,f),C(I)}else return Y()}function Y(){if(L!=="pending")try{const I=Pre(e);typeof(I==null?void 0:I.then)=="function"?(L="pending",I.then(K=>{L="resolved",j(null,K)},K=>{L="rejected",b=K})):j(null,I)}catch(I){b=I}}function J(){let I;b?(I=b,!u&&I.name==="TestingLibraryElementError"&&Zm(I,f)):(I=new Error("Timed out in waitFor."),u||Zm(I,f)),j(v(I),null)}})}function IR(e,r){const a=new Error("STACK_TRACE_MESSAGE");return Tt().asyncWrapper(()=>Xre(e,{stackTraceError:a,...r}))}function jb(e,r){return Tt().getElementError(e,r)}function Vb(e,r){return jb(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",r)}function cs(e,r,a,o){let{exact:u=!0,collapseWhitespace:f,trim:c,normalizer:v}=o===void 0?{}:o;const m=u?Ko:Kc,h=ss({collapseWhitespace:f,trim:c,normalizer:v});return Array.from(r.querySelectorAll("["+e+"]")).filter(C=>m(C.getAttribute(e),C,a,h))}function aN(e,r,a,o){const u=cs(e,r,a,o);if(u.length>1)throw Vb("Found multiple elements by ["+e+"="+a+"]",r);return u[0]||null}function Bc(e,r){return function(a){for(var o=arguments.length,u=new Array(o>1?o-1:0),f=1;f<o;f++)u[f-1]=arguments[f];const c=e(a,...u);if(c.length>1){const v=c.map(m=>jb(null,m).message).join(`
|
|
277
|
+
|
|
278
|
+
`);throw Vb(r(a,...u)+`
|
|
279
|
+
|
|
280
|
+
Here are the matching elements:
|
|
281
|
+
|
|
282
|
+
`+v,a)}return c[0]||null}}function iN(e,r){return Tt().getElementError(`A better query is available, try this:
|
|
283
|
+
`+e.toString()+`
|
|
284
|
+
`,r)}function LR(e,r){return function(a){for(var o=arguments.length,u=new Array(o>1?o-1:0),f=1;f<o;f++)u[f-1]=arguments[f];const c=e(a,...u);if(!c.length)throw Tt().getElementError(r(a,...u),a);return c}}function Uc(e){return(r,a,o,u)=>IR(()=>e(r,a,o),{container:r,...u})}const Jl=(e,r,a)=>function(o){for(var u=arguments.length,f=new Array(u>1?u-1:0),c=1;c<u;c++)f[c-1]=arguments[c];const v=e(o,...f),[{suggest:m=Tt().throwSuggestions}={}]=f.slice(-1);if(v&&m){const h=Mh(v,a);if(h&&!r.endsWith(h.queryName))throw iN(h.toString(),o)}return v},sa=(e,r,a)=>function(o){for(var u=arguments.length,f=new Array(u>1?u-1:0),c=1;c<u;c++)f[c-1]=arguments[c];const v=e(o,...f),[{suggest:m=Tt().throwSuggestions}={}]=f.slice(-1);if(v.length&&m){const h=[...new Set(v.map(C=>{var b;return(b=Mh(C,a))==null?void 0:b.toString()}))];if(h.length===1&&!r.endsWith(Mh(v[0],a).queryName))throw iN(h[0],o)}return v};function el(e,r,a){const o=Jl(Bc(e,r),e.name,"query"),u=LR(e,a),f=Bc(u,r),c=Jl(f,e.name,"get"),v=sa(u,e.name.replace("query","get"),"getAll"),m=Uc(sa(u,e.name,"findAll")),h=Uc(Jl(f,e.name,"find"));return[o,v,c,m,h]}var Qre=Object.freeze({__proto__:null,getElementError:jb,wrapAllByQueryWithSuggestion:sa,wrapSingleQueryWithSuggestion:Jl,getMultipleElementsFoundError:Vb,queryAllByAttribute:cs,queryByAttribute:aN,makeSingleQuery:Bc,makeGetAllQuery:LR,makeFindQuery:Uc,buildQueries:el});function Jre(e){return Array.from(e.querySelectorAll("label,input")).map(r=>({node:r,textToMatch:__(r)})).filter(r=>{let{textToMatch:a}=r;return a!==null})}const Zre=function(e,r,a){let{exact:o=!0,trim:u,collapseWhitespace:f,normalizer:c}=a===void 0?{}:a;const v=o?Ko:Kc,m=ss({collapseWhitespace:f,trim:u,normalizer:c});return Jre(e).filter(C=>{let{node:b,textToMatch:R}=C;return v(R,b,r,m)}).map(C=>{let{node:b}=C;return b})},sp=function(e,r,a){let{selector:o="*",exact:u=!0,collapseWhitespace:f,trim:c,normalizer:v}=a===void 0?{}:a;Zo(e);const m=u?Ko:Kc,h=ss({collapseWhitespace:f,trim:c,normalizer:v}),C=Array.from(e.querySelectorAll("*")).filter(b=>QL(b).length||b.hasAttribute("aria-labelledby")).reduce((b,R)=>{const M=JL(e,R,{selector:o});M.filter(L=>!!L.formControl).forEach(L=>{m(L.content,L.formControl,r,h)&&L.formControl&&b.push(L.formControl)});const A=M.filter(L=>!!L.content).map(L=>L.content);return m(A.join(" "),R,r,h)&&b.push(R),A.length>1&&A.forEach((L,B)=>{m(L,R,r,h)&&b.push(R);const T=[...A];T.splice(B,1),T.length>1&&m(T.join(" "),R,r,h)&&b.push(R)}),b},[]).concat(cs("aria-label",e,r,{exact:u,normalizer:h}));return Array.from(new Set(C)).filter(b=>b.matches(o))},os=function(e,r){for(var a=arguments.length,o=new Array(a>2?a-2:0),u=2;u<a;u++)o[u-2]=arguments[u];const f=sp(e,r,...o);if(!f.length){const c=Zre(e,r,...o);if(c.length){const v=c.map(m=>eae(e,m)).filter(m=>!!m);throw v.length?Tt().getElementError(v.map(m=>"Found a label with the text of: "+r+", however the element associated with this label (<"+m+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+m+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
285
|
+
|
|
286
|
+
`),e):Tt().getElementError("Found a label with the text of: "+r+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Tt().getElementError("Unable to find a label with the text of: "+r,e)}return f};function eae(e,r){const a=r.getAttribute("for");if(!a)return null;const o=e.querySelector('[id="'+a+'"]');return o?o.tagName.toLowerCase():null}const oN=(e,r)=>"Found multiple elements with the text of: "+r,lN=Jl(Bc(sp,oN),sp.name,"query"),uN=Bc(os,oN),sN=Uc(sa(os,os.name,"findAll")),cN=Uc(Jl(uN,os.name,"find")),fN=sa(os,os.name,"getAll"),dN=Jl(uN,os.name,"get"),pN=sa(sp,sp.name,"queryAll"),R_=function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return Zo(r[0]),cs("placeholder",...r)},tae=(e,r)=>"Found multiple elements with the placeholder text of: "+r,nae=(e,r)=>"Unable to find an element with the placeholder text of: "+r,vN=sa(R_,R_.name,"queryAll"),[mN,hN,yN,gN,bN]=el(R_,tae,nae),T_=function(e,r,a){let{selector:o="*",exact:u=!0,collapseWhitespace:f,trim:c,ignore:v=Tt().defaultIgnore,normalizer:m}=a===void 0?{}:a;Zo(e);const h=u?Ko:Kc,C=ss({collapseWhitespace:f,trim:c,normalizer:m});let b=[];return typeof e.matches=="function"&&e.matches(o)&&(b=[e]),[...b,...Array.from(e.querySelectorAll(o))].filter(R=>!v||!R.matches(v)).filter(R=>h(xp(R),R,r,C))},rae=(e,r)=>"Found multiple elements with the text: "+r,aae=function(e,r,a){a===void 0&&(a={});const{collapseWhitespace:o,trim:u,normalizer:f,selector:c}=a,m=ss({collapseWhitespace:o,trim:u,normalizer:f})(r.toString()),h=m!==r.toString(),C=(c??"*")!=="*";return"Unable to find an element with the text: "+(h?m+" (normalized from '"+r+"')":r)+(C?", which matches selector '"+c+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},EN=sa(T_,T_.name,"queryAll"),[CN,wN,SN,_N,RN]=el(T_,rae,aae),x_=function(e,r,a){let{exact:o=!0,collapseWhitespace:u,trim:f,normalizer:c}=a===void 0?{}:a;Zo(e);const v=o?Ko:Kc,m=ss({collapseWhitespace:u,trim:f,normalizer:c});return Array.from(e.querySelectorAll("input,textarea,select")).filter(h=>h.tagName==="SELECT"?Array.from(h.options).filter(b=>b.selected).some(b=>v(xp(b),b,r,m)):v(h.value,h,r,m))},iae=(e,r)=>"Found multiple elements with the display value: "+r+".",oae=(e,r)=>"Unable to find an element with the display value: "+r+".",TN=sa(x_,x_.name,"queryAll"),[xN,ON,MN,DN,AN]=el(x_,iae,oae),lae=/^(img|input|area|.+-.+)$/i,O_=function(e,r,a){return a===void 0&&(a={}),Zo(e),cs("alt",e,r,a).filter(o=>lae.test(o.tagName))},uae=(e,r)=>"Found multiple elements with the alt text: "+r,sae=(e,r)=>"Unable to find an element with the alt text: "+r,PN=sa(O_,O_.name,"queryAll"),[kN,IN,LN,NN,$N]=el(O_,uae,sae),cae=e=>{var r;return e.tagName.toLowerCase()==="title"&&((r=e.parentElement)==null?void 0:r.tagName.toLowerCase())==="svg"},M_=function(e,r,a){let{exact:o=!0,collapseWhitespace:u,trim:f,normalizer:c}=a===void 0?{}:a;Zo(e);const v=o?Ko:Kc,m=ss({collapseWhitespace:u,trim:f,normalizer:c});return Array.from(e.querySelectorAll("[title], svg > title")).filter(h=>v(h.getAttribute("title"),h,r,m)||cae(h)&&v(xp(h),h,r,m))},fae=(e,r)=>"Found multiple elements with the title: "+r+".",dae=(e,r)=>"Unable to find an element with the title: "+r+".",qN=sa(M_,M_.name,"queryAll"),[BN,UN,FN,jN,VN]=el(M_,fae,dae),D_=function(e,r,a){let{hidden:o=Tt().defaultHidden,name:u,description:f,queryFallbacks:c=!1,selected:v,busy:m,checked:h,pressed:C,current:b,level:R,expanded:M,value:{now:A,min:L,max:B,text:T}={}}=a===void 0?{}:a;if(Zo(e),v!==void 0){var j;if(((j=bi.get(r))==null?void 0:j.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+r+'".')}if(m!==void 0){var U;if(((U=bi.get(r))==null?void 0:U.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+r+'".')}if(h!==void 0){var Y;if(((Y=bi.get(r))==null?void 0:Y.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+r+'".')}if(C!==void 0){var J;if(((J=bi.get(r))==null?void 0:J.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+r+'".')}if(b!==void 0){var I;if(((I=bi.get(r))==null?void 0:I.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+r+'".')}if(R!==void 0&&r!=="heading")throw new Error('Role "'+r+'" cannot have "level" property.');if(A!==void 0){var K;if(((K=bi.get(r))==null?void 0:K.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+r+'".')}if(B!==void 0){var N;if(((N=bi.get(r))==null?void 0:N.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+r+'".')}if(L!==void 0){var re;if(((re=bi.get(r))==null?void 0:re.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+r+'".')}if(T!==void 0){var _;if(((_=bi.get(r))==null?void 0:_.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+r+'".')}if(M!==void 0){var ce;if(((ce=bi.get(r))==null?void 0:ce.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+r+'".')}const De=new WeakMap;function $e(fe){return De.has(fe)||De.set(fe,tN(fe)),De.get(fe)}return Array.from(e.querySelectorAll(pae(r))).filter(fe=>{if(fe.hasAttribute("role")){const we=fe.getAttribute("role");if(c)return we.split(" ").filter(Boolean).some(dr=>dr===r);const[xt]=we.split(" ");return xt===r}return kR(fe).some(we=>we===r)}).filter(fe=>{if(v!==void 0)return v===qre(fe);if(m!==void 0)return m===Bre(fe);if(h!==void 0)return h===Ure(fe);if(C!==void 0)return C===Fre(fe);if(b!==void 0)return b===jre(fe);if(M!==void 0)return M===Vre(fe);if(R!==void 0)return R===Hre(fe);if(A!==void 0||B!==void 0||L!==void 0||T!==void 0){let ze=!0;if(A!==void 0&&ze&&(ze=A===zre(fe)),B!==void 0&&ze&&(ze=B===Wre(fe)),L!==void 0&&ze&&(ze=L===Gre(fe)),T!==void 0){var et;ze&&(ze=Ko((et=Yre(fe))!=null?et:null,fe,T,we=>we))}return ze}return!0}).filter(fe=>u===void 0?!0:Ko(TR(fe,{computedStyleSupportsPseudoElements:Tt().computedStyleSupportsPseudoElements}),fe,u,et=>et)).filter(fe=>f===void 0?!0:Ko(TL(fe,{computedStyleSupportsPseudoElements:Tt().computedStyleSupportsPseudoElements}),fe,f,et=>et)).filter(fe=>o===!1?Fb(fe,{isSubtreeInaccessible:$e})===!1:!0)};function pae(e){var r;const a='*[role~="'+e+'"]',o=(r=BL.get(e))!=null?r:new Set,u=new Set(Array.from(o).map(f=>{let{name:c}=f;return c}));return[a].concat(Array.from(u)).join(",")}const HN=e=>{let r="";return e===void 0?r="":typeof e=="string"?r=' and name "'+e+'"':r=" and name `"+e+"`",r},vae=function(e,r,a){let{name:o}=a===void 0?{}:a;return'Found multiple elements with the role "'+r+'"'+HN(o)},mae=function(e,r,a){let{hidden:o=Tt().defaultHidden,name:u,description:f}=a===void 0?{}:a;if(Tt()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+r+'"'+HN(u);let c="";Array.from(e.children).forEach(C=>{c+=rN(C,{hidden:o,includeDescription:f!==void 0})});let v;c.length===0?o===!1?v="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":v="There are no available roles.":v=(`
|
|
287
|
+
Here are the `+(o===!1?"accessible":"available")+` roles:
|
|
288
|
+
|
|
289
|
+
`+c.replace(/\n/g,`
|
|
290
|
+
`).replace(/\n\s\s\n/g,`
|
|
291
|
+
|
|
292
|
+
`)+`
|
|
293
|
+
`).trim();let m="";u===void 0?m="":typeof u=="string"?m=' and name "'+u+'"':m=" and name `"+u+"`";let h="";return f===void 0?h="":typeof f=="string"?h=' and description "'+f+'"':h=" and description `"+f+"`",(`
|
|
294
|
+
Unable to find an `+(o===!1?"accessible ":"")+'element with the role "'+r+'"'+m+h+`
|
|
295
|
+
|
|
296
|
+
`+v).trim()},zN=sa(D_,D_.name,"queryAll"),[WN,GN,YN,KN,XN]=el(D_,vae,mae),NR=()=>Tt().testIdAttribute,A_=function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return Zo(r[0]),cs(NR(),...r)},hae=(e,r)=>"Found multiple elements by: ["+NR()+'="'+r+'"]',yae=(e,r)=>"Unable to find an element by: ["+NR()+'="'+r+'"]',QN=sa(A_,A_.name,"queryAll"),[JN,ZN,e$,t$,n$]=el(A_,hae,yae);var Dh=Object.freeze({__proto__:null,queryAllByLabelText:pN,queryByLabelText:lN,getAllByLabelText:fN,getByLabelText:dN,findAllByLabelText:sN,findByLabelText:cN,queryByPlaceholderText:mN,queryAllByPlaceholderText:vN,getByPlaceholderText:yN,getAllByPlaceholderText:hN,findAllByPlaceholderText:gN,findByPlaceholderText:bN,queryByText:CN,queryAllByText:EN,getByText:SN,getAllByText:wN,findAllByText:_N,findByText:RN,queryByDisplayValue:xN,queryAllByDisplayValue:TN,getByDisplayValue:MN,getAllByDisplayValue:ON,findAllByDisplayValue:DN,findByDisplayValue:AN,queryByAltText:kN,queryAllByAltText:PN,getByAltText:LN,getAllByAltText:IN,findAllByAltText:NN,findByAltText:$N,queryByTitle:BN,queryAllByTitle:qN,getByTitle:FN,getAllByTitle:UN,findAllByTitle:jN,findByTitle:VN,queryByRole:WN,queryAllByRole:zN,getAllByRole:GN,getByRole:YN,findAllByRole:KN,findByRole:XN,queryByTestId:JN,queryAllByTestId:QN,getByTestId:e$,getAllByTestId:ZN,findAllByTestId:t$,findByTestId:n$});function Ah(e,r,a){return r===void 0&&(r=Dh),a===void 0&&(a={}),Object.keys(r).reduce((o,u)=>{const f=r[u];return o[u]=f.bind(null,e),o},a)}const r$=e=>!e||Array.isArray(e)&&!e.length;function pP(e){if(r$(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function gae(e,r){const a=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){pP(e);const u=(Array.isArray(e)?e:[e]).map(f=>{let c=f.parentElement;if(c===null)return()=>null;for(;c.parentElement;)c=c.parentElement;return()=>c.contains(f)?f:null});e=()=>u.map(f=>f()).filter(Boolean)}return pP(e()),IR(()=>{let o;try{o=e()}catch(u){if(u.name==="TestingLibraryElementError")return;throw u}if(!r$(o))throw a},r)}const vP={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},mP={doubleClick:"dblClick"};function Fc(e,r){return Tt().eventWrapper(()=>{if(!r)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+r.type+'" event - please provide a DOM element.');return e.dispatchEvent(r)})}function ch(e,r,a,o){let{EventType:u="Event",defaultInit:f={}}=o===void 0?{}:o;if(!r)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const c={...f,...a},{target:{value:v,files:m,...h}={}}=c;v!==void 0&&bae(r,v),m!==void 0&&Object.defineProperty(r,"files",{configurable:!0,enumerable:!0,writable:!0,value:m}),Object.assign(r,h);const C=YL(r),b=C[u]||C.Event;let R;if(typeof b=="function")R=new b(e,c);else{R=C.document.createEvent(u);const{bubbles:A,cancelable:L,detail:B,...T}=c;R.initEvent(e,A,L,B),Object.keys(T).forEach(j=>{R[j]=T[j]})}return["dataTransfer","clipboardData"].forEach(A=>{const L=c[A];typeof L=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(R,A,{value:Object.getOwnPropertyNames(L).reduce((B,T)=>(Object.defineProperty(B,T,{value:L[T]}),B),new C.DataTransfer)}):Object.defineProperty(R,A,{value:L}))}),R}Object.keys(vP).forEach(e=>{const{EventType:r,defaultInit:a}=vP[e],o=e.toLowerCase();ch[e]=(u,f)=>ch(o,u,f,{EventType:r,defaultInit:a}),Fc[e]=(u,f)=>Fc(u,ch[e](u,f))});function bae(e,r){const{set:a}=Object.getOwnPropertyDescriptor(e,"value")||{},o=Object.getPrototypeOf(e),{set:u}=Object.getOwnPropertyDescriptor(o,"value")||{};if(u&&a!==u)u.call(e,r);else if(a)a.call(e,r);else throw new Error("The given element does not have a value setter")}Object.keys(mP).forEach(e=>{const r=mP[e];Fc[e]=function(){return Fc[r](...arguments)}});function Eae(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
297
|
+
`)}function Cae(e){return dre.compressToEncodedURIComponent(Eae(e))}function wae(e){return"https://testing-playground.com/#markup="+Cae(e)}const Sae=(e,r,a)=>Array.isArray(e)?e.forEach(o=>S_(o,r,a)):S_(e,r,a),_ae=function(e){if(e===void 0&&(e=AR().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}const r=wae(e.innerHTML);return console.log(`Open this URL in your browser
|
|
298
|
+
|
|
299
|
+
`+r),r},hP={debug:Sae,logTestingPlaygroundURL:_ae},Rae=typeof document<"u"&&document.body?Ah(document.body,Dh,hP):Object.keys(Dh).reduce((e,r)=>(e[r]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),hP),Tae=Object.freeze(Object.defineProperty({__proto__:null,buildQueries:el,configure:KL,createEvent:ch,findAllByAltText:NN,findAllByDisplayValue:DN,findAllByLabelText:sN,findAllByPlaceholderText:gN,findAllByRole:KN,findAllByTestId:t$,findAllByText:_N,findAllByTitle:jN,findByAltText:$N,findByDisplayValue:AN,findByLabelText:cN,findByPlaceholderText:bN,findByRole:XN,findByTestId:n$,findByText:RN,findByTitle:VN,fireEvent:Fc,getAllByAltText:IN,getAllByDisplayValue:ON,getAllByLabelText:fN,getAllByPlaceholderText:hN,getAllByRole:GN,getAllByTestId:ZN,getAllByText:wN,getAllByTitle:UN,getByAltText:LN,getByDisplayValue:MN,getByLabelText:dN,getByPlaceholderText:yN,getByRole:YN,getByTestId:e$,getByText:SN,getByTitle:FN,getConfig:Tt,getDefaultNormalizer:PR,getElementError:jb,getMultipleElementsFoundError:Vb,getNodeText:xp,getQueriesForElement:Ah,getRoles:nN,getSuggestedQuery:Mh,isInaccessible:Fb,logDOM:S_,logRoles:$re,makeFindQuery:Uc,makeGetAllQuery:LR,makeSingleQuery:Bc,prettyDOM:is,prettyFormat:L7,queries:Dh,queryAllByAltText:PN,queryAllByAttribute:cs,queryAllByDisplayValue:TN,queryAllByLabelText:pN,queryAllByPlaceholderText:vN,queryAllByRole:zN,queryAllByTestId:QN,queryAllByText:EN,queryAllByTitle:qN,queryByAltText:kN,queryByAttribute:aN,queryByDisplayValue:xN,queryByLabelText:lN,queryByPlaceholderText:mN,queryByRole:WN,queryByTestId:JN,queryByText:CN,queryByTitle:BN,queryHelpers:Qre,screen:Rae,waitFor:IR,waitForElementToBeRemoved:gae,within:Ah,wrapAllByQueryWithSuggestion:sa,wrapSingleQueryWithSuggestion:Jl},Symbol.toStringTag,{value:"Module"}));var US={};const xae=typeof ke.act=="function"?ke.act:sY.act;function a$(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}function zo(e){a$().IS_REACT_ACT_ENVIRONMENT=e}function Ph(){return a$().IS_REACT_ACT_ENVIRONMENT}function Oae(e){return r=>{const a=Ph();zo(!0);try{let o=!1;const u=e(()=>{const f=r();return f!==null&&typeof f=="object"&&typeof f.then=="function"&&(o=!0),f});if(o){const f=u;return{then:(c,v)=>{f.then(m=>{zo(a),c(m)},m=>{zo(a),v(m)})}}}else return zo(a),u}catch(o){throw zo(a),o}}}const jc=Oae(xae);Object.keys(Fc).forEach(e=>{});let Mae={reactStrictMode:!1};function Dae(){return{...Tt(),...Mae}}function Aae(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}KL({unstable_advanceTimersWrapper:e=>jc(e),asyncWrapper:async e=>{const r=Ph();zo(!1);try{const a=await e();return await new Promise(o=>{setTimeout(()=>{o()},0),Aae()&&jest.advanceTimersByTime(0)}),a}finally{zo(r)}},eventWrapper:e=>{let r;return jc(()=>{r=e()}),r}});const P_=new Set,kh=[];function k_(e){return Dae().reactStrictMode?ke.createElement(ke.StrictMode,null,e):e}function I_(e,r){return r?ke.createElement(r,null,e):e}function Pae(e,r){let{hydrate:a,ui:o,wrapper:u}=r,f;return a?jc(()=>{f=AI(e,k_(I_(o,u)))}):f=PI(e),{hydrate(){if(!a)throw new Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.")},render(c){f.render(c)},unmount(){f.unmount()}}}function kae(e){return{hydrate(r){uh.hydrate(r,e)},render(r){uh.render(r,e)},unmount(){uh.unmountComponentAtNode(e)}}}function i$(e,r){let{baseElement:a,container:o,hydrate:u,queries:f,root:c,wrapper:v}=r;return jc(()=>{u?c.hydrate(k_(I_(e,v)),o):c.render(k_(I_(e,v)),o)}),{container:o,baseElement:a,debug:function(m,h,C){return m===void 0&&(m=a),Array.isArray(m)?m.forEach(b=>console.log(is(b,h,C))):console.log(is(m,h,C))},unmount:()=>{jc(()=>{c.unmount()})},rerender:m=>{i$(m,{container:o,baseElement:a,root:c,wrapper:v})},asFragment:()=>{if(typeof document.createRange=="function")return document.createRange().createContextualFragment(o.innerHTML);{const m=document.createElement("template");return m.innerHTML=o.innerHTML,m.content}},...Ah(a,f)}}function o$(e,r){let{container:a,baseElement:o=a,legacyRoot:u=!1,queries:f,hydrate:c=!1,wrapper:v}=r===void 0?{}:r;if(u&&typeof uh.render!="function"){const h=new Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");throw Error.captureStackTrace(h,o$),h}o||(o=document.body),a||(a=o.appendChild(document.createElement("div")));let m;return P_.has(a)?kh.forEach(h=>{h.container===a&&(m=h.root)}):(m=(u?kae:Pae)(a,{hydrate:c,ui:e,wrapper:v}),kh.push({container:a,root:m}),P_.add(a)),i$(e,{container:a,baseElement:o,queries:f,hydrate:c,wrapper:v,root:m})}function L_(){kh.forEach(e=>{let{root:r,container:a}=e;jc(()=>{r.unmount()}),a.parentNode===document.body&&document.body.removeChild(a)}),kh.length=0,P_.clear()}if((typeof process>"u"||!(US!=null&&US.RTL_SKIP_AUTO_CLEANUP))&&(typeof afterEach=="function"?afterEach(()=>{L_()}):typeof teardown=="function"&&teardown(()=>{L_()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let e=Ph();beforeAll(()=>{e=Ph(),zo(!0)}),afterAll(()=>{zo(e)})}var l$={},fs={};const da=b4(Tae);var bn={},$R={};Object.defineProperty($R,"__esModule",{value:!0});$R.getMouseEventOptions=Iae;function yP(e){return e==="mousedown"||e==="mouseup"||e==="click"||e==="dblclick"}const gP={none:0,primary:1,secondary:2,auxiliary:4},bP={primary:0,auxiliary:1,secondary:2};function EP(e,r){var a;const[o,u]=r==="button"?[bP,gP]:[gP,bP],f=(a=Object.entries(o).find(([,c])=>c===e))==null?void 0:a[0];return f&&Object.prototype.hasOwnProperty.call(u,f)?u[f]:0}function CP(e,r,a){return yP(e)?typeof r[a]=="number"?r[a]:a==="button"&&typeof r.buttons=="number"?EP(r.buttons,"buttons"):a==="buttons"&&typeof r.button=="number"?EP(r.button,"button"):a!="button"&&yP(e)?1:0:0}function Iae(e,r,a=0){var o;return r=(o=r)!=null?o:{},{...r,detail:e==="mousedown"||e==="mouseup"||e==="click"?1+a:a,buttons:CP(e,r,"buttons"),button:CP(e,r,"button")}}var qR={},tl={};Object.defineProperty(tl,"__esModule",{value:!0});tl.isElementType=Lae;function Lae(e,r,a){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(r=Array.isArray(r)?r:[r],!r.includes(e.tagName.toLowerCase()))?!1:a?Object.entries(a).every(([o,u])=>e[o]===u):!0}Object.defineProperty(qR,"__esModule",{value:!0});qR.isClickableInput=$ae;var wP=tl;const Nae=["button","color","file","image","reset","submit","checkbox","radio"];function $ae(e){return(0,wP.isElementType)(e,"button")||(0,wP.isElementType)(e,"input")&&Nae.includes(e.type)}var BR={};Object.defineProperty(BR,"__esModule",{value:!0});BR.buildTimeValue=qae;function qae(e){const r=e.replace(/\D/g,"");if(r.length<2)return e;const a=parseInt(r[0],10),o=parseInt(r[1],10);if(a>=3||a===2&&o>=4){let u;return a>=3?u=1:u=2,SP(r,u)}return e.length===2?e:SP(r,2)}function SP(e,r){const a=e.slice(0,r),o=Math.min(parseInt(a,10),23),u=e.slice(r),f=parseInt(u,10),c=Math.min(f,59);return`${o.toString().padStart(2,"0")}:${c.toString().padStart(2,"0")}`}var UR={},ds={};Object.defineProperty(ds,"__esModule",{value:!0});ds.getSelectionRange=s$;ds.hasSelectionSupport=FR;ds.setSelectionRange=Bae;var Pc=tl,N_;(function(e){e.text="text",e.search="search",e.url="url",e.tel="tel",e.password="password"})(N_||(N_={}));const u$=Symbol("inputSelection");function FR(e){return(0,Pc.isElementType)(e,"textarea")||(0,Pc.isElementType)(e,"input")&&!!N_[e.type]}function s$(e){if(FR(e))return{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd};if((0,Pc.isElementType)(e,"input")){var r;return(r=e[u$])!=null?r:{selectionStart:null,selectionEnd:null}}const a=e.ownerDocument.getSelection();if(a!=null&&a.rangeCount&&e.contains(a.focusNode)){const o=a.getRangeAt(0);return{selectionStart:o.startOffset,selectionEnd:o.endOffset}}else return{selectionStart:null,selectionEnd:null}}function Bae(e,r,a){const{selectionStart:o,selectionEnd:u}=s$(e);if(o===r&&u===a||(FR(e)&&e.setSelectionRange(r,a),(0,Pc.isElementType)(e,"input")&&(e[u$]={selectionStart:r,selectionEnd:a}),(0,Pc.isElementType)(e,"input")||(0,Pc.isElementType)(e,"textarea")))return;const f=e.ownerDocument.createRange();f.selectNodeContents(e),e.firstChild&&(f.setStart(e.firstChild,r),f.setEnd(e.firstChild,a));const c=e.ownerDocument.getSelection();c&&(c.removeAllRanges(),c.addRange(f))}var Xc={},Mp={};Object.defineProperty(Mp,"__esModule",{value:!0});Mp.isContentEditable=Uae;function Uae(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}Object.defineProperty(Xc,"__esModule",{value:!0});Xc.getValue=jae;var Fae=Mp;function jae(e){return e?(0,Fae.isContentEditable)(e)?e.textContent:e.value:null}var Hb={};Object.defineProperty(Hb,"__esModule",{value:!0});Hb.isValidDateValue=Vae;function Vae(e,r){const a=e.cloneNode();return a.value=r,a.value===r}var zb={};Object.defineProperty(zb,"__esModule",{value:!0});zb.isValidInputTimeValue=Hae;function Hae(e,r){const a=e.cloneNode();return a.value=r,a.value===r}Object.defineProperty(UR,"__esModule",{value:!0});UR.calculateNewValue=Yae;var zae=ds,Wae=Xc,Gae=Hb,_P=zb;function Yae(e,r,a=(()=>{var f;return(f=(0,Wae.getValue)(r))!=null?f:""})(),o=(0,zae.getSelectionRange)(r),u){const f=o.selectionStart===null?a.length:o.selectionStart,c=o.selectionEnd===null?a.length:o.selectionEnd,v=Math.max(0,f===c&&u==="backward"?f-1:f),m=a.substring(0,v),h=Math.min(a.length,f===c&&u==="forward"?c+1:c),C=a.substring(h,a.length);let b=`${m}${e}${C}`;const R=v+e.length;return r.type==="date"&&!(0,Gae.isValidDateValue)(r,b)&&(b=a),r.type==="time"&&!(0,_P.isValidInputTimeValue)(r,b)&&((0,_P.isValidInputTimeValue)(r,e)?b=e:b=a),{newValue:b,newSelectionStart:R}}var Wb={};Object.defineProperty(Wb,"__esModule",{value:!0});Wb.isCursorAtEnd=Xae;Wb.isCursorAtStart=Qae;var c$=ds,Kae=Xc;function Xae(e){var r;const{selectionStart:a,selectionEnd:o}=(0,c$.getSelectionRange)(e);return a===o&&(a??0)===((r=(0,Kae.getValue)(e))!=null?r:"").length}function Qae(e){const{selectionStart:r,selectionEnd:a}=(0,c$.getSelectionRange)(e);return r===a&&(r??0)===0}var jR={};Object.defineProperty(jR,"__esModule",{value:!0});jR.hasUnreliableEmptyValue=Zae;var Jae=tl,$_;(function(e){e.number="number"})($_||($_={}));function Zae(e){return(0,Jae.isElementType)(e,"input")&&!!$_[e.type]}var ps={};Object.defineProperty(ps,"__esModule",{value:!0});ps.editableInputTypes=void 0;ps.isEditable=tie;ps.isEditableInput=d$;var f$=tl,eie=Mp;function tie(e){return d$(e)||(0,f$.isElementType)(e,"textarea",{readOnly:!1})||(0,eie.isContentEditable)(e)}let Ih;ps.editableInputTypes=Ih;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(Ih||(ps.editableInputTypes=Ih={}));function d$(e){return(0,f$.isElementType)(e,"input",{readOnly:!1})&&!!Ih[e.type]}var VR={};Object.defineProperty(VR,"__esModule",{value:!0});VR.getSpaceUntilMaxLength=rie;var RP=tl,nie=Xc,q_;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(q_||(q_={}));function rie(e){const r=(0,nie.getValue)(e);if(r===null)return;const a=aie(e);return a?a-r.length:void 0}function aie(e){var r;if(!iie(e))return;const a=(r=e.getAttribute("maxlength"))!=null?r:"";return/^\d+$/.test(a)&&Number(a)>=0?Number(a):void 0}function iie(e){return(0,RP.isElementType)(e,"textarea")||(0,RP.isElementType)(e,"input")&&!!q_[e.type]}var HR={},Dp={};Object.defineProperty(Dp,"__esModule",{value:!0});Dp.isDisabled=oie;function oie(e){return!!(e&&e.disabled)}Object.defineProperty(HR,"__esModule",{value:!0});HR.getActiveElement=p$;var lie=Dp;function p$(e){const r=e.activeElement;return r!=null&&r.shadowRoot?p$(r.shadowRoot):(0,lie.isDisabled)(r)?e.ownerDocument?e.ownerDocument.body:e.body:r}var zR={},Gb={};Object.defineProperty(Gb,"__esModule",{value:!0});Gb.isLabelWithInternallyDisabledControl=cie;var uie=Dp,sie=tl;function cie(e){if(!(0,sie.isElementType)(e,"label"))return!1;const r=e.control;return!!(r&&e.contains(r)&&(0,uie.isDisabled)(r))}var Ap={};Object.defineProperty(Ap,"__esModule",{value:!0});Ap.FOCUSABLE_SELECTOR=void 0;const fie=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");Ap.FOCUSABLE_SELECTOR=fie;Object.defineProperty(zR,"__esModule",{value:!0});zR.isFocusable=vie;var die=Gb,pie=Ap;function vie(e){return!(0,die.isLabelWithInternallyDisabledControl)(e)&&e.matches(pie.FOCUSABLE_SELECTOR)}var WR={};Object.defineProperty(WR,"__esModule",{value:!0});WR.eventWrapper=hie;var mie=da;function hie(e){let r;return(0,mie.getConfig)().eventWrapper(()=>{r=e()}),r}var GR={},nl={};Object.defineProperty(nl,"__esModule",{value:!0});nl.TEXT_NODE=void 0;nl.checkContainerType=Eie;nl.getDocument=gie;nl.getWindowFromNode=bie;nl.jestFakeTimersAreEnabled=yie;nl.TEXT_NODE=3;function yie(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function gie(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function bie(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error(`The given node is not an Element, the node type is: ${typeof e}.`)}function Eie(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError(`Expected container to be an Element, a Document or a DocumentFragment but got ${r(e)}.`);function r(a){return typeof a=="object"?a===null?"null":a.constructor.name:typeof a}}Object.defineProperty(GR,"__esModule",{value:!0});GR.isVisible=wie;var Cie=nl;function wie(e){const r=(0,Cie.getWindowFromNode)(e);for(let o=e;(a=o)!=null&&a.ownerDocument;o=o.parentElement){var a;if(r.getComputedStyle(o).display==="none")return!1}return!0}var YR={};Object.defineProperty(YR,"__esModule",{value:!0});YR.isDocument=Sie;function Sie(e){return e.nodeType===e.DOCUMENT_NODE}var KR={};Object.defineProperty(KR,"__esModule",{value:!0});KR.wait=_ie;function _ie(e){return new Promise(r=>setTimeout(()=>r(),e))}var XR={};Object.defineProperty(XR,"__esModule",{value:!0});XR.hasPointerEvents=Tie;var Rie=nl;function Tie(e){const r=(0,Rie.getWindowFromNode)(e);for(let o=e;(a=o)!=null&&a.ownerDocument;o=o.parentElement){var a;const u=r.getComputedStyle(o).pointerEvents;if(u&&!["inherit","unset"].includes(u))return u!=="none"}return!0}var Yb={};Object.defineProperty(Yb,"__esModule",{value:!0});Yb.hasFormSubmit=void 0;const xie=e=>!!(e&&(e.querySelector('input[type="submit"]')||e.querySelector('button[type="submit"]')));Yb.hasFormSubmit=xie;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var r=$R;Object.keys(r).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===r[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return r[_]}})});var a=qR;Object.keys(a).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===a[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return a[_]}})});var o=BR;Object.keys(o).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===o[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return o[_]}})});var u=UR;Object.keys(u).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===u[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return u[_]}})});var f=Wb;Object.keys(f).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===f[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return f[_]}})});var c=Xc;Object.keys(c).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===c[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return c[_]}})});var v=jR;Object.keys(v).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===v[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return v[_]}})});var m=Mp;Object.keys(m).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===m[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return m[_]}})});var h=ps;Object.keys(h).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===h[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return h[_]}})});var C=Hb;Object.keys(C).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===C[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return C[_]}})});var b=zb;Object.keys(b).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===b[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return b[_]}})});var R=VR;Object.keys(R).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===R[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return R[_]}})});var M=ds;Object.keys(M).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===M[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return M[_]}})});var A=HR;Object.keys(A).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===A[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return A[_]}})});var L=zR;Object.keys(L).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===L[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return L[_]}})});var B=Ap;Object.keys(B).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===B[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return B[_]}})});var T=WR;Object.keys(T).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===T[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return T[_]}})});var j=tl;Object.keys(j).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===j[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return j[_]}})});var U=Gb;Object.keys(U).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===U[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return U[_]}})});var Y=GR;Object.keys(Y).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===Y[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return Y[_]}})});var J=Dp;Object.keys(J).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===J[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return J[_]}})});var I=YR;Object.keys(I).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===I[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return I[_]}})});var K=KR;Object.keys(K).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===K[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return K[_]}})});var N=XR;Object.keys(N).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===N[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return N[_]}})});var re=Yb;Object.keys(re).forEach(function(_){_==="default"||_==="__esModule"||_ in e&&e[_]===re[_]||Object.defineProperty(e,_,{enumerable:!0,get:function(){return re[_]}})})})(bn);var Qc={};Object.defineProperty(Qc,"__esModule",{value:!0});Qc.hover=Oie;Qc.unhover=Mie;var Ua=da,ia=bn;function v$(e){const r=[e];let a=e;for(;(a=a.parentElement)!=null;)r.push(a);return r}function Oie(e,r,{skipPointerEventsCheck:a=!1}={}){if(!a&&!(0,ia.hasPointerEvents)(e))throw new Error('unable to hover element as it has or inherits pointer-events set to "none".');if((0,ia.isLabelWithInternallyDisabledControl)(e))return;const o=v$(e).reverse();Ua.fireEvent.pointerOver(e,r);for(const u of o)Ua.fireEvent.pointerEnter(u,r);if(!(0,ia.isDisabled)(e)){Ua.fireEvent.mouseOver(e,(0,ia.getMouseEventOptions)("mouseover",r));for(const u of o)Ua.fireEvent.mouseEnter(u,(0,ia.getMouseEventOptions)("mouseenter",r))}Ua.fireEvent.pointerMove(e,r),(0,ia.isDisabled)(e)||Ua.fireEvent.mouseMove(e,(0,ia.getMouseEventOptions)("mousemove",r))}function Mie(e,r,{skipPointerEventsCheck:a=!1}={}){if(!a&&!(0,ia.hasPointerEvents)(e))throw new Error('unable to unhover element as it has or inherits pointer-events set to "none".');if((0,ia.isLabelWithInternallyDisabledControl)(e))return;const o=v$(e);Ua.fireEvent.pointerMove(e,r),(0,ia.isDisabled)(e)||Ua.fireEvent.mouseMove(e,(0,ia.getMouseEventOptions)("mousemove",r)),Ua.fireEvent.pointerOut(e,r);for(const u of o)Ua.fireEvent.pointerLeave(u,r);if(!(0,ia.isDisabled)(e)){Ua.fireEvent.mouseOut(e,(0,ia.getMouseEventOptions)("mouseout",r));for(const u of o)Ua.fireEvent.mouseLeave(u,(0,ia.getMouseEventOptions)("mouseleave",r))}}var Pp={};Object.defineProperty(Pp,"__esModule",{value:!0});Pp.blur=Die;var FS=bn;function Die(e){!(0,FS.isFocusable)(e)||!((0,FS.getActiveElement)(e.ownerDocument)===e)||(0,FS.eventWrapper)(()=>e.blur())}var Jc={};Object.defineProperty(Jc,"__esModule",{value:!0});Jc.focus=Aie;var jS=bn;function Aie(e){!(0,jS.isFocusable)(e)||(0,jS.getActiveElement)(e.ownerDocument)===e||(0,jS.eventWrapper)(()=>e.focus())}Object.defineProperty(fs,"__esModule",{value:!0});fs.click=B_;fs.dblClick=$ie;var Wr=da,Un=bn,m$=Qc,Pie=Pp,Lh=Jc;function kie(e){const r=e.ownerDocument.activeElement;return r&&r!==e.ownerDocument.body&&r!==e?r:null}function Iie(e,r,{clickCount:a}){(0,Un.isLabelWithInternallyDisabledControl)(e)||(Wr.fireEvent.pointerDown(e,r),Wr.fireEvent.mouseDown(e,(0,Un.getMouseEventOptions)("mousedown",r,a)),Wr.fireEvent.pointerUp(e,r),Wr.fireEvent.mouseUp(e,(0,Un.getMouseEventOptions)("mouseup",r,a)),QR(e,(0,Un.getMouseEventOptions)("click",r,a)),e.control&&(0,Lh.focus)(e.control))}function Lie(e,r,{clickCount:a}){Wr.fireEvent.pointerDown(e,r),e.disabled||Wr.fireEvent.mouseDown(e,(0,Un.getMouseEventOptions)("mousedown",r,a)),(0,Lh.focus)(e),Wr.fireEvent.pointerUp(e,r),e.disabled||(Wr.fireEvent.mouseUp(e,(0,Un.getMouseEventOptions)("mouseup",r,a)),QR(e,(0,Un.getMouseEventOptions)("click",r,a)))}function TP(e,r,{clickCount:a}){const o=kie(e);if(Wr.fireEvent.pointerDown(e,r),!(0,Un.isDisabled)(e)&&Wr.fireEvent.mouseDown(e,(0,Un.getMouseEventOptions)("mousedown",r,a))){const f=Nie(e,Un.isFocusable);o&&!f?(0,Pie.blur)(o):f&&(0,Lh.focus)(f)}if(Wr.fireEvent.pointerUp(e,r),!(0,Un.isDisabled)(e)){Wr.fireEvent.mouseUp(e,(0,Un.getMouseEventOptions)("mouseup",r,a)),QR(e,(0,Un.getMouseEventOptions)("click",r,a));const u=e.closest("label");u!=null&&u.control&&(0,Lh.focus)(u.control)}}function Nie(e,r){let a=e;do{if(r(a))return a;a=a.parentElement}while(a&&a!==e.ownerDocument.body)}function B_(e,r,{skipHover:a=!1,clickCount:o=0,skipPointerEventsCheck:u=!1}={}){if(!u&&!(0,Un.hasPointerEvents)(e))throw new Error('unable to click element as it has or inherits pointer-events set to "none".');a||(0,m$.hover)(e,r,{skipPointerEventsCheck:!0}),(0,Un.isElementType)(e,"label")?Iie(e,r,{clickCount:o}):(0,Un.isElementType)(e,"input")?e.type==="checkbox"||e.type==="radio"?Lie(e,r,{clickCount:o}):TP(e,r,{clickCount:o}):TP(e,r,{clickCount:o})}function QR(e,r){r.button===2?Wr.fireEvent.contextMenu(e,r):Wr.fireEvent.click(e,r)}function $ie(e,r,{skipPointerEventsCheck:a=!1}={}){if(!a&&!(0,Un.hasPointerEvents)(e))throw new Error('unable to double-click element as it has or inherits pointer-events set to "none".');(0,m$.hover)(e,r,{skipPointerEventsCheck:a}),B_(e,r,{skipHover:!0,clickCount:0,skipPointerEventsCheck:a}),B_(e,r,{skipHover:!0,clickCount:1,skipPointerEventsCheck:a}),Wr.fireEvent.dblClick(e,(0,Un.getMouseEventOptions)("dblclick",r,2))}var Kb={},JR={},ZR={},Xb={},e1={};Object.defineProperty(e1,"__esModule",{value:!0});e1.getNextKeyDef=qie;var Nh;(function(e){e["{"]="}",e["["]="]"})(Nh||(Nh={}));var U_;(function(e){e.alt="alt",e.ctrl="ctrl",e.meta="meta",e.shift="shift"})(U_||(U_={}));var F_;(function(e){e.ctrl="Control",e.del="Delete",e.esc="Escape",e.space=" "})(F_||(F_={}));function qie(e,r){var a;const{type:o,descriptor:u,consumedLength:f,releasePrevious:c,releaseSelf:v,repeat:m}=Bie(e);return{keyDef:(a=r.keyboardMap.find(C=>{if(o==="["){var b;return((b=C.code)==null?void 0:b.toLowerCase())===u.toLowerCase()}else if(o==="{"){var R;const M=Vie(u);return((R=C.key)==null?void 0:R.toLowerCase())===M.toLowerCase()}return C.key===u}))!=null?a:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:u},consumedLength:f,releasePrevious:c,releaseSelf:v,repeat:m}}function Bie(e){let r=0;const a=e[r]in Nh?e[r]:"";r+=a.length;const o=a?e.match(new RegExp(`^\\${a}+`))[0].length:0,f=o===2||a==="{"&&o>3?"":a;return{type:f,...f===""?Uie(e,r):Fie(e,r,f)}}function Uie(e,r){const a=e[r];return h$(a,e,r),r+=a.length,{consumedLength:r,descriptor:a,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Fie(e,r,a){var o,u,f;const c=e[r]==="/"?"/":"";r+=c.length;const v=(o=e.slice(r).match(/^\w+/))==null?void 0:o[0];h$(v,e,r),r+=v.length;const m=(u=(f=e.slice(r).match(/^>\d+/))==null?void 0:f[0])!=null?u:"";r+=m.length;const h=e[r]==="/"||!m&&e[r]===">"?e[r]:"";r+=h.length;const C=Nh[a],b=e[r]===C?C:"";if(!b)throw new Error(g$([!m&&"repeat modifier",!h&&"release modifier",`"${C}"`].filter(Boolean).join(" or "),e[r],e));return r+=b.length,{consumedLength:r,descriptor:v,releasePrevious:!!c,repeat:m?Math.max(Number(m.substr(1)),1):1,releaseSelf:jie(a,v,h,m)}}function h$(e,r,a){if(!e)throw new Error(g$("key descriptor",r[a],r))}function y$(e,r){return e[r]}function jie(e,r,a,o){return a?a==="/":!(o||e==="{"&&y$(U_,r.toLowerCase()))}function Vie(e){var r;return(r=y$(F_,e))!=null?r:e}function g$(e,r,a){return`Expected ${e} but found "${r??""}" in "${a}"
|
|
300
|
+
See https://github.com/testing-library/user-event/blob/main/README.md#keyboardtext-options
|
|
301
|
+
for more information about how userEvent parses your input.`}var wr={},Qb={};Object.defineProperty(Qb,"__esModule",{value:!0});Qb.keydownBehavior=void 0;var VS=bn;const Hie=[{matches:(e,r)=>(e.key==="ArrowLeft"||e.key==="ArrowRight")&&(0,VS.isElementType)(r,["input","textarea"]),handle:(e,r)=>{var a;const{selectionStart:o,selectionEnd:u}=(0,VS.getSelectionRange)(r),f=e.key==="ArrowLeft"?-1:1,c=(a=o===u?(o??0)+f:f<0?o:u)!=null?a:0;(0,VS.setSelectionRange)(r,c,c)}}];Qb.keydownBehavior=Hie;var Jb={},Zb={},t1={};Object.defineProperty(t1,"__esModule",{value:!0});t1.carryValue=zie;var xP=bn;function zie(e,r,a){const o=(0,xP.getValue)(e);r.carryValue=o!==a&&o===""&&(0,xP.hasUnreliableEmptyValue)(e)?a:void 0}var n1={};Object.defineProperty(n1,"__esModule",{value:!0});n1.fireChangeForInputTimeIfValid=Yie;var Wie=da,Gie=bn;function Yie(e,r,a){(0,Gie.isValidInputTimeValue)(e,a)&&r!==a&&Wie.fireEvent.change(e,{target:{value:a}})}var r1={};Object.defineProperty(r1,"__esModule",{value:!0});r1.fireInputEvent=Kie;var b$=da,Ku=bn;function Kie(e,{newValue:r,newSelectionStart:a,eventOverrides:o}){if((0,Ku.isContentEditable)(e))OP(e,"textContent",r);else if((0,Ku.isElementType)(e,["input","textarea"]))OP(e,"value",r);else throw new Error("Invalid Element");Xie(e,a),b$.fireEvent.input(e,{...o}),Qie(e,r,a)}function Xie(e,r){(0,Ku.setSelectionRange)(e,r,r)}function Qie(e,r,a){const o=(0,Ku.getValue)(e);if(!(o===""&&(0,Ku.hasUnreliableEmptyValue)(e))&&o===r){const{selectionStart:f}=(0,Ku.getSelectionRange)(e);f===o.length&&(0,Ku.setSelectionRange)(e,a,a)}}const eh=Symbol("initial input value/textContent"),HS=Symbol("onBlur");function OP(e,r,a){const o=Object.getOwnPropertyDescriptor(e,r),u=Object.getOwnPropertyDescriptor(e.constructor.prototype,r);if(o&&u&&Object.defineProperty(e,r,u),e[eh]===void 0&&(e[eh]=String(e[r])),e[r]=a,!e[HS]){var f;(f=e.ownerDocument.defaultView)==null||f.addEventListener("blur",e[HS]=()=>{const c=e[eh];delete e[HS],delete e[eh],String(e[r])!==c&&b$.fireEvent.change(e)},{capture:!0,once:!0})}o&&Object.defineProperty(e,r,o)}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var r=t1;Object.keys(r).forEach(function(u){u==="default"||u==="__esModule"||u in e&&e[u]===r[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return r[u]}})});var a=n1;Object.keys(a).forEach(function(u){u==="default"||u==="__esModule"||u in e&&e[u]===a[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return a[u]}})});var o=r1;Object.keys(o).forEach(function(u){u==="default"||u==="__esModule"||u in e&&e[u]===o[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return o[u]}})})})(Zb);Object.defineProperty(Jb,"__esModule",{value:!0});Jb.keydownBehavior=void 0;var Ba=bn,MP=Zb;const Jie=[{matches:(e,r)=>(e.key==="Home"||e.key==="End")&&((0,Ba.isElementType)(r,["input","textarea"])||(0,Ba.isContentEditable)(r)),handle:(e,r)=>{if(e.key==="Home")(0,Ba.setSelectionRange)(r,0,0);else{var a,o;const u=(a=(o=(0,Ba.getValue)(r))==null?void 0:o.length)!=null?a:0;(0,Ba.setSelectionRange)(r,u,u)}}},{matches:(e,r)=>(e.key==="PageUp"||e.key==="PageDown")&&(0,Ba.isElementType)(r,["input"]),handle:(e,r)=>{if(e.key==="PageUp")(0,Ba.setSelectionRange)(r,0,0);else{var a,o;const u=(a=(o=(0,Ba.getValue)(r))==null?void 0:o.length)!=null?a:0;(0,Ba.setSelectionRange)(r,u,u)}}},{matches:(e,r)=>e.key==="Delete"&&(0,Ba.isEditable)(r)&&!(0,Ba.isCursorAtEnd)(r),handle:(e,r,a,o)=>{const{newValue:u,newSelectionStart:f}=(0,Ba.calculateNewValue)("",r,o.carryValue,void 0,"forward");(0,MP.fireInputEvent)(r,{newValue:u,newSelectionStart:f,eventOverrides:{inputType:"deleteContentForward"}}),(0,MP.carryValue)(r,o,u)}}];Jb.keydownBehavior=Jie;var e0={};Object.defineProperty(e0,"__esModule",{value:!0});e0.keypressBehavior=void 0;var Zie=da,_c=Zb,Jt=bn;const eoe=[{matches:(e,r)=>{var a;return((a=e.key)==null?void 0:a.length)===1&&(0,Jt.isElementType)(r,"input",{type:"time",readOnly:!1})},handle:(e,r,a,o)=>{var u;let f=e.key;const c=((u=o.carryValue)!=null?u:"")+f,v=(0,Jt.buildTimeValue)(c);(0,Jt.isValidInputTimeValue)(r,v)&&(f=v);const{newValue:m,newSelectionStart:h}=(0,Jt.calculateNewValue)(f,r),C=(0,Jt.getValue)(r);C!==m&&(0,_c.fireInputEvent)(r,{newValue:m,newSelectionStart:h,eventOverrides:{data:e.key,inputType:"insertText"}}),(0,_c.fireChangeForInputTimeIfValid)(r,C,v),o.carryValue=c}},{matches:(e,r)=>{var a;return((a=e.key)==null?void 0:a.length)===1&&(0,Jt.isElementType)(r,"input",{type:"date",readOnly:!1})},handle:(e,r,a,o)=>{var u;let f=e.key;const c=((u=o.carryValue)!=null?u:"")+f,v=(0,Jt.isValidDateValue)(r,c);v&&(f=c);const{newValue:m,newSelectionStart:h}=(0,Jt.calculateNewValue)(f,r);(0,Jt.getValue)(r)!==m&&(0,_c.fireInputEvent)(r,{newValue:m,newSelectionStart:h,eventOverrides:{data:e.key,inputType:"insertText"}}),v&&Zie.fireEvent.change(r,{target:{value:c}}),o.carryValue=c}},{matches:(e,r)=>{var a;return((a=e.key)==null?void 0:a.length)===1&&(0,Jt.isElementType)(r,"input",{type:"number",readOnly:!1})},handle:(e,r,a,o)=>{var u,f,c,v;if(!/[\d.\-e]/.test(e.key))return;const m=(u=(f=o.carryValue)!=null?f:(0,Jt.getValue)(r))!=null?u:"",{newValue:h,newSelectionStart:C}=(0,Jt.calculateNewValue)(e.key,r,m),b=h.split("e",2);if(Number((c=h.match(/-/g))==null?void 0:c.length)>2||Number((v=h.match(/\./g))==null?void 0:v.length)>1||b[1]&&!/^-?\d*$/.test(b[1]))return;(0,_c.fireInputEvent)(r,{newValue:h,newSelectionStart:C,eventOverrides:{data:e.key,inputType:"insertText"}}),(0,Jt.getValue)(r)===h?o.carryValue=void 0:o.carryValue=h}},{matches:(e,r)=>{var a;return((a=e.key)==null?void 0:a.length)===1&&((0,Jt.isElementType)(r,["input","textarea"],{readOnly:!1})&&!(0,Jt.isClickableInput)(r)||(0,Jt.isContentEditable)(r))&&(0,Jt.getSpaceUntilMaxLength)(r)!==0},handle:(e,r)=>{const{newValue:a,newSelectionStart:o}=(0,Jt.calculateNewValue)(e.key,r);(0,_c.fireInputEvent)(r,{newValue:a,newSelectionStart:o,eventOverrides:{data:e.key,inputType:"insertText"}})}},{matches:(e,r)=>e.key==="Enter"&&((0,Jt.isElementType)(r,"textarea",{readOnly:!1})||(0,Jt.isContentEditable)(r))&&(0,Jt.getSpaceUntilMaxLength)(r)!==0,handle:(e,r,a,o)=>{const{newValue:u,newSelectionStart:f}=(0,Jt.calculateNewValue)(`
|
|
302
|
+
`,r),c=(0,Jt.isContentEditable)(r)&&!o.modifiers.shift?"insertParagraph":"insertLineBreak";(0,_c.fireInputEvent)(r,{newValue:u,newSelectionStart:f,eventOverrides:{inputType:c}})}}];e0.keypressBehavior=eoe;var oa={},kp={};Object.defineProperty(kp,"__esModule",{value:!0});kp.getKeyEventProps=toe;kp.getMouseEventProps=noe;function toe(e,r){var a,o;return{key:e.key,code:e.code,altKey:r.modifiers.alt,ctrlKey:r.modifiers.ctrl,metaKey:r.modifiers.meta,shiftKey:r.modifiers.shift,keyCode:(a=e.keyCode)!=null?a:((o=e.key)==null?void 0:o.length)===1?e.key.charCodeAt(0):void 0}}function noe(e){return{altKey:e.modifiers.alt,ctrlKey:e.modifiers.ctrl,metaKey:e.modifiers.meta,shiftKey:e.modifiers.shift}}Object.defineProperty(oa,"__esModule",{value:!0});oa.preKeyupBehavior=oa.preKeydownBehavior=oa.postKeyupBehavior=oa.keyupBehavior=oa.keypressBehavior=oa.keydownBehavior=void 0;var kc=da,ro=bn,t0=kp,DP=Zb;const E$={Alt:"alt",Control:"ctrl",Shift:"shift",Meta:"meta"},roe=[...Object.entries(E$).map(([e,r])=>({matches:a=>a.key===e,handle:(a,o,u,f)=>{f.modifiers[r]=!0}})),{matches:e=>e.key==="AltGraph",handle:(e,r,a,o)=>{var u;const f=(u=a.keyboardMap.find(c=>c.key==="Control"))!=null?u:{key:"Control",code:"Control"};kc.fireEvent.keyDown(r,(0,t0.getKeyEventProps)(f,o))}}];oa.preKeydownBehavior=roe;const aoe=[{matches:e=>e.key==="CapsLock",handle:(e,r,a,o)=>{o.modifiers.caps=!o.modifiers.caps}},{matches:(e,r)=>e.key==="Backspace"&&(0,ro.isEditable)(r)&&!(0,ro.isCursorAtStart)(r),handle:(e,r,a,o)=>{const{newValue:u,newSelectionStart:f}=(0,ro.calculateNewValue)("",r,o.carryValue,void 0,"backward");(0,DP.fireInputEvent)(r,{newValue:u,newSelectionStart:f,eventOverrides:{inputType:"deleteContentBackward"}}),(0,DP.carryValue)(r,o,u)}}];oa.keydownBehavior=aoe;const ioe=[{matches:(e,r)=>e.key==="Enter"&&(0,ro.isElementType)(r,"input")&&["checkbox","radio"].includes(r.type),handle:(e,r)=>{const a=r.form;(0,ro.hasFormSubmit)(a)&&kc.fireEvent.submit(a)}},{matches:(e,r)=>e.key==="Enter"&&((0,ro.isClickableInput)(r)||(0,ro.isElementType)(r,"a")&&!!r.href),handle:(e,r,a,o)=>{kc.fireEvent.click(r,(0,t0.getMouseEventProps)(o))}},{matches:(e,r)=>e.key==="Enter"&&(0,ro.isElementType)(r,"input"),handle:(e,r)=>{const a=r.form;a&&(a.querySelectorAll("input").length===1||(0,ro.hasFormSubmit)(a))&&kc.fireEvent.submit(a)}}];oa.keypressBehavior=ioe;const ooe=[...Object.entries(E$).map(([e,r])=>({matches:a=>a.key===e,handle:(a,o,u,f)=>{f.modifiers[r]=!1}}))];oa.preKeyupBehavior=ooe;const loe=[{matches:(e,r)=>e.key===" "&&(0,ro.isClickableInput)(r),handle:(e,r,a,o)=>{kc.fireEvent.click(r,(0,t0.getMouseEventProps)(o))}}];oa.keyupBehavior=loe;const uoe=[{matches:e=>e.key==="AltGraph",handle:(e,r,a,o)=>{var u;const f=(u=a.keyboardMap.find(c=>c.key==="Control"))!=null?u:{key:"Control",code:"Control"};kc.fireEvent.keyUp(r,(0,t0.getKeyEventProps)(f,o))}}];oa.postKeyupBehavior=uoe;Object.defineProperty(wr,"__esModule",{value:!0});wr.replaceBehavior=wr.preKeyupBehavior=wr.preKeydownBehavior=wr.postKeyupBehavior=wr.keyupBehavior=wr.keypressBehavior=wr.keydownBehavior=void 0;var AP=bn,soe=n0(Qb),coe=n0(Jb),foe=n0(e0),Zc=n0(oa);function C$(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,a=new WeakMap;return(C$=function(o){return o?a:r})(e)}function n0(e,r){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var a=C$(r);if(a&&a.has(e))return a.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if(f!=="default"&&Object.prototype.hasOwnProperty.call(e,f)){var c=u?Object.getOwnPropertyDescriptor(e,f):null;c&&(c.get||c.set)?Object.defineProperty(o,f,c):o[f]=e[f]}return o.default=e,a&&a.set(e,o),o}const doe=[{matches:(e,r)=>e.key==="selectall"&&(0,AP.isElementType)(r,["input","textarea"]),handle:(e,r,a,o)=>{var u;(0,AP.setSelectionRange)(r,0,((u=o.carryValue)!=null?u:r.value).length)}}];wr.replaceBehavior=doe;const poe=[...Zc.preKeydownBehavior];wr.preKeydownBehavior=poe;const voe=[...soe.keydownBehavior,...coe.keydownBehavior,...Zc.keydownBehavior];wr.keydownBehavior=voe;const moe=[...Zc.keypressBehavior,...foe.keypressBehavior];wr.keypressBehavior=moe;const hoe=[...Zc.preKeyupBehavior];wr.preKeyupBehavior=hoe;const yoe=[...Zc.keyupBehavior];wr.keyupBehavior=yoe;const goe=[...Zc.postKeyupBehavior];wr.postKeyupBehavior=goe;Object.defineProperty(Xb,"__esModule",{value:!0});Xb.keyboardImplementation=_$;Xb.releaseAllKeys=Coe;var a1=da,w$=bn,boe=e1,Zu=Eoe(wr),i1=kp;function S$(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,a=new WeakMap;return(S$=function(o){return o?a:r})(e)}function Eoe(e,r){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var a=S$(r);if(a&&a.has(e))return a.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if(f!=="default"&&Object.prototype.hasOwnProperty.call(e,f)){var c=u?Object.getOwnPropertyDescriptor(e,f):null;c&&(c.get||c.set)?Object.defineProperty(o,f,c):o[f]=e[f]}return o.default=e,a&&a.set(e,o),o}async function _$(e,r,a){var o;const{document:u}=r,f=()=>R$(u),{keyDef:c,consumedLength:v,releasePrevious:m,releaseSelf:h,repeat:C}=(o=a.repeatKey)!=null?o:(0,boe.getNextKeyDef)(e,r);if(!es(Zu.replaceBehavior,c,f(),r,a)){const R=a.pressed.find(M=>M.keyDef===c);if(R&&!a.repeatKey&&j_(c,f,r,a,R.unpreventedDefault),!m){const M=woe(c,f,r,a);M&&_oe(c,a)&&Soe(c,f,r,a),h&&C<=1&&j_(c,f,r,a,M)}}if(C>1?a.repeatKey={consumedLength:0,keyDef:c,releasePrevious:m,releaseSelf:h,repeat:C-1}:delete a.repeatKey,e.length>v||C>1)return r.delay>0&&await(0,w$.wait)(r.delay),_$(e.slice(v),r,a)}function R$(e){var r;return(r=(0,w$.getActiveElement)(e))!=null?r:e.body}function Coe(e,r){const a=()=>R$(e.document);for(const o of r.pressed)j_(o.keyDef,a,e,r,o.unpreventedDefault)}function woe(e,r,a,o){const u=r();u!==o.activeElement&&(o.carryValue=void 0,o.carryChar=""),o.activeElement=u,es(Zu.preKeydownBehavior,e,u,a,o);const f=a1.fireEvent.keyDown(u,(0,i1.getKeyEventProps)(e,o));return o.pressed.push({keyDef:e,unpreventedDefault:f}),f&&es(Zu.keydownBehavior,e,r(),a,o),f}function Soe(e,r,a,o){const u=r();a1.fireEvent.keyPress(u,(0,i1.getKeyEventProps)(e,o))&&es(Zu.keypressBehavior,e,r(),a,o)}function j_(e,r,a,o,u){const f=r();es(Zu.preKeyupBehavior,e,f,a,o);const c=a1.fireEvent.keyUp(f,(0,i1.getKeyEventProps)(e,o));u&&c&&es(Zu.keyupBehavior,e,r(),a,o),o.pressed=o.pressed.filter(v=>v.keyDef!==e),es(Zu.postKeyupBehavior,e,f,a,o)}function es(e,r,a,o,u){const f=e.find(c=>c.matches(r,a,o,u));return f&&f.handle(r,a,o,u),!!f}function _oe(e,r){var a;return(((a=e.key)==null?void 0:a.length)===1||e.key==="Enter")&&!r.modifiers.ctrl&&!r.modifiers.alt}var r0={},Ip={};Object.defineProperty(Ip,"__esModule",{value:!0});Ip.DOM_KEY_LOCATION=void 0;let V_;Ip.DOM_KEY_LOCATION=V_;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(V_||(Ip.DOM_KEY_LOCATION=V_={}));Object.defineProperty(r0,"__esModule",{value:!0});r0.defaultKeyMap=void 0;var no=Ip;const Roe=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,r)=>({code:`Digit${r}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:no.DOM_KEY_LOCATION.LEFT,keyCode:18},{code:"AltRight",key:"Alt",location:no.DOM_KEY_LOCATION.RIGHT,keyCode:18},{code:"ShiftLeft",key:"Shift",location:no.DOM_KEY_LOCATION.LEFT,keyCode:16},{code:"ShiftRight",key:"Shift",location:no.DOM_KEY_LOCATION.RIGHT,keyCode:16},{code:"ControlLeft",key:"Control",location:no.DOM_KEY_LOCATION.LEFT,keyCode:17},{code:"ControlRight",key:"Control",location:no.DOM_KEY_LOCATION.RIGHT,keyCode:17},{code:"MetaLeft",key:"Meta",location:no.DOM_KEY_LOCATION.LEFT,keyCode:93},{code:"MetaRight",key:"Meta",location:no.DOM_KEY_LOCATION.RIGHT,keyCode:93},{code:"OSLeft",key:"OS",location:no.DOM_KEY_LOCATION.LEFT,keyCode:91},{code:"OSRight",key:"OS",location:no.DOM_KEY_LOCATION.RIGHT,keyCode:91},{code:"CapsLock",key:"CapsLock",keyCode:20},{code:"Backspace",key:"Backspace",keyCode:8},{code:"Enter",key:"Enter",keyCode:13},{code:"Escape",key:"Escape",keyCode:27},{code:"ArrowUp",key:"ArrowUp",keyCode:38},{code:"ArrowDown",key:"ArrowDown",keyCode:40},{code:"ArrowLeft",key:"ArrowLeft",keyCode:37},{code:"ArrowRight",key:"ArrowRight",keyCode:39},{code:"Home",key:"Home",keyCode:36},{code:"End",key:"End",keyCode:35},{code:"Delete",key:"Delete",keyCode:46},{code:"PageUp",key:"PageUp",keyCode:33},{code:"PageDown",key:"PageDown",keyCode:34}];r0.defaultKeyMap=Roe;var a0={};Object.defineProperty(a0,"__esModule",{value:!0});a0.specialCharMap=void 0;const Toe={arrowLeft:"{arrowleft}",arrowRight:"{arrowright}",arrowDown:"{arrowdown}",arrowUp:"{arrowup}",enter:"{enter}",escape:"{esc}",delete:"{del}",backspace:"{backspace}",home:"{home}",end:"{end}",selectAll:"{selectall}",space:"{space}",whitespace:" ",pageUp:"{pageUp}",pageDown:"{pageDown}"};a0.specialCharMap=Toe;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.keyboard=f,e.keyboardImplementationWrapper=c,Object.defineProperty(e,"specialCharMap",{enumerable:!0,get:function(){return u.specialCharMap}});var r=da,a=Xb,o=r0,u=a0;function f(m,h){var C;const{promise:b,state:R}=c(m,h);return((C=h==null?void 0:h.delay)!=null?C:0)>0?(0,r.getConfig)().asyncWrapper(()=>b.then(()=>R)):(b.catch(console.error),R)}function c(m,h={}){const{keyboardState:C=v(),delay:b=0,document:R=document,autoModify:M=!1,keyboardMap:A=o.defaultKeyMap}=h,L={delay:b,document:R,autoModify:M,keyboardMap:A};return{promise:(0,a.keyboardImplementation)(m,L,C),state:C,releaseAllKeys:()=>(0,a.releaseAllKeys)(L,C)}}function v(){return{activeElement:null,pressed:[],carryChar:"",modifiers:{alt:!1,caps:!1,ctrl:!1,meta:!1,shift:!1}}}})(ZR);Object.defineProperty(JR,"__esModule",{value:!0});JR.typeImplementation=Moe;var th=bn,xoe=fs,Ooe=ZR;async function Moe(e,r,{delay:a,skipClick:o=!1,skipAutoClose:u=!1,initialSelectionStart:f=void 0,initialSelectionEnd:c=void 0}){if(e.disabled)return;o||(0,xoe.click)(e);const v=()=>(0,th.getActiveElement)(e.ownerDocument),m=(0,th.getValue)(v()),{selectionStart:h,selectionEnd:C}=(0,th.getSelectionRange)(e);m!=null&&(h===null||h===0)&&(C===null||C===0)&&(0,th.setSelectionRange)(v(),f??m.length,c??m.length);const{promise:b,releaseAllKeys:R}=(0,Ooe.keyboardImplementationWrapper)(r,{delay:a,document:e.ownerDocument});return a>0&&await b,u||R(),b}Object.defineProperty(Kb,"__esModule",{value:!0});Kb.type=Aoe;var Doe=da,PP=JR;function Aoe(e,r,{delay:a=0,...o}={}){return a>0?(0,Doe.getConfig)().asyncWrapper(()=>(0,PP.typeImplementation)(e,r,{delay:a,...o})):void(0,PP.typeImplementation)(e,r,{delay:a,...o}).catch(console.error)}var o1={};Object.defineProperty(o1,"__esModule",{value:!0});o1.clear=koe;var kP=bn,Poe=Kb;function koe(e){var r,a;if(!(0,kP.isElementType)(e,["input","textarea"]))throw new Error("clear currently only supports input and textarea elements.");if((0,kP.isDisabled)(e))return;const o=e.type;o!=="textarea"&&(e.type="text"),(0,Poe.type)(e,"{selectall}{del}",{delay:0,initialSelectionStart:(r=e.selectionStart)!=null?r:void 0,initialSelectionEnd:(a=e.selectionEnd)!=null?a:void 0}),o!=="textarea"&&(e.type=o)}var l1={};Object.defineProperty(l1,"__esModule",{value:!0});l1.tab=$oe;var nh=da,Jd=bn,Ioe=Jc,Loe=Pp;function Noe(e,r,a,o){if((0,Jd.isDocument)(o)&&(e===0&&r||e===a.length-1&&!r))return o.body;const u=r?e-1:e+1,f=r?a.length-1:0;return a[u]||a[f]}function $oe({shift:e=!1,focusTrap:r}={}){var a,o;const u=(a=(o=r)==null?void 0:o.ownerDocument)!=null?a:document,f=(0,Jd.getActiveElement)(u);r||(r=u);const c=r.querySelectorAll(Jd.FOCUSABLE_SELECTOR),v=Array.from(c).filter(T=>T===f||T.getAttribute("tabindex")!=="-1"&&!(0,Jd.isDisabled)(T)&&(0,Jd.isVisible)(T));if(v.length===0)return;const m=v.map((T,j)=>({el:T,idx:j})).sort((T,j)=>{if(f&&f.getAttribute("tabindex")==="-1")return T.idx-j.idx;const U=Number(T.el.getAttribute("tabindex")),Y=Number(j.el.getAttribute("tabindex")),J=U-Y;return J===0?T.idx-j.idx:J}).map(({el:T})=>T),h={};let C=[];m.forEach(T=>{const j=T;if(j.type==="radio"&&j.name){const U=f;if(U&&U.type===j.type&&U.name===j.name){j===U&&C.push(j);return}if(j.checked){C=C.filter(Y=>Y.type!==j.type||Y.name!==j.name),C.push(j),h[j.name]=j;return}if(typeof h[j.name]<"u")return}C.push(j)});const b=C.findIndex(T=>T===f),R=Noe(b,e,C,r),M={key:"Shift",keyCode:16,shiftKey:!0},A={key:"Tab",keyCode:9,shiftKey:e};let L=!0;f&&(e&&nh.fireEvent.keyDown(f,{...M}),L=nh.fireEvent.keyDown(f,{...A}));const B=!L&&f?f:R;L&&(R===u.body?f&&(0,Loe.blur)(f):(0,Ioe.focus)(R)),nh.fireEvent.keyUp(B,{...A}),e&&nh.fireEvent.keyUp(B,{...M,shiftKey:!1})}var u1={};Object.defineProperty(u1,"__esModule",{value:!0});u1.upload=Foe;var zS=da,qoe=fs,Boe=Pp,Uoe=Jc,WS=bn;function Foe(e,r,a,{applyAccept:o=!1}={}){var u;const f=(0,WS.isElementType)(e,"label")?e.control:e;if(!f||!(0,WS.isElementType)(f,"input",{type:"file"}))throw new TypeError(`The ${f===e?"given":"associated"} ${f==null?void 0:f.tagName} element does not accept file uploads`);if((0,WS.isDisabled)(e))return;(0,qoe.click)(e,a==null?void 0:a.clickInit);const c=(Array.isArray(r)?r:[r]).filter(m=>!o||joe(m,f.accept)).slice(0,f.multiple?void 0:1);if((0,Boe.blur)(e),(0,Uoe.focus)(e),c.length===((u=f.files)==null?void 0:u.length)&&c.every((m,h)=>{var C;return m===((C=f.files)==null?void 0:C.item(h))}))return;const v={...c,length:c.length,item:m=>c[m],[Symbol.iterator](){let m=0;return{next:()=>({done:m>=c.length,value:c[m++]})}}};(0,zS.fireEvent)(f,(0,zS.createEvent)("input",f,{target:{files:v},bubbles:!0,cancelable:!1,composed:!0})),zS.fireEvent.change(f,{target:{files:v},...a==null?void 0:a.changeInit})}function joe(e,r){if(!r)return!0;const a=["audio/*","image/*","video/*"];return r.split(",").some(o=>o.startsWith(".")?e.name.endsWith(o):a.includes(o)?e.type.startsWith(o.substr(0,o.length-1)):e.type===o)}var Vc={};Object.defineProperty(Vc,"__esModule",{value:!0});Vc.selectOptions=Vc.deselectOptions=void 0;var Ht=da,Kd=bn,IP=fs,LP=Jc,NP=Qc;function T$(e,r,a,o,{skipPointerEventsCheck:u=!1}={}){if(!e&&!r.multiple)throw(0,Ht.getConfig)().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",r);const f=Array.isArray(a)?a:[a],c=Array.from(r.querySelectorAll('option, [role="option"]')),v=f.map(h=>{if(typeof h!="string"&&c.includes(h))return h;{const C=c.find(b=>b.value===h||b.innerHTML===h);if(C)return C;throw(0,Ht.getConfig)().getElementError(`Value "${String(h)}" not found in options`,r)}}).filter(h=>!(0,Kd.isDisabled)(h));if((0,Kd.isDisabled)(r)||!v.length)return;if((0,Kd.isElementType)(r,"select"))if(r.multiple)for(const h of v){const C=u?!0:(0,Kd.hasPointerEvents)(h);C&&(Ht.fireEvent.pointerOver(h,o),Ht.fireEvent.pointerEnter(r,o),Ht.fireEvent.mouseOver(h),Ht.fireEvent.mouseEnter(r),Ht.fireEvent.pointerMove(h,o),Ht.fireEvent.mouseMove(h,o),Ht.fireEvent.pointerDown(h,o),Ht.fireEvent.mouseDown(h,o)),(0,LP.focus)(r),C&&(Ht.fireEvent.pointerUp(h,o),Ht.fireEvent.mouseUp(h,o)),m(h),C&&Ht.fireEvent.click(h,o)}else if(v.length===1){const h=u?!0:(0,Kd.hasPointerEvents)(r);h?(0,IP.click)(r,o,{skipPointerEventsCheck:u}):(0,LP.focus)(r),m(v[0]),h&&(Ht.fireEvent.pointerOver(r,o),Ht.fireEvent.pointerEnter(r,o),Ht.fireEvent.mouseOver(r),Ht.fireEvent.mouseEnter(r),Ht.fireEvent.pointerUp(r,o),Ht.fireEvent.mouseUp(r,o),Ht.fireEvent.click(r,o))}else throw(0,Ht.getConfig)().getElementError("Cannot select multiple options on a non-multiple select",r);else if(r.getAttribute("role")==="listbox")v.forEach(h=>{(0,NP.hover)(h,o,{skipPointerEventsCheck:u}),(0,IP.click)(h,o,{skipPointerEventsCheck:u}),(0,NP.unhover)(h,o,{skipPointerEventsCheck:u})});else throw(0,Ht.getConfig)().getElementError("Cannot select options on elements that are neither select nor listbox elements",r);function m(h){h.selected=e,(0,Ht.fireEvent)(r,(0,Ht.createEvent)("input",r,{bubbles:!0,cancelable:!1,composed:!0,...o})),Ht.fireEvent.change(r,o)}}const Voe=T$.bind(null,!0);Vc.selectOptions=Voe;const Hoe=T$.bind(null,!1);Vc.deselectOptions=Hoe;var s1={};Object.defineProperty(s1,"__esModule",{value:!0});s1.paste=Woe;var $P=da,Vo=bn;function zoe(e){return(0,Vo.isElementType)(e,"input")&&!!Vo.editableInputTypes[e.type]||(0,Vo.isElementType)(e,"textarea")}function Woe(e,r,a,{initialSelectionStart:o,initialSelectionEnd:u}={}){if(!zoe(e))throw new TypeError(`The given ${e.tagName} element is currently unsupported.
|
|
303
|
+
A PR extending this implementation would be very much welcome at https://github.com/testing-library/user-event`);if((0,Vo.isDisabled)(e)||((0,Vo.eventWrapper)(()=>e.focus()),e.selectionStart===0&&e.selectionEnd===0&&(0,Vo.setSelectionRange)(e,o??e.value.length,u??e.value.length),$P.fireEvent.paste(e,a),e.readOnly))return;r=r.substr(0,(0,Vo.getSpaceUntilMaxLength)(e));const{newValue:f,newSelectionStart:c}=(0,Vo.calculateNewValue)(r,e);$P.fireEvent.input(e,{inputType:"insertFromPaste",target:{value:f}}),(0,Vo.setSelectionRange)(e,{newSelectionStart:c,selectionEnd:c},{})}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,Object.defineProperty(e,"specialChars",{enumerable:!0,get:function(){return h.specialCharMap}});var r=fs,a=Kb,o=o1,u=l1,f=Qc,c=u1,v=Vc,m=s1,h=ZR,b={click:r.click,dblClick:r.dblClick,type:a.type,clear:o.clear,tab:u.tab,hover:f.hover,unhover:f.unhover,upload:c.upload,selectOptions:v.selectOptions,deselectOptions:v.deselectOptions,paste:m.paste,keyboard:h.keyboard};e.default=b})(l$);const Goe=zh(l$),Yoe=L_;class Koe{constructor(r){this.queryApi=r}}function Xoe(e,r,a){const o=dp(or,a);return e.queryApi.queryByTestId(r,o)}const Qoe=o$;class Joe extends Koe{constructor(r){super(r),this.render=r}}function Zoe(e){return new Joe(e)}const ele=Goe;function tle(){Yoe()}function nle(e){return Zoe(Qoe(e))}function rle(e,r,a,o){const u=dp(or,o),f=void 0;ele.click(e,u,f)}function ale(e,r){return tY(e,he.Delay(()=>he.Using({Dispose(){tle()}},a=>he.Bind(r,o=>he.Return(void 0)))))}const qP=new pR(new Ok(1,[]),new Ul(0,[Nk()]),void 0,!1,!0,!1,new Wu(1,[new iR(ct(),ct())]),oR(1),"InstanceName",Sh.Id,ct());function ile(){const e=new gi(Ak("ProfileId"),oR(1),new Dn(2,[new x(0,[qP])]),new Mt(3,[]),ct(),new rp(0,[])),r=I9(()=>S9(()=>[e,aa()],(a,o)=>z8((u,f,c)=>he.Delay(()=>he.Return(new x(0,[new Lk(u,Sh,QS(2024,1,1),new Wu(2,[QS(2024,1,1)]),void 0,void 0,void 0,void 0,new Ul(0,[Nk()]),void 0,void 0)]))),"mockAccessToken",new Ok(1,[]),a,o),(a,o)=>{}),void 0,[]);return ke.createElement(Z8,{wd:qP,dispatch:r[1]})}const ole=nY("UI Tests",Te(ale("Completing pay setup will send WorkflowSubmitSuccess event",he.Delay(()=>{let e,r=!1;const a=u=>{u.data.type==="workflowSubmitSuccess"&&(r=!0)};window.addEventListener("message",a);const o=nle(ke.createElement(ile,null));return he.Combine((e=Xoe(o,"submit-btn"),e==null?(aY("Could not find submit button"),he.Zero()):(rle(e),he.Zero())),he.Delay(()=>he.Bind(Ho(500),()=>(window.removeEventListener("message",a),oY(r)("Should have got WorkflowSubmitSuccess event"),he.Zero()))))}))));(function(e){return lY(rY(ole))})(typeof process=="object"?process.argv.slice(2):[])});export default lle();
|
|
304
|
+
//# sourceMappingURL=Tests.fs.js.map
|