@apolitical/component-library 1.1.0-beta.1 → 1.1.0-beta.3
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/index.js +62 -62
- package/index.mjs +3850 -3740
- package/layout/page-layout/index.d.ts +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/index.scss +2 -3
package/index.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react"),E=require("react/jsx-runtime"),kc=require("react-dom");function Xb(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const _e=Xb(j);var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Gn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Yb(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var Sm={exports:{}};/*!
|
|
2
2
|
Copyright (c) 2018 Jed Watson.
|
|
3
3
|
Licensed under the MIT License (MIT), see
|
|
4
4
|
http://jedwatson.github.io/classnames
|
|
5
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],a=0;a<arguments.length;a++){var o=arguments[a];if(o){var i=typeof o;if(i==="string"||i==="number")n.push(o);else if(Array.isArray(o)){if(o.length){var s=r.apply(null,o);s&&n.push(s)}}else if(i==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){n.push(o.toString());continue}for(var l in o)t.call(o,l)&&o[l]&&n.push(l)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(xm);var Hb=xm.exports;const te=Gn(Hb),Ub=({element:e="span",showOnFocus:t=!0,children:r,...n})=>j.createElement(e,{...n,className:te("hidden",{"show-on-focus":t})},r),Ye=j.memo(Ub),Gb=({element:e="span",children:t=null,...r})=>j.createElement(e,{...r,"aria-hidden":!0},t),kc=j.memo(Gb),Na=(e,t)=>{const r=j.useRef(!1);j.useEffect(()=>{r.current?e():r.current=!0},t)};function Wb(e,t,r){var n=this,a=j.useRef(null),o=j.useRef(0),i=j.useRef(null),s=j.useRef([]),l=j.useRef(),u=j.useRef(),c=j.useRef(e),d=j.useRef(!0);j.useEffect(function(){c.current=e},[e]);var m=!t&&t!==0&&typeof window<"u";if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var f=!!(r=r||{}).leading,y=!("trailing"in r)||!!r.trailing,v="maxWait"in r,R=v?Math.max(+r.maxWait||0,t):null;j.useEffect(function(){return d.current=!0,function(){d.current=!1}},[]);var h=j.useMemo(function(){var E=function(A){var H=s.current,z=l.current;return s.current=l.current=null,o.current=A,u.current=c.current.apply(z,H)},C=function(A,H){m&&cancelAnimationFrame(i.current),i.current=m?requestAnimationFrame(A):setTimeout(A,H)},S=function(A){if(!d.current)return!1;var H=A-a.current;return!a.current||H>=t||H<0||v&&A-o.current>=R},x=function(A){return i.current=null,y&&s.current?E(A):(s.current=l.current=null,u.current)},w=function A(){var H=Date.now();if(S(H))return x(H);if(d.current){var z=t-(H-a.current),ne=v?Math.min(z,R-(H-o.current)):z;C(A,ne)}},P=function(){var A=Date.now(),H=S(A);if(s.current=[].slice.call(arguments),l.current=n,a.current=A,H){if(!i.current&&d.current)return o.current=a.current,C(w,t),f?E(a.current):u.current;if(v)return C(w,t),E(a.current)}return i.current||C(w,t),u.current};return P.cancel=function(){i.current&&(m?cancelAnimationFrame(i.current):clearTimeout(i.current)),o.current=0,s.current=a.current=l.current=i.current=null},P.isPending=function(){return!!i.current},P.flush=function(){return i.current?x(Date.now()):u.current},P},[f,v,t,R,y,m]);return h}function Cm(e,t,r){var n=r===void 0?{}:r,a=n.leading,o=n.trailing;return Wb(e,t,{maxWait:t,leading:a===void 0||a,trailing:o===void 0||o})}let Rs;const lo=(e=!0,t=!1)=>{if(!e)return;const[r,n]=j.useState(0)||[!1,()=>{}];j.useEffect(()=>(o(),window.addEventListener("resize",i),()=>{clearTimeout(Rs),i.flush(),window.removeEventListener("resize",i)}),[]);const a=()=>window.innerWidth,o=()=>{n(a())},i=Cm(()=>{a()!==r&&(t&&(clearTimeout(Rs),document.body.classList.add("is-resizing"),Rs=setTimeout(()=>{document.body.classList.remove("is-resizing")},550)),o())},500,{leading:!0});return r},Tm=({scrollPosition:e=0,offset:t={down:0,up:10},callbacks:{scrollDown:r=()=>{},scrollUp:n=()=>{}}})=>{if(!window)return;const[a,o]=j.useState({current:0,past:0})||[!1,()=>{}],[i,s]=j.useState({scrollDown:!1,scrollUp:!1})||[!1,()=>{}];j.useEffect(()=>(l(),window.addEventListener("scroll",u),()=>{u.flush(),window.removeEventListener("scroll",u)}),[]);const l=()=>{const c=window.scrollY,d=a.current,m=c-d,f=m>0?"down":"up";if(o({current:c,past:d}),f==="down"){c>=e+t.down&&!i.scrollDown&&(!i.scrollUp||m>t.up)&&(r(),s({scrollUp:!1,scrollDown:!0}));return}Math.abs(m)>=t.up&&!i.scrollUp&&(n(),s({scrollUp:!0,scrollDown:!1}))},u=Cm(()=>{l()},250);return a};var qa={exports:{}};qa.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object GeneratorFunction]",m="[object Map]",f="[object Number]",y="[object Object]",v="[object Promise]",R="[object RegExp]",h="[object Set]",E="[object String]",C="[object Symbol]",S="[object WeakMap]",x="[object ArrayBuffer]",w="[object DataView]",P="[object Float32Array]",A="[object Float64Array]",H="[object Int8Array]",z="[object Int16Array]",ne="[object Int32Array]",ie="[object Uint8Array]",B="[object Uint8ClampedArray]",G="[object Uint16Array]",_e="[object Uint32Array]",pe=/[\\^$.*+?()[\]{}|]/g,ye=/\w*$/,Te=/^\[object .+?Constructor\]$/,Fe=/^(?:0|[1-9]\d*)$/,Z={};Z[o]=Z[i]=Z[x]=Z[w]=Z[s]=Z[l]=Z[P]=Z[A]=Z[H]=Z[z]=Z[ne]=Z[m]=Z[f]=Z[y]=Z[R]=Z[h]=Z[E]=Z[C]=Z[ie]=Z[B]=Z[G]=Z[_e]=!0,Z[u]=Z[c]=Z[S]=!1;var Tt=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,Rt=typeof self=="object"&&self&&self.Object===Object&&self,Oe=Tt||Rt||Function("return this")(),Ke=t&&!t.nodeType&&t,Ie=Ke&&!0&&e&&!e.nodeType&&e,St=Ie&&Ie.exports===Ke;function Pt(p,T){return p.set(T[0],T[1]),p}function At(p,T){return p.add(T),p}function Ot(p,T){for(var M=-1,L=p?p.length:0;++M<L&&T(p[M],M,p)!==!1;);return p}function It(p,T){for(var M=-1,L=T.length,Pe=p.length;++M<L;)p[Pe+M]=T[M];return p}function U(p,T,M,L){var Pe=-1,je=p?p.length:0;for(L&&je&&(M=p[++Pe]);++Pe<je;)M=T(M,p[Pe],Pe,p);return M}function D(p,T){for(var M=-1,L=Array(p);++M<p;)L[M]=T(M);return L}function qe(p,T){return p==null?void 0:p[T]}function Ee(p){var T=!1;if(p!=null&&typeof p.toString!="function")try{T=!!(p+"")}catch{}return T}function Ze(p){var T=-1,M=Array(p.size);return p.forEach(function(L,Pe){M[++T]=[Pe,L]}),M}function ze(p,T){return function(M){return p(T(M))}}function mt(p){var T=-1,M=Array(p.size);return p.forEach(function(L){M[++T]=L}),M}var ot=Array.prototype,Wt=Function.prototype,Mt=Object.prototype,Vt=Oe["__core-js_shared__"],hr=function(){var p=/[^.]+$/.exec(Vt&&Vt.keys&&Vt.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}(),vr=Wt.toString,Xe=Mt.hasOwnProperty,zt=Mt.toString,yr=RegExp("^"+vr.call(Xe).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),br=St?Oe.Buffer:void 0,ht=Oe.Symbol,Ur=Oe.Uint8Array,g=ze(Object.getPrototypeOf,Object),N=Object.create,$=Mt.propertyIsEnumerable,W=ot.splice,ae=Object.getOwnPropertySymbols,le=br?br.isBuffer:void 0,Y=ze(Object.keys,Object),oe=_r(Oe,"DataView"),Re=_r(Oe,"Map"),He=_r(Oe,"Promise"),gr=_r(Oe,"Set"),vn=_r(Oe,"WeakMap"),vt=_r(Object,"create"),as=wr(oe),yn=wr(Re),Zn=wr(He),Gr=wr(gr),Jn=wr(vn),Qn=ht?ht.prototype:void 0,bn=Qn?Qn.valueOf:void 0;function $t(p){var T=-1,M=p?p.length:0;for(this.clear();++T<M;){var L=p[T];this.set(L[0],L[1])}}function ea(){this.__data__=vt?vt(null):{}}function os(p){return this.has(p)&&delete this.__data__[p]}function is(p){var T=this.__data__;if(vt){var M=T[p];return M===n?void 0:M}return Xe.call(T,p)?T[p]:void 0}function ls(p){var T=this.__data__;return vt?T[p]!==void 0:Xe.call(T,p)}function ta(p,T){var M=this.__data__;return M[p]=vt&&T===void 0?n:T,this}$t.prototype.clear=ea,$t.prototype.delete=os,$t.prototype.get=is,$t.prototype.has=ls,$t.prototype.set=ta;function it(p){var T=-1,M=p?p.length:0;for(this.clear();++T<M;){var L=p[T];this.set(L[0],L[1])}}function ss(){this.__data__=[]}function us(p){var T=this.__data__,M=k(T,p);if(M<0)return!1;var L=T.length-1;return M==L?T.pop():W.call(T,M,1),!0}function cs(p){var T=this.__data__,M=k(T,p);return M<0?void 0:T[M][1]}function ra(p){return k(this.__data__,p)>-1}function fs(p,T){var M=this.__data__,L=k(M,p);return L<0?M.push([p,T]):M[L][1]=T,this}it.prototype.clear=ss,it.prototype.delete=us,it.prototype.get=cs,it.prototype.has=ra,it.prototype.set=fs;function kt(p){var T=-1,M=p?p.length:0;for(this.clear();++T<M;){var L=p[T];this.set(L[0],L[1])}}function ds(){this.__data__={hash:new $t,map:new(Re||it),string:new $t}}function ps(p){return qt(this,p).delete(p)}function ms(p){return qt(this,p).get(p)}function hs(p){return qt(this,p).has(p)}function vs(p,T){return qt(this,p).set(p,T),this}kt.prototype.clear=ds,kt.prototype.delete=ps,kt.prototype.get=ms,kt.prototype.has=hs,kt.prototype.set=vs;function Nt(p){this.__data__=new it(p)}function ys(){this.__data__=new it}function bs(p){return this.__data__.delete(p)}function gs(p){return this.__data__.get(p)}function _s(p){return this.__data__.has(p)}function b(p,T){var M=this.__data__;if(M instanceof it){var L=M.__data__;if(!Re||L.length<r-1)return L.push([p,T]),this;M=this.__data__=new kt(L)}return M.set(p,T),this}Nt.prototype.clear=ys,Nt.prototype.delete=bs,Nt.prototype.get=gs,Nt.prototype.has=_s,Nt.prototype.set=b;function I(p,T){var M=xs(p)||$b(p)?D(p.length,String):[],L=M.length,Pe=!!L;for(var je in p)(T||Xe.call(p,je))&&!(Pe&&(je=="length"||Ab(je,L)))&&M.push(je);return M}function O(p,T,M){var L=p[T];(!(Xe.call(p,T)&&Af(L,M))||M===void 0&&!(T in p))&&(p[T]=M)}function k(p,T){for(var M=p.length;M--;)if(Af(p[M][0],T))return M;return-1}function V(p,T){return p&&_n(T,Cs(T),p)}function K(p,T,M,L,Pe,je,Je){var We;if(L&&(We=je?L(p,Pe,je,Je):L(p)),We!==void 0)return We;if(!sa(p))return p;var Mf=xs(p);if(Mf){if(We=Rb(p),!T)return ia(p,We)}else{var Vr=Er(p),$f=Vr==c||Vr==d;if(Nb(p))return gn(p,T);if(Vr==y||Vr==o||$f&&!je){if(Ee(p))return je?p:{};if(We=Sb($f?{}:p),!T)return la(p,V(We,p))}else{if(!Z[Vr])return je?p:{};We=Pb(p,Vr,K,T)}}Je||(Je=new Nt);var kf=Je.get(p);if(kf)return kf;if(Je.set(p,We),!Mf)var Nf=M?En(p):Cs(p);return Ot(Nf||p,function(Ts,ua){Nf&&(ua=Ts,Ts=p[ua]),O(We,ua,K(Ts,T,M,L,ua,p,Je))}),We}function be(p){return sa(p)?N(p):{}}function Ue(p,T,M){var L=T(p);return xs(p)?L:It(L,M(p))}function Ge(p){return zt.call(p)}function Be(p){if(!sa(p)||Ib(p))return!1;var T=If(p)||Ee(p)?yr:Te;return T.test(wr(p))}function Se(p){if(!Pf(p))return Y(p);var T=[];for(var M in Object(p))Xe.call(p,M)&&M!="constructor"&&T.push(M);return T}function gn(p,T){if(T)return p.slice();var M=new p.constructor(p.length);return p.copy(M),M}function Wr(p){var T=new p.constructor(p.byteLength);return new Ur(T).set(new Ur(p)),T}function Es(p,T){var M=T?Wr(p.buffer):p.buffer;return new p.constructor(M,p.byteOffset,p.byteLength)}function na(p,T,M){var L=T?M(Ze(p),!0):Ze(p);return U(L,Pt,new p.constructor)}function aa(p){var T=new p.constructor(p.source,ye.exec(p));return T.lastIndex=p.lastIndex,T}function ws(p,T,M){var L=T?M(mt(p),!0):mt(p);return U(L,At,new p.constructor)}function oa(p){return bn?Object(bn.call(p)):{}}function yt(p,T){var M=T?Wr(p.buffer):p.buffer;return new p.constructor(M,p.byteOffset,p.length)}function ia(p,T){var M=-1,L=p.length;for(T||(T=Array(L));++M<L;)T[M]=p[M];return T}function _n(p,T,M,L){M||(M={});for(var Pe=-1,je=T.length;++Pe<je;){var Je=T[Pe],We=L?L(M[Je],p[Je],Je,M,p):void 0;O(M,Je,We===void 0?p[Je]:We)}return M}function la(p,T){return _n(p,Sf(p),T)}function En(p){return Ue(p,Cs,Sf)}function qt(p,T){var M=p.__data__;return Ob(T)?M[typeof T=="string"?"string":"hash"]:M.map}function _r(p,T){var M=qe(p,T);return Be(M)?M:void 0}var Sf=ae?ze(ae,Object):jb,Er=Ge;(oe&&Er(new oe(new ArrayBuffer(1)))!=w||Re&&Er(new Re)!=m||He&&Er(He.resolve())!=v||gr&&Er(new gr)!=h||vn&&Er(new vn)!=S)&&(Er=function(p){var T=zt.call(p),M=T==y?p.constructor:void 0,L=M?wr(M):void 0;if(L)switch(L){case as:return w;case yn:return m;case Zn:return v;case Gr:return h;case Jn:return S}return T});function Rb(p){var T=p.length,M=p.constructor(T);return T&&typeof p[0]=="string"&&Xe.call(p,"index")&&(M.index=p.index,M.input=p.input),M}function Sb(p){return typeof p.constructor=="function"&&!Pf(p)?be(g(p)):{}}function Pb(p,T,M,L){var Pe=p.constructor;switch(T){case x:return Wr(p);case s:case l:return new Pe(+p);case w:return Es(p,L);case P:case A:case H:case z:case ne:case ie:case B:case G:case _e:return yt(p,L);case m:return na(p,L,M);case f:case E:return new Pe(p);case R:return aa(p);case h:return ws(p,L,M);case C:return oa(p)}}function Ab(p,T){return T=T??a,!!T&&(typeof p=="number"||Fe.test(p))&&p>-1&&p%1==0&&p<T}function Ob(p){var T=typeof p;return T=="string"||T=="number"||T=="symbol"||T=="boolean"?p!=="__proto__":p===null}function Ib(p){return!!hr&&hr in p}function Pf(p){var T=p&&p.constructor,M=typeof T=="function"&&T.prototype||Mt;return p===M}function wr(p){if(p!=null){try{return vr.call(p)}catch{}try{return p+""}catch{}}return""}function Mb(p){return K(p,!0,!0)}function Af(p,T){return p===T||p!==p&&T!==T}function $b(p){return kb(p)&&Xe.call(p,"callee")&&(!$.call(p,"callee")||zt.call(p)==o)}var xs=Array.isArray;function Of(p){return p!=null&&qb(p.length)&&!If(p)}function kb(p){return Bb(p)&&Of(p)}var Nb=le||Db;function If(p){var T=sa(p)?zt.call(p):"";return T==c||T==d}function qb(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=a}function sa(p){var T=typeof p;return!!p&&(T=="object"||T=="function")}function Bb(p){return!!p&&typeof p=="object"}function Cs(p){return Of(p)?I(p):Se(p)}function jb(){return[]}function Db(){return!1}e.exports=Mb})(qa,qa.exports);var Vb=qa.exports;const zb=Gn(Vb);var Xb="Expected a function",Rm="__lodash_hash_undefined__",Sm=1/0,Yb=9007199254740991,Kb="[object Function]",Zb="[object GeneratorFunction]",Jb="[object Symbol]",Qb=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,eg=/^\w*$/,tg=/^\./,rg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ng=/[\\^$.*+?()[\]{}|]/g,ag=/\\(\\)?/g,og=/^\[object .+?Constructor\]$/,ig=/^(?:0|[1-9]\d*)$/,lg=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,sg=typeof self=="object"&&self&&self.Object===Object&&self,Nc=lg||sg||Function("return this")();function ug(e,t){return e==null?void 0:e[t]}function cg(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var fg=Array.prototype,dg=Function.prototype,Pm=Object.prototype,Ss=Nc["__core-js_shared__"],qf=function(){var e=/[^.]+$/.exec(Ss&&Ss.keys&&Ss.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Am=dg.toString,so=Pm.hasOwnProperty,Om=Pm.toString,pg=RegExp("^"+Am.call(so).replace(ng,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bf=Nc.Symbol,mg=fg.splice,hg=Im(Nc,"Map"),Mn=Im(Object,"create"),jf=Bf?Bf.prototype:void 0,Df=jf?jf.toString:void 0;function Or(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function vg(){this.__data__=Mn?Mn(null):{}}function yg(e){return this.has(e)&&delete this.__data__[e]}function bg(e){var t=this.__data__;if(Mn){var r=t[e];return r===Rm?void 0:r}return so.call(t,e)?t[e]:void 0}function gg(e){var t=this.__data__;return Mn?t[e]!==void 0:so.call(t,e)}function _g(e,t){var r=this.__data__;return r[e]=Mn&&t===void 0?Rm:t,this}Or.prototype.clear=vg;Or.prototype.delete=yg;Or.prototype.get=bg;Or.prototype.has=gg;Or.prototype.set=_g;function cn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Eg(){this.__data__=[]}function wg(e){var t=this.__data__,r=uo(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():mg.call(t,r,1),!0}function xg(e){var t=this.__data__,r=uo(t,e);return r<0?void 0:t[r][1]}function Cg(e){return uo(this.__data__,e)>-1}function Tg(e,t){var r=this.__data__,n=uo(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}cn.prototype.clear=Eg;cn.prototype.delete=wg;cn.prototype.get=xg;cn.prototype.has=Cg;cn.prototype.set=Tg;function kr(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Rg(){this.__data__={hash:new Or,map:new(hg||cn),string:new Or}}function Sg(e){return co(this,e).delete(e)}function Pg(e){return co(this,e).get(e)}function Ag(e){return co(this,e).has(e)}function Og(e,t){return co(this,e).set(e,t),this}kr.prototype.clear=Rg;kr.prototype.delete=Sg;kr.prototype.get=Pg;kr.prototype.has=Ag;kr.prototype.set=Og;function Ig(e,t,r){var n=e[t];(!(so.call(e,t)&&Mm(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function uo(e,t){for(var r=e.length;r--;)if(Mm(e[r][0],t))return r;return-1}function Mg(e){if(!Ba(e)||Dg(e))return!1;var t=Ug(e)||cg(e)?pg:og;return t.test(Hg(e))}function $g(e,t,r,n){if(!Ba(e))return e;t=Bg(t,e)?[t]:Ng(t);for(var a=-1,o=t.length,i=o-1,s=e;s!=null&&++a<o;){var l=Fg(t[a]),u=r;if(a!=i){var c=s[l];u=n?n(c,l,s):void 0,u===void 0&&(u=Ba(c)?c:qg(t[a+1])?[]:{})}Ig(s,l,u),s=s[l]}return e}function kg(e){if(typeof e=="string")return e;if(Bc(e))return Df?Df.call(e):"";var t=e+"";return t=="0"&&1/e==-Sm?"-0":t}function Ng(e){return $m(e)?e:Lg(e)}function co(e,t){var r=e.__data__;return jg(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Im(e,t){var r=ug(e,t);return Mg(r)?r:void 0}function qg(e,t){return t=t??Yb,!!t&&(typeof e=="number"||ig.test(e))&&e>-1&&e%1==0&&e<t}function Bg(e,t){if($m(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Bc(e)?!0:eg.test(e)||!Qb.test(e)||t!=null&&e in Object(t)}function jg(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Dg(e){return!!qf&&qf in e}var Lg=qc(function(e){e=Wg(e);var t=[];return tg.test(e)&&t.push(""),e.replace(rg,function(r,n,a,o){t.push(a?o.replace(ag,"$1"):n||r)}),t});function Fg(e){if(typeof e=="string"||Bc(e))return e;var t=e+"";return t=="0"&&1/e==-Sm?"-0":t}function Hg(e){if(e!=null){try{return Am.call(e)}catch{}try{return e+""}catch{}}return""}function qc(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(Xb);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i),i};return r.cache=new(qc.Cache||kr),r}qc.Cache=kr;function Mm(e,t){return e===t||e!==e&&t!==t}var $m=Array.isArray;function Ug(e){var t=Ba(e)?Om.call(e):"";return t==Kb||t==Zb}function Ba(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Gg(e){return!!e&&typeof e=="object"}function Bc(e){return typeof e=="symbol"||Gg(e)&&Om.call(e)==Jb}function Wg(e){return e==null?"":kg(e)}function Vg(e,t,r){return e==null?e:$g(e,t,r)}var zg=Vg;const Xg=Gn(zg),Yg=(e,t)=>{Array.isArray(t)||(t=[t]);const r=zb(e);return t.forEach(({type:n,value:a})=>{Xg(r,n,a)}),r},km=e=>{const t=[];return e.forEach(r=>{const n=parseInt(r);isNaN(n)||t.push(n)}),t.sort((r,n)=>r-n)},Nm=(e,t,r)=>{let n=r.mobile;for(const a in t){const o=parseInt(String(t[a]));if(e>=o)n=r[o];else if(e<o)break}return n};var Au=function(e,t){return Au=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},Au(e,t)};function tt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Au(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var F=function(){return F=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},F.apply(this,arguments)};function nn(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function _t(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}var Ou={exports:{}},se={};/** @license React v16.13.1
|
|
5
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],a=0;a<arguments.length;a++){var o=arguments[a];if(o){var i=typeof o;if(i==="string"||i==="number")n.push(o);else if(Array.isArray(o)){if(o.length){var s=r.apply(null,o);s&&n.push(s)}}else if(i==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){n.push(o.toString());continue}for(var l in o)t.call(o,l)&&o[l]&&n.push(l)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Sm);var Kb=Sm.exports;const Q=Gn(Kb),Zb=({element:e="span",showOnFocus:t=!0,children:r,...n})=>j.createElement(e,{...n,className:Q("hidden",{"show-on-focus":t})},r),Ye=j.memo(Zb),Jb=({element:e="span",children:t=null,...r})=>j.createElement(e,{...r,"aria-hidden":!0},t),Nc=j.memo(Jb),Na=(e,t)=>{const r=j.useRef(!1);j.useEffect(()=>{r.current?e():r.current=!0},t)};function Qb(e,t,r){var n=this,a=j.useRef(null),o=j.useRef(0),i=j.useRef(null),s=j.useRef([]),l=j.useRef(),u=j.useRef(),c=j.useRef(e),f=j.useRef(!0);j.useEffect(function(){c.current=e},[e]);var m=!t&&t!==0&&typeof window<"u";if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var d=!!(r=r||{}).leading,y=!("trailing"in r)||!!r.trailing,v="maxWait"in r,S=v?Math.max(+r.maxWait||0,t):null;j.useEffect(function(){return f.current=!0,function(){f.current=!1}},[]);var h=j.useMemo(function(){var _=function(A){var H=s.current,z=l.current;return s.current=l.current=null,o.current=A,u.current=c.current.apply(z,H)},C=function(A,H){m&&cancelAnimationFrame(i.current),i.current=m?requestAnimationFrame(A):setTimeout(A,H)},R=function(A){if(!f.current)return!1;var H=A-a.current;return!a.current||H>=t||H<0||v&&A-o.current>=S},w=function(A){return i.current=null,y&&s.current?_(A):(s.current=l.current=null,u.current)},x=function A(){var H=Date.now();if(R(H))return w(H);if(f.current){var z=t-(H-a.current),ne=v?Math.min(z,S-(H-o.current)):z;C(A,ne)}},P=function(){var A=Date.now(),H=R(A);if(s.current=[].slice.call(arguments),l.current=n,a.current=A,H){if(!i.current&&f.current)return o.current=a.current,C(x,t),d?_(a.current):u.current;if(v)return C(x,t),_(a.current)}return i.current||C(x,t),u.current};return P.cancel=function(){i.current&&(m?cancelAnimationFrame(i.current):clearTimeout(i.current)),o.current=0,s.current=a.current=l.current=i.current=null},P.isPending=function(){return!!i.current},P.flush=function(){return i.current?w(Date.now()):u.current},P},[d,v,t,S,y,m]);return h}function Rm(e,t,r){var n=r===void 0?{}:r,a=n.leading,o=n.trailing;return Qb(e,t,{maxWait:t,leading:a===void 0||a,trailing:o===void 0||o})}let Ss;const lo=(e=!0,t=!1)=>{if(!e)return;const[r,n]=j.useState(0)||[!1,()=>{}];j.useEffect(()=>(o(),window.addEventListener("resize",i),()=>{clearTimeout(Ss),i.flush(),window.removeEventListener("resize",i)}),[]);const a=()=>window.innerWidth,o=()=>{n(a())},i=Rm(()=>{a()!==r&&(t&&(clearTimeout(Ss),document.body.classList.add("is-resizing"),Ss=setTimeout(()=>{document.body.classList.remove("is-resizing")},550)),o())},500,{leading:!0});return r},Pm=({scrollPosition:e=0,offset:t={down:0,up:10},callbacks:{scrollDown:r=()=>{},scrollUp:n=()=>{}}})=>{if(!window)return;const[a,o]=j.useState({current:0,past:0})||[!1,()=>{}],[i,s]=j.useState({scrollDown:!1,scrollUp:!1})||[!1,()=>{}];j.useEffect(()=>(l(),window.addEventListener("scroll",u),()=>{u.flush(),window.removeEventListener("scroll",u)}),[]);const l=()=>{const c=window.scrollY,f=a.current,m=c-f,d=m>0?"down":"up";if(o({current:c,past:f}),d==="down"){c>=e+t.down&&!i.scrollDown&&(!i.scrollUp||m>t.up)&&(r(),s({scrollUp:!1,scrollDown:!0}));return}Math.abs(m)>=t.up&&!i.scrollUp&&(n(),s({scrollUp:!0,scrollDown:!1}))},u=Rm(()=>{l()},250);return a};var qa={exports:{}};qa.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",f="[object GeneratorFunction]",m="[object Map]",d="[object Number]",y="[object Object]",v="[object Promise]",S="[object RegExp]",h="[object Set]",_="[object String]",C="[object Symbol]",R="[object WeakMap]",w="[object ArrayBuffer]",x="[object DataView]",P="[object Float32Array]",A="[object Float64Array]",H="[object Int8Array]",z="[object Int16Array]",ne="[object Int32Array]",ie="[object Uint8Array]",B="[object Uint8ClampedArray]",G="[object Uint16Array]",Ee="[object Uint32Array]",pe=/[\\^$.*+?()[\]{}|]/g,ye=/\w*$/,Te=/^\[object .+?Constructor\]$/,Fe=/^(?:0|[1-9]\d*)$/,Z={};Z[o]=Z[i]=Z[w]=Z[x]=Z[s]=Z[l]=Z[P]=Z[A]=Z[H]=Z[z]=Z[ne]=Z[m]=Z[d]=Z[y]=Z[S]=Z[h]=Z[_]=Z[C]=Z[ie]=Z[B]=Z[G]=Z[Ee]=!0,Z[u]=Z[c]=Z[R]=!1;var Tt=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,St=typeof self=="object"&&self&&self.Object===Object&&self,Oe=Tt||St||Function("return this")(),Ke=t&&!t.nodeType&&t,Ie=Ke&&!0&&e&&!e.nodeType&&e,Rt=Ie&&Ie.exports===Ke;function Pt(p,T){return p.set(T[0],T[1]),p}function At(p,T){return p.add(T),p}function Ot(p,T){for(var I=-1,L=p?p.length:0;++I<L&&T(p[I],I,p)!==!1;);return p}function Mt(p,T){for(var I=-1,L=T.length,Pe=p.length;++I<L;)p[Pe+I]=T[I];return p}function U(p,T,I,L){var Pe=-1,De=p?p.length:0;for(L&&De&&(I=p[++Pe]);++Pe<De;)I=T(I,p[Pe],Pe,p);return I}function D(p,T){for(var I=-1,L=Array(p);++I<p;)L[I]=T(I);return L}function Be(p,T){return p==null?void 0:p[T]}function xe(p){var T=!1;if(p!=null&&typeof p.toString!="function")try{T=!!(p+"")}catch{}return T}function Ze(p){var T=-1,I=Array(p.size);return p.forEach(function(L,Pe){I[++T]=[Pe,L]}),I}function ze(p,T){return function(I){return p(T(I))}}function mt(p){var T=-1,I=Array(p.size);return p.forEach(function(L){I[++T]=L}),I}var ot=Array.prototype,Wt=Function.prototype,It=Object.prototype,Vt=Oe["__core-js_shared__"],hr=function(){var p=/[^.]+$/.exec(Vt&&Vt.keys&&Vt.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}(),vr=Wt.toString,Xe=It.hasOwnProperty,zt=It.toString,yr=RegExp("^"+vr.call(Xe).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),br=Rt?Oe.Buffer:void 0,ht=Oe.Symbol,Ur=Oe.Uint8Array,g=ze(Object.getPrototypeOf,Object),N=Object.create,$=It.propertyIsEnumerable,W=ot.splice,ae=Object.getOwnPropertySymbols,le=br?br.isBuffer:void 0,Y=ze(Object.keys,Object),oe=Er(Oe,"DataView"),Se=Er(Oe,"Map"),He=Er(Oe,"Promise"),gr=Er(Oe,"Set"),vn=Er(Oe,"WeakMap"),vt=Er(Object,"create"),as=xr(oe),yn=xr(Se),Zn=xr(He),Gr=xr(gr),Jn=xr(vn),Qn=ht?ht.prototype:void 0,bn=Qn?Qn.valueOf:void 0;function $t(p){var T=-1,I=p?p.length:0;for(this.clear();++T<I;){var L=p[T];this.set(L[0],L[1])}}function ea(){this.__data__=vt?vt(null):{}}function os(p){return this.has(p)&&delete this.__data__[p]}function is(p){var T=this.__data__;if(vt){var I=T[p];return I===n?void 0:I}return Xe.call(T,p)?T[p]:void 0}function ls(p){var T=this.__data__;return vt?T[p]!==void 0:Xe.call(T,p)}function ta(p,T){var I=this.__data__;return I[p]=vt&&T===void 0?n:T,this}$t.prototype.clear=ea,$t.prototype.delete=os,$t.prototype.get=is,$t.prototype.has=ls,$t.prototype.set=ta;function it(p){var T=-1,I=p?p.length:0;for(this.clear();++T<I;){var L=p[T];this.set(L[0],L[1])}}function ss(){this.__data__=[]}function us(p){var T=this.__data__,I=k(T,p);if(I<0)return!1;var L=T.length-1;return I==L?T.pop():W.call(T,I,1),!0}function cs(p){var T=this.__data__,I=k(T,p);return I<0?void 0:T[I][1]}function ra(p){return k(this.__data__,p)>-1}function ds(p,T){var I=this.__data__,L=k(I,p);return L<0?I.push([p,T]):I[L][1]=T,this}it.prototype.clear=ss,it.prototype.delete=us,it.prototype.get=cs,it.prototype.has=ra,it.prototype.set=ds;function kt(p){var T=-1,I=p?p.length:0;for(this.clear();++T<I;){var L=p[T];this.set(L[0],L[1])}}function fs(){this.__data__={hash:new $t,map:new(Se||it),string:new $t}}function ps(p){return qt(this,p).delete(p)}function ms(p){return qt(this,p).get(p)}function hs(p){return qt(this,p).has(p)}function vs(p,T){return qt(this,p).set(p,T),this}kt.prototype.clear=fs,kt.prototype.delete=ps,kt.prototype.get=ms,kt.prototype.has=hs,kt.prototype.set=vs;function Nt(p){this.__data__=new it(p)}function ys(){this.__data__=new it}function bs(p){return this.__data__.delete(p)}function gs(p){return this.__data__.get(p)}function Es(p){return this.__data__.has(p)}function b(p,T){var I=this.__data__;if(I instanceof it){var L=I.__data__;if(!Se||L.length<r-1)return L.push([p,T]),this;I=this.__data__=new kt(L)}return I.set(p,T),this}Nt.prototype.clear=ys,Nt.prototype.delete=bs,Nt.prototype.get=gs,Nt.prototype.has=Es,Nt.prototype.set=b;function M(p,T){var I=ws(p)||Fb(p)?D(p.length,String):[],L=I.length,Pe=!!L;for(var De in p)(T||Xe.call(p,De))&&!(Pe&&(De=="length"||Bb(De,L)))&&I.push(De);return I}function O(p,T,I){var L=p[T];(!(Xe.call(p,T)&&Md(L,I))||I===void 0&&!(T in p))&&(p[T]=I)}function k(p,T){for(var I=p.length;I--;)if(Md(p[I][0],T))return I;return-1}function V(p,T){return p&&En(T,Cs(T),p)}function K(p,T,I,L,Pe,De,Je){var We;if(L&&(We=De?L(p,Pe,De,Je):L(p)),We!==void 0)return We;if(!sa(p))return p;var kd=ws(p);if(kd){if(We=kb(p),!T)return ia(p,We)}else{var Vr=_r(p),Nd=Vr==c||Vr==f;if(Ub(p))return gn(p,T);if(Vr==y||Vr==o||Nd&&!De){if(xe(p))return De?p:{};if(We=Nb(Nd?{}:p),!T)return la(p,V(We,p))}else{if(!Z[Vr])return De?p:{};We=qb(p,Vr,K,T)}}Je||(Je=new Nt);var qd=Je.get(p);if(qd)return qd;if(Je.set(p,We),!kd)var Bd=I?_n(p):Cs(p);return Ot(Bd||p,function(Ts,ua){Bd&&(ua=Ts,Ts=p[ua]),O(We,ua,K(Ts,T,I,L,ua,p,Je))}),We}function be(p){return sa(p)?N(p):{}}function Ue(p,T,I){var L=T(p);return ws(p)?L:Mt(L,I(p))}function Ge(p){return zt.call(p)}function je(p){if(!sa(p)||Db(p))return!1;var T=$d(p)||xe(p)?yr:Te;return T.test(xr(p))}function Re(p){if(!Od(p))return Y(p);var T=[];for(var I in Object(p))Xe.call(p,I)&&I!="constructor"&&T.push(I);return T}function gn(p,T){if(T)return p.slice();var I=new p.constructor(p.length);return p.copy(I),I}function Wr(p){var T=new p.constructor(p.byteLength);return new Ur(T).set(new Ur(p)),T}function _s(p,T){var I=T?Wr(p.buffer):p.buffer;return new p.constructor(I,p.byteOffset,p.byteLength)}function na(p,T,I){var L=T?I(Ze(p),!0):Ze(p);return U(L,Pt,new p.constructor)}function aa(p){var T=new p.constructor(p.source,ye.exec(p));return T.lastIndex=p.lastIndex,T}function xs(p,T,I){var L=T?I(mt(p),!0):mt(p);return U(L,At,new p.constructor)}function oa(p){return bn?Object(bn.call(p)):{}}function yt(p,T){var I=T?Wr(p.buffer):p.buffer;return new p.constructor(I,p.byteOffset,p.length)}function ia(p,T){var I=-1,L=p.length;for(T||(T=Array(L));++I<L;)T[I]=p[I];return T}function En(p,T,I,L){I||(I={});for(var Pe=-1,De=T.length;++Pe<De;){var Je=T[Pe],We=L?L(I[Je],p[Je],Je,I,p):void 0;O(I,Je,We===void 0?p[Je]:We)}return I}function la(p,T){return En(p,Ad(p),T)}function _n(p){return Ue(p,Cs,Ad)}function qt(p,T){var I=p.__data__;return jb(T)?I[typeof T=="string"?"string":"hash"]:I.map}function Er(p,T){var I=Be(p,T);return je(I)?I:void 0}var Ad=ae?ze(ae,Object):Vb,_r=Ge;(oe&&_r(new oe(new ArrayBuffer(1)))!=x||Se&&_r(new Se)!=m||He&&_r(He.resolve())!=v||gr&&_r(new gr)!=h||vn&&_r(new vn)!=R)&&(_r=function(p){var T=zt.call(p),I=T==y?p.constructor:void 0,L=I?xr(I):void 0;if(L)switch(L){case as:return x;case yn:return m;case Zn:return v;case Gr:return h;case Jn:return R}return T});function kb(p){var T=p.length,I=p.constructor(T);return T&&typeof p[0]=="string"&&Xe.call(p,"index")&&(I.index=p.index,I.input=p.input),I}function Nb(p){return typeof p.constructor=="function"&&!Od(p)?be(g(p)):{}}function qb(p,T,I,L){var Pe=p.constructor;switch(T){case w:return Wr(p);case s:case l:return new Pe(+p);case x:return _s(p,L);case P:case A:case H:case z:case ne:case ie:case B:case G:case Ee:return yt(p,L);case m:return na(p,L,I);case d:case _:return new Pe(p);case S:return aa(p);case h:return xs(p,L,I);case C:return oa(p)}}function Bb(p,T){return T=T??a,!!T&&(typeof p=="number"||Fe.test(p))&&p>-1&&p%1==0&&p<T}function jb(p){var T=typeof p;return T=="string"||T=="number"||T=="symbol"||T=="boolean"?p!=="__proto__":p===null}function Db(p){return!!hr&&hr in p}function Od(p){var T=p&&p.constructor,I=typeof T=="function"&&T.prototype||It;return p===I}function xr(p){if(p!=null){try{return vr.call(p)}catch{}try{return p+""}catch{}}return""}function Lb(p){return K(p,!0,!0)}function Md(p,T){return p===T||p!==p&&T!==T}function Fb(p){return Hb(p)&&Xe.call(p,"callee")&&(!$.call(p,"callee")||zt.call(p)==o)}var ws=Array.isArray;function Id(p){return p!=null&&Gb(p.length)&&!$d(p)}function Hb(p){return Wb(p)&&Id(p)}var Ub=le||zb;function $d(p){var T=sa(p)?zt.call(p):"";return T==c||T==f}function Gb(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=a}function sa(p){var T=typeof p;return!!p&&(T=="object"||T=="function")}function Wb(p){return!!p&&typeof p=="object"}function Cs(p){return Id(p)?M(p):Re(p)}function Vb(){return[]}function zb(){return!1}e.exports=Lb})(qa,qa.exports);var eg=qa.exports;const tg=Gn(eg);var rg="Expected a function",Am="__lodash_hash_undefined__",Om=1/0,ng=9007199254740991,ag="[object Function]",og="[object GeneratorFunction]",ig="[object Symbol]",lg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,sg=/^\w*$/,ug=/^\./,cg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dg=/[\\^$.*+?()[\]{}|]/g,fg=/\\(\\)?/g,pg=/^\[object .+?Constructor\]$/,mg=/^(?:0|[1-9]\d*)$/,hg=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,vg=typeof self=="object"&&self&&self.Object===Object&&self,qc=hg||vg||Function("return this")();function yg(e,t){return e==null?void 0:e[t]}function bg(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var gg=Array.prototype,Eg=Function.prototype,Mm=Object.prototype,Rs=qc["__core-js_shared__"],jd=function(){var e=/[^.]+$/.exec(Rs&&Rs.keys&&Rs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Im=Eg.toString,so=Mm.hasOwnProperty,$m=Mm.toString,_g=RegExp("^"+Im.call(so).replace(dg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Dd=qc.Symbol,xg=gg.splice,wg=km(qc,"Map"),In=km(Object,"create"),Ld=Dd?Dd.prototype:void 0,Fd=Ld?Ld.toString:void 0;function Or(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Cg(){this.__data__=In?In(null):{}}function Tg(e){return this.has(e)&&delete this.__data__[e]}function Sg(e){var t=this.__data__;if(In){var r=t[e];return r===Am?void 0:r}return so.call(t,e)?t[e]:void 0}function Rg(e){var t=this.__data__;return In?t[e]!==void 0:so.call(t,e)}function Pg(e,t){var r=this.__data__;return r[e]=In&&t===void 0?Am:t,this}Or.prototype.clear=Cg;Or.prototype.delete=Tg;Or.prototype.get=Sg;Or.prototype.has=Rg;Or.prototype.set=Pg;function cn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Ag(){this.__data__=[]}function Og(e){var t=this.__data__,r=uo(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():xg.call(t,r,1),!0}function Mg(e){var t=this.__data__,r=uo(t,e);return r<0?void 0:t[r][1]}function Ig(e){return uo(this.__data__,e)>-1}function $g(e,t){var r=this.__data__,n=uo(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}cn.prototype.clear=Ag;cn.prototype.delete=Og;cn.prototype.get=Mg;cn.prototype.has=Ig;cn.prototype.set=$g;function kr(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function kg(){this.__data__={hash:new Or,map:new(wg||cn),string:new Or}}function Ng(e){return co(this,e).delete(e)}function qg(e){return co(this,e).get(e)}function Bg(e){return co(this,e).has(e)}function jg(e,t){return co(this,e).set(e,t),this}kr.prototype.clear=kg;kr.prototype.delete=Ng;kr.prototype.get=qg;kr.prototype.has=Bg;kr.prototype.set=jg;function Dg(e,t,r){var n=e[t];(!(so.call(e,t)&&Nm(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function uo(e,t){for(var r=e.length;r--;)if(Nm(e[r][0],t))return r;return-1}function Lg(e){if(!Ba(e)||zg(e))return!1;var t=Zg(e)||bg(e)?_g:pg;return t.test(Kg(e))}function Fg(e,t,r,n){if(!Ba(e))return e;t=Wg(t,e)?[t]:Ug(t);for(var a=-1,o=t.length,i=o-1,s=e;s!=null&&++a<o;){var l=Yg(t[a]),u=r;if(a!=i){var c=s[l];u=n?n(c,l,s):void 0,u===void 0&&(u=Ba(c)?c:Gg(t[a+1])?[]:{})}Dg(s,l,u),s=s[l]}return e}function Hg(e){if(typeof e=="string")return e;if(jc(e))return Fd?Fd.call(e):"";var t=e+"";return t=="0"&&1/e==-Om?"-0":t}function Ug(e){return qm(e)?e:Xg(e)}function co(e,t){var r=e.__data__;return Vg(t)?r[typeof t=="string"?"string":"hash"]:r.map}function km(e,t){var r=yg(e,t);return Lg(r)?r:void 0}function Gg(e,t){return t=t??ng,!!t&&(typeof e=="number"||mg.test(e))&&e>-1&&e%1==0&&e<t}function Wg(e,t){if(qm(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||jc(e)?!0:sg.test(e)||!lg.test(e)||t!=null&&e in Object(t)}function Vg(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function zg(e){return!!jd&&jd in e}var Xg=Bc(function(e){e=Qg(e);var t=[];return ug.test(e)&&t.push(""),e.replace(cg,function(r,n,a,o){t.push(a?o.replace(fg,"$1"):n||r)}),t});function Yg(e){if(typeof e=="string"||jc(e))return e;var t=e+"";return t=="0"&&1/e==-Om?"-0":t}function Kg(e){if(e!=null){try{return Im.call(e)}catch{}try{return e+""}catch{}}return""}function Bc(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(rg);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i),i};return r.cache=new(Bc.Cache||kr),r}Bc.Cache=kr;function Nm(e,t){return e===t||e!==e&&t!==t}var qm=Array.isArray;function Zg(e){var t=Ba(e)?$m.call(e):"";return t==ag||t==og}function Ba(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Jg(e){return!!e&&typeof e=="object"}function jc(e){return typeof e=="symbol"||Jg(e)&&$m.call(e)==ig}function Qg(e){return e==null?"":Hg(e)}function eE(e,t,r){return e==null?e:Fg(e,t,r)}var tE=eE;const rE=Gn(tE),nE=(e,t)=>{Array.isArray(t)||(t=[t]);const r=tg(e);return t.forEach(({type:n,value:a})=>{rE(r,n,a)}),r},Bm=e=>{const t=[];return e.forEach(r=>{const n=parseInt(r);isNaN(n)||t.push(n)}),t.sort((r,n)=>r-n)},jm=(e,t,r)=>{let n=r.mobile;for(const a in t){const o=parseInt(String(t[a]));if(e>=o)n=r[o];else if(e<o)break}return n};var Ou=function(e,t){return Ou=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},Ou(e,t)};function tt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ou(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var F=function(){return F=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},F.apply(this,arguments)};function nn(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function Et(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}var Mu={exports:{}},se={};/** @license React v16.13.1
|
|
6
6
|
* react-is.production.min.js
|
|
7
7
|
*
|
|
8
8
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
9
|
*
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/var
|
|
12
|
+
*/var Hd;function aE(){if(Hd)return se;Hd=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,S=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function C(w){if(typeof w=="object"&&w!==null){var x=w.$$typeof;switch(x){case t:switch(w=w.type,w){case l:case u:case n:case o:case a:case f:return w;default:switch(w=w&&w.$$typeof,w){case s:case c:case y:case d:case i:return w;default:return x}}case r:return x}}}function R(w){return C(w)===u}return se.AsyncMode=l,se.ConcurrentMode=u,se.ContextConsumer=s,se.ContextProvider=i,se.Element=t,se.ForwardRef=c,se.Fragment=n,se.Lazy=y,se.Memo=d,se.Portal=r,se.Profiler=o,se.StrictMode=a,se.Suspense=f,se.isAsyncMode=function(w){return R(w)||C(w)===l},se.isConcurrentMode=R,se.isContextConsumer=function(w){return C(w)===s},se.isContextProvider=function(w){return C(w)===i},se.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},se.isForwardRef=function(w){return C(w)===c},se.isFragment=function(w){return C(w)===n},se.isLazy=function(w){return C(w)===y},se.isMemo=function(w){return C(w)===d},se.isPortal=function(w){return C(w)===r},se.isProfiler=function(w){return C(w)===o},se.isStrictMode=function(w){return C(w)===a},se.isSuspense=function(w){return C(w)===f},se.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===u||w===o||w===a||w===f||w===m||typeof w=="object"&&w!==null&&(w.$$typeof===y||w.$$typeof===d||w.$$typeof===i||w.$$typeof===s||w.$$typeof===c||w.$$typeof===S||w.$$typeof===h||w.$$typeof===_||w.$$typeof===v)},se.typeOf=C,se}var ue={};/** @license React v16.13.1
|
|
13
13
|
* react-is.development.js
|
|
14
14
|
*
|
|
15
15
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
16
|
*
|
|
17
17
|
* This source code is licensed under the MIT license found in the
|
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/var Ff;function Zg(){return Ff||(Ff=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,R=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function C(D){return typeof D=="string"||typeof D=="function"||D===n||D===u||D===o||D===a||D===d||D===m||typeof D=="object"&&D!==null&&(D.$$typeof===y||D.$$typeof===f||D.$$typeof===i||D.$$typeof===s||D.$$typeof===c||D.$$typeof===R||D.$$typeof===h||D.$$typeof===E||D.$$typeof===v)}function S(D){if(typeof D=="object"&&D!==null){var qe=D.$$typeof;switch(qe){case t:var Ee=D.type;switch(Ee){case l:case u:case n:case o:case a:case d:return Ee;default:var Ze=Ee&&Ee.$$typeof;switch(Ze){case s:case c:case y:case f:case i:return Ze;default:return qe}}case r:return qe}}}var x=l,w=u,P=s,A=i,H=t,z=c,ne=n,ie=y,B=f,G=r,_e=o,pe=a,ye=d,Te=!1;function Fe(D){return Te||(Te=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Z(D)||S(D)===l}function Z(D){return S(D)===u}function Tt(D){return S(D)===s}function Rt(D){return S(D)===i}function Oe(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function Ke(D){return S(D)===c}function Ie(D){return S(D)===n}function St(D){return S(D)===y}function Pt(D){return S(D)===f}function At(D){return S(D)===r}function Ot(D){return S(D)===o}function It(D){return S(D)===a}function U(D){return S(D)===d}ue.AsyncMode=x,ue.ConcurrentMode=w,ue.ContextConsumer=P,ue.ContextProvider=A,ue.Element=H,ue.ForwardRef=z,ue.Fragment=ne,ue.Lazy=ie,ue.Memo=B,ue.Portal=G,ue.Profiler=_e,ue.StrictMode=pe,ue.Suspense=ye,ue.isAsyncMode=Fe,ue.isConcurrentMode=Z,ue.isContextConsumer=Tt,ue.isContextProvider=Rt,ue.isElement=Oe,ue.isForwardRef=Ke,ue.isFragment=Ie,ue.isLazy=St,ue.isMemo=Pt,ue.isPortal=At,ue.isProfiler=Ot,ue.isStrictMode=It,ue.isSuspense=U,ue.isValidElementType=C,ue.typeOf=S}()),ue}process.env.NODE_ENV==="production"?Ou.exports=Kg():Ou.exports=Zg();var Jg=Ou.exports,qm=Jg,Qg={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},e_={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Bm={};Bm[qm.ForwardRef]=Qg;Bm[qm.Memo]=e_;function jm(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var Q;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(Q||(Q={}));var ve;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(ve||(ve={}));var an;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(an||(an={}));function Hf(e){return e.type===ve.literal}function t_(e){return e.type===ve.argument}function Dm(e){return e.type===ve.number}function Lm(e){return e.type===ve.date}function Fm(e){return e.type===ve.time}function Hm(e){return e.type===ve.select}function Um(e){return e.type===ve.plural}function r_(e){return e.type===ve.pound}function Gm(e){return e.type===ve.tag}function Wm(e){return!!(e&&typeof e=="object"&&e.type===an.number)}function Iu(e){return!!(e&&typeof e=="object"&&e.type===an.dateTime)}var Vm=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,n_=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function a_(e){var t={};return e.replace(n_,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"short":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var o_=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function i_(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(o_).filter(function(m){return m.length>0}),r=[],n=0,a=t;n<a.length;n++){var o=a[n],i=o.split("/");if(i.length===0)throw new Error("Invalid number skeleton");for(var s=i[0],l=i.slice(1),u=0,c=l;u<c.length;u++){var d=c[u];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:l})}return r}function l_(e){return e.replace(/^(.*?)-/,"")}var Uf=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,zm=/^(@+)?(\+|#+)?[rs]?$/g,s_=/(\*)(0+)|(#+)(0+)|(0+)/g,Xm=/^(0+)$/;function Gf(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(zm,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="string"?a.length:0)),""}),t}function Ym(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function u_(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Xm.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Wf(e){var t={},r=Ym(e);return r||t}function c_(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=l_(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=F(F(F({},t),{notation:"scientific"}),a.options.reduce(function(l,u){return F(F({},l),Wf(u))},{}));continue;case"engineering":t=F(F(F({},t),{notation:"engineering"}),a.options.reduce(function(l,u){return F(F({},l),Wf(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(s_,function(l,u,c,d,m,f){if(u)t.minimumIntegerDigits=c.length;else{if(d&&m)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Xm.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(Uf.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(Uf,function(l,u,c,d,m,f){return c==="*"?t.minimumFractionDigits=u.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:m&&f?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+f.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=a.options[0];o==="w"?t=F(F({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=F(F({},t),Gf(o)));continue}if(zm.test(a.stem)){t=F(F({},t),Gf(a.stem));continue}var i=Ym(a.stem);i&&(t=F(F({},t),i));var s=u_(a.stem);s&&(t=F(F({},t),s))}return t}var ca={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function f_(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===a;)o++,n++;var i=1+(o&1),s=o<2?1:3+(o>>1),l="a",u=d_(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)r+=l;for(;i-- >0;)r=u+r}else a==="J"?r+="H":r+=a}return r}function d_(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var a=ca[n||""]||ca[r||""]||ca["".concat(r,"-001")]||ca["001"];return a[0]}var Ps,p_=new RegExp("^".concat(Vm.source,"*")),m_=new RegExp("".concat(Vm.source,"*$"));function re(e,t){return{start:e,end:t}}var h_=!!String.prototype.startsWith,v_=!!String.fromCodePoint,y_=!!Object.fromEntries,b_=!!String.prototype.codePointAt,g_=!!String.prototype.trimStart,__=!!String.prototype.trimEnd,E_=!!Number.isSafeInteger,w_=E_?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Mu=!0;try{var x_=Zm("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Mu=((Ps=x_.exec("a"))===null||Ps===void 0?void 0:Ps[0])==="a"}catch{Mu=!1}var Vf=h_?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},$u=v_?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,o=0,i;a>o;){if(i=t[o++],i>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return n},zf=y_?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var o=a[n],i=o[0],s=o[1];r[i]=s}return r},Km=b_?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),o;return a<55296||a>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536}},C_=g_?function(t){return t.trimStart()}:function(t){return t.replace(p_,"")},T_=__?function(t){return t.trimEnd()}:function(t){return t.replace(m_,"")};function Zm(e,t){return new RegExp(e,t)}var ku;if(Mu){var Xf=Zm("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ku=function(t,r){var n;Xf.lastIndex=r;var a=Xf.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else ku=function(t,r){for(var n=[];;){var a=Km(t,r);if(a===void 0||Jm(a)||A_(a))break;n.push(a),r+=a>=65536?2:1}return $u.apply(void 0,n)};var R_=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var a=[];!this.isEOF();){var o=this.char();if(o===123){var i=this.parseArgument(t,n);if(i.err)return i;a.push(i.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),a.push({type:ve.pound,location:re(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(Q.UNMATCHED_CLOSING_TAG,re(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Nu(this.peek()||0)){var i=this.parseTag(t,r);if(i.err)return i;a.push(i.val)}else{var i=this.parseLiteral(t,r);if(i.err)return i;a.push(i.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ve.literal,value:"<".concat(a,"/>"),location:re(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var i=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Nu(this.char()))return this.error(Q.INVALID_TAG,re(s,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return a!==u?this.error(Q.UNMATCHED_CLOSING_TAG,re(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ve.tag,value:a,children:i,location:re(n,this.clonePosition())},err:null}:this.error(Q.INVALID_TAG,re(s,this.clonePosition())))}else return this.error(Q.UNCLOSED_TAG,re(n,this.clonePosition()))}else return this.error(Q.INVALID_TAG,re(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&P_(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var o=this.tryParseQuote(r);if(o){a+=o;continue}var i=this.tryParseUnquoted(t,r);if(i){a+=i;continue}var s=this.tryParseLeftAngleBracket();if(s){a+=s;continue}break}var l=re(n,this.clonePosition());return{val:{type:ve.literal,value:a,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!S_(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return $u.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),$u(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Q.EXPECT_ARGUMENT_CLOSING_BRACE,re(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Q.EMPTY_ARGUMENT,re(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(Q.MALFORMED_ARGUMENT,re(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Q.EXPECT_ARGUMENT_CLOSING_BRACE,re(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ve.argument,value:a,location:re(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Q.EXPECT_ARGUMENT_CLOSING_BRACE,re(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(Q.MALFORMED_ARGUMENT,re(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=ku(this.message,r),a=r+n.length;this.bumpTo(a);var o=this.clonePosition(),i=re(t,o);return{value:n,location:i}},e.prototype.parseArgumentOptions=function(t,r,n,a){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(Q.EXPECT_ARGUMENT_TYPE,re(i,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var m=T_(d.val);if(m.length===0)return this.error(Q.EXPECT_ARGUMENT_STYLE,re(this.clonePosition(),this.clonePosition()));var f=re(c,this.clonePosition());u={style:m,styleLocation:f}}var y=this.tryParseArgumentClose(a);if(y.err)return y;var v=re(a,this.clonePosition());if(u&&Vf(u==null?void 0:u.style,"::",0)){var R=C_(u.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(R,u.styleLocation);return d.err?d:{val:{type:ve.number,value:n,location:v,style:d.val},err:null}}else{if(R.length===0)return this.error(Q.EXPECT_DATE_TIME_SKELETON,v);var h=R;this.locale&&(h=f_(R,this.locale));var m={type:an.dateTime,pattern:h,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?a_(h):{}},E=s==="date"?ve.date:ve.time;return{val:{type:E,value:n,location:v,style:m},err:null}}}return{val:{type:s==="number"?ve.number:s==="date"?ve.date:ve.time,value:n,location:v,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Q.EXPECT_SELECT_ARGUMENT_OPTIONS,re(C,F({},C)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),x=0;if(s!=="select"&&S.value==="offset"){if(!this.bumpIf(":"))return this.error(Q.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,re(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(Q.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Q.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),S=this.parseIdentifierIfPossible(),x=d.val}var w=this.tryParsePluralOrSelectOptions(t,s,r,S);if(w.err)return w;var y=this.tryParseArgumentClose(a);if(y.err)return y;var P=re(a,this.clonePosition());return s==="select"?{val:{type:ve.select,value:n,options:zf(w.val),location:P},err:null}:{val:{type:ve.plural,value:n,options:zf(w.val),offset:x,pluralType:s==="plural"?"cardinal":"ordinal",location:P},err:null}}default:return this.error(Q.INVALID_ARGUMENT_TYPE,re(i,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(Q.EXPECT_ARGUMENT_CLOSING_BRACE,re(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Q.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,re(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=i_(t)}catch{return this.error(Q.INVALID_NUMBER_SKELETON,r)}return{val:{type:an.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?c_(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var o,i=!1,s=[],l=new Set,u=a.value,c=a.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(Q.EXPECT_PLURAL_ARGUMENT_SELECTOR,Q.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=re(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?Q.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Q.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?Q.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Q.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,re(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,r,n);if(y.err)return y;var v=this.tryParseArgumentClose(f);if(v.err)return v;s.push([u,{value:y.val,location:re(f,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return s.length===0?this.error(r==="select"?Q.EXPECT_SELECT_ARGUMENT_SELECTOR:Q.EXPECT_PLURAL_ARGUMENT_SELECTOR,re(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Q.MISSING_OTHER_CLAUSE,re(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,i=i*10+(s-48),this.bump();else break}var l=re(a,this.clonePosition());return o?(i*=n,w_(i)?{val:i,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Km(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Vf(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Jm(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function Nu(e){return e>=97&&e<=122||e>=65&&e<=90}function S_(e){return Nu(e)||e===47}function P_(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Jm(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function A_(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function qu(e){e.forEach(function(t){if(delete t.location,Hm(t)||Um(t))for(var r in t.options)delete t.options[r].location,qu(t.options[r].value);else Dm(t)&&Wm(t.style)||(Lm(t)||Fm(t))&&Iu(t.style)?delete t.style.location:Gm(t)&&qu(t.children)})}function O_(e,t){t===void 0&&(t={}),t=F({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new R_(e,t).parse();if(r.err){var n=SyntaxError(Q[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||qu(r.val),r.val}function bt(e,t){var r=t&&t.cache?t.cache:q_,n=t&&t.serializer?t.serializer:N_,a=t&&t.strategy?t.strategy:M_;return a(e,{cache:r,serializer:n})}function I_(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Qm(e,t,r,n){var a=I_(n)?n:r(n),o=t.get(a);return typeof o>"u"&&(o=e.call(this,n),t.set(a,o)),o}function eh(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),o=t.get(a);return typeof o>"u"&&(o=e.apply(this,n),t.set(a,o)),o}function jc(e,t,r,n,a){return r.bind(t,e,n,a)}function M_(e,t){var r=e.length===1?Qm:eh;return jc(e,this,r,t.cache.create(),t.serializer)}function $_(e,t){return jc(e,this,eh,t.cache.create(),t.serializer)}function k_(e,t){return jc(e,this,Qm,t.cache.create(),t.serializer)}var N_=function(){return JSON.stringify(arguments)};function Dc(){this.cache=Object.create(null)}Dc.prototype.get=function(e){return this.cache[e]};Dc.prototype.set=function(e,t){this.cache[e]=t};var q_={create:function(){return new Dc}},gt={variadic:$_,monadic:k_},wt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(wt||(wt={}));var dr=function(e){tt(t,e);function t(r,n,a){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=a,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Yf=function(e){tt(t,e);function t(r,n,a,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),wt.INVALID_VALUE,o)||this}return t}(dr),B_=function(e){tt(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),wt.INVALID_VALUE,a)||this}return t}(dr),j_=function(e){tt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),wt.MISSING_VALUE,n)||this}return t}(dr),De;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(De||(De={}));function D_(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==De.literal||r.type!==De.literal?t.push(r):n.value+=r.value,t},[])}function th(e){return typeof e=="function"}function Ca(e,t,r,n,a,o,i){if(e.length===1&&Hf(e[0]))return[{type:De.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Hf(c)){s.push({type:De.literal,value:c.value});continue}if(r_(c)){typeof o=="number"&&s.push({type:De.literal,value:r.getNumberFormat(t).format(o)});continue}var d=c.value;if(!(a&&d in a))throw new j_(d,i);var m=a[d];if(t_(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?De.literal:De.object,value:m});continue}if(Lm(c)){var f=typeof c.style=="string"?n.date[c.style]:Iu(c.style)?c.style.parsedOptions:void 0;s.push({type:De.literal,value:r.getDateTimeFormat(t,f).format(m)});continue}if(Fm(c)){var f=typeof c.style=="string"?n.time[c.style]:Iu(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:De.literal,value:r.getDateTimeFormat(t,f).format(m)});continue}if(Dm(c)){var f=typeof c.style=="string"?n.number[c.style]:Wm(c.style)?c.style.parsedOptions:void 0;f&&f.scale&&(m=m*(f.scale||1)),s.push({type:De.literal,value:r.getNumberFormat(t,f).format(m)});continue}if(Gm(c)){var y=c.children,v=c.value,R=a[v];if(!th(R))throw new B_(v,"function",i);var h=Ca(y,t,r,n,a,o),E=R(h.map(function(x){return x.value}));Array.isArray(E)||(E=[E]),s.push.apply(s,E.map(function(x){return{type:typeof x=="string"?De.literal:De.object,value:x}}))}if(Hm(c)){var C=c.options[m]||c.options.other;if(!C)throw new Yf(c.value,m,Object.keys(c.options),i);s.push.apply(s,Ca(C.value,t,r,n,a));continue}if(Um(c)){var C=c.options["=".concat(m)];if(!C){if(!Intl.PluralRules)throw new dr(`Intl.PluralRules is not available in this environment.
|
|
19
|
+
*/var Ud;function oE(){return Ud||(Ud=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,S=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function C(D){return typeof D=="string"||typeof D=="function"||D===n||D===u||D===o||D===a||D===f||D===m||typeof D=="object"&&D!==null&&(D.$$typeof===y||D.$$typeof===d||D.$$typeof===i||D.$$typeof===s||D.$$typeof===c||D.$$typeof===S||D.$$typeof===h||D.$$typeof===_||D.$$typeof===v)}function R(D){if(typeof D=="object"&&D!==null){var Be=D.$$typeof;switch(Be){case t:var xe=D.type;switch(xe){case l:case u:case n:case o:case a:case f:return xe;default:var Ze=xe&&xe.$$typeof;switch(Ze){case s:case c:case y:case d:case i:return Ze;default:return Be}}case r:return Be}}}var w=l,x=u,P=s,A=i,H=t,z=c,ne=n,ie=y,B=d,G=r,Ee=o,pe=a,ye=f,Te=!1;function Fe(D){return Te||(Te=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Z(D)||R(D)===l}function Z(D){return R(D)===u}function Tt(D){return R(D)===s}function St(D){return R(D)===i}function Oe(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function Ke(D){return R(D)===c}function Ie(D){return R(D)===n}function Rt(D){return R(D)===y}function Pt(D){return R(D)===d}function At(D){return R(D)===r}function Ot(D){return R(D)===o}function Mt(D){return R(D)===a}function U(D){return R(D)===f}ue.AsyncMode=w,ue.ConcurrentMode=x,ue.ContextConsumer=P,ue.ContextProvider=A,ue.Element=H,ue.ForwardRef=z,ue.Fragment=ne,ue.Lazy=ie,ue.Memo=B,ue.Portal=G,ue.Profiler=Ee,ue.StrictMode=pe,ue.Suspense=ye,ue.isAsyncMode=Fe,ue.isConcurrentMode=Z,ue.isContextConsumer=Tt,ue.isContextProvider=St,ue.isElement=Oe,ue.isForwardRef=Ke,ue.isFragment=Ie,ue.isLazy=Rt,ue.isMemo=Pt,ue.isPortal=At,ue.isProfiler=Ot,ue.isStrictMode=Mt,ue.isSuspense=U,ue.isValidElementType=C,ue.typeOf=R}()),ue}process.env.NODE_ENV==="production"?Mu.exports=aE():Mu.exports=oE();var iE=Mu.exports,Dm=iE,lE={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},sE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Lm={};Lm[Dm.ForwardRef]=lE;Lm[Dm.Memo]=sE;function Fm(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var ee;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(ee||(ee={}));var ve;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(ve||(ve={}));var an;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(an||(an={}));function Gd(e){return e.type===ve.literal}function uE(e){return e.type===ve.argument}function Hm(e){return e.type===ve.number}function Um(e){return e.type===ve.date}function Gm(e){return e.type===ve.time}function Wm(e){return e.type===ve.select}function Vm(e){return e.type===ve.plural}function cE(e){return e.type===ve.pound}function zm(e){return e.type===ve.tag}function Xm(e){return!!(e&&typeof e=="object"&&e.type===an.number)}function Iu(e){return!!(e&&typeof e=="object"&&e.type===an.dateTime)}var Ym=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,dE=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function fE(e){var t={};return e.replace(dE,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"short":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var pE=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function mE(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(pE).filter(function(m){return m.length>0}),r=[],n=0,a=t;n<a.length;n++){var o=a[n],i=o.split("/");if(i.length===0)throw new Error("Invalid number skeleton");for(var s=i[0],l=i.slice(1),u=0,c=l;u<c.length;u++){var f=c[u];if(f.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:l})}return r}function hE(e){return e.replace(/^(.*?)-/,"")}var Wd=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Km=/^(@+)?(\+|#+)?[rs]?$/g,vE=/(\*)(0+)|(#+)(0+)|(0+)/g,Zm=/^(0+)$/;function Vd(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Km,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="string"?a.length:0)),""}),t}function Jm(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function yE(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Zm.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function zd(e){var t={},r=Jm(e);return r||t}function bE(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=hE(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=F(F(F({},t),{notation:"scientific"}),a.options.reduce(function(l,u){return F(F({},l),zd(u))},{}));continue;case"engineering":t=F(F(F({},t),{notation:"engineering"}),a.options.reduce(function(l,u){return F(F({},l),zd(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(vE,function(l,u,c,f,m,d){if(u)t.minimumIntegerDigits=c.length;else{if(f&&m)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Zm.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(Wd.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(Wd,function(l,u,c,f,m,d){return c==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:m&&d?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+d.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=a.options[0];o==="w"?t=F(F({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=F(F({},t),Vd(o)));continue}if(Km.test(a.stem)){t=F(F({},t),Vd(a.stem));continue}var i=Jm(a.stem);i&&(t=F(F({},t),i));var s=yE(a.stem);s&&(t=F(F({},t),s))}return t}var ca={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function gE(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===a;)o++,n++;var i=1+(o&1),s=o<2?1:3+(o>>1),l="a",u=EE(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)r+=l;for(;i-- >0;)r=u+r}else a==="J"?r+="H":r+=a}return r}function EE(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var a=ca[n||""]||ca[r||""]||ca["".concat(r,"-001")]||ca["001"];return a[0]}var Ps,_E=new RegExp("^".concat(Ym.source,"*")),xE=new RegExp("".concat(Ym.source,"*$"));function re(e,t){return{start:e,end:t}}var wE=!!String.prototype.startsWith,CE=!!String.fromCodePoint,TE=!!Object.fromEntries,SE=!!String.prototype.codePointAt,RE=!!String.prototype.trimStart,PE=!!String.prototype.trimEnd,AE=!!Number.isSafeInteger,OE=AE?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},$u=!0;try{var ME=eh("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$u=((Ps=ME.exec("a"))===null||Ps===void 0?void 0:Ps[0])==="a"}catch{$u=!1}var Xd=wE?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},ku=CE?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,o=0,i;a>o;){if(i=t[o++],i>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return n},Yd=TE?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var o=a[n],i=o[0],s=o[1];r[i]=s}return r},Qm=SE?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),o;return a<55296||a>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536}},IE=RE?function(t){return t.trimStart()}:function(t){return t.replace(_E,"")},$E=PE?function(t){return t.trimEnd()}:function(t){return t.replace(xE,"")};function eh(e,t){return new RegExp(e,t)}var Nu;if($u){var Kd=eh("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Nu=function(t,r){var n;Kd.lastIndex=r;var a=Kd.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else Nu=function(t,r){for(var n=[];;){var a=Qm(t,r);if(a===void 0||th(a)||BE(a))break;n.push(a),r+=a>=65536?2:1}return ku.apply(void 0,n)};var kE=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var a=[];!this.isEOF();){var o=this.char();if(o===123){var i=this.parseArgument(t,n);if(i.err)return i;a.push(i.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),a.push({type:ve.pound,location:re(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(ee.UNMATCHED_CLOSING_TAG,re(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&qu(this.peek()||0)){var i=this.parseTag(t,r);if(i.err)return i;a.push(i.val)}else{var i=this.parseLiteral(t,r);if(i.err)return i;a.push(i.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ve.literal,value:"<".concat(a,"/>"),location:re(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var i=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!qu(this.char()))return this.error(ee.INVALID_TAG,re(s,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return a!==u?this.error(ee.UNMATCHED_CLOSING_TAG,re(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ve.tag,value:a,children:i,location:re(n,this.clonePosition())},err:null}:this.error(ee.INVALID_TAG,re(s,this.clonePosition())))}else return this.error(ee.UNCLOSED_TAG,re(n,this.clonePosition()))}else return this.error(ee.INVALID_TAG,re(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&qE(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var o=this.tryParseQuote(r);if(o){a+=o;continue}var i=this.tryParseUnquoted(t,r);if(i){a+=i;continue}var s=this.tryParseLeftAngleBracket();if(s){a+=s;continue}break}var l=re(n,this.clonePosition());return{val:{type:ve.literal,value:a,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!NE(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return ku.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),ku(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ee.EXPECT_ARGUMENT_CLOSING_BRACE,re(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(ee.EMPTY_ARGUMENT,re(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(ee.MALFORMED_ARGUMENT,re(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ee.EXPECT_ARGUMENT_CLOSING_BRACE,re(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ve.argument,value:a,location:re(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ee.EXPECT_ARGUMENT_CLOSING_BRACE,re(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(ee.MALFORMED_ARGUMENT,re(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Nu(this.message,r),a=r+n.length;this.bumpTo(a);var o=this.clonePosition(),i=re(t,o);return{value:n,location:i}},e.prototype.parseArgumentOptions=function(t,r,n,a){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(ee.EXPECT_ARGUMENT_TYPE,re(i,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var m=$E(f.val);if(m.length===0)return this.error(ee.EXPECT_ARGUMENT_STYLE,re(this.clonePosition(),this.clonePosition()));var d=re(c,this.clonePosition());u={style:m,styleLocation:d}}var y=this.tryParseArgumentClose(a);if(y.err)return y;var v=re(a,this.clonePosition());if(u&&Xd(u==null?void 0:u.style,"::",0)){var S=IE(u.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(S,u.styleLocation);return f.err?f:{val:{type:ve.number,value:n,location:v,style:f.val},err:null}}else{if(S.length===0)return this.error(ee.EXPECT_DATE_TIME_SKELETON,v);var h=S;this.locale&&(h=gE(S,this.locale));var m={type:an.dateTime,pattern:h,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?fE(h):{}},_=s==="date"?ve.date:ve.time;return{val:{type:_,value:n,location:v,style:m},err:null}}}return{val:{type:s==="number"?ve.number:s==="date"?ve.date:ve.time,value:n,location:v,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ee.EXPECT_SELECT_ARGUMENT_OPTIONS,re(C,F({},C)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),w=0;if(s!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(ee.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,re(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(ee.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ee.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),R=this.parseIdentifierIfPossible(),w=f.val}var x=this.tryParsePluralOrSelectOptions(t,s,r,R);if(x.err)return x;var y=this.tryParseArgumentClose(a);if(y.err)return y;var P=re(a,this.clonePosition());return s==="select"?{val:{type:ve.select,value:n,options:Yd(x.val),location:P},err:null}:{val:{type:ve.plural,value:n,options:Yd(x.val),offset:w,pluralType:s==="plural"?"cardinal":"ordinal",location:P},err:null}}default:return this.error(ee.INVALID_ARGUMENT_TYPE,re(i,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(ee.EXPECT_ARGUMENT_CLOSING_BRACE,re(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ee.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,re(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=mE(t)}catch{return this.error(ee.INVALID_NUMBER_SKELETON,r)}return{val:{type:an.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?bE(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var o,i=!1,s=[],l=new Set,u=a.value,c=a.location;;){if(u.length===0){var f=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(ee.EXPECT_PLURAL_ARGUMENT_SELECTOR,ee.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=re(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?ee.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ee.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?ee.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ee.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,re(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,r,n);if(y.err)return y;var v=this.tryParseArgumentClose(d);if(v.err)return v;s.push([u,{value:y.val,location:re(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return s.length===0?this.error(r==="select"?ee.EXPECT_SELECT_ARGUMENT_SELECTOR:ee.EXPECT_PLURAL_ARGUMENT_SELECTOR,re(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(ee.MISSING_OTHER_CLAUSE,re(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,i=i*10+(s-48),this.bump();else break}var l=re(a,this.clonePosition());return o?(i*=n,OE(i)?{val:i,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Qm(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Xd(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&th(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function qu(e){return e>=97&&e<=122||e>=65&&e<=90}function NE(e){return qu(e)||e===47}function qE(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function th(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function BE(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Bu(e){e.forEach(function(t){if(delete t.location,Wm(t)||Vm(t))for(var r in t.options)delete t.options[r].location,Bu(t.options[r].value);else Hm(t)&&Xm(t.style)||(Um(t)||Gm(t))&&Iu(t.style)?delete t.style.location:zm(t)&&Bu(t.children)})}function jE(e,t){t===void 0&&(t={}),t=F({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new kE(e,t).parse();if(r.err){var n=SyntaxError(ee[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Bu(r.val),r.val}function bt(e,t){var r=t&&t.cache?t.cache:GE,n=t&&t.serializer?t.serializer:UE,a=t&&t.strategy?t.strategy:LE;return a(e,{cache:r,serializer:n})}function DE(e){return e==null||typeof e=="number"||typeof e=="boolean"}function rh(e,t,r,n){var a=DE(n)?n:r(n),o=t.get(a);return typeof o>"u"&&(o=e.call(this,n),t.set(a,o)),o}function nh(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),o=t.get(a);return typeof o>"u"&&(o=e.apply(this,n),t.set(a,o)),o}function Dc(e,t,r,n,a){return r.bind(t,e,n,a)}function LE(e,t){var r=e.length===1?rh:nh;return Dc(e,this,r,t.cache.create(),t.serializer)}function FE(e,t){return Dc(e,this,nh,t.cache.create(),t.serializer)}function HE(e,t){return Dc(e,this,rh,t.cache.create(),t.serializer)}var UE=function(){return JSON.stringify(arguments)};function Lc(){this.cache=Object.create(null)}Lc.prototype.get=function(e){return this.cache[e]};Lc.prototype.set=function(e,t){this.cache[e]=t};var GE={create:function(){return new Lc}},gt={variadic:FE,monadic:HE},xt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(xt||(xt={}));var fr=function(e){tt(t,e);function t(r,n,a){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=a,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Zd=function(e){tt(t,e);function t(r,n,a,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),xt.INVALID_VALUE,o)||this}return t}(fr),WE=function(e){tt(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),xt.INVALID_VALUE,a)||this}return t}(fr),VE=function(e){tt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),xt.MISSING_VALUE,n)||this}return t}(fr),Le;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Le||(Le={}));function zE(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==Le.literal||r.type!==Le.literal?t.push(r):n.value+=r.value,t},[])}function ah(e){return typeof e=="function"}function Ca(e,t,r,n,a,o,i){if(e.length===1&&Gd(e[0]))return[{type:Le.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Gd(c)){s.push({type:Le.literal,value:c.value});continue}if(cE(c)){typeof o=="number"&&s.push({type:Le.literal,value:r.getNumberFormat(t).format(o)});continue}var f=c.value;if(!(a&&f in a))throw new VE(f,i);var m=a[f];if(uE(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?Le.literal:Le.object,value:m});continue}if(Um(c)){var d=typeof c.style=="string"?n.date[c.style]:Iu(c.style)?c.style.parsedOptions:void 0;s.push({type:Le.literal,value:r.getDateTimeFormat(t,d).format(m)});continue}if(Gm(c)){var d=typeof c.style=="string"?n.time[c.style]:Iu(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:Le.literal,value:r.getDateTimeFormat(t,d).format(m)});continue}if(Hm(c)){var d=typeof c.style=="string"?n.number[c.style]:Xm(c.style)?c.style.parsedOptions:void 0;d&&d.scale&&(m=m*(d.scale||1)),s.push({type:Le.literal,value:r.getNumberFormat(t,d).format(m)});continue}if(zm(c)){var y=c.children,v=c.value,S=a[v];if(!ah(S))throw new WE(v,"function",i);var h=Ca(y,t,r,n,a,o),_=S(h.map(function(w){return w.value}));Array.isArray(_)||(_=[_]),s.push.apply(s,_.map(function(w){return{type:typeof w=="string"?Le.literal:Le.object,value:w}}))}if(Wm(c)){var C=c.options[m]||c.options.other;if(!C)throw new Zd(c.value,m,Object.keys(c.options),i);s.push.apply(s,Ca(C.value,t,r,n,a));continue}if(Vm(c)){var C=c.options["=".concat(m)];if(!C){if(!Intl.PluralRules)throw new fr(`Intl.PluralRules is not available in this environment.
|
|
20
20
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
21
|
-
`,
|
|
21
|
+
`,xt.MISSING_INTL_API,i);var R=r.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));C=c.options[R]||c.options.other}if(!C)throw new Zd(c.value,m,Object.keys(c.options),i);s.push.apply(s,Ca(C.value,t,r,n,a,m-(c.offset||0)));continue}}return zE(s)}function XE(e,t){return t?F(F(F({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=F(F({},e[n]),t[n]||{}),r},{})):e}function YE(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=XE(e[n],t[n]),r},F({},e)):e}function As(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function KE(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Et([void 0],r,!1)))},{cache:As(e.number),strategy:gt.variadic}),getDateTimeFormat:bt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Et([void 0],r,!1)))},{cache:As(e.dateTime),strategy:gt.variadic}),getPluralRules:bt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Et([void 0],r,!1)))},{cache:As(e.pluralRules),strategy:gt.variadic})}}var oh=function(){function e(t,r,n,a){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(f,m){return!f.length||m.type!==Le.literal||typeof f[f.length-1]!="string"?f.push(m.value):f[f.length-1]+=m.value,f},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Ca(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var i=a||{};i.formatters;var s=nn(i,["formatters"]);this.ast=e.__parse(t,F(F({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=YE(e.formats,n),this.formatters=a&&a.formatters||KE(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=jE,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Mr;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(Mr||(Mr={}));var Wn=function(e){tt(t,e);function t(r,n,a){var o=this,i=a?a instanceof Error?a:new Error(String(a)):void 0;return o=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,`
|
|
22
22
|
`).concat(i?`
|
|
23
23
|
`.concat(i.message,`
|
|
24
|
-
`).concat(i.stack):""))||this,o.code=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o,t),o}return t}(Error),
|
|
24
|
+
`).concat(i.stack):""))||this,o.code=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o,t),o}return t}(Error),ZE=function(e){tt(t,e);function t(r,n){return e.call(this,Mr.UNSUPPORTED_FORMATTER,r,n)||this}return t}(Wn),JE=function(e){tt(t,e);function t(r,n){return e.call(this,Mr.INVALID_CONFIG,r,n)||this}return t}(Wn),Jd=function(e){tt(t,e);function t(r,n){return e.call(this,Mr.MISSING_DATA,r,n)||this}return t}(Wn),rt=function(e){tt(t,e);function t(r,n,a){var o=e.call(this,Mr.FORMAT_ERROR,"".concat(r,`
|
|
25
25
|
Locale: `).concat(n,`
|
|
26
26
|
`),a)||this;return o.locale=n,o}return t}(Wn),Os=function(e){tt(t,e);function t(r,n,a,o){var i=e.call(this,"".concat(r,`
|
|
27
27
|
MessageID: `).concat(a==null?void 0:a.id,`
|
|
28
28
|
Default Message: `).concat(a==null?void 0:a.defaultMessage,`
|
|
29
29
|
Description: `).concat(a==null?void 0:a.description,`
|
|
30
|
-
`),n,o)||this;return i.descriptor=a,i.locale=n,i}return t}(rt),
|
|
30
|
+
`),n,o)||this;return i.descriptor=a,i.locale=n,i}return t}(rt),QE=function(e){tt(t,e);function t(r,n){var a=e.call(this,Mr.MISSING_TRANSLATION,'Missing message: "'.concat(r.id,'" for locale "').concat(n,'", using ').concat(r.defaultMessage?"default message (".concat(typeof r.defaultMessage=="string"?r.defaultMessage:r.defaultMessage.map(function(o){var i;return(i=o.value)!==null&&i!==void 0?i:JSON.stringify(o)}).join(),")"):"id"," as fallback."))||this;return a.descriptor=r,a}return t}(Wn);function Nr(e,t,r){return r===void 0&&(r={}),t.reduce(function(n,a){return a in e?n[a]=e[a]:a in r&&(n[a]=r[a]),n},{})}var e_=function(e){process.env.NODE_ENV!=="production"&&console.error(e)},t_=function(e){process.env.NODE_ENV!=="production"&&console.warn(e)},ih={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:e_,onWarn:t_};function lh(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function wr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function r_(e){e===void 0&&(e=lh());var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,a=bt(function(){for(var s,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((s=Intl.DateTimeFormat).bind.apply(s,Et([void 0],l,!1)))},{cache:wr(e.dateTime),strategy:gt.variadic}),o=bt(function(){for(var s,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((s=Intl.NumberFormat).bind.apply(s,Et([void 0],l,!1)))},{cache:wr(e.number),strategy:gt.variadic}),i=bt(function(){for(var s,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((s=Intl.PluralRules).bind.apply(s,Et([void 0],l,!1)))},{cache:wr(e.pluralRules),strategy:gt.variadic});return{getDateTimeFormat:a,getNumberFormat:o,getMessageFormat:bt(function(s,l,u,c){return new oh(s,l,u,F({formatters:{getNumberFormat:o,getDateTimeFormat:a,getPluralRules:i}},c||{}))},{cache:wr(e.message),strategy:gt.variadic}),getRelativeTimeFormat:bt(function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return new(t.bind.apply(t,Et([void 0],s,!1)))},{cache:wr(e.relativeTime),strategy:gt.variadic}),getPluralRules:i,getListFormat:bt(function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return new(r.bind.apply(r,Et([void 0],s,!1)))},{cache:wr(e.list),strategy:gt.variadic}),getDisplayNames:bt(function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return new(n.bind.apply(n,Et([void 0],s,!1)))},{cache:wr(e.displayNames),strategy:gt.variadic})}}function Fc(e,t,r,n){var a=e&&e[t],o;if(a&&(o=a[r]),o)return o;n(new ZE("No ".concat(t," format named: ").concat(r)))}function da(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=F({timeZone:t},e[n]),r},{})}function Qd(e,t){var r=Object.keys(F(F({},e),t));return r.reduce(function(n,a){return n[a]=F(F({},e[a]||{}),t[a]||{}),n},{})}function ef(e,t){if(!t)return e;var r=oh.formats;return F(F(F({},r),e),{date:Qd(da(r.date,t),da(e.date||{},t)),time:Qd(da(r.time,t),da(e.time||{},t))})}var ju=function(e,t,r,n,a){var o=e.locale,i=e.formats,s=e.messages,l=e.defaultLocale,u=e.defaultFormats,c=e.fallbackOnEmptyString,f=e.onError,m=e.timeZone,d=e.defaultRichTextElements;r===void 0&&(r={id:""});var y=r.id,v=r.defaultMessage;Fm(!!y,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var S=String(y),h=s&&Object.prototype.hasOwnProperty.call(s,S)&&s[S];if(Array.isArray(h)&&h.length===1&&h[0].type===ve.literal)return h[0].value;if(!n&&h&&typeof h=="string"&&!d)return h.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=F(F({},d),n||{}),i=ef(i,m),u=ef(u,m),!h){if(c===!1&&h==="")return h;if((!v||o&&o.toLowerCase()!==l.toLowerCase())&&f(new QE(r,o)),v)try{var _=t.getMessageFormat(v,l,u,a);return _.format(n)}catch(C){return f(new Os('Error formatting default message for: "'.concat(S,'", rendering default message verbatim'),o,r,C)),typeof v=="string"?v:S}return S}try{var _=t.getMessageFormat(h,o,i,F({formatters:t},a||{}));return _.format(n)}catch(C){f(new Os('Error formatting message: "'.concat(S,'", using ').concat(v?"default message":"id"," as fallback."),o,r,C))}if(v)try{var _=t.getMessageFormat(v,l,u,a);return _.format(n)}catch(C){f(new Os('Error formatting the default message for: "'.concat(S,'", rendering message verbatim'),o,r,C))}return typeof h=="string"?h:typeof v=="string"?v:S},sh=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function fo(e,t,r,n){var a=e.locale,o=e.formats,i=e.onError,s=e.timeZone;n===void 0&&(n={});var l=n.format,u=F(F({},s&&{timeZone:s}),l&&Fc(o,t,l,i)),c=Nr(n,sh,u);return t==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle&&(c=F(F({},c),{hour:"numeric",minute:"numeric"})),r(a,c)}function n_(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=o===void 0?{}:o,s=typeof a=="string"?new Date(a||0):a;try{return fo(e,"date",t,i).format(s)}catch(l){e.onError(new rt("Error formatting date.",e.locale,l))}return String(s)}function a_(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=o===void 0?{}:o,s=typeof a=="string"?new Date(a||0):a;try{return fo(e,"time",t,i).format(s)}catch(l){e.onError(new rt("Error formatting time.",e.locale,l))}return String(s)}function o_(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=r[2],s=i===void 0?{}:i,l=e.timeZone,u=e.locale,c=e.onError,f=Nr(s,sh,l?{timeZone:l}:{});try{return t(u,f).formatRange(a,o)}catch(m){c(new rt("Error formatting date time range.",e.locale,m))}return String(a)}function i_(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=o===void 0?{}:o,s=typeof a=="string"?new Date(a||0):a;try{return fo(e,"date",t,i).formatToParts(s)}catch(l){e.onError(new rt("Error formatting date.",e.locale,l))}return[]}function l_(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=o===void 0?{}:o,s=typeof a=="string"?new Date(a||0):a;try{return fo(e,"time",t,i).formatToParts(s)}catch(l){e.onError(new rt("Error formatting time.",e.locale,l))}return[]}var s_=["style","type","fallback","languageDisplay"];function u_(e,t,r,n){var a=e.locale,o=e.onError,i=Intl.DisplayNames;i||o(new fr(`Intl.DisplayNames is not available in this environment.
|
|
31
31
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
32
|
-
`,
|
|
32
|
+
`,xt.MISSING_INTL_API));var s=Nr(n,s_);try{return t(a,s).of(r)}catch(l){o(new rt("Error formatting display name.",a,l))}}var c_=["type","style"],tf=Date.now();function d_(e){return"".concat(tf,"_").concat(e,"_").concat(tf)}function f_(e,t,r,n){n===void 0&&(n={});var a=uh(e,t,r,n).reduce(function(o,i){var s=i.value;return typeof s!="string"?o.push(s):typeof o[o.length-1]=="string"?o[o.length-1]+=s:o.push(s),o},[]);return a.length===1?a[0]:a.length===0?"":a}function uh(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={});var i=Intl.ListFormat;i||o(new fr(`Intl.ListFormat is not available in this environment.
|
|
33
33
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
34
|
-
`,
|
|
34
|
+
`,xt.MISSING_INTL_API));var s=Nr(n,c_);try{var l={},u=r.map(function(c,f){if(typeof c=="object"){var m=d_(f);return l[m]=c,m}return String(c)});return t(a,s).formatToParts(u).map(function(c){return c.type==="literal"?c:F(F({},c),{value:l[c.value]||c.value})})}catch(c){o(new rt("Error formatting list.",a,c))}return r}var p_=["type"];function m_(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={}),Intl.PluralRules||o(new fr(`Intl.PluralRules is not available in this environment.
|
|
35
35
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
36
|
-
`,
|
|
36
|
+
`,xt.MISSING_INTL_API));var i=Nr(n,p_);try{return t(a,i).select(r)}catch(s){o(new rt("Error formatting plural.",a,s))}return"other"}var h_=["numeric","style"];function v_(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var i=r.format,s=!!i&&Fc(a,"relative",i,o)||{},l=Nr(r,h_,s);return t(n,l)}function y_(e,t,r,n,a){a===void 0&&(a={}),n||(n="second");var o=Intl.RelativeTimeFormat;o||e.onError(new fr(`Intl.RelativeTimeFormat is not available in this environment.
|
|
37
37
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
38
|
-
`,
|
|
38
|
+
`,xt.MISSING_INTL_API));try{return v_(e,t,a).format(r,n)}catch(i){e.onError(new rt("Error formatting relative time.",e.locale,i))}return String(r)}var b_=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function ch(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var i=r.format,s=i&&Fc(a,"number",i,o)||{},l=Nr(r,b_,s);return t(n,l)}function g_(e,t,r,n){n===void 0&&(n={});try{return ch(e,t,n).format(r)}catch(a){e.onError(new rt("Error formatting number.",e.locale,a))}return String(r)}function E_(e,t,r,n){n===void 0&&(n={});try{return ch(e,t,n).formatToParts(r)}catch(a){e.onError(new rt("Error formatting number.",e.locale,a))}return[]}function __(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function x_(e){e.onWarn&&e.defaultRichTextElements&&__(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
39
39
|
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
40
|
-
For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function
|
|
40
|
+
For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function w_(e,t){var r=r_(t),n=F(F({},ih),e),a=n.locale,o=n.defaultLocale,i=n.onError;return a?!Intl.NumberFormat.supportedLocalesOf(a).length&&i?i(new Jd('Missing locale data for locale: "'.concat(a,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(a).length&&i&&i(new Jd('Missing locale data for locale: "'.concat(a,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(i&&i(new JE('"locale" was not configured, using "'.concat(o,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),x_(n),F(F({},n),{formatters:r,formatNumber:g_.bind(null,n,r.getNumberFormat),formatNumberToParts:E_.bind(null,n,r.getNumberFormat),formatRelativeTime:y_.bind(null,n,r.getRelativeTimeFormat),formatDate:n_.bind(null,n,r.getDateTimeFormat),formatDateToParts:i_.bind(null,n,r.getDateTimeFormat),formatTime:a_.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:o_.bind(null,n,r.getDateTimeFormat),formatTimeToParts:l_.bind(null,n,r.getDateTimeFormat),formatPlural:m_.bind(null,n,r.getPluralRules),formatMessage:ju.bind(null,n,r),$t:ju.bind(null,n,r),formatList:f_.bind(null,n,r.getListFormat),formatListToParts:uh.bind(null,n,r.getListFormat),formatDisplayName:u_.bind(null,n,r.getDisplayNames)})}function dh(e){Fm(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var fh=F(F({},ih),{textComponent:_e.Fragment});function C_(e){return function(t){return e(_e.Children.toArray(t))}}function Du(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),a=r.length;if(n.length!==a)return!1;for(var o=0;o<a;o++){var i=r[o];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}var Hc=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=_e.createContext(null)):_e.createContext(null);Hc.Consumer;var T_=Hc.Provider,S_=T_,R_=Hc;function Me(){var e=_e.useContext(R_);return dh(e),e}var Lu;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(Lu||(Lu={}));var Fu;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(Fu||(Fu={}));function ph(e){var t=function(r){var n=Me(),a=r.value,o=r.children,i=nn(r,["value","children"]),s=typeof a=="string"?new Date(a||0):a,l=e==="formatDate"?n.formatDateToParts(s,i):n.formatTimeToParts(s,i);return o(l)};return t.displayName=Fu[e],t}function Vn(e){var t=function(r){var n=Me(),a=r.value,o=r.children,i=nn(r,["value","children"]),s=n[e](a,i);if(typeof o=="function")return o(s);var l=n.textComponent||_e.Fragment;return _e.createElement(l,null,s)};return t.displayName=Lu[e],t}function Ms(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function mh(e){return e&&Object.keys(e).reduce(function(t,r){var n=e[r];return t[r]=ah(n)?C_(n):n,t},{})}var rf=function(e,t,r,n){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];var i=mh(n),s=ju.apply(void 0,Et([e,t,r,i],a,!1));return Array.isArray(s)?_e.Children.toArray(s):s},Hu=function(e,t){var r=e.defaultRichTextElements,n=nn(e,["defaultRichTextElements"]),a=mh(r),o=w_(F(F(F({},fh),n),{defaultRichTextElements:a}),t),i={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:a};return F(F({},o),{formatMessage:rf.bind(null,i,o.formatters),$t:rf.bind(null,i,o.formatters)})},P_=function(e){tt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.cache=lh(),r.state={cache:r.cache,intl:Hu(Ms(r.props),r.cache),prevConfig:Ms(r.props)},r}return t.getDerivedStateFromProps=function(r,n){var a=n.prevConfig,o=n.cache,i=Ms(r);return Du(a,i)?null:{intl:Hu(i,o),prevConfig:i}},t.prototype.render=function(){return dh(this.state.intl),_e.createElement(S_,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=fh,t}(_e.PureComponent);function A_(e,t){var r=e.values,n=nn(e,["values"]),a=t.values,o=nn(t,["values"]);return Du(a,r)&&Du(n,o)}function hh(e){var t=Me(),r=t.formatMessage,n=t.textComponent,a=n===void 0?_e.Fragment:n,o=e.id,i=e.description,s=e.defaultMessage,l=e.values,u=e.children,c=e.tagName,f=c===void 0?a:c,m=e.ignoreTag,d={id:o,description:i,defaultMessage:s},y=r(d,l,{ignoreTag:m});return typeof u=="function"?u(Array.isArray(y)?y:[y]):f?_e.createElement(f,null,_e.Children.toArray(y)):_e.createElement(_e.Fragment,null,y)}hh.displayName="FormattedMessage";var vh=_e.memo(hh,A_);vh.displayName="MemoizedFormattedMessage";const Sr=vh;Vn("formatDate");Vn("formatTime");Vn("formatNumber");Vn("formatList");Vn("formatDisplayName");ph("formatDate");ph("formatTime");const yh={apolitical:"Apolitical",card_bootcamp:"Email boot camp",card_ended:"Ended",card_registered:"Registered",card_answers:"{number, plural, =0 {0 answers} one {# answer} other {# answers}}",card_time_ago:"{time} ago",card_time_read:"{time} min read",card_watch:"Watch recording",card_cta_people:"View profile",collapsibleSection_summary:"Find out more",contactFooter_title:"Contact us",contactFooter_text:"We're always open to new ideas, so please reach out to see how we can collaborate.",contactFooter_phone:"+44 203 608 2241",contactFooter_email:"hello@apolitical.co",contactForm_name:"Name",contactForm_email:"Email address",contactForm_organisation:"Government department or organisation",contactForm_interests:"I'm interested in",contactForm_interests_publishingCourse:"Publishing or creating a course",contactForm_interests_buyingCourse:"Buying courses for my team",contactForm_interests_learningExperience:"Customised learning experiences",contactForm_interests_somethingElse:"Something else",contactForm_message:"Message",cookieBanner_title:"Cookies and your privacy",cookieBanner_text:"We take your trust and privacy very seriously. Apolitical uses safe cookies (small files on your device) to run the site. You can reject non-essential cookies, but some site features may not work without them.",cookieBanner_buttons_settings:"Change my settings",cookieBanner_buttons_reject:"Reject all",cookieBanner_buttons_accept:"Accept all",discussion_edited:"Edited",discussion_delete_title:"Delete {action}",discussion_delete_text:"<p>Are you sure you want to delete your {action}?</p><p>This can't be undone.</p>",discussion_delete_delete:"Delete",discussion_delete_deleting:"Deleting...",discussion_delete_error:"We are unable to delete your {action} at the moment. Please try again later or contact us if problem persists.",discussion_action_response:"response",discussion_action_answer:"response",discussion_action_question:"question",discussion_action_reply:"reply",discussion_answer_likes:"{count, plural, =0 {0 likes} one {# like} other {# likes}}",discussion_answer_likes_like:"Like this answer",discussion_answer_likes_unlike:"Unlike answer",discussion_reply_likes:"{count, plural, =0 {0 likes} one {# like} other {# likes}}",discussion_reply_likes_like:"Like this reply",discussion_reply_likes_unlike:"Unlike reply",discussion_thread_reply_button:"Reply",discussion_thread_report_subject:"Report a post on Apolitical",discussion_thread_report_body:`I'd like to report the {contentType} <{contentSlug}> at {contentUrl}.
|
|
41
41
|
|
|
42
42
|
Please explain why you're reporting this post. Reasons could include: inappropriate language, harassment, spam, hate speech, false information, among others. Include as much detail as you feel comfortable.
|
|
43
43
|
|
|
@@ -45,7 +45,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
45
45
|
|
|
46
46
|
Please explain why you're reporting this post. Reasons could include: inappropriate language, harassment, spam, hate speech, false information, among others. Include as much detail as you feel comfortable.
|
|
47
47
|
|
|
48
|
-
Thank you for helping to protect the Apolitical community from abusive content.`,emailHelperTextBox_fallback_title:"Who can join",emailHelperTextBox_fallback_text:"Apolitical is a private community for public servants and policymakers.",emailHelperTextBox_default_title:"Who can join",emailHelperTextBox_default_text:"Apolitical is a private community for public servants and policymakers. <link>Learn more</link>.",emailHelperTextBox_autoApproved_title:"Email check",emailHelperTextBox_autoApproved_text:"Great! Looks like you are using a **government email domain we recognise.** You will be **auto-approved** once you sign up.",emailHelperTextBox_unrecognisedEmail_title:"Not a recognised government email",emailHelperTextBox_unrecognisedEmail_text:"To confirm you work in government or policy, please add more details below. <link>Learn more</link>.",emailHelperTextBox_pendingApproval_title:"Email is pending approval",emailHelperTextBox_pendingApproval_text:"Looks like this email has been used to sign up to Apolitical before, but <strong>we have not yet approved it.</strong> If you cannot wait to join, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_emailUnverified_title:"Hello again!",emailHelperTextBox_emailUnverified_text:"It looks like you're already an Apolitical member. To access your account, please verify your email address. <link>Click here to get a verification code sent to your email</link>.",emailHelperTextBox_emailAlreadyExists_title:"Email is already registered",emailHelperTextBox_emailAlreadyExists_text:"Looks like this email has been used to sign up to Apolitical before, try <link>logging in</link> instead. If you're still having issues, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_error_verificationFailedToSend_title:"Verification code failed to send",emailHelperTextBox_error_verificationFailedToSend_text:"Error details: <em>{error}</em>{br}<link>Click here to try again</link>.{br}If you continue to have problems, contact us at <mail>concierge@apolitical.co</mail>",emailHelperTextBox_error_noFunction:"Cannot resend verification code.",filters_all:"Show all",filters_disabled:"{name} - no results",footer_platform:"Platform",footer_platform_events:"Events",footer_platform_courses:"Courses",footer_platform_qanda:"Q&A",footer_platform_articles:"Articles",footer_community:"Community",footer_community_support:"Support FAQ",footer_community_post:"Post on Apolitical",footer_community_join:"Who can join",footer_community_guidelines:"Guidelines & values",footer_company:"Company",footer_company_story:"Our story",footer_company_team:"Meet our team",footer_company_careers:"Careers",footer_company_partner:"Partner with us",footer_company_contact:"Get in touch",footer_legal:"Legal",footer_legal_privacy:"Privacy policy",footer_legal_terms:"Terms & conditions",footer_legal_cookie:"Cookie policy",footer_legal_accessibility:"Accessibility statement",footer_legal_dataProtection:"Data protection officer",footer_legal_euDataProtection:"EU data protection officer",footer_contact:"Contact",footer_contact_correspondence:"Correspondence address",footer_contact_correspondence_address:"251 Southwark Bridge Road{br}London, SE1 6FL{br}United Kingdom",footer_contact_registered:"Registered address",footer_contact_registered_address:"20–22 Wenlock Road{br}London, N1 7GU{br}United Kingdom",footer_contact_berlin:"Berlin address",footer_contact_berlin_address:"Torstraße 220{br}10115 Berlin{br}Germany",footer_contact_support:"For platform support",footer_contact_business:"For business inquiries",footer_social_linkedin:"LinkedIn",footer_social_twitter:"Twitter",footer_social_facebook:"Facebook",footer_copyright:"Copyright © {currentYear} Apolitical Group Limited",form_fieldWrapper_required:"required",form_fieldWrapper_characterLimit:"Character limit:",form_error_generalError:"Sorry, something has gone. Please refresh the page and try again.",form_error_required:"Please fill in this required field",form_error_numbers:"Numbers are not allowed in this text field",form_error_email:"Please enter a valid email address",form_error_url:"Please enter a valid URL",form_submit:"Submit",form_submitting:"Submitting form...",form_submitted:"Submitted",header_skip:"Skip to main content",header_search_show:"Show search bar",header_search_hide:"Close search bar",header_menu_show:"Show navigation",header_menu_hide:"Close navigation",header_home_loggedOut:"Home",header_home_loggedIn:"My Home",header_topics:"Topics",header_topics_explore:"Explore",header_topics_explore_events:"Events",header_topics_explore_courses:"Courses","header_topics_explore_q-and-a":"Q&A",header_topics_explore_articles:"Articles",header_topics_topics:"Topics",header_topics_topics_climate:"Climate","header_topics_topics_cities-and-local-government":"Cities and local government","header_topics_topics_digital-and-data":"Digital and data",header_topics_topics_education:"Education","header_topics_topics_equity-justice-and-inclusion":"Equity, justice and inclusion","header_topics_topics_health-and-social-care":"Health and social care",header_topics_topics_innovation:"Innovation","header_topics_topics_leadership-and-skills":"Leadership and skills","header_topics_topics_life-in-government":"Life in government",header_topics_topics_policymaking:"Policymaking","header_topics_topics_transport-and-infrastructure":"Transport and infrastructure","header_topics_topics_work-and-the-economy":"Work and the economy",header_partners:"For partners",header_account:"My account",header_account_show:"Show account menu",header_account_hide:"Close account menu",header_account_profile:"My profile",header_account_settings:"Settings & privacy","header_account_log-out":"Log out",header_buttons_login:"Log in",header_buttons_signup:"Sign up",hideShowTextBox_hide:"View less",hideShowTextBox_show:"View more",loadMore_button:"Load more",loadMore_endOfFeed:"You're all caught up",loadMore_error:"We're having trouble loading more content. Please refresh the page or try again later.",loadingBlock_loading:"Loading...",loadingBlock_almostDone:"Almost done...",loadingBlock_complete:"Complete!",markdown_collapsibleSection_summary:"Resources",markdown_skip_video:"Skip past video",markdown_skip_padlet:"Skip past interactive board",markdown_skip_poll:"Skip past poll",markdown_skip:"Skip to next section",markdown_iframe_title:"Course information",markdown_iframe_video:"Video",markdown_iframe_padlet:"Interactive board",markdown_iframe_poll:"Poll",pageLayout_error:"An error occurred while rendering this page. Please refresh the page or try again later.",passwordRules_intro:"We advise you not to use your name or email in your password.",passwordRules_rule_label:"Password",passwordRules_rule_8Characters:"must be longer than 8 characters",passwordRules_rule_numberSymbol:"must include a number and a symbol",passwordRules_rule_lowercaseUppercase:"must include both lower and upper case characters",passwordRules_notMet:"Your password does not meet this requirement",progressBar:"{number}% loaded",ratings_text:"Rate answer",ratings_stars:"{number} out of {total}",ratings_low:"this is incorrect or confusing",ratings_high:"this is a fantastic answer",ratings_success:"Thank you!",search_label:"Search for:",search_placeholder:"Ask Apolitical",search_clear:"Clear search",search_cta:"Search",signup_title:"Sign up",signup_full_name:"Full name",signup_full_name_placeholder:"Lionel Messi",signup_email_address:"Work email",signup_email_address_placeholder:"lionel.messi@argentina.gov",signup_job_title:"Job title",signup_job_title_placeholder:"e.g. Senior Policy Advisor",signup_organization:"Organisation",signup_organization_placeholder:"e.g. Department of Justice",signup_url:"Link to official government bio / LinkedIn <small>(optional)</small>",signup_url_placeholder:"https://organisation.com/bio",signup_expectation:"What do you want to know<small>Optional, but we will use your response to build the session!</small>",signup_expectation_placeholder:"What do you want to know?",signup_terms:"I accept Apolitical's <terms>Terms of Service</terms>, <privacy>Privacy Policy</privacy> and that I'll get essential emails for my use of Apolitical",signup_error:"We're really sorry, but we've had a problem trying to sign you up. This could be an issue with our system, so we suggest you try again later.",signup_button_join:"Join for free",signup_button_login:"Log in",signup_submitting:"Submitting form...",signup_success_title:"Thank you for applying to join Apolitical!",signup_success_text:"<p>Once we've vetted your application, you'll get a secure login link to help you get started.</p><p>Please note that trust is everything to our community, so you can't login until your identity has been verified.</p>",sharedLinks_copy_text:"Copy link",tags_community:"From the community"},
|
|
48
|
+
Thank you for helping to protect the Apolitical community from abusive content.`,emailHelperTextBox_fallback_title:"Who can join",emailHelperTextBox_fallback_text:"Apolitical is a private community for public servants and policymakers.",emailHelperTextBox_default_title:"Who can join",emailHelperTextBox_default_text:"Apolitical is a private community for public servants and policymakers. <link>Learn more</link>.",emailHelperTextBox_autoApproved_title:"Email check",emailHelperTextBox_autoApproved_text:"Great! Looks like you are using a **government email domain we recognise.** You will be **auto-approved** once you sign up.",emailHelperTextBox_unrecognisedEmail_title:"Not a recognised government email",emailHelperTextBox_unrecognisedEmail_text:"To confirm you work in government or policy, please add more details below. <link>Learn more</link>.",emailHelperTextBox_pendingApproval_title:"Email is pending approval",emailHelperTextBox_pendingApproval_text:"Looks like this email has been used to sign up to Apolitical before, but <strong>we have not yet approved it.</strong> If you cannot wait to join, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_emailUnverified_title:"Hello again!",emailHelperTextBox_emailUnverified_text:"It looks like you're already an Apolitical member. To access your account, please verify your email address. <link>Click here to get a verification code sent to your email</link>.",emailHelperTextBox_emailAlreadyExists_title:"Email is already registered",emailHelperTextBox_emailAlreadyExists_text:"Looks like this email has been used to sign up to Apolitical before, try <link>logging in</link> instead. If you're still having issues, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_error_verificationFailedToSend_title:"Verification code failed to send",emailHelperTextBox_error_verificationFailedToSend_text:"Error details: <em>{error}</em>{br}<link>Click here to try again</link>.{br}If you continue to have problems, contact us at <mail>concierge@apolitical.co</mail>",emailHelperTextBox_error_noFunction:"Cannot resend verification code.",filters_all:"Show all",filters_disabled:"{name} - no results",footer_platform:"Platform",footer_platform_events:"Events",footer_platform_courses:"Courses",footer_platform_qanda:"Q&A",footer_platform_articles:"Articles",footer_community:"Community",footer_community_support:"Support FAQ",footer_community_post:"Post on Apolitical",footer_community_join:"Who can join",footer_community_guidelines:"Guidelines & values",footer_company:"Company",footer_company_story:"Our story",footer_company_team:"Meet our team",footer_company_careers:"Careers",footer_company_partner:"Partner with us",footer_company_contact:"Get in touch",footer_legal:"Legal",footer_legal_privacy:"Privacy policy",footer_legal_terms:"Terms & conditions",footer_legal_cookie:"Cookie policy",footer_legal_accessibility:"Accessibility statement",footer_legal_dataProtection:"Data protection officer",footer_legal_euDataProtection:"EU data protection officer",footer_contact:"Contact",footer_contact_correspondence:"Correspondence address",footer_contact_correspondence_address:"251 Southwark Bridge Road{br}London, SE1 6FL{br}United Kingdom",footer_contact_registered:"Registered address",footer_contact_registered_address:"20–22 Wenlock Road{br}London, N1 7GU{br}United Kingdom",footer_contact_berlin:"Berlin address",footer_contact_berlin_address:"Torstraße 220{br}10115 Berlin{br}Germany",footer_contact_support:"For platform support",footer_contact_business:"For business inquiries",footer_social_linkedin:"LinkedIn",footer_social_twitter:"Twitter",footer_social_facebook:"Facebook",footer_copyright:"Copyright © {currentYear} Apolitical Group Limited",form_fieldWrapper_required:"required",form_fieldWrapper_characterLimit:"Character limit:",form_error_generalError:"Sorry, something has gone. Please refresh the page and try again.",form_error_required:"Please fill in this required field",form_error_numbers:"Numbers are not allowed in this text field",form_error_email:"Please enter a valid email address",form_error_url:"Please enter a valid URL",form_submit:"Submit",form_submitting:"Submitting form...",form_submitted:"Submitted",header_skip:"Skip to main content",header_search_show:"Show search bar",header_search_hide:"Close search bar",header_menu_show:"Show navigation",header_menu_hide:"Close navigation",header_home_loggedOut:"Home",header_home_loggedIn:"My Home",header_topics:"Topics",header_topics_explore:"Explore",header_topics_explore_events:"Events",header_topics_explore_courses:"Courses","header_topics_explore_q-and-a":"Q&A",header_topics_explore_articles:"Articles",header_topics_topics:"Topics",header_topics_topics_climate:"Climate","header_topics_topics_cities-and-local-government":"Cities and local government","header_topics_topics_digital-and-data":"Digital and data",header_topics_topics_education:"Education","header_topics_topics_equity-justice-and-inclusion":"Equity, justice and inclusion","header_topics_topics_health-and-social-care":"Health and social care",header_topics_topics_innovation:"Innovation","header_topics_topics_leadership-and-skills":"Leadership and skills","header_topics_topics_life-in-government":"Life in government",header_topics_topics_policymaking:"Policymaking","header_topics_topics_transport-and-infrastructure":"Transport and infrastructure","header_topics_topics_work-and-the-economy":"Work and the economy",header_partners:"For partners",header_account:"My account",header_account_show:"Show account menu",header_account_hide:"Close account menu",header_account_profile:"My profile",header_account_settings:"Settings & privacy","header_account_log-out":"Log out",header_buttons_login:"Log in",header_buttons_signup:"Sign up",hideShowTextBox_hide:"View less",hideShowTextBox_show:"View more",loadMore_button:"Load more",loadMore_endOfFeed:"You're all caught up",loadMore_error:"We're having trouble loading more content. Please refresh the page or try again later.",loadingBlock_loading:"Loading...",loadingBlock_almostDone:"Almost done...",loadingBlock_complete:"Complete!",markdown_collapsibleSection_summary:"Resources",markdown_skip_video:"Skip past video",markdown_skip_padlet:"Skip past interactive board",markdown_skip_poll:"Skip past poll",markdown_skip:"Skip to next section",markdown_iframe_title:"Course information",markdown_iframe_video:"Video",markdown_iframe_padlet:"Interactive board",markdown_iframe_poll:"Poll",pageLayout_error:"An error occurred while rendering this page. Please refresh the page or try again later.",passwordRules_intro:"We advise you not to use your name or email in your password.",passwordRules_rule_label:"Password",passwordRules_rule_8Characters:"must be longer than 8 characters",passwordRules_rule_numberSymbol:"must include a number and a symbol",passwordRules_rule_lowercaseUppercase:"must include both lower and upper case characters",passwordRules_notMet:"Your password does not meet this requirement",progressBar:"{number}% loaded",ratings_text:"Rate answer",ratings_stars:"{number} out of {total}",ratings_low:"this is incorrect or confusing",ratings_high:"this is a fantastic answer",ratings_success:"Thank you!",search_label:"Search for:",search_placeholder:"Ask Apolitical",search_clear:"Clear search",search_cta:"Search",signup_title:"Sign up",signup_full_name:"Full name",signup_full_name_placeholder:"Lionel Messi",signup_email_address:"Work email",signup_email_address_placeholder:"lionel.messi@argentina.gov",signup_job_title:"Job title",signup_job_title_placeholder:"e.g. Senior Policy Advisor",signup_organization:"Organisation",signup_organization_placeholder:"e.g. Department of Justice",signup_url:"Link to official government bio / LinkedIn <small>(optional)</small>",signup_url_placeholder:"https://organisation.com/bio",signup_expectation:"What do you want to know<small>Optional, but we will use your response to build the session!</small>",signup_expectation_placeholder:"What do you want to know?",signup_terms:"I accept Apolitical's <terms>Terms of Service</terms>, <privacy>Privacy Policy</privacy> and that I'll get essential emails for my use of Apolitical",signup_error:"We're really sorry, but we've had a problem trying to sign you up. This could be an issue with our system, so we suggest you try again later.",signup_button_join:"Join for free",signup_button_login:"Log in",signup_submitting:"Submitting form...",signup_success_title:"Thank you for applying to join Apolitical!",signup_success_text:"<p>Once we've vetted your application, you'll get a secure login link to help you get started.</p><p>Please note that trust is everything to our community, so you can't login until your identity has been verified.</p>",sharedLinks_copy_text:"Copy link",tags_community:"From the community"},O_={collapsibleSection_summary:"En savoir plus"},M_=Object.freeze(Object.defineProperty({__proto__:null,en:yh,fr:O_},Symbol.toStringTag,{value:"Module"})),qe=({children:e,locale:t="en",text:r=!1})=>E.jsx(P_,{locale:t,messages:r||M_[t.replace("-","")],children:e}),I_=(e,t)=>j.Children.map(e,r=>j.cloneElement(r,{...t}));var Uu={exports:{}},we={};/**
|
|
49
49
|
* @license React
|
|
50
50
|
* react-dom-test-utils.production.min.js
|
|
51
51
|
*
|
|
@@ -53,7 +53,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
53
53
|
*
|
|
54
54
|
* This source code is licensed under the MIT license found in the
|
|
55
55
|
* LICENSE file in the root directory of this source tree.
|
|
56
|
-
*/var td;function CE(){if(td)return we;td=1;var e=j,t=$c;function r(g){var N=g,$=g;if(g.alternate)for(;N.return;)N=N.return;else{g=N;do N=g,N.flags&4098&&($=N.return),g=N.return;while(g)}return N.tag===3?$:null}function n(g){if(r(g)!==g)throw Error("Unable to find node on an unmounted component.")}function a(g){var N=g.alternate;if(!N){if(N=r(g),N===null)throw Error("Unable to find node on an unmounted component.");return N!==g?null:g}for(var $=g,W=N;;){var ae=$.return;if(ae===null)break;var le=ae.alternate;if(le===null){if(W=ae.return,W!==null){$=W;continue}break}if(ae.child===le.child){for(le=ae.child;le;){if(le===$)return n(ae),g;if(le===W)return n(ae),N;le=le.sibling}throw Error("Unable to find node on an unmounted component.")}if($.return!==W.return)$=ae,W=le;else{for(var Y=!1,oe=ae.child;oe;){if(oe===$){Y=!0,$=ae,W=le;break}if(oe===W){Y=!0,W=ae,$=le;break}oe=oe.sibling}if(!Y){for(oe=le.child;oe;){if(oe===$){Y=!0,$=le,W=ae;break}if(oe===W){Y=!0,W=le,$=ae;break}oe=oe.sibling}if(!Y)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if($.alternate!==W)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if($.tag!==3)throw Error("Unable to find node on an unmounted component.");return $.stateNode.current===$?g:N}var o=Object.assign;function i(g){var N=g.keyCode;return"charCode"in g?(g=g.charCode,g===0&&N===13&&(g=13)):g=N,g===10&&(g=13),32<=g||g===13?g:0}function s(){return!0}function l(){return!1}function u(g){function N($,W,ae,le,Y){this._reactName=$,this._targetInst=ae,this.type=W,this.nativeEvent=le,this.target=Y,this.currentTarget=null;for(var oe in g)g.hasOwnProperty(oe)&&($=g[oe],this[oe]=$?$(le):le[oe]);return this.isDefaultPrevented=(le.defaultPrevented!=null?le.defaultPrevented:le.returnValue===!1)?s:l,this.isPropagationStopped=l,this}return o(N.prototype,{preventDefault:function(){this.defaultPrevented=!0;var $=this.nativeEvent;$&&($.preventDefault?$.preventDefault():typeof $.returnValue!="unknown"&&($.returnValue=!1),this.isDefaultPrevented=s)},stopPropagation:function(){var $=this.nativeEvent;$&&($.stopPropagation?$.stopPropagation():typeof $.cancelBubble!="unknown"&&($.cancelBubble=!0),this.isPropagationStopped=s)},persist:function(){},isPersistent:s}),N}var c={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},d=u(c),m=o({},c,{view:0,detail:0});u(m);var f,y,v,R=o({},m,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:z,button:0,buttons:0,relatedTarget:function(g){return g.relatedTarget===void 0?g.fromElement===g.srcElement?g.toElement:g.fromElement:g.relatedTarget},movementX:function(g){return"movementX"in g?g.movementX:(g!==v&&(v&&g.type==="mousemove"?(f=g.screenX-v.screenX,y=g.screenY-v.screenY):y=f=0,v=g),f)},movementY:function(g){return"movementY"in g?g.movementY:y}});u(R);var h=o({},R,{dataTransfer:0});u(h);var E=o({},m,{relatedTarget:0});u(E);var C=o({},c,{animationName:0,elapsedTime:0,pseudoElement:0});u(C);var S=o({},c,{clipboardData:function(g){return"clipboardData"in g?g.clipboardData:window.clipboardData}});u(S);var x=o({},c,{data:0});u(x);var w={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},P={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"},A={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function H(g){var N=this.nativeEvent;return N.getModifierState?N.getModifierState(g):(g=A[g])?!!N[g]:!1}function z(){return H}var ne=o({},m,{key:function(g){if(g.key){var N=w[g.key]||g.key;if(N!=="Unidentified")return N}return g.type==="keypress"?(g=i(g),g===13?"Enter":String.fromCharCode(g)):g.type==="keydown"||g.type==="keyup"?P[g.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:z,charCode:function(g){return g.type==="keypress"?i(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?i(g):g.type==="keydown"||g.type==="keyup"?g.keyCode:0}});u(ne);var ie=o({},R,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});u(ie);var B=o({},m,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:z});u(B);var G=o({},c,{propertyName:0,elapsedTime:0,pseudoElement:0});u(G);var _e=o({},R,{deltaX:function(g){return"deltaX"in g?g.deltaX:"wheelDeltaX"in g?-g.wheelDeltaX:0},deltaY:function(g){return"deltaY"in g?g.deltaY:"wheelDeltaY"in g?-g.wheelDeltaY:"wheelDelta"in g?-g.wheelDelta:0},deltaZ:0,deltaMode:0});u(_e);function pe(g,N,$,W,ae,le,Y,oe,Re){var He=Array.prototype.slice.call(arguments,3);try{N.apply($,He)}catch(gr){this.onError(gr)}}var ye=!1,Te=null,Fe=!1,Z=null,Tt={onError:function(g){ye=!0,Te=g}};function Rt(g,N,$,W,ae,le,Y,oe,Re){ye=!1,Te=null,pe.apply(Tt,arguments)}function Oe(g,N,$,W,ae,le,Y,oe,Re){if(Rt.apply(this,arguments),ye){if(ye){var He=Te;ye=!1,Te=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");Fe||(Fe=!0,Z=He)}}var Ke=Array.isArray,Ie=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,St=Ie[0],Pt=Ie[1],At=Ie[2],Ot=Ie[3],It=Ie[4],U=e.unstable_act;function D(){}function qe(g,N){if(!g)return[];if(g=a(g),!g)return[];for(var $=g,W=[];;){if($.tag===5||$.tag===6||$.tag===1||$.tag===0){var ae=$.stateNode;N(ae)&&W.push(ae)}if($.child)$.child.return=$,$=$.child;else{if($===g)return W;for(;!$.sibling;){if(!$.return||$.return===g)return W;$=$.return}$.sibling.return=$.return,$=$.sibling}}}function Ee(g,N){if(g&&!g._reactInternals){var $=String(g);throw g=Ke(g)?"an array":g&&g.nodeType===1&&g.tagName?"a DOM node":$==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":$,Error(N+"(...): the first argument must be a React class instance. Instead received: "+(g+"."))}}function Ze(g){return!(!g||g.nodeType!==1||!g.tagName)}function ze(g){return Ze(g)?!1:g!=null&&typeof g.render=="function"&&typeof g.setState=="function"}function mt(g,N){return ze(g)?g._reactInternals.type===N:!1}function ot(g,N){return Ee(g,"findAllInRenderedTree"),g?qe(g._reactInternals,N):[]}function Wt(g,N){return Ee(g,"scryRenderedDOMComponentsWithClass"),ot(g,function($){if(Ze($)){var W=$.className;typeof W!="string"&&(W=$.getAttribute("class")||"");var ae=W.split(/\s+/);if(!Ke(N)){if(N===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");N=N.split(/\s+/)}return N.every(function(le){return ae.indexOf(le)!==-1})}return!1})}function Mt(g,N){return Ee(g,"scryRenderedDOMComponentsWithTag"),ot(g,function($){return Ze($)&&$.tagName.toUpperCase()===N.toUpperCase()})}function Vt(g,N){return Ee(g,"scryRenderedComponentsWithType"),ot(g,function($){return mt($,N)})}function hr(g,N,$){var W=g.type||"unknown-event";g.currentTarget=Pt($),Oe(W,N,void 0,g),g.currentTarget=null}function vr(g,N,$){for(var W=[];g;){W.push(g);do g=g.return;while(g&&g.tag!==5);g=g||null}for(g=W.length;0<g--;)N(W[g],"captured",$);for(g=0;g<W.length;g++)N(W[g],"bubbled",$)}function Xe(g,N){var $=g.stateNode;if(!$)return null;var W=At($);if(!W)return null;$=W[N];e:switch(N){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(W=!W.disabled)||(g=g.type,W=!(g==="button"||g==="input"||g==="select"||g==="textarea")),g=!W;break e;default:g=!1}if(g)return null;if($&&typeof $!="function")throw Error("Expected `"+N+"` listener to be a function, instead got a value of `"+typeof $+"` type.");return $}function zt(g,N,$){g&&$&&$._reactName&&(N=Xe(g,$._reactName))&&($._dispatchListeners==null&&($._dispatchListeners=[]),$._dispatchInstances==null&&($._dispatchInstances=[]),$._dispatchListeners.push(N),$._dispatchInstances.push(g))}function yr(g,N,$){var W=$._reactName;N==="captured"&&(W+="Capture"),(N=Xe(g,W))&&($._dispatchListeners==null&&($._dispatchListeners=[]),$._dispatchInstances==null&&($._dispatchInstances=[]),$._dispatchListeners.push(N),$._dispatchInstances.push(g))}var br={},ht=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function Ur(g){return function(N,$){if(e.isValidElement(N))throw 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(ze(N))throw 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 W="on"+g[0].toUpperCase()+g.slice(1),ae=new D;ae.target=N,ae.type=g.toLowerCase();var le=St(N),Y=new d(W,ae.type,le,ae,N);Y.persist(),o(Y,$),ht.has(g)?Y&&Y._reactName&&zt(Y._targetInst,null,Y):Y&&Y._reactName&&vr(Y._targetInst,yr,Y),t.unstable_batchedUpdates(function(){if(Ot(N),Y){var oe=Y._dispatchListeners,Re=Y._dispatchInstances;if(Ke(oe))for(var He=0;He<oe.length&&!Y.isPropagationStopped();He++)hr(Y,oe[He],Re[He]);else oe&&hr(Y,oe,Re);Y._dispatchListeners=null,Y._dispatchInstances=null,Y.isPersistent()||Y.constructor.release(Y)}if(Fe)throw oe=Z,Fe=!1,Z=null,oe}),It()}}return"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".split(" ").forEach(function(g){br[g]=Ur(g)}),we.Simulate=br,we.act=U,we.findAllInRenderedTree=ot,we.findRenderedComponentWithType=function(g,N){if(Ee(g,"findRenderedComponentWithType"),g=Vt(g,N),g.length!==1)throw Error("Did not find exactly one match (found: "+g.length+") for componentType:"+N);return g[0]},we.findRenderedDOMComponentWithClass=function(g,N){if(Ee(g,"findRenderedDOMComponentWithClass"),g=Wt(g,N),g.length!==1)throw Error("Did not find exactly one match (found: "+g.length+") for class:"+N);return g[0]},we.findRenderedDOMComponentWithTag=function(g,N){if(Ee(g,"findRenderedDOMComponentWithTag"),g=Mt(g,N),g.length!==1)throw Error("Did not find exactly one match (found: "+g.length+") for tag:"+N);return g[0]},we.isCompositeComponent=ze,we.isCompositeComponentWithType=mt,we.isDOMComponent=Ze,we.isDOMComponentElement=function(g){return!!(g&&e.isValidElement(g)&&g.tagName)},we.isElement=function(g){return e.isValidElement(g)},we.isElementOfType=function(g,N){return e.isValidElement(g)&&g.type===N},we.mockComponent=function(g,N){return N=N||g.mockTagName||"div",g.prototype.render.mockImplementation(function(){return e.createElement(N,null,this.props.children)}),this},we.nativeTouchData=function(g,N){return{touches:[{pageX:g,pageY:N}]}},we.renderIntoDocument=function(g){var N=document.createElement("div");return t.render(g,N)},we.scryRenderedComponentsWithType=Vt,we.scryRenderedDOMComponentsWithClass=Wt,we.scryRenderedDOMComponentsWithTag=Mt,we.traverseTwoPhase=vr,we}var xe={};/**
|
|
56
|
+
*/var nf;function $_(){if(nf)return we;nf=1;var e=j,t=kc;function r(g){var N=g,$=g;if(g.alternate)for(;N.return;)N=N.return;else{g=N;do N=g,N.flags&4098&&($=N.return),g=N.return;while(g)}return N.tag===3?$:null}function n(g){if(r(g)!==g)throw Error("Unable to find node on an unmounted component.")}function a(g){var N=g.alternate;if(!N){if(N=r(g),N===null)throw Error("Unable to find node on an unmounted component.");return N!==g?null:g}for(var $=g,W=N;;){var ae=$.return;if(ae===null)break;var le=ae.alternate;if(le===null){if(W=ae.return,W!==null){$=W;continue}break}if(ae.child===le.child){for(le=ae.child;le;){if(le===$)return n(ae),g;if(le===W)return n(ae),N;le=le.sibling}throw Error("Unable to find node on an unmounted component.")}if($.return!==W.return)$=ae,W=le;else{for(var Y=!1,oe=ae.child;oe;){if(oe===$){Y=!0,$=ae,W=le;break}if(oe===W){Y=!0,W=ae,$=le;break}oe=oe.sibling}if(!Y){for(oe=le.child;oe;){if(oe===$){Y=!0,$=le,W=ae;break}if(oe===W){Y=!0,W=le,$=ae;break}oe=oe.sibling}if(!Y)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if($.alternate!==W)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if($.tag!==3)throw Error("Unable to find node on an unmounted component.");return $.stateNode.current===$?g:N}var o=Object.assign;function i(g){var N=g.keyCode;return"charCode"in g?(g=g.charCode,g===0&&N===13&&(g=13)):g=N,g===10&&(g=13),32<=g||g===13?g:0}function s(){return!0}function l(){return!1}function u(g){function N($,W,ae,le,Y){this._reactName=$,this._targetInst=ae,this.type=W,this.nativeEvent=le,this.target=Y,this.currentTarget=null;for(var oe in g)g.hasOwnProperty(oe)&&($=g[oe],this[oe]=$?$(le):le[oe]);return this.isDefaultPrevented=(le.defaultPrevented!=null?le.defaultPrevented:le.returnValue===!1)?s:l,this.isPropagationStopped=l,this}return o(N.prototype,{preventDefault:function(){this.defaultPrevented=!0;var $=this.nativeEvent;$&&($.preventDefault?$.preventDefault():typeof $.returnValue!="unknown"&&($.returnValue=!1),this.isDefaultPrevented=s)},stopPropagation:function(){var $=this.nativeEvent;$&&($.stopPropagation?$.stopPropagation():typeof $.cancelBubble!="unknown"&&($.cancelBubble=!0),this.isPropagationStopped=s)},persist:function(){},isPersistent:s}),N}var c={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},f=u(c),m=o({},c,{view:0,detail:0});u(m);var d,y,v,S=o({},m,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:z,button:0,buttons:0,relatedTarget:function(g){return g.relatedTarget===void 0?g.fromElement===g.srcElement?g.toElement:g.fromElement:g.relatedTarget},movementX:function(g){return"movementX"in g?g.movementX:(g!==v&&(v&&g.type==="mousemove"?(d=g.screenX-v.screenX,y=g.screenY-v.screenY):y=d=0,v=g),d)},movementY:function(g){return"movementY"in g?g.movementY:y}});u(S);var h=o({},S,{dataTransfer:0});u(h);var _=o({},m,{relatedTarget:0});u(_);var C=o({},c,{animationName:0,elapsedTime:0,pseudoElement:0});u(C);var R=o({},c,{clipboardData:function(g){return"clipboardData"in g?g.clipboardData:window.clipboardData}});u(R);var w=o({},c,{data:0});u(w);var x={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},P={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"},A={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function H(g){var N=this.nativeEvent;return N.getModifierState?N.getModifierState(g):(g=A[g])?!!N[g]:!1}function z(){return H}var ne=o({},m,{key:function(g){if(g.key){var N=x[g.key]||g.key;if(N!=="Unidentified")return N}return g.type==="keypress"?(g=i(g),g===13?"Enter":String.fromCharCode(g)):g.type==="keydown"||g.type==="keyup"?P[g.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:z,charCode:function(g){return g.type==="keypress"?i(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?i(g):g.type==="keydown"||g.type==="keyup"?g.keyCode:0}});u(ne);var ie=o({},S,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});u(ie);var B=o({},m,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:z});u(B);var G=o({},c,{propertyName:0,elapsedTime:0,pseudoElement:0});u(G);var Ee=o({},S,{deltaX:function(g){return"deltaX"in g?g.deltaX:"wheelDeltaX"in g?-g.wheelDeltaX:0},deltaY:function(g){return"deltaY"in g?g.deltaY:"wheelDeltaY"in g?-g.wheelDeltaY:"wheelDelta"in g?-g.wheelDelta:0},deltaZ:0,deltaMode:0});u(Ee);function pe(g,N,$,W,ae,le,Y,oe,Se){var He=Array.prototype.slice.call(arguments,3);try{N.apply($,He)}catch(gr){this.onError(gr)}}var ye=!1,Te=null,Fe=!1,Z=null,Tt={onError:function(g){ye=!0,Te=g}};function St(g,N,$,W,ae,le,Y,oe,Se){ye=!1,Te=null,pe.apply(Tt,arguments)}function Oe(g,N,$,W,ae,le,Y,oe,Se){if(St.apply(this,arguments),ye){if(ye){var He=Te;ye=!1,Te=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");Fe||(Fe=!0,Z=He)}}var Ke=Array.isArray,Ie=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,Rt=Ie[0],Pt=Ie[1],At=Ie[2],Ot=Ie[3],Mt=Ie[4],U=e.unstable_act;function D(){}function Be(g,N){if(!g)return[];if(g=a(g),!g)return[];for(var $=g,W=[];;){if($.tag===5||$.tag===6||$.tag===1||$.tag===0){var ae=$.stateNode;N(ae)&&W.push(ae)}if($.child)$.child.return=$,$=$.child;else{if($===g)return W;for(;!$.sibling;){if(!$.return||$.return===g)return W;$=$.return}$.sibling.return=$.return,$=$.sibling}}}function xe(g,N){if(g&&!g._reactInternals){var $=String(g);throw g=Ke(g)?"an array":g&&g.nodeType===1&&g.tagName?"a DOM node":$==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":$,Error(N+"(...): the first argument must be a React class instance. Instead received: "+(g+"."))}}function Ze(g){return!(!g||g.nodeType!==1||!g.tagName)}function ze(g){return Ze(g)?!1:g!=null&&typeof g.render=="function"&&typeof g.setState=="function"}function mt(g,N){return ze(g)?g._reactInternals.type===N:!1}function ot(g,N){return xe(g,"findAllInRenderedTree"),g?Be(g._reactInternals,N):[]}function Wt(g,N){return xe(g,"scryRenderedDOMComponentsWithClass"),ot(g,function($){if(Ze($)){var W=$.className;typeof W!="string"&&(W=$.getAttribute("class")||"");var ae=W.split(/\s+/);if(!Ke(N)){if(N===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");N=N.split(/\s+/)}return N.every(function(le){return ae.indexOf(le)!==-1})}return!1})}function It(g,N){return xe(g,"scryRenderedDOMComponentsWithTag"),ot(g,function($){return Ze($)&&$.tagName.toUpperCase()===N.toUpperCase()})}function Vt(g,N){return xe(g,"scryRenderedComponentsWithType"),ot(g,function($){return mt($,N)})}function hr(g,N,$){var W=g.type||"unknown-event";g.currentTarget=Pt($),Oe(W,N,void 0,g),g.currentTarget=null}function vr(g,N,$){for(var W=[];g;){W.push(g);do g=g.return;while(g&&g.tag!==5);g=g||null}for(g=W.length;0<g--;)N(W[g],"captured",$);for(g=0;g<W.length;g++)N(W[g],"bubbled",$)}function Xe(g,N){var $=g.stateNode;if(!$)return null;var W=At($);if(!W)return null;$=W[N];e:switch(N){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(W=!W.disabled)||(g=g.type,W=!(g==="button"||g==="input"||g==="select"||g==="textarea")),g=!W;break e;default:g=!1}if(g)return null;if($&&typeof $!="function")throw Error("Expected `"+N+"` listener to be a function, instead got a value of `"+typeof $+"` type.");return $}function zt(g,N,$){g&&$&&$._reactName&&(N=Xe(g,$._reactName))&&($._dispatchListeners==null&&($._dispatchListeners=[]),$._dispatchInstances==null&&($._dispatchInstances=[]),$._dispatchListeners.push(N),$._dispatchInstances.push(g))}function yr(g,N,$){var W=$._reactName;N==="captured"&&(W+="Capture"),(N=Xe(g,W))&&($._dispatchListeners==null&&($._dispatchListeners=[]),$._dispatchInstances==null&&($._dispatchInstances=[]),$._dispatchListeners.push(N),$._dispatchInstances.push(g))}var br={},ht=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function Ur(g){return function(N,$){if(e.isValidElement(N))throw 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(ze(N))throw 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 W="on"+g[0].toUpperCase()+g.slice(1),ae=new D;ae.target=N,ae.type=g.toLowerCase();var le=Rt(N),Y=new f(W,ae.type,le,ae,N);Y.persist(),o(Y,$),ht.has(g)?Y&&Y._reactName&&zt(Y._targetInst,null,Y):Y&&Y._reactName&&vr(Y._targetInst,yr,Y),t.unstable_batchedUpdates(function(){if(Ot(N),Y){var oe=Y._dispatchListeners,Se=Y._dispatchInstances;if(Ke(oe))for(var He=0;He<oe.length&&!Y.isPropagationStopped();He++)hr(Y,oe[He],Se[He]);else oe&&hr(Y,oe,Se);Y._dispatchListeners=null,Y._dispatchInstances=null,Y.isPersistent()||Y.constructor.release(Y)}if(Fe)throw oe=Z,Fe=!1,Z=null,oe}),Mt()}}return"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".split(" ").forEach(function(g){br[g]=Ur(g)}),we.Simulate=br,we.act=U,we.findAllInRenderedTree=ot,we.findRenderedComponentWithType=function(g,N){if(xe(g,"findRenderedComponentWithType"),g=Vt(g,N),g.length!==1)throw Error("Did not find exactly one match (found: "+g.length+") for componentType:"+N);return g[0]},we.findRenderedDOMComponentWithClass=function(g,N){if(xe(g,"findRenderedDOMComponentWithClass"),g=Wt(g,N),g.length!==1)throw Error("Did not find exactly one match (found: "+g.length+") for class:"+N);return g[0]},we.findRenderedDOMComponentWithTag=function(g,N){if(xe(g,"findRenderedDOMComponentWithTag"),g=It(g,N),g.length!==1)throw Error("Did not find exactly one match (found: "+g.length+") for tag:"+N);return g[0]},we.isCompositeComponent=ze,we.isCompositeComponentWithType=mt,we.isDOMComponent=Ze,we.isDOMComponentElement=function(g){return!!(g&&e.isValidElement(g)&&g.tagName)},we.isElement=function(g){return e.isValidElement(g)},we.isElementOfType=function(g,N){return e.isValidElement(g)&&g.type===N},we.mockComponent=function(g,N){return N=N||g.mockTagName||"div",g.prototype.render.mockImplementation(function(){return e.createElement(N,null,this.props.children)}),this},we.nativeTouchData=function(g,N){return{touches:[{pageX:g,pageY:N}]}},we.renderIntoDocument=function(g){var N=document.createElement("div");return t.render(g,N)},we.scryRenderedComponentsWithType=Vt,we.scryRenderedDOMComponentsWithClass=Wt,we.scryRenderedDOMComponentsWithTag=It,we.traverseTwoPhase=vr,we}var Ce={};/**
|
|
57
57
|
* @license React
|
|
58
58
|
* react-dom-test-utils.development.js
|
|
59
59
|
*
|
|
@@ -61,70 +61,70 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
61
61
|
*
|
|
62
62
|
* This source code is licensed under the MIT license found in the
|
|
63
63
|
* LICENSE file in the root directory of this source tree.
|
|
64
|
-
*/var rd;function TE(){return rd||(rd=1,process.env.NODE_ENV!=="production"&&function(){var e=j,t=$c,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(b){{for(var I=arguments.length,O=new Array(I>1?I-1:0),k=1;k<I;k++)O[k-1]=arguments[k];o("warn",b,O)}}function a(b){{for(var I=arguments.length,O=new Array(I>1?I-1:0),k=1;k<I;k++)O[k-1]=arguments[k];o("error",b,O)}}function o(b,I,O){{var k=r.ReactDebugCurrentFrame,V=k.getStackAddendum();V!==""&&(I+="%s",O=O.concat([V]));var K=O.map(function(be){return String(be)});K.unshift("Warning: "+I),Function.prototype.apply.call(console[b],console,K)}}function i(b){return b._reactInternals}var s=0,l=1,u=3,c=5,d=6,m=0,f=2,y=4096;r.ReactCurrentOwner;function v(b){var I=b,O=b;if(b.alternate)for(;I.return;)I=I.return;else{var k=I;do I=k,(I.flags&(f|y))!==m&&(O=I.return),k=I.return;while(k)}return I.tag===u?O:null}function R(b){if(v(b)!==b)throw new Error("Unable to find node on an unmounted component.")}function h(b){var I=b.alternate;if(!I){var O=v(b);if(O===null)throw new Error("Unable to find node on an unmounted component.");return O!==b?null:b}for(var k=b,V=I;;){var K=k.return;if(K===null)break;var be=K.alternate;if(be===null){var Ue=K.return;if(Ue!==null){k=V=Ue;continue}break}if(K.child===be.child){for(var Ge=K.child;Ge;){if(Ge===k)return R(K),b;if(Ge===V)return R(K),I;Ge=Ge.sibling}throw new Error("Unable to find node on an unmounted component.")}if(k.return!==V.return)k=K,V=be;else{for(var Be=!1,Se=K.child;Se;){if(Se===k){Be=!0,k=K,V=be;break}if(Se===V){Be=!0,V=K,k=be;break}Se=Se.sibling}if(!Be){for(Se=be.child;Se;){if(Se===k){Be=!0,k=be,V=K;break}if(Se===V){Be=!0,V=be,k=K;break}Se=Se.sibling}if(!Be)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(k.alternate!==V)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(k.tag!==u)throw new Error("Unable to find node on an unmounted component.");return k.stateNode.current===k?b:I}var E=Object.assign;function C(b){var I,O=b.keyCode;return"charCode"in b?(I=b.charCode,I===0&&O===13&&(I=13)):I=O,I===10&&(I=13),I>=32||I===13?I:0}function S(){return!0}function x(){return!1}function w(b){function I(O,k,V,K,be){this._reactName=O,this._targetInst=V,this.type=k,this.nativeEvent=K,this.target=be,this.currentTarget=null;for(var Ue in b)if(b.hasOwnProperty(Ue)){var Ge=b[Ue];Ge?this[Ue]=Ge(K):this[Ue]=K[Ue]}var Be=K.defaultPrevented!=null?K.defaultPrevented:K.returnValue===!1;return Be?this.isDefaultPrevented=S:this.isDefaultPrevented=x,this.isPropagationStopped=x,this}return E(I.prototype,{preventDefault:function(){this.defaultPrevented=!0;var O=this.nativeEvent;O&&(O.preventDefault?O.preventDefault():typeof O.returnValue!="unknown"&&(O.returnValue=!1),this.isDefaultPrevented=S)},stopPropagation:function(){var O=this.nativeEvent;O&&(O.stopPropagation?O.stopPropagation():typeof O.cancelBubble!="unknown"&&(O.cancelBubble=!0),this.isPropagationStopped=S)},persist:function(){},isPersistent:S}),I}var P={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(b){return b.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},A=w(P),H=E({},P,{view:0,detail:0});w(H);var z,ne,ie;function B(b){b!==ie&&(ie&&b.type==="mousemove"?(z=b.screenX-ie.screenX,ne=b.screenY-ie.screenY):(z=0,ne=0),ie=b)}var G=E({},H,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ie,button:0,buttons:0,relatedTarget:function(b){return b.relatedTarget===void 0?b.fromElement===b.srcElement?b.toElement:b.fromElement:b.relatedTarget},movementX:function(b){return"movementX"in b?b.movementX:(B(b),z)},movementY:function(b){return"movementY"in b?b.movementY:ne}});w(G);var _e=E({},G,{dataTransfer:0});w(_e);var pe=E({},H,{relatedTarget:0});w(pe);var ye=E({},P,{animationName:0,elapsedTime:0,pseudoElement:0});w(ye);var Te=E({},P,{clipboardData:function(b){return"clipboardData"in b?b.clipboardData:window.clipboardData}});w(Te);var Fe=E({},P,{data:0});w(Fe);var Z={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Tt={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 Rt(b){if(b.key){var I=Z[b.key]||b.key;if(I!=="Unidentified")return I}if(b.type==="keypress"){var O=C(b);return O===13?"Enter":String.fromCharCode(O)}return b.type==="keydown"||b.type==="keyup"?Tt[b.keyCode]||"Unidentified":""}var Oe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ke(b){var I=this,O=I.nativeEvent;if(O.getModifierState)return O.getModifierState(b);var k=Oe[b];return k?!!O[k]:!1}function Ie(b){return Ke}var St=E({},H,{key:Rt,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ie,charCode:function(b){return b.type==="keypress"?C(b):0},keyCode:function(b){return b.type==="keydown"||b.type==="keyup"?b.keyCode:0},which:function(b){return b.type==="keypress"?C(b):b.type==="keydown"||b.type==="keyup"?b.keyCode:0}});w(St);var Pt=E({},G,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});w(Pt);var At=E({},H,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ie});w(At);var Ot=E({},P,{propertyName:0,elapsedTime:0,pseudoElement:0});w(Ot);var It=E({},G,{deltaX:function(b){return"deltaX"in b?b.deltaX:"wheelDeltaX"in b?-b.wheelDeltaX:0},deltaY:function(b){return"deltaY"in b?b.deltaY:"wheelDeltaY"in b?-b.wheelDeltaY:"wheelDelta"in b?-b.wheelDelta:0},deltaZ:0,deltaMode:0});w(It);var U=1;function D(b,I,O,k,V,K,be,Ue,Ge){var Be=Array.prototype.slice.call(arguments,3);try{I.apply(O,Be)}catch(Se){this.onError(Se)}}var qe=D;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Ee=document.createElement("react");qe=function(I,O,k,V,K,be,Ue,Ge,Be){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 Se=document.createEvent("Event"),gn=!1,Wr=!0,Es=window.event,na=Object.getOwnPropertyDescriptor(window,"event");function aa(){Ee.removeEventListener(En,oa,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Es)}var ws=Array.prototype.slice.call(arguments,3);function oa(){gn=!0,aa(),O.apply(k,ws),Wr=!1}var yt,ia=!1,_n=!1;function la(qt){if(yt=qt.error,ia=!0,yt===null&&qt.colno===0&&qt.lineno===0&&(_n=!0),qt.defaultPrevented&&yt!=null&&typeof yt=="object")try{yt._suppressLogging=!0}catch{}}var En="react-"+(I||"invokeguardedcallback");if(window.addEventListener("error",la),Ee.addEventListener(En,oa,!1),Se.initEvent(En,!1,!1),Ee.dispatchEvent(Se),na&&Object.defineProperty(window,"event",na),gn&&Wr&&(ia?_n&&(yt=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.")):yt=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(yt)),window.removeEventListener("error",la),!gn)return aa(),D.apply(this,arguments)}}var Ze=qe,ze=!1,mt=null,ot=!1,Wt=null,Mt={onError:function(b){ze=!0,mt=b}};function Vt(b,I,O,k,V,K,be,Ue,Ge){ze=!1,mt=null,Ze.apply(Mt,arguments)}function hr(b,I,O,k,V,K,be,Ue,Ge){if(Vt.apply(this,arguments),ze){var Be=Xe();ot||(ot=!0,Wt=Be)}}function vr(){if(ot){var b=Wt;throw ot=!1,Wt=null,b}}function Xe(){if(ze){var b=mt;return ze=!1,mt=null,b}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 zt=Array.isArray;function yr(b){return zt(b)}var br=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ht=br.Events,Ur=ht[0],g=ht[1],N=ht[2],$=ht[3],W=ht[4],ae=e.unstable_act;function le(b){}var Y=!1;function oe(b,I){if(!b)return[];var O=h(b);if(!O)return[];for(var k=O,V=[];;){if(k.tag===c||k.tag===d||k.tag===l||k.tag===s){var K=k.stateNode;I(K)&&V.push(K)}if(k.child){k.child.return=k,k=k.child;continue}if(k===O)return V;for(;!k.sibling;){if(!k.return||k.return===O)return V;k=k.return}k.sibling.return=k.return,k=k.sibling}}function Re(b,I){if(b&&!i(b)){var O,k=String(b);throw yr(b)?O="an array":b&&b.nodeType===U&&b.tagName?O="a DOM node":k==="[object Object]"?O="object with keys {"+Object.keys(b).join(", ")+"}":O=k,new Error(I+"(...): the first argument must be a React class instance. "+("Instead received: "+O+"."))}}function He(b){var I=document.createElement("div");return t.render(b,I)}function gr(b){return e.isValidElement(b)}function vn(b,I){return e.isValidElement(b)&&b.type===I}function vt(b){return!!(b&&b.nodeType===U&&b.tagName)}function as(b){return!!(b&&e.isValidElement(b)&&b.tagName)}function yn(b){return vt(b)?!1:b!=null&&typeof b.render=="function"&&typeof b.setState=="function"}function Zn(b,I){if(!yn(b))return!1;var O=i(b),k=O.type;return k===I}function Gr(b,I){if(Re(b,"findAllInRenderedTree"),!b)return[];var O=i(b);return oe(O,I)}function Jn(b,I){return Re(b,"scryRenderedDOMComponentsWithClass"),Gr(b,function(O){if(vt(O)){var k=O.className;typeof k!="string"&&(k=O.getAttribute("class")||"");var V=k.split(/\s+/);if(!yr(I)){if(I===void 0)throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");I=I.split(/\s+/)}return I.every(function(K){return V.indexOf(K)!==-1})}return!1})}function Qn(b,I){Re(b,"findRenderedDOMComponentWithClass");var O=Jn(b,I);if(O.length!==1)throw new Error("Did not find exactly one match (found: "+O.length+") for class:"+I);return O[0]}function bn(b,I){return Re(b,"scryRenderedDOMComponentsWithTag"),Gr(b,function(O){return vt(O)&&O.tagName.toUpperCase()===I.toUpperCase()})}function $t(b,I){Re(b,"findRenderedDOMComponentWithTag");var O=bn(b,I);if(O.length!==1)throw new Error("Did not find exactly one match (found: "+O.length+") for tag:"+I);return O[0]}function ea(b,I){return Re(b,"scryRenderedComponentsWithType"),Gr(b,function(O){return Zn(O,I)})}function os(b,I){Re(b,"findRenderedComponentWithType");var O=ea(b,I);if(O.length!==1)throw new Error("Did not find exactly one match (found: "+O.length+") for componentType:"+I);return O[0]}function is(b,I){return Y||(Y=!0,n(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
|
|
64
|
+
*/var af;function k_(){return af||(af=1,process.env.NODE_ENV!=="production"&&function(){var e=j,t=kc,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(b){{for(var M=arguments.length,O=new Array(M>1?M-1:0),k=1;k<M;k++)O[k-1]=arguments[k];o("warn",b,O)}}function a(b){{for(var M=arguments.length,O=new Array(M>1?M-1:0),k=1;k<M;k++)O[k-1]=arguments[k];o("error",b,O)}}function o(b,M,O){{var k=r.ReactDebugCurrentFrame,V=k.getStackAddendum();V!==""&&(M+="%s",O=O.concat([V]));var K=O.map(function(be){return String(be)});K.unshift("Warning: "+M),Function.prototype.apply.call(console[b],console,K)}}function i(b){return b._reactInternals}var s=0,l=1,u=3,c=5,f=6,m=0,d=2,y=4096;r.ReactCurrentOwner;function v(b){var M=b,O=b;if(b.alternate)for(;M.return;)M=M.return;else{var k=M;do M=k,(M.flags&(d|y))!==m&&(O=M.return),k=M.return;while(k)}return M.tag===u?O:null}function S(b){if(v(b)!==b)throw new Error("Unable to find node on an unmounted component.")}function h(b){var M=b.alternate;if(!M){var O=v(b);if(O===null)throw new Error("Unable to find node on an unmounted component.");return O!==b?null:b}for(var k=b,V=M;;){var K=k.return;if(K===null)break;var be=K.alternate;if(be===null){var Ue=K.return;if(Ue!==null){k=V=Ue;continue}break}if(K.child===be.child){for(var Ge=K.child;Ge;){if(Ge===k)return S(K),b;if(Ge===V)return S(K),M;Ge=Ge.sibling}throw new Error("Unable to find node on an unmounted component.")}if(k.return!==V.return)k=K,V=be;else{for(var je=!1,Re=K.child;Re;){if(Re===k){je=!0,k=K,V=be;break}if(Re===V){je=!0,V=K,k=be;break}Re=Re.sibling}if(!je){for(Re=be.child;Re;){if(Re===k){je=!0,k=be,V=K;break}if(Re===V){je=!0,V=be,k=K;break}Re=Re.sibling}if(!je)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(k.alternate!==V)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(k.tag!==u)throw new Error("Unable to find node on an unmounted component.");return k.stateNode.current===k?b:M}var _=Object.assign;function C(b){var M,O=b.keyCode;return"charCode"in b?(M=b.charCode,M===0&&O===13&&(M=13)):M=O,M===10&&(M=13),M>=32||M===13?M:0}function R(){return!0}function w(){return!1}function x(b){function M(O,k,V,K,be){this._reactName=O,this._targetInst=V,this.type=k,this.nativeEvent=K,this.target=be,this.currentTarget=null;for(var Ue in b)if(b.hasOwnProperty(Ue)){var Ge=b[Ue];Ge?this[Ue]=Ge(K):this[Ue]=K[Ue]}var je=K.defaultPrevented!=null?K.defaultPrevented:K.returnValue===!1;return je?this.isDefaultPrevented=R:this.isDefaultPrevented=w,this.isPropagationStopped=w,this}return _(M.prototype,{preventDefault:function(){this.defaultPrevented=!0;var O=this.nativeEvent;O&&(O.preventDefault?O.preventDefault():typeof O.returnValue!="unknown"&&(O.returnValue=!1),this.isDefaultPrevented=R)},stopPropagation:function(){var O=this.nativeEvent;O&&(O.stopPropagation?O.stopPropagation():typeof O.cancelBubble!="unknown"&&(O.cancelBubble=!0),this.isPropagationStopped=R)},persist:function(){},isPersistent:R}),M}var P={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(b){return b.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},A=x(P),H=_({},P,{view:0,detail:0});x(H);var z,ne,ie;function B(b){b!==ie&&(ie&&b.type==="mousemove"?(z=b.screenX-ie.screenX,ne=b.screenY-ie.screenY):(z=0,ne=0),ie=b)}var G=_({},H,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ie,button:0,buttons:0,relatedTarget:function(b){return b.relatedTarget===void 0?b.fromElement===b.srcElement?b.toElement:b.fromElement:b.relatedTarget},movementX:function(b){return"movementX"in b?b.movementX:(B(b),z)},movementY:function(b){return"movementY"in b?b.movementY:ne}});x(G);var Ee=_({},G,{dataTransfer:0});x(Ee);var pe=_({},H,{relatedTarget:0});x(pe);var ye=_({},P,{animationName:0,elapsedTime:0,pseudoElement:0});x(ye);var Te=_({},P,{clipboardData:function(b){return"clipboardData"in b?b.clipboardData:window.clipboardData}});x(Te);var Fe=_({},P,{data:0});x(Fe);var Z={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Tt={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 St(b){if(b.key){var M=Z[b.key]||b.key;if(M!=="Unidentified")return M}if(b.type==="keypress"){var O=C(b);return O===13?"Enter":String.fromCharCode(O)}return b.type==="keydown"||b.type==="keyup"?Tt[b.keyCode]||"Unidentified":""}var Oe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ke(b){var M=this,O=M.nativeEvent;if(O.getModifierState)return O.getModifierState(b);var k=Oe[b];return k?!!O[k]:!1}function Ie(b){return Ke}var Rt=_({},H,{key:St,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ie,charCode:function(b){return b.type==="keypress"?C(b):0},keyCode:function(b){return b.type==="keydown"||b.type==="keyup"?b.keyCode:0},which:function(b){return b.type==="keypress"?C(b):b.type==="keydown"||b.type==="keyup"?b.keyCode:0}});x(Rt);var Pt=_({},G,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});x(Pt);var At=_({},H,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ie});x(At);var Ot=_({},P,{propertyName:0,elapsedTime:0,pseudoElement:0});x(Ot);var Mt=_({},G,{deltaX:function(b){return"deltaX"in b?b.deltaX:"wheelDeltaX"in b?-b.wheelDeltaX:0},deltaY:function(b){return"deltaY"in b?b.deltaY:"wheelDeltaY"in b?-b.wheelDeltaY:"wheelDelta"in b?-b.wheelDelta:0},deltaZ:0,deltaMode:0});x(Mt);var U=1;function D(b,M,O,k,V,K,be,Ue,Ge){var je=Array.prototype.slice.call(arguments,3);try{M.apply(O,je)}catch(Re){this.onError(Re)}}var Be=D;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var xe=document.createElement("react");Be=function(M,O,k,V,K,be,Ue,Ge,je){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 Re=document.createEvent("Event"),gn=!1,Wr=!0,_s=window.event,na=Object.getOwnPropertyDescriptor(window,"event");function aa(){xe.removeEventListener(_n,oa,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=_s)}var xs=Array.prototype.slice.call(arguments,3);function oa(){gn=!0,aa(),O.apply(k,xs),Wr=!1}var yt,ia=!1,En=!1;function la(qt){if(yt=qt.error,ia=!0,yt===null&&qt.colno===0&&qt.lineno===0&&(En=!0),qt.defaultPrevented&&yt!=null&&typeof yt=="object")try{yt._suppressLogging=!0}catch{}}var _n="react-"+(M||"invokeguardedcallback");if(window.addEventListener("error",la),xe.addEventListener(_n,oa,!1),Re.initEvent(_n,!1,!1),xe.dispatchEvent(Re),na&&Object.defineProperty(window,"event",na),gn&&Wr&&(ia?En&&(yt=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.")):yt=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(yt)),window.removeEventListener("error",la),!gn)return aa(),D.apply(this,arguments)}}var Ze=Be,ze=!1,mt=null,ot=!1,Wt=null,It={onError:function(b){ze=!0,mt=b}};function Vt(b,M,O,k,V,K,be,Ue,Ge){ze=!1,mt=null,Ze.apply(It,arguments)}function hr(b,M,O,k,V,K,be,Ue,Ge){if(Vt.apply(this,arguments),ze){var je=Xe();ot||(ot=!0,Wt=je)}}function vr(){if(ot){var b=Wt;throw ot=!1,Wt=null,b}}function Xe(){if(ze){var b=mt;return ze=!1,mt=null,b}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 zt=Array.isArray;function yr(b){return zt(b)}var br=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ht=br.Events,Ur=ht[0],g=ht[1],N=ht[2],$=ht[3],W=ht[4],ae=e.unstable_act;function le(b){}var Y=!1;function oe(b,M){if(!b)return[];var O=h(b);if(!O)return[];for(var k=O,V=[];;){if(k.tag===c||k.tag===f||k.tag===l||k.tag===s){var K=k.stateNode;M(K)&&V.push(K)}if(k.child){k.child.return=k,k=k.child;continue}if(k===O)return V;for(;!k.sibling;){if(!k.return||k.return===O)return V;k=k.return}k.sibling.return=k.return,k=k.sibling}}function Se(b,M){if(b&&!i(b)){var O,k=String(b);throw yr(b)?O="an array":b&&b.nodeType===U&&b.tagName?O="a DOM node":k==="[object Object]"?O="object with keys {"+Object.keys(b).join(", ")+"}":O=k,new Error(M+"(...): the first argument must be a React class instance. "+("Instead received: "+O+"."))}}function He(b){var M=document.createElement("div");return t.render(b,M)}function gr(b){return e.isValidElement(b)}function vn(b,M){return e.isValidElement(b)&&b.type===M}function vt(b){return!!(b&&b.nodeType===U&&b.tagName)}function as(b){return!!(b&&e.isValidElement(b)&&b.tagName)}function yn(b){return vt(b)?!1:b!=null&&typeof b.render=="function"&&typeof b.setState=="function"}function Zn(b,M){if(!yn(b))return!1;var O=i(b),k=O.type;return k===M}function Gr(b,M){if(Se(b,"findAllInRenderedTree"),!b)return[];var O=i(b);return oe(O,M)}function Jn(b,M){return Se(b,"scryRenderedDOMComponentsWithClass"),Gr(b,function(O){if(vt(O)){var k=O.className;typeof k!="string"&&(k=O.getAttribute("class")||"");var V=k.split(/\s+/);if(!yr(M)){if(M===void 0)throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");M=M.split(/\s+/)}return M.every(function(K){return V.indexOf(K)!==-1})}return!1})}function Qn(b,M){Se(b,"findRenderedDOMComponentWithClass");var O=Jn(b,M);if(O.length!==1)throw new Error("Did not find exactly one match (found: "+O.length+") for class:"+M);return O[0]}function bn(b,M){return Se(b,"scryRenderedDOMComponentsWithTag"),Gr(b,function(O){return vt(O)&&O.tagName.toUpperCase()===M.toUpperCase()})}function $t(b,M){Se(b,"findRenderedDOMComponentWithTag");var O=bn(b,M);if(O.length!==1)throw new Error("Did not find exactly one match (found: "+O.length+") for tag:"+M);return O[0]}function ea(b,M){return Se(b,"scryRenderedComponentsWithType"),Gr(b,function(O){return Zn(O,M)})}function os(b,M){Se(b,"findRenderedComponentWithType");var O=ea(b,M);if(O.length!==1)throw new Error("Did not find exactly one match (found: "+O.length+") for componentType:"+M);return O[0]}function is(b,M){return Y||(Y=!0,n(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
|
|
65
65
|
|
|
66
|
-
See https://reactjs.org/link/test-utils-mock-component for more information.`)),I=I||b.mockTagName||"div",b.prototype.render.mockImplementation(function(){return e.createElement(I,null,this.props.children)}),this}function ls(b,I){return{touches:[{pageX:b,pageY:I}]}}function ta(b,I,O){var k=b.type||"unknown-event";b.currentTarget=g(O),hr(k,I,void 0,b),b.currentTarget=null}function it(b){var I=b._dispatchListeners,O=b._dispatchInstances;if(yr(I))for(var k=0;k<I.length&&!b.isPropagationStopped();k++)ta(b,I[k],O[k]);else I&&ta(b,I,O);b._dispatchListeners=null,b._dispatchInstances=null}var ss=function(b){b&&(it(b),b.isPersistent()||b.constructor.release(b))};function us(b){return b==="button"||b==="input"||b==="select"||b==="textarea"}function cs(b){do b=b.return;while(b&&b.tag!==c);return b||null}function ra(b,I,O){for(var k=[];b;)k.push(b),b=cs(b);var V;for(V=k.length;V-- >0;)I(k[V],"captured",O);for(V=0;V<k.length;V++)I(k[V],"bubbled",O)}function fs(b,I,O){switch(b){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(O.disabled&&us(I));default:return!1}}function kt(b,I){var O=b.stateNode;if(!O)return null;var k=N(O);if(!k)return null;var V=k[I];if(fs(I,b.type,k))return null;if(V&&typeof V!="function")throw new Error("Expected `"+I+"` listener to be a function, instead got a value of `"+typeof V+"` type.");return V}function ds(b,I,O){var k=I._reactName;return O==="captured"&&(k+="Capture"),kt(b,k)}function ps(b,I,O){if(b&&O&&O._reactName){var k=O._reactName,V=kt(b,k);V&&(O._dispatchListeners==null&&(O._dispatchListeners=[]),O._dispatchInstances==null&&(O._dispatchInstances=[]),O._dispatchListeners.push(V),O._dispatchInstances.push(b))}}function ms(b,I,O){b||a("Dispatching inst must not be null");var k=ds(b,O,I);k&&(O._dispatchListeners==null&&(O._dispatchListeners=[]),O._dispatchInstances==null&&(O._dispatchInstances=[]),O._dispatchListeners.push(k),O._dispatchInstances.push(b))}function hs(b){b&&b._reactName&&ps(b._targetInst,null,b)}function vs(b){b&&b._reactName&&ra(b._targetInst,ms,b)}var Nt={},ys=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function bs(b){return function(I,O){if(e.isValidElement(I))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(yn(I))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 k="on"+b[0].toUpperCase()+b.slice(1),V=new le;V.target=I,V.type=b.toLowerCase();var K=Ur(I),be=new A(k,V.type,K,V,I);be.persist(),E(be,O),ys.has(b)?hs(be):vs(be),t.unstable_batchedUpdates(function(){$(I),ss(be),vr()}),W()}}var gs=["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 _s(){gs.forEach(function(b){Nt[b]=bs(b)})}_s(),xe.Simulate=Nt,xe.act=ae,xe.findAllInRenderedTree=Gr,xe.findRenderedComponentWithType=os,xe.findRenderedDOMComponentWithClass=Qn,xe.findRenderedDOMComponentWithTag=$t,xe.isCompositeComponent=yn,xe.isCompositeComponentWithType=Zn,xe.isDOMComponent=vt,xe.isDOMComponentElement=as,xe.isElement=gr,xe.isElementOfType=vn,xe.mockComponent=is,xe.nativeTouchData=ls,xe.renderIntoDocument=He,xe.scryRenderedComponentsWithType=ea,xe.scryRenderedDOMComponentsWithClass=Jn,xe.scryRenderedDOMComponentsWithTag=bn,xe.traverseTwoPhase=ra}()),xe}process.env.NODE_ENV==="production"?Hu.exports=CE():Hu.exports=TE();var RE=Hu.exports,Ms=$c;process.env.NODE_ENV==="production"?(Ms.createRoot,Ms.hydrateRoot):Ms.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function SE(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var fr={},Hc={exports:{}};Hc.exports;(function(e){const r=(o=0)=>i=>`\x1B[${38+o};5;${i}m`,n=(o=0)=>(i,s,l)=>`\x1B[${38+o};2;${i};${s};${l}m`;function a(){const o=new Map,i={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]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(const[s,l]of Object.entries(i)){for(const[u,c]of Object.entries(l))i[u]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[u]=i[u],o.set(c[0],c[1]);Object.defineProperty(i,s,{value:l,enumerable:!1})}return Object.defineProperty(i,"codes",{value:o,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:(s,l,u)=>s===l&&l===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:s=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!l)return[0,0,0];let{colorString:u}=l.groups;u.length===3&&(u=u.split("").map(d=>d+d).join(""));const c=Number.parseInt(u,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:s=>i.rgbToAnsi256(...i.hexToRgb(s)),enumerable:!1}}),i}Object.defineProperty(e,"exports",{enumerable:!0,get:a})})(Hc);var hh=Hc.exports,Ut={};Object.defineProperty(Ut,"__esModule",{value:!0});Ut.printIteratorEntries=AE;Ut.printIteratorValues=OE;Ut.printListItems=IE;Ut.printObjectProperties=ME;const PE=(e,t)=>{const r=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n=>{Object.getOwnPropertyDescriptor(e,n).enumerable&&r.push(n)}),r};function AE(e,t,r,n,a,o,i=": "){let s="",l=e.next();if(!l.done){s+=t.spacingOuter;const u=r+t.indent;for(;!l.done;){const c=o(l.value[0],t,u,n,a),d=o(l.value[1],t,u,n,a);s+=u+c+i+d,l=e.next(),l.done?t.min||(s+=","):s+=","+t.spacingInner}s+=t.spacingOuter+r}return s}function OE(e,t,r,n,a,o){let i="",s=e.next();if(!s.done){i+=t.spacingOuter;const l=r+t.indent;for(;!s.done;)i+=l+o(s.value,t,l,n,a),s=e.next(),s.done?t.min||(i+=","):i+=","+t.spacingInner;i+=t.spacingOuter+r}return i}function IE(e,t,r,n,a,o){let i="";if(e.length){i+=t.spacingOuter;const s=r+t.indent;for(let l=0;l<e.length;l++)i+=s,l in e&&(i+=o(e[l],t,s,n,a)),l<e.length-1?i+=","+t.spacingInner:t.min||(i+=",");i+=t.spacingOuter+r}return i}function ME(e,t,r,n,a,o){let i="";const s=PE(e,t.compareKeys);if(s.length){i+=t.spacingOuter;const l=r+t.indent;for(let u=0;u<s.length;u++){const c=s[u],d=o(c,t,l,n,a),m=o(e[c],t,l,n,a);i+=l+d+": "+m,u<s.length-1?i+=","+t.spacingInner:t.min||(i+=",")}i+=t.spacingOuter+r}return i}var ar={};Object.defineProperty(ar,"__esModule",{value:!0});ar.test=ar.serialize=ar.default=void 0;var nd=Ut,ja=function(){return typeof globalThis<"u"?globalThis:typeof ja<"u"?ja:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),$s=ja["jest-symbol-do-not-touch"]||ja.Symbol;const $E=typeof $s=="function"&&$s.for?$s.for("jest.asymmetricMatcher"):1267621,da=" ",vh=(e,t,r,n,a,o)=>{const i=e.toString();return i==="ArrayContaining"||i==="ArrayNotContaining"?++n>t.maxDepth?"["+i+"]":i+da+"["+(0,nd.printListItems)(e.sample,t,r,n,a,o)+"]":i==="ObjectContaining"||i==="ObjectNotContaining"?++n>t.maxDepth?"["+i+"]":i+da+"{"+(0,nd.printObjectProperties)(e.sample,t,r,n,a,o)+"}":i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining"?i+da+o(e.sample,t,r,n,a):e.toAsymmetricMatcher()};ar.serialize=vh;const yh=e=>e&&e.$$typeof===$E;ar.test=yh;const kE={serialize:vh,test:yh};var NE=kE;ar.default=NE;var or={},qE=({onlyFirst:e=!1}={})=>{const t=["[\\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(t,e?void 0:"g")};Object.defineProperty(or,"__esModule",{value:!0});or.test=or.serialize=or.default=void 0;var bh=gh(qE),he=gh(hh);function gh(e){return e&&e.__esModule?e:{default:e}}const BE=e=>e.replace((0,bh.default)(),t=>{switch(t){case he.default.red.close:case he.default.green.close:case he.default.cyan.close:case he.default.gray.close:case he.default.white.close:case he.default.yellow.close:case he.default.bgRed.close:case he.default.bgGreen.close:case he.default.bgYellow.close:case he.default.inverse.close:case he.default.dim.close:case he.default.bold.close:case he.default.reset.open:case he.default.reset.close:return"</>";case he.default.red.open:return"<red>";case he.default.green.open:return"<green>";case he.default.cyan.open:return"<cyan>";case he.default.gray.open:return"<gray>";case he.default.white.open:return"<white>";case he.default.yellow.open:return"<yellow>";case he.default.bgRed.open:return"<bgRed>";case he.default.bgGreen.open:return"<bgGreen>";case he.default.bgYellow.open:return"<bgYellow>";case he.default.inverse.open:return"<inverse>";case he.default.dim.open:return"<dim>";case he.default.bold.open:return"<bold>";default:return""}}),_h=e=>typeof e=="string"&&!!e.match((0,bh.default)());or.test=_h;const Eh=(e,t,r,n,a,o)=>o(BE(e),t,r,n,a);or.serialize=Eh;const jE={serialize:Eh,test:_h};var DE=jE;or.default=DE;var ir={};Object.defineProperty(ir,"__esModule",{value:!0});ir.test=ir.serialize=ir.default=void 0;var ad=Ut;const LE=" ",wh=["DOMStringMap","NamedNodeMap"],FE=/^(HTML\w*Collection|NodeList)$/,HE=e=>wh.indexOf(e)!==-1||FE.test(e),xh=e=>e&&e.constructor&&!!e.constructor.name&&HE(e.constructor.name);ir.test=xh;const UE=e=>e.constructor.name==="NamedNodeMap",Ch=(e,t,r,n,a,o)=>{const i=e.constructor.name;return++n>t.maxDepth?"["+i+"]":(t.min?"":i+LE)+(wh.indexOf(i)!==-1?"{"+(0,ad.printObjectProperties)(UE(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,a,o)+"}":"["+(0,ad.printListItems)(Array.from(e),t,r,n,a,o)+"]")};ir.serialize=Ch;const GE={serialize:Ch,test:xh};var WE=GE;ir.default=WE;var lr={},Me={},Uc={};Object.defineProperty(Uc,"__esModule",{value:!0});Uc.default=VE;function VE(e){return e.replace(/</g,"<").replace(/>/g,">")}Object.defineProperty(Me,"__esModule",{value:!0});Me.printText=Me.printProps=Me.printElementAsLeaf=Me.printElement=Me.printComment=Me.printChildren=void 0;var Th=zE(Uc);function zE(e){return e&&e.__esModule?e:{default:e}}const XE=(e,t,r,n,a,o,i)=>{const s=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let d=i(c,r,s,a,o);return typeof c!="string"&&(d.indexOf(`
|
|
67
|
-
`)!==-1&&(
|
|
66
|
+
See https://reactjs.org/link/test-utils-mock-component for more information.`)),M=M||b.mockTagName||"div",b.prototype.render.mockImplementation(function(){return e.createElement(M,null,this.props.children)}),this}function ls(b,M){return{touches:[{pageX:b,pageY:M}]}}function ta(b,M,O){var k=b.type||"unknown-event";b.currentTarget=g(O),hr(k,M,void 0,b),b.currentTarget=null}function it(b){var M=b._dispatchListeners,O=b._dispatchInstances;if(yr(M))for(var k=0;k<M.length&&!b.isPropagationStopped();k++)ta(b,M[k],O[k]);else M&&ta(b,M,O);b._dispatchListeners=null,b._dispatchInstances=null}var ss=function(b){b&&(it(b),b.isPersistent()||b.constructor.release(b))};function us(b){return b==="button"||b==="input"||b==="select"||b==="textarea"}function cs(b){do b=b.return;while(b&&b.tag!==c);return b||null}function ra(b,M,O){for(var k=[];b;)k.push(b),b=cs(b);var V;for(V=k.length;V-- >0;)M(k[V],"captured",O);for(V=0;V<k.length;V++)M(k[V],"bubbled",O)}function ds(b,M,O){switch(b){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(O.disabled&&us(M));default:return!1}}function kt(b,M){var O=b.stateNode;if(!O)return null;var k=N(O);if(!k)return null;var V=k[M];if(ds(M,b.type,k))return null;if(V&&typeof V!="function")throw new Error("Expected `"+M+"` listener to be a function, instead got a value of `"+typeof V+"` type.");return V}function fs(b,M,O){var k=M._reactName;return O==="captured"&&(k+="Capture"),kt(b,k)}function ps(b,M,O){if(b&&O&&O._reactName){var k=O._reactName,V=kt(b,k);V&&(O._dispatchListeners==null&&(O._dispatchListeners=[]),O._dispatchInstances==null&&(O._dispatchInstances=[]),O._dispatchListeners.push(V),O._dispatchInstances.push(b))}}function ms(b,M,O){b||a("Dispatching inst must not be null");var k=fs(b,O,M);k&&(O._dispatchListeners==null&&(O._dispatchListeners=[]),O._dispatchInstances==null&&(O._dispatchInstances=[]),O._dispatchListeners.push(k),O._dispatchInstances.push(b))}function hs(b){b&&b._reactName&&ps(b._targetInst,null,b)}function vs(b){b&&b._reactName&&ra(b._targetInst,ms,b)}var Nt={},ys=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function bs(b){return function(M,O){if(e.isValidElement(M))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(yn(M))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 k="on"+b[0].toUpperCase()+b.slice(1),V=new le;V.target=M,V.type=b.toLowerCase();var K=Ur(M),be=new A(k,V.type,K,V,M);be.persist(),_(be,O),ys.has(b)?hs(be):vs(be),t.unstable_batchedUpdates(function(){$(M),ss(be),vr()}),W()}}var gs=["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 Es(){gs.forEach(function(b){Nt[b]=bs(b)})}Es(),Ce.Simulate=Nt,Ce.act=ae,Ce.findAllInRenderedTree=Gr,Ce.findRenderedComponentWithType=os,Ce.findRenderedDOMComponentWithClass=Qn,Ce.findRenderedDOMComponentWithTag=$t,Ce.isCompositeComponent=yn,Ce.isCompositeComponentWithType=Zn,Ce.isDOMComponent=vt,Ce.isDOMComponentElement=as,Ce.isElement=gr,Ce.isElementOfType=vn,Ce.mockComponent=is,Ce.nativeTouchData=ls,Ce.renderIntoDocument=He,Ce.scryRenderedComponentsWithType=ea,Ce.scryRenderedDOMComponentsWithClass=Jn,Ce.scryRenderedDOMComponentsWithTag=bn,Ce.traverseTwoPhase=ra}()),Ce}process.env.NODE_ENV==="production"?Uu.exports=$_():Uu.exports=k_();var N_=Uu.exports,Is=kc;process.env.NODE_ENV==="production"?(Is.createRoot,Is.hydrateRoot):Is.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function q_(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var dr={},Uc={exports:{}};Uc.exports;(function(e){const r=(o=0)=>i=>`\x1B[${38+o};5;${i}m`,n=(o=0)=>(i,s,l)=>`\x1B[${38+o};2;${i};${s};${l}m`;function a(){const o=new Map,i={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]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(const[s,l]of Object.entries(i)){for(const[u,c]of Object.entries(l))i[u]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[u]=i[u],o.set(c[0],c[1]);Object.defineProperty(i,s,{value:l,enumerable:!1})}return Object.defineProperty(i,"codes",{value:o,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:(s,l,u)=>s===l&&l===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:s=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!l)return[0,0,0];let{colorString:u}=l.groups;u.length===3&&(u=u.split("").map(f=>f+f).join(""));const c=Number.parseInt(u,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:s=>i.rgbToAnsi256(...i.hexToRgb(s)),enumerable:!1}}),i}Object.defineProperty(e,"exports",{enumerable:!0,get:a})})(Uc);var bh=Uc.exports,Ut={};Object.defineProperty(Ut,"__esModule",{value:!0});Ut.printIteratorEntries=j_;Ut.printIteratorValues=D_;Ut.printListItems=L_;Ut.printObjectProperties=F_;const B_=(e,t)=>{const r=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n=>{Object.getOwnPropertyDescriptor(e,n).enumerable&&r.push(n)}),r};function j_(e,t,r,n,a,o,i=": "){let s="",l=e.next();if(!l.done){s+=t.spacingOuter;const u=r+t.indent;for(;!l.done;){const c=o(l.value[0],t,u,n,a),f=o(l.value[1],t,u,n,a);s+=u+c+i+f,l=e.next(),l.done?t.min||(s+=","):s+=","+t.spacingInner}s+=t.spacingOuter+r}return s}function D_(e,t,r,n,a,o){let i="",s=e.next();if(!s.done){i+=t.spacingOuter;const l=r+t.indent;for(;!s.done;)i+=l+o(s.value,t,l,n,a),s=e.next(),s.done?t.min||(i+=","):i+=","+t.spacingInner;i+=t.spacingOuter+r}return i}function L_(e,t,r,n,a,o){let i="";if(e.length){i+=t.spacingOuter;const s=r+t.indent;for(let l=0;l<e.length;l++)i+=s,l in e&&(i+=o(e[l],t,s,n,a)),l<e.length-1?i+=","+t.spacingInner:t.min||(i+=",");i+=t.spacingOuter+r}return i}function F_(e,t,r,n,a,o){let i="";const s=B_(e,t.compareKeys);if(s.length){i+=t.spacingOuter;const l=r+t.indent;for(let u=0;u<s.length;u++){const c=s[u],f=o(c,t,l,n,a),m=o(e[c],t,l,n,a);i+=l+f+": "+m,u<s.length-1?i+=","+t.spacingInner:t.min||(i+=",")}i+=t.spacingOuter+r}return i}var ar={};Object.defineProperty(ar,"__esModule",{value:!0});ar.test=ar.serialize=ar.default=void 0;var of=Ut,ja=function(){return typeof globalThis<"u"?globalThis:typeof ja<"u"?ja:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),$s=ja["jest-symbol-do-not-touch"]||ja.Symbol;const H_=typeof $s=="function"&&$s.for?$s.for("jest.asymmetricMatcher"):1267621,fa=" ",gh=(e,t,r,n,a,o)=>{const i=e.toString();return i==="ArrayContaining"||i==="ArrayNotContaining"?++n>t.maxDepth?"["+i+"]":i+fa+"["+(0,of.printListItems)(e.sample,t,r,n,a,o)+"]":i==="ObjectContaining"||i==="ObjectNotContaining"?++n>t.maxDepth?"["+i+"]":i+fa+"{"+(0,of.printObjectProperties)(e.sample,t,r,n,a,o)+"}":i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining"?i+fa+o(e.sample,t,r,n,a):e.toAsymmetricMatcher()};ar.serialize=gh;const Eh=e=>e&&e.$$typeof===H_;ar.test=Eh;const U_={serialize:gh,test:Eh};var G_=U_;ar.default=G_;var or={},W_=({onlyFirst:e=!1}={})=>{const t=["[\\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(t,e?void 0:"g")};Object.defineProperty(or,"__esModule",{value:!0});or.test=or.serialize=or.default=void 0;var _h=xh(W_),he=xh(bh);function xh(e){return e&&e.__esModule?e:{default:e}}const V_=e=>e.replace((0,_h.default)(),t=>{switch(t){case he.default.red.close:case he.default.green.close:case he.default.cyan.close:case he.default.gray.close:case he.default.white.close:case he.default.yellow.close:case he.default.bgRed.close:case he.default.bgGreen.close:case he.default.bgYellow.close:case he.default.inverse.close:case he.default.dim.close:case he.default.bold.close:case he.default.reset.open:case he.default.reset.close:return"</>";case he.default.red.open:return"<red>";case he.default.green.open:return"<green>";case he.default.cyan.open:return"<cyan>";case he.default.gray.open:return"<gray>";case he.default.white.open:return"<white>";case he.default.yellow.open:return"<yellow>";case he.default.bgRed.open:return"<bgRed>";case he.default.bgGreen.open:return"<bgGreen>";case he.default.bgYellow.open:return"<bgYellow>";case he.default.inverse.open:return"<inverse>";case he.default.dim.open:return"<dim>";case he.default.bold.open:return"<bold>";default:return""}}),wh=e=>typeof e=="string"&&!!e.match((0,_h.default)());or.test=wh;const Ch=(e,t,r,n,a,o)=>o(V_(e),t,r,n,a);or.serialize=Ch;const z_={serialize:Ch,test:wh};var X_=z_;or.default=X_;var ir={};Object.defineProperty(ir,"__esModule",{value:!0});ir.test=ir.serialize=ir.default=void 0;var lf=Ut;const Y_=" ",Th=["DOMStringMap","NamedNodeMap"],K_=/^(HTML\w*Collection|NodeList)$/,Z_=e=>Th.indexOf(e)!==-1||K_.test(e),Sh=e=>e&&e.constructor&&!!e.constructor.name&&Z_(e.constructor.name);ir.test=Sh;const J_=e=>e.constructor.name==="NamedNodeMap",Rh=(e,t,r,n,a,o)=>{const i=e.constructor.name;return++n>t.maxDepth?"["+i+"]":(t.min?"":i+Y_)+(Th.indexOf(i)!==-1?"{"+(0,lf.printObjectProperties)(J_(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,a,o)+"}":"["+(0,lf.printListItems)(Array.from(e),t,r,n,a,o)+"]")};ir.serialize=Rh;const Q_={serialize:Rh,test:Sh};var e0=Q_;ir.default=e0;var lr={},$e={},Gc={};Object.defineProperty(Gc,"__esModule",{value:!0});Gc.default=t0;function t0(e){return e.replace(/</g,"<").replace(/>/g,">")}Object.defineProperty($e,"__esModule",{value:!0});$e.printText=$e.printProps=$e.printElementAsLeaf=$e.printElement=$e.printComment=$e.printChildren=void 0;var Ph=r0(Gc);function r0(e){return e&&e.__esModule?e:{default:e}}const n0=(e,t,r,n,a,o,i)=>{const s=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let f=i(c,r,s,a,o);return typeof c!="string"&&(f.indexOf(`
|
|
67
|
+
`)!==-1&&(f=r.spacingOuter+s+f+r.spacingOuter+n),f="{"+f+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+f+l.value.close}).join("")};$e.printProps=n0;const a0=(e,t,r,n,a,o)=>e.map(i=>t.spacingOuter+r+(typeof i=="string"?Ah(i,t):o(i,t,r,n,a))).join("");$e.printChildren=a0;const Ah=(e,t)=>{const r=t.colors.content;return r.open+(0,Ph.default)(e)+r.close};$e.printText=Ah;const o0=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+(0,Ph.default)(e)+"-->"+r.close};$e.printComment=o0;const i0=(e,t,r,n,a)=>{const o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close};$e.printElement=i0;const l0=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close};$e.printElementAsLeaf=l0;Object.defineProperty(lr,"__esModule",{value:!0});lr.test=lr.serialize=lr.default=void 0;var zr=$e;const s0=1,Oh=3,Mh=8,Ih=11,u0=/^((HTML|SVG)\w*)?Element$/,c0=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},d0=e=>{const t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||c0(e);return r===s0&&(u0.test(t)||a)||r===Oh&&t==="Text"||r===Mh&&t==="Comment"||r===Ih&&t==="DocumentFragment"},$h=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&d0(e)};lr.test=$h;function f0(e){return e.nodeType===Oh}function p0(e){return e.nodeType===Mh}function ks(e){return e.nodeType===Ih}const kh=(e,t,r,n,a,o)=>{if(f0(e))return(0,zr.printText)(e.data,t);if(p0(e))return(0,zr.printComment)(e.data,t);const i=ks(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,zr.printElementAsLeaf)(i,t):(0,zr.printElement)(i,(0,zr.printProps)(ks(e)?[]:Array.from(e.attributes).map(s=>s.name).sort(),ks(e)?{}:Array.from(e.attributes).reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,a,o),(0,zr.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)};lr.serialize=kh;const m0={serialize:kh,test:$h};var h0=m0;lr.default=h0;var sr={};Object.defineProperty(sr,"__esModule",{value:!0});sr.test=sr.serialize=sr.default=void 0;var $n=Ut;const v0="@@__IMMUTABLE_ITERABLE__@@",y0="@@__IMMUTABLE_LIST__@@",b0="@@__IMMUTABLE_KEYED__@@",g0="@@__IMMUTABLE_MAP__@@",sf="@@__IMMUTABLE_ORDERED__@@",E0="@@__IMMUTABLE_RECORD__@@",_0="@@__IMMUTABLE_SEQ__@@",x0="@@__IMMUTABLE_SET__@@",w0="@@__IMMUTABLE_STACK__@@",on=e=>"Immutable."+e,po=e=>"["+e+"]",kn=" ",uf="…",C0=(e,t,r,n,a,o,i)=>++n>t.maxDepth?po(on(i)):on(i)+kn+"{"+(0,$n.printIteratorEntries)(e.entries(),t,r,n,a,o)+"}";function T0(e){let t=0;return{next(){if(t<e._keys.length){const r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}const S0=(e,t,r,n,a,o)=>{const i=on(e._name||"Record");return++n>t.maxDepth?po(i):i+kn+"{"+(0,$n.printIteratorEntries)(T0(e),t,r,n,a,o)+"}"},R0=(e,t,r,n,a,o)=>{const i=on("Seq");return++n>t.maxDepth?po(i):e[b0]?i+kn+"{"+(e._iter||e._object?(0,$n.printIteratorEntries)(e.entries(),t,r,n,a,o):uf)+"}":i+kn+"["+(e._iter||e._array||e._collection||e._iterable?(0,$n.printIteratorValues)(e.values(),t,r,n,a,o):uf)+"]"},Ns=(e,t,r,n,a,o,i)=>++n>t.maxDepth?po(on(i)):on(i)+kn+"["+(0,$n.printIteratorValues)(e.values(),t,r,n,a,o)+"]",Nh=(e,t,r,n,a,o)=>e[g0]?C0(e,t,r,n,a,o,e[sf]?"OrderedMap":"Map"):e[y0]?Ns(e,t,r,n,a,o,"List"):e[x0]?Ns(e,t,r,n,a,o,e[sf]?"OrderedSet":"Set"):e[w0]?Ns(e,t,r,n,a,o,"Stack"):e[_0]?R0(e,t,r,n,a,o):S0(e,t,r,n,a,o);sr.serialize=Nh;const qh=e=>e&&(e[v0]===!0||e[E0]===!0);sr.test=qh;const P0={serialize:Nh,test:qh};var A0=P0;sr.default=A0;var ur={},Gu={exports:{}},ce={};/** @license React v17.0.2
|
|
68
68
|
* react-is.production.min.js
|
|
69
69
|
*
|
|
70
70
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
71
71
|
*
|
|
72
72
|
* This source code is licensed under the MIT license found in the
|
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var
|
|
74
|
+
*/var cf;function O0(){if(cf)return ce;cf=1;var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,i=60110,s=60112,l=60113,u=60120,c=60115,f=60116,m=60121,d=60122,y=60117,v=60129,S=60131;if(typeof Symbol=="function"&&Symbol.for){var h=Symbol.for;e=h("react.element"),t=h("react.portal"),r=h("react.fragment"),n=h("react.strict_mode"),a=h("react.profiler"),o=h("react.provider"),i=h("react.context"),s=h("react.forward_ref"),l=h("react.suspense"),u=h("react.suspense_list"),c=h("react.memo"),f=h("react.lazy"),m=h("react.block"),d=h("react.server.block"),y=h("react.fundamental"),v=h("react.debug_trace_mode"),S=h("react.legacy_hidden")}function _(B){if(typeof B=="object"&&B!==null){var G=B.$$typeof;switch(G){case e:switch(B=B.type,B){case r:case a:case n:case l:case u:return B;default:switch(B=B&&B.$$typeof,B){case i:case s:case f:case c:case o:return B;default:return G}}case t:return G}}}var C=o,R=e,w=s,x=r,P=f,A=c,H=t,z=a,ne=n,ie=l;return ce.ContextConsumer=i,ce.ContextProvider=C,ce.Element=R,ce.ForwardRef=w,ce.Fragment=x,ce.Lazy=P,ce.Memo=A,ce.Portal=H,ce.Profiler=z,ce.StrictMode=ne,ce.Suspense=ie,ce.isAsyncMode=function(){return!1},ce.isConcurrentMode=function(){return!1},ce.isContextConsumer=function(B){return _(B)===i},ce.isContextProvider=function(B){return _(B)===o},ce.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===e},ce.isForwardRef=function(B){return _(B)===s},ce.isFragment=function(B){return _(B)===r},ce.isLazy=function(B){return _(B)===f},ce.isMemo=function(B){return _(B)===c},ce.isPortal=function(B){return _(B)===t},ce.isProfiler=function(B){return _(B)===a},ce.isStrictMode=function(B){return _(B)===n},ce.isSuspense=function(B){return _(B)===l},ce.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===r||B===a||B===v||B===n||B===l||B===u||B===S||typeof B=="object"&&B!==null&&(B.$$typeof===f||B.$$typeof===c||B.$$typeof===o||B.$$typeof===i||B.$$typeof===s||B.$$typeof===y||B.$$typeof===m||B[0]===d)},ce.typeOf=_,ce}var de={};/** @license React v17.0.2
|
|
75
75
|
* react-is.development.js
|
|
76
76
|
*
|
|
77
77
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
78
78
|
*
|
|
79
79
|
* This source code is licensed under the MIT license found in the
|
|
80
80
|
* LICENSE file in the root directory of this source tree.
|
|
81
|
-
*/var
|
|
82
|
-
`+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new
|
|
81
|
+
*/var df;function M0(){return df||(df=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,i=60110,s=60112,l=60113,u=60120,c=60115,f=60116,m=60121,d=60122,y=60117,v=60129,S=60131;if(typeof Symbol=="function"&&Symbol.for){var h=Symbol.for;e=h("react.element"),t=h("react.portal"),r=h("react.fragment"),n=h("react.strict_mode"),a=h("react.profiler"),o=h("react.provider"),i=h("react.context"),s=h("react.forward_ref"),l=h("react.suspense"),u=h("react.suspense_list"),c=h("react.memo"),f=h("react.lazy"),m=h("react.block"),d=h("react.server.block"),y=h("react.fundamental"),h("react.scope"),h("react.opaque.id"),v=h("react.debug_trace_mode"),h("react.offscreen"),S=h("react.legacy_hidden")}var _=!1;function C(U){return!!(typeof U=="string"||typeof U=="function"||U===r||U===a||U===v||U===n||U===l||U===u||U===S||_||typeof U=="object"&&U!==null&&(U.$$typeof===f||U.$$typeof===c||U.$$typeof===o||U.$$typeof===i||U.$$typeof===s||U.$$typeof===y||U.$$typeof===m||U[0]===d))}function R(U){if(typeof U=="object"&&U!==null){var D=U.$$typeof;switch(D){case e:var Be=U.type;switch(Be){case r:case a:case n:case l:case u:return Be;default:var xe=Be&&Be.$$typeof;switch(xe){case i:case s:case f:case c:case o:return xe;default:return D}}case t:return D}}}var w=i,x=o,P=e,A=s,H=r,z=f,ne=c,ie=t,B=a,G=n,Ee=l,pe=!1,ye=!1;function Te(U){return pe||(pe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Fe(U){return ye||(ye=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Z(U){return R(U)===i}function Tt(U){return R(U)===o}function St(U){return typeof U=="object"&&U!==null&&U.$$typeof===e}function Oe(U){return R(U)===s}function Ke(U){return R(U)===r}function Ie(U){return R(U)===f}function Rt(U){return R(U)===c}function Pt(U){return R(U)===t}function At(U){return R(U)===a}function Ot(U){return R(U)===n}function Mt(U){return R(U)===l}de.ContextConsumer=w,de.ContextProvider=x,de.Element=P,de.ForwardRef=A,de.Fragment=H,de.Lazy=z,de.Memo=ne,de.Portal=ie,de.Profiler=B,de.StrictMode=G,de.Suspense=Ee,de.isAsyncMode=Te,de.isConcurrentMode=Fe,de.isContextConsumer=Z,de.isContextProvider=Tt,de.isElement=St,de.isForwardRef=Oe,de.isFragment=Ke,de.isLazy=Ie,de.isMemo=Rt,de.isPortal=Pt,de.isProfiler=At,de.isStrictMode=Ot,de.isSuspense=Mt,de.isValidElementType=C,de.typeOf=R}()),de}process.env.NODE_ENV==="production"?Gu.exports=O0():Gu.exports=M0();var I0=Gu.exports;Object.defineProperty(ur,"__esModule",{value:!0});ur.test=ur.serialize=ur.default=void 0;var Cr=$0(I0),pa=$e;function Bh(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Bh=function(n){return n?r:t})(e)}function $0(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Bh(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}const jh=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{jh(r,t)}):e!=null&&e!==!1&&t.push(e),t),ff=e=>{const t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Cr.isFragment(e))return"React.Fragment";if(Cr.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Cr.isContextProvider(e))return"Context.Provider";if(Cr.isContextConsumer(e))return"Context.Consumer";if(Cr.isForwardRef(e)){if(t.displayName)return t.displayName;const r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(Cr.isMemo(e)){const r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},k0=e=>{const{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},Dh=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,pa.printElementAsLeaf)(ff(e),t):(0,pa.printElement)(ff(e),(0,pa.printProps)(k0(e),e.props,t,r+t.indent,n,a,o),(0,pa.printChildren)(jh(e.props.children),t,r+t.indent,n,a,o),t,r);ur.serialize=Dh;const Lh=e=>e!=null&&Cr.isElement(e);ur.test=Lh;const N0={serialize:Dh,test:Lh};var q0=N0;ur.default=q0;var cr={};Object.defineProperty(cr,"__esModule",{value:!0});cr.test=cr.serialize=cr.default=void 0;var ma=$e,Da=function(){return typeof globalThis<"u"?globalThis:typeof Da<"u"?Da:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),qs=Da["jest-symbol-do-not-touch"]||Da.Symbol;const B0=typeof qs=="function"&&qs.for?qs.for("react.test.json"):245830487,j0=e=>{const{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Fh=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,ma.printElementAsLeaf)(e.type,t):(0,ma.printElement)(e.type,e.props?(0,ma.printProps)(j0(e),e.props,t,r+t.indent,n,a,o):"",e.children?(0,ma.printChildren)(e.children,t,r+t.indent,n,a,o):"",t,r);cr.serialize=Fh;const Hh=e=>e&&e.$$typeof===B0;cr.test=Hh;const D0={serialize:Fh,test:Hh};var L0=D0;cr.default=L0;Object.defineProperty(dr,"__esModule",{value:!0});dr.default=dr.DEFAULT_OPTIONS=void 0;var F0=dr.format=ev,Uh=dr.plugins=void 0,H0=pr(bh),xn=Ut,U0=pr(ar),G0=pr(or),W0=pr(ir),V0=pr(lr),z0=pr(sr),X0=pr(ur),Y0=pr(cr);function pr(e){return e&&e.__esModule?e:{default:e}}const Gh=Object.prototype.toString,K0=Date.prototype.toISOString,Z0=Error.prototype.toString,pf=RegExp.prototype.toString,Bs=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",J0=e=>typeof window<"u"&&e===window,Q0=/^Symbol\((.*)\)(.*)$/,ex=/\n/gi;class Wh extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}}function tx(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 rx(e){return Object.is(e,-0)?"-0":String(e)}function nx(e){return`${e}n`}function mf(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function hf(e){return String(e).replace(Q0,"Symbol($1)")}function vf(e){return"["+Z0.call(e)+"]"}function Vh(e,t,r,n){if(e===!0||e===!1)return""+e;if(e===void 0)return"undefined";if(e===null)return"null";const a=typeof e;if(a==="number")return rx(e);if(a==="bigint")return nx(e);if(a==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(a==="function")return mf(e,t);if(a==="symbol")return hf(e);const o=Gh.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?mf(e,t):o==="[object Symbol]"?hf(e):o==="[object Date]"?isNaN(+e)?"Date { NaN }":K0.call(e):o==="[object Error]"?vf(e):o==="[object RegExp]"?r?pf.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):pf.call(e):e instanceof Error?vf(e):null}function zh(e,t,r,n,a,o){if(a.indexOf(e)!==-1)return"[Circular]";a=a.slice(),a.push(e);const i=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!o)return Jt(e.toJSON(),t,r,n,a,!0);const l=Gh.call(e);return l==="[object Arguments]"?i?"[Arguments]":(s?"":"Arguments ")+"["+(0,xn.printListItems)(e,t,r,n,a,Jt)+"]":tx(l)?i?"["+e.constructor.name+"]":(s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,xn.printListItems)(e,t,r,n,a,Jt)+"]":l==="[object Map]"?i?"[Map]":"Map {"+(0,xn.printIteratorEntries)(e.entries(),t,r,n,a,Jt," => ")+"}":l==="[object Set]"?i?"[Set]":"Set {"+(0,xn.printIteratorValues)(e.values(),t,r,n,a,Jt)+"}":i||J0(e)?"["+Bs(e)+"]":(s||!t.printBasicPrototype&&Bs(e)==="Object"?"":Bs(e)+" ")+"{"+(0,xn.printObjectProperties)(e,t,r,n,a,Jt)+"}"}function ax(e){return e.serialize!=null}function Xh(e,t,r,n,a,o){let i;try{i=ax(e)?e.serialize(t,r,n,a,o,Jt):e.print(t,s=>Jt(s,r,n,a,o),s=>{const l=n+r.indent;return l+s.replace(ex,`
|
|
82
|
+
`+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Wh(s.message,s.stack)}if(typeof i!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function Yh(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Wh(n.message,n.stack)}return null}function Jt(e,t,r,n,a,o){const i=Yh(t.plugins,e);if(i!==null)return Xh(i,e,t,r,n,a);const s=Vh(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:zh(e,t,r,n,a,o)}const Wc={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Kh=Object.keys(Wc),ut={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Wc};dr.DEFAULT_OPTIONS=ut;function ox(e){if(Object.keys(e).forEach(t=>{if(!ut.hasOwnProperty(t))throw new Error(`pretty-format: Unknown option "${t}".`)}),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 ix=e=>Kh.reduce((t,r)=>{const n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Wc[r],a=n&&H0.default[n];if(a&&typeof a.close=="string"&&typeof a.open=="string")t[r]=a;else throw new Error(`pretty-format: Option "theme" has a key "${r}" whose value "${n}" is undefined in ansi-styles.`);return t},Object.create(null)),lx=()=>Kh.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Zh=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:ut.printFunctionName,Jh=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:ut.escapeRegex,Qh=e=>e&&e.escapeString!==void 0?e.escapeString:ut.escapeString,yf=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:ut.callToJSON,colors:e&&e.highlight?ix(e):lx(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:ut.compareKeys,escapeRegex:Jh(e),escapeString:Qh(e),indent:e&&e.min?"":sx(e&&e.indent!==void 0?e.indent:ut.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:ut.maxDepth,min:e&&e.min!==void 0?e.min:ut.min,plugins:e&&e.plugins!==void 0?e.plugins:ut.plugins,printBasicPrototype:(t=e==null?void 0:e.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:Zh(e),spacingInner:e&&e.min?" ":`
|
|
83
83
|
`,spacingOuter:e&&e.min?"":`
|
|
84
|
-
`}};function Q0(e){return new Array(e+1).join(" ")}function Zh(e,t){if(t&&(K0(t),t.plugins)){const n=Vh(t.plugins,e);if(n!==null)return Wh(n,e,md(t),"",0,[])}const r=Uh(e,Xh(t),Yh(t),Kh(t));return r!==null?r:Gh(e,md(t),"",0,[])}const ew={AsymmetricMatcher:k0.default,ConvertAnsi:N0.default,DOMCollection:q0.default,DOMElement:B0.default,Immutable:j0.default,ReactElement:D0.default,ReactTestComponent:L0.default};Lh=fr.plugins=ew;var tw=Zh;fr.default=tw;var rw=Object.prototype.toString;function hd(e){return typeof e=="function"||rw.call(e)==="[object Function]"}function nw(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var aw=Math.pow(2,53)-1;function ow(e){var t=nw(e);return Math.min(Math.max(t,0),aw)}function ct(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!hd(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=ow(n.length),o=hd(r)?Object(new r(a)):new Array(a),i=0,s;i<a;)s=n[i],t?o[i]=t(s,i):o[i]=s,i+=1;return o.length=a,o}function Nn(e){"@babel/helpers - typeof";return Nn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nn(e)}function iw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Jh(n.key),n)}}function lw(e,t,r){return t&&vd(e.prototype,t),r&&vd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sw(e,t,r){return t=Jh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jh(e){var t=uw(e,"string");return Nn(t)==="symbol"?t:String(t)}function uw(e,t){if(Nn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Nn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var cw=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];iw(this,e),sw(this,"items",void 0),this.items=t}return lw(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(a){return a!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(a){r(a,a,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}();const fw=typeof Set>"u"?Set:cw;function $e(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var dw={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"},pw={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 mw(e,t){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(r){var n;return e.hasAttribute(r)&&!((n=pw[t])!==null&&n!==void 0&&n.has(r))})}function Qh(e,t){return mw(e,t)}function hw(e){var t=yw(e);if(t===null||t==="presentation"){var r=vw(e);if(t!=="presentation"||Qh(e,r||""))return r}return t}function vw(e){var t=dw[$e(e)];if(t!==void 0)return t;switch($e(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Qh(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;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 yw(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function ge(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function ev(e){return ge(e)&&$e(e)==="caption"}function Ta(e){return ge(e)&&$e(e)==="input"}function bw(e){return ge(e)&&$e(e)==="optgroup"}function gw(e){return ge(e)&&$e(e)==="select"}function _w(e){return ge(e)&&$e(e)==="table"}function Ew(e){return ge(e)&&$e(e)==="textarea"}function ww(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function xw(e){return ge(e)&&$e(e)==="fieldset"}function Cw(e){return ge(e)&&$e(e)==="legend"}function Tw(e){return ge(e)&&$e(e)==="slot"}function Rw(e){return ge(e)&&e.ownerSVGElement!==void 0}function Sw(e){return ge(e)&&$e(e)==="svg"}function Pw(e){return Rw(e)&&$e(e)==="title"}function La(e,t){if(ge(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Ft(e,t){return ge(e)?t.indexOf(hw(e))!==-1:!1}function Aw(e){return e.trim().replace(/\s\s+/g," ")}function Ow(e,t){if(!ge(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function Iw(e){return Ft(e,["button","combobox","listbox","textbox"])||tv(e,"range")}function tv(e,t){if(!ge(e))return!1;switch(t){case"range":return Ft(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function yd(e,t){var r=ct(e.querySelectorAll(t));return La(e,"aria-owns").forEach(function(n){r.push.apply(r,ct(n.querySelectorAll(t)))}),r}function Mw(e){return gw(e)?e.selectedOptions||yd(e,"[selected]"):yd(e,'[aria-selected="true"]')}function $w(e){return Ft(e,["none","presentation"])}function kw(e){return ev(e)}function Nw(e){return Ft(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function qw(e){return!1}function Bw(e){return Ta(e)||Ew(e)?e.value:e.textContent||""}function bd(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function rv(e){var t=$e(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function nv(e){if(rv(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ge(r)){var n=nv(r);n!==null&&(t=n)}}),t}function jw(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):nv(e)}function Dw(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ct(t);if(!rv(e))return null;var r=e.ownerDocument;return ct(r.querySelectorAll("label")).filter(function(n){return jw(n)===e})}function Lw(e){var t=e.assignedNodes();return t.length===0?ct(e.childNodes):t}function av(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new fw,n=ww(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function m(h,E){var C="";if(ge(h)&&s){var S=u(h,"::before"),x=bd(S);C="".concat(x," ").concat(C)}var w=Tw(h)?Lw(h):ct(h.childNodes).concat(La(h,"aria-owns"));if(w.forEach(function(H){var z=R(H,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),ne=ge(H)?u(H).getPropertyValue("display"):"inline",ie=ne!=="inline"?" ":"";C+="".concat(ie).concat(z).concat(ie)}),ge(h)&&s){var P=u(h,"::after"),A=bd(P);C="".concat(C," ").concat(A)}return C.trim()}function f(h,E){var C=h.getAttributeNode(E);return C!==null&&!r.has(C)&&C.value.trim()!==""?(r.add(C),C.value):null}function y(h){return ge(h)?f(h,"title"):null}function v(h){if(!ge(h))return null;if(xw(h)){r.add(h);for(var E=ct(h.childNodes),C=0;C<E.length;C+=1){var S=E[C];if(Cw(S))return R(S,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(_w(h)){r.add(h);for(var x=ct(h.childNodes),w=0;w<x.length;w+=1){var P=x[w];if(ev(P))return R(P,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Sw(h)){r.add(h);for(var A=ct(h.childNodes),H=0;H<A.length;H+=1){var z=A[H];if(Pw(z))return z.textContent}return null}else if($e(h)==="img"||$e(h)==="area"){var ne=f(h,"alt");if(ne!==null)return ne}else if(bw(h)){var ie=f(h,"label");if(ie!==null)return ie}if(Ta(h)&&(h.type==="button"||h.type==="submit"||h.type==="reset")){var B=f(h,"value");if(B!==null)return B;if(h.type==="submit")return"Submit";if(h.type==="reset")return"Reset"}var G=Dw(h);if(G!==null&&G.length!==0)return r.add(h),ct(G).map(function(Te){return R(Te,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Te){return Te.length>0}).join(" ");if(Ta(h)&&h.type==="image"){var _e=f(h,"alt");if(_e!==null)return _e;var pe=f(h,"title");return pe!==null?pe:"Submit Query"}if(Ft(h,["button"])){var ye=m(h,{isEmbeddedInLabel:!1,isReferenced:!1});if(ye!=="")return ye}return null}function R(h,E){if(r.has(h))return"";if(!d&&Ow(h,u)&&!E.isReferenced)return r.add(h),"";var C=ge(h)?h.getAttributeNode("aria-labelledby"):null,S=C!==null&&!r.has(C)?La(h,"aria-labelledby"):[];if(o==="name"&&!E.isReferenced&&S.length>0)return r.add(C),S.map(function(ne){return R(ne,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var x=E.recursion&&Iw(h)&&o==="name";if(!x){var w=(ge(h)&&h.getAttribute("aria-label")||"").trim();if(w!==""&&o==="name")return r.add(h),w;if(!$w(h)){var P=v(h);if(P!==null)return r.add(h),P}}if(Ft(h,["menu"]))return r.add(h),"";if(x||E.isEmbeddedInLabel||E.isReferenced){if(Ft(h,["combobox","listbox"])){r.add(h);var A=Mw(h);return A.length===0?Ta(h)?h.value:"":ct(A).map(function(ne){return R(ne,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(tv(h,"range"))return r.add(h),h.hasAttribute("aria-valuetext")?h.getAttribute("aria-valuetext"):h.hasAttribute("aria-valuenow")?h.getAttribute("aria-valuenow"):h.getAttribute("value")||"";if(Ft(h,["textbox"]))return r.add(h),Bw(h)}if(Nw(h)||ge(h)&&E.isReferenced||kw(h)||qw()){var H=m(h,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1});if(H!=="")return r.add(h),H}if(h.nodeType===h.TEXT_NODE)return r.add(h),h.textContent||"";if(E.recursion)return r.add(h),m(h,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1});var z=y(h);return z!==null?(r.add(h),z):(r.add(h),"")}return Aw(R(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function qn(e){"@babel/helpers - typeof";return qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qn(e)}function gd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function _d(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gd(Object(r),!0).forEach(function(n){Fw(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Fw(e,t,r){return t=Hw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hw(e){var t=Uw(e,"string");return qn(t)==="symbol"?t:String(t)}function Uw(e,t){if(qn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(qn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ov(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=La(e,"aria-describedby").map(function(a){return av(a,_d(_d({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Gw(e){return Ft(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Wc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Gw(e)?"":av(e,t)}var ft={},mo={},qr={},ho={};Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;function Ww(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var a=e[t];return t=t+1,{done:!1,value:a}}else return{done:!0}}};return r}var Vw=Ww;ho.default=Vw;Object.defineProperty(qr,"__esModule",{value:!0});qr.default=Yw;var zw=Xw(ho);function Xw(e){return e&&e.__esModule?e:{default:e}}function Gu(e){"@babel/helpers - typeof";return Gu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gu(e)}function Yw(e,t){return typeof Symbol=="function"&&Gu(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:zw.default.bind(t)}),e}Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var Kw=Zw(qr);function Zw(e){return e&&e.__esModule?e:{default:e}}function js(e,t){return ex(e)||Qw(e,t)||iv(e,t)||Jw()}function Jw(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
85
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
86
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){i=!0,s=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function
|
|
87
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
88
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){i=!0,s=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function lv(e,t){if(e){if(typeof e=="string")return wd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wd(e,t)}}function wd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Yr=[["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}]],Vu={entries:function(){return Yr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=sx(Yr),a;try{for(n.s();!(a=n.n()).done;){var o=Ds(a.value,2),i=o[0],s=o[1];t.call(r,s,i,Yr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Yr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Vu.get(t)},keys:function(){return Yr.map(function(t){var r=Ds(t,1),n=r[0];return n})},values:function(){return Yr.map(function(t){var r=Ds(t,2),n=r[1];return n})}},ux=(0,nx.default)(Vu,Vu.entries());vo.default=ux;var fn={},yo={},bo={};Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var cx={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},fx=cx;bo.default=fx;var go={};Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var dx={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"]]},px=dx;go.default=px;var _o={};Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var mx={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"]]},hx=mx;_o.default=hx;var Eo={};Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var vx={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yx=vx;Eo.default=yx;var wo={};Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var bx={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"]]},gx=bx;wo.default=gx;var xo={};Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var _x={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:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},Ex=_x;xo.default=Ex;var Co={};Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var wx={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"]]},xx=wx;Co.default=xx;var To={};Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var Cx={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Tx=Cx;To.default=Tx;var Ro={};Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Rx={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=Rx;Ro.default=Sx;var So={};Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var Px={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Ax=Px;So.default=Ax;var Po={};Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var Ox={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Ix=Ox;Po.default=Ix;var Ao={};Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Mx={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},$x=Mx;Ao.default=$x;Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var kx=nt(bo),Nx=nt(go),qx=nt(_o),Bx=nt(Eo),jx=nt(wo),Dx=nt(xo),Lx=nt(Co),Fx=nt(To),Hx=nt(Ro),Ux=nt(So),Gx=nt(Po),Wx=nt(Ao);function nt(e){return e&&e.__esModule?e:{default:e}}var Vx=[["command",kx.default],["composite",Nx.default],["input",qx.default],["landmark",Bx.default],["range",jx.default],["roletype",Dx.default],["section",Lx.default],["sectionhead",Fx.default],["select",Hx.default],["structure",Ux.default],["widget",Gx.default],["window",Wx.default]],zx=Vx;yo.default=zx;var Oo={},Io={};Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var Xx={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"]]},Yx=Xx;Io.default=Yx;var Mo={};Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var Kx={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"]]},Zx=Kx;Mo.default=Zx;var $o={};Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var Jx={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"]]},Qx=Jx;$o.default=Qx;var ko={};Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var eC={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"]]},tC=eC;ko.default=tC;var No={};Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var rC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},nC=rC;No.default=nC;var qo={};Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var aC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},oC=aC;qo.default=oC;var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var iC={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:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{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"]]},lC=iC;Bo.default=lC;var jo={};Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var sC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},uC=sC;jo.default=uC;var Do={};Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var cC={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:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fC=cC;Do.default=fC;var Lo={};Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var dC={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"]]},pC=dC;Lo.default=pC;var Fo={};Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var mC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hC=mC;Fo.default=hC;var Ho={};Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var vC={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{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"]]},yC=vC;Ho.default=yC;var Uo={};Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var bC={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"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},gC=bC;Uo.default=gC;var Go={};Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var _C={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},EC=_C;Go.default=EC;var Wo={};Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var wC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},xC=wC;Wo.default=xC;var Vo={};Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var CC={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"]]},TC=CC;Vo.default=TC;var zo={};Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var RC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},SC=RC;zo.default=SC;var Xo={};Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var PC={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},AC=PC;Xo.default=AC;var Yo={};Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var OC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},IC=OC;Yo.default=IC;var Ko={};Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var MC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},$C=MC;Ko.default=$C;var Zo={};Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var kC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},NC=kC;Zo.default=NC;var Jo={};Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var qC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},BC=qC;Jo.default=BC;var Qo={};Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var jC={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"]]},DC=jC;Qo.default=DC;var ei={};Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var LC={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"]]},FC=LC;ei.default=FC;var ti={};Object.defineProperty(ti,"__esModule",{value:!0});ti.default=void 0;var HC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},UC=HC;ti.default=UC;var ri={};Object.defineProperty(ri,"__esModule",{value:!0});ri.default=void 0;var GC={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},WC=GC;ri.default=WC;var ni={};Object.defineProperty(ni,"__esModule",{value:!0});ni.default=void 0;var VC={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:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},zC=VC;ni.default=zC;var ai={};Object.defineProperty(ai,"__esModule",{value:!0});ai.default=void 0;var XC={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"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},YC=XC;ai.default=YC;var oi={};Object.defineProperty(oi,"__esModule",{value:!0});oi.default=void 0;var KC={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"]]},ZC=KC;oi.default=ZC;var ii={};Object.defineProperty(ii,"__esModule",{value:!0});ii.default=void 0;var JC={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"]]},QC=JC;ii.default=QC;var li={};Object.defineProperty(li,"__esModule",{value:!0});li.default=void 0;var eT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tT=eT;li.default=tT;var si={};Object.defineProperty(si,"__esModule",{value:!0});si.default=void 0;var rT={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},nT=rT;si.default=nT;var ui={};Object.defineProperty(ui,"__esModule",{value:!0});ui.default=void 0;var aT={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"]]},oT=aT;ui.default=oT;var ci={};Object.defineProperty(ci,"__esModule",{value:!0});ci.default=void 0;var iT={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"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],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"]]},lT=iT;ci.default=lT;var fi={};Object.defineProperty(fi,"__esModule",{value:!0});fi.default=void 0;var sT={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, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},uT=sT;fi.default=uT;var di={};Object.defineProperty(di,"__esModule",{value:!0});di.default=void 0;var cT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fT=cT;di.default=fT;var pi={};Object.defineProperty(pi,"__esModule",{value:!0});pi.default=void 0;var dT={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"]]},pT=dT;pi.default=pT;var mi={};Object.defineProperty(mi,"__esModule",{value:!0});mi.default=void 0;var mT={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hT=mT;mi.default=hT;var hi={};Object.defineProperty(hi,"__esModule",{value:!0});hi.default=void 0;var vT={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"]]},yT=vT;hi.default=yT;var vi={};Object.defineProperty(vi,"__esModule",{value:!0});vi.default=void 0;var bT={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"]]},gT=bT;vi.default=gT;var yi={};Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var _T={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"]]},ET=_T;yi.default=ET;var bi={};Object.defineProperty(bi,"__esModule",{value:!0});bi.default=void 0;var wT={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:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},xT=wT;bi.default=xT;var gi={};Object.defineProperty(gi,"__esModule",{value:!0});gi.default=void 0;var CT={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"]]},TT=CT;gi.default=TT;var _i={};Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var RT={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"]]},ST=RT;_i.default=ST;var Ei={};Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var PT={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},AT=PT;Ei.default=AT;var wi={};Object.defineProperty(wi,"__esModule",{value:!0});wi.default=void 0;var OT={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"]]},IT=OT;wi.default=IT;var xi={};Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var MT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},$T=MT;xi.default=$T;var Ci={};Object.defineProperty(Ci,"__esModule",{value:!0});Ci.default=void 0;var kT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},NT=kT;Ci.default=NT;var Ti={};Object.defineProperty(Ti,"__esModule",{value:!0});Ti.default=void 0;var qT={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"]]},BT=qT;Ti.default=BT;var Ri={};Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var jT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},DT=jT;Ri.default=DT;var Si={};Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var LT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},FT=LT;Si.default=FT;var Pi={};Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var HT={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"]]},UT=HT;Pi.default=UT;var Ai={};Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var GT={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"]]},WT=GT;Ai.default=WT;var Oi={};Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var VT={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"]]},zT=VT;Oi.default=zT;var Ii={};Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var XT={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"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},YT=XT;Ii.default=YT;var Mi={};Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var KT={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"]]},ZT=KT;Mi.default=ZT;var $i={};Object.defineProperty($i,"__esModule",{value:!0});$i.default=void 0;var JT={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"]]},QT=JT;$i.default=QT;var ki={};Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var eR={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"]]},tR=eR;ki.default=tR;var Ni={};Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var rR={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"]]},nR=rR;Ni.default=nR;var qi={};Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var aR={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},oR=aR;qi.default=oR;var Bi={};Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var iR={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},lR=iR;Bi.default=lR;var ji={};Object.defineProperty(ji,"__esModule",{value:!0});ji.default=void 0;var sR={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"]]},uR=sR;ji.default=uR;var Di={};Object.defineProperty(Di,"__esModule",{value:!0});Di.default=void 0;var cR={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"]]},fR=cR;Di.default=fR;var Li={};Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var dR={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"]]},pR=dR;Li.default=pR;var Fi={};Object.defineProperty(Fi,"__esModule",{value:!0});Fi.default=void 0;var mR={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"]]},hR=mR;Fi.default=hR;var Hi={};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=void 0;var vR={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yR=vR;Hi.default=yR;var Ui={};Object.defineProperty(Ui,"__esModule",{value:!0});Ui.default=void 0;var bR={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gR=bR;Ui.default=gR;var Gi={};Object.defineProperty(Gi,"__esModule",{value:!0});Gi.default=void 0;var _R={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ER=_R;Gi.default=ER;var Wi={};Object.defineProperty(Wi,"__esModule",{value:!0});Wi.default=void 0;var wR={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"]]},xR=wR;Wi.default=xR;var Vi={};Object.defineProperty(Vi,"__esModule",{value:!0});Vi.default=void 0;var CR={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"]]},TR=CR;Vi.default=TR;var zi={};Object.defineProperty(zi,"__esModule",{value:!0});zi.default=void 0;var RR={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"]]},SR=RR;zi.default=SR;var Xi={};Object.defineProperty(Xi,"__esModule",{value:!0});Xi.default=void 0;var PR={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"]]},AR=PR;Xi.default=AR;var Yi={};Object.defineProperty(Yi,"__esModule",{value:!0});Yi.default=void 0;var OR={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},IR=OR;Yi.default=IR;var Ki={};Object.defineProperty(Ki,"__esModule",{value:!0});Ki.default=void 0;var MR={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"]]},$R=MR;Ki.default=$R;var Zi={};Object.defineProperty(Zi,"__esModule",{value:!0});Zi.default=void 0;var kR={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"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},NR=kR;Zi.default=NR;var Ji={};Object.defineProperty(Ji,"__esModule",{value:!0});Ji.default=void 0;var qR={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},BR=qR;Ji.default=BR;var Qi={};Object.defineProperty(Qi,"__esModule",{value:!0});Qi.default=void 0;var jR={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},DR=jR;Qi.default=DR;var el={};Object.defineProperty(el,"__esModule",{value:!0});el.default=void 0;var LR={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"]]},FR=LR;el.default=FR;var tl={};Object.defineProperty(tl,"__esModule",{value:!0});tl.default=void 0;var HR={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},UR=HR;tl.default=UR;var rl={};Object.defineProperty(rl,"__esModule",{value:!0});rl.default=void 0;var GR={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"]]},WR=GR;rl.default=WR;var nl={};Object.defineProperty(nl,"__esModule",{value:!0});nl.default=void 0;var VR={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"]]},zR=VR;nl.default=zR;var al={};Object.defineProperty(al,"__esModule",{value:!0});al.default=void 0;var XR={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"]]},YR=XR;al.default=YR;Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var KR=q(Io),ZR=q(Mo),JR=q($o),QR=q(ko),eS=q(No),tS=q(qo),rS=q(Bo),nS=q(jo),aS=q(Do),oS=q(Lo),iS=q(Fo),lS=q(Ho),sS=q(Uo),uS=q(Go),cS=q(Wo),fS=q(Vo),dS=q(zo),pS=q(Xo),mS=q(Yo),hS=q(Ko),vS=q(Zo),yS=q(Jo),bS=q(Qo),gS=q(ei),_S=q(ti),ES=q(ri),wS=q(ni),xS=q(ai),CS=q(oi),TS=q(ii),RS=q(li),SS=q(si),PS=q(ui),AS=q(ci),OS=q(fi),IS=q(di),MS=q(pi),$S=q(mi),kS=q(hi),NS=q(vi),qS=q(yi),BS=q(bi),jS=q(gi),DS=q(_i),LS=q(Ei),FS=q(wi),HS=q(xi),US=q(Ci),GS=q(Ti),WS=q(Ri),VS=q(Si),zS=q(Pi),XS=q(Ai),YS=q(Oi),KS=q(Ii),ZS=q(Mi),JS=q($i),QS=q(ki),eP=q(Ni),tP=q(qi),rP=q(Bi),nP=q(ji),aP=q(Di),oP=q(Li),iP=q(Fi),lP=q(Hi),sP=q(Ui),uP=q(Gi),cP=q(Wi),fP=q(Vi),dP=q(zi),pP=q(Xi),mP=q(Yi),hP=q(Ki),vP=q(Zi),yP=q(Ji),bP=q(Qi),gP=q(el),_P=q(tl),EP=q(rl),wP=q(nl),xP=q(al);function q(e){return e&&e.__esModule?e:{default:e}}var CP=[["alert",KR.default],["alertdialog",ZR.default],["application",JR.default],["article",QR.default],["banner",eS.default],["blockquote",tS.default],["button",rS.default],["caption",nS.default],["cell",aS.default],["checkbox",oS.default],["code",iS.default],["columnheader",lS.default],["combobox",sS.default],["complementary",uS.default],["contentinfo",cS.default],["definition",fS.default],["deletion",dS.default],["dialog",pS.default],["directory",mS.default],["document",hS.default],["emphasis",vS.default],["feed",yS.default],["figure",bS.default],["form",gS.default],["generic",_S.default],["grid",ES.default],["gridcell",wS.default],["group",xS.default],["heading",CS.default],["img",TS.default],["insertion",RS.default],["link",SS.default],["list",PS.default],["listbox",AS.default],["listitem",OS.default],["log",IS.default],["main",MS.default],["marquee",$S.default],["math",kS.default],["menu",NS.default],["menubar",qS.default],["menuitem",BS.default],["menuitemcheckbox",jS.default],["menuitemradio",DS.default],["meter",LS.default],["navigation",FS.default],["none",HS.default],["note",US.default],["option",GS.default],["paragraph",WS.default],["presentation",VS.default],["progressbar",zS.default],["radio",XS.default],["radiogroup",YS.default],["region",KS.default],["row",ZS.default],["rowgroup",JS.default],["rowheader",QS.default],["scrollbar",eP.default],["search",tP.default],["searchbox",rP.default],["separator",nP.default],["slider",aP.default],["spinbutton",oP.default],["status",iP.default],["strong",lP.default],["subscript",sP.default],["superscript",uP.default],["switch",cP.default],["tab",fP.default],["table",dP.default],["tablist",pP.default],["tabpanel",mP.default],["term",hP.default],["textbox",vP.default],["time",yP.default],["timer",bP.default],["toolbar",gP.default],["tooltip",_P.default],["tree",EP.default],["treegrid",wP.default],["treeitem",xP.default]],TP=CP;Oo.default=TP;var ol={},il={};Object.defineProperty(il,"__esModule",{value:!0});il.default=void 0;var RP={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"]]},SP=RP;il.default=SP;var ll={};Object.defineProperty(ll,"__esModule",{value:!0});ll.default=void 0;var PP={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"]]},AP=PP;ll.default=AP;var sl={};Object.defineProperty(sl,"__esModule",{value:!0});sl.default=void 0;var OP={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"]]},IP=OP;sl.default=IP;var ul={};Object.defineProperty(ul,"__esModule",{value:!0});ul.default=void 0;var MP={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"]]},$P=MP;ul.default=$P;var cl={};Object.defineProperty(cl,"__esModule",{value:!0});cl.default=void 0;var kP={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],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"]]},NP=kP;cl.default=NP;var fl={};Object.defineProperty(fl,"__esModule",{value:!0});fl.default=void 0;var qP={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"]]},BP=qP;fl.default=BP;var dl={};Object.defineProperty(dl,"__esModule",{value:!0});dl.default=void 0;var jP={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"]]},DP=jP;dl.default=DP;var pl={};Object.defineProperty(pl,"__esModule",{value:!0});pl.default=void 0;var LP={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"]]},FP=LP;pl.default=FP;var ml={};Object.defineProperty(ml,"__esModule",{value:!0});ml.default=void 0;var HP={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"]]},UP=HP;ml.default=UP;var hl={};Object.defineProperty(hl,"__esModule",{value:!0});hl.default=void 0;var GP={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"]]},WP=GP;hl.default=WP;var vl={};Object.defineProperty(vl,"__esModule",{value:!0});vl.default=void 0;var VP={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"]]},zP=VP;vl.default=zP;var yl={};Object.defineProperty(yl,"__esModule",{value:!0});yl.default=void 0;var XP={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"]]},YP=XP;yl.default=YP;var bl={};Object.defineProperty(bl,"__esModule",{value:!0});bl.default=void 0;var KP={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"]]},ZP=KP;bl.default=ZP;var gl={};Object.defineProperty(gl,"__esModule",{value:!0});gl.default=void 0;var JP={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"]]},QP=JP;gl.default=QP;var _l={};Object.defineProperty(_l,"__esModule",{value:!0});_l.default=void 0;var e1={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"]]},t1=e1;_l.default=t1;var El={};Object.defineProperty(El,"__esModule",{value:!0});El.default=void 0;var r1={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"]]},n1=r1;El.default=n1;var wl={};Object.defineProperty(wl,"__esModule",{value:!0});wl.default=void 0;var a1={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"]]},o1=a1;wl.default=o1;var xl={};Object.defineProperty(xl,"__esModule",{value:!0});xl.default=void 0;var i1={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"]]},l1=i1;xl.default=l1;var Cl={};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.default=void 0;var s1={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"]]},u1=s1;Cl.default=u1;var Tl={};Object.defineProperty(Tl,"__esModule",{value:!0});Tl.default=void 0;var c1={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"]]},f1=c1;Tl.default=f1;var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var d1={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"]]},p1=d1;Rl.default=p1;var Sl={};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.default=void 0;var m1={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"]]},h1=m1;Sl.default=h1;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;var v1={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"]]},y1=v1;Pl.default=y1;var Al={};Object.defineProperty(Al,"__esModule",{value:!0});Al.default=void 0;var b1={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"]]},g1=b1;Al.default=g1;var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0});Ol.default=void 0;var _1={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"]]},E1=_1;Ol.default=E1;var Il={};Object.defineProperty(Il,"__esModule",{value:!0});Il.default=void 0;var w1={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"]]},x1=w1;Il.default=x1;var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});Ml.default=void 0;var C1={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"]]},T1=C1;Ml.default=T1;var $l={};Object.defineProperty($l,"__esModule",{value:!0});$l.default=void 0;var R1={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"]]},S1=R1;$l.default=S1;var kl={};Object.defineProperty(kl,"__esModule",{value:!0});kl.default=void 0;var P1={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"]]},A1=P1;kl.default=A1;var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var O1={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"]]},I1=O1;Nl.default=I1;var ql={};Object.defineProperty(ql,"__esModule",{value:!0});ql.default=void 0;var M1={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"]]},$1=M1;ql.default=$1;var Bl={};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=void 0;var k1={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"]]},N1=k1;Bl.default=N1;var jl={};Object.defineProperty(jl,"__esModule",{value:!0});jl.default=void 0;var q1={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"]]},B1=q1;jl.default=B1;var Dl={};Object.defineProperty(Dl,"__esModule",{value:!0});Dl.default=void 0;var j1={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"]]},D1=j1;Dl.default=D1;var Ll={};Object.defineProperty(Ll,"__esModule",{value:!0});Ll.default=void 0;var L1={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"]]},F1=L1;Ll.default=F1;var Fl={};Object.defineProperty(Fl,"__esModule",{value:!0});Fl.default=void 0;var H1={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"]]},U1=H1;Fl.default=U1;var Hl={};Object.defineProperty(Hl,"__esModule",{value:!0});Hl.default=void 0;var G1={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"]]},W1=G1;Hl.default=W1;var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=void 0;var V1={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"]]},z1=V1;Ul.default=z1;var Gl={};Object.defineProperty(Gl,"__esModule",{value:!0});Gl.default=void 0;var X1={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"]]},Y1=X1;Gl.default=Y1;Object.defineProperty(ol,"__esModule",{value:!0});ol.default=void 0;var K1=X(il),Z1=X(ll),J1=X(sl),Q1=X(ul),eA=X(cl),tA=X(fl),rA=X(dl),nA=X(pl),aA=X(ml),oA=X(hl),iA=X(vl),lA=X(yl),sA=X(bl),uA=X(gl),cA=X(_l),fA=X(El),dA=X(wl),pA=X(xl),mA=X(Cl),hA=X(Tl),vA=X(Rl),yA=X(Sl),bA=X(Pl),gA=X(Al),_A=X(Ol),EA=X(Il),wA=X(Ml),xA=X($l),CA=X(kl),TA=X(Nl),RA=X(ql),SA=X(Bl),PA=X(jl),AA=X(Dl),OA=X(Ll),IA=X(Fl),MA=X(Hl),$A=X(Ul),kA=X(Gl);function X(e){return e&&e.__esModule?e:{default:e}}var NA=[["doc-abstract",K1.default],["doc-acknowledgments",Z1.default],["doc-afterword",J1.default],["doc-appendix",Q1.default],["doc-backlink",eA.default],["doc-biblioentry",tA.default],["doc-bibliography",rA.default],["doc-biblioref",nA.default],["doc-chapter",aA.default],["doc-colophon",oA.default],["doc-conclusion",iA.default],["doc-cover",lA.default],["doc-credit",sA.default],["doc-credits",uA.default],["doc-dedication",cA.default],["doc-endnote",fA.default],["doc-endnotes",dA.default],["doc-epigraph",pA.default],["doc-epilogue",mA.default],["doc-errata",hA.default],["doc-example",vA.default],["doc-footnote",yA.default],["doc-foreword",bA.default],["doc-glossary",gA.default],["doc-glossref",_A.default],["doc-index",EA.default],["doc-introduction",wA.default],["doc-noteref",xA.default],["doc-notice",CA.default],["doc-pagebreak",TA.default],["doc-pagelist",RA.default],["doc-part",SA.default],["doc-preface",PA.default],["doc-prologue",AA.default],["doc-pullquote",OA.default],["doc-qna",IA.default],["doc-subtitle",MA.default],["doc-tip",$A.default],["doc-toc",kA.default]],qA=NA;ol.default=qA;var Wl={},Vl={};Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=void 0;var BA={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"]]},jA=BA;Vl.default=jA;var zl={};Object.defineProperty(zl,"__esModule",{value:!0});zl.default=void 0;var DA={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"]]},LA=DA;zl.default=LA;var Xl={};Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=void 0;var FA={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"]]},HA=FA;Xl.default=HA;Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;var UA=Vc(Vl),GA=Vc(zl),WA=Vc(Xl);function Vc(e){return e&&e.__esModule?e:{default:e}}var VA=[["graphics-document",UA.default],["graphics-object",GA.default],["graphics-symbol",WA.default]],zA=VA;Wl.default=zA;Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var XA=zn(yo),YA=zn(Oo),KA=zn(ol),ZA=zn(Wl),JA=zn(qr);function zn(e){return e&&e.__esModule?e:{default:e}}function QA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=sv(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
89
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){i=!0,s=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function Pn(e,t){return
|
|
90
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sv(e,t){if(e){if(typeof e=="string")return xd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xd(e,t)}}function xd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function tO(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,i,s;try{for(r=r.call(e);!(a=(i=r.next()).done)&&(n.push(i.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,s=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function rO(e){if(Array.isArray(e))return e}var Qt=[].concat(XA.default,YA.default,KA.default,ZA.default);Qt.forEach(function(e){var t=Pn(e,2),r=t[1],n=zu(r.superClass),a;try{for(n.s();!(a=n.n()).done;){var o=a.value,i=zu(o),s;try{var l=function(){var c=s.value,d=Qt.find(function(R){var h=Pn(R,1),E=h[0];return E===c});if(d)for(var m=d[1],f=0,y=Object.keys(m.props);f<y.length;f++){var v=y[f];Object.prototype.hasOwnProperty.call(r.props,v)||Object.assign(r.props,QA({},v,m.props[v]))}};for(i.s();!(s=i.n()).done;)l()}catch(u){i.e(u)}finally{i.f()}}}catch(u){n.e(u)}finally{n.f()}});var Xu={entries:function(){return Qt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=zu(Qt),a;try{for(n.s();!(a=n.n()).done;){var o=Pn(a.value,2),i=o[0],s=o[1];t.call(r,s,i,Qt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Qt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Xu.get(t)},keys:function(){return Qt.map(function(t){var r=Pn(t,1),n=r[0];return n})},values:function(){return Qt.map(function(t){var r=Pn(t,2),n=r[1];return n})}},nO=(0,JA.default)(Xu,Xu.entries());fn.default=nO;var Yl={},Cd=Object.prototype.toString,uv=function(t){var r=Cd.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Cd.call(t.callee)==="[object Function]"),n},Ls,Td;function aO(){if(Td)return Ls;Td=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=uv,a=Object.prototype.propertyIsEnumerable,o=!a.call({toString:null},"toString"),i=a.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(m){var f=m.constructor;return f&&f.prototype===m},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!u["$"+m]&&t.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{l(window[m])}catch{return!0}}catch{return!0}return!1}(),d=function(m){if(typeof window>"u"||!c)return l(m);try{return l(m)}catch{return!1}};e=function(f){var y=f!==null&&typeof f=="object",v=r.call(f)==="[object Function]",R=n(f),h=y&&r.call(f)==="[object String]",E=[];if(!y&&!v&&!R)throw new TypeError("Object.keys called on a non-object");var C=i&&v;if(h&&f.length>0&&!t.call(f,0))for(var S=0;S<f.length;++S)E.push(String(S));if(R&&f.length>0)for(var x=0;x<f.length;++x)E.push(String(x));else for(var w in f)!(C&&w==="prototype")&&t.call(f,w)&&E.push(String(w));if(o)for(var P=d(f),A=0;A<s.length;++A)!(P&&s[A]==="constructor")&&t.call(f,s[A])&&E.push(s[A]);return E}}return Ls=e,Ls}var oO=Array.prototype.slice,iO=uv,Rd=Object.keys,Ra=Rd?function(t){return Rd(t)}:aO(),Sd=Object.keys;Ra.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return iO(n)?Sd(oO.call(n)):Sd(n)})}else Object.keys=Ra;return Object.keys||Ra};var zc=Ra,Kl=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(t,r);if(i.value!==a||i.enumerable!==!0)return!1}return!0},Pd=typeof Symbol<"u"&&Symbol,lO=Kl,Xc=function(){return typeof Pd!="function"||typeof Symbol!="function"||typeof Pd("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:lO()},Ad={foo:{}},sO=Object,uO=function(){return{__proto__:Ad}.foo===Ad.foo&&!({__proto__:null}instanceof sO)},cO="Function.prototype.bind called on incompatible ",Fs=Array.prototype.slice,fO=Object.prototype.toString,dO="[object Function]",pO=function(t){var r=this;if(typeof r!="function"||fO.call(r)!==dO)throw new TypeError(cO+r);for(var n=Fs.call(arguments,1),a,o=function(){if(this instanceof a){var c=r.apply(this,n.concat(Fs.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(Fs.call(arguments)))},i=Math.max(0,r.length-n.length),s=[],l=0;l<i;l++)s.push("$"+l);if(a=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,a.prototype=new u,u.prototype=null}return a},mO=pO,Yc=Function.prototype.bind||mO,hO=Yc,cv=hO.call(Function.call,Object.prototype.hasOwnProperty),J,ln=SyntaxError,fv=Function,tn=TypeError,Hs=function(e){try{return fv('"use strict"; return ('+e+").constructor;")()}catch{}},Sr=Object.getOwnPropertyDescriptor;if(Sr)try{Sr({},"")}catch{Sr=null}var Us=function(){throw new tn},vO=Sr?function(){try{return arguments.callee,Us}catch{try{return Sr(arguments,"callee").get}catch{return Us}}}():Us,Kr=Xc(),yO=uO(),Ae=Object.getPrototypeOf||(yO?function(e){return e.__proto__}:null),Jr={},bO=typeof Uint8Array>"u"||!Ae?J:Ae(Uint8Array),Pr={"%AggregateError%":typeof AggregateError>"u"?J:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?J:ArrayBuffer,"%ArrayIteratorPrototype%":Kr&&Ae?Ae([][Symbol.iterator]()):J,"%AsyncFromSyncIteratorPrototype%":J,"%AsyncFunction%":Jr,"%AsyncGenerator%":Jr,"%AsyncGeneratorFunction%":Jr,"%AsyncIteratorPrototype%":Jr,"%Atomics%":typeof Atomics>"u"?J:Atomics,"%BigInt%":typeof BigInt>"u"?J:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?J:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?J:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?J:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?J:Float32Array,"%Float64Array%":typeof Float64Array>"u"?J:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?J:FinalizationRegistry,"%Function%":fv,"%GeneratorFunction%":Jr,"%Int8Array%":typeof Int8Array>"u"?J:Int8Array,"%Int16Array%":typeof Int16Array>"u"?J:Int16Array,"%Int32Array%":typeof Int32Array>"u"?J:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Kr&&Ae?Ae(Ae([][Symbol.iterator]())):J,"%JSON%":typeof JSON=="object"?JSON:J,"%Map%":typeof Map>"u"?J:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Kr||!Ae?J:Ae(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?J:Promise,"%Proxy%":typeof Proxy>"u"?J:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?J:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?J:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Kr||!Ae?J:Ae(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?J:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Kr&&Ae?Ae(""[Symbol.iterator]()):J,"%Symbol%":Kr?Symbol:J,"%SyntaxError%":ln,"%ThrowTypeError%":vO,"%TypedArray%":bO,"%TypeError%":tn,"%Uint8Array%":typeof Uint8Array>"u"?J:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?J:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?J:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?J:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?J:WeakMap,"%WeakRef%":typeof WeakRef>"u"?J:WeakRef,"%WeakSet%":typeof WeakSet>"u"?J:WeakSet};if(Ae)try{null.error}catch(e){var gO=Ae(Ae(e));Pr["%Error.prototype%"]=gO}var _O=function e(t){var r;if(t==="%AsyncFunction%")r=Hs("async function () {}");else if(t==="%GeneratorFunction%")r=Hs("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Hs("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&Ae&&(r=Ae(a.prototype))}return Pr[t]=r,r},Od={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Xn=Yc,Fa=cv,EO=Xn.call(Function.call,Array.prototype.concat),wO=Xn.call(Function.apply,Array.prototype.splice),Id=Xn.call(Function.call,String.prototype.replace),Ha=Xn.call(Function.call,String.prototype.slice),xO=Xn.call(Function.call,RegExp.prototype.exec),CO=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,TO=/\\(\\)?/g,RO=function(t){var r=Ha(t,0,1),n=Ha(t,-1);if(r==="%"&&n!=="%")throw new ln("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new ln("invalid intrinsic syntax, expected opening `%`");var a=[];return Id(t,CO,function(o,i,s,l){a[a.length]=s?Id(l,TO,"$1"):i||o}),a},SO=function(t,r){var n=t,a;if(Fa(Od,n)&&(a=Od[n],n="%"+a[0]+"%"),Fa(Pr,n)){var o=Pr[n];if(o===Jr&&(o=_O(n)),typeof o>"u"&&!r)throw new tn("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new ln("intrinsic "+t+" does not exist!")},pt=function(t,r){if(typeof t!="string"||t.length===0)throw new tn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new tn('"allowMissing" argument must be a boolean');if(xO(/^%?[^%]*%?$/,t)===null)throw new ln("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=RO(t),a=n.length>0?n[0]:"",o=SO("%"+a+"%",r),i=o.name,s=o.value,l=!1,u=o.alias;u&&(a=u[0],wO(n,EO([0,1],u)));for(var c=1,d=!0;c<n.length;c+=1){var m=n[c],f=Ha(m,0,1),y=Ha(m,-1);if((f==='"'||f==="'"||f==="`"||y==='"'||y==="'"||y==="`")&&f!==y)throw new ln("property names with quotes must have matching quotes");if((m==="constructor"||!d)&&(l=!0),a+="."+m,i="%"+a+"%",Fa(Pr,i))s=Pr[i];else if(s!=null){if(!(m in s)){if(!r)throw new tn("base intrinsic for "+t+" exists, but the property is not available.");return}if(Sr&&c+1>=n.length){var v=Sr(s,m);d=!!v,d&&"get"in v&&!("originalValue"in v.get)?s=v.get:s=s[m]}else d=Fa(s,m),s=s[m];d&&!l&&(Pr[i]=s)}}return s},PO=pt,Yu=PO("%Object.defineProperty%",!0),Ku=function(){if(Yu)try{return Yu({},"a",{value:1}),!0}catch{return!1}return!1};Ku.hasArrayLengthDefineBug=function(){if(!Ku())return null;try{return Yu([],"length",{value:1}).length!==1}catch{return!0}};var Kc=Ku,AO=pt,Sa=AO("%Object.getOwnPropertyDescriptor%",!0);if(Sa)try{Sa([],"length")}catch{Sa=null}var dv=Sa,OO=Kc(),Zc=pt,Md=OO&&Zc("%Object.defineProperty%",!0),IO=Zc("%SyntaxError%"),xn=Zc("%TypeError%"),$d=dv,pv=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new xn("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new xn("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean")throw new xn("`nonEnumerable`, if provided, must be a boolean`");if(arguments.length>4&&typeof arguments[4]!="boolean")throw new xn("`nonWritable`, if provided, must be a boolean`");if(arguments.length>5&&typeof arguments[5]!="boolean")throw new xn("`nonConfigurable`, if provided, must be a boolean`");var a=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,s=!!$d&&$d(t,r);if(Md)Md(t,r,{configurable:i===null&&s?s.configurable:!i,enumerable:a===null&&s?s.enumerable:!a,value:n,writable:o===null&&s?s.writable:!o});else if(!a&&!o&&!i)t[r]=n;else throw new IO("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},MO=zc,$O=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",kO=Object.prototype.toString,NO=Array.prototype.concat,kd=pv,qO=function(e){return typeof e=="function"&&kO.call(e)==="[object Function]"},mv=Kc(),BO=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!qO(n)||!n())return}mv?kd(e,t,r,!0):kd(e,t,r)},hv=function(e,t){var r=arguments.length>2?arguments[2]:{},n=MO(t);$O&&(n=NO.call(n,Object.getOwnPropertySymbols(t)));for(var a=0;a<n.length;a+=1)BO(e,n[a],t[n[a]],r[n[a]])};hv.supportsDescriptors=!!mv;var Br=hv,vv={exports:{}};(function(e){var t=Yc,r=pt,n=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),o=r("%Reflect.apply%",!0)||t.call(a,n),i=r("%Object.getOwnPropertyDescriptor%",!0),s=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}e.exports=function(d){var m=o(t,a,arguments);if(i&&s){var f=i(m,"length");f.configurable&&s(m,"length",{value:1+l(0,d.length-(arguments.length-1))})}return m};var u=function(){return o(t,n,arguments)};s?s(e.exports,"apply",{value:u}):e.exports.apply=u})(vv);var dn=vv.exports,yv=pt,bv=dn,jO=bv(yv("String.prototype.indexOf")),at=function(t,r){var n=yv(t,!!r);return typeof n=="function"&&jO(t,".prototype.")>-1?bv(n):n},DO=zc,gv=Kl(),_v=at,Nd=Object,LO=_v("Array.prototype.push"),qd=_v("Object.prototype.propertyIsEnumerable"),FO=gv?Object.getOwnPropertySymbols:null,Ev=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=Nd(t);if(arguments.length===1)return n;for(var a=1;a<arguments.length;++a){var o=Nd(arguments[a]),i=DO(o),s=gv&&(Object.getOwnPropertySymbols||FO);if(s)for(var l=s(o),u=0;u<l.length;++u){var c=l[u];qd(o,c)&&LO(i,c)}for(var d=0;d<i.length;++d){var m=i[d];if(qd(o,m)){var f=o[m];n[m]=f}}}return n},Gs=Ev,HO=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var a=Object.assign({},r),o="";for(var i in a)o+=i;return e!==o},UO=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1},wv=function(){return!Object.assign||HO()||UO()?Gs:Object.assign},GO=Br,WO=wv,VO=function(){var t=WO();return GO(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},zO=Br,XO=dn,YO=Ev,xv=wv,KO=VO,ZO=XO.apply(xv()),Cv=function(t,r){return ZO(Object,arguments)};zO(Cv,{getPolyfill:xv,implementation:YO,shim:KO});var JO=Cv,Bn=function(){return typeof(function(){}).name=="string"},An=Object.getOwnPropertyDescriptor;if(An)try{An([],"length")}catch{An=null}Bn.functionsHaveConfigurableNames=function(){if(!Bn()||!An)return!1;var t=An(function(){},"name");return!!t&&!!t.configurable};var QO=Function.prototype.bind;Bn.boundFunctionsHaveNames=function(){return Bn()&&typeof QO=="function"&&(function(){}).bind().name!==""};var eI=Bn,Bd=pv,tI=Kc(),rI=eI.functionsHaveConfigurableNames(),nI=TypeError,aI=function(t,r){if(typeof t!="function")throw new nI("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||rI)&&(tI?Bd(t,"name",r,!0,!0):Bd(t,"name",r)),t},oI=aI,iI=Object,lI=TypeError,Tv=oI(function(){if(this!=null&&this!==iI(this))throw new lI("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),sI=Tv,uI=Br.supportsDescriptors,cI=Object.getOwnPropertyDescriptor,Rv=function(){if(uI&&/a/mig.flags==="gim"){var t=cI(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return t.get}}return sI},fI=Br.supportsDescriptors,dI=Rv,pI=Object.getOwnPropertyDescriptor,mI=Object.defineProperty,hI=TypeError,jd=Object.getPrototypeOf,vI=/a/,yI=function(){if(!fI||!jd)throw new hI("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=dI(),r=jd(vI),n=pI(r,"flags");return(!n||n.get!==t)&&mI(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},bI=Br,gI=dn,_I=Tv,Sv=Rv,EI=yI,Pv=gI(Sv());bI(Pv,{getPolyfill:Sv,implementation:_I,shim:EI});var wI=Pv,Pa={exports:{}},xI=Kl,jr=function(){return xI()&&!!Symbol.toStringTag},CI=jr(),TI=at,Zu=TI("Object.prototype.toString"),Zl=function(t){return CI&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Zu(t)==="[object Arguments]"},Av=function(t){return Zl(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Zu(t)!=="[object Array]"&&Zu(t.callee)==="[object Function]"},RI=function(){return Zl(arguments)}();Zl.isLegacyArguments=Av;var Ov=RI?Zl:Av;const SI={},PI=Object.freeze(Object.defineProperty({__proto__:null,default:SI},Symbol.toStringTag,{value:"Module"})),AI=Fb(PI);var Jc=typeof Map=="function"&&Map.prototype,Ws=Object.getOwnPropertyDescriptor&&Jc?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ua=Jc&&Ws&&typeof Ws.get=="function"?Ws.get:null,Dd=Jc&&Map.prototype.forEach,Qc=typeof Set=="function"&&Set.prototype,Vs=Object.getOwnPropertyDescriptor&&Qc?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ga=Qc&&Vs&&typeof Vs.get=="function"?Vs.get:null,Ld=Qc&&Set.prototype.forEach,OI=typeof WeakMap=="function"&&WeakMap.prototype,On=OI?WeakMap.prototype.has:null,II=typeof WeakSet=="function"&&WeakSet.prototype,In=II?WeakSet.prototype.has:null,MI=typeof WeakRef=="function"&&WeakRef.prototype,Fd=MI?WeakRef.prototype.deref:null,$I=Boolean.prototype.valueOf,kI=Object.prototype.toString,NI=Function.prototype.toString,qI=String.prototype.match,ef=String.prototype.slice,nr=String.prototype.replace,BI=String.prototype.toUpperCase,Hd=String.prototype.toLowerCase,Iv=RegExp.prototype.test,Ud=Array.prototype.concat,Et=Array.prototype.join,jI=Array.prototype.slice,Gd=Math.floor,Ju=typeof BigInt=="function"?BigInt.prototype.valueOf:null,zs=Object.getOwnPropertySymbols,Qu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,sn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ke=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===sn||"symbol")?Symbol.toStringTag:null,Mv=Object.prototype.propertyIsEnumerable,Wd=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Vd(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Iv.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-Gd(-e):Gd(e);if(n!==e){var a=String(n),o=ef.call(t,a.length+1);return nr.call(a,r,"$&_")+"."+nr.call(nr.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return nr.call(t,r,"$&_")}var ec=AI,zd=ec.custom,Xd=kv(zd)?zd:null,DI=function e(t,r,n,a){var o=r||{};if(er(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(er(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=er(o,"customInspect")?o.customInspect:!0;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(er(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(er(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return qv(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return s?Vd(t,l):l}if(typeof t=="bigint"){var u=String(t)+"n";return s?Vd(t,u):u}var c=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof t=="object")return tc(t)?"[Array]":"[Object]";var d=nM(o,n);if(typeof a>"u")a=[];else if(Nv(a,t)>=0)return"[Circular]";function m(B,G,_e){if(G&&(a=jI.call(a),a.push(G)),_e){var pe={depth:o.depth};return er(o,"quoteStyle")&&(pe.quoteStyle=o.quoteStyle),e(B,pe,n+1,a)}return e(B,o,n+1,a)}if(typeof t=="function"&&!Yd(t)){var f=XI(t),y=ha(t,m);return"[Function"+(f?": "+f:" (anonymous)")+"]"+(y.length>0?" { "+Et.call(y,", ")+" }":"")}if(kv(t)){var v=sn?nr.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Qu.call(t);return typeof t=="object"&&!sn?Cn(v):v}if(eM(t)){for(var R="<"+Hd.call(String(t.nodeName)),h=t.attributes||[],E=0;E<h.length;E++)R+=" "+h[E].name+"="+$v(LI(h[E].value),"double",o);return R+=">",t.childNodes&&t.childNodes.length&&(R+="..."),R+="</"+Hd.call(String(t.nodeName))+">",R}if(tc(t)){if(t.length===0)return"[]";var C=ha(t,m);return d&&!rM(C)?"["+rc(C,d)+"]":"[ "+Et.call(C,", ")+" ]"}if(HI(t)){var S=ha(t,m);return!("cause"in Error.prototype)&&"cause"in t&&!Mv.call(t,"cause")?"{ ["+String(t)+"] "+Et.call(Ud.call("[cause]: "+m(t.cause),S),", ")+" }":S.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Et.call(S,", ")+" }"}if(typeof t=="object"&&i){if(Xd&&typeof t[Xd]=="function"&&ec)return ec(t,{depth:c-n});if(i!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(YI(t)){var x=[];return Dd&&Dd.call(t,function(B,G){x.push(m(G,t,!0)+" => "+m(B,t))}),Kd("Map",Ua.call(t),x,d)}if(JI(t)){var w=[];return Ld&&Ld.call(t,function(B){w.push(m(B,t))}),Kd("Set",Ga.call(t),w,d)}if(KI(t))return Xs("WeakMap");if(QI(t))return Xs("WeakSet");if(ZI(t))return Xs("WeakRef");if(GI(t))return Cn(m(Number(t)));if(VI(t))return Cn(m(Ju.call(t)));if(WI(t))return Cn($I.call(t));if(UI(t))return Cn(m(String(t)));if(!FI(t)&&!Yd(t)){var P=ha(t,m),A=Wd?Wd(t)===Object.prototype:t instanceof Object||t.constructor===Object,H=t instanceof Object?"":"null prototype",z=!A&&ke&&Object(t)===t&&ke in t?ef.call(mr(t),8,-1):H?"Object":"",ne=A||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",ie=ne+(z||H?"["+Et.call(Ud.call([],z||[],H||[]),": ")+"] ":"");return P.length===0?ie+"{}":d?ie+"{"+rc(P,d)+"}":ie+"{ "+Et.call(P,", ")+" }"}return String(t)};function $v(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function LI(e){return nr.call(String(e),/"/g,""")}function tc(e){return mr(e)==="[object Array]"&&(!ke||!(typeof e=="object"&&ke in e))}function FI(e){return mr(e)==="[object Date]"&&(!ke||!(typeof e=="object"&&ke in e))}function Yd(e){return mr(e)==="[object RegExp]"&&(!ke||!(typeof e=="object"&&ke in e))}function HI(e){return mr(e)==="[object Error]"&&(!ke||!(typeof e=="object"&&ke in e))}function UI(e){return mr(e)==="[object String]"&&(!ke||!(typeof e=="object"&&ke in e))}function GI(e){return mr(e)==="[object Number]"&&(!ke||!(typeof e=="object"&&ke in e))}function WI(e){return mr(e)==="[object Boolean]"&&(!ke||!(typeof e=="object"&&ke in e))}function kv(e){if(sn)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Qu)return!1;try{return Qu.call(e),!0}catch{}return!1}function VI(e){if(!e||typeof e!="object"||!Ju)return!1;try{return Ju.call(e),!0}catch{}return!1}var zI=Object.prototype.hasOwnProperty||function(e){return e in this};function er(e,t){return zI.call(e,t)}function mr(e){return kI.call(e)}function XI(e){if(e.name)return e.name;var t=qI.call(NI.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Nv(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function YI(e){if(!Ua||!e||typeof e!="object")return!1;try{Ua.call(e);try{Ga.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function KI(e){if(!On||!e||typeof e!="object")return!1;try{On.call(e,On);try{In.call(e,In)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function ZI(e){if(!Fd||!e||typeof e!="object")return!1;try{return Fd.call(e),!0}catch{}return!1}function JI(e){if(!Ga||!e||typeof e!="object")return!1;try{Ga.call(e);try{Ua.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function QI(e){if(!In||!e||typeof e!="object")return!1;try{In.call(e,In);try{On.call(e,On)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function eM(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function qv(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return qv(ef.call(e,0,t.maxStringLength),t)+n}var a=nr.call(nr.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,tM);return $v(a,"single",t)}function tM(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+BI.call(t.toString(16))}function Cn(e){return"Object("+e+")"}function Xs(e){return e+" { ? }"}function Kd(e,t,r,n){var a=n?rc(r,n):Et.call(r,", ");return e+" ("+t+") {"+a+"}"}function rM(e){for(var t=0;t<e.length;t++)if(Nv(e[t],`
|
|
91
|
-
`)>=0)return!1;return!0}function
|
|
92
|
-
`+t.prev+t.base;return r+
|
|
93
|
-
`+t.prev}function ha(e,t){var r=tc(e),n=[];if(r){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=er(e,a)?t(e[a],e):""}var o=typeof zs=="function"?zs(e):[],i;if(sn){i={};for(var s=0;s<o.length;s++)i["$"+o[s]]=o[s]}for(var l in e)er(e,l)&&(r&&String(Number(l))===l&&l<e.length||sn&&i["$"+l]instanceof Symbol||(Iv.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if(typeof zs=="function")for(var u=0;u<o.length;u++)Mv.call(e,o[u])&&n.push("["+t(o[u])+"]: "+t(e[o[u]],e));return n}var tf=pt,pn=at,aM=DI,oM=tf("%TypeError%"),va=tf("%WeakMap%",!0),ya=tf("%Map%",!0),iM=pn("WeakMap.prototype.get",!0),lM=pn("WeakMap.prototype.set",!0),sM=pn("WeakMap.prototype.has",!0),uM=pn("Map.prototype.get",!0),cM=pn("Map.prototype.set",!0),fM=pn("Map.prototype.has",!0),rf=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},dM=function(e,t){var r=rf(e,t);return r&&r.value},pM=function(e,t,r){var n=rf(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},mM=function(e,t){return!!rf(e,t)},Bv=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new oM("Side channel does not contain "+aM(o))},get:function(o){if(va&&o&&(typeof o=="object"||typeof o=="function")){if(t)return iM(t,o)}else if(ya){if(r)return uM(r,o)}else if(n)return dM(n,o)},has:function(o){if(va&&o&&(typeof o=="object"||typeof o=="function")){if(t)return sM(t,o)}else if(ya){if(r)return fM(r,o)}else if(n)return mM(n,o);return!1},set:function(o,i){va&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new va),lM(t,o,i)):ya?(r||(r=new ya),cM(r,o,i)):(n||(n={key:{},next:null}),pM(n,o,i))}};return a},hM=pt,vM=cv,Tn=Bv(),Bt=hM("%TypeError%"),nf={assert:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Bt("`O` is not an object");if(typeof t!="string")throw new Bt("`slot` must be a string");if(Tn.assert(e),!nf.has(e,t))throw new Bt("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Bt("`O` is not an object");if(typeof t!="string")throw new Bt("`slot` must be a string");var r=Tn.get(e);return r&&r["$"+t]},has:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Bt("`O` is not an object");if(typeof t!="string")throw new Bt("`slot` must be a string");var r=Tn.get(e);return!!r&&vM(r,"$"+t)},set:function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new Bt("`O` is not an object");if(typeof t!="string")throw new Bt("`slot` must be a string");var n=Tn.get(e);n||(n={},Tn.set(e,n)),n["$"+t]=r}};Object.freeze&&Object.freeze(nf);var yM=nf,Rn=yM,bM=SyntaxError,Zd=typeof StopIteration=="object"?StopIteration:null,gM=function(t){if(!Zd)throw new bM("this environment lacks StopIteration");Rn.set(t,"[[Done]]",!1);var r={next:function(){var a=Rn.get(this,"[[Iterator]]"),o=Rn.get(a,"[[Done]]");try{return{done:o,value:o?void 0:a.next()}}catch(i){if(Rn.set(a,"[[Done]]",!0),i!==Zd)throw i;return{done:!0,value:void 0}}}};return Rn.set(r,"[[Iterator]]",t),r},_M={}.toString,jv=Array.isArray||function(e){return _M.call(e)=="[object Array]"},EM=String.prototype.valueOf,wM=function(t){try{return EM.call(t),!0}catch{return!1}},xM=Object.prototype.toString,CM="[object String]",TM=jr(),Dv=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:TM?wM(t):xM.call(t)===CM},af=typeof Map=="function"&&Map.prototype?Map:null,RM=typeof Set=="function"&&Set.prototype?Set:null,Wa;af||(Wa=function(t){return!1});var Lv=af?Map.prototype.has:null,Jd=RM?Set.prototype.has:null;!Wa&&!Lv&&(Wa=function(t){return!1});var Fv=Wa||function(t){if(!t||typeof t!="object")return!1;try{if(Lv.call(t),Jd)try{Jd.call(t)}catch{return!0}return t instanceof af}catch{}return!1},SM=typeof Map=="function"&&Map.prototype?Map:null,of=typeof Set=="function"&&Set.prototype?Set:null,Va;of||(Va=function(t){return!1});var Qd=SM?Map.prototype.has:null,Hv=of?Set.prototype.has:null;!Va&&!Hv&&(Va=function(t){return!1});var Uv=Va||function(t){if(!t||typeof t!="object")return!1;try{if(Hv.call(t),Qd)try{Qd.call(t)}catch{return!0}return t instanceof of}catch{}return!1},ep=Ov,tp=gM;if(Xc()||Kl()){var Ys=Symbol.iterator;Pa.exports=function(t){if(t!=null&&typeof t[Ys]<"u")return t[Ys]();if(ep(t))return Array.prototype[Ys].call(t)}}else{var PM=jv,AM=Dv,rp=pt,OM=rp("%Map%",!0),IM=rp("%Set%",!0),lt=at,np=lt("Array.prototype.push"),ap=lt("String.prototype.charCodeAt"),MM=lt("String.prototype.slice"),$M=function(t,r){var n=t.length;if(r+1>=n)return r+1;var a=ap(t,r);if(a<55296||a>56319)return r+1;var o=ap(t,r+1);return o<56320||o>57343?r+1:r+2},Ks=function(t){var r=0;return{next:function(){var a=r>=t.length,o;return a||(o=t[r],r+=1),{done:a,value:o}}}},op=function(t,r){if(PM(t)||ep(t))return Ks(t);if(AM(t)){var n=0;return{next:function(){var o=$M(t,n),i=MM(t,n,o);return n=o,{done:o>t.length,value:i}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!OM&&!IM)Pa.exports=function(t){if(t!=null)return op(t,!0)};else{var kM=Fv,NM=Uv,ip=lt("Map.prototype.forEach",!0),lp=lt("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var sp=lt("Map.prototype.iterator",!0),up=lt("Set.prototype.iterator",!0);var cp=lt("Map.prototype.@@iterator",!0)||lt("Map.prototype._es6-shim iterator_",!0),fp=lt("Set.prototype.@@iterator",!0)||lt("Set.prototype._es6-shim iterator_",!0),qM=function(t){if(kM(t)){if(sp)return tp(sp(t));if(cp)return cp(t);if(ip){var r=[];return ip(t,function(a,o){np(r,[o,a])}),Ks(r)}}if(NM(t)){if(up)return tp(up(t));if(fp)return fp(t);if(lp){var n=[];return lp(t,function(a){np(n,a)}),Ks(n)}}};Pa.exports=function(t){return qM(t)||op(t)}}}var BM=Pa.exports,dp=function(e){return e!==e},Gv=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||dp(t)&&dp(r))},jM=Gv,Wv=function(){return typeof Object.is=="function"?Object.is:jM},DM=Wv,LM=Br,FM=function(){var t=DM();return LM(Object,{is:t},{is:function(){return Object.is!==t}}),t},HM=Br,UM=dn,GM=Gv,Vv=Wv,WM=FM,zv=UM(Vv(),Object);HM(zv,{getPolyfill:Vv,implementation:GM,shim:WM});var VM=zv,Xv=Function.prototype.toString,Qr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,nc,Aa;if(typeof Qr=="function"&&typeof Object.defineProperty=="function")try{nc=Object.defineProperty({},"length",{get:function(){throw Aa}}),Aa={},Qr(function(){throw 42},null,nc)}catch(e){e!==Aa&&(Qr=null)}else Qr=null;var zM=/^\s*class\b/,ac=function(t){try{var r=Xv.call(t);return zM.test(r)}catch{return!1}},Zs=function(t){try{return ac(t)?!1:(Xv.call(t),!0)}catch{return!1}},Oa=Object.prototype.toString,XM="[object Object]",YM="[object Function]",KM="[object GeneratorFunction]",ZM="[object HTMLAllCollection]",JM="[object HTML document.all class]",QM="[object HTMLCollection]",e$=typeof Symbol=="function"&&!!Symbol.toStringTag,t$=!(0 in[,]),oc=function(){return!1};if(typeof document=="object"){var r$=document.all;Oa.call(r$)===Oa.call(document.all)&&(oc=function(t){if((t$||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Oa.call(t);return(r===ZM||r===JM||r===QM||r===XM)&&t("")==null}catch{}return!1})}var n$=Qr?function(t){if(oc(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{Qr(t,null,nc)}catch(r){if(r!==Aa)return!1}return!ac(t)&&Zs(t)}:function(t){if(oc(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(e$)return Zs(t);if(ac(t))return!1;var r=Oa.call(t);return r!==YM&&r!==KM&&!/^\[object HTML/.test(r)?!1:Zs(t)},a$=n$,o$=Object.prototype.toString,Yv=Object.prototype.hasOwnProperty,i$=function(t,r,n){for(var a=0,o=t.length;a<o;a++)Yv.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},l$=function(t,r,n){for(var a=0,o=t.length;a<o;a++)n==null?r(t.charAt(a),a,t):r.call(n,t.charAt(a),a,t)},s$=function(t,r,n){for(var a in t)Yv.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},u$=function(t,r,n){if(!a$(r))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),o$.call(t)==="[object Array]"?i$(t,r,a):typeof t=="string"?l$(t,r,a):s$(t,r,a)},c$=u$,Js=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],f$=typeof globalThis>"u"?Ve:globalThis,d$=function(){for(var t=[],r=0;r<Js.length;r++)typeof f$[Js[r]]=="function"&&(t[t.length]=Js[r]);return t},za=c$,p$=d$,pp=dn,lf=at,Ia=dv,m$=lf("Object.prototype.toString"),Kv=jr(),mp=typeof globalThis>"u"?Ve:globalThis,ic=p$(),sf=lf("String.prototype.slice"),Qs=Object.getPrototypeOf,h$=lf("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},Xa={__proto__:null};Kv&&Ia&&Qs?za(ic,function(e){var t=new mp[e];if(Symbol.toStringTag in t){var r=Qs(t),n=Ia(r,Symbol.toStringTag);if(!n){var a=Qs(r);n=Ia(a,Symbol.toStringTag)}Xa["$"+e]=pp(n.get)}}):za(ic,function(e){var t=new mp[e];Xa["$"+e]=pp(t.slice)});var v$=function(t){var r=!1;return za(Xa,function(n,a){if(!r)try{"$"+n(t)===a&&(r=sf(a,1))}catch{}}),r},y$=function(t){var r=!1;return za(Xa,function(n,a){if(!r)try{n(t),r=sf(a,1)}catch{}}),r},Zv=function(t){if(!t||typeof t!="object")return!1;if(!Kv){var r=sf(m$(t),8,-1);return h$(ic,r)>-1?r:r!=="Object"?!1:y$(t)}return Ia?v$(t):null},b$=Zv,g$=function(t){return!!b$(t)},_$=dn,E$=at,Jv=pt,w$=g$,hp=Jv("ArrayBuffer",!0),vp=Jv("Float32Array",!0),Ma=E$("ArrayBuffer.prototype.byteLength",!0),yp=hp&&!Ma&&new hp().slice,bp=yp&&_$(yp),Qv=Ma||bp?function(t){if(!t||typeof t!="object")return!1;try{return Ma?Ma(t):bp(t,0),!0}catch{return!1}}:vp?function(t){try{return new vp(t).buffer===t&&!w$(t)}catch(r){return typeof t=="object"&&r.name==="RangeError"}}:function(t){return!1},x$=Date.prototype.getDay,C$=function(t){try{return x$.call(t),!0}catch{return!1}},T$=Object.prototype.toString,R$="[object Date]",S$=jr(),P$=function(t){return typeof t!="object"||t===null?!1:S$?C$(t):T$.call(t)===R$},lc=at,ey=jr(),ty,ry,sc,uc;if(ey){ty=lc("Object.prototype.hasOwnProperty"),ry=lc("RegExp.prototype.exec"),sc={};var eu=function(){throw sc};uc={toString:eu,valueOf:eu},typeof Symbol.toPrimitive=="symbol"&&(uc[Symbol.toPrimitive]=eu)}var A$=lc("Object.prototype.toString"),O$=Object.getOwnPropertyDescriptor,I$="[object RegExp]",M$=ey?function(t){if(!t||typeof t!="object")return!1;var r=O$(t,"lastIndex"),n=r&&ty(r,"value");if(!n)return!1;try{ry(t,uc)}catch(a){return a===sc}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:A$(t)===I$},$$=at,gp=$$("SharedArrayBuffer.prototype.byteLength",!0),k$=gp?function(t){if(!t||typeof t!="object")return!1;try{return gp(t),!0}catch{return!1}}:function(t){return!1},N$=Number.prototype.toString,q$=function(t){try{return N$.call(t),!0}catch{return!1}},B$=Object.prototype.toString,j$="[object Number]",D$=jr(),L$=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:D$?q$(t):B$.call(t)===j$},ny=at,F$=ny("Boolean.prototype.toString"),H$=ny("Object.prototype.toString"),U$=function(t){try{return F$(t),!0}catch{return!1}},G$="[object Boolean]",W$=jr(),V$=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:W$&&Symbol.toStringTag in t?U$(t):H$(t)===G$},cc={exports:{}},z$=Object.prototype.toString,X$=Xc();if(X$){var Y$=Symbol.prototype.toString,K$=/^Symbol\(.*\)$/,Z$=function(t){return typeof t.valueOf()!="symbol"?!1:K$.test(Y$.call(t))};cc.exports=function(t){if(typeof t=="symbol")return!0;if(z$.call(t)!=="[object Symbol]")return!1;try{return Z$(t)}catch{return!1}}}else cc.exports=function(t){return!1};var J$=cc.exports,fc={exports:{}},_p=typeof BigInt<"u"&&BigInt,Q$=function(){return typeof _p=="function"&&typeof BigInt=="function"&&typeof _p(42)=="bigint"&&typeof BigInt(42)=="bigint"},ek=Q$();if(ek){var tk=BigInt.prototype.valueOf,rk=function(t){try{return tk.call(t),!0}catch{}return!1};fc.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:rk(t)}}else fc.exports=function(t){return!1};var nk=fc.exports,ak=Dv,ok=L$,ik=V$,lk=J$,sk=nk,uk=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(ak(t))return"String";if(ok(t))return"Number";if(ik(t))return"Boolean";if(lk(t))return"Symbol";if(sk(t))return"BigInt"},Ya=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,Ep=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Ka;Ya||(Ka=function(t){return!1});var dc=Ya?Ya.prototype.has:null,tu=Ep?Ep.prototype.has:null;!Ka&&!dc&&(Ka=function(t){return!1});var ck=Ka||function(t){if(!t||typeof t!="object")return!1;try{if(dc.call(t,dc),tu)try{tu.call(t,tu)}catch{return!0}return t instanceof Ya}catch{}return!1},pc={exports:{}},fk=pt,ay=at,dk=fk("%WeakSet%",!0),ru=ay("WeakSet.prototype.has",!0);if(ru){var nu=ay("WeakMap.prototype.has",!0);pc.exports=function(t){if(!t||typeof t!="object")return!1;try{if(ru(t,ru),nu)try{nu(t,nu)}catch{return!0}return t instanceof dk}catch{}return!1}}else pc.exports=function(t){return!1};var pk=pc.exports,mk=Fv,hk=Uv,vk=ck,yk=pk,bk=function(t){if(t&&typeof t=="object"){if(mk(t))return"Map";if(hk(t))return"Set";if(vk(t))return"WeakMap";if(yk(t))return"WeakSet"}return!1},gk=at,wp=gk("ArrayBuffer.prototype.byteLength",!0),_k=Qv,Ek=function(t){return _k(t)?wp?wp(t):t.byteLength:NaN},oy=JO,xt=at,xp=wI,wk=pt,un=BM,xk=Bv,Cp=VM,Tp=Ov,Rp=jv,Sp=Qv,Pp=P$,Ap=M$,Op=k$,Ip=zc,Mp=uk,$p=bk,kp=Zv,Np=Ek,qp=xt("SharedArrayBuffer.prototype.byteLength",!0),Bp=xt("Date.prototype.getTime"),au=Object.getPrototypeOf,jp=xt("Object.prototype.toString"),Za=wk("%Set%",!0),mc=xt("Map.prototype.has",!0),Ja=xt("Map.prototype.get",!0),Dp=xt("Map.prototype.size",!0),Qa=xt("Set.prototype.add",!0),iy=xt("Set.prototype.delete",!0),eo=xt("Set.prototype.has",!0),$a=xt("Set.prototype.size",!0);function Lp(e,t,r,n){for(var a=un(e),o;(o=a.next())&&!o.done;)if(dt(t,o.value,r,n))return iy(e,o.value),!0;return!1}function ly(e){if(typeof e>"u")return null;if(typeof e!="object")return typeof e=="symbol"?!1:typeof e=="string"||typeof e=="number"?+e==+e:!0}function Ck(e,t,r,n,a,o){var i=ly(r);if(i!=null)return i;var s=Ja(t,i),l=oy({},a,{strict:!1});return typeof s>"u"&&!mc(t,i)||!dt(n,s,l,o)?!1:!mc(e,i)&&dt(n,s,l,o)}function Tk(e,t,r){var n=ly(r);return n??(eo(t,n)&&!eo(e,n))}function Fp(e,t,r,n,a,o){for(var i=un(e),s,l;(s=i.next())&&!s.done;)if(l=s.value,dt(r,l,a,o)&&dt(n,Ja(t,l),a,o))return iy(e,l),!0;return!1}function dt(e,t,r,n){var a=r||{};if(a.strict?Cp(e,t):e===t)return!0;var o=Mp(e),i=Mp(t);if(o!==i)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return a.strict?Cp(e,t):e==t;var s=n.has(e),l=n.has(t),u;if(s&&l){if(n.get(e)===n.get(t))return!0}else u={};return s||n.set(e,u),l||n.set(t,u),Pk(e,t,a,n)}function Hp(e){return!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Rk(e,t,r,n){if($a(e)!==$a(t))return!1;for(var a=un(e),o=un(t),i,s,l;(i=a.next())&&!i.done;)if(i.value&&typeof i.value=="object")l||(l=new Za),Qa(l,i.value);else if(!eo(t,i.value)){if(r.strict||!Tk(e,t,i.value))return!1;l||(l=new Za),Qa(l,i.value)}if(l){for(;(s=o.next())&&!s.done;)if(s.value&&typeof s.value=="object"){if(!Lp(l,s.value,r.strict,n))return!1}else if(!r.strict&&!eo(e,s.value)&&!Lp(l,s.value,r.strict,n))return!1;return $a(l)===0}return!0}function Sk(e,t,r,n){if(Dp(e)!==Dp(t))return!1;for(var a=un(e),o=un(t),i,s,l,u,c,d;(i=a.next())&&!i.done;)if(u=i.value[0],c=i.value[1],u&&typeof u=="object")l||(l=new Za),Qa(l,u);else if(d=Ja(t,u),typeof d>"u"&&!mc(t,u)||!dt(c,d,r,n)){if(r.strict||!Ck(e,t,u,c,r,n))return!1;l||(l=new Za),Qa(l,u)}if(l){for(;(s=o.next())&&!s.done;)if(u=s.value[0],d=s.value[1],u&&typeof u=="object"){if(!Fp(l,e,u,d,r,n))return!1}else if(!r.strict&&(!e.has(u)||!dt(Ja(e,u),d,r,n))&&!Fp(l,e,u,d,oy({},r,{strict:!1}),n))return!1;return $a(l)===0}return!0}function Pk(e,t,r,n){var a,o;if(typeof e!=typeof t||e==null||t==null||jp(e)!==jp(t)||Tp(e)!==Tp(t))return!1;var i=Rp(e),s=Rp(t);if(i!==s)return!1;var l=e instanceof Error,u=t instanceof Error;if(l!==u||(l||u)&&(e.name!==t.name||e.message!==t.message))return!1;var c=Ap(e),d=Ap(t);if(c!==d||(c||d)&&(e.source!==t.source||xp(e)!==xp(t)))return!1;var m=Pp(e),f=Pp(t);if(m!==f||(m||f)&&Bp(e)!==Bp(t)||r.strict&&au&&au(e)!==au(t))return!1;var y=kp(e),v=kp(t);if(y!==v)return!1;if(y||v){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var R=Hp(e),h=Hp(t);if(R!==h)return!1;if(R||h){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var E=Sp(e),C=Sp(t);if(E!==C)return!1;if(E||C)return Np(e)!==Np(t)?!1:typeof Uint8Array=="function"&&dt(new Uint8Array(e),new Uint8Array(t),r,n);var S=Op(e),x=Op(t);if(S!==x)return!1;if(S||x)return qp(e)!==qp(t)?!1:typeof Uint8Array=="function"&&dt(new Uint8Array(e),new Uint8Array(t),r,n);if(typeof e!=typeof t)return!1;var w=Ip(e),P=Ip(t);if(w.length!==P.length)return!1;for(w.sort(),P.sort(),a=w.length-1;a>=0;a--)if(w[a]!=P[a])return!1;for(a=w.length-1;a>=0;a--)if(o=w[a],!dt(e[o],t[o],r,n))return!1;var A=$p(e),H=$p(t);return A!==H?!1:A==="Set"||H==="Set"?Rk(e,t,r,n):A==="Map"?Sk(e,t,r,n):!0}var Ak=function(t,r,n){return dt(t,r,n,xk())};Object.defineProperty(Yl,"__esModule",{value:!0});Yl.default=void 0;var Ok=uf(Ak),Ik=uf(qr),sy=uf(fn);function uf(e){return e&&e.__esModule?e:{default:e}}function ou(e,t){return kk(e)||$k(e,t)||uy(e,t)||Mk()}function Mk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
94
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
95
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){i=!0,s=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function
|
|
96
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
97
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){i=!0,s=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function
|
|
98
|
-
`)!==-1&&(
|
|
84
|
+
`}};function sx(e){return new Array(e+1).join(" ")}function ev(e,t){if(t&&(ox(t),t.plugins)){const n=Yh(t.plugins,e);if(n!==null)return Xh(n,e,yf(t),"",0,[])}const r=Vh(e,Zh(t),Jh(t),Qh(t));return r!==null?r:zh(e,yf(t),"",0,[])}const ux={AsymmetricMatcher:U0.default,ConvertAnsi:G0.default,DOMCollection:W0.default,DOMElement:V0.default,Immutable:z0.default,ReactElement:X0.default,ReactTestComponent:Y0.default};Uh=dr.plugins=ux;var cx=ev;dr.default=cx;var dx=Object.prototype.toString;function bf(e){return typeof e=="function"||dx.call(e)==="[object Function]"}function fx(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var px=Math.pow(2,53)-1;function mx(e){var t=fx(e);return Math.min(Math.max(t,0),px)}function ct(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!bf(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=mx(n.length),o=bf(r)?Object(new r(a)):new Array(a),i=0,s;i<a;)s=n[i],t?o[i]=t(s,i):o[i]=s,i+=1;return o.length=a,o}function Nn(e){"@babel/helpers - typeof";return Nn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nn(e)}function hx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,tv(n.key),n)}}function vx(e,t,r){return t&&gf(e.prototype,t),r&&gf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function yx(e,t,r){return t=tv(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tv(e){var t=bx(e,"string");return Nn(t)==="symbol"?t:String(t)}function bx(e,t){if(Nn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Nn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var gx=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];hx(this,e),yx(this,"items",void 0),this.items=t}return vx(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(a){return a!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(a){r(a,a,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}();const Ex=typeof Set>"u"?Set:gx;function ke(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var _x={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"},xx={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 wx(e,t){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(r){var n;return e.hasAttribute(r)&&!((n=xx[t])!==null&&n!==void 0&&n.has(r))})}function rv(e,t){return wx(e,t)}function Cx(e){var t=Sx(e);if(t===null||t==="presentation"){var r=Tx(e);if(t!=="presentation"||rv(e,r||""))return r}return t}function Tx(e){var t=_x[ke(e)];if(t!==void 0)return t;switch(ke(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!rv(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;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 Sx(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function ge(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function nv(e){return ge(e)&&ke(e)==="caption"}function Ta(e){return ge(e)&&ke(e)==="input"}function Rx(e){return ge(e)&&ke(e)==="optgroup"}function Px(e){return ge(e)&&ke(e)==="select"}function Ax(e){return ge(e)&&ke(e)==="table"}function Ox(e){return ge(e)&&ke(e)==="textarea"}function Mx(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function Ix(e){return ge(e)&&ke(e)==="fieldset"}function $x(e){return ge(e)&&ke(e)==="legend"}function kx(e){return ge(e)&&ke(e)==="slot"}function Nx(e){return ge(e)&&e.ownerSVGElement!==void 0}function qx(e){return ge(e)&&ke(e)==="svg"}function Bx(e){return Nx(e)&&ke(e)==="title"}function La(e,t){if(ge(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Ft(e,t){return ge(e)?t.indexOf(Cx(e))!==-1:!1}function jx(e){return e.trim().replace(/\s\s+/g," ")}function Dx(e,t){if(!ge(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function Lx(e){return Ft(e,["button","combobox","listbox","textbox"])||av(e,"range")}function av(e,t){if(!ge(e))return!1;switch(t){case"range":return Ft(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Ef(e,t){var r=ct(e.querySelectorAll(t));return La(e,"aria-owns").forEach(function(n){r.push.apply(r,ct(n.querySelectorAll(t)))}),r}function Fx(e){return Px(e)?e.selectedOptions||Ef(e,"[selected]"):Ef(e,'[aria-selected="true"]')}function Hx(e){return Ft(e,["none","presentation"])}function Ux(e){return nv(e)}function Gx(e){return Ft(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function Wx(e){return!1}function Vx(e){return Ta(e)||Ox(e)?e.value:e.textContent||""}function _f(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function ov(e){var t=ke(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function iv(e){if(ov(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ge(r)){var n=iv(r);n!==null&&(t=n)}}),t}function zx(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):iv(e)}function Xx(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ct(t);if(!ov(e))return null;var r=e.ownerDocument;return ct(r.querySelectorAll("label")).filter(function(n){return zx(n)===e})}function Yx(e){var t=e.assignedNodes();return t.length===0?ct(e.childNodes):t}function lv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Ex,n=Mx(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,f=c===void 0?!1:c;function m(h,_){var C="";if(ge(h)&&s){var R=u(h,"::before"),w=_f(R);C="".concat(w," ").concat(C)}var x=kx(h)?Yx(h):ct(h.childNodes).concat(La(h,"aria-owns"));if(x.forEach(function(H){var z=S(H,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),ne=ge(H)?u(H).getPropertyValue("display"):"inline",ie=ne!=="inline"?" ":"";C+="".concat(ie).concat(z).concat(ie)}),ge(h)&&s){var P=u(h,"::after"),A=_f(P);C="".concat(C," ").concat(A)}return C.trim()}function d(h,_){var C=h.getAttributeNode(_);return C!==null&&!r.has(C)&&C.value.trim()!==""?(r.add(C),C.value):null}function y(h){return ge(h)?d(h,"title"):null}function v(h){if(!ge(h))return null;if(Ix(h)){r.add(h);for(var _=ct(h.childNodes),C=0;C<_.length;C+=1){var R=_[C];if($x(R))return S(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Ax(h)){r.add(h);for(var w=ct(h.childNodes),x=0;x<w.length;x+=1){var P=w[x];if(nv(P))return S(P,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(qx(h)){r.add(h);for(var A=ct(h.childNodes),H=0;H<A.length;H+=1){var z=A[H];if(Bx(z))return z.textContent}return null}else if(ke(h)==="img"||ke(h)==="area"){var ne=d(h,"alt");if(ne!==null)return ne}else if(Rx(h)){var ie=d(h,"label");if(ie!==null)return ie}if(Ta(h)&&(h.type==="button"||h.type==="submit"||h.type==="reset")){var B=d(h,"value");if(B!==null)return B;if(h.type==="submit")return"Submit";if(h.type==="reset")return"Reset"}var G=Xx(h);if(G!==null&&G.length!==0)return r.add(h),ct(G).map(function(Te){return S(Te,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Te){return Te.length>0}).join(" ");if(Ta(h)&&h.type==="image"){var Ee=d(h,"alt");if(Ee!==null)return Ee;var pe=d(h,"title");return pe!==null?pe:"Submit Query"}if(Ft(h,["button"])){var ye=m(h,{isEmbeddedInLabel:!1,isReferenced:!1});if(ye!=="")return ye}return null}function S(h,_){if(r.has(h))return"";if(!f&&Dx(h,u)&&!_.isReferenced)return r.add(h),"";var C=ge(h)?h.getAttributeNode("aria-labelledby"):null,R=C!==null&&!r.has(C)?La(h,"aria-labelledby"):[];if(o==="name"&&!_.isReferenced&&R.length>0)return r.add(C),R.map(function(ne){return S(ne,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var w=_.recursion&&Lx(h)&&o==="name";if(!w){var x=(ge(h)&&h.getAttribute("aria-label")||"").trim();if(x!==""&&o==="name")return r.add(h),x;if(!Hx(h)){var P=v(h);if(P!==null)return r.add(h),P}}if(Ft(h,["menu"]))return r.add(h),"";if(w||_.isEmbeddedInLabel||_.isReferenced){if(Ft(h,["combobox","listbox"])){r.add(h);var A=Fx(h);return A.length===0?Ta(h)?h.value:"":ct(A).map(function(ne){return S(ne,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(av(h,"range"))return r.add(h),h.hasAttribute("aria-valuetext")?h.getAttribute("aria-valuetext"):h.hasAttribute("aria-valuenow")?h.getAttribute("aria-valuenow"):h.getAttribute("value")||"";if(Ft(h,["textbox"]))return r.add(h),Vx(h)}if(Gx(h)||ge(h)&&_.isReferenced||Ux(h)||Wx()){var H=m(h,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});if(H!=="")return r.add(h),H}if(h.nodeType===h.TEXT_NODE)return r.add(h),h.textContent||"";if(_.recursion)return r.add(h),m(h,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});var z=y(h);return z!==null?(r.add(h),z):(r.add(h),"")}return jx(S(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function qn(e){"@babel/helpers - typeof";return qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qn(e)}function xf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function wf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xf(Object(r),!0).forEach(function(n){Kx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Kx(e,t,r){return t=Zx(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zx(e){var t=Jx(e,"string");return qn(t)==="symbol"?t:String(t)}function Jx(e,t){if(qn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(qn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function sv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=La(e,"aria-describedby").map(function(a){return lv(a,wf(wf({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Qx(e){return Ft(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Vc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Qx(e)?"":lv(e,t)}var dt={},mo={},qr={},ho={};Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;function ew(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var a=e[t];return t=t+1,{done:!1,value:a}}else return{done:!0}}};return r}var tw=ew;ho.default=tw;Object.defineProperty(qr,"__esModule",{value:!0});qr.default=aw;var rw=nw(ho);function nw(e){return e&&e.__esModule?e:{default:e}}function Wu(e){"@babel/helpers - typeof";return Wu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wu(e)}function aw(e,t){return typeof Symbol=="function"&&Wu(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:rw.default.bind(t)}),e}Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var ow=iw(qr);function iw(e){return e&&e.__esModule?e:{default:e}}function js(e,t){return uw(e)||sw(e,t)||uv(e,t)||lw()}function lw(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
85
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sw(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,i,s;try{for(r=r.call(e);!(a=(i=r.next()).done)&&(n.push(i.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,s=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function uw(e){if(Array.isArray(e))return e}function cw(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=uv(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
86
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){i=!0,s=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function uv(e,t){if(e){if(typeof e=="string")return Cf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cf(e,t)}}function Cf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Xr=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["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-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"}]],Vu={entries:function(){return Xr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=cw(Xr),a;try{for(n.s();!(a=n.n()).done;){var o=js(a.value,2),i=o[0],s=o[1];t.call(r,s,i,Xr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Xr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Vu.get(t)},keys:function(){return Xr.map(function(t){var r=js(t,1),n=r[0];return n})},values:function(){return Xr.map(function(t){var r=js(t,2),n=r[1];return n})}},dw=(0,ow.default)(Vu,Vu.entries());mo.default=dw;var vo={};Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var fw=pw(qr);function pw(e){return e&&e.__esModule?e:{default:e}}function Ds(e,t){return vw(e)||hw(e,t)||cv(e,t)||mw()}function mw(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
87
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hw(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,i,s;try{for(r=r.call(e);!(a=(i=r.next()).done)&&(n.push(i.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,s=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function vw(e){if(Array.isArray(e))return e}function yw(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=cv(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
88
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){i=!0,s=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function cv(e,t){if(e){if(typeof e=="string")return Tf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tf(e,t)}}function Tf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Yr=[["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}]],zu={entries:function(){return Yr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=yw(Yr),a;try{for(n.s();!(a=n.n()).done;){var o=Ds(a.value,2),i=o[0],s=o[1];t.call(r,s,i,Yr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Yr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!zu.get(t)},keys:function(){return Yr.map(function(t){var r=Ds(t,1),n=r[0];return n})},values:function(){return Yr.map(function(t){var r=Ds(t,2),n=r[1];return n})}},bw=(0,fw.default)(zu,zu.entries());vo.default=bw;var dn={},yo={},bo={};Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var gw={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Ew=gw;bo.default=Ew;var go={};Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var _w={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"]]},xw=_w;go.default=xw;var Eo={};Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var ww={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"]]},Cw=ww;Eo.default=Cw;var _o={};Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var Tw={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Sw=Tw;_o.default=Sw;var xo={};Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var Rw={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"]]},Pw=Rw;xo.default=Pw;var wo={};Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var Aw={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:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},Ow=Aw;wo.default=Ow;var Co={};Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var Mw={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"]]},Iw=Mw;Co.default=Iw;var To={};Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var $w={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},kw=$w;To.default=kw;var So={};Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var Nw={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"]]},qw=Nw;So.default=qw;var Ro={};Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Bw={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},jw=Bw;Ro.default=jw;var Po={};Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var Dw={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Lw=Dw;Po.default=Lw;var Ao={};Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Fw={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Hw=Fw;Ao.default=Hw;Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var Uw=nt(bo),Gw=nt(go),Ww=nt(Eo),Vw=nt(_o),zw=nt(xo),Xw=nt(wo),Yw=nt(Co),Kw=nt(To),Zw=nt(So),Jw=nt(Ro),Qw=nt(Po),eC=nt(Ao);function nt(e){return e&&e.__esModule?e:{default:e}}var tC=[["command",Uw.default],["composite",Gw.default],["input",Ww.default],["landmark",Vw.default],["range",zw.default],["roletype",Xw.default],["section",Yw.default],["sectionhead",Kw.default],["select",Zw.default],["structure",Jw.default],["widget",Qw.default],["window",eC.default]],rC=tC;yo.default=rC;var Oo={},Mo={};Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var nC={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"]]},aC=nC;Mo.default=aC;var Io={};Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var oC={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"]]},iC=oC;Io.default=iC;var $o={};Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var lC={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"]]},sC=lC;$o.default=sC;var ko={};Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var uC={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"]]},cC=uC;ko.default=cC;var No={};Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var dC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},fC=dC;No.default=fC;var qo={};Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var pC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},mC=pC;qo.default=mC;var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var hC={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:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{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"]]},vC=hC;Bo.default=vC;var jo={};Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var yC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},bC=yC;jo.default=bC;var Do={};Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var gC={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:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},EC=gC;Do.default=EC;var Lo={};Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var _C={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"]]},xC=_C;Lo.default=xC;var Fo={};Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var wC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},CC=wC;Fo.default=CC;var Ho={};Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var TC={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{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"]]},SC=TC;Ho.default=SC;var Uo={};Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var RC={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"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},PC=RC;Uo.default=PC;var Go={};Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var AC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},OC=AC;Go.default=OC;var Wo={};Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var MC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},IC=MC;Wo.default=IC;var Vo={};Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var $C={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"]]},kC=$C;Vo.default=kC;var zo={};Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var NC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},qC=NC;zo.default=qC;var Xo={};Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var BC={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},jC=BC;Xo.default=jC;var Yo={};Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var DC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},LC=DC;Yo.default=LC;var Ko={};Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var FC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},HC=FC;Ko.default=HC;var Zo={};Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var UC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},GC=UC;Zo.default=GC;var Jo={};Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var WC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},VC=WC;Jo.default=VC;var Qo={};Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var zC={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"]]},XC=zC;Qo.default=XC;var ei={};Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var YC={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"]]},KC=YC;ei.default=KC;var ti={};Object.defineProperty(ti,"__esModule",{value:!0});ti.default=void 0;var ZC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},JC=ZC;ti.default=JC;var ri={};Object.defineProperty(ri,"__esModule",{value:!0});ri.default=void 0;var QC={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},eT=QC;ri.default=eT;var ni={};Object.defineProperty(ni,"__esModule",{value:!0});ni.default=void 0;var tT={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:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},rT=tT;ni.default=rT;var ai={};Object.defineProperty(ai,"__esModule",{value:!0});ai.default=void 0;var nT={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"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},aT=nT;ai.default=aT;var oi={};Object.defineProperty(oi,"__esModule",{value:!0});oi.default=void 0;var oT={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"]]},iT=oT;oi.default=iT;var ii={};Object.defineProperty(ii,"__esModule",{value:!0});ii.default=void 0;var lT={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"]]},sT=lT;ii.default=sT;var li={};Object.defineProperty(li,"__esModule",{value:!0});li.default=void 0;var uT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},cT=uT;li.default=cT;var si={};Object.defineProperty(si,"__esModule",{value:!0});si.default=void 0;var dT={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},fT=dT;si.default=fT;var ui={};Object.defineProperty(ui,"__esModule",{value:!0});ui.default=void 0;var pT={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"]]},mT=pT;ui.default=mT;var ci={};Object.defineProperty(ci,"__esModule",{value:!0});ci.default=void 0;var hT={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"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],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"]]},vT=hT;ci.default=vT;var di={};Object.defineProperty(di,"__esModule",{value:!0});di.default=void 0;var yT={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, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},bT=yT;di.default=bT;var fi={};Object.defineProperty(fi,"__esModule",{value:!0});fi.default=void 0;var gT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ET=gT;fi.default=ET;var pi={};Object.defineProperty(pi,"__esModule",{value:!0});pi.default=void 0;var _T={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"]]},xT=_T;pi.default=xT;var mi={};Object.defineProperty(mi,"__esModule",{value:!0});mi.default=void 0;var wT={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},CT=wT;mi.default=CT;var hi={};Object.defineProperty(hi,"__esModule",{value:!0});hi.default=void 0;var TT={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"]]},ST=TT;hi.default=ST;var vi={};Object.defineProperty(vi,"__esModule",{value:!0});vi.default=void 0;var RT={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"]]},PT=RT;vi.default=PT;var yi={};Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var AT={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"]]},OT=AT;yi.default=OT;var bi={};Object.defineProperty(bi,"__esModule",{value:!0});bi.default=void 0;var MT={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:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},IT=MT;bi.default=IT;var gi={};Object.defineProperty(gi,"__esModule",{value:!0});gi.default=void 0;var $T={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"]]},kT=$T;gi.default=kT;var Ei={};Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var NT={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"]]},qT=NT;Ei.default=qT;var _i={};Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var BT={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},jT=BT;_i.default=jT;var xi={};Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var DT={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"]]},LT=DT;xi.default=LT;var wi={};Object.defineProperty(wi,"__esModule",{value:!0});wi.default=void 0;var FT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},HT=FT;wi.default=HT;var Ci={};Object.defineProperty(Ci,"__esModule",{value:!0});Ci.default=void 0;var UT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},GT=UT;Ci.default=GT;var Ti={};Object.defineProperty(Ti,"__esModule",{value:!0});Ti.default=void 0;var WT={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"]]},VT=WT;Ti.default=VT;var Si={};Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var zT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},XT=zT;Si.default=XT;var Ri={};Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var YT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},KT=YT;Ri.default=KT;var Pi={};Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var ZT={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"]]},JT=ZT;Pi.default=JT;var Ai={};Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var QT={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"]]},eS=QT;Ai.default=eS;var Oi={};Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var tS={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"]]},rS=tS;Oi.default=rS;var Mi={};Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var nS={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"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},aS=nS;Mi.default=aS;var Ii={};Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var oS={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"]]},iS=oS;Ii.default=iS;var $i={};Object.defineProperty($i,"__esModule",{value:!0});$i.default=void 0;var lS={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"]]},sS=lS;$i.default=sS;var ki={};Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var uS={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"]]},cS=uS;ki.default=cS;var Ni={};Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var dS={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"]]},fS=dS;Ni.default=fS;var qi={};Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var pS={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},mS=pS;qi.default=mS;var Bi={};Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var hS={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},vS=hS;Bi.default=vS;var ji={};Object.defineProperty(ji,"__esModule",{value:!0});ji.default=void 0;var yS={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"]]},bS=yS;ji.default=bS;var Di={};Object.defineProperty(Di,"__esModule",{value:!0});Di.default=void 0;var gS={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"]]},ES=gS;Di.default=ES;var Li={};Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var _S={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"]]},xS=_S;Li.default=xS;var Fi={};Object.defineProperty(Fi,"__esModule",{value:!0});Fi.default=void 0;var wS={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"]]},CS=wS;Fi.default=CS;var Hi={};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=void 0;var TS={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},SS=TS;Hi.default=SS;var Ui={};Object.defineProperty(Ui,"__esModule",{value:!0});Ui.default=void 0;var RS={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},PS=RS;Ui.default=PS;var Gi={};Object.defineProperty(Gi,"__esModule",{value:!0});Gi.default=void 0;var AS={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},OS=AS;Gi.default=OS;var Wi={};Object.defineProperty(Wi,"__esModule",{value:!0});Wi.default=void 0;var MS={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"]]},IS=MS;Wi.default=IS;var Vi={};Object.defineProperty(Vi,"__esModule",{value:!0});Vi.default=void 0;var $S={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"]]},kS=$S;Vi.default=kS;var zi={};Object.defineProperty(zi,"__esModule",{value:!0});zi.default=void 0;var NS={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"]]},qS=NS;zi.default=qS;var Xi={};Object.defineProperty(Xi,"__esModule",{value:!0});Xi.default=void 0;var BS={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"]]},jS=BS;Xi.default=jS;var Yi={};Object.defineProperty(Yi,"__esModule",{value:!0});Yi.default=void 0;var DS={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LS=DS;Yi.default=LS;var Ki={};Object.defineProperty(Ki,"__esModule",{value:!0});Ki.default=void 0;var FS={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"]]},HS=FS;Ki.default=HS;var Zi={};Object.defineProperty(Zi,"__esModule",{value:!0});Zi.default=void 0;var US={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"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},GS=US;Zi.default=GS;var Ji={};Object.defineProperty(Ji,"__esModule",{value:!0});Ji.default=void 0;var WS={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},VS=WS;Ji.default=VS;var Qi={};Object.defineProperty(Qi,"__esModule",{value:!0});Qi.default=void 0;var zS={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},XS=zS;Qi.default=XS;var el={};Object.defineProperty(el,"__esModule",{value:!0});el.default=void 0;var YS={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"]]},KS=YS;el.default=KS;var tl={};Object.defineProperty(tl,"__esModule",{value:!0});tl.default=void 0;var ZS={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},JS=ZS;tl.default=JS;var rl={};Object.defineProperty(rl,"__esModule",{value:!0});rl.default=void 0;var QS={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"]]},eR=QS;rl.default=eR;var nl={};Object.defineProperty(nl,"__esModule",{value:!0});nl.default=void 0;var tR={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"]]},rR=tR;nl.default=rR;var al={};Object.defineProperty(al,"__esModule",{value:!0});al.default=void 0;var nR={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"]]},aR=nR;al.default=aR;Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var oR=q(Mo),iR=q(Io),lR=q($o),sR=q(ko),uR=q(No),cR=q(qo),dR=q(Bo),fR=q(jo),pR=q(Do),mR=q(Lo),hR=q(Fo),vR=q(Ho),yR=q(Uo),bR=q(Go),gR=q(Wo),ER=q(Vo),_R=q(zo),xR=q(Xo),wR=q(Yo),CR=q(Ko),TR=q(Zo),SR=q(Jo),RR=q(Qo),PR=q(ei),AR=q(ti),OR=q(ri),MR=q(ni),IR=q(ai),$R=q(oi),kR=q(ii),NR=q(li),qR=q(si),BR=q(ui),jR=q(ci),DR=q(di),LR=q(fi),FR=q(pi),HR=q(mi),UR=q(hi),GR=q(vi),WR=q(yi),VR=q(bi),zR=q(gi),XR=q(Ei),YR=q(_i),KR=q(xi),ZR=q(wi),JR=q(Ci),QR=q(Ti),eP=q(Si),tP=q(Ri),rP=q(Pi),nP=q(Ai),aP=q(Oi),oP=q(Mi),iP=q(Ii),lP=q($i),sP=q(ki),uP=q(Ni),cP=q(qi),dP=q(Bi),fP=q(ji),pP=q(Di),mP=q(Li),hP=q(Fi),vP=q(Hi),yP=q(Ui),bP=q(Gi),gP=q(Wi),EP=q(Vi),_P=q(zi),xP=q(Xi),wP=q(Yi),CP=q(Ki),TP=q(Zi),SP=q(Ji),RP=q(Qi),PP=q(el),AP=q(tl),OP=q(rl),MP=q(nl),IP=q(al);function q(e){return e&&e.__esModule?e:{default:e}}var $P=[["alert",oR.default],["alertdialog",iR.default],["application",lR.default],["article",sR.default],["banner",uR.default],["blockquote",cR.default],["button",dR.default],["caption",fR.default],["cell",pR.default],["checkbox",mR.default],["code",hR.default],["columnheader",vR.default],["combobox",yR.default],["complementary",bR.default],["contentinfo",gR.default],["definition",ER.default],["deletion",_R.default],["dialog",xR.default],["directory",wR.default],["document",CR.default],["emphasis",TR.default],["feed",SR.default],["figure",RR.default],["form",PR.default],["generic",AR.default],["grid",OR.default],["gridcell",MR.default],["group",IR.default],["heading",$R.default],["img",kR.default],["insertion",NR.default],["link",qR.default],["list",BR.default],["listbox",jR.default],["listitem",DR.default],["log",LR.default],["main",FR.default],["marquee",HR.default],["math",UR.default],["menu",GR.default],["menubar",WR.default],["menuitem",VR.default],["menuitemcheckbox",zR.default],["menuitemradio",XR.default],["meter",YR.default],["navigation",KR.default],["none",ZR.default],["note",JR.default],["option",QR.default],["paragraph",eP.default],["presentation",tP.default],["progressbar",rP.default],["radio",nP.default],["radiogroup",aP.default],["region",oP.default],["row",iP.default],["rowgroup",lP.default],["rowheader",sP.default],["scrollbar",uP.default],["search",cP.default],["searchbox",dP.default],["separator",fP.default],["slider",pP.default],["spinbutton",mP.default],["status",hP.default],["strong",vP.default],["subscript",yP.default],["superscript",bP.default],["switch",gP.default],["tab",EP.default],["table",_P.default],["tablist",xP.default],["tabpanel",wP.default],["term",CP.default],["textbox",TP.default],["time",SP.default],["timer",RP.default],["toolbar",PP.default],["tooltip",AP.default],["tree",OP.default],["treegrid",MP.default],["treeitem",IP.default]],kP=$P;Oo.default=kP;var ol={},il={};Object.defineProperty(il,"__esModule",{value:!0});il.default=void 0;var NP={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"]]},qP=NP;il.default=qP;var ll={};Object.defineProperty(ll,"__esModule",{value:!0});ll.default=void 0;var BP={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"]]},jP=BP;ll.default=jP;var sl={};Object.defineProperty(sl,"__esModule",{value:!0});sl.default=void 0;var DP={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"]]},LP=DP;sl.default=LP;var ul={};Object.defineProperty(ul,"__esModule",{value:!0});ul.default=void 0;var FP={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"]]},HP=FP;ul.default=HP;var cl={};Object.defineProperty(cl,"__esModule",{value:!0});cl.default=void 0;var UP={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],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"]]},GP=UP;cl.default=GP;var dl={};Object.defineProperty(dl,"__esModule",{value:!0});dl.default=void 0;var WP={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"]]},VP=WP;dl.default=VP;var fl={};Object.defineProperty(fl,"__esModule",{value:!0});fl.default=void 0;var zP={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"]]},XP=zP;fl.default=XP;var pl={};Object.defineProperty(pl,"__esModule",{value:!0});pl.default=void 0;var YP={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"]]},KP=YP;pl.default=KP;var ml={};Object.defineProperty(ml,"__esModule",{value:!0});ml.default=void 0;var ZP={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"]]},JP=ZP;ml.default=JP;var hl={};Object.defineProperty(hl,"__esModule",{value:!0});hl.default=void 0;var QP={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"]]},e1=QP;hl.default=e1;var vl={};Object.defineProperty(vl,"__esModule",{value:!0});vl.default=void 0;var t1={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"]]},r1=t1;vl.default=r1;var yl={};Object.defineProperty(yl,"__esModule",{value:!0});yl.default=void 0;var n1={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"]]},a1=n1;yl.default=a1;var bl={};Object.defineProperty(bl,"__esModule",{value:!0});bl.default=void 0;var o1={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"]]},i1=o1;bl.default=i1;var gl={};Object.defineProperty(gl,"__esModule",{value:!0});gl.default=void 0;var l1={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"]]},s1=l1;gl.default=s1;var El={};Object.defineProperty(El,"__esModule",{value:!0});El.default=void 0;var u1={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"]]},c1=u1;El.default=c1;var _l={};Object.defineProperty(_l,"__esModule",{value:!0});_l.default=void 0;var d1={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"]]},f1=d1;_l.default=f1;var xl={};Object.defineProperty(xl,"__esModule",{value:!0});xl.default=void 0;var p1={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"]]},m1=p1;xl.default=m1;var wl={};Object.defineProperty(wl,"__esModule",{value:!0});wl.default=void 0;var h1={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"]]},v1=h1;wl.default=v1;var Cl={};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.default=void 0;var y1={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"]]},b1=y1;Cl.default=b1;var Tl={};Object.defineProperty(Tl,"__esModule",{value:!0});Tl.default=void 0;var g1={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"]]},E1=g1;Tl.default=E1;var Sl={};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.default=void 0;var _1={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"]]},x1=_1;Sl.default=x1;var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var w1={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"]]},C1=w1;Rl.default=C1;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;var T1={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"]]},S1=T1;Pl.default=S1;var Al={};Object.defineProperty(Al,"__esModule",{value:!0});Al.default=void 0;var R1={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"]]},P1=R1;Al.default=P1;var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0});Ol.default=void 0;var A1={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"]]},O1=A1;Ol.default=O1;var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});Ml.default=void 0;var M1={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"]]},I1=M1;Ml.default=I1;var Il={};Object.defineProperty(Il,"__esModule",{value:!0});Il.default=void 0;var $1={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"]]},k1=$1;Il.default=k1;var $l={};Object.defineProperty($l,"__esModule",{value:!0});$l.default=void 0;var N1={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"]]},q1=N1;$l.default=q1;var kl={};Object.defineProperty(kl,"__esModule",{value:!0});kl.default=void 0;var B1={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"]]},j1=B1;kl.default=j1;var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var D1={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"]]},L1=D1;Nl.default=L1;var ql={};Object.defineProperty(ql,"__esModule",{value:!0});ql.default=void 0;var F1={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"]]},H1=F1;ql.default=H1;var Bl={};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=void 0;var U1={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"]]},G1=U1;Bl.default=G1;var jl={};Object.defineProperty(jl,"__esModule",{value:!0});jl.default=void 0;var W1={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"]]},V1=W1;jl.default=V1;var Dl={};Object.defineProperty(Dl,"__esModule",{value:!0});Dl.default=void 0;var z1={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"]]},X1=z1;Dl.default=X1;var Ll={};Object.defineProperty(Ll,"__esModule",{value:!0});Ll.default=void 0;var Y1={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"]]},K1=Y1;Ll.default=K1;var Fl={};Object.defineProperty(Fl,"__esModule",{value:!0});Fl.default=void 0;var Z1={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"]]},J1=Z1;Fl.default=J1;var Hl={};Object.defineProperty(Hl,"__esModule",{value:!0});Hl.default=void 0;var Q1={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"]]},eA=Q1;Hl.default=eA;var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=void 0;var tA={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"]]},rA=tA;Ul.default=rA;var Gl={};Object.defineProperty(Gl,"__esModule",{value:!0});Gl.default=void 0;var nA={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"]]},aA=nA;Gl.default=aA;Object.defineProperty(ol,"__esModule",{value:!0});ol.default=void 0;var oA=X(il),iA=X(ll),lA=X(sl),sA=X(ul),uA=X(cl),cA=X(dl),dA=X(fl),fA=X(pl),pA=X(ml),mA=X(hl),hA=X(vl),vA=X(yl),yA=X(bl),bA=X(gl),gA=X(El),EA=X(_l),_A=X(xl),xA=X(wl),wA=X(Cl),CA=X(Tl),TA=X(Sl),SA=X(Rl),RA=X(Pl),PA=X(Al),AA=X(Ol),OA=X(Ml),MA=X(Il),IA=X($l),$A=X(kl),kA=X(Nl),NA=X(ql),qA=X(Bl),BA=X(jl),jA=X(Dl),DA=X(Ll),LA=X(Fl),FA=X(Hl),HA=X(Ul),UA=X(Gl);function X(e){return e&&e.__esModule?e:{default:e}}var GA=[["doc-abstract",oA.default],["doc-acknowledgments",iA.default],["doc-afterword",lA.default],["doc-appendix",sA.default],["doc-backlink",uA.default],["doc-biblioentry",cA.default],["doc-bibliography",dA.default],["doc-biblioref",fA.default],["doc-chapter",pA.default],["doc-colophon",mA.default],["doc-conclusion",hA.default],["doc-cover",vA.default],["doc-credit",yA.default],["doc-credits",bA.default],["doc-dedication",gA.default],["doc-endnote",EA.default],["doc-endnotes",_A.default],["doc-epigraph",xA.default],["doc-epilogue",wA.default],["doc-errata",CA.default],["doc-example",TA.default],["doc-footnote",SA.default],["doc-foreword",RA.default],["doc-glossary",PA.default],["doc-glossref",AA.default],["doc-index",OA.default],["doc-introduction",MA.default],["doc-noteref",IA.default],["doc-notice",$A.default],["doc-pagebreak",kA.default],["doc-pagelist",NA.default],["doc-part",qA.default],["doc-preface",BA.default],["doc-prologue",jA.default],["doc-pullquote",DA.default],["doc-qna",LA.default],["doc-subtitle",FA.default],["doc-tip",HA.default],["doc-toc",UA.default]],WA=GA;ol.default=WA;var Wl={},Vl={};Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=void 0;var VA={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"]]},zA=VA;Vl.default=zA;var zl={};Object.defineProperty(zl,"__esModule",{value:!0});zl.default=void 0;var XA={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"]]},YA=XA;zl.default=YA;var Xl={};Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=void 0;var KA={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"]]},ZA=KA;Xl.default=ZA;Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;var JA=zc(Vl),QA=zc(zl),eO=zc(Xl);function zc(e){return e&&e.__esModule?e:{default:e}}var tO=[["graphics-document",JA.default],["graphics-object",QA.default],["graphics-symbol",eO.default]],rO=tO;Wl.default=rO;Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var nO=zn(yo),aO=zn(Oo),oO=zn(ol),iO=zn(Wl),lO=zn(qr);function zn(e){return e&&e.__esModule?e:{default:e}}function sO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=dv(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
89
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){i=!0,s=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function Pn(e,t){return dO(e)||cO(e,t)||dv(e,t)||uO()}function uO(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
90
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dv(e,t){if(e){if(typeof e=="string")return Sf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sf(e,t)}}function Sf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function cO(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,i,s;try{for(r=r.call(e);!(a=(i=r.next()).done)&&(n.push(i.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,s=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function dO(e){if(Array.isArray(e))return e}var Qt=[].concat(nO.default,aO.default,oO.default,iO.default);Qt.forEach(function(e){var t=Pn(e,2),r=t[1],n=Xu(r.superClass),a;try{for(n.s();!(a=n.n()).done;){var o=a.value,i=Xu(o),s;try{var l=function(){var c=s.value,f=Qt.find(function(S){var h=Pn(S,1),_=h[0];return _===c});if(f)for(var m=f[1],d=0,y=Object.keys(m.props);d<y.length;d++){var v=y[d];Object.prototype.hasOwnProperty.call(r.props,v)||Object.assign(r.props,sO({},v,m.props[v]))}};for(i.s();!(s=i.n()).done;)l()}catch(u){i.e(u)}finally{i.f()}}}catch(u){n.e(u)}finally{n.f()}});var Yu={entries:function(){return Qt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Xu(Qt),a;try{for(n.s();!(a=n.n()).done;){var o=Pn(a.value,2),i=o[0],s=o[1];t.call(r,s,i,Qt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Qt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Yu.get(t)},keys:function(){return Qt.map(function(t){var r=Pn(t,1),n=r[0];return n})},values:function(){return Qt.map(function(t){var r=Pn(t,2),n=r[1];return n})}},fO=(0,lO.default)(Yu,Yu.entries());dn.default=fO;var Yl={},Rf=Object.prototype.toString,fv=function(t){var r=Rf.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Rf.call(t.callee)==="[object Function]"),n},Ls,Pf;function pO(){if(Pf)return Ls;Pf=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=fv,a=Object.prototype.propertyIsEnumerable,o=!a.call({toString:null},"toString"),i=a.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(m){var d=m.constructor;return d&&d.prototype===m},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!u["$"+m]&&t.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{l(window[m])}catch{return!0}}catch{return!0}return!1}(),f=function(m){if(typeof window>"u"||!c)return l(m);try{return l(m)}catch{return!1}};e=function(d){var y=d!==null&&typeof d=="object",v=r.call(d)==="[object Function]",S=n(d),h=y&&r.call(d)==="[object String]",_=[];if(!y&&!v&&!S)throw new TypeError("Object.keys called on a non-object");var C=i&&v;if(h&&d.length>0&&!t.call(d,0))for(var R=0;R<d.length;++R)_.push(String(R));if(S&&d.length>0)for(var w=0;w<d.length;++w)_.push(String(w));else for(var x in d)!(C&&x==="prototype")&&t.call(d,x)&&_.push(String(x));if(o)for(var P=f(d),A=0;A<s.length;++A)!(P&&s[A]==="constructor")&&t.call(d,s[A])&&_.push(s[A]);return _}}return Ls=e,Ls}var mO=Array.prototype.slice,hO=fv,Af=Object.keys,Sa=Af?function(t){return Af(t)}:pO(),Of=Object.keys;Sa.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return hO(n)?Of(mO.call(n)):Of(n)})}else Object.keys=Sa;return Object.keys||Sa};var Xc=Sa,Kl=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(t,r);if(i.value!==a||i.enumerable!==!0)return!1}return!0},Mf=typeof Symbol<"u"&&Symbol,vO=Kl,Yc=function(){return typeof Mf!="function"||typeof Symbol!="function"||typeof Mf("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:vO()},If={foo:{}},yO=Object,bO=function(){return{__proto__:If}.foo===If.foo&&!({__proto__:null}instanceof yO)},gO="Function.prototype.bind called on incompatible ",Fs=Array.prototype.slice,EO=Object.prototype.toString,_O="[object Function]",xO=function(t){var r=this;if(typeof r!="function"||EO.call(r)!==_O)throw new TypeError(gO+r);for(var n=Fs.call(arguments,1),a,o=function(){if(this instanceof a){var c=r.apply(this,n.concat(Fs.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(Fs.call(arguments)))},i=Math.max(0,r.length-n.length),s=[],l=0;l<i;l++)s.push("$"+l);if(a=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,a.prototype=new u,u.prototype=null}return a},wO=xO,Kc=Function.prototype.bind||wO,CO=Kc,pv=CO.call(Function.call,Object.prototype.hasOwnProperty),J,ln=SyntaxError,mv=Function,tn=TypeError,Hs=function(e){try{return mv('"use strict"; return ('+e+").constructor;")()}catch{}},Rr=Object.getOwnPropertyDescriptor;if(Rr)try{Rr({},"")}catch{Rr=null}var Us=function(){throw new tn},TO=Rr?function(){try{return arguments.callee,Us}catch{try{return Rr(arguments,"callee").get}catch{return Us}}}():Us,Kr=Yc(),SO=bO(),Ae=Object.getPrototypeOf||(SO?function(e){return e.__proto__}:null),Jr={},RO=typeof Uint8Array>"u"||!Ae?J:Ae(Uint8Array),Pr={"%AggregateError%":typeof AggregateError>"u"?J:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?J:ArrayBuffer,"%ArrayIteratorPrototype%":Kr&&Ae?Ae([][Symbol.iterator]()):J,"%AsyncFromSyncIteratorPrototype%":J,"%AsyncFunction%":Jr,"%AsyncGenerator%":Jr,"%AsyncGeneratorFunction%":Jr,"%AsyncIteratorPrototype%":Jr,"%Atomics%":typeof Atomics>"u"?J:Atomics,"%BigInt%":typeof BigInt>"u"?J:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?J:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?J:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?J:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?J:Float32Array,"%Float64Array%":typeof Float64Array>"u"?J:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?J:FinalizationRegistry,"%Function%":mv,"%GeneratorFunction%":Jr,"%Int8Array%":typeof Int8Array>"u"?J:Int8Array,"%Int16Array%":typeof Int16Array>"u"?J:Int16Array,"%Int32Array%":typeof Int32Array>"u"?J:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Kr&&Ae?Ae(Ae([][Symbol.iterator]())):J,"%JSON%":typeof JSON=="object"?JSON:J,"%Map%":typeof Map>"u"?J:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Kr||!Ae?J:Ae(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?J:Promise,"%Proxy%":typeof Proxy>"u"?J:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?J:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?J:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Kr||!Ae?J:Ae(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?J:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Kr&&Ae?Ae(""[Symbol.iterator]()):J,"%Symbol%":Kr?Symbol:J,"%SyntaxError%":ln,"%ThrowTypeError%":TO,"%TypedArray%":RO,"%TypeError%":tn,"%Uint8Array%":typeof Uint8Array>"u"?J:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?J:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?J:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?J:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?J:WeakMap,"%WeakRef%":typeof WeakRef>"u"?J:WeakRef,"%WeakSet%":typeof WeakSet>"u"?J:WeakSet};if(Ae)try{null.error}catch(e){var PO=Ae(Ae(e));Pr["%Error.prototype%"]=PO}var AO=function e(t){var r;if(t==="%AsyncFunction%")r=Hs("async function () {}");else if(t==="%GeneratorFunction%")r=Hs("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Hs("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&Ae&&(r=Ae(a.prototype))}return Pr[t]=r,r},$f={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Xn=Kc,Fa=pv,OO=Xn.call(Function.call,Array.prototype.concat),MO=Xn.call(Function.apply,Array.prototype.splice),kf=Xn.call(Function.call,String.prototype.replace),Ha=Xn.call(Function.call,String.prototype.slice),IO=Xn.call(Function.call,RegExp.prototype.exec),$O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,kO=/\\(\\)?/g,NO=function(t){var r=Ha(t,0,1),n=Ha(t,-1);if(r==="%"&&n!=="%")throw new ln("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new ln("invalid intrinsic syntax, expected opening `%`");var a=[];return kf(t,$O,function(o,i,s,l){a[a.length]=s?kf(l,kO,"$1"):i||o}),a},qO=function(t,r){var n=t,a;if(Fa($f,n)&&(a=$f[n],n="%"+a[0]+"%"),Fa(Pr,n)){var o=Pr[n];if(o===Jr&&(o=AO(n)),typeof o>"u"&&!r)throw new tn("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new ln("intrinsic "+t+" does not exist!")},pt=function(t,r){if(typeof t!="string"||t.length===0)throw new tn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new tn('"allowMissing" argument must be a boolean');if(IO(/^%?[^%]*%?$/,t)===null)throw new ln("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=NO(t),a=n.length>0?n[0]:"",o=qO("%"+a+"%",r),i=o.name,s=o.value,l=!1,u=o.alias;u&&(a=u[0],MO(n,OO([0,1],u)));for(var c=1,f=!0;c<n.length;c+=1){var m=n[c],d=Ha(m,0,1),y=Ha(m,-1);if((d==='"'||d==="'"||d==="`"||y==='"'||y==="'"||y==="`")&&d!==y)throw new ln("property names with quotes must have matching quotes");if((m==="constructor"||!f)&&(l=!0),a+="."+m,i="%"+a+"%",Fa(Pr,i))s=Pr[i];else if(s!=null){if(!(m in s)){if(!r)throw new tn("base intrinsic for "+t+" exists, but the property is not available.");return}if(Rr&&c+1>=n.length){var v=Rr(s,m);f=!!v,f&&"get"in v&&!("originalValue"in v.get)?s=v.get:s=s[m]}else f=Fa(s,m),s=s[m];f&&!l&&(Pr[i]=s)}}return s},BO=pt,Ku=BO("%Object.defineProperty%",!0),Zu=function(){if(Ku)try{return Ku({},"a",{value:1}),!0}catch{return!1}return!1};Zu.hasArrayLengthDefineBug=function(){if(!Zu())return null;try{return Ku([],"length",{value:1}).length!==1}catch{return!0}};var Zc=Zu,jO=pt,Ra=jO("%Object.getOwnPropertyDescriptor%",!0);if(Ra)try{Ra([],"length")}catch{Ra=null}var hv=Ra,DO=Zc(),Jc=pt,Nf=DO&&Jc("%Object.defineProperty%",!0),LO=Jc("%SyntaxError%"),wn=Jc("%TypeError%"),qf=hv,vv=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new wn("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new wn("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean")throw new wn("`nonEnumerable`, if provided, must be a boolean`");if(arguments.length>4&&typeof arguments[4]!="boolean")throw new wn("`nonWritable`, if provided, must be a boolean`");if(arguments.length>5&&typeof arguments[5]!="boolean")throw new wn("`nonConfigurable`, if provided, must be a boolean`");var a=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,s=!!qf&&qf(t,r);if(Nf)Nf(t,r,{configurable:i===null&&s?s.configurable:!i,enumerable:a===null&&s?s.enumerable:!a,value:n,writable:o===null&&s?s.writable:!o});else if(!a&&!o&&!i)t[r]=n;else throw new LO("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},FO=Xc,HO=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",UO=Object.prototype.toString,GO=Array.prototype.concat,Bf=vv,WO=function(e){return typeof e=="function"&&UO.call(e)==="[object Function]"},yv=Zc(),VO=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!WO(n)||!n())return}yv?Bf(e,t,r,!0):Bf(e,t,r)},bv=function(e,t){var r=arguments.length>2?arguments[2]:{},n=FO(t);HO&&(n=GO.call(n,Object.getOwnPropertySymbols(t)));for(var a=0;a<n.length;a+=1)VO(e,n[a],t[n[a]],r[n[a]])};bv.supportsDescriptors=!!yv;var Br=bv,gv={exports:{}};(function(e){var t=Kc,r=pt,n=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),o=r("%Reflect.apply%",!0)||t.call(a,n),i=r("%Object.getOwnPropertyDescriptor%",!0),s=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}e.exports=function(f){var m=o(t,a,arguments);if(i&&s){var d=i(m,"length");d.configurable&&s(m,"length",{value:1+l(0,f.length-(arguments.length-1))})}return m};var u=function(){return o(t,n,arguments)};s?s(e.exports,"apply",{value:u}):e.exports.apply=u})(gv);var fn=gv.exports,Ev=pt,_v=fn,zO=_v(Ev("String.prototype.indexOf")),at=function(t,r){var n=Ev(t,!!r);return typeof n=="function"&&zO(t,".prototype.")>-1?_v(n):n},XO=Xc,xv=Kl(),wv=at,jf=Object,YO=wv("Array.prototype.push"),Df=wv("Object.prototype.propertyIsEnumerable"),KO=xv?Object.getOwnPropertySymbols:null,Cv=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=jf(t);if(arguments.length===1)return n;for(var a=1;a<arguments.length;++a){var o=jf(arguments[a]),i=XO(o),s=xv&&(Object.getOwnPropertySymbols||KO);if(s)for(var l=s(o),u=0;u<l.length;++u){var c=l[u];Df(o,c)&&YO(i,c)}for(var f=0;f<i.length;++f){var m=i[f];if(Df(o,m)){var d=o[m];n[m]=d}}}return n},Gs=Cv,ZO=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var a=Object.assign({},r),o="";for(var i in a)o+=i;return e!==o},JO=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1},Tv=function(){return!Object.assign||ZO()||JO()?Gs:Object.assign},QO=Br,eM=Tv,tM=function(){var t=eM();return QO(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},rM=Br,nM=fn,aM=Cv,Sv=Tv,oM=tM,iM=nM.apply(Sv()),Rv=function(t,r){return iM(Object,arguments)};rM(Rv,{getPolyfill:Sv,implementation:aM,shim:oM});var lM=Rv,Bn=function(){return typeof(function(){}).name=="string"},An=Object.getOwnPropertyDescriptor;if(An)try{An([],"length")}catch{An=null}Bn.functionsHaveConfigurableNames=function(){if(!Bn()||!An)return!1;var t=An(function(){},"name");return!!t&&!!t.configurable};var sM=Function.prototype.bind;Bn.boundFunctionsHaveNames=function(){return Bn()&&typeof sM=="function"&&(function(){}).bind().name!==""};var uM=Bn,Lf=vv,cM=Zc(),dM=uM.functionsHaveConfigurableNames(),fM=TypeError,pM=function(t,r){if(typeof t!="function")throw new fM("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||dM)&&(cM?Lf(t,"name",r,!0,!0):Lf(t,"name",r)),t},mM=pM,hM=Object,vM=TypeError,Pv=mM(function(){if(this!=null&&this!==hM(this))throw new vM("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),yM=Pv,bM=Br.supportsDescriptors,gM=Object.getOwnPropertyDescriptor,Av=function(){if(bM&&/a/mig.flags==="gim"){var t=gM(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return t.get}}return yM},EM=Br.supportsDescriptors,_M=Av,xM=Object.getOwnPropertyDescriptor,wM=Object.defineProperty,CM=TypeError,Ff=Object.getPrototypeOf,TM=/a/,SM=function(){if(!EM||!Ff)throw new CM("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=_M(),r=Ff(TM),n=xM(r,"flags");return(!n||n.get!==t)&&wM(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},RM=Br,PM=fn,AM=Pv,Ov=Av,OM=SM,Mv=PM(Ov());RM(Mv,{getPolyfill:Ov,implementation:AM,shim:OM});var MM=Mv,Pa={exports:{}},IM=Kl,jr=function(){return IM()&&!!Symbol.toStringTag},$M=jr(),kM=at,Ju=kM("Object.prototype.toString"),Zl=function(t){return $M&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Ju(t)==="[object Arguments]"},Iv=function(t){return Zl(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Ju(t)!=="[object Array]"&&Ju(t.callee)==="[object Function]"},NM=function(){return Zl(arguments)}();Zl.isLegacyArguments=Iv;var $v=NM?Zl:Iv;const qM={},BM=Object.freeze(Object.defineProperty({__proto__:null,default:qM},Symbol.toStringTag,{value:"Module"})),jM=Yb(BM);var Qc=typeof Map=="function"&&Map.prototype,Ws=Object.getOwnPropertyDescriptor&&Qc?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ua=Qc&&Ws&&typeof Ws.get=="function"?Ws.get:null,Hf=Qc&&Map.prototype.forEach,ed=typeof Set=="function"&&Set.prototype,Vs=Object.getOwnPropertyDescriptor&&ed?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ga=ed&&Vs&&typeof Vs.get=="function"?Vs.get:null,Uf=ed&&Set.prototype.forEach,DM=typeof WeakMap=="function"&&WeakMap.prototype,On=DM?WeakMap.prototype.has:null,LM=typeof WeakSet=="function"&&WeakSet.prototype,Mn=LM?WeakSet.prototype.has:null,FM=typeof WeakRef=="function"&&WeakRef.prototype,Gf=FM?WeakRef.prototype.deref:null,HM=Boolean.prototype.valueOf,UM=Object.prototype.toString,GM=Function.prototype.toString,WM=String.prototype.match,td=String.prototype.slice,nr=String.prototype.replace,VM=String.prototype.toUpperCase,Wf=String.prototype.toLowerCase,kv=RegExp.prototype.test,Vf=Array.prototype.concat,_t=Array.prototype.join,zM=Array.prototype.slice,zf=Math.floor,Qu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,zs=Object.getOwnPropertySymbols,ec=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,sn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ne=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===sn||"symbol")?Symbol.toStringTag:null,Nv=Object.prototype.propertyIsEnumerable,Xf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Yf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||kv.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-zf(-e):zf(e);if(n!==e){var a=String(n),o=td.call(t,a.length+1);return nr.call(a,r,"$&_")+"."+nr.call(nr.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return nr.call(t,r,"$&_")}var tc=jM,Kf=tc.custom,Zf=Bv(Kf)?Kf:null,XM=function e(t,r,n,a){var o=r||{};if(er(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(er(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=er(o,"customInspect")?o.customInspect:!0;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(er(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(er(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Dv(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return s?Yf(t,l):l}if(typeof t=="bigint"){var u=String(t)+"n";return s?Yf(t,u):u}var c=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof t=="object")return rc(t)?"[Array]":"[Object]";var f=fI(o,n);if(typeof a>"u")a=[];else if(jv(a,t)>=0)return"[Circular]";function m(B,G,Ee){if(G&&(a=zM.call(a),a.push(G)),Ee){var pe={depth:o.depth};return er(o,"quoteStyle")&&(pe.quoteStyle=o.quoteStyle),e(B,pe,n+1,a)}return e(B,o,n+1,a)}if(typeof t=="function"&&!Jf(t)){var d=nI(t),y=ha(t,m);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(y.length>0?" { "+_t.call(y,", ")+" }":"")}if(Bv(t)){var v=sn?nr.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):ec.call(t);return typeof t=="object"&&!sn?Cn(v):v}if(uI(t)){for(var S="<"+Wf.call(String(t.nodeName)),h=t.attributes||[],_=0;_<h.length;_++)S+=" "+h[_].name+"="+qv(YM(h[_].value),"double",o);return S+=">",t.childNodes&&t.childNodes.length&&(S+="..."),S+="</"+Wf.call(String(t.nodeName))+">",S}if(rc(t)){if(t.length===0)return"[]";var C=ha(t,m);return f&&!dI(C)?"["+nc(C,f)+"]":"[ "+_t.call(C,", ")+" ]"}if(ZM(t)){var R=ha(t,m);return!("cause"in Error.prototype)&&"cause"in t&&!Nv.call(t,"cause")?"{ ["+String(t)+"] "+_t.call(Vf.call("[cause]: "+m(t.cause),R),", ")+" }":R.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+_t.call(R,", ")+" }"}if(typeof t=="object"&&i){if(Zf&&typeof t[Zf]=="function"&&tc)return tc(t,{depth:c-n});if(i!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(aI(t)){var w=[];return Hf&&Hf.call(t,function(B,G){w.push(m(G,t,!0)+" => "+m(B,t))}),Qf("Map",Ua.call(t),w,f)}if(lI(t)){var x=[];return Uf&&Uf.call(t,function(B){x.push(m(B,t))}),Qf("Set",Ga.call(t),x,f)}if(oI(t))return Xs("WeakMap");if(sI(t))return Xs("WeakSet");if(iI(t))return Xs("WeakRef");if(QM(t))return Cn(m(Number(t)));if(tI(t))return Cn(m(Qu.call(t)));if(eI(t))return Cn(HM.call(t));if(JM(t))return Cn(m(String(t)));if(!KM(t)&&!Jf(t)){var P=ha(t,m),A=Xf?Xf(t)===Object.prototype:t instanceof Object||t.constructor===Object,H=t instanceof Object?"":"null prototype",z=!A&&Ne&&Object(t)===t&&Ne in t?td.call(mr(t),8,-1):H?"Object":"",ne=A||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",ie=ne+(z||H?"["+_t.call(Vf.call([],z||[],H||[]),": ")+"] ":"");return P.length===0?ie+"{}":f?ie+"{"+nc(P,f)+"}":ie+"{ "+_t.call(P,", ")+" }"}return String(t)};function qv(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function YM(e){return nr.call(String(e),/"/g,""")}function rc(e){return mr(e)==="[object Array]"&&(!Ne||!(typeof e=="object"&&Ne in e))}function KM(e){return mr(e)==="[object Date]"&&(!Ne||!(typeof e=="object"&&Ne in e))}function Jf(e){return mr(e)==="[object RegExp]"&&(!Ne||!(typeof e=="object"&&Ne in e))}function ZM(e){return mr(e)==="[object Error]"&&(!Ne||!(typeof e=="object"&&Ne in e))}function JM(e){return mr(e)==="[object String]"&&(!Ne||!(typeof e=="object"&&Ne in e))}function QM(e){return mr(e)==="[object Number]"&&(!Ne||!(typeof e=="object"&&Ne in e))}function eI(e){return mr(e)==="[object Boolean]"&&(!Ne||!(typeof e=="object"&&Ne in e))}function Bv(e){if(sn)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!ec)return!1;try{return ec.call(e),!0}catch{}return!1}function tI(e){if(!e||typeof e!="object"||!Qu)return!1;try{return Qu.call(e),!0}catch{}return!1}var rI=Object.prototype.hasOwnProperty||function(e){return e in this};function er(e,t){return rI.call(e,t)}function mr(e){return UM.call(e)}function nI(e){if(e.name)return e.name;var t=WM.call(GM.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function jv(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function aI(e){if(!Ua||!e||typeof e!="object")return!1;try{Ua.call(e);try{Ga.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function oI(e){if(!On||!e||typeof e!="object")return!1;try{On.call(e,On);try{Mn.call(e,Mn)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function iI(e){if(!Gf||!e||typeof e!="object")return!1;try{return Gf.call(e),!0}catch{}return!1}function lI(e){if(!Ga||!e||typeof e!="object")return!1;try{Ga.call(e);try{Ua.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function sI(e){if(!Mn||!e||typeof e!="object")return!1;try{Mn.call(e,Mn);try{On.call(e,On)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function uI(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Dv(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Dv(td.call(e,0,t.maxStringLength),t)+n}var a=nr.call(nr.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,cI);return qv(a,"single",t)}function cI(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+VM.call(t.toString(16))}function Cn(e){return"Object("+e+")"}function Xs(e){return e+" { ? }"}function Qf(e,t,r,n){var a=n?nc(r,n):_t.call(r,", ");return e+" ("+t+") {"+a+"}"}function dI(e){for(var t=0;t<e.length;t++)if(jv(e[t],`
|
|
91
|
+
`)>=0)return!1;return!0}function fI(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=_t.call(Array(e.indent+1)," ");else return null;return{base:r,prev:_t.call(Array(t+1),r)}}function nc(e,t){if(e.length===0)return"";var r=`
|
|
92
|
+
`+t.prev+t.base;return r+_t.call(e,","+r)+`
|
|
93
|
+
`+t.prev}function ha(e,t){var r=rc(e),n=[];if(r){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=er(e,a)?t(e[a],e):""}var o=typeof zs=="function"?zs(e):[],i;if(sn){i={};for(var s=0;s<o.length;s++)i["$"+o[s]]=o[s]}for(var l in e)er(e,l)&&(r&&String(Number(l))===l&&l<e.length||sn&&i["$"+l]instanceof Symbol||(kv.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if(typeof zs=="function")for(var u=0;u<o.length;u++)Nv.call(e,o[u])&&n.push("["+t(o[u])+"]: "+t(e[o[u]],e));return n}var rd=pt,pn=at,pI=XM,mI=rd("%TypeError%"),va=rd("%WeakMap%",!0),ya=rd("%Map%",!0),hI=pn("WeakMap.prototype.get",!0),vI=pn("WeakMap.prototype.set",!0),yI=pn("WeakMap.prototype.has",!0),bI=pn("Map.prototype.get",!0),gI=pn("Map.prototype.set",!0),EI=pn("Map.prototype.has",!0),nd=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},_I=function(e,t){var r=nd(e,t);return r&&r.value},xI=function(e,t,r){var n=nd(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},wI=function(e,t){return!!nd(e,t)},Lv=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new mI("Side channel does not contain "+pI(o))},get:function(o){if(va&&o&&(typeof o=="object"||typeof o=="function")){if(t)return hI(t,o)}else if(ya){if(r)return bI(r,o)}else if(n)return _I(n,o)},has:function(o){if(va&&o&&(typeof o=="object"||typeof o=="function")){if(t)return yI(t,o)}else if(ya){if(r)return EI(r,o)}else if(n)return wI(n,o);return!1},set:function(o,i){va&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new va),vI(t,o,i)):ya?(r||(r=new ya),gI(r,o,i)):(n||(n={key:{},next:null}),xI(n,o,i))}};return a},CI=pt,TI=pv,Tn=Lv(),Bt=CI("%TypeError%"),ad={assert:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Bt("`O` is not an object");if(typeof t!="string")throw new Bt("`slot` must be a string");if(Tn.assert(e),!ad.has(e,t))throw new Bt("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Bt("`O` is not an object");if(typeof t!="string")throw new Bt("`slot` must be a string");var r=Tn.get(e);return r&&r["$"+t]},has:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Bt("`O` is not an object");if(typeof t!="string")throw new Bt("`slot` must be a string");var r=Tn.get(e);return!!r&&TI(r,"$"+t)},set:function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new Bt("`O` is not an object");if(typeof t!="string")throw new Bt("`slot` must be a string");var n=Tn.get(e);n||(n={},Tn.set(e,n)),n["$"+t]=r}};Object.freeze&&Object.freeze(ad);var SI=ad,Sn=SI,RI=SyntaxError,ep=typeof StopIteration=="object"?StopIteration:null,PI=function(t){if(!ep)throw new RI("this environment lacks StopIteration");Sn.set(t,"[[Done]]",!1);var r={next:function(){var a=Sn.get(this,"[[Iterator]]"),o=Sn.get(a,"[[Done]]");try{return{done:o,value:o?void 0:a.next()}}catch(i){if(Sn.set(a,"[[Done]]",!0),i!==ep)throw i;return{done:!0,value:void 0}}}};return Sn.set(r,"[[Iterator]]",t),r},AI={}.toString,Fv=Array.isArray||function(e){return AI.call(e)=="[object Array]"},OI=String.prototype.valueOf,MI=function(t){try{return OI.call(t),!0}catch{return!1}},II=Object.prototype.toString,$I="[object String]",kI=jr(),Hv=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:kI?MI(t):II.call(t)===$I},od=typeof Map=="function"&&Map.prototype?Map:null,NI=typeof Set=="function"&&Set.prototype?Set:null,Wa;od||(Wa=function(t){return!1});var Uv=od?Map.prototype.has:null,tp=NI?Set.prototype.has:null;!Wa&&!Uv&&(Wa=function(t){return!1});var Gv=Wa||function(t){if(!t||typeof t!="object")return!1;try{if(Uv.call(t),tp)try{tp.call(t)}catch{return!0}return t instanceof od}catch{}return!1},qI=typeof Map=="function"&&Map.prototype?Map:null,id=typeof Set=="function"&&Set.prototype?Set:null,Va;id||(Va=function(t){return!1});var rp=qI?Map.prototype.has:null,Wv=id?Set.prototype.has:null;!Va&&!Wv&&(Va=function(t){return!1});var Vv=Va||function(t){if(!t||typeof t!="object")return!1;try{if(Wv.call(t),rp)try{rp.call(t)}catch{return!0}return t instanceof id}catch{}return!1},np=$v,ap=PI;if(Yc()||Kl()){var Ys=Symbol.iterator;Pa.exports=function(t){if(t!=null&&typeof t[Ys]<"u")return t[Ys]();if(np(t))return Array.prototype[Ys].call(t)}}else{var BI=Fv,jI=Hv,op=pt,DI=op("%Map%",!0),LI=op("%Set%",!0),lt=at,ip=lt("Array.prototype.push"),lp=lt("String.prototype.charCodeAt"),FI=lt("String.prototype.slice"),HI=function(t,r){var n=t.length;if(r+1>=n)return r+1;var a=lp(t,r);if(a<55296||a>56319)return r+1;var o=lp(t,r+1);return o<56320||o>57343?r+1:r+2},Ks=function(t){var r=0;return{next:function(){var a=r>=t.length,o;return a||(o=t[r],r+=1),{done:a,value:o}}}},sp=function(t,r){if(BI(t)||np(t))return Ks(t);if(jI(t)){var n=0;return{next:function(){var o=HI(t,n),i=FI(t,n,o);return n=o,{done:o>t.length,value:i}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!DI&&!LI)Pa.exports=function(t){if(t!=null)return sp(t,!0)};else{var UI=Gv,GI=Vv,up=lt("Map.prototype.forEach",!0),cp=lt("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var dp=lt("Map.prototype.iterator",!0),fp=lt("Set.prototype.iterator",!0);var pp=lt("Map.prototype.@@iterator",!0)||lt("Map.prototype._es6-shim iterator_",!0),mp=lt("Set.prototype.@@iterator",!0)||lt("Set.prototype._es6-shim iterator_",!0),WI=function(t){if(UI(t)){if(dp)return ap(dp(t));if(pp)return pp(t);if(up){var r=[];return up(t,function(a,o){ip(r,[o,a])}),Ks(r)}}if(GI(t)){if(fp)return ap(fp(t));if(mp)return mp(t);if(cp){var n=[];return cp(t,function(a){ip(n,a)}),Ks(n)}}};Pa.exports=function(t){return WI(t)||sp(t)}}}var VI=Pa.exports,hp=function(e){return e!==e},zv=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||hp(t)&&hp(r))},zI=zv,Xv=function(){return typeof Object.is=="function"?Object.is:zI},XI=Xv,YI=Br,KI=function(){var t=XI();return YI(Object,{is:t},{is:function(){return Object.is!==t}}),t},ZI=Br,JI=fn,QI=zv,Yv=Xv,e$=KI,Kv=JI(Yv(),Object);ZI(Kv,{getPolyfill:Yv,implementation:QI,shim:e$});var t$=Kv,Zv=Function.prototype.toString,Qr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ac,Aa;if(typeof Qr=="function"&&typeof Object.defineProperty=="function")try{ac=Object.defineProperty({},"length",{get:function(){throw Aa}}),Aa={},Qr(function(){throw 42},null,ac)}catch(e){e!==Aa&&(Qr=null)}else Qr=null;var r$=/^\s*class\b/,oc=function(t){try{var r=Zv.call(t);return r$.test(r)}catch{return!1}},Zs=function(t){try{return oc(t)?!1:(Zv.call(t),!0)}catch{return!1}},Oa=Object.prototype.toString,n$="[object Object]",a$="[object Function]",o$="[object GeneratorFunction]",i$="[object HTMLAllCollection]",l$="[object HTML document.all class]",s$="[object HTMLCollection]",u$=typeof Symbol=="function"&&!!Symbol.toStringTag,c$=!(0 in[,]),ic=function(){return!1};if(typeof document=="object"){var d$=document.all;Oa.call(d$)===Oa.call(document.all)&&(ic=function(t){if((c$||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Oa.call(t);return(r===i$||r===l$||r===s$||r===n$)&&t("")==null}catch{}return!1})}var f$=Qr?function(t){if(ic(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{Qr(t,null,ac)}catch(r){if(r!==Aa)return!1}return!oc(t)&&Zs(t)}:function(t){if(ic(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(u$)return Zs(t);if(oc(t))return!1;var r=Oa.call(t);return r!==a$&&r!==o$&&!/^\[object HTML/.test(r)?!1:Zs(t)},p$=f$,m$=Object.prototype.toString,Jv=Object.prototype.hasOwnProperty,h$=function(t,r,n){for(var a=0,o=t.length;a<o;a++)Jv.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},v$=function(t,r,n){for(var a=0,o=t.length;a<o;a++)n==null?r(t.charAt(a),a,t):r.call(n,t.charAt(a),a,t)},y$=function(t,r,n){for(var a in t)Jv.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},b$=function(t,r,n){if(!p$(r))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),m$.call(t)==="[object Array]"?h$(t,r,a):typeof t=="string"?v$(t,r,a):y$(t,r,a)},g$=b$,Js=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],E$=typeof globalThis>"u"?Ve:globalThis,_$=function(){for(var t=[],r=0;r<Js.length;r++)typeof E$[Js[r]]=="function"&&(t[t.length]=Js[r]);return t},za=g$,x$=_$,vp=fn,ld=at,Ma=hv,w$=ld("Object.prototype.toString"),Qv=jr(),yp=typeof globalThis>"u"?Ve:globalThis,lc=x$(),sd=ld("String.prototype.slice"),Qs=Object.getPrototypeOf,C$=ld("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},Xa={__proto__:null};Qv&&Ma&&Qs?za(lc,function(e){var t=new yp[e];if(Symbol.toStringTag in t){var r=Qs(t),n=Ma(r,Symbol.toStringTag);if(!n){var a=Qs(r);n=Ma(a,Symbol.toStringTag)}Xa["$"+e]=vp(n.get)}}):za(lc,function(e){var t=new yp[e];Xa["$"+e]=vp(t.slice)});var T$=function(t){var r=!1;return za(Xa,function(n,a){if(!r)try{"$"+n(t)===a&&(r=sd(a,1))}catch{}}),r},S$=function(t){var r=!1;return za(Xa,function(n,a){if(!r)try{n(t),r=sd(a,1)}catch{}}),r},ey=function(t){if(!t||typeof t!="object")return!1;if(!Qv){var r=sd(w$(t),8,-1);return C$(lc,r)>-1?r:r!=="Object"?!1:S$(t)}return Ma?T$(t):null},R$=ey,P$=function(t){return!!R$(t)},A$=fn,O$=at,ty=pt,M$=P$,bp=ty("ArrayBuffer",!0),gp=ty("Float32Array",!0),Ia=O$("ArrayBuffer.prototype.byteLength",!0),Ep=bp&&!Ia&&new bp().slice,_p=Ep&&A$(Ep),ry=Ia||_p?function(t){if(!t||typeof t!="object")return!1;try{return Ia?Ia(t):_p(t,0),!0}catch{return!1}}:gp?function(t){try{return new gp(t).buffer===t&&!M$(t)}catch(r){return typeof t=="object"&&r.name==="RangeError"}}:function(t){return!1},I$=Date.prototype.getDay,$$=function(t){try{return I$.call(t),!0}catch{return!1}},k$=Object.prototype.toString,N$="[object Date]",q$=jr(),B$=function(t){return typeof t!="object"||t===null?!1:q$?$$(t):k$.call(t)===N$},sc=at,ny=jr(),ay,oy,uc,cc;if(ny){ay=sc("Object.prototype.hasOwnProperty"),oy=sc("RegExp.prototype.exec"),uc={};var eu=function(){throw uc};cc={toString:eu,valueOf:eu},typeof Symbol.toPrimitive=="symbol"&&(cc[Symbol.toPrimitive]=eu)}var j$=sc("Object.prototype.toString"),D$=Object.getOwnPropertyDescriptor,L$="[object RegExp]",F$=ny?function(t){if(!t||typeof t!="object")return!1;var r=D$(t,"lastIndex"),n=r&&ay(r,"value");if(!n)return!1;try{oy(t,cc)}catch(a){return a===uc}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:j$(t)===L$},H$=at,xp=H$("SharedArrayBuffer.prototype.byteLength",!0),U$=xp?function(t){if(!t||typeof t!="object")return!1;try{return xp(t),!0}catch{return!1}}:function(t){return!1},G$=Number.prototype.toString,W$=function(t){try{return G$.call(t),!0}catch{return!1}},V$=Object.prototype.toString,z$="[object Number]",X$=jr(),Y$=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:X$?W$(t):V$.call(t)===z$},iy=at,K$=iy("Boolean.prototype.toString"),Z$=iy("Object.prototype.toString"),J$=function(t){try{return K$(t),!0}catch{return!1}},Q$="[object Boolean]",ek=jr(),tk=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:ek&&Symbol.toStringTag in t?J$(t):Z$(t)===Q$},dc={exports:{}},rk=Object.prototype.toString,nk=Yc();if(nk){var ak=Symbol.prototype.toString,ok=/^Symbol\(.*\)$/,ik=function(t){return typeof t.valueOf()!="symbol"?!1:ok.test(ak.call(t))};dc.exports=function(t){if(typeof t=="symbol")return!0;if(rk.call(t)!=="[object Symbol]")return!1;try{return ik(t)}catch{return!1}}}else dc.exports=function(t){return!1};var lk=dc.exports,fc={exports:{}},wp=typeof BigInt<"u"&&BigInt,sk=function(){return typeof wp=="function"&&typeof BigInt=="function"&&typeof wp(42)=="bigint"&&typeof BigInt(42)=="bigint"},uk=sk();if(uk){var ck=BigInt.prototype.valueOf,dk=function(t){try{return ck.call(t),!0}catch{}return!1};fc.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:dk(t)}}else fc.exports=function(t){return!1};var fk=fc.exports,pk=Hv,mk=Y$,hk=tk,vk=lk,yk=fk,bk=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(pk(t))return"String";if(mk(t))return"Number";if(hk(t))return"Boolean";if(vk(t))return"Symbol";if(yk(t))return"BigInt"},Ya=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,Cp=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Ka;Ya||(Ka=function(t){return!1});var pc=Ya?Ya.prototype.has:null,tu=Cp?Cp.prototype.has:null;!Ka&&!pc&&(Ka=function(t){return!1});var gk=Ka||function(t){if(!t||typeof t!="object")return!1;try{if(pc.call(t,pc),tu)try{tu.call(t,tu)}catch{return!0}return t instanceof Ya}catch{}return!1},mc={exports:{}},Ek=pt,ly=at,_k=Ek("%WeakSet%",!0),ru=ly("WeakSet.prototype.has",!0);if(ru){var nu=ly("WeakMap.prototype.has",!0);mc.exports=function(t){if(!t||typeof t!="object")return!1;try{if(ru(t,ru),nu)try{nu(t,nu)}catch{return!0}return t instanceof _k}catch{}return!1}}else mc.exports=function(t){return!1};var xk=mc.exports,wk=Gv,Ck=Vv,Tk=gk,Sk=xk,Rk=function(t){if(t&&typeof t=="object"){if(wk(t))return"Map";if(Ck(t))return"Set";if(Tk(t))return"WeakMap";if(Sk(t))return"WeakSet"}return!1},Pk=at,Tp=Pk("ArrayBuffer.prototype.byteLength",!0),Ak=ry,Ok=function(t){return Ak(t)?Tp?Tp(t):t.byteLength:NaN},sy=lM,wt=at,Sp=MM,Mk=pt,un=VI,Ik=Lv,Rp=t$,Pp=$v,Ap=Fv,Op=ry,Mp=B$,Ip=F$,$p=U$,kp=Xc,Np=bk,qp=Rk,Bp=ey,jp=Ok,Dp=wt("SharedArrayBuffer.prototype.byteLength",!0),Lp=wt("Date.prototype.getTime"),au=Object.getPrototypeOf,Fp=wt("Object.prototype.toString"),Za=Mk("%Set%",!0),hc=wt("Map.prototype.has",!0),Ja=wt("Map.prototype.get",!0),Hp=wt("Map.prototype.size",!0),Qa=wt("Set.prototype.add",!0),uy=wt("Set.prototype.delete",!0),eo=wt("Set.prototype.has",!0),$a=wt("Set.prototype.size",!0);function Up(e,t,r,n){for(var a=un(e),o;(o=a.next())&&!o.done;)if(ft(t,o.value,r,n))return uy(e,o.value),!0;return!1}function cy(e){if(typeof e>"u")return null;if(typeof e!="object")return typeof e=="symbol"?!1:typeof e=="string"||typeof e=="number"?+e==+e:!0}function $k(e,t,r,n,a,o){var i=cy(r);if(i!=null)return i;var s=Ja(t,i),l=sy({},a,{strict:!1});return typeof s>"u"&&!hc(t,i)||!ft(n,s,l,o)?!1:!hc(e,i)&&ft(n,s,l,o)}function kk(e,t,r){var n=cy(r);return n??(eo(t,n)&&!eo(e,n))}function Gp(e,t,r,n,a,o){for(var i=un(e),s,l;(s=i.next())&&!s.done;)if(l=s.value,ft(r,l,a,o)&&ft(n,Ja(t,l),a,o))return uy(e,l),!0;return!1}function ft(e,t,r,n){var a=r||{};if(a.strict?Rp(e,t):e===t)return!0;var o=Np(e),i=Np(t);if(o!==i)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return a.strict?Rp(e,t):e==t;var s=n.has(e),l=n.has(t),u;if(s&&l){if(n.get(e)===n.get(t))return!0}else u={};return s||n.set(e,u),l||n.set(t,u),Bk(e,t,a,n)}function Wp(e){return!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Nk(e,t,r,n){if($a(e)!==$a(t))return!1;for(var a=un(e),o=un(t),i,s,l;(i=a.next())&&!i.done;)if(i.value&&typeof i.value=="object")l||(l=new Za),Qa(l,i.value);else if(!eo(t,i.value)){if(r.strict||!kk(e,t,i.value))return!1;l||(l=new Za),Qa(l,i.value)}if(l){for(;(s=o.next())&&!s.done;)if(s.value&&typeof s.value=="object"){if(!Up(l,s.value,r.strict,n))return!1}else if(!r.strict&&!eo(e,s.value)&&!Up(l,s.value,r.strict,n))return!1;return $a(l)===0}return!0}function qk(e,t,r,n){if(Hp(e)!==Hp(t))return!1;for(var a=un(e),o=un(t),i,s,l,u,c,f;(i=a.next())&&!i.done;)if(u=i.value[0],c=i.value[1],u&&typeof u=="object")l||(l=new Za),Qa(l,u);else if(f=Ja(t,u),typeof f>"u"&&!hc(t,u)||!ft(c,f,r,n)){if(r.strict||!$k(e,t,u,c,r,n))return!1;l||(l=new Za),Qa(l,u)}if(l){for(;(s=o.next())&&!s.done;)if(u=s.value[0],f=s.value[1],u&&typeof u=="object"){if(!Gp(l,e,u,f,r,n))return!1}else if(!r.strict&&(!e.has(u)||!ft(Ja(e,u),f,r,n))&&!Gp(l,e,u,f,sy({},r,{strict:!1}),n))return!1;return $a(l)===0}return!0}function Bk(e,t,r,n){var a,o;if(typeof e!=typeof t||e==null||t==null||Fp(e)!==Fp(t)||Pp(e)!==Pp(t))return!1;var i=Ap(e),s=Ap(t);if(i!==s)return!1;var l=e instanceof Error,u=t instanceof Error;if(l!==u||(l||u)&&(e.name!==t.name||e.message!==t.message))return!1;var c=Ip(e),f=Ip(t);if(c!==f||(c||f)&&(e.source!==t.source||Sp(e)!==Sp(t)))return!1;var m=Mp(e),d=Mp(t);if(m!==d||(m||d)&&Lp(e)!==Lp(t)||r.strict&&au&&au(e)!==au(t))return!1;var y=Bp(e),v=Bp(t);if(y!==v)return!1;if(y||v){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var S=Wp(e),h=Wp(t);if(S!==h)return!1;if(S||h){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var _=Op(e),C=Op(t);if(_!==C)return!1;if(_||C)return jp(e)!==jp(t)?!1:typeof Uint8Array=="function"&&ft(new Uint8Array(e),new Uint8Array(t),r,n);var R=$p(e),w=$p(t);if(R!==w)return!1;if(R||w)return Dp(e)!==Dp(t)?!1:typeof Uint8Array=="function"&&ft(new Uint8Array(e),new Uint8Array(t),r,n);if(typeof e!=typeof t)return!1;var x=kp(e),P=kp(t);if(x.length!==P.length)return!1;for(x.sort(),P.sort(),a=x.length-1;a>=0;a--)if(x[a]!=P[a])return!1;for(a=x.length-1;a>=0;a--)if(o=x[a],!ft(e[o],t[o],r,n))return!1;var A=qp(e),H=qp(t);return A!==H?!1:A==="Set"||H==="Set"?Nk(e,t,r,n):A==="Map"?qk(e,t,r,n):!0}var jk=function(t,r,n){return ft(t,r,n,Ik())};Object.defineProperty(Yl,"__esModule",{value:!0});Yl.default=void 0;var Dk=ud(jk),Lk=ud(qr),dy=ud(dn);function ud(e){return e&&e.__esModule?e:{default:e}}function ou(e,t){return Uk(e)||Hk(e,t)||fy(e,t)||Fk()}function Fk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
94
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hk(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,i,s;try{for(r=r.call(e);!(a=(i=r.next()).done)&&(n.push(i.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,s=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function Uk(e){if(Array.isArray(e))return e}function Gk(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=fy(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
95
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){i=!0,s=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function fy(e,t){if(e){if(typeof e=="string")return Vp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vp(e,t)}}function Vp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var tr=[],zp=dy.default.keys();for(var iu=0;iu<zp.length;iu++){var lu=zp[iu],su=dy.default.get(lu);if(su)for(var Xp=[].concat(su.baseConcepts,su.relatedConcepts),uu=0;uu<Xp.length;uu++){var Yp=Xp[uu];if(Yp.module==="HTML"){var cu=Yp.concept;cu&&function(){var e=JSON.stringify(cu),t=tr.find(function(o){return JSON.stringify(o[0])===e}),r=void 0;t?r=t[1]:r=[];for(var n=!0,a=0;a<r.length;a++)if(r[a]===lu){n=!1;break}n&&r.push(lu),tr.push([cu,r])}()}}}var vc={entries:function(){return tr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Gk(tr),a;try{for(n.s();!(a=n.n()).done;){var o=ou(a.value,2),i=o[0],s=o[1];t.call(r,s,i,tr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=tr.find(function(n){return(0,Dk.default)(t,n[0])});return r&&r[1]},has:function(t){return!!vc.get(t)},keys:function(){return tr.map(function(t){var r=ou(t,1),n=r[0];return n})},values:function(){return tr.map(function(t){var r=ou(t,2),n=r[1];return n})}},Wk=(0,Lk.default)(vc,vc.entries());Yl.default=Wk;var Jl={};Object.defineProperty(Jl,"__esModule",{value:!0});Jl.default=void 0;var Vk=my(qr),py=my(dn);function my(e){return e&&e.__esModule?e:{default:e}}function du(e,t){return Yk(e)||Xk(e,t)||hy(e,t)||zk()}function zk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
96
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xk(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,i,s;try{for(r=r.call(e);!(a=(i=r.next()).done)&&(n.push(i.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,s=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function Yk(e){if(Array.isArray(e))return e}function Kk(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=hy(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
97
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){i=!0,s=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function hy(e,t){if(e){if(typeof e=="string")return Kp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kp(e,t)}}function Kp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var rr=[],vy=py.default.keys(),Zk=function(t){var r=vy[t],n=py.default.get(r);if(n)for(var a=[].concat(n.baseConcepts,n.relatedConcepts),o=0;o<a.length;o++){var i=a[o];if(i.module==="HTML"){var s=i.concept;if(s){var l=rr.find(function(c){return c[0]===r}),u=void 0;l?u=l[1]:u=[],u.push(s),rr.push([r,u])}}}};for(var fu=0;fu<vy.length;fu++)Zk(fu);var yc={entries:function(){return rr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Kk(rr),a;try{for(n.s();!(a=n.n()).done;){var o=du(a.value,2),i=o[0],s=o[1];t.call(r,s,i,rr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=rr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!yc.get(t)},keys:function(){return rr.map(function(t){var r=du(t,1),n=r[0];return n})},values:function(){return rr.map(function(t){var r=du(t,2),n=r[1];return n})}},Jk=(0,Vk.default)(yc,yc.entries());Jl.default=Jk;Object.defineProperty(dt,"__esModule",{value:!0});var st=dt.roles=by=dt.roleElements=yy=dt.elementRoles=dt.dom=dt.aria=void 0,Qk=Yn(mo),eN=Yn(vo),tN=Yn(dn),rN=Yn(Yl),nN=Yn(Jl);function Yn(e){return e&&e.__esModule?e:{default:e}}var aN=Qk.default;dt.aria=aN;var oN=eN.default;dt.dom=oN;var iN=tN.default;st=dt.roles=iN;var lN=rN.default,yy=dt.elementRoles=lN,sN=nN.default,by=dt.roleElements=sN,cd={exports:{}};cd.exports;(function(e){var t=function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function i(l,u){if(!o[l]){o[l]={};for(var c=0;c<l.length;c++)o[l][l.charAt(c)]=c}return o[l][u]}var s={compressToBase64:function(l){if(l==null)return"";var u=s._compress(l,6,function(c){return n.charAt(c)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:s._decompress(l.length,32,function(u){return i(n,l.charAt(u))})},compressToUTF16:function(l){return l==null?"":s._compress(l,15,function(u){return r(u+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:s._decompress(l.length,16384,function(u){return l.charCodeAt(u)-32})},compressToUint8Array:function(l){for(var u=s.compress(l),c=new Uint8Array(u.length*2),f=0,m=u.length;f<m;f++){var d=u.charCodeAt(f);c[f*2]=d>>>8,c[f*2+1]=d%256}return c},decompressFromUint8Array:function(l){if(l==null)return s.decompress(l);for(var u=new Array(l.length/2),c=0,f=u.length;c<f;c++)u[c]=l[c*2]*256+l[c*2+1];var m=[];return u.forEach(function(d){m.push(r(d))}),s.decompress(m.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":s._compress(l,6,function(u){return a.charAt(u)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),s._decompress(l.length,32,function(u){return i(a,l.charAt(u))}))},compress:function(l){return s._compress(l,16,function(u){return r(u)})},_compress:function(l,u,c){if(l==null)return"";var f,m,d={},y={},v="",S="",h="",_=2,C=3,R=2,w=[],x=0,P=0,A;for(A=0;A<l.length;A+=1)if(v=l.charAt(A),Object.prototype.hasOwnProperty.call(d,v)||(d[v]=C++,y[v]=!0),S=h+v,Object.prototype.hasOwnProperty.call(d,S))h=S;else{if(Object.prototype.hasOwnProperty.call(y,h)){if(h.charCodeAt(0)<256){for(f=0;f<R;f++)x=x<<1,P==u-1?(P=0,w.push(c(x)),x=0):P++;for(m=h.charCodeAt(0),f=0;f<8;f++)x=x<<1|m&1,P==u-1?(P=0,w.push(c(x)),x=0):P++,m=m>>1}else{for(m=1,f=0;f<R;f++)x=x<<1|m,P==u-1?(P=0,w.push(c(x)),x=0):P++,m=0;for(m=h.charCodeAt(0),f=0;f<16;f++)x=x<<1|m&1,P==u-1?(P=0,w.push(c(x)),x=0):P++,m=m>>1}_--,_==0&&(_=Math.pow(2,R),R++),delete y[h]}else for(m=d[h],f=0;f<R;f++)x=x<<1|m&1,P==u-1?(P=0,w.push(c(x)),x=0):P++,m=m>>1;_--,_==0&&(_=Math.pow(2,R),R++),d[S]=C++,h=String(v)}if(h!==""){if(Object.prototype.hasOwnProperty.call(y,h)){if(h.charCodeAt(0)<256){for(f=0;f<R;f++)x=x<<1,P==u-1?(P=0,w.push(c(x)),x=0):P++;for(m=h.charCodeAt(0),f=0;f<8;f++)x=x<<1|m&1,P==u-1?(P=0,w.push(c(x)),x=0):P++,m=m>>1}else{for(m=1,f=0;f<R;f++)x=x<<1|m,P==u-1?(P=0,w.push(c(x)),x=0):P++,m=0;for(m=h.charCodeAt(0),f=0;f<16;f++)x=x<<1|m&1,P==u-1?(P=0,w.push(c(x)),x=0):P++,m=m>>1}_--,_==0&&(_=Math.pow(2,R),R++),delete y[h]}else for(m=d[h],f=0;f<R;f++)x=x<<1|m&1,P==u-1?(P=0,w.push(c(x)),x=0):P++,m=m>>1;_--,_==0&&(_=Math.pow(2,R),R++)}for(m=2,f=0;f<R;f++)x=x<<1|m&1,P==u-1?(P=0,w.push(c(x)),x=0):P++,m=m>>1;for(;;)if(x=x<<1,P==u-1){w.push(c(x));break}else P++;return w.join("")},decompress:function(l){return l==null?"":l==""?null:s._decompress(l.length,32768,function(u){return l.charCodeAt(u)})},_decompress:function(l,u,c){var f=[],m=4,d=4,y=3,v="",S=[],h,_,C,R,w,x,P,A={val:c(0),position:u,index:1};for(h=0;h<3;h+=1)f[h]=h;for(C=0,w=Math.pow(2,2),x=1;x!=w;)R=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(R>0?1:0)*x,x<<=1;switch(C){case 0:for(C=0,w=Math.pow(2,8),x=1;x!=w;)R=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(R>0?1:0)*x,x<<=1;P=r(C);break;case 1:for(C=0,w=Math.pow(2,16),x=1;x!=w;)R=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(R>0?1:0)*x,x<<=1;P=r(C);break;case 2:return""}for(f[3]=P,_=P,S.push(P);;){if(A.index>l)return"";for(C=0,w=Math.pow(2,y),x=1;x!=w;)R=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(R>0?1:0)*x,x<<=1;switch(P=C){case 0:for(C=0,w=Math.pow(2,8),x=1;x!=w;)R=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(R>0?1:0)*x,x<<=1;f[d++]=r(C),P=d-1,m--;break;case 1:for(C=0,w=Math.pow(2,16),x=1;x!=w;)R=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(R>0?1:0)*x,x<<=1;f[d++]=r(C),P=d-1,m--;break;case 2:return S.join("")}if(m==0&&(m=Math.pow(2,y),y++),f[P])v=f[P];else if(P===d)v=_+_.charAt(0);else return null;S.push(v),f[d++]=_+v.charAt(0),m--,_=v,m==0&&(m=Math.pow(2,y),y++)}}};return s}();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(cd);var uN=cd.exports;const cN=Gn(uN);function gy(e){return e.replace(/</g,"<").replace(/>/g,">")}const dN=(e,t,r,n,a,o,i)=>{const s=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let f=i(c,r,s,a,o);return typeof c!="string"&&(f.indexOf(`
|
|
98
|
+
`)!==-1&&(f=r.spacingOuter+s+f+r.spacingOuter+n),f="{"+f+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+f+l.value.close}).join("")},fN=3,pN=(e,t,r,n,a,o)=>e.map(i=>{const s=typeof i=="string"?Ey(i,t):o(i,t,r,n,a);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==fN?"":t.spacingOuter+r+s}).join(""),Ey=(e,t)=>{const r=t.colors.content;return r.open+gy(e)+r.close},mN=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+gy(e)+"-->"+r.close},hN=(e,t,r,n,a)=>{const o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},vN=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},yN=1,_y=3,xy=8,wy=11,bN=/^((HTML|SVG)\w*)?Element$/,gN=e=>{const t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is");return r===yN&&(bN.test(t)||a)||r===_y&&t==="Text"||r===xy&&t==="Comment"||r===wy&&t==="DocumentFragment"};function EN(e){return e.nodeType===_y}function _N(e){return e.nodeType===xy}function pu(e){return e.nodeType===wy}function xN(e){return{test:t=>{var r;return(t==null||(r=t.constructor)==null?void 0:r.name)&&gN(t)},serialize:(t,r,n,a,o,i)=>{if(EN(t))return Ey(t.data,r);if(_N(t))return mN(t.data,r);const s=pu(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?vN(s,r):hN(s,dN(pu(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),pu(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,a,o,i),pN(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,i),r,n)}}}let Cy=null,dd=null,fd=null;try{const e=module&&q_;dd=e.call(module,"fs").readFileSync,fd=e.call(module,"@babel/code-frame").codeFrameColumns,Cy=e.call(module,"chalk")}catch{}function wN(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,i,s]=[a[0],parseInt(a[1],10),parseInt(a[2],10)];let l="";try{l=dd(o,"utf-8")}catch{return""}const u=fd(l,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return Cy.dim(n)+`
|
|
99
99
|
`+u+`
|
|
100
|
-
`}function
|
|
101
|
-
`).slice(1).find(r=>!r.includes("node_modules/"));return
|
|
100
|
+
`}function CN(){if(!dd||!fd)return"";const t=new Error().stack.split(`
|
|
101
|
+
`).slice(1).find(r=>!r.includes("node_modules/"));return wN(t)}const Ty=3;function mu(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function pd(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Sy(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 Gt(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 "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const TN=()=>{let e;try{var t,r;e=JSON.parse((t=process)==null||(r=t.env)==null?void 0:r.COLORS)}catch{}return typeof e=="boolean"?e:typeof process<"u"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:SN}=Uh,RN=1,PN=8;function AN(e){return e.nodeType!==PN&&(e.nodeType!==RN||!e.matches(me().defaultIgnore))}function to(e,t,r){if(r===void 0&&(r={}),e||(e=pd().body),typeof t!="number"&&(t=typeof process<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);const{filterNode:a=AN,...o}=r,i=F0(e,{plugins:[xN(a),SN],printFunctionName:!1,highlight:TN(),...o});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}const Zp=function(){const e=CN();console.log(e?to(...arguments)+`
|
|
102
102
|
|
|
103
103
|
`+e:to(...arguments))};let Ar={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,t){const r=to(t),n=new Error([e,"Ignored nodes: comments, "+Ar.defaultIgnore+`
|
|
104
104
|
`+r].filter(Boolean).join(`
|
|
105
105
|
|
|
106
|
-
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function
|
|
107
|
-
`,m=to(c.cloneNode(!1));if(n){const
|
|
108
|
-
`;return""+d+
|
|
106
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function ON(e){try{return Ar._disableExpensiveErrorDiagnostics=!0,e()}finally{Ar._disableExpensiveErrorDiagnostics=!1}}function MN(e){typeof e=="function"&&(e=e(Ar)),Ar={...Ar,...e}}function me(){return Ar}const IN=["button","meter","output","progress","select","textarea","input"];function Ry(e){return IN.includes(e.nodeName.toLowerCase())?"":e.nodeType===Ty?e.textContent:Array.from(e.childNodes).map(t=>Ry(t)).join("")}function bc(e){let t;return e.tagName.toLowerCase()==="label"?t=Ry(e):t=e.value||e.textContent,t}function Py(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!$N(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function $N(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Ay(e,t,r){let{selector:n="*"}=r===void 0?{}:r;const a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(i=>{const s=e.querySelector('[id="'+i+'"]');return s?{content:bc(s),formControl:null}:{content:"",formControl:null}}):Array.from(Py(t)).map(i=>{const s=bc(i),l="button, input, meter, output, progress, select, textarea",u=Array.from(i.querySelectorAll(l)).filter(c=>c.matches(n))[0];return{content:s,formControl:u}})}function Oy(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 mn(e,t,r,n){if(typeof e!="string")return!1;Oy(r);const a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):Iy(r,a)}function Ht(e,t,r,n){if(typeof e!="string")return!1;Oy(r);const a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?Iy(r,a):a===String(r)}function My(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function Dr(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return My({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"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 n}function Iy(e,t){const r=e.test(t);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),r}function Ql(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Ty&&!!t.textContent).map(t=>t.textContent).join("")}const kN=NN(yy);function $y(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function md(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=$y}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let a=e;for(;a;){if(r(a))return!0;a=a.parentElement}return!1}function hd(e){for(const{match:t,roles:r}of kN)if(t(e))return[...r];return[]}function NN(e){function t(i){let{name:s,attributes:l}=i;return""+s+l.map(u=>{let{name:c,value:f,constraints:m=[]}=u;return m.indexOf("undefined")!==-1?":not(["+c+"])":f?"["+c+'="'+f+'"]':"["+c+"]"}).join("")}function r(i){let{attributes:s=[]}=i;return s.length}function n(i,s){let{specificity:l}=i,{specificity:u}=s;return u-l}function a(i){let{attributes:s=[]}=i;const l=s.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);const u=t({...i,attributes:s});return c=>l>=0&&c.type!=="text"?!1:c.matches(u)}let o=[];for(const[i,s]of e.entries())o=[...o,{match:a(i),roles:Array.from(s),specificity:r(i)}];return o.sort(n)}function qN(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,i)=>[...o,...n(i)],[])]}return n(e).filter(a=>r===!1?md(a)===!1:!0).reduce((a,o)=>{let i=[];return o.hasAttribute("role")?i=o.getAttribute("role").split(" ").slice(0,1):i=hd(o),i.reduce((s,l)=>Array.isArray(s[l])?{...s,[l]:[...s[l],o]}:{...s,[l]:[o]},a)},{})}function BN(e,t){let{hidden:r,includeDescription:n}=t;const a=qN(e,{hidden:r});return Object.entries(a).filter(o=>{let[i]=o;return i!=="generic"}).map(o=>{let[i,s]=o;const l="-".repeat(50),u=s.map(c=>{const f='Name "'+Vc(c,{computedStyleSupportsPseudoElements:me().computedStyleSupportsPseudoElements})+`":
|
|
107
|
+
`,m=to(c.cloneNode(!1));if(n){const d='Description "'+sv(c,{computedStyleSupportsPseudoElements:me().computedStyleSupportsPseudoElements})+`":
|
|
108
|
+
`;return""+f+d+m}return""+f+m}).join(`
|
|
109
109
|
|
|
110
110
|
`);return i+`:
|
|
111
111
|
|
|
112
112
|
`+u+`
|
|
113
113
|
|
|
114
114
|
`+l}).join(`
|
|
115
|
-
`)}function
|
|
115
|
+
`)}function jN(e){return e.tagName==="OPTION"?e.selected:Kn(e,"aria-selected")}function DN(e){return e.getAttribute("aria-busy")==="true"}function LN(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Kn(e,"aria-checked")}function FN(e){return Kn(e,"aria-pressed")}function HN(e){var t,r;return(t=(r=Kn(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function UN(e){return Kn(e,"aria-expanded")}function Kn(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function GN(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function WN(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function VN(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function zN(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function XN(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const Jp=My();function YN(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Qp(e){return new RegExp(YN(e.toLowerCase()),"i")}function Xt(e,t,r,n){let{variant:a,name:o}=n,i="";const s={},l=[["Role","TestId"].includes(e)?r:Qp(r)];o&&(s.name=Qp(o)),e==="Role"&&md(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
116
116
|
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
117
|
-
`),Object.keys(s).length>0&&l.push(s);const u=a+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:a,warning:i,toString(){i&&console.warn(i);let[c,
|
|
117
|
+
`),Object.keys(s).length>0&&l.push(s);const u=a+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:a,warning:i,toString(){i&&console.warn(i);let[c,f]=l;return c=typeof c=="string"?"'"+c+"'":c,f=f?", { "+Object.entries(f).map(m=>{let[d,y]=m;return d+": "+y}).join(", ")+" }":"",u+"("+c+f+")"}}}function Yt(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function gc(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(me().defaultIgnore))return;const o=(n=e.getAttribute("role"))!=null?n:(a=hd(e))==null?void 0:a[0];if(o!=="generic"&&Yt("Role",r,o))return Xt("Role",e,o,{variant:t,name:Vc(e,{computedStyleSupportsPseudoElements:me().computedStyleSupportsPseudoElements})});const i=Ay(document,e).map(m=>m.content).join(" ");if(Yt("LabelText",r,i))return Xt("LabelText",e,i,{variant:t});const s=e.getAttribute("placeholder");if(Yt("PlaceholderText",r,s))return Xt("PlaceholderText",e,s,{variant:t});const l=Jp(Ql(e));if(Yt("Text",r,l))return Xt("Text",e,l,{variant:t});if(Yt("DisplayValue",r,e.value))return Xt("DisplayValue",e,Jp(e.value),{variant:t});const u=e.getAttribute("alt");if(Yt("AltText",r,u))return Xt("AltText",e,u,{variant:t});const c=e.getAttribute("title");if(Yt("Title",r,c))return Xt("Title",e,c,{variant:t});const f=e.getAttribute(me().testIdAttribute);if(Yt("TestId",r,f))return Xt("TestId",e,f,{variant:t})}function ba(e,t){e.stack=t.stack.replace(t.message,e.message)}function KN(e,t){let{container:r=pd(),timeout:n=me().asyncUtilTimeout,showOriginalStackTrace:a=me().showOriginalStackTrace,stackTraceError:o,interval:i=50,onTimeout:s=u=>(u.message=me().getElementError(u.message,r).message,u),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(u,c)=>{let f,m,d,y=!1,v="idle";const S=setTimeout(w,n),h=mu();if(h){const{unstable_advanceTimersWrapper:x}=me();for(R();!y;){if(!mu()){const P=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");a||ba(P,o),c(P);return}if(await x(async()=>{jest.advanceTimersByTime(i)}),R(),y)break}}else{try{Gt(r)}catch(P){c(P);return}m=setInterval(C,i);const{MutationObserver:x}=Sy(r);d=new x(C),d.observe(r,l),R()}function _(x,P){y=!0,clearTimeout(S),h||(clearInterval(m),d.disconnect()),x?c(x):u(P)}function C(){if(mu()){const x=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 a||ba(x,o),c(x)}else return R()}function R(){if(v!=="pending")try{const x=ON(e);typeof(x==null?void 0:x.then)=="function"?(v="pending",x.then(P=>{v="resolved",_(null,P)},P=>{v="rejected",f=P})):_(null,x)}catch(x){f=x}}function w(){let x;f?(x=f,!a&&x.name==="TestingLibraryElementError"&&ba(x,o)):(x=new Error("Timed out in waitFor."),a||ba(x,o)),_(s(x),null)}})}function ZN(e,t){const r=new Error("STACK_TRACE_MESSAGE");return me().asyncWrapper(()=>KN(e,{stackTraceError:r,...t}))}function ky(e,t){return me().getElementError(e,t)}function JN(e,t){return ky(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function es(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:i,normalizer:s}=n===void 0?{}:n;const l=a?Ht:mn,u=Dr({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>l(c.getAttribute(e),c,r,u))}function ro(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const i=e(r,...a);if(i.length>1){const s=i.map(l=>ky(null,l).message).join(`
|
|
118
118
|
|
|
119
|
-
`);throw
|
|
119
|
+
`);throw JN(t(r,...a)+`
|
|
120
120
|
|
|
121
121
|
Here are the matching elements:
|
|
122
122
|
|
|
123
|
-
`+s,r)}return i[0]||null}}function
|
|
123
|
+
`+s,r)}return i[0]||null}}function Ny(e,t){return me().getElementError(`A better query is available, try this:
|
|
124
124
|
`+e.toString()+`
|
|
125
|
-
`,t)}function
|
|
125
|
+
`,t)}function QN(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const i=e(r,...a);if(!i.length)throw me().getElementError(t(r,...a),r);return i}}function no(e){return(t,r,n,a)=>ZN(()=>e(t,r,n),{container:t,...a})}const rn=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];const s=e(n,...o),[{suggest:l=me().throwSuggestions}={}]=o.slice(-1);if(s&&l){const u=gc(s,r);if(u&&!t.endsWith(u.queryName))throw Ny(u.toString(),n)}return s},et=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];const s=e(n,...o),[{suggest:l=me().throwSuggestions}={}]=o.slice(-1);if(s.length&&l){const u=[...new Set(s.map(c=>{var f;return(f=gc(c,r))==null?void 0:f.toString()}))];if(u.length===1&&!t.endsWith(gc(s[0],r).queryName))throw Ny(u[0],n)}return s};function Lr(e,t,r){const n=rn(ro(e,t),e.name,"query"),a=QN(e,r),o=ro(a,t),i=rn(o,e.name,"get"),s=et(a,e.name.replace("query","get"),"getAll"),l=no(et(a,e.name,"findAll")),u=no(rn(o,e.name,"find"));return[n,s,i,l,u]}function eq(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:bc(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const tq=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:i}=r===void 0?{}:r;const s=n?Ht:mn,l=Dr({collapseWhitespace:o,trim:a,normalizer:i});return eq(e).filter(c=>{let{node:f,textToMatch:m}=c;return s(m,f,t,l)}).map(c=>{let{node:f}=c;return f})},jn=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Gt(e);const l=a?Ht:mn,u=Dr({collapseWhitespace:o,trim:i,normalizer:s}),c=Array.from(e.querySelectorAll("*")).filter(f=>Py(f).length||f.hasAttribute("aria-labelledby")).reduce((f,m)=>{const d=Ay(e,m,{selector:n});d.filter(v=>!!v.formControl).forEach(v=>{l(v.content,v.formControl,t,u)&&v.formControl&&f.push(v.formControl)});const y=d.filter(v=>!!v.content).map(v=>v.content);return l(y.join(" "),m,t,u)&&f.push(m),y.length>1&&y.forEach((v,S)=>{l(v,m,t,u)&&f.push(m);const h=[...y];h.splice(S,1),h.length>1&&l(h.join(" "),m,t,u)&&f.push(m)}),f},[]).concat(es("aria-label",e,t,{exact:a,normalizer:u}));return Array.from(new Set(c)).filter(f=>f.matches(n))},Ir=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];const o=jn(e,t,...n);if(!o.length){const i=tq(e,t,...n);if(i.length){const s=i.map(l=>rq(e,l)).filter(l=>!!l);throw s.length?me().getElementError(s.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
126
126
|
|
|
127
|
-
`),e):me().getElementError("Found a label with the text of: "+t+`, 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 me().getElementError("Unable to find a label with the text of: "+t,e)}return o};function
|
|
127
|
+
`),e):me().getElementError("Found a label with the text of: "+t+`, 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 me().getElementError("Unable to find a label with the text of: "+t,e)}return o};function rq(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const qy=(e,t)=>"Found multiple elements with the text of: "+t,nq=rn(ro(jn,qy),jn.name,"query"),By=ro(Ir,qy),aq=no(et(Ir,Ir.name,"findAll")),oq=no(rn(By,Ir.name,"find")),iq=et(Ir,Ir.name,"getAll"),lq=rn(By,Ir.name,"get"),sq=et(jn,jn.name,"queryAll"),Ec=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Gt(t[0]),es("placeholder",...t)},uq=(e,t)=>"Found multiple elements with the placeholder text of: "+t,cq=(e,t)=>"Unable to find an element with the placeholder text of: "+t,dq=et(Ec,Ec.name,"queryAll"),[fq,pq,mq,hq,vq]=Lr(Ec,uq,cq),_c=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,ignore:s=me().defaultIgnore,normalizer:l}=r===void 0?{}:r;Gt(e);const u=a?Ht:mn,c=Dr({collapseWhitespace:o,trim:i,normalizer:l});let f=[];return typeof e.matches=="function"&&e.matches(n)&&(f=[e]),[...f,...Array.from(e.querySelectorAll(n))].filter(m=>!s||!m.matches(s)).filter(m=>u(Ql(m),m,t,c))},yq=(e,t)=>"Found multiple elements with the text: "+t,bq=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:a,normalizer:o,selector:i}=r,l=Dr({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=l!==t.toString(),c=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+i+"'":"")+". 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."},gq=et(_c,_c.name,"queryAll"),[Eq,_q,xq,wq,Cq]=Lr(_c,yq,bq),xc=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Gt(e);const s=n?Ht:mn,l=Dr({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(f=>f.selected).some(f=>s(Ql(f),f,t,l)):s(u.value,u,t,l))},Tq=(e,t)=>"Found multiple elements with the display value: "+t+".",Sq=(e,t)=>"Unable to find an element with the display value: "+t+".",Rq=et(xc,xc.name,"queryAll"),[Pq,Aq,Oq,Mq,Iq]=Lr(xc,Tq,Sq),$q=/^(img|input|area|.+-.+)$/i,wc=function(e,t,r){return r===void 0&&(r={}),Gt(e),es("alt",e,t,r).filter(n=>$q.test(n.tagName))},kq=(e,t)=>"Found multiple elements with the alt text: "+t,Nq=(e,t)=>"Unable to find an element with the alt text: "+t,qq=et(wc,wc.name,"queryAll"),[Bq,jq,Dq,Lq,Fq]=Lr(wc,kq,Nq),Hq=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Cc=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Gt(e);const s=n?Ht:mn,l=Dr({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>s(u.getAttribute("title"),u,t,l)||Hq(u)&&s(Ql(u),u,t,l))},Uq=(e,t)=>"Found multiple elements with the title: "+t+".",Gq=(e,t)=>"Unable to find an element with the title: "+t+".",Wq=et(Cc,Cc.name,"queryAll"),[Vq,zq,Xq,Yq,Kq]=Lr(Cc,Uq,Gq),Tc=function(e,t,r){let{hidden:n=me().defaultHidden,name:a,description:o,queryFallbacks:i=!1,selected:s,busy:l,checked:u,pressed:c,current:f,level:m,expanded:d,value:{now:y,min:v,max:S,text:h}={}}=r===void 0?{}:r;if(Gt(e),s!==void 0){var _;if(((_=st.get(t))==null?void 0:_.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var C;if(((C=st.get(t))==null?void 0:C.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var R;if(((R=st.get(t))==null?void 0:R.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var w;if(((w=st.get(t))==null?void 0:w.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(f!==void 0){var x;if(((x=st.get(t))==null?void 0:x.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(m!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(y!==void 0){var P;if(((P=st.get(t))==null?void 0:P.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(S!==void 0){var A;if(((A=st.get(t))==null?void 0:A.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(v!==void 0){var H;if(((H=st.get(t))==null?void 0:H.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(h!==void 0){var z;if(((z=st.get(t))==null?void 0:z.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(d!==void 0){var ne;if(((ne=st.get(t))==null?void 0:ne.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const ie=new WeakMap;function B(G){return ie.has(G)||ie.set(G,$y(G)),ie.get(G)}return Array.from(e.querySelectorAll(Zq(t))).filter(G=>{if(G.hasAttribute("role")){const ye=G.getAttribute("role");if(i)return ye.split(" ").filter(Boolean).some(Fe=>Fe===t);const[Te]=ye.split(" ");return Te===t}return hd(G).some(ye=>ye===t)}).filter(G=>{if(s!==void 0)return s===jN(G);if(l!==void 0)return l===DN(G);if(u!==void 0)return u===LN(G);if(c!==void 0)return c===FN(G);if(f!==void 0)return f===HN(G);if(d!==void 0)return d===UN(G);if(m!==void 0)return m===GN(G);if(y!==void 0||S!==void 0||v!==void 0||h!==void 0){let pe=!0;if(y!==void 0&&pe&&(pe=y===WN(G)),S!==void 0&&pe&&(pe=S===VN(G)),v!==void 0&&pe&&(pe=v===zN(G)),h!==void 0){var Ee;pe&&(pe=Ht((Ee=XN(G))!=null?Ee:null,G,h,ye=>ye))}return pe}return!0}).filter(G=>a===void 0?!0:Ht(Vc(G,{computedStyleSupportsPseudoElements:me().computedStyleSupportsPseudoElements}),G,a,Ee=>Ee)).filter(G=>o===void 0?!0:Ht(sv(G,{computedStyleSupportsPseudoElements:me().computedStyleSupportsPseudoElements}),G,o,Ee=>Ee)).filter(G=>n===!1?md(G,{isSubtreeInaccessible:B})===!1:!0)};function Zq(e){var t;const r='*[role~="'+e+'"]',n=(t=by.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:i}=o;return i}));return[r].concat(Array.from(a)).join(",")}const jy=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Jq=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+jy(n)},Qq=function(e,t,r){let{hidden:n=me().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(me()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+jy(a);let i="";Array.from(e.children).forEach(c=>{i+=BN(c,{hidden:n,includeDescription:o!==void 0})});let s;i.length===0?n===!1?s="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":s="There are no available roles.":s=(`
|
|
128
128
|
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
129
129
|
|
|
130
130
|
`+i.replace(/\n/g,`
|
|
@@ -134,27 +134,27 @@ Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
|
134
134
|
`).trim();let l="";a===void 0?l="":typeof a=="string"?l=' and name "'+a+'"':l=" and name `"+a+"`";let u="";return o===void 0?u="":typeof o=="string"?u=' and description "'+o+'"':u=" and description `"+o+"`",(`
|
|
135
135
|
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+u+`
|
|
136
136
|
|
|
137
|
-
`+s).trim()},Wq=et(Cc,Cc.name,"queryAll"),[Vq,zq,Xq,Yq,Kq]=Lr(Cc,Uq,Gq),vf=()=>me().testIdAttribute,Tc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Gt(t[0]),es(vf(),...t)},Zq=(e,t)=>"Found multiple elements by: ["+vf()+'="'+t+'"]',Jq=(e,t)=>"Unable to find an element by: ["+vf()+'="'+t+'"]',Qq=et(Tc,Tc.name,"queryAll"),[eB,tB,rB,nB,aB]=Lr(Tc,Zq,Jq);var Rc=Object.freeze({__proto__:null,queryAllByLabelText:QN,queryByLabelText:XN,getAllByLabelText:ZN,getByLabelText:JN,findAllByLabelText:YN,findByLabelText:KN,queryByPlaceholderText:nq,queryAllByPlaceholderText:rq,getByPlaceholderText:oq,getAllByPlaceholderText:aq,findAllByPlaceholderText:iq,findByPlaceholderText:lq,queryByText:fq,queryAllByText:cq,getByText:pq,getAllByText:dq,findAllByText:mq,findByText:hq,queryByDisplayValue:gq,queryAllByDisplayValue:bq,getByDisplayValue:Eq,getAllByDisplayValue:_q,findAllByDisplayValue:wq,findByDisplayValue:xq,queryByAltText:Pq,queryAllByAltText:Sq,getByAltText:Oq,getAllByAltText:Aq,findAllByAltText:Iq,findByAltText:Mq,queryByTitle:Bq,queryAllByTitle:qq,getByTitle:Dq,getAllByTitle:jq,findAllByTitle:Lq,findByTitle:Fq,queryByRole:Vq,queryAllByRole:Wq,getAllByRole:zq,getByRole:Xq,findAllByRole:Yq,findByRole:Kq,queryByTestId:eB,queryAllByTestId:Qq,getByTestId:rB,getAllByTestId:tB,findAllByTestId:nB,findByTestId:aB});function oB(e,t,r){return t===void 0&&(t=Rc),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{const o=t[a];return n[a]=o.bind(null,e),n},r)}const Zp={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}}},Jp={doubleClick:"dblClick"};function Dn(e,t){return me().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function hu(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const i={...o,...r},{target:{value:s,files:l,...u}={}}=i;s!==void 0&&iB(t,s),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,u);const c=xy(t),d=c[a]||c.Event;let m;if(typeof d=="function")m=new d(e,i);else{m=c.document.createEvent(a);const{bubbles:y,cancelable:v,detail:R,...h}=i;m.initEvent(e,y,v,R),Object.keys(h).forEach(E=>{m[E]=h[E]})}return["dataTransfer","clipboardData"].forEach(y=>{const v=i[y];typeof v=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(m,y,{value:Object.getOwnPropertyNames(v).reduce((R,h)=>(Object.defineProperty(R,h,{value:v[h]}),R),new c.DataTransfer)}):Object.defineProperty(m,y,{value:v}))}),m}Object.keys(Zp).forEach(e=>{const{EventType:t,defaultInit:r}=Zp[e],n=e.toLowerCase();hu[e]=(a,o)=>hu(n,a,o,{EventType:t,defaultInit:r}),Dn[e]=(a,o)=>Dn(a,hu[e](a,o))});function iB(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Jp).forEach(e=>{const t=Jp[e];Dn[e]=function(){return Dn[t](...arguments)}});function lB(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
138
|
-
`)}function
|
|
137
|
+
`+s).trim()},eB=et(Tc,Tc.name,"queryAll"),[tB,rB,nB,aB,oB]=Lr(Tc,Jq,Qq),vd=()=>me().testIdAttribute,Sc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Gt(t[0]),es(vd(),...t)},iB=(e,t)=>"Found multiple elements by: ["+vd()+'="'+t+'"]',lB=(e,t)=>"Unable to find an element by: ["+vd()+'="'+t+'"]',sB=et(Sc,Sc.name,"queryAll"),[uB,cB,dB,fB,pB]=Lr(Sc,iB,lB);var Rc=Object.freeze({__proto__:null,queryAllByLabelText:sq,queryByLabelText:nq,getAllByLabelText:iq,getByLabelText:lq,findAllByLabelText:aq,findByLabelText:oq,queryByPlaceholderText:fq,queryAllByPlaceholderText:dq,getByPlaceholderText:mq,getAllByPlaceholderText:pq,findAllByPlaceholderText:hq,findByPlaceholderText:vq,queryByText:Eq,queryAllByText:gq,getByText:xq,getAllByText:_q,findAllByText:wq,findByText:Cq,queryByDisplayValue:Pq,queryAllByDisplayValue:Rq,getByDisplayValue:Oq,getAllByDisplayValue:Aq,findAllByDisplayValue:Mq,findByDisplayValue:Iq,queryByAltText:Bq,queryAllByAltText:qq,getByAltText:Dq,getAllByAltText:jq,findAllByAltText:Lq,findByAltText:Fq,queryByTitle:Vq,queryAllByTitle:Wq,getByTitle:Xq,getAllByTitle:zq,findAllByTitle:Yq,findByTitle:Kq,queryByRole:tB,queryAllByRole:eB,getAllByRole:rB,getByRole:nB,findAllByRole:aB,findByRole:oB,queryByTestId:uB,queryAllByTestId:sB,getByTestId:dB,getAllByTestId:cB,findAllByTestId:fB,findByTestId:pB});function mB(e,t,r){return t===void 0&&(t=Rc),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{const o=t[a];return n[a]=o.bind(null,e),n},r)}const em={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}}},tm={doubleClick:"dblClick"};function Dn(e,t){return me().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function hu(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const i={...o,...r},{target:{value:s,files:l,...u}={}}=i;s!==void 0&&hB(t,s),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,u);const c=Sy(t),f=c[a]||c.Event;let m;if(typeof f=="function")m=new f(e,i);else{m=c.document.createEvent(a);const{bubbles:y,cancelable:v,detail:S,...h}=i;m.initEvent(e,y,v,S),Object.keys(h).forEach(_=>{m[_]=h[_]})}return["dataTransfer","clipboardData"].forEach(y=>{const v=i[y];typeof v=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(m,y,{value:Object.getOwnPropertyNames(v).reduce((S,h)=>(Object.defineProperty(S,h,{value:v[h]}),S),new c.DataTransfer)}):Object.defineProperty(m,y,{value:v}))}),m}Object.keys(em).forEach(e=>{const{EventType:t,defaultInit:r}=em[e],n=e.toLowerCase();hu[e]=(a,o)=>hu(n,a,o,{EventType:t,defaultInit:r}),Dn[e]=(a,o)=>Dn(a,hu[e](a,o))});function hB(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(tm).forEach(e=>{const t=tm[e];Dn[e]=function(){return Dn[t](...arguments)}});function vB(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
138
|
+
`)}function yB(e){return cN.compressToEncodedURIComponent(vB(e))}function bB(e){return"https://testing-playground.com/#markup="+yB(e)}const gB=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Zp(n,t,r)):Zp(e,t,r),EB=function(e){if(e===void 0&&(e=pd().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 t=bB(e.innerHTML);return console.log(`Open this URL in your browser
|
|
139
139
|
|
|
140
|
-
`+t),t},Qp={debug:cB,logTestingPlaygroundURL:fB};typeof document<"u"&&document.body?oB(document.body,Rc,Qp):Object.keys(Rc).reduce((e,t)=>(e[t]=()=>{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),Qp);const dB=RE.act;function qy(){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 Dt(e){qy().IS_REACT_ACT_ENVIRONMENT=e}function ao(){return qy().IS_REACT_ACT_ENVIRONMENT}function pB(e){return t=>{const r=ao();Dt(!0);try{let n=!1;const a=e(()=>{const o=t();return o!==null&&typeof o=="object"&&typeof o.then=="function"&&(n=!0),o});if(n){const o=a;return{then:(i,s)=>{o.then(l=>{Dt(r),i(l)},l=>{Dt(r),s(l)})}}}else return Dt(r),a}catch(n){throw Dt(r),n}}}const Sc=pB(dB);Object.keys(Dn).forEach(e=>{});function mB(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}wN({unstable_advanceTimersWrapper:e=>Sc(e),asyncWrapper:async e=>{const t=ao();Dt(!1);try{const r=await e();return await new Promise(n=>{setTimeout(()=>{n()},0),mB()&&jest.advanceTimersByTime(0)}),r}finally{Dt(t)}},eventWrapper:e=>{let t;return Sc(()=>{t=e()}),t}});const hB=new Set,em=[];function tm(){em.forEach(e=>{let{root:t,container:r}=e;Sc(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),em.length=0,hB.clear()}var wm;if((typeof process>"u"||!((wm=process.env)!=null&&wm.RTL_SKIP_AUTO_CLEANUP))&&(typeof afterEach=="function"?afterEach(()=>{tm()}):typeof teardown=="function"&&teardown(()=>{tm()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let e=ao();beforeAll(()=>{e=ao(),Dt(!0)}),afterAll(()=>{Dt(e)})}var rm;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(rm||(rm={}));var Fr={};Object.defineProperty(Fr,"__esModule",{value:!0});Fr.TEXT_NODE=void 0;Fr.checkContainerType=_B;Fr.getDocument=bB;Fr.getWindowFromNode=gB;Fr.jestFakeTimersAreEnabled=yB;const vB=3;Fr.TEXT_NODE=vB;function yB(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function bB(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function gB(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 _B(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 ${t(e)}.`);function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const yf=Symbol("Manage ClipboardSub");function By(e){var t;return!!(!((t=e)===null||t===void 0)&&t[yf])}function EB(e){By(e.navigator.clipboard)&&e.navigator.clipboard[yf].resetClipboardStub()}function wB(e){By(e.navigator.clipboard)&&e.navigator.clipboard[yf].detachClipboardStub()}typeof globalThis.afterEach=="function"&&globalThis.afterEach(()=>EB(globalThis.window));typeof globalThis.afterAll=="function"&&globalThis.afterAll(()=>wB(globalThis.window));var nm;(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"})(nm||(nm={}));var am;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(am||(am={}));var om;(function(e){e["{"]="}",e["["]="]"})(om||(om={}));var im;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(im||(im={}));var Pc;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(Pc||(Pc={}));var Ln={};Object.defineProperty(Ln,"__esModule",{value:!0});var jy=Ln.eventMap=Ln.eventAliasMap=void 0;const xB={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}}};jy=Ln.eventMap=xB;const CB={doubleClick:"dblClick"};Ln.eventAliasMap=CB;const TB={...jy,click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeInput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}}};Object.fromEntries(Object.keys(TB).map(e=>[e.toLowerCase(),e]));var Qe;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(Qe||(Qe={}));const RB=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,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:Qe.LEFT},{code:"AltRight",key:"Alt",location:Qe.RIGHT},{code:"ShiftLeft",key:"Shift",location:Qe.LEFT},{code:"ShiftRight",key:"Shift",location:Qe.RIGHT},{code:"ControlLeft",key:"Control",location:Qe.LEFT},{code:"ControlRight",key:"Control",location:Qe.RIGHT},{code:"MetaLeft",key:"Meta",location:Qe.LEFT},{code:"MetaRight",key:"Meta",location:Qe.RIGHT},{code:"OSLeft",key:"OS",location:Qe.LEFT},{code:"OSRight",key:"OS",location:Qe.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],SB=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];globalThis.document,Pc.EachApiCall;const Ct=({variant:e="primary",size:t="medium",styling:r={muted:!1,fullWidth:!1},icon:n=!1,href:a=!1,element:o="button",onClick:i=!1,className:s="",disabled:l=!1,screenreaderText:u=!1,children:c=!1,...d})=>{const f=lo(typeof t=="object");if(typeof t=="object"&&typeof f=="number"){const R=Object.assign({},t),h=km(Object.keys(R));t=Nm(f,h,R)}const y=[];typeof t=="string"&&y.push(t),n&&(y.push("icon"),typeof n=="object"?(y.push(n.icon),n.position?y.push(n.position):y.push("left"),n.hover&&y.push(`hover_${n.hover}`),n.animate&&(y.push("animate"),typeof n.animate=="string"&&y.push(n.animate))):(y.push(n),!n.includes("right")&&!n.includes("left")&&y.push("left"))),r.muted&&y.push("muted"),r.fullWidth&&y.push("full-width");const v={...d,className:te(e,s,y,{"no-text":!c,disabled:l,button:a}),onClick:R=>{(!a||a[0]==="#")&&i&&(R.preventDefault(),R.stopPropagation()),i&&i(R)},disabled:typeof l=="object"&&"isClickable"in l?!l.isClickable:l};return a&&(o="a",v.href=a),j.createElement(o,v,c||(u?_.jsx(Ye,{showOnFocus:!1,children:u}):null))},PB=({href:e,children:t,className:r="",onClick:n=()=>{},gtmContext:a,gtmType:o,...i})=>e?_.jsx("a",{href:e,className:te("gtm-trackable",r),onClick:n,"data-gtm-event-context":a,"data-gtm-event-type":o,...i,children:t}):t,lm={card:{range:[{height:320,width:320},{height:425,width:687},{height:510,width:768}],sizes:"(min-width: 1024px) 720px, 30vw"},responsiveCard:{range:[{height:125,width:200},{height:188,width:300},{height:313,width:500}],sizes:"(min-width: 1024px) 720px, 30vw"},banner:{range:[{height:124,width:425},{height:320,width:768},{height:510,width:1368}],sizes:"(min-width: 1024px) 975px, 50vw"},feed:{range:[{height:270,width:124},{height:320,width:425},{height:425,width:687}],sizes:"(min-width: 1024px) 510px, 20vw"},fallback:{range:[{height:124,width:375},{height:320,width:687},{height:510,width:990}],sizes:"(min-width: 1024px) 885px, 35vw"},thumbnail:{range:[{height:124,width:124},{height:320,width:320},{height:510,width:510}],sizes:"(min-width: 1024px) 453px, 20vw"}},AB=({aspect:e,range:t,sizes:r})=>{const{range:n,sizes:a}=e?lm[e]:lm.fallback;return{range:t&&t.length>0?t:n,sizes:r||a}},OB=({format:e,height:t,query:r,width:n})=>{let a=`w=${n}&h=${t}`;return a=e?`${a}&fm=${e}`:a,a=r?`${a}&${r}`:a,a},vu=({format:e,range:t,url:r,query:n})=>t.map(({height:a,width:o})=>`${r}?${OB({format:e,height:a,query:n,width:o})} ${o}w`).join(", ");const Dy=({image:e,className:t,testId:r})=>{const{description:n,height:a,type:o,query:i,url:s,width:l,loading:u,decoding:c,fetchPriority:d}=e,{range:m,sizes:f}=AB(e),y=vu({format:"avif",query:i,range:m,url:s}),v=vu({format:"webp",query:i,range:m,url:s}),R=vu({format:"",query:i,range:m,url:s});return _.jsxs("picture",{className:t,children:[o!=="image/gif"&&_.jsx("source",{type:"image/avif",srcSet:y,sizes:f,"data-testid":"source"}),_.jsx("source",{type:"image/webp",srcSet:v,sizes:f,"data-testid":"source"}),_.jsx("img",{srcSet:R,sizes:f,src:s,alt:n,loading:u||"lazy",decoding:c||"async",fetchpriority:d||"auto",width:l,height:a,"data-testid":r||"image"})]})};const IB=["small","span","strong","em","p","h1","h2","h3","h4","h5","h6","blockquote","q"],MB=({content:e,image:t,variant:r="default",cta:n,children:a})=>{const o=["eyebrow","title","text"],i={eyebrow:"small",title:"h1",text:"p"},s={};return o.forEach(l=>{if(!e[l]){s[l]=!1;return}if(typeof e[l]=="object"){s[l]=e[l];const{text:u,element:c}=e[l];if(c&&IB.includes(c.toLowerCase()))return;s[l]={text:u,element:i[l]};return}s[l]={text:e[l],element:i[l]}}),n&&n.link&&n.link[0]==="#"&&(n.props||(n.props={}),n.props.onClick=l=>{l.preventDefault(),l.stopPropagation();const u=document.getElementById(n.link.substring(1));u&&u.scrollIntoView({behavior:"smooth"})}),_.jsxs("section",{className:te("banner-section",r,{"has-image":t,"has-extra-spacing":s.eyebrow&&s.title}),children:[_.jsxs("div",{className:"content-wrapper",children:[o.map(l=>{if(s[l]&&typeof s[l]=="object"){const{text:u,element:c=""}=s[l];return j.createElement(c.toLowerCase(),{key:l,className:l},u)}return null}),a,n&&n.text&&n.link&&_.jsx(Ct,{variant:t||r==="light"?"primary":"secondary",size:{mobile:"medium",768:"large"},href:n.link,...n.props,children:n.text})]}),t&&_.jsx(Dy,{image:{...t,aspect:"banner"}})]})},$B=j.memo(MB);const kB=({variant:e="primary",button:t=null,title:r,text:n,gtmContext:a})=>!r&&!n?null:_.jsxs("aside",{className:te("marketing-block",e),children:[r&&_.jsx("p",{className:"title",children:r}),n&&_.jsx("p",{children:n}),t&&_.jsx(Ct,{variant:"secondary",size:"medium",href:t.link,className:"gtm-trackable","data-gtm-event-context":a,"data-gtm-event-type":"learn-more-click",children:t.text})]}),Ly="https://storage.googleapis.com/apolitical-assets/",NB="200,000+",bf=j.createContext(null),qB=({children:e,user:t})=>_.jsx(bf.Provider,{value:t,children:e});const BB=({label:e=!1,className:t="",children:r})=>{const n=Ne();return _.jsxs("details",{className:te("collapsible-section",t),children:[_.jsx("summary",{children:e||n.formatMessage({id:"collapsibleSection_summary"})}),_.jsx("div",{className:"content",children:r})]})},jB=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(BB,{...t})});function Tr(){return Tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Tr.apply(this,arguments)}const DB=["children","options"],sm=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),um={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},LB=["style","script"],FB=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,HB=/mailto:/i,UB=/\n{2,}$/,Fy=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,GB=/^ *> ?/gm,WB=/^ {2,}\n/,VB=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Hy=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Uy=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,zB=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,XB=/^(?:\n *)*\n/,YB=/\r\n?/g,KB=/^\[\^([^\]]+)](:.*)\n/,ZB=/^\[\^([^\]]+)]/,JB=/\f/g,QB=/^\s*?\[(x|\s)\]/,Gy=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Wy=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Vy=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Ac=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,ej=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,zy=/^<!--[\s\S]*?(?:-->)/,tj=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Oc=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,rj=/^\{.*\}$/,nj=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,aj=/^<([^ >]+@[^ >]+)>/,oj=/^<([^ >]+:\/[^ >]+)>/,ij=/-([a-z])?/gi,Xy=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,lj=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,sj=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,uj=/^\[([^\]]*)\] ?\[([^\]]*)\]/,cj=/(\[|\])/g,fj=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,dj=/\t/g,pj=/^ *\| */,mj=/(^ *\||\| *$)/g,hj=/ *$/,vj=/^ *:-+: *$/,yj=/^ *:-+ *$/,bj=/^ *-+: *$/,gj=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,_j=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,Ej=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,wj=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,xj=/^\\([^0-9A-Za-z\s])/,Cj=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Tj=/^\n+/,Rj=/^([ \t]*)/,Sj=/\\([^\\])/g,cm=/ *\n+$/,Pj=/(?:^|\n)( *)$/,gf="(?:\\d+\\.)",_f="(?:[*+-])";function Yy(e){return"( *)("+(e===1?gf:_f)+") +"}const Ky=Yy(1),Zy=Yy(2);function Jy(e){return new RegExp("^"+(e===1?Ky:Zy))}const Aj=Jy(1),Oj=Jy(2);function Qy(e){return new RegExp("^"+(e===1?Ky:Zy)+"[^\\n]*(?:\\n(?!\\1"+(e===1?gf:_f)+" )[^\\n]*)*(\\n|$)","gm")}const eb=Qy(1),tb=Qy(2);function rb(e){const t=e===1?gf:_f;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const nb=rb(1),ab=rb(2);function fm(e,t){const r=t===1,n=r?nb:ab,a=r?eb:tb,o=r?Aj:Oj;return{t(i,s,l){const u=Pj.exec(l);return u&&(s.o||!s._&&!s.u)?n.exec(i=u[1]+i):null},i:ee.HIGH,l(i,s,l){const u=r?+i[2]:void 0,c=i[0].replace(UB,`
|
|
141
|
-
`).match(a);let
|
|
140
|
+
`+t),t},rm={debug:gB,logTestingPlaygroundURL:EB};typeof document<"u"&&document.body?mB(document.body,Rc,rm):Object.keys(Rc).reduce((e,t)=>(e[t]=()=>{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),rm);const _B=N_.act;function Dy(){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 Dt(e){Dy().IS_REACT_ACT_ENVIRONMENT=e}function ao(){return Dy().IS_REACT_ACT_ENVIRONMENT}function xB(e){return t=>{const r=ao();Dt(!0);try{let n=!1;const a=e(()=>{const o=t();return o!==null&&typeof o=="object"&&typeof o.then=="function"&&(n=!0),o});if(n){const o=a;return{then:(i,s)=>{o.then(l=>{Dt(r),i(l)},l=>{Dt(r),s(l)})}}}else return Dt(r),a}catch(n){throw Dt(r),n}}}const Pc=xB(_B);Object.keys(Dn).forEach(e=>{});function wB(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}MN({unstable_advanceTimersWrapper:e=>Pc(e),asyncWrapper:async e=>{const t=ao();Dt(!1);try{const r=await e();return await new Promise(n=>{setTimeout(()=>{n()},0),wB()&&jest.advanceTimersByTime(0)}),r}finally{Dt(t)}},eventWrapper:e=>{let t;return Pc(()=>{t=e()}),t}});const CB=new Set,nm=[];function am(){nm.forEach(e=>{let{root:t,container:r}=e;Pc(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),nm.length=0,CB.clear()}var Tm;if((typeof process>"u"||!((Tm=process.env)!=null&&Tm.RTL_SKIP_AUTO_CLEANUP))&&(typeof afterEach=="function"?afterEach(()=>{am()}):typeof teardown=="function"&&teardown(()=>{am()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let e=ao();beforeAll(()=>{e=ao(),Dt(!0)}),afterAll(()=>{Dt(e)})}var om;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(om||(om={}));var Fr={};Object.defineProperty(Fr,"__esModule",{value:!0});Fr.TEXT_NODE=void 0;Fr.checkContainerType=AB;Fr.getDocument=RB;Fr.getWindowFromNode=PB;Fr.jestFakeTimersAreEnabled=SB;const TB=3;Fr.TEXT_NODE=TB;function SB(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function RB(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function PB(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 AB(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 ${t(e)}.`);function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const yd=Symbol("Manage ClipboardSub");function Ly(e){var t;return!!(!((t=e)===null||t===void 0)&&t[yd])}function OB(e){Ly(e.navigator.clipboard)&&e.navigator.clipboard[yd].resetClipboardStub()}function MB(e){Ly(e.navigator.clipboard)&&e.navigator.clipboard[yd].detachClipboardStub()}typeof globalThis.afterEach=="function"&&globalThis.afterEach(()=>OB(globalThis.window));typeof globalThis.afterAll=="function"&&globalThis.afterAll(()=>MB(globalThis.window));var im;(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"})(im||(im={}));var lm;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(lm||(lm={}));var sm;(function(e){e["{"]="}",e["["]="]"})(sm||(sm={}));var um;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(um||(um={}));var Ac;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(Ac||(Ac={}));var Ln={};Object.defineProperty(Ln,"__esModule",{value:!0});var Fy=Ln.eventMap=Ln.eventAliasMap=void 0;const IB={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}}};Fy=Ln.eventMap=IB;const $B={doubleClick:"dblClick"};Ln.eventAliasMap=$B;const kB={...Fy,click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeInput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}}};Object.fromEntries(Object.keys(kB).map(e=>[e.toLowerCase(),e]));var Qe;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(Qe||(Qe={}));const NB=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,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:Qe.LEFT},{code:"AltRight",key:"Alt",location:Qe.RIGHT},{code:"ShiftLeft",key:"Shift",location:Qe.LEFT},{code:"ShiftRight",key:"Shift",location:Qe.RIGHT},{code:"ControlLeft",key:"Control",location:Qe.LEFT},{code:"ControlRight",key:"Control",location:Qe.RIGHT},{code:"MetaLeft",key:"Meta",location:Qe.LEFT},{code:"MetaRight",key:"Meta",location:Qe.RIGHT},{code:"OSLeft",key:"OS",location:Qe.LEFT},{code:"OSRight",key:"OS",location:Qe.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],qB=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];globalThis.document,Ac.EachApiCall;const Ct=({variant:e="primary",size:t="medium",styling:r={muted:!1,fullWidth:!1},icon:n=!1,href:a=!1,element:o="button",onClick:i=!1,className:s="",disabled:l=!1,screenreaderText:u=!1,children:c=!1,...f})=>{const d=lo(typeof t=="object");if(typeof t=="object"&&typeof d=="number"){const S=Object.assign({},t),h=Bm(Object.keys(S));t=jm(d,h,S)}const y=[];typeof t=="string"&&y.push(t),n&&(y.push("icon"),typeof n=="object"?(y.push(n.icon),n.position?y.push(n.position):y.push("left"),n.hover&&y.push(`hover_${n.hover}`),n.animate&&(y.push("animate"),typeof n.animate=="string"&&y.push(n.animate))):(y.push(n),!n.includes("right")&&!n.includes("left")&&y.push("left"))),r.muted&&y.push("muted"),r.fullWidth&&y.push("full-width");const v={...f,className:Q(e,s,y,{"no-text":!c,disabled:l,button:a}),onClick:S=>{(!a||a[0]==="#")&&i&&(S.preventDefault(),S.stopPropagation()),i&&i(S)},disabled:typeof l=="object"&&"isClickable"in l?!l.isClickable:l};return a&&(o="a",v.href=a),j.createElement(o,v,c||(u?E.jsx(Ye,{showOnFocus:!1,children:u}):null))},BB=({href:e,children:t,className:r="",onClick:n=()=>{},gtmContext:a,gtmType:o,...i})=>e?E.jsx("a",{href:e,className:Q("gtm-trackable",r),onClick:n,"data-gtm-event-context":a,"data-gtm-event-type":o,...i,children:t}):t,cm={card:{range:[{height:320,width:320},{height:425,width:687},{height:510,width:768}],sizes:"(min-width: 1024px) 720px, 30vw"},responsiveCard:{range:[{height:125,width:200},{height:188,width:300},{height:313,width:500}],sizes:"(min-width: 1024px) 720px, 30vw"},banner:{range:[{height:124,width:425},{height:320,width:768},{height:510,width:1368}],sizes:"(min-width: 1024px) 975px, 50vw"},feed:{range:[{height:270,width:124},{height:320,width:425},{height:425,width:687}],sizes:"(min-width: 1024px) 510px, 20vw"},fallback:{range:[{height:124,width:375},{height:320,width:687},{height:510,width:990}],sizes:"(min-width: 1024px) 885px, 35vw"},thumbnail:{range:[{height:124,width:124},{height:320,width:320},{height:510,width:510}],sizes:"(min-width: 1024px) 453px, 20vw"}},jB=({aspect:e,range:t,sizes:r})=>{const{range:n,sizes:a}=e?cm[e]:cm.fallback;return{range:t&&t.length>0?t:n,sizes:r||a}},DB=({format:e,height:t,query:r,width:n})=>{let a=`w=${n}&h=${t}`;return a=e?`${a}&fm=${e}`:a,a=r?`${a}&${r}`:a,a},vu=({format:e,range:t,url:r,query:n})=>t.map(({height:a,width:o})=>`${r}?${DB({format:e,height:a,query:n,width:o})} ${o}w`).join(", ");const Hy=({image:e,className:t,testId:r})=>{const{description:n,height:a,type:o,query:i,url:s,width:l,loading:u,decoding:c,fetchPriority:f}=e,{range:m,sizes:d}=jB(e),y=vu({format:"avif",query:i,range:m,url:s}),v=vu({format:"webp",query:i,range:m,url:s}),S=vu({format:"",query:i,range:m,url:s});return E.jsxs("picture",{className:t,children:[o!=="image/gif"&&E.jsx("source",{type:"image/avif",srcSet:y,sizes:d,"data-testid":"source"}),E.jsx("source",{type:"image/webp",srcSet:v,sizes:d,"data-testid":"source"}),E.jsx("img",{srcSet:S,sizes:d,src:s,alt:n,loading:u||"lazy",decoding:c||"async",fetchpriority:f||"auto",width:l,height:a,"data-testid":r||"image"})]})};const LB=["small","span","strong","em","p","h1","h2","h3","h4","h5","h6","blockquote","q"],FB=({content:e,image:t,variant:r="default",cta:n,children:a})=>{const o=["eyebrow","title","text"],i={eyebrow:"small",title:"h1",text:"p"},s={};return o.forEach(l=>{if(!e[l]){s[l]=!1;return}if(typeof e[l]=="object"){s[l]=e[l];const{text:u,element:c}=e[l];if(c&&LB.includes(c.toLowerCase()))return;s[l]={text:u,element:i[l]};return}s[l]={text:e[l],element:i[l]}}),n&&n.link&&n.link[0]==="#"&&(n.props||(n.props={}),n.props.onClick=l=>{l.preventDefault(),l.stopPropagation();const u=document.getElementById(n.link.substring(1));u&&u.scrollIntoView({behavior:"smooth"})}),E.jsxs("section",{className:Q("banner-section",r,{"has-image":t,"has-extra-spacing":s.eyebrow&&s.title}),children:[E.jsxs("div",{className:"content-wrapper",children:[o.map(l=>{if(s[l]&&typeof s[l]=="object"){const{text:u,element:c=""}=s[l];return j.createElement(c.toLowerCase(),{key:l,className:l},u)}return null}),a,n&&n.text&&n.link&&E.jsx(Ct,{variant:t||r==="light"?"primary":"secondary",size:{mobile:"medium",768:"large"},href:n.link,...n.props,children:n.text})]}),t&&E.jsx(Hy,{image:{...t,aspect:"banner"}})]})},HB=j.memo(FB);const UB=({variant:e="primary",button:t=null,title:r,text:n,gtmContext:a})=>!r&&!n?null:E.jsxs("aside",{className:Q("marketing-block",e),children:[r&&E.jsx("p",{className:"title",children:r}),n&&E.jsx("p",{children:n}),t&&E.jsx(Ct,{variant:"secondary",size:"medium",href:t.link,className:"gtm-trackable","data-gtm-event-context":a,"data-gtm-event-type":"learn-more-click",children:t.text})]}),Uy="https://storage.googleapis.com/apolitical-assets/",GB="200,000+",bd=j.createContext(null),WB=({children:e,user:t})=>E.jsx(bd.Provider,{value:t,children:e});const VB=({label:e=!1,className:t="",children:r})=>{const n=Me();return E.jsxs("details",{className:Q("collapsible-section",t),children:[E.jsx("summary",{children:e||n.formatMessage({id:"collapsibleSection_summary"})}),E.jsx("div",{className:"content",children:r})]})},zB=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(VB,{...t})});function Tr(){return Tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Tr.apply(this,arguments)}const XB=["children","options"],dm=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),fm={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},YB=["style","script"],KB=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,ZB=/mailto:/i,JB=/\n{2,}$/,Gy=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,QB=/^ *> ?/gm,ej=/^ {2,}\n/,tj=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Wy=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Vy=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,rj=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,nj=/^(?:\n *)*\n/,aj=/\r\n?/g,oj=/^\[\^([^\]]+)](:.*)\n/,ij=/^\[\^([^\]]+)]/,lj=/\f/g,sj=/^\s*?\[(x|\s)\]/,zy=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Xy=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Yy=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Oc=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,uj=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Ky=/^<!--[\s\S]*?(?:-->)/,cj=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Mc=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,dj=/^\{.*\}$/,fj=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,pj=/^<([^ >]+@[^ >]+)>/,mj=/^<([^ >]+:\/[^ >]+)>/,hj=/-([a-z])?/gi,Zy=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,vj=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,yj=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,bj=/^\[([^\]]*)\] ?\[([^\]]*)\]/,gj=/(\[|\])/g,Ej=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,_j=/\t/g,xj=/^ *\| */,wj=/(^ *\||\| *$)/g,Cj=/ *$/,Tj=/^ *:-+: *$/,Sj=/^ *:-+ *$/,Rj=/^ *-+: *$/,Pj=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,Aj=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,Oj=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,Mj=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,Ij=/^\\([^0-9A-Za-z\s])/,$j=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,kj=/^\n+/,Nj=/^([ \t]*)/,qj=/\\([^\\])/g,pm=/ *\n+$/,Bj=/(?:^|\n)( *)$/,gd="(?:\\d+\\.)",Ed="(?:[*+-])";function Jy(e){return"( *)("+(e===1?gd:Ed)+") +"}const Qy=Jy(1),eb=Jy(2);function tb(e){return new RegExp("^"+(e===1?Qy:eb))}const jj=tb(1),Dj=tb(2);function rb(e){return new RegExp("^"+(e===1?Qy:eb)+"[^\\n]*(?:\\n(?!\\1"+(e===1?gd:Ed)+" )[^\\n]*)*(\\n|$)","gm")}const nb=rb(1),ab=rb(2);function ob(e){const t=e===1?gd:Ed;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const ib=ob(1),lb=ob(2);function mm(e,t){const r=t===1,n=r?ib:lb,a=r?nb:ab,o=r?jj:Dj;return{t(i,s,l){const u=Bj.exec(l);return u&&(s.o||!s._&&!s.u)?n.exec(i=u[1]+i):null},i:te.HIGH,l(i,s,l){const u=r?+i[2]:void 0,c=i[0].replace(JB,`
|
|
141
|
+
`).match(a);let f=!1;return{p:c.map(function(m,d){const y=o.exec(m)[0].length,v=new RegExp("^ {1,"+y+"}","gm"),S=m.replace(v,"").replace(o,""),h=d===c.length-1,_=S.indexOf(`
|
|
142
142
|
|
|
143
|
-
`)!==-1||h&&
|
|
143
|
+
`)!==-1||h&&f;f=_;const C=l._,R=l.o;let w;l.o=!0,_?(l._=!1,w=S.replace(pm,`
|
|
144
144
|
|
|
145
|
-
`)):(l._=!0,
|
|
146
|
-
`).map(function(u){return
|
|
145
|
+
`)):(l._=!0,w=S.replace(pm,""));const x=s(w,l);return l._=C,l.o=R,x}),m:r,g:u}},h:(i,s,l)=>e(i.m?"ol":"ul",{key:l.k,start:i.g},i.p.map(function(u,c){return e("li",{key:c},s(u,l))}))}}const Lj=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Fj=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,sb=[Gy,Wy,Vy,zy,Yy,Xy,Ky,Zy,nb,ib,ab,lb],Hj=[...sb,/^[^\n]+(?: \n|\n{2,})/,Oc,Mc];function Uj(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function Gj(e){return Rj.test(e)?"right":Tj.test(e)?"center":Sj.test(e)?"left":null}function hm(e,t,r){const n=r.$;r.$=!0;const a=t(e.trim(),r);r.$=n;let o=[[]];return a.forEach(function(i,s){i.type==="tableSeparator"?s!==0&&s!==a.length-1&&o.push([]):(i.type!=="text"||a[s+1]!=null&&a[s+1].type!=="tableSeparator"||(i.v=i.v.replace(Cj,"")),o[o.length-1].push(i))}),o}function Wj(e,t,r){r._=!0;const n=hm(e[1],t,r),a=e[2].replace(wj,"").split("|").map(Gj),o=function(i,s,l){return i.trim().split(`
|
|
146
|
+
`).map(function(u){return hm(u,s,l)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function vm(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function Kt(e){return function(t,r){return r._?e.exec(t):null}}function Zt(e){return function(t,r){return r._||r.u?e.exec(t):null}}function jt(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function Rn(e){return function(t){return e.exec(t)}}function Vj(e,t,r){if(t._||t.u||r&&!r.endsWith(`
|
|
147
147
|
`))return null;let n="";e.split(`
|
|
148
|
-
`).every(o=>!
|
|
149
|
-
`,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function Zr(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function
|
|
150
|
-
|
|
151
|
-
`,{_:y}));for(;typeof v[v.length-1]=="string"&&!v[v.length-1].trim();)v.pop();if(t.wrapper===null)return v;const
|
|
152
|
-
`},paragraph:{t:
|
|
153
|
-
`).replace(
|
|
154
|
-
`);l(
|
|
155
|
-
`))},[n]),j.useEffect(()=>{u==="ready-to-close"&&c("closing")},[u]);const d=({propertyName:f})=>{f==="max-height"&&c(y=>y==="opening"?"open":y==="closing"?"closed":y)};if(!n)return null;const m=["opening","open"].includes(u);return _.jsxs(ts,{variant:"subtle",className:te("hide-show-text-box",e),children:[_.jsxs("div",{ref:i,className:te("content",u),children:[_.jsx(Ef,{options:{forceBlock:!0},children:u==="closed"?s:n}),u!=="closed"&&a]}),_.jsx("p",{className:"cta",children:_.jsx(Ct,{variant:"tertiary",icon:{icon:"navigation_arrow",position:"left",animate:!0},styling:{muted:!0},className:te({"rotate-180":m}),onClick:()=>{c(m?"ready-to-close":"opening")},children:m?r||o.formatMessage({id:"hideShowTextBox_hide"}):t||o.formatMessage({id:"hideShowTextBox_show"})})})]})},Gj=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(Uj,{...t})});const Wj=({className:e="",children:t})=>_.jsx("span",{className:te("pill",e),children:t});const Vj=({progress:e=0,text:t=!1,className:r=""})=>{const n=Ne(),a=e>75?100:e>50?75:e>25?50:e>5?25:0,o={"--progress":`${e}%`};return _.jsx("span",{className:te(`progress-bar section-${a}`,r),style:o,children:_.jsx(Ye,{children:t?`${e} ${t}`:n.formatMessage({id:"progressBar"},{number:e})})})},zj=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(Vj,{...t})}),sb=j.memo(zj);const Eu="loadingBlock_",Xj=({progress:e=0,steps:t=!1,className:r=""})=>{const n=Ne();t||(t={0:{text:n.formatMessage({id:`${Eu}loading`})},75:{text:n.formatMessage({id:`${Eu}almostDone`})},100:{text:n.formatMessage({id:`${Eu}complete`})}});let a=null;const o=Object.keys(t);for(let s=0;s<o.length&&!(e<parseInt(o[s]));s++)a=o[s];const i=a&&t[a].icon?{"--icon":`url(${Ly}icons/${t[a].icon}.svg)`}:{};return _.jsxs(ts,{className:te("loading-block",r,{"has-icon":a&&t[a].icon}),variant:"subtle",style:i,children:[a&&_.jsx("span",{className:"step",children:t[a].text}),_.jsx(sb,{progress:e})]})},Yj=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(Xj,{...t})}),Kj=j.memo(Yj);const Fn=({element:e="div",className:t="",...r})=>_.jsx(kc,{element:e,className:te("loading-placeholder",t),...r});const Mc={header:["logo","link","link","search"],sidebar:["text","text","text","text","text"],"cards-section":["subtitle","cards"],cards:["card","card","card","card"],"overview-page":["header","sidebar","title","text","cards-section","cards-section","footer"]},ub=(e,t)=>e in Mc?_.jsx("div",{className:e,children:Mc[e].map((r,n)=>ub(r,n))},t):_.jsx(Fn,{className:e},t),Zj=({layout:e="overview-page"})=>_.jsx("div",{className:te("loading-state",e),children:Mc[e].map((t,r)=>ub(t,r))});const ga="emailHelperTextBox_",Jj=({type:e,email:t,redirectPath:r,resendVerificationCode:n})=>{const a=Ne(),[o,i]=j.useState({path:`${ga}default`,type:"default",link:{},mail:{},error:""}),[s,l]=j.useState(!1),u=j.useCallback(f=>{f.preventDefault(),f.stopPropagation();const y=v=>{i({path:`${ga}error_verificationFailedToSend`,type:"error",link:{"data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:R=>u(R),href:"#","data-testid":"send-verify-email-click"},mail:{href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"ErrorVerifyingBox","data-gtm-event-type":"email-concierge-click"},error:v})};if(typeof n!="function"){y(a.formatMessage({id:`${ga}error_noFunction`}));return}l(!0),n(t).then(()=>{localStorage.setItem("email",t),window.location.href=r||"/signup/verify-email"}).catch(v=>{y(v.message)}).finally(()=>{l(!1)})},[t,r,n]);j.useEffect(()=>{let f=ga,y="default",v={},R={};switch(e){case"gov":f+="autoApproved",y="success";break;case"nonGov":f+="unrecognisedEmail",y="error",v={href:"https://about.apolitical.co/who-can-join-the-community","data-gtm-event-context":"NonGovEmailHelperTextBox","data-gtm-event-type":"LearnMoreClick"};break;case"pending":f+="pendingApproval",y="error",R={href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"email-concierge-click"};break;case"verify":f+="emailUnverified",y="error",v={href:"#","data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:h=>u(h),"data-testid":"send-verify-email-click"};break;case"exists":f+="emailAlreadyExists",y="error",v={href:"/user-onboarding/login","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"login-click"},R={href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"email-concierge-click"};break;default:f+="default",v={href:"https://about.apolitical.co/who-can-join-the-community","data-gtm-event-context":"DefaultEmailHelperTextBox","data-gtm-event-type":"LearnMoreClick"};break}i({...o,path:f,type:y,link:v,mail:R})},[e]);const c={};return["link","mail"].forEach(f=>{c[f]=Object.keys(o[f]).length?y=>_.jsx("a",{...o[f],children:y}):y=>y}),_.jsx(lb,{type:o.type,heading:s?!1:a.formatMessage({id:`${o.path}_title`}),children:s?_.jsxs(_.Fragment,{children:[_.jsx(Fn,{element:"span"}),_.jsx(Fn,{element:"span"})]}):a.formatMessage({id:`${o.path}_text`},{...c,strong:f=>_.jsx("strong",{children:f}),em:f=>_.jsx("em",{children:f}),br:_.jsxs(_.Fragment,{children:[_.jsx("br",{}),_.jsx("br",{})]}),error:o.error})})},Qj=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(Jj,{...t})});const _a="passwordRules_",cb="isMoreThanEightCharacters",fb="includesNumberAndSymbol",db="includesLowerAndUppercase",eD={[cb]:"8Characters",[fb]:"numberSymbol",[db]:"lowercaseUppercase"},tD=({matchingRules:e={isMoreThanEightCharacters:!1,includesNumberAndSymbol:!1,includesLowerAndUppercase:!1},className:t=""})=>{const r=Ne();return _.jsxs("aside",{className:te("password-rules",t),children:[_.jsx("small",{children:r.formatMessage({id:`${_a}intro`})}),_.jsx("ul",{children:[cb,fb,db].map(n=>_.jsxs("li",{className:te({matches:e[n]}),children:[_.jsxs(Ye,{children:[r.formatMessage({id:`${_a}rule_label`})," "]}),_.jsx("span",{children:r.formatMessage({id:`${_a}rule_${eD[n]}`})}),!e[n]&&_.jsxs(Ye,{element:"strong",children:[" "," ",r.formatMessage({id:`${_a}notMet`})]})]},`rule-${n}`))})]})},rD=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(tD,{...t})}),nD=j.memo(rD);const aD=({text:e={},topRating:t=5,functions:{createRating:r=()=>null,updateRating:n=()=>{},reportError:a=()=>{}},className:o="",hasLoaded:i=!1})=>{const s=Ne(),[l,u]=j.useState({setUp:!1,id:null,rating:null,disabled:!0}),c=async()=>{try{const h=await r();u(E=>({...E,setUp:!0,id:h&&h.id,disabled:!1}))}catch(h){u(E=>({...E,setUp:!0,disabled:!0})),a(h)}};if(j.useEffect(()=>{i&&!l.setUp&&c()},[i]),!i)return _.jsx(Fn,{className:"rating-placeholder"});const{id:d,rating:m,disabled:f}=l,y="ratings_",v={text:s.formatMessage({id:`${y}text`}),low:s.formatMessage({id:`${y}low`}),high:s.formatMessage({id:`${y}high`}),success:s.formatMessage({id:`${y}success`}),...e},R=async h=>{if(!(!d||f))try{u(E=>({...E,rating:h,disabled:!0})),await n({id:d,value:h})}catch(E){u(C=>({...C,rating:null})),a(E)}finally{u(E=>({...E,disabled:!1}))}};return _.jsxs("div",{className:te("rating",o),children:[_.jsx("span",{className:"label",children:v[m?"success":"text"]}),_.jsx("ol",{children:Array.from(new Array(t).keys()).map(h=>{const E=h+1;return _.jsx("li",{className:te({selected:m&&E<=m}),children:_.jsx(Ct,{variant:"tertiary",size:"small",icon:{icon:`star${!m||E>m?"_empty":""}`,position:"left",hover:"star"},screenreaderText:`${s.formatMessage({id:`${y}stars`},{number:E,total:t})}${E===1||E===t?` - ${v[E===1?"low":"high"]}`:""}`,onClick:C=>{C.preventDefault(),C.stopPropagation(),R(E)},disabled:f})},`rating-${E}`)})})]})},oD=({locale:e="en",...t})=>_.jsx(Le,{children:_.jsx(aD,{...t})});const iD=({id:e="search",className:t="",handleToggle:r=!1,defaultValue:n="",gtmContext:a="search-bar",gtmEvent:o="form-submission"})=>{const{searchIsOpen:i=!0,isDesktopVersion:s=!1}=r||{},l=Ne(),u=j.useRef(null);Na(()=>{!r||s||!i||u.current&&u.current.focus()},[i]);const c=d=>{if(d.preventDefault(),d.stopPropagation(),!(!u.current||!u.current.value||u.current.value.length<1))return window&&window.location&&window.location.replace(`/search?search=${u.current.value}`)};return _.jsx("form",{onSubmit:c,className:te("search-form gtm-trackable",t),"data-gtm-event-context":a,"data-gtm-event-type":o,children:_.jsx("fieldset",{id:`${e}-form`,hidden:r?!i:!1,role:"search",children:_.jsxs("p",{children:[_.jsx(Ye,{element:"label",htmlFor:e,children:l.formatMessage({id:"search_label"})}),_.jsx("input",{ref:u,type:"search",id:e,name:e,defaultValue:n,placeholder:l.formatMessage({id:"search_placeholder"}),onKeyDown:d=>{d.key==="Enter"&&c(d)}}),_.jsx("button",{className:"clear",onClick:d=>{d.preventDefault(),d.stopPropagation(),u.current&&u.current.value&&(u.current.value="")},children:_.jsx(Ye,{children:l.formatMessage({id:"search_clear"})})}),_.jsx("button",{className:"search",onClick:c,children:_.jsx(Ye,{children:l.formatMessage({id:"search_cta"})})})]})})})},pb=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(iD,{...t})});const lD=({text:e,buttons:t,className:r=""})=>_.jsxs("section",{className:te("download-section",r),children:[j.createElement(typeof e=="string"?"h2":e.element,{className:"text"},typeof e=="string"?e:e.text),_.jsx("p",{className:"button-wrapper",children:t.map((n,a)=>_.jsx(Ct,{href:n.link,variant:"secondary",size:{mobile:"medium",1024:"large"},className:"gtm-trackable","data-gtm-event-type":"download-click","data-gtm-event-context":n.eventContext||"Download",target:"_blank",children:n.text},`${n.link}-${a}`))})]});const sD=({title:e=!1,logos:t=[],className:r=""})=>{const n=t.length;if(n===0)return null;const a={element:typeof e=="object"?e.element:"h2",text:typeof e=="string"?e:typeof e=="object"?e.text:""};return _.jsxs("div",{className:te("logos",r),children:[e&&j.createElement(a.element,{className:"title"},a.text),_.jsx("ul",{className:te({"two-col":n===2||n===4,"three-col":n===5||n<=10&&n%3===0}),children:t.map(({logo:o,nameOfBusiness:i,link:s=!1,description:l=!1},u)=>{if(!o||!o.url)return null;const c=_.jsx("img",{src:o.url,width:o.width||"auto",height:o.height||"auto",alt:i});return _.jsxs("li",{children:[_.jsx("p",{className:"img-wrapper",children:s?_.jsx("a",{href:s,target:"_blank",rel:"nofollow noreferrer noopener",children:c}):c}),l&&_.jsx("small",{children:l})]},window.btoa(`${o.url}_${u}`))})})]})};/*!
|
|
148
|
+
`).every(o=>!sb.some(i=>i.test(o))&&(n+=o+`
|
|
149
|
+
`,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function Zr(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function ym(e){return e.replace(qj,"$1")}function ka(e,t,r){const n=r._||!1,a=r.u||!1;r._=!0,r.u=!0;const o=e(t,r);return r._=n,r.u=a,o}function zj(e,t,r){const n=r._||!1,a=r.u||!1;r._=!1,r.u=!0;const o=e(t,r);return r._=n,r.u=a,o}function Xj(e,t,r){return r._=!1,e(t,r)}const yu=(e,t,r)=>({v:ka(t,e[1],r)});function bu(){return{}}function gu(){return null}function Yj(...e){return e.filter(Boolean).join(" ")}function Eu(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}var te;function Kj(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||Uj,t.namedCodesToUnicode=t.namedCodesToUnicode?Tr({},fm,t.namedCodesToUnicode):fm;const r=t.createElement||_e.createElement;function n(d,y,...v){const S=Eu(t.overrides,`${d}.props`,{});return r(function(h,_){const C=Eu(_,h);return C?typeof C=="function"||typeof C=="object"&&"render"in C?C:Eu(_,`${h}.component`,h):h}(d,t.overrides),Tr({},y,S,{className:Yj(y==null?void 0:y.className,S.className)||void 0}),...v)}function a(d){let y=!1;t.forceInline?y=!0:t.forceBlock||(y=Ej.test(d)===!1);const v=c(u(y?d:`${d.trimEnd().replace(kj,"")}
|
|
150
|
+
|
|
151
|
+
`,{_:y}));for(;typeof v[v.length-1]=="string"&&!v[v.length-1].trim();)v.pop();if(t.wrapper===null)return v;const S=t.wrapper||(y?"span":"div");let h;if(v.length>1||t.forceWrapper)h=v;else{if(v.length===1)return h=v[0],typeof h=="string"?n("span",{key:"outer"},h):h;h=null}return _e.createElement(S,{key:"outer"},h)}function o(d){const y=d.match(KB);return y?y.reduce(function(v,S,h){const _=S.indexOf("=");if(_!==-1){const C=function(P){return P.indexOf("-")!==-1&&P.match(cj)===null&&(P=P.replace(hj,function(A,H){return H.toUpperCase()})),P}(S.slice(0,_)).trim(),R=function(P){const A=P[0];return(A==='"'||A==="'")&&P.length>=2&&P[P.length-1]===A?P.slice(1,-1):P}(S.slice(_+1).trim()),w=dm[C]||C,x=v[w]=function(P,A){return P==="style"?A.split(/;\s?/).reduce(function(H,z){const ne=z.slice(0,z.indexOf(":"));return H[ne.replace(/(-[a-z])/g,ie=>ie[1].toUpperCase())]=z.slice(ne.length+1).trim(),H},{}):P==="href"?Zr(A):(A.match(dj)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(C,R);typeof x=="string"&&(Oc.test(x)||Mc.test(x))&&(v[w]=_e.cloneElement(a(x.trim()),{key:h}))}else S!=="style"&&(v[dm[S]||S]=!0);return v},{}):null}const i=[],s={},l={blockQuote:{t:jt(Gy),i:te.HIGH,l:(d,y,v)=>({v:y(d[0].replace(QB,""),v)}),h:(d,y,v)=>n("blockquote",{key:v.k},y(d.v,v))},breakLine:{t:Rn(ej),i:te.HIGH,l:bu,h:(d,y,v)=>n("br",{key:v.k})},breakThematic:{t:jt(tj),i:te.HIGH,l:bu,h:(d,y,v)=>n("hr",{key:v.k})},codeBlock:{t:jt(Vy),i:te.MAX,l:d=>({v:d[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(d,y,v)=>n("pre",{key:v.k},n("code",Tr({},d.O,{className:d.M?`lang-${d.M}`:""}),d.v))},codeFenced:{t:jt(Wy),i:te.MAX,l:d=>({O:o(d[3]||""),v:d[4],M:d[2]||void 0,type:"codeBlock"})},codeInline:{t:Zt(rj),i:te.LOW,l:d=>({v:d[2]}),h:(d,y,v)=>n("code",{key:v.k},d.v)},footnote:{t:jt(oj),i:te.MAX,l:d=>(i.push({I:d[2],j:d[1]}),{}),h:gu},footnoteReference:{t:Kt(ij),i:te.HIGH,l:d=>({v:d[1],B:`#${t.slugify(d[1])}`}),h:(d,y,v)=>n("a",{key:v.k,href:Zr(d.B)},n("sup",{key:v.k},d.v))},gfmTask:{t:Kt(sj),i:te.HIGH,l:d=>({R:d[1].toLowerCase()==="x"}),h:(d,y,v)=>n("input",{checked:d.R,key:v.k,readOnly:!0,type:"checkbox"})},heading:{t:jt(t.enforceAtxHeadings?Xy:zy),i:te.HIGH,l:(d,y,v)=>({v:ka(y,d[2],v),T:t.slugify(d[2]),C:d[1].length}),h:(d,y,v)=>n(`h${d.C}`,{id:d.T,key:v.k},y(d.v,v))},headingSetext:{t:jt(Yy),i:te.MAX,l:(d,y,v)=>({v:ka(y,d[1],v),C:d[2]==="="?1:2,type:"heading"})},htmlComment:{t:Rn(Ky),i:te.HIGH,l:()=>({}),h:gu},image:{t:Zt(Fj),i:te.HIGH,l:d=>({D:d[1],B:ym(d[2]),F:d[3]}),h:(d,y,v)=>n("img",{key:v.k,alt:d.D||void 0,title:d.F||void 0,src:Zr(d.B)})},link:{t:Kt(Lj),i:te.LOW,l:(d,y,v)=>({v:zj(y,d[1],v),B:ym(d[2]),F:d[3]}),h:(d,y,v)=>n("a",{key:v.k,href:Zr(d.B),title:d.F},y(d.v,v))},linkAngleBraceStyleDetector:{t:Kt(mj),i:te.MAX,l:d=>({v:[{v:d[1],type:"text"}],B:d[1],type:"link"})},linkBareUrlDetector:{t:(d,y)=>y.N?null:Kt(fj)(d,y),i:te.MAX,l:d=>({v:[{v:d[1],type:"text"}],B:d[1],F:void 0,type:"link"})},linkMailtoDetector:{t:Kt(pj),i:te.MAX,l(d){let y=d[1],v=d[1];return ZB.test(v)||(v="mailto:"+v),{v:[{v:y.replace("mailto:",""),type:"text"}],B:v,type:"link"}}},orderedList:mm(n,1),unorderedList:mm(n,2),newlineCoalescer:{t:jt(nj),i:te.LOW,l:bu,h:()=>`
|
|
152
|
+
`},paragraph:{t:Vj,i:te.LOW,l:yu,h:(d,y,v)=>n("p",{key:v.k},y(d.v,v))},ref:{t:Kt(vj),i:te.MAX,l:d=>(s[d[1]]={B:d[2],F:d[4]},{}),h:gu},refImage:{t:Zt(yj),i:te.MAX,l:d=>({D:d[1]||void 0,P:d[2]}),h:(d,y,v)=>n("img",{key:v.k,alt:d.D,src:Zr(s[d.P].B),title:s[d.P].F})},refLink:{t:Kt(bj),i:te.MAX,l:(d,y,v)=>({v:y(d[1],v),Z:y(d[0].replace(gj,"\\$1"),v),P:d[2]}),h:(d,y,v)=>s[d.P]?n("a",{key:v.k,href:Zr(s[d.P].B),title:s[d.P].F},y(d.v,v)):n("span",{key:v.k},y(d.Z,v))},table:{t:jt(Zy),i:te.HIGH,l:Wj,h:(d,y,v)=>n("table",{key:v.k},n("thead",null,n("tr",null,d.L.map(function(S,h){return n("th",{key:h,style:vm(d,h)},y(S,v))}))),n("tbody",null,d.A.map(function(S,h){return n("tr",{key:h},S.map(function(_,C){return n("td",{key:C,style:vm(d,C)},y(_,v))}))})))},tableSeparator:{t:function(d,y){return y.$?(y._=!0,xj.exec(d)):null},i:te.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:Rn($j),i:te.MIN,l:d=>({v:d[0].replace(uj,(y,v)=>t.namedCodesToUnicode[v]?t.namedCodesToUnicode[v]:y)}),h:d=>d.v},textBolded:{t:Zt(Pj),i:te.MED,l:(d,y,v)=>({v:y(d[2],v)}),h:(d,y,v)=>n("strong",{key:v.k},y(d.v,v))},textEmphasized:{t:Zt(Aj),i:te.LOW,l:(d,y,v)=>({v:y(d[2],v)}),h:(d,y,v)=>n("em",{key:v.k},y(d.v,v))},textEscaped:{t:Zt(Ij),i:te.HIGH,l:d=>({v:d[1],type:"text"})},textMarked:{t:Zt(Oj),i:te.LOW,l:yu,h:(d,y,v)=>n("mark",{key:v.k},y(d.v,v))},textStrikethroughed:{t:Zt(Mj),i:te.LOW,l:yu,h:(d,y,v)=>n("del",{key:v.k},y(d.v,v))}};t.disableParsingRawHTML!==!0&&(l.htmlBlock={t:Rn(Oc),i:te.HIGH,l(d,y,v){const[,S]=d[3].match(Nj),h=new RegExp(`^${S}`,"gm"),_=d[3].replace(h,""),C=(R=_,Hj.some(A=>A.test(R))?Xj:ka);var R;const w=d[1].toLowerCase(),x=YB.indexOf(w)!==-1;v.N=v.N||w==="a";const P=x?d[3]:C(y,_,v);return v.N=!1,{O:o(d[2]),v:P,G:x,H:x?w:d[1]}},h:(d,y,v)=>n(d.H,Tr({key:v.k},d.O),d.G?d.v:y(d.v,v))},l.htmlSelfClosing={t:Rn(Mc),i:te.HIGH,l:d=>({O:o(d[2]||""),H:d[1]}),h:(d,y,v)=>n(d.H,Tr({},d.O,{key:v.k}))});const u=function(d){let y=Object.keys(d);function v(S,h){let _=[],C="";for(;S;){let R=0;for(;R<y.length;){const w=y[R],x=d[w],P=x.t(S,h,C);if(P){const A=P[0];S=S.substring(A.length);const H=x.l(P,v,h);H.type==null&&(H.type=w),_.push(H),C=A;break}R++}}return _}return y.sort(function(S,h){let _=d[S].i,C=d[h].i;return _!==C?_-C:S<h?-1:1}),function(S,h){return v(function(_){return _.replace(aj,`
|
|
153
|
+
`).replace(lj,"").replace(_j," ")}(S),h)}}(l),c=(f=function(d){return function(y,v,S){return d[y.type].h(y,v,S)}}(l),function d(y,v={}){if(Array.isArray(y)){const S=v.k,h=[];let _=!1;for(let C=0;C<y.length;C++){v.k=C;const R=d(y[C],v),w=typeof R=="string";w&&_?h[h.length-1]+=R:R!==null&&h.push(R),_=w}return v.k=S,h}return f(y,d,v)});var f;const m=a(e);return i.length?n("div",null,m,n("footer",{key:"footer"},i.map(function(d){return n("div",{id:t.slugify(d.j),key:d.j},d.j,c(u(d.I,{_:!0})))}))):m}(function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"})(te||(te={}));const _d=e=>{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var i,s,l={},u=Object.keys(a);for(s=0;s<u.length;s++)o.indexOf(i=u[s])>=0||(l[i]=a[i]);return l}(e,XB);return _e.cloneElement(Kj(t,r),n)};const ts=({variant:e="primary",className:t="",children:r,...n})=>E.jsx("div",{className:Q("highlighted-text-box",e,t),...n,children:r});const ub=({variant:e="empty",text:t=!1,button:r=!1,className:n=""})=>{let a=r&&!!Object.keys(r).length;const o=typeof r=="object"&&"breakpoints"in r,i=lo(o);if(o&&typeof r=="object"&&typeof i=="number"){const s=Object.assign({},r.breakpoints),l=Bm(Object.keys(s));a=jm(i,l,s)}return E.jsxs(ts,{variant:"subtle",className:Q("empty-state-box",e,n),children:[t&&E.jsx(_d,{options:{forceBlock:!0},children:t}),a&&typeof r=="object"&&E.jsx(Ct,{variant:r.variant?r.variant:"secondary",href:r.url,"data-gtm-event-context":r.gtmContext,"data-gtm-event-type":"explore-content-click",children:r.text})]})};const Ic=({children:e,...t})=>E.jsx("p",{...t,children:e}),cb={q:Ic,blockquote:Ic};for(let e=1;e<=6;e++)cb[`h${e}`]={component:Ic,props:{className:"title"}};const db=({type:e="default",className:t="",heading:r=!1,children:n})=>E.jsxs("div",{className:Q("helper-text-box text-small",e,t),children:[r&&E.jsx("p",{className:"title",children:r}),typeof n=="string"?E.jsx(_d,{options:{wrapper:j.Fragment,forceBlock:!0,overrides:cb},children:n}):E.jsx("p",{children:n})]});const Zj=({className:e="",show:t=!1,hide:r=!1,text:n,children:a})=>{const o=Me(),i=j.useRef(null),[s,l]=j.useState(""),[u,c]=j.useState("closed");j.useEffect(()=>{const d=i.current;if(d)return d.addEventListener("transitionend",f),()=>{d.removeEventListener("transitionend",f)}},[]),j.useEffect(()=>{if(!n||typeof n!="string")return;const d=n.split(`
|
|
154
|
+
`);l(d.length<3?`${n.substring(0,400)}...`:d.slice(0,3).join(`
|
|
155
|
+
`))},[n]),j.useEffect(()=>{u==="ready-to-close"&&c("closing")},[u]);const f=({propertyName:d})=>{d==="max-height"&&c(y=>y==="opening"?"open":y==="closing"?"closed":y)};if(!n)return null;const m=["opening","open"].includes(u);return E.jsxs(ts,{variant:"subtle",className:Q("hide-show-text-box",e),children:[E.jsxs("div",{ref:i,className:Q("content",u),children:[E.jsx(_d,{options:{forceBlock:!0},children:u==="closed"?s:n}),u!=="closed"&&a]}),E.jsx("p",{className:"cta",children:E.jsx(Ct,{variant:"tertiary",icon:{icon:"navigation_arrow",position:"left",animate:!0},styling:{muted:!0},className:Q({"rotate-180":m}),onClick:()=>{c(m?"ready-to-close":"opening")},children:m?r||o.formatMessage({id:"hideShowTextBox_hide"}):t||o.formatMessage({id:"hideShowTextBox_show"})})})]})},Jj=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(Zj,{...t})});const Qj=({className:e="",children:t})=>E.jsx("span",{className:Q("pill",e),children:t});const eD=({progress:e=0,text:t=!1,className:r=""})=>{const n=Me(),a=e>75?100:e>50?75:e>25?50:e>5?25:0,o={"--progress":`${e}%`};return E.jsx("span",{className:Q(`progress-bar section-${a}`,r),style:o,children:E.jsx(Ye,{children:t?`${e} ${t}`:n.formatMessage({id:"progressBar"},{number:e})})})},tD=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(eD,{...t})}),fb=j.memo(tD);const _u="loadingBlock_",rD=({progress:e=0,steps:t=!1,className:r=""})=>{const n=Me();t||(t={0:{text:n.formatMessage({id:`${_u}loading`})},75:{text:n.formatMessage({id:`${_u}almostDone`})},100:{text:n.formatMessage({id:`${_u}complete`})}});let a=null;const o=Object.keys(t);for(let s=0;s<o.length&&!(e<parseInt(o[s]));s++)a=o[s];const i=a&&t[a].icon?{"--icon":`url(${Uy}icons/${t[a].icon}.svg)`}:{};return E.jsxs(ts,{className:Q("loading-block",r,{"has-icon":a&&t[a].icon}),variant:"subtle",style:i,children:[a&&E.jsx("span",{className:"step",children:t[a].text}),E.jsx(fb,{progress:e})]})},nD=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(rD,{...t})}),aD=j.memo(nD);const Fn=({element:e="div",className:t="",...r})=>E.jsx(Nc,{element:e,className:Q("loading-placeholder",t),...r});const $c={header:["logo","link","link","search"],sidebar:["text","text","text","text","text"],"cards-section":["subtitle","cards"],cards:["card","card","card","card"],"overview-page":["header","sidebar","title","text","cards-section","cards-section","footer"]},pb=(e,t)=>e in $c?E.jsx("div",{className:e,children:$c[e].map((r,n)=>pb(r,n))},t):E.jsx(Fn,{className:e},t),mb=({layout:e="overview-page"})=>E.jsx("div",{className:Q("loading-state",e),children:$c[e].map((t,r)=>pb(t,r))});const ga="emailHelperTextBox_",oD=({type:e,email:t,redirectPath:r,resendVerificationCode:n})=>{const a=Me(),[o,i]=j.useState({path:`${ga}default`,type:"default",link:{},mail:{},error:""}),[s,l]=j.useState(!1),u=j.useCallback(d=>{d.preventDefault(),d.stopPropagation();const y=v=>{i({path:`${ga}error_verificationFailedToSend`,type:"error",link:{"data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:S=>u(S),href:"#","data-testid":"send-verify-email-click"},mail:{href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"ErrorVerifyingBox","data-gtm-event-type":"email-concierge-click"},error:v})};if(typeof n!="function"){y(a.formatMessage({id:`${ga}error_noFunction`}));return}l(!0),n(t).then(()=>{localStorage.setItem("email",t),window.location.href=r||"/signup/verify-email"}).catch(v=>{y(v.message)}).finally(()=>{l(!1)})},[t,r,n]);j.useEffect(()=>{let d=ga,y="default",v={},S={};switch(e){case"gov":d+="autoApproved",y="success";break;case"nonGov":d+="unrecognisedEmail",y="error",v={href:"https://about.apolitical.co/who-can-join-the-community","data-gtm-event-context":"NonGovEmailHelperTextBox","data-gtm-event-type":"LearnMoreClick"};break;case"pending":d+="pendingApproval",y="error",S={href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"email-concierge-click"};break;case"verify":d+="emailUnverified",y="error",v={href:"#","data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:h=>u(h),"data-testid":"send-verify-email-click"};break;case"exists":d+="emailAlreadyExists",y="error",v={href:"/user-onboarding/login","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"login-click"},S={href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"email-concierge-click"};break;default:d+="default",v={href:"https://about.apolitical.co/who-can-join-the-community","data-gtm-event-context":"DefaultEmailHelperTextBox","data-gtm-event-type":"LearnMoreClick"};break}i({...o,path:d,type:y,link:v,mail:S})},[e]);const c={};return["link","mail"].forEach(d=>{c[d]=Object.keys(o[d]).length?y=>E.jsx("a",{...o[d],children:y}):y=>y}),E.jsx(db,{type:o.type,heading:s?!1:a.formatMessage({id:`${o.path}_title`}),children:s?E.jsxs(E.Fragment,{children:[E.jsx(Fn,{element:"span"}),E.jsx(Fn,{element:"span"})]}):a.formatMessage({id:`${o.path}_text`},{...c,strong:d=>E.jsx("strong",{children:d}),em:d=>E.jsx("em",{children:d}),br:E.jsxs(E.Fragment,{children:[E.jsx("br",{}),E.jsx("br",{})]}),error:o.error})})},iD=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(oD,{...t})});const Ea="passwordRules_",hb="isMoreThanEightCharacters",vb="includesNumberAndSymbol",yb="includesLowerAndUppercase",lD={[hb]:"8Characters",[vb]:"numberSymbol",[yb]:"lowercaseUppercase"},sD=({matchingRules:e={isMoreThanEightCharacters:!1,includesNumberAndSymbol:!1,includesLowerAndUppercase:!1},className:t=""})=>{const r=Me();return E.jsxs("aside",{className:Q("password-rules",t),children:[E.jsx("small",{children:r.formatMessage({id:`${Ea}intro`})}),E.jsx("ul",{children:[hb,vb,yb].map(n=>E.jsxs("li",{className:Q({matches:e[n]}),children:[E.jsxs(Ye,{children:[r.formatMessage({id:`${Ea}rule_label`})," "]}),E.jsx("span",{children:r.formatMessage({id:`${Ea}rule_${lD[n]}`})}),!e[n]&&E.jsxs(Ye,{element:"strong",children:[" "," ",r.formatMessage({id:`${Ea}notMet`})]})]},`rule-${n}`))})]})},uD=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(sD,{...t})}),cD=j.memo(uD);const dD=({text:e={},topRating:t=5,functions:{createRating:r=()=>null,updateRating:n=()=>{},reportError:a=()=>{}},className:o="",hasLoaded:i=!1})=>{const s=Me(),[l,u]=j.useState({setUp:!1,id:null,rating:null,disabled:!0}),c=async()=>{try{const h=await r();u(_=>({..._,setUp:!0,id:h&&h.id,disabled:!1}))}catch(h){u(_=>({..._,setUp:!0,disabled:!0})),a(h)}};if(j.useEffect(()=>{i&&!l.setUp&&c()},[i]),!i)return E.jsx(Fn,{className:"rating-placeholder"});const{id:f,rating:m,disabled:d}=l,y="ratings_",v={text:s.formatMessage({id:`${y}text`}),low:s.formatMessage({id:`${y}low`}),high:s.formatMessage({id:`${y}high`}),success:s.formatMessage({id:`${y}success`}),...e},S=async h=>{if(!(!f||d))try{u(_=>({..._,rating:h,disabled:!0})),await n({id:f,value:h})}catch(_){u(C=>({...C,rating:null})),a(_)}finally{u(_=>({..._,disabled:!1}))}};return E.jsxs("div",{className:Q("rating",o),children:[E.jsx("span",{className:"label",children:v[m?"success":"text"]}),E.jsx("ol",{children:Array.from(new Array(t).keys()).map(h=>{const _=h+1;return E.jsx("li",{className:Q({selected:m&&_<=m}),children:E.jsx(Ct,{variant:"tertiary",size:"small",icon:{icon:`star${!m||_>m?"_empty":""}`,position:"left",hover:"star"},screenreaderText:`${s.formatMessage({id:`${y}stars`},{number:_,total:t})}${_===1||_===t?` - ${v[_===1?"low":"high"]}`:""}`,onClick:C=>{C.preventDefault(),C.stopPropagation(),S(_)},disabled:d})},`rating-${_}`)})})]})},fD=({locale:e="en",...t})=>E.jsx(qe,{children:E.jsx(dD,{...t})});const pD=({id:e="search",className:t="",handleToggle:r=!1,defaultValue:n="",gtmContext:a="search-bar",gtmEvent:o="form-submission"})=>{const{searchIsOpen:i=!0,isDesktopVersion:s=!1}=r||{},l=Me(),u=j.useRef(null);Na(()=>{!r||s||!i||u.current&&u.current.focus()},[i]);const c=f=>{if(f.preventDefault(),f.stopPropagation(),!(!u.current||!u.current.value||u.current.value.length<1))return window&&window.location&&window.location.replace(`/search?search=${u.current.value}`)};return E.jsx("form",{onSubmit:c,className:Q("search-form gtm-trackable",t),"data-gtm-event-context":a,"data-gtm-event-type":o,children:E.jsx("fieldset",{id:`${e}-form`,hidden:r?!i:!1,role:"search",children:E.jsxs("p",{children:[E.jsx(Ye,{element:"label",htmlFor:e,children:l.formatMessage({id:"search_label"})}),E.jsx("input",{ref:u,type:"search",id:e,name:e,defaultValue:n,placeholder:l.formatMessage({id:"search_placeholder"}),onKeyDown:f=>{f.key==="Enter"&&c(f)}}),E.jsx("button",{className:"clear",onClick:f=>{f.preventDefault(),f.stopPropagation(),u.current&&u.current.value&&(u.current.value="")},children:E.jsx(Ye,{children:l.formatMessage({id:"search_clear"})})}),E.jsx("button",{className:"search",onClick:c,children:E.jsx(Ye,{children:l.formatMessage({id:"search_cta"})})})]})})})},bb=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(pD,{...t})});const mD=({text:e,buttons:t,className:r=""})=>E.jsxs("section",{className:Q("download-section",r),children:[j.createElement(typeof e=="string"?"h2":e.element,{className:"text"},typeof e=="string"?e:e.text),E.jsx("p",{className:"button-wrapper",children:t.map((n,a)=>E.jsx(Ct,{href:n.link,variant:"secondary",size:{mobile:"medium",1024:"large"},className:"gtm-trackable","data-gtm-event-type":"download-click","data-gtm-event-context":n.eventContext||"Download",target:"_blank",children:n.text},`${n.link}-${a}`))})]});const hD=({title:e=!1,logos:t=[],className:r=""})=>{const n=t.length;if(n===0)return null;const a={element:typeof e=="object"?e.element:"h2",text:typeof e=="string"?e:typeof e=="object"?e.text:""};return E.jsxs("div",{className:Q("logos",r),children:[e&&j.createElement(a.element,{className:"title"},a.text),E.jsx("ul",{className:Q({"two-col":n===2||n===4,"three-col":n===5||n<=10&&n%3===0}),children:t.map(({logo:o,nameOfBusiness:i,link:s=!1,description:l=!1},u)=>{if(!o||!o.url)return null;const c=E.jsx("img",{src:o.url,width:o.width||"auto",height:o.height||"auto",alt:i});return E.jsxs("li",{children:[E.jsx("p",{className:"img-wrapper",children:s?E.jsx("a",{href:s,target:"_blank",rel:"nofollow noreferrer noopener",children:c}):c}),l&&E.jsx("small",{children:l})]},window.btoa(`${o.url}_${u}`))})})]})};/*!
|
|
156
156
|
* cookie
|
|
157
157
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
158
158
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
159
159
|
* MIT Licensed
|
|
160
|
-
*/var mb=cD,hm=fD,uD=Object.prototype.toString,Ea=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function cD(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var r={},n=t||{},a=n.decode||dD,o=0;o<e.length;){var i=e.indexOf("=",o);if(i===-1)break;var s=e.indexOf(";",o);if(s===-1)s=e.length;else if(s<i){o=e.lastIndexOf(";",i-1)+1;continue}var l=e.slice(o,i).trim();if(r[l]===void 0){var u=e.slice(i+1,s).trim();u.charCodeAt(0)===34&&(u=u.slice(1,-1)),r[l]=hD(u,a)}o=s+1}return r}function fD(e,t,r){var n=r||{},a=n.encode||pD;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!Ea.test(e))throw new TypeError("argument name is invalid");var o=a(t);if(o&&!Ea.test(o))throw new TypeError("argument val is invalid");var i=e+"="+o;if(n.maxAge!=null){var s=n.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(s)}if(n.domain){if(!Ea.test(n.domain))throw new TypeError("option domain is invalid");i+="; Domain="+n.domain}if(n.path){if(!Ea.test(n.path))throw new TypeError("option path is invalid");i+="; Path="+n.path}if(n.expires){var l=n.expires;if(!mD(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+l.toUTCString()}if(n.httpOnly&&(i+="; HttpOnly"),n.secure&&(i+="; Secure"),n.priority){var u=typeof n.priority=="string"?n.priority.toLowerCase():n.priority;switch(u){case"low":i+="; Priority=Low";break;case"medium":i+="; Priority=Medium";break;case"high":i+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(n.sameSite){var c=typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(c){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return i}function dD(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function pD(e){return encodeURIComponent(e)}function mD(e){return uD.call(e)==="[object Date]"||e instanceof Date}function hD(e,t){try{return t(e)}catch{return e}}function vD(){return typeof document=="object"&&typeof document.cookie=="string"}function yD(e){return typeof e=="string"?mb(e):typeof e=="object"&&e!==null?e:{}}function wu(e,t={}){const r=bD(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function bD(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class gD{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=mb(document.cookie),this._checkChanges(a)};const n=typeof document>"u"?"":document.cookie;this.cookies=yD(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=vD()}_emitChange(t){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(n=>{t[n]!==this.cookies[n]&&this._emitChange({name:n,value:wu(t[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),wu(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=wu(this.cookies[n],t);return r}set(t,r,n){n?n=Object.assign(Object.assign({},this.defaultSetOptions),n):n=this.defaultSetOptions;const a=typeof r=="string"?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:a}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=hm(t,a,n)),this._emitChange({name:t,value:r,options:n})}remove(t,r){const n=r=Object.assign(Object.assign({},r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=hm(t,"",n)),this._emitChange({name:t,value:void 0,options:r})}addChangeListener(t){this.changeListeners.push(t),this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const r=this.changeListeners.indexOf(t);r>=0&&this.changeListeners.splice(r,1),this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const _D=Ce.createContext(new gD),ED=_D;function wD(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function xD(e){const t=j.useContext(ED);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=j.useState(()=>t.getAll());wD()&&j.useLayoutEffect(()=>{function s(){const l=t.getAll({doNotUpdate:!0});CD(e||null,l,r)&&n(l)}return t.addChangeListener(s),()=>{t.removeChangeListener(s)}},[t,r]);const a=j.useMemo(()=>t.set.bind(t),[t]),o=j.useMemo(()=>t.remove.bind(t),[t]),i=j.useMemo(()=>t.update.bind(t),[t]);return[r,a,o,i]}function CD(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}const xu="cookieBanner_",Cu=["apol-cookie-banner","apolitical-performance-cookie-consent","functional-cookie-consent"],Tu=new Date(Date.now()+12*30*24*60*60*1e3),TD=()=>{const e=Ne(),[t,r,n]=xD(Cu),[a,o]=j.useState(!t["apol-cookie-banner"]),i=()=>{Cu.forEach(u=>{r(u,!0,{path:"/",expires:Tu,domain:u==="apolitical-performance-cookie-consent"?".apolitical.co":void 0})}),o(!1),window.location.reload()},s=()=>{r("apol-cookie-banner",!0,{path:"/",expires:Tu}),Cu.forEach(u=>{if(u==="apol-cookie-banner"){r(u,!0,{path:"/",expires:Tu});return}n(u)}),o(!1)};if(!a)return null;const l=[{id:"settings",href:"/pages/cookie-policy",gtmType:"policy-page"},{id:"reject",onClick:s,gtmType:"reject-all"},{id:"accept",onClick:i,gtmType:"accepted-all"}];return _.jsxs("aside",{id:"cookie-banner",className:"text-medium",children:[_.jsx("h6",{children:e.formatMessage({id:`${xu}title`})}),_.jsx("p",{children:e.formatMessage({id:`${xu}text`})}),_.jsx("ul",{className:"button-wrapper",children:l.map(({id:u,onClick:c=!1,href:d=!1,gtmType:m})=>_.jsx("li",{children:_.jsx(Ct,{variant:d?"tertiary":"primary",href:d,onClick:c,className:"gtm-trackable","data-gtm-event-context":"cookie-banner","data-gtm-event-type":`cookie-${m}-click`,children:e.formatMessage({id:`${xu}buttons_${u}`})})},u))})]})},RD=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(TD,{...t})});const SD=({options:e,allOption:t=!1,allowMultiple:r=!0,onChange:n=()=>{},className:a=""})=>{const o=Ne(),i=t?[{id:"all",text:typeof t!="boolean"&&t.text||o.formatMessage({id:"filters_all"})},...e]:e,[s,l]=j.useState(t?["all"]:[]),u=(c,d)=>{let m=[];s.includes(c)?m=s.filter(f=>f!==c):c==="all"?m=["all"]:r?m=[...s.filter(f=>f!=="all"),c]:m=[c],l(f=>(n&&typeof n=="function"&&n({current:m,previous:f}),m)),d&&typeof d=="function"&&d()};return _.jsx("ul",{className:te("filters",a),children:i.map(({id:c,text:d,disabled:m=!1,callback:f=()=>{}})=>{let y={};return m&&(y={disabled:!0,"aria-label":o.formatMessage({id:"filters_disabled"},{name:d})}),_.jsx("li",{children:_.jsx("button",{className:te(c,{selected:s.includes(c)}),onClick:v=>{v.preventDefault(),v.stopPropagation(),u(c,f)},...y,children:d})},c)})})},PD=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(SD,{...t})});const Ru=Fu({locale:"en",messages:mh}),AD=({page:e=1,length:t=0,limit:r=10,loadNextPage:n=()=>{},icon:a=!1,messages:o={button:Ru.formatMessage({id:"loadMore_button"}),endOfFeed:Ru.formatMessage({id:"loadMore_endOfFeed"}),error:Ru.formatMessage({id:"loadMore_error"})},className:i="",gtmContext:s="LoadMore"})=>{const[l,u]=j.useState(!1),[c,d]=j.useState(!1);if(t<=0||t<r*e)return null;const m=async f=>{try{await n(f)}catch(y){y instanceof Error&&y.message&&y.message.includes("Cannot read items")?d(!0):u(!0)}};return _.jsxs("footer",{className:te("load-more",i),children:[l&&_.jsx("p",{className:"error",children:o.error}),c?_.jsx("p",{children:o.endOfFeed}):_.jsx(Ct,{variant:"secondary",icon:a,onClick:m,"data-gtm-event-context":s,"data-gtm-event-type":"load-more-click",className:"gtm-trackable","data-testid":"load-more-button",children:o.button})]})},OD=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(AD,{...t})});const ID=({variant:e="default",version:t="default",className:r="",...n})=>_.jsx("p",{className:"logo-wrapper",children:_.jsx("a",{className:te("logo",e,t,r),href:"/home/",...n,children:_.jsx(Ye,{children:_.jsx(Rr,{id:"apolitical"})})})}),wf=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(ID,{...t})}),vm={default:"tags_",headerTopics:"header_topics_topics_"},Su={topic:{Climate:"climate",CitiesAndLocalGovernment:"cities-and-local-government",DigitalAndData:"digital-and-data",Education:"education",EquityJusticeAndInclusion:"equity-justice-and-inclusion",HealthAndSocialCare:"health-and-social-care",Innovation:"innovation",LeadershipAndSkills:"leadership-and-skills",LifeInGovernment:"life-in-government",Policymaking:"policymaking",TransportAndInfrastructure:"transport-and-infrastructure",WorkAndTheEconomy:"work-and-the-economy"},"from the community":"community"},MD={getTagDetails:e=>{if(e.includes("topic_")){if(e=Su.topic[e.replace("topic_","")],e){const t=Un.topics.topics[e].href;return t?{id:e,href:t,text:`${vm.headerTopics}${e}`}:null}return null}return Su[e]?(e=Su[e],{id:e,text:`${vm.default}${e}`}):null}};const $D=({tags:e=[],color:t="default",forceOneLine:r=!1,canHaveLinks:n=!0,className:a="",gtmType:o="tag-click",gtmContext:i="tags"})=>{const s=Ne();if(!e||e.length<1)return null;const l=[];return e.forEach(u=>{if(!u)return;const c=MD.getTagDetails(u);c&&l.push(c)}),l.length<1?null:_.jsx("ul",{className:te("tags text-small",t,a,{"one-line":r}),children:l.map(u=>{const c=s.formatMessage({id:u.text});return _.jsx("li",{children:u.href&&n?_.jsx("a",{href:u.href,className:"gtm-trackable","data-gtm-event-type":o,"data-gtm-event-context":i,children:c}):c},u.id)})})},kD=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx($D,{...t})}),Lt={platform:{order:["events","courses","qanda","articles"],events:{href:"/events/",gtmType:"events-click"},courses:{href:"/microcourses/",gtmType:"microcourses-click"},qanda:{href:"/questions-answers/",gtmType:"q-and-a-click"},articles:{href:"/solution-articles/",gtmType:"articles-click"}},community:{order:["support","post","join","guidelines"],support:{name:"Support FAQ",href:"/pages/support-faq",gtmType:"support-faq-click"},post:{href:"/pages/post-an-article",gtmType:"post-an-article-click"},join:{href:"/pages/who-can-join-the-community",gtmType:"who-can-join-click"},guidelines:{href:"/pages/values-and-guidelines",gtmType:"guidelines-and-values-click"}},company:{order:["story","team","careers","partner","contact"],story:{href:"/pages/our-story",gtmType:"our-story-click"},team:{href:"/pages/meet-our-team",gtmType:"team-click"},careers:{href:"/pages/careers",gtmType:"careers-click"},partner:{href:"/partnerships/",gtmType:"partner-with-us-click"},contact:{href:"/pages/get-in-touch",gtmType:"contact-click"},child:"legal"},legal:{order:["privacy","terms","cookie","accessibility"],privacy:{href:"https://about.apolitical.co/privacy-policy",gtmType:"privacy-policy-link"},terms:{href:"https://about.apolitical.co/terms-and-conditions",gtmType:"terms-conditions-link"},cookie:{href:"/pages/cookie-policy",gtmType:"cookie-policy-link"},accessibility:{href:"/pages/accessibility-statement",gtmType:"accessibility-link"},text:{order:["dataProtection","euDataProtection"],dataProtection:{email:"dpo@apolitical.co",gtmType:"email-dpo-link"},euDataProtection:{email:"dpo.agl@apolitical.foundation",gtmType:"email-eu-dpo-link"}}},contact:{text:{order:["correspondence","registered","berlin","support","business"],correspondence:{address:!0},registered:{address:!0},berlin:{address:!0},support:{email:"concierge@apolitical.co",gtmType:"concierge-email-click"},business:{email:"hello@apolitical.co",gtmType:"hello-email-click"}}},social:{order:["linkedin","twitter","facebook"],linkedin:{href:"https://www.linkedin.com/company/apolitical"},twitter:{href:"https://twitter.com/apoliticalco"},facebook:{href:"https://www.facebook.com/apoliticalco"}}};const en="footer_",oo="SiteFooter",ym=({group:e})=>{const t=Lt[e].order||[];let r=!1;return"text"in Lt[e]&&(r=Lt[e].text),_.jsxs(j.Fragment,{children:[_.jsx("p",{className:"pre-title",children:_.jsx(Rr,{id:`${en}${e}`})}),Array.isArray(t)&&t.length>0&&_.jsx("ul",{className:"text-medium",children:t.map(n=>{if(["order","child","text"].includes(n))return null;const{href:a,gtmType:o}=Lt[e][n],i={};return["legal"].includes(e)&&(i.target="_blank",i.rel="noopener"),_.jsx("li",{children:_.jsx("a",{href:a,className:"gtm-trackable","data-gtm-event-context":oo,"data-gtm-event-type":o,...i,children:_.jsx(Rr,{id:`${en}${e}_${n}`})})},`${e}_${n}`)})}),typeof r!="boolean"&&"order"in r&&Array.isArray(r.order)&&_.jsx("dl",{className:"text-medium",children:r.order.map(n=>_.jsxs(j.Fragment,{children:[_.jsx("dt",{children:_.jsx(Rr,{id:`${en}${e}_${n}`})}),_.jsxs("dd",{children:[typeof r!="boolean"&&r[n].address&&_.jsx("address",{children:_.jsx(Rr,{id:`${en}${e}_${n}_address`,values:{br:_.jsx("br",{})}})}),typeof r!="boolean"&&r[n].email&&_.jsx("a",{href:`mailto:${r[n].email}`,className:"gtm-trackable","data-gtm-event-context":oo,"data-gtm-event-type":r[n].gtmType,children:r[n].email})]})]},`dl-${e}-${n}`))})]},e)},ND=()=>_.jsx("div",{id:"footer",children:_.jsxs("div",{className:"wrapper",children:[_.jsx(kc,{element:"hr"}),_.jsx(wf,{variant:"inverted",version:"full",className:"gtm-trackable","data-gtm-event-context":oo,"data-gtm-event-type":"logo-homepage-link"}),_.jsx("footer",{children:["platform","community","company","contact"].map(e=>_.jsxs("div",{className:"group",children:[_.jsx(ym,{group:e}),Object.keys(Lt[e]).includes("child")&&_.jsx(ym,{group:Lt[e].child})]},e))}),_.jsx("hr",{}),_.jsxs("div",{className:"sub-footer",children:[_.jsx("ul",{children:Array.isArray(Lt.social.order)&&Lt.social.order.map(e=>{const t=Lt.social[e];return _.jsx("li",{className:e,children:_.jsx("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"gtm-trackable","data-gtm-event-context":oo,"data-gtm-event-type":"social-click",children:_.jsx("span",{className:"hidden",children:_.jsx(Rr,{id:`${en}social_${e}`})})})},e)})}),_.jsx("small",{children:_.jsx(Rr,{id:`${en}copyright`,values:{currentYear:new Date().getFullYear()}})})]})]})}),qD=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(ND,{...t})}),hb=e=>{const t=e&&e.toUpperCase().split(" ");return Array.isArray(t)&&t.length>1&&t[0]!==""?t[1]===""?t[0][0]:t[0][0]+t[t.length-1][0]:e?e.substr(0,1):""},wa=["#5AB6A3","#A2D7AF","#806056","#3962B3"],BD=e=>{const t=Math.ceil(26/wa.length),r=hb(e).toLowerCase();if(r==="")return wa[0];const n=r.charCodeAt(0)-96;for(let a=0;a<wa.length;a++)if(n<=t*(a+1))return wa[a]};const xa=256,vb=({className:e="",src:t="",name:r,alt:n,...a})=>{const[o,i]=j.useState(!1),s=j.useRef(null);return j.useEffect(()=>{const l=s.current;if(!l)return;const u=l.getContext("2d");if(!u)return;const c=xa,d=xa;typeof window<"u"&&window.devicePixelRatio&&(l.width=c*window.devicePixelRatio,l.height=d*window.devicePixelRatio,u.scale(window.devicePixelRatio,window.devicePixelRatio)),u.fillStyle=BD(r),u.fillRect(0,0,c,d),u.font=`${c/3}px Arial`,u.textAlign="center",u.fillStyle="white",u.fillText(hb(r),c/2,d/1.6)},[r]),_.jsxs("figure",{className:te("profile-picture",e,{error:o}),...a,children:[t!==""&&!o&&_.jsx("img",{src:t,alt:n||r,onError:()=>{i(!0)},width:xa,height:xa}),(t===""||o)&&_.jsx("canvas",{ref:s})]})};var jD="Expected a function",yb="__lodash_hash_undefined__",bb=1/0,DD="[object Function]",LD="[object GeneratorFunction]",FD="[object Symbol]",HD=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,UD=/^\w*$/,GD=/^\./,WD=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,VD=/[\\^$.*+?()[\]{}|]/g,zD=/\\(\\)?/g,XD=/^\[object .+?Constructor\]$/,YD=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,KD=typeof self=="object"&&self&&self.Object===Object&&self,xf=YD||KD||Function("return this")();function ZD(e,t){return e==null?void 0:e[t]}function JD(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var QD=Array.prototype,eL=Function.prototype,gb=Object.prototype,Pu=xf["__core-js_shared__"],bm=function(){var e=/[^.]+$/.exec(Pu&&Pu.keys&&Pu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),_b=eL.toString,Cf=gb.hasOwnProperty,Eb=gb.toString,tL=RegExp("^"+_b.call(Cf).replace(VD,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gm=xf.Symbol,rL=QD.splice,nL=wb(xf,"Map"),Hn=wb(Object,"create"),_m=gm?gm.prototype:void 0,Em=_m?_m.toString:void 0;function $r(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function aL(){this.__data__=Hn?Hn(null):{}}function oL(e){return this.has(e)&&delete this.__data__[e]}function iL(e){var t=this.__data__;if(Hn){var r=t[e];return r===yb?void 0:r}return Cf.call(t,e)?t[e]:void 0}function lL(e){var t=this.__data__;return Hn?t[e]!==void 0:Cf.call(t,e)}function sL(e,t){var r=this.__data__;return r[e]=Hn&&t===void 0?yb:t,this}$r.prototype.clear=aL;$r.prototype.delete=oL;$r.prototype.get=iL;$r.prototype.has=lL;$r.prototype.set=sL;function hn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function uL(){this.__data__=[]}function cL(e){var t=this.__data__,r=rs(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():rL.call(t,r,1),!0}function fL(e){var t=this.__data__,r=rs(t,e);return r<0?void 0:t[r][1]}function dL(e){return rs(this.__data__,e)>-1}function pL(e,t){var r=this.__data__,n=rs(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}hn.prototype.clear=uL;hn.prototype.delete=cL;hn.prototype.get=fL;hn.prototype.has=dL;hn.prototype.set=pL;function Hr(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function mL(){this.__data__={hash:new $r,map:new(nL||hn),string:new $r}}function hL(e){return ns(this,e).delete(e)}function vL(e){return ns(this,e).get(e)}function yL(e){return ns(this,e).has(e)}function bL(e,t){return ns(this,e).set(e,t),this}Hr.prototype.clear=mL;Hr.prototype.delete=hL;Hr.prototype.get=vL;Hr.prototype.has=yL;Hr.prototype.set=bL;function rs(e,t){for(var r=e.length;r--;)if(AL(e[r][0],t))return r;return-1}function gL(e,t){t=xL(t,e)?[t]:wL(t);for(var r=0,n=t.length;e!=null&&r<n;)e=e[SL(t[r++])];return r&&r==n?e:void 0}function _L(e){if(!Cb(e)||TL(e))return!1;var t=OL(e)||JD(e)?tL:XD;return t.test(PL(e))}function EL(e){if(typeof e=="string")return e;if(Rf(e))return Em?Em.call(e):"";var t=e+"";return t=="0"&&1/e==-bb?"-0":t}function wL(e){return xb(e)?e:RL(e)}function ns(e,t){var r=e.__data__;return CL(t)?r[typeof t=="string"?"string":"hash"]:r.map}function wb(e,t){var r=ZD(e,t);return _L(r)?r:void 0}function xL(e,t){if(xb(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Rf(e)?!0:UD.test(e)||!HD.test(e)||t!=null&&e in Object(t)}function CL(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function TL(e){return!!bm&&bm in e}var RL=Tf(function(e){e=ML(e);var t=[];return GD.test(e)&&t.push(""),e.replace(WD,function(r,n,a,o){t.push(a?o.replace(zD,"$1"):n||r)}),t});function SL(e){if(typeof e=="string"||Rf(e))return e;var t=e+"";return t=="0"&&1/e==-bb?"-0":t}function PL(e){if(e!=null){try{return _b.call(e)}catch{}try{return e+""}catch{}}return""}function Tf(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(jD);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i),i};return r.cache=new(Tf.Cache||Hr),r}Tf.Cache=Hr;function AL(e,t){return e===t||e!==e&&t!==t}var xb=Array.isArray;function OL(e){var t=Cb(e)?Eb.call(e):"";return t==DD||t==LD}function Cb(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function IL(e){return!!e&&typeof e=="object"}function Rf(e){return typeof e=="symbol"||IL(e)&&Eb.call(e)==FD}function ML(e){return e==null?"":EL(e)}function $L(e,t,r){var n=e==null?void 0:gL(e,t);return n===void 0?r:n}var kL=$L;const Tb=Gn(kL),de={timeouts:{},handlerCalled:{},getIsDesktopVersion:(e,t)=>{const r={navigation:{loggedIn:769,loggedOut:881},search:{loggedIn:961,loggedOut:1121}},n=o=>{const i=`logged${e?"In":"Out"}`;return t>=r[o][i]};let a={};return["navigation","search"].forEach(o=>{a[o]=n(o)}),a},shouldChangeHeaderIsVisible:(e,t,r)=>{Object.values(t).filter(a=>a===!0).length||r([{type:"headerIsVisible",value:e}])},handleMenus:({id:e,value:t,menus:r,dispatch:n})=>{if(r[e]===t||e==="account"&&t===!1&&r.navigation===!0)return;const a=Date.now();if(!t&&de.handlerCalled[e]&&a-de.handlerCalled[e]<500)return;de.handlerCalled[e]=a;let o=[{type:`menus.${e}`,value:t}];t===!0&&Object.keys(r).forEach(i=>{i===e||r[i]===!1||o.push({type:`menus.${i}`,value:!1})}),n(o)},findFirstChild:(e,t,r=!1)=>{if(!e||!e[0])return!1;for(let n=0;n<=e.length;n++){if(!e[n])continue;if(e[n][t]&&(!r||e[n][t].includes(r)))return e[n];if(!t.includes("."))continue;const a=Tb(e[n],t);if(!(typeof a>"u")&&(!r||a[t]&&a[t].includes(r)||a.value&&a.value.includes(r)||a.toString().includes(r)))return e[n]}return e[0].children?de.findFirstChild(e[0].children,t,r):!1},autoFocus:({menu:e,navigationRef:t,isDesktopVersion:r,focusElements:n,dispatch:a})=>{if(!t.current||!t.current.children)return;const o=r?"desktop":"default";if(n[e][o]){n[e][o].focus();return}let i,s;switch(e){case"navigation":if(r){const l=de.findFirstChild(t.current.children,"attributes.aria-controls","navigation");i=de.findFirstChild(l.children,"href")}else i=de.findFirstChild(t.current.children,"href");i||(i=t.current);break;case"account":if(s=de.findFirstChild(t.current.children,"className","account"),!s||!s.children)return;i=de.findFirstChild(s.children,"href");break;default:return}i&&(a([{type:`focusElements.${e}.${o}`,value:i}]),i.focus())},events:{onClick:(e,{id:t,callback:r,isOpen:n})=>{e.target&&e.target.attributes&&e.target.attributes.href||(e.preventDefault(),e.stopPropagation(),clearTimeout(de.timeouts[t]),r(t,!n))},onFocus:({id:e})=>{clearTimeout(de.timeouts[e])},onMouseEnter:({id:e,callback:t})=>{clearTimeout(de.timeouts[e]),t(e,!0)},onBlur:({id:e,callback:t})=>{de.timeouts[e]=setTimeout(()=>{t(e,!1)},250)}}},Un={order:["home","topics","partners","account"],home:{href:"/home/",hasVariantText:!0,gtmType:"homepage-click"},topics:{order:["explore","topics"],menuId:"navigation",explore:{order:["events","courses","q-and-a","articles"],events:{href:"/events/",className:"icon events"},courses:{href:"/microcourses/",gtmType:"microcourses-click",className:"icon courses"},"q-and-a":{href:"/questions-answers/",className:"icon q-and-a"},articles:{href:"/solution-articles/",gtmType:"articles-click",className:"icon articles"}},topics:{order:["climate","cities-and-local-government","digital-and-data","education","equity-justice-and-inclusion","health-and-social-care","innovation","leadership-and-skills","life-in-government","policymaking","transport-and-infrastructure","work-and-the-economy"],className:"columns",climate:{href:"/topics/climate/"},"cities-and-local-government":{href:"/topics/cities-and-local-government/"},"digital-and-data":{href:"/topics/digital-and-data/"},education:{href:"/topics/education/"},"equity-justice-and-inclusion":{href:"/topics/equity-justice-and-inclusion/"},"health-and-social-care":{href:"/topics/health-and-social-care/"},innovation:{href:"/topics/innovation/"},"leadership-and-skills":{href:"/topics/leadership-and-skills/"},"life-in-government":{href:"/topics/life-in-government/"},policymaking:{href:"/topics/policymaking/"},"transport-and-infrastructure":{href:"/topics/transport-and-infrastructure/"},"work-and-the-economy":{href:"/topics/work-and-the-economy/"}}},partners:{href:"/partnerships/",onlyShow:"logged-out"},account:{order:["profile","settings","log-out"],className:"account",onlyShow:"logged-in",doTrack:!1,profile:{href:"/profiles/me"},settings:{href:"/profiles/me/manage-account"},"log-out":{href:"/user-onboarding/logout",className:"divider"}},buttons:{order:["login","signup"],login:{href:"/user-onboarding/login"},signup:{href:"/signup/?ref=header-banner",props:{variant:"primary"}}}},io=({id:e,isLoggedIn:t=!1,isDesktopVersion:r=!1,menus:n={},callback:a=()=>{},doTrack:o=null})=>{const i=Ne(),s=Tb(Un,e);if(!s||s.onlyShow&&(s.onlyShow==="logged-in"&&!t||s.onlyShow==="logged-out"&&t))return null;const l="doTrack"in s,u=o===null?l?s.doTrack:!0:o,c=e.includes("buttons.");let d=`header_${e.replaceAll(".","_")}`;s.hasVariantText&&(d+=`_logged${t?"In":"Out"}`);let m=!1;if(s.href){let E=s.gtmType||`${e}-click`;if(E.includes(".")){const C=E.split("."),S=C[C.length-2];E=`${S==="topics"?`${S}-`:""}${C[C.length-1]}`}m={href:s.href,role:"menuitem"},u&&(m={...m,className:"gtm-trackable","data-gtm-event-type":E,"data-gtm-event-context":"HeaderButtons"}),c&&(m={...m,variant:"secondary",size:{mobile:"small",881:"large"},...s.props||{}})}const f=s.order&&s.order[0]&&s[s.order[0]],y=f&&s[s.order[0]].order,v=m&&typeof window<"u"&&window.location&&window.location.pathname===s.href;let R={},h={};if(f){const E=s.menuId||e,C={onClick:S=>de.events.onClick(S,{id:E,callback:a,isOpen:n[E]}),onFocus:()=>de.events.onFocus({id:E}),onBlur:()=>de.events.onBlur({id:E,callback:a}),onMouseLeave:()=>de.events.onBlur({id:E,callback:a}),onMouseEnter:()=>de.events.onMouseEnter({id:E,callback:a})};r&&(y&&(R={...C,onKeyPress:S=>{S.key==="Enter"&&de.events.onClick(S,{id:E,callback:a,isOpen:n[E]})},tabIndex:"0","aria-haspopup":!0,"aria-expanded":n[E],"aria-controls":E}),h={hidden:E in n?!n[E]:!0}),y||(h={...h,...C})}return _.jsxs("li",{className:te({[s.className]:s.className,"has-submenu":f,parent:y,active:v}),role:"none",...R,children:[m?j.createElement(c?Ct:"a",m,i.formatMessage({id:d})):i.formatMessage({id:d}),s.order&&_.jsx("ul",{...h,children:s.order.map(E=>{if(!s[E])return null;const C={isLoggedIn:t,isDesktopVersion:r,menus:n,callback:a,doTrack:l?u:null};return s[E].order?_.jsxs("li",{className:te({[s[E].className]:s[E].className}),children:[i.formatMessage({id:`${d}_${E}`}),_.jsx("ul",{children:s[E].order.map(S=>_.jsx(io,{id:`${e}.${E}.${S}`,...C},S))})]},E):_.jsx(io,{id:`${e}.${E}`,...C},E)})})]},e)};const NL={height:67,height_desktop:83},qL=()=>{const e=Ne(),t=j.useContext(bf),r=lo(!0,!0),n=t&&t.details&&typeof t.details.id=="string",a=j.useMemo(()=>de.getIsDesktopVersion(n,r),[n,r]),[o,i]=j.useReducer(Yg,{headerIsVisible:!0,menus:{navigation:!1,search:!1,account:!1},focusElements:{navigation:{desktop:!1,default:!1},account:{desktop:!1,default:!1}}}),{headerIsVisible:s,menus:l,focusElements:u}=o;Tm({scrollPosition:NL[`height${a.navigation?"_desktop":""}`],callbacks:{scrollUp:()=>{!a&&l.navigation||de.shouldChangeHeaderIsVisible(!0,l,i)},scrollDown:()=>{!a&&l.navigation||de.shouldChangeHeaderIsVisible(!1,l,i)}}});const c=(m,f)=>{de.handleMenus({id:m,value:f,menus:l,dispatch:i})},d=j.useRef(null);return Na(()=>{l.navigation&&de.autoFocus({menu:"navigation",navigationRef:d,isDesktopVersion:a.navigation,focusElements:u,dispatch:i})},[l.navigation]),Na(()=>{l.account&&de.autoFocus({menu:"account",navigationRef:d,isDesktopVersion:a.navigation,focusElements:u,dispatch:i})},[l.account]),t&&t.isLoading?null:_.jsxs(_.Fragment,{children:[_.jsxs("nav",{id:"header",className:te({"logged-in":n,"logged-out":!n,visible:s}),children:[_.jsx(Ye,{element:"a",href:"#content-of-page",children:e.formatMessage({id:"header_skip"})}),_.jsx(wf,{}),!a.navigation&&_.jsx("button",{className:"menu-button gtm-trackable",onClick:m=>{m.preventDefault(),m.stopPropagation(),c("navigation",!l.navigation)},"data-gtm-event-type":"open-tab-menu-click","data-gtm-event-context":"HeaderLeft-Chevron","aria-haspopup":"true","aria-expanded":l.navigation,"aria-controls":"navigation",children:_.jsx(Ye,{children:e.formatMessage({id:`header_menu_${l.navigation?"hide":"show"}`})})}),_.jsx("ul",{ref:d,id:"navigation",hidden:a.navigation||l.account?!1:!l.navigation,role:"menu","data-showing":!a.navigation&&l.account?"account":"default",children:Un.order.map(m=>_.jsx(io,{id:m,isLoggedIn:n,isDesktopVersion:a.navigation,menus:{navigation:l.navigation,account:l.account},callback:c},m))}),!a.search&&_.jsx("button",{className:"search toggle-search-button",onClick:m=>{m.preventDefault(),m.stopPropagation(),c("search",!l.search)},"aria-haspopup":"true","aria-expanded":l.search,"aria-controls":"search-form",children:_.jsx(Ye,{children:e.formatMessage({id:`header_search_${l.search?"hide":"show"}`})})}),_.jsx(pb,{id:"global-search",handleToggle:{searchIsOpen:l.search,isDesktopVersion:a.search},gtmContext:"search-bar-header",gtmEvent:"form-submission"}),n?_.jsxs("button",{className:"account-button",onClick:m=>de.events.onClick(m,{id:"account",callback:c,isOpen:l.account}),onMouseEnter:()=>de.events.onMouseEnter({id:"account",callback:c}),onMouseLeave:()=>de.events.onBlur({id:"account",callback:c}),"aria-haspopup":"true","aria-expanded":l.account,"aria-controls":"navigation",children:[_.jsx(Ye,{children:e.formatMessage({id:`header_account_${l.account?"hide":"show"}`})}),_.jsx(vb,{name:t&&t.details&&t.details.name||"",src:t&&t.details&&t.details.image&&t.details.image.thumbnail||""})]}):_.jsx("ul",{className:"sign-in-buttons",children:Un.buttons.order.map(m=>_.jsx(io,{id:`buttons.${m}`},m))})]}),_.jsx("hr",{id:"content-of-page"}),_.jsx("div",{className:te("overlay",{open:l.navigation||l.account||!a.search&&l.search})})]})},BL=({locale:e="en",...t})=>_.jsx(Le,{locale:e,children:_.jsx(qL,{...t})});exports.ASSETS_BUCKET=Ly;exports.BannerSection=$B;exports.Button=Ct;exports.CollapsibleSection=jB;exports.CookieBanner=RD;exports.DownloadSection=lD;exports.EmailHelperTextBox=Qj;exports.EmptyStateBox=Hj;exports.Filters=PD;exports.Footer=qD;exports.Header=BL;exports.HelperTextBox=lb;exports.HiddenFromScreenReaders=kc;exports.HideShowTextBox=Gj;exports.HighlightedTextBox=ts;exports.Link=PB;exports.LoadMore=OD;exports.LoadingBlock=Kj;exports.LoadingPlaceholder=Fn;exports.LoadingState=Zj;exports.Logo=wf;exports.Logos=sD;exports.MarketingBox=kB;exports.NUMBER_OF_USERS=NB;exports.PasswordRules=nD;exports.Pill=Wj;exports.ProfilePicture=vb;exports.ProgressBar=sb;exports.Rating=oD;exports.ResponsiveImage=Dy;exports.SearchForm=pb;exports.Tags=kD;exports.UserContext=bf;exports.UserProvider=qB;exports.VisuallyHidden=Ye;exports.headerData=Un;exports.useEffectAfterMount=Na;exports.useScreenWidth=lo;exports.useScrollListener=Tm;
|
|
160
|
+
*/var gb=yD,bm=bD,vD=Object.prototype.toString,_a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function yD(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var r={},n=t||{},a=n.decode||gD,o=0;o<e.length;){var i=e.indexOf("=",o);if(i===-1)break;var s=e.indexOf(";",o);if(s===-1)s=e.length;else if(s<i){o=e.lastIndexOf(";",i-1)+1;continue}var l=e.slice(o,i).trim();if(r[l]===void 0){var u=e.slice(i+1,s).trim();u.charCodeAt(0)===34&&(u=u.slice(1,-1)),r[l]=xD(u,a)}o=s+1}return r}function bD(e,t,r){var n=r||{},a=n.encode||ED;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!_a.test(e))throw new TypeError("argument name is invalid");var o=a(t);if(o&&!_a.test(o))throw new TypeError("argument val is invalid");var i=e+"="+o;if(n.maxAge!=null){var s=n.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(s)}if(n.domain){if(!_a.test(n.domain))throw new TypeError("option domain is invalid");i+="; Domain="+n.domain}if(n.path){if(!_a.test(n.path))throw new TypeError("option path is invalid");i+="; Path="+n.path}if(n.expires){var l=n.expires;if(!_D(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+l.toUTCString()}if(n.httpOnly&&(i+="; HttpOnly"),n.secure&&(i+="; Secure"),n.priority){var u=typeof n.priority=="string"?n.priority.toLowerCase():n.priority;switch(u){case"low":i+="; Priority=Low";break;case"medium":i+="; Priority=Medium";break;case"high":i+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(n.sameSite){var c=typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(c){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return i}function gD(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function ED(e){return encodeURIComponent(e)}function _D(e){return vD.call(e)==="[object Date]"||e instanceof Date}function xD(e,t){try{return t(e)}catch{return e}}function wD(){return typeof document=="object"&&typeof document.cookie=="string"}function CD(e){return typeof e=="string"?gb(e):typeof e=="object"&&e!==null?e:{}}function xu(e,t={}){const r=TD(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function TD(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class Eb{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=gb(document.cookie),this._checkChanges(a)};const n=typeof document>"u"?"":document.cookie;this.cookies=CD(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=wD()}_emitChange(t){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(n=>{t[n]!==this.cookies[n]&&this._emitChange({name:n,value:xu(t[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),xu(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=xu(this.cookies[n],t);return r}set(t,r,n){n?n=Object.assign(Object.assign({},this.defaultSetOptions),n):n=this.defaultSetOptions;const a=typeof r=="string"?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:a}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=bm(t,a,n)),this._emitChange({name:t,value:r,options:n})}remove(t,r){const n=r=Object.assign(Object.assign({},r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=bm(t,"",n)),this._emitChange({name:t,value:void 0,options:r})}addChangeListener(t){this.changeListeners.push(t),this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const r=this.changeListeners.indexOf(t);r>=0&&this.changeListeners.splice(r,1),this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const _b=_e.createContext(new Eb),{Provider:SD,Consumer:zL}=_b;class RD extends _e.Component{constructor(t){super(t),t.cookies?this.cookies=t.cookies:this.cookies=new Eb(void 0,t.defaultSetOptions)}render(){return _e.createElement(SD,{value:this.cookies},this.props.children)}}function PD(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function AD(e){const t=j.useContext(_b);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=j.useState(()=>t.getAll());PD()&&j.useLayoutEffect(()=>{function s(){const l=t.getAll({doNotUpdate:!0});OD(e||null,l,r)&&n(l)}return t.addChangeListener(s),()=>{t.removeChangeListener(s)}},[t,r]);const a=j.useMemo(()=>t.set.bind(t),[t]),o=j.useMemo(()=>t.remove.bind(t),[t]),i=j.useMemo(()=>t.update.bind(t),[t]);return[r,a,o,i]}function OD(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}const wu="cookieBanner_",Cu=["apol-cookie-banner","apolitical-performance-cookie-consent","functional-cookie-consent"],Tu=new Date(Date.now()+12*30*24*60*60*1e3),MD=()=>{const e=Me(),[t,r,n]=AD(Cu),[a,o]=j.useState(!t["apol-cookie-banner"]),i=()=>{Cu.forEach(u=>{r(u,!0,{path:"/",expires:Tu,domain:u==="apolitical-performance-cookie-consent"?".apolitical.co":void 0})}),o(!1),window.location.reload()},s=()=>{r("apol-cookie-banner",!0,{path:"/",expires:Tu}),Cu.forEach(u=>{if(u==="apol-cookie-banner"){r(u,!0,{path:"/",expires:Tu});return}n(u)}),o(!1)};if(!a)return null;const l=[{id:"settings",href:"/pages/cookie-policy",gtmType:"policy-page"},{id:"reject",onClick:s,gtmType:"reject-all"},{id:"accept",onClick:i,gtmType:"accepted-all"}];return E.jsxs("aside",{id:"cookie-banner",className:"text-medium",children:[E.jsx("h6",{children:e.formatMessage({id:`${wu}title`})}),E.jsx("p",{children:e.formatMessage({id:`${wu}text`})}),E.jsx("ul",{className:"button-wrapper",children:l.map(({id:u,onClick:c=!1,href:f=!1,gtmType:m})=>E.jsx("li",{children:E.jsx(Ct,{variant:f?"tertiary":"primary",href:f,onClick:c,className:"gtm-trackable","data-gtm-event-context":"cookie-banner","data-gtm-event-type":`cookie-${m}-click`,children:e.formatMessage({id:`${wu}buttons_${u}`})})},u))})]})},xb=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(MD,{...t})});const ID=({options:e,allOption:t=!1,allowMultiple:r=!0,onChange:n=()=>{},className:a=""})=>{const o=Me(),i=t?[{id:"all",text:typeof t!="boolean"&&t.text||o.formatMessage({id:"filters_all"})},...e]:e,[s,l]=j.useState(t?["all"]:[]),u=(c,f)=>{let m=[];s.includes(c)?m=s.filter(d=>d!==c):c==="all"?m=["all"]:r?m=[...s.filter(d=>d!=="all"),c]:m=[c],l(d=>(n&&typeof n=="function"&&n({current:m,previous:d}),m)),f&&typeof f=="function"&&f()};return E.jsx("ul",{className:Q("filters",a),children:i.map(({id:c,text:f,disabled:m=!1,callback:d=()=>{}})=>{let y={};return m&&(y={disabled:!0,"aria-label":o.formatMessage({id:"filters_disabled"},{name:f})}),E.jsx("li",{children:E.jsx("button",{className:Q(c,{selected:s.includes(c)}),onClick:v=>{v.preventDefault(),v.stopPropagation(),u(c,d)},...y,children:f})},c)})})},$D=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(ID,{...t})});const Su=Hu({locale:"en",messages:yh}),kD=({page:e=1,length:t=0,limit:r=10,loadNextPage:n=()=>{},icon:a=!1,messages:o={button:Su.formatMessage({id:"loadMore_button"}),endOfFeed:Su.formatMessage({id:"loadMore_endOfFeed"}),error:Su.formatMessage({id:"loadMore_error"})},className:i="",gtmContext:s="LoadMore"})=>{const[l,u]=j.useState(!1),[c,f]=j.useState(!1);if(t<=0||t<r*e)return null;const m=async d=>{try{await n(d)}catch(y){y instanceof Error&&y.message&&y.message.includes("Cannot read items")?f(!0):u(!0)}};return E.jsxs("footer",{className:Q("load-more",i),children:[l&&E.jsx("p",{className:"error",children:o.error}),c?E.jsx("p",{children:o.endOfFeed}):E.jsx(Ct,{variant:"secondary",icon:a,onClick:m,"data-gtm-event-context":s,"data-gtm-event-type":"load-more-click",className:"gtm-trackable","data-testid":"load-more-button",children:o.button})]})},ND=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(kD,{...t})});const qD=({variant:e="default",version:t="default",className:r="",...n})=>E.jsx("p",{className:"logo-wrapper",children:E.jsx("a",{className:Q("logo",e,t,r),href:"/home/",...n,children:E.jsx(Ye,{children:E.jsx(Sr,{id:"apolitical"})})})}),xd=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(qD,{...t})}),gm={default:"tags_",headerTopics:"header_topics_topics_"},Ru={topic:{Climate:"climate",CitiesAndLocalGovernment:"cities-and-local-government",DigitalAndData:"digital-and-data",Education:"education",EquityJusticeAndInclusion:"equity-justice-and-inclusion",HealthAndSocialCare:"health-and-social-care",Innovation:"innovation",LeadershipAndSkills:"leadership-and-skills",LifeInGovernment:"life-in-government",Policymaking:"policymaking",TransportAndInfrastructure:"transport-and-infrastructure",WorkAndTheEconomy:"work-and-the-economy"},"from the community":"community"},BD={getTagDetails:e=>{if(e.includes("topic_")){if(e=Ru.topic[e.replace("topic_","")],e){const t=Un.topics.topics[e].href;return t?{id:e,href:t,text:`${gm.headerTopics}${e}`}:null}return null}return Ru[e]?(e=Ru[e],{id:e,text:`${gm.default}${e}`}):null}};const jD=({tags:e=[],color:t="default",forceOneLine:r=!1,canHaveLinks:n=!0,className:a="",gtmType:o="tag-click",gtmContext:i="tags"})=>{const s=Me();if(!e||e.length<1)return null;const l=[];return e.forEach(u=>{if(!u)return;const c=BD.getTagDetails(u);c&&l.push(c)}),l.length<1?null:E.jsx("ul",{className:Q("tags text-small",t,a,{"one-line":r}),children:l.map(u=>{const c=s.formatMessage({id:u.text});return E.jsx("li",{children:u.href&&n?E.jsx("a",{href:u.href,className:"gtm-trackable","data-gtm-event-type":o,"data-gtm-event-context":i,children:c}):c},u.id)})})},DD=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(jD,{...t})}),Lt={platform:{order:["events","courses","qanda","articles"],events:{href:"/events/",gtmType:"events-click"},courses:{href:"/microcourses/",gtmType:"microcourses-click"},qanda:{href:"/questions-answers/",gtmType:"q-and-a-click"},articles:{href:"/solution-articles/",gtmType:"articles-click"}},community:{order:["support","post","join","guidelines"],support:{name:"Support FAQ",href:"/pages/support-faq",gtmType:"support-faq-click"},post:{href:"/pages/post-an-article",gtmType:"post-an-article-click"},join:{href:"/pages/who-can-join-the-community",gtmType:"who-can-join-click"},guidelines:{href:"/pages/values-and-guidelines",gtmType:"guidelines-and-values-click"}},company:{order:["story","team","careers","partner","contact"],story:{href:"/pages/our-story",gtmType:"our-story-click"},team:{href:"/pages/meet-our-team",gtmType:"team-click"},careers:{href:"/pages/careers",gtmType:"careers-click"},partner:{href:"/partnerships/",gtmType:"partner-with-us-click"},contact:{href:"/pages/get-in-touch",gtmType:"contact-click"},child:"legal"},legal:{order:["privacy","terms","cookie","accessibility"],privacy:{href:"https://about.apolitical.co/privacy-policy",gtmType:"privacy-policy-link"},terms:{href:"https://about.apolitical.co/terms-and-conditions",gtmType:"terms-conditions-link"},cookie:{href:"/pages/cookie-policy",gtmType:"cookie-policy-link"},accessibility:{href:"/pages/accessibility-statement",gtmType:"accessibility-link"},text:{order:["dataProtection","euDataProtection"],dataProtection:{email:"dpo@apolitical.co",gtmType:"email-dpo-link"},euDataProtection:{email:"dpo.agl@apolitical.foundation",gtmType:"email-eu-dpo-link"}}},contact:{text:{order:["correspondence","registered","berlin","support","business"],correspondence:{address:!0},registered:{address:!0},berlin:{address:!0},support:{email:"concierge@apolitical.co",gtmType:"concierge-email-click"},business:{email:"hello@apolitical.co",gtmType:"hello-email-click"}}},social:{order:["linkedin","twitter","facebook"],linkedin:{href:"https://www.linkedin.com/company/apolitical"},twitter:{href:"https://twitter.com/apoliticalco"},facebook:{href:"https://www.facebook.com/apoliticalco"}}};const en="footer_",oo="SiteFooter",Em=({group:e})=>{const t=Lt[e].order||[];let r=!1;return"text"in Lt[e]&&(r=Lt[e].text),E.jsxs(j.Fragment,{children:[E.jsx("p",{className:"pre-title",children:E.jsx(Sr,{id:`${en}${e}`})}),Array.isArray(t)&&t.length>0&&E.jsx("ul",{className:"text-medium",children:t.map(n=>{if(["order","child","text"].includes(n))return null;const{href:a,gtmType:o}=Lt[e][n],i={};return["legal"].includes(e)&&(i.target="_blank",i.rel="noopener"),E.jsx("li",{children:E.jsx("a",{href:a,className:"gtm-trackable","data-gtm-event-context":oo,"data-gtm-event-type":o,...i,children:E.jsx(Sr,{id:`${en}${e}_${n}`})})},`${e}_${n}`)})}),typeof r!="boolean"&&"order"in r&&Array.isArray(r.order)&&E.jsx("dl",{className:"text-medium",children:r.order.map(n=>E.jsxs(j.Fragment,{children:[E.jsx("dt",{children:E.jsx(Sr,{id:`${en}${e}_${n}`})}),E.jsxs("dd",{children:[typeof r!="boolean"&&r[n].address&&E.jsx("address",{children:E.jsx(Sr,{id:`${en}${e}_${n}_address`,values:{br:E.jsx("br",{})}})}),typeof r!="boolean"&&r[n].email&&E.jsx("a",{href:`mailto:${r[n].email}`,className:"gtm-trackable","data-gtm-event-context":oo,"data-gtm-event-type":r[n].gtmType,children:r[n].email})]})]},`dl-${e}-${n}`))})]},e)},LD=()=>E.jsx("div",{id:"footer",children:E.jsxs("div",{className:"wrapper",children:[E.jsx(Nc,{element:"hr"}),E.jsx(xd,{variant:"inverted",version:"full",className:"gtm-trackable","data-gtm-event-context":oo,"data-gtm-event-type":"logo-homepage-link"}),E.jsx("footer",{children:["platform","community","company","contact"].map(e=>E.jsxs("div",{className:"group",children:[E.jsx(Em,{group:e}),Object.keys(Lt[e]).includes("child")&&E.jsx(Em,{group:Lt[e].child})]},e))}),E.jsx("hr",{}),E.jsxs("div",{className:"sub-footer",children:[E.jsx("ul",{children:Array.isArray(Lt.social.order)&&Lt.social.order.map(e=>{const t=Lt.social[e];return E.jsx("li",{className:e,children:E.jsx("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"gtm-trackable","data-gtm-event-context":oo,"data-gtm-event-type":"social-click",children:E.jsx("span",{className:"hidden",children:E.jsx(Sr,{id:`${en}social_${e}`})})})},e)})}),E.jsx("small",{children:E.jsx(Sr,{id:`${en}copyright`,values:{currentYear:new Date().getFullYear()}})})]})]})}),wd=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(LD,{...t})}),wb=e=>{const t=e&&e.toUpperCase().split(" ");return Array.isArray(t)&&t.length>1&&t[0]!==""?t[1]===""?t[0][0]:t[0][0]+t[t.length-1][0]:e?e.substr(0,1):""},xa=["#5AB6A3","#A2D7AF","#806056","#3962B3"],FD=e=>{const t=Math.ceil(26/xa.length),r=wb(e).toLowerCase();if(r==="")return xa[0];const n=r.charCodeAt(0)-96;for(let a=0;a<xa.length;a++)if(n<=t*(a+1))return xa[a]};const wa=256,Cb=({className:e="",src:t="",name:r,alt:n,...a})=>{const[o,i]=j.useState(!1),s=j.useRef(null);return j.useEffect(()=>{const l=s.current;if(!l)return;const u=l.getContext("2d");if(!u)return;const c=wa,f=wa;typeof window<"u"&&window.devicePixelRatio&&(l.width=c*window.devicePixelRatio,l.height=f*window.devicePixelRatio,u.scale(window.devicePixelRatio,window.devicePixelRatio)),u.fillStyle=FD(r),u.fillRect(0,0,c,f),u.font=`${c/3}px Arial`,u.textAlign="center",u.fillStyle="white",u.fillText(wb(r),c/2,f/1.6)},[r]),E.jsxs("figure",{className:Q("profile-picture",e,{error:o}),...a,children:[t!==""&&!o&&E.jsx("img",{src:t,alt:n||r,onError:()=>{i(!0)},width:wa,height:wa}),(t===""||o)&&E.jsx("canvas",{ref:s})]})};var HD="Expected a function",Tb="__lodash_hash_undefined__",Sb=1/0,UD="[object Function]",GD="[object GeneratorFunction]",WD="[object Symbol]",VD=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zD=/^\w*$/,XD=/^\./,YD=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,KD=/[\\^$.*+?()[\]{}|]/g,ZD=/\\(\\)?/g,JD=/^\[object .+?Constructor\]$/,QD=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,eL=typeof self=="object"&&self&&self.Object===Object&&self,Cd=QD||eL||Function("return this")();function tL(e,t){return e==null?void 0:e[t]}function rL(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var nL=Array.prototype,aL=Function.prototype,Rb=Object.prototype,Pu=Cd["__core-js_shared__"],_m=function(){var e=/[^.]+$/.exec(Pu&&Pu.keys&&Pu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Pb=aL.toString,Td=Rb.hasOwnProperty,Ab=Rb.toString,oL=RegExp("^"+Pb.call(Td).replace(KD,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xm=Cd.Symbol,iL=nL.splice,lL=Ob(Cd,"Map"),Hn=Ob(Object,"create"),wm=xm?xm.prototype:void 0,Cm=wm?wm.toString:void 0;function $r(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function sL(){this.__data__=Hn?Hn(null):{}}function uL(e){return this.has(e)&&delete this.__data__[e]}function cL(e){var t=this.__data__;if(Hn){var r=t[e];return r===Tb?void 0:r}return Td.call(t,e)?t[e]:void 0}function dL(e){var t=this.__data__;return Hn?t[e]!==void 0:Td.call(t,e)}function fL(e,t){var r=this.__data__;return r[e]=Hn&&t===void 0?Tb:t,this}$r.prototype.clear=sL;$r.prototype.delete=uL;$r.prototype.get=cL;$r.prototype.has=dL;$r.prototype.set=fL;function hn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function pL(){this.__data__=[]}function mL(e){var t=this.__data__,r=rs(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():iL.call(t,r,1),!0}function hL(e){var t=this.__data__,r=rs(t,e);return r<0?void 0:t[r][1]}function vL(e){return rs(this.__data__,e)>-1}function yL(e,t){var r=this.__data__,n=rs(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}hn.prototype.clear=pL;hn.prototype.delete=mL;hn.prototype.get=hL;hn.prototype.has=vL;hn.prototype.set=yL;function Hr(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function bL(){this.__data__={hash:new $r,map:new(lL||hn),string:new $r}}function gL(e){return ns(this,e).delete(e)}function EL(e){return ns(this,e).get(e)}function _L(e){return ns(this,e).has(e)}function xL(e,t){return ns(this,e).set(e,t),this}Hr.prototype.clear=bL;Hr.prototype.delete=gL;Hr.prototype.get=EL;Hr.prototype.has=_L;Hr.prototype.set=xL;function rs(e,t){for(var r=e.length;r--;)if($L(e[r][0],t))return r;return-1}function wL(e,t){t=RL(t,e)?[t]:SL(t);for(var r=0,n=t.length;e!=null&&r<n;)e=e[ML(t[r++])];return r&&r==n?e:void 0}function CL(e){if(!Ib(e)||AL(e))return!1;var t=kL(e)||rL(e)?oL:JD;return t.test(IL(e))}function TL(e){if(typeof e=="string")return e;if(Rd(e))return Cm?Cm.call(e):"";var t=e+"";return t=="0"&&1/e==-Sb?"-0":t}function SL(e){return Mb(e)?e:OL(e)}function ns(e,t){var r=e.__data__;return PL(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Ob(e,t){var r=tL(e,t);return CL(r)?r:void 0}function RL(e,t){if(Mb(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Rd(e)?!0:zD.test(e)||!VD.test(e)||t!=null&&e in Object(t)}function PL(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function AL(e){return!!_m&&_m in e}var OL=Sd(function(e){e=qL(e);var t=[];return XD.test(e)&&t.push(""),e.replace(YD,function(r,n,a,o){t.push(a?o.replace(ZD,"$1"):n||r)}),t});function ML(e){if(typeof e=="string"||Rd(e))return e;var t=e+"";return t=="0"&&1/e==-Sb?"-0":t}function IL(e){if(e!=null){try{return Pb.call(e)}catch{}try{return e+""}catch{}}return""}function Sd(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(HD);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i),i};return r.cache=new(Sd.Cache||Hr),r}Sd.Cache=Hr;function $L(e,t){return e===t||e!==e&&t!==t}var Mb=Array.isArray;function kL(e){var t=Ib(e)?Ab.call(e):"";return t==UD||t==GD}function Ib(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function NL(e){return!!e&&typeof e=="object"}function Rd(e){return typeof e=="symbol"||NL(e)&&Ab.call(e)==WD}function qL(e){return e==null?"":TL(e)}function BL(e,t,r){var n=e==null?void 0:wL(e,t);return n===void 0?r:n}var jL=BL;const $b=Gn(jL),fe={timeouts:{},handlerCalled:{},getIsDesktopVersion:(e,t)=>{const r={navigation:{loggedIn:769,loggedOut:881},search:{loggedIn:961,loggedOut:1121}},n=o=>{const i=`logged${e?"In":"Out"}`;return t>=r[o][i]};let a={};return["navigation","search"].forEach(o=>{a[o]=n(o)}),a},shouldChangeHeaderIsVisible:(e,t,r)=>{Object.values(t).filter(a=>a===!0).length||r([{type:"headerIsVisible",value:e}])},handleMenus:({id:e,value:t,menus:r,dispatch:n})=>{if(r[e]===t||e==="account"&&t===!1&&r.navigation===!0)return;const a=Date.now();if(!t&&fe.handlerCalled[e]&&a-fe.handlerCalled[e]<500)return;fe.handlerCalled[e]=a;let o=[{type:`menus.${e}`,value:t}];t===!0&&Object.keys(r).forEach(i=>{i===e||r[i]===!1||o.push({type:`menus.${i}`,value:!1})}),n(o)},findFirstChild:(e,t,r=!1)=>{if(!e||!e[0])return!1;for(let n=0;n<=e.length;n++){if(!e[n])continue;if(e[n][t]&&(!r||e[n][t].includes(r)))return e[n];if(!t.includes("."))continue;const a=$b(e[n],t);if(!(typeof a>"u")&&(!r||a[t]&&a[t].includes(r)||a.value&&a.value.includes(r)||a.toString().includes(r)))return e[n]}return e[0].children?fe.findFirstChild(e[0].children,t,r):!1},autoFocus:({menu:e,navigationRef:t,isDesktopVersion:r,focusElements:n,dispatch:a})=>{if(!t.current||!t.current.children)return;const o=r?"desktop":"default";if(n[e][o]){n[e][o].focus();return}let i,s;switch(e){case"navigation":if(r){const l=fe.findFirstChild(t.current.children,"attributes.aria-controls","navigation");i=fe.findFirstChild(l.children,"href")}else i=fe.findFirstChild(t.current.children,"href");i||(i=t.current);break;case"account":if(s=fe.findFirstChild(t.current.children,"className","account"),!s||!s.children)return;i=fe.findFirstChild(s.children,"href");break;default:return}i&&(a([{type:`focusElements.${e}.${o}`,value:i}]),i.focus())},events:{onClick:(e,{id:t,callback:r,isOpen:n})=>{e.target&&e.target.attributes&&e.target.attributes.href||(e.preventDefault(),e.stopPropagation(),clearTimeout(fe.timeouts[t]),r(t,!n))},onFocus:({id:e})=>{clearTimeout(fe.timeouts[e])},onMouseEnter:({id:e,callback:t})=>{clearTimeout(fe.timeouts[e]),t(e,!0)},onBlur:({id:e,callback:t})=>{fe.timeouts[e]=setTimeout(()=>{t(e,!1)},250)}}},Un={order:["home","topics","partners","account"],home:{href:"/home/",hasVariantText:!0,gtmType:"homepage-click"},topics:{order:["explore","topics"],menuId:"navigation",explore:{order:["events","courses","q-and-a","articles"],events:{href:"/events/",className:"icon events"},courses:{href:"/microcourses/",gtmType:"microcourses-click",className:"icon courses"},"q-and-a":{href:"/questions-answers/",className:"icon q-and-a"},articles:{href:"/solution-articles/",gtmType:"articles-click",className:"icon articles"}},topics:{order:["climate","cities-and-local-government","digital-and-data","education","equity-justice-and-inclusion","health-and-social-care","innovation","leadership-and-skills","life-in-government","policymaking","transport-and-infrastructure","work-and-the-economy"],className:"columns",climate:{href:"/topics/climate/"},"cities-and-local-government":{href:"/topics/cities-and-local-government/"},"digital-and-data":{href:"/topics/digital-and-data/"},education:{href:"/topics/education/"},"equity-justice-and-inclusion":{href:"/topics/equity-justice-and-inclusion/"},"health-and-social-care":{href:"/topics/health-and-social-care/"},innovation:{href:"/topics/innovation/"},"leadership-and-skills":{href:"/topics/leadership-and-skills/"},"life-in-government":{href:"/topics/life-in-government/"},policymaking:{href:"/topics/policymaking/"},"transport-and-infrastructure":{href:"/topics/transport-and-infrastructure/"},"work-and-the-economy":{href:"/topics/work-and-the-economy/"}}},partners:{href:"/partnerships/",onlyShow:"logged-out"},account:{order:["profile","settings","log-out"],className:"account",onlyShow:"logged-in",doTrack:!1,profile:{href:"/profiles/me"},settings:{href:"/profiles/me/manage-account"},"log-out":{href:"/user-onboarding/logout",className:"divider"}},buttons:{order:["login","signup"],login:{href:"/user-onboarding/login"},signup:{href:"/signup/?ref=header-banner",props:{variant:"primary"}}}},io=({id:e,isLoggedIn:t=!1,isDesktopVersion:r=!1,menus:n={},callback:a=()=>{},doTrack:o=null})=>{const i=Me(),s=$b(Un,e);if(!s||s.onlyShow&&(s.onlyShow==="logged-in"&&!t||s.onlyShow==="logged-out"&&t))return null;const l="doTrack"in s,u=o===null?l?s.doTrack:!0:o,c=e.includes("buttons.");let f=`header_${e.replaceAll(".","_")}`;s.hasVariantText&&(f+=`_logged${t?"In":"Out"}`);let m=!1;if(s.href){let _=s.gtmType||`${e}-click`;if(_.includes(".")){const C=_.split("."),R=C[C.length-2];_=`${R==="topics"?`${R}-`:""}${C[C.length-1]}`}m={href:s.href,role:"menuitem"},u&&(m={...m,className:"gtm-trackable","data-gtm-event-type":_,"data-gtm-event-context":"HeaderButtons"}),c&&(m={...m,variant:"secondary",size:{mobile:"small",881:"large"},...s.props||{}})}const d=s.order&&s.order[0]&&s[s.order[0]],y=d&&s[s.order[0]].order,v=m&&typeof window<"u"&&window.location&&window.location.pathname===s.href;let S={},h={};if(d){const _=s.menuId||e,C={onClick:R=>fe.events.onClick(R,{id:_,callback:a,isOpen:n[_]}),onFocus:()=>fe.events.onFocus({id:_}),onBlur:()=>fe.events.onBlur({id:_,callback:a}),onMouseLeave:()=>fe.events.onBlur({id:_,callback:a}),onMouseEnter:()=>fe.events.onMouseEnter({id:_,callback:a})};r&&(y&&(S={...C,onKeyPress:R=>{R.key==="Enter"&&fe.events.onClick(R,{id:_,callback:a,isOpen:n[_]})},tabIndex:"0","aria-haspopup":!0,"aria-expanded":n[_],"aria-controls":_}),h={hidden:_ in n?!n[_]:!0}),y||(h={...h,...C})}return E.jsxs("li",{className:Q({[s.className]:s.className,"has-submenu":d,parent:y,active:v}),role:"none",...S,children:[m?j.createElement(c?Ct:"a",m,i.formatMessage({id:f})):i.formatMessage({id:f}),s.order&&E.jsx("ul",{...h,children:s.order.map(_=>{if(!s[_])return null;const C={isLoggedIn:t,isDesktopVersion:r,menus:n,callback:a,doTrack:l?u:null};return s[_].order?E.jsxs("li",{className:Q({[s[_].className]:s[_].className}),children:[i.formatMessage({id:`${f}_${_}`}),E.jsx("ul",{children:s[_].order.map(R=>E.jsx(io,{id:`${e}.${_}.${R}`,...C},R))})]},_):E.jsx(io,{id:`${e}.${_}`,...C},_)})})]},e)};const DL={height:67,height_desktop:83},LL=()=>{const e=Me(),t=j.useContext(bd),r=lo(!0,!0),n=t&&t.details&&typeof t.details.id=="string",a=j.useMemo(()=>fe.getIsDesktopVersion(n,r),[n,r]),[o,i]=j.useReducer(nE,{headerIsVisible:!0,menus:{navigation:!1,search:!1,account:!1},focusElements:{navigation:{desktop:!1,default:!1},account:{desktop:!1,default:!1}}}),{headerIsVisible:s,menus:l,focusElements:u}=o;Pm({scrollPosition:DL[`height${a.navigation?"_desktop":""}`],callbacks:{scrollUp:()=>{!a&&l.navigation||fe.shouldChangeHeaderIsVisible(!0,l,i)},scrollDown:()=>{!a&&l.navigation||fe.shouldChangeHeaderIsVisible(!1,l,i)}}});const c=(m,d)=>{fe.handleMenus({id:m,value:d,menus:l,dispatch:i})},f=j.useRef(null);return Na(()=>{l.navigation&&fe.autoFocus({menu:"navigation",navigationRef:f,isDesktopVersion:a.navigation,focusElements:u,dispatch:i})},[l.navigation]),Na(()=>{l.account&&fe.autoFocus({menu:"account",navigationRef:f,isDesktopVersion:a.navigation,focusElements:u,dispatch:i})},[l.account]),t&&t.isLoading?null:E.jsxs(E.Fragment,{children:[E.jsxs("nav",{id:"header",className:Q({"logged-in":n,"logged-out":!n,visible:s}),children:[E.jsx(Ye,{element:"a",href:"#content-of-page",children:e.formatMessage({id:"header_skip"})}),E.jsx(xd,{}),!a.navigation&&E.jsx("button",{className:"menu-button gtm-trackable",onClick:m=>{m.preventDefault(),m.stopPropagation(),c("navigation",!l.navigation)},"data-gtm-event-type":"open-tab-menu-click","data-gtm-event-context":"HeaderLeft-Chevron","aria-haspopup":"true","aria-expanded":l.navigation,"aria-controls":"navigation",children:E.jsx(Ye,{children:e.formatMessage({id:`header_menu_${l.navigation?"hide":"show"}`})})}),E.jsx("ul",{ref:f,id:"navigation",hidden:a.navigation||l.account?!1:!l.navigation,role:"menu","data-showing":!a.navigation&&l.account?"account":"default",children:Un.order.map(m=>E.jsx(io,{id:m,isLoggedIn:n,isDesktopVersion:a.navigation,menus:{navigation:l.navigation,account:l.account},callback:c},m))}),!a.search&&E.jsx("button",{className:"search toggle-search-button",onClick:m=>{m.preventDefault(),m.stopPropagation(),c("search",!l.search)},"aria-haspopup":"true","aria-expanded":l.search,"aria-controls":"search-form",children:E.jsx(Ye,{children:e.formatMessage({id:`header_search_${l.search?"hide":"show"}`})})}),E.jsx(bb,{id:"global-search",handleToggle:{searchIsOpen:l.search,isDesktopVersion:a.search},gtmContext:"search-bar-header",gtmEvent:"form-submission"}),n?E.jsxs("button",{className:"account-button",onClick:m=>fe.events.onClick(m,{id:"account",callback:c,isOpen:l.account}),onMouseEnter:()=>fe.events.onMouseEnter({id:"account",callback:c}),onMouseLeave:()=>fe.events.onBlur({id:"account",callback:c}),"aria-haspopup":"true","aria-expanded":l.account,"aria-controls":"navigation",children:[E.jsx(Ye,{children:e.formatMessage({id:`header_account_${l.account?"hide":"show"}`})}),E.jsx(Cb,{name:t&&t.details&&t.details.name||"",src:t&&t.details&&t.details.image&&t.details.image.thumbnail||""})]}):E.jsx("ul",{className:"sign-in-buttons",children:Un.buttons.order.map(m=>E.jsx(io,{id:`buttons.${m}`},m))})]}),E.jsx("hr",{id:"content-of-page"}),E.jsx("div",{className:Q("overlay",{open:l.navigation||l.account||!a.search&&l.search})})]})},Pd=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(LL,{...t})}),FL=j.createContext(null),Au={didCatch:!1,error:null};class HL extends j.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Au}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:o,reason:"imperative-api"}),this.setState(Au)}}componentDidCatch(t,r){var n,a;(n=(a=this.props).onError)===null||n===void 0||n.call(a,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:a}=this.props;if(n&&r.error!==null&&UL(t.resetKeys,a)){var o,i;(o=(i=this.props).onReset)===null||o===void 0||o.call(i,{next:a,prev:t.resetKeys,reason:"keys"}),this.setState(Au)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:a}=this.props,{didCatch:o,error:i}=this.state;let s=t;if(o){const l={error:i,resetErrorBoundary:this.resetErrorBoundary};if(j.isValidElement(a))s=a;else if(typeof r=="function")s=r(l);else if(n)s=j.createElement(n,l);else throw i}return j.createElement(FL.Provider,{value:{didCatch:o,error:i,resetErrorBoundary:this.resetErrorBoundary}},s)}}function UL(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}const GL=({locale:e})=>{const t=Me();return E.jsxs(E.Fragment,{children:[E.jsx(Pd,{locale:e}),E.jsx("div",{className:"content",children:E.jsx(ub,{variant:"error",text:t.formatMessage({id:"pageLayout_error"})})}),E.jsx(wd,{locale:e})]})},WL=({locale:e="en",...t})=>E.jsx(qe,{locale:e,children:E.jsx(GL,{locale:e,...t})}),VL=({children:e,reportError:t,showFooter:r=!0,background:n="default",className:a="",locale:o="en"})=>{const i=I_(e,{locale:o});return E.jsx(HL,{onError:t,fallback:E.jsx(WL,{locale:o}),children:E.jsx(j.Suspense,{fallback:E.jsx(mb,{layout:"overview-page"}),children:E.jsx("div",{id:"wrapper",className:Q(a,{[n]:n!=="default"}),children:E.jsxs(RD,{children:[E.jsx(Pd,{locale:o}),E.jsx("div",{className:"content",children:i}),r&&E.jsx(wd,{locale:o}),E.jsx(xb,{})]})})})})};exports.ASSETS_BUCKET=Uy;exports.BannerSection=HB;exports.Button=Ct;exports.CollapsibleSection=zB;exports.CookieBanner=xb;exports.DownloadSection=mD;exports.EmailHelperTextBox=iD;exports.EmptyStateBox=ub;exports.Filters=$D;exports.Footer=wd;exports.Header=Pd;exports.HelperTextBox=db;exports.HiddenFromScreenReaders=Nc;exports.HideShowTextBox=Jj;exports.HighlightedTextBox=ts;exports.Link=BB;exports.LoadMore=ND;exports.LoadingBlock=aD;exports.LoadingPlaceholder=Fn;exports.LoadingState=mb;exports.Logo=xd;exports.Logos=hD;exports.MarketingBox=UB;exports.NUMBER_OF_USERS=GB;exports.PageLayout=VL;exports.PasswordRules=cD;exports.Pill=Qj;exports.ProfilePicture=Cb;exports.ProgressBar=fb;exports.Rating=fD;exports.ResponsiveImage=Hy;exports.SearchForm=bb;exports.Tags=DD;exports.UserContext=bd;exports.UserProvider=WB;exports.VisuallyHidden=Ye;exports.headerData=Un;exports.useEffectAfterMount=Na;exports.useScreenWidth=lo;exports.useScrollListener=Pm;
|