@apolitical/component-library 0.0.5 → 1.1.0-beta.1
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/accessibility/hidden-from-screen-readers/hidden-from-screen-readers.d.ts +19 -0
- package/accessibility/hidden-from-screen-readers/index.d.ts +1 -0
- package/accessibility/index.d.ts +2 -0
- package/accessibility/visually-hidden/index.d.ts +1 -0
- package/accessibility/visually-hidden/visually-hidden.d.ts +21 -0
- package/banners/banner-section/banner-section.d.ts +33 -0
- package/banners/banner-section/index.d.ts +1 -0
- package/banners/index.d.ts +2 -0
- package/banners/marketing-block/index.d.ts +1 -0
- package/banners/marketing-block/marketing-block.d.ts +17 -0
- package/constants/assets.d.ts +1 -0
- package/constants/index.d.ts +2 -0
- package/constants/number-of-users.d.ts +1 -0
- package/context/index.d.ts +1 -0
- package/context/user/index.d.ts +3 -0
- package/context/user/user.context.d.ts +14 -0
- package/context/user/user.provider.d.ts +8 -0
- package/form/components/email-helper-text-box/email-helper-text-box.d.ts +14 -0
- package/form/components/email-helper-text-box/index.d.ts +1 -0
- package/form/components/index.d.ts +3 -0
- package/form/components/password-rules/index.d.ts +1 -0
- package/form/components/password-rules/password-rules.d.ts +16 -0
- package/form/components/rating/index.d.ts +1 -0
- package/form/components/rating/rating.d.ts +31 -0
- package/form/index.d.ts +2 -0
- package/form/types/index.d.ts +1 -0
- package/form/types/search-form/index.d.ts +1 -0
- package/form/types/search-form/search-form.d.ts +21 -0
- package/general/button/button.d.ts +52 -0
- package/general/button/index.d.ts +2 -0
- package/general/index.d.ts +3 -0
- package/general/link/index.d.ts +1 -0
- package/general/link/link.d.ts +21 -0
- package/general/responsive-image/index.d.ts +2 -0
- package/general/responsive-image/responsive-image.helpers.d.ts +68 -0
- package/general/responsive-image/responsive-image.mock.d.ts +9 -0
- package/helpers/basic-reducer.d.ts +2 -0
- package/helpers/breakpoints.d.ts +5 -0
- package/helpers/index.d.ts +5 -0
- package/helpers/intl-wrapper.d.ts +6 -0
- package/helpers/pass-props-to-children.d.ts +3 -0
- package/hooks/index.d.ts +3 -0
- package/hooks/use-effect-after-mount.d.ts +2 -0
- package/hooks/use-screen-width.d.ts +2 -0
- package/hooks/use-scroll-listener.d.ts +15 -0
- package/index.d.ts +11 -1
- package/index.js +160 -1
- package/index.mjs +20511 -29
- package/layout/download-section/download-section.d.ts +21 -0
- package/layout/download-section/index.d.ts +1 -0
- package/layout/index.d.ts +3 -1
- package/layout/logos/index.d.ts +1 -0
- package/layout/logos/logos.d.ts +24 -0
- package/layout/logos/logos.mock.d.ts +3 -0
- package/layout/page-layout/components/cookie-banner/cookie-banner.d.ts +6 -0
- package/layout/page-layout/components/cookie-banner/index.d.ts +1 -0
- package/layout/page-layout/components/footer/footer.d.ts +6 -0
- package/layout/page-layout/components/footer/footer.data.d.ts +6 -0
- package/layout/page-layout/components/footer/index.d.ts +1 -0
- package/layout/page-layout/components/header/__mocks__/header.data.d.ts +83 -0
- package/layout/page-layout/components/header/components/header-link/header-link.d.ts +13 -0
- package/layout/page-layout/components/header/components/header-link/index.d.ts +1 -0
- package/layout/page-layout/components/header/components/index.d.ts +1 -0
- package/layout/page-layout/components/header/header.d.ts +6 -0
- package/layout/page-layout/components/header/header.data.d.ts +112 -0
- package/layout/page-layout/components/header/header.helpers.d.ts +39 -0
- package/layout/page-layout/components/header/header.mock.d.ts +29 -0
- package/layout/page-layout/components/header/index.d.ts +2 -0
- package/layout/page-layout/components/index.d.ts +3 -0
- package/layout/page-layout/index.d.ts +2 -0
- package/layout/page-layout/page-layout.d.ts +16 -0
- package/loaders/index.d.ts +4 -0
- package/loaders/loading-block/index.d.ts +1 -0
- package/loaders/loading-block/loading-block.d.ts +18 -0
- package/loaders/loading-placeholder/index.d.ts +1 -0
- package/loaders/loading-placeholder/loading-placeholder.d.ts +11 -0
- package/loaders/loading-state/index.d.ts +1 -0
- package/loaders/loading-state/loading-state.d.ts +5 -0
- package/loaders/progress-bar/index.d.ts +1 -0
- package/loaders/progress-bar/progress-bar.d.ts +13 -0
- package/modals/modal/index.d.ts +1 -0
- package/modals/modal/modal.d.ts +9 -0
- package/navigation/filters/filters.d.ts +28 -0
- package/navigation/filters/index.d.ts +1 -0
- package/navigation/index.d.ts +4 -0
- package/navigation/load-more/index.d.ts +1 -0
- package/navigation/load-more/load-more.d.ts +28 -0
- package/navigation/logo/index.d.ts +1 -0
- package/navigation/logo/logo.d.ts +12 -0
- package/navigation/tags/index.d.ts +1 -0
- package/navigation/tags/tags.d.ts +20 -0
- package/navigation/tags/tags.helpers.d.ts +34 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/base/_fonts.scss +1 -1
- package/styles/base/_hr.scss +1 -0
- package/styles/base/_index.scss +2 -0
- package/styles/base/_overlays.scss +26 -0
- package/styles/base/_text.scss +5 -1
- package/styles/base/_titles.scss +133 -87
- package/styles/base/buttons/_buttons.scss +40 -24
- package/styles/base/buttons/_sizes.scss +12 -0
- package/styles/base/form/_fields.scss +60 -0
- package/styles/base/form/_index.scss +2 -0
- package/styles/base/form/_search-button.scss +32 -0
- package/styles/functions/_size-conversions.scss +3 -1
- package/styles/mixins/_backgrounds.scss +1 -5
- package/styles/mixins/_breakpoints.scss +4 -1
- package/styles/mixins/_browsers.scss +3 -0
- package/styles/mixins/_index.scss +3 -0
- package/styles/mixins/_selectors.scss +5 -0
- package/styles/mixins/_styles.scss +31 -0
- package/styles/variables/colors/_colors.scss +5 -0
- package/styles/variables/colors/_theme.scss +159 -1
- package/styles/variables/sizes/_common.scss +2 -1
- package/text/collapsible-section/collapsible-section.d.ts +13 -0
- package/text/collapsible-section/index.d.ts +1 -0
- package/text/empty-state-box/empty-state-box.d.ts +21 -0
- package/text/empty-state-box/index.d.ts +1 -0
- package/text/helper-text-box/helper-text-box.d.ts +14 -0
- package/text/helper-text-box/index.d.ts +1 -0
- package/text/hide-show-text-box/hide-show-text-box.d.ts +16 -0
- package/text/hide-show-text-box/hide-show-text-box.mock.d.ts +4 -0
- package/text/hide-show-text-box/index.d.ts +1 -0
- package/text/highlighted-text-box/highlighted-text-box.d.ts +13 -0
- package/text/highlighted-text-box/index.d.ts +1 -0
- package/text/index.d.ts +6 -0
- package/text/pill/index.d.ts +1 -0
- package/text/pill/pill.d.ts +9 -0
- package/user/index.d.ts +1 -0
- package/user/profile-picture/index.d.ts +1 -0
- package/user/profile-picture/profile-picture.d.ts +12 -0
- package/user/profile-picture/profile-picture.helpers.d.ts +3 -0
- package/demo/demo.d.ts +0 -4
- package/demo/index.d.ts +0 -1
- package/layout/layout.d.ts +0 -6
package/index.js
CHANGED
|
@@ -1 +1,160 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react"),_=require("react/jsx-runtime"),$c=require("react-dom");function Lb(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 Ce=Lb(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 Fb(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 xm={exports:{}};/*!
|
|
2
|
+
Copyright (c) 2018 Jed Watson.
|
|
3
|
+
Licensed under the MIT License (MIT), see
|
|
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
|
|
6
|
+
* react-is.production.min.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/var Lf;function Kg(){if(Lf)return se;Lf=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,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(x){if(typeof x=="object"&&x!==null){var w=x.$$typeof;switch(w){case t:switch(x=x.type,x){case l:case u:case n:case o:case a:case d:return x;default:switch(x=x&&x.$$typeof,x){case s:case c:case y:case f:case i:return x;default:return w}}case r:return w}}}function S(x){return C(x)===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=f,se.Portal=r,se.Profiler=o,se.StrictMode=a,se.Suspense=d,se.isAsyncMode=function(x){return S(x)||C(x)===l},se.isConcurrentMode=S,se.isContextConsumer=function(x){return C(x)===s},se.isContextProvider=function(x){return C(x)===i},se.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},se.isForwardRef=function(x){return C(x)===c},se.isFragment=function(x){return C(x)===n},se.isLazy=function(x){return C(x)===y},se.isMemo=function(x){return C(x)===f},se.isPortal=function(x){return C(x)===r},se.isProfiler=function(x){return C(x)===o},se.isStrictMode=function(x){return C(x)===a},se.isSuspense=function(x){return C(x)===d},se.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===u||x===o||x===a||x===d||x===m||typeof x=="object"&&x!==null&&(x.$$typeof===y||x.$$typeof===f||x.$$typeof===i||x.$$typeof===s||x.$$typeof===c||x.$$typeof===R||x.$$typeof===h||x.$$typeof===E||x.$$typeof===v)},se.typeOf=C,se}var ue={};/** @license React v16.13.1
|
|
13
|
+
* react-is.development.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
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.
|
|
20
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
21
|
+
`,wt.MISSING_INTL_API,i);var S=r.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));C=c.options[S]||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,m-(c.offset||0)));continue}}return D_(s)}function L_(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 F_(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=L_(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 H_(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,_t([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,_t([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,_t([void 0],r,!1)))},{cache:As(e.pluralRules),strategy:gt.variadic})}}var rh=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(d,m){return!d.length||m.type!==De.literal||typeof d[d.length-1]!="string"?d.push(m.value):d[d.length-1]+=m.value,d},[]);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=F_(e.formats,n),this.formatters=a&&a.formatters||H_(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=O_,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}(),Ir;(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"})(Ir||(Ir={}));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
|
+
`).concat(i?`
|
|
23
|
+
`.concat(i.message,`
|
|
24
|
+
`).concat(i.stack):""))||this,o.code=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o,t),o}return t}(Error),U_=function(e){tt(t,e);function t(r,n){return e.call(this,Ir.UNSUPPORTED_FORMATTER,r,n)||this}return t}(Wn),G_=function(e){tt(t,e);function t(r,n){return e.call(this,Ir.INVALID_CONFIG,r,n)||this}return t}(Wn),Kf=function(e){tt(t,e);function t(r,n){return e.call(this,Ir.MISSING_DATA,r,n)||this}return t}(Wn),rt=function(e){tt(t,e);function t(r,n,a){var o=e.call(this,Ir.FORMAT_ERROR,"".concat(r,`
|
|
25
|
+
Locale: `).concat(n,`
|
|
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
|
+
MessageID: `).concat(a==null?void 0:a.id,`
|
|
28
|
+
Default Message: `).concat(a==null?void 0:a.defaultMessage,`
|
|
29
|
+
Description: `).concat(a==null?void 0:a.description,`
|
|
30
|
+
`),n,o)||this;return i.descriptor=a,i.locale=n,i}return t}(rt),W_=function(e){tt(t,e);function t(r,n){var a=e.call(this,Ir.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 V_=function(e){process.env.NODE_ENV!=="production"&&console.error(e)},z_=function(e){process.env.NODE_ENV!=="production"&&console.warn(e)},nh={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:V_,onWarn:z_};function ah(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function xr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function X_(e){e===void 0&&(e=ah());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,_t([void 0],l,!1)))},{cache:xr(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,_t([void 0],l,!1)))},{cache:xr(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,_t([void 0],l,!1)))},{cache:xr(e.pluralRules),strategy:gt.variadic});return{getDateTimeFormat:a,getNumberFormat:o,getMessageFormat:bt(function(s,l,u,c){return new rh(s,l,u,F({formatters:{getNumberFormat:o,getDateTimeFormat:a,getPluralRules:i}},c||{}))},{cache:xr(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,_t([void 0],s,!1)))},{cache:xr(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,_t([void 0],s,!1)))},{cache:xr(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,_t([void 0],s,!1)))},{cache:xr(e.displayNames),strategy:gt.variadic})}}function Lc(e,t,r,n){var a=e&&e[t],o;if(a&&(o=a[r]),o)return o;n(new U_("No ".concat(t," format named: ").concat(r)))}function fa(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=F({timeZone:t},e[n]),r},{})}function Zf(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 Jf(e,t){if(!t)return e;var r=rh.formats;return F(F(F({},r),e),{date:Zf(fa(r.date,t),fa(e.date||{},t)),time:Zf(fa(r.time,t),fa(e.time||{},t))})}var Bu=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,d=e.onError,m=e.timeZone,f=e.defaultRichTextElements;r===void 0&&(r={id:""});var y=r.id,v=r.defaultMessage;jm(!!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 R=String(y),h=s&&Object.prototype.hasOwnProperty.call(s,R)&&s[R];if(Array.isArray(h)&&h.length===1&&h[0].type===ve.literal)return h[0].value;if(!n&&h&&typeof h=="string"&&!f)return h.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=F(F({},f),n||{}),i=Jf(i,m),u=Jf(u,m),!h){if(c===!1&&h==="")return h;if((!v||o&&o.toLowerCase()!==l.toLowerCase())&&d(new W_(r,o)),v)try{var E=t.getMessageFormat(v,l,u,a);return E.format(n)}catch(C){return d(new Os('Error formatting default message for: "'.concat(R,'", rendering default message verbatim'),o,r,C)),typeof v=="string"?v:R}return R}try{var E=t.getMessageFormat(h,o,i,F({formatters:t},a||{}));return E.format(n)}catch(C){d(new Os('Error formatting message: "'.concat(R,'", using ').concat(v?"default message":"id"," as fallback."),o,r,C))}if(v)try{var E=t.getMessageFormat(v,l,u,a);return E.format(n)}catch(C){d(new Os('Error formatting the default message for: "'.concat(R,'", rendering message verbatim'),o,r,C))}return typeof h=="string"?h:typeof v=="string"?v:R},oh=["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&&Lc(o,t,l,i)),c=Nr(n,oh,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 Y_(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 K_(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 Z_(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,d=Nr(s,oh,l?{timeZone:l}:{});try{return t(u,d).formatRange(a,o)}catch(m){c(new rt("Error formatting date time range.",e.locale,m))}return String(a)}function J_(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 Q_(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 eE=["style","type","fallback","languageDisplay"];function tE(e,t,r,n){var a=e.locale,o=e.onError,i=Intl.DisplayNames;i||o(new dr(`Intl.DisplayNames is not available in this environment.
|
|
31
|
+
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
32
|
+
`,wt.MISSING_INTL_API));var s=Nr(n,eE);try{return t(a,s).of(r)}catch(l){o(new rt("Error formatting display name.",a,l))}}var rE=["type","style"],Qf=Date.now();function nE(e){return"".concat(Qf,"_").concat(e,"_").concat(Qf)}function aE(e,t,r,n){n===void 0&&(n={});var a=ih(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 ih(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={});var i=Intl.ListFormat;i||o(new dr(`Intl.ListFormat is not available in this environment.
|
|
33
|
+
Try polyfilling it using "@formatjs/intl-listformat"
|
|
34
|
+
`,wt.MISSING_INTL_API));var s=Nr(n,rE);try{var l={},u=r.map(function(c,d){if(typeof c=="object"){var m=nE(d);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 oE=["type"];function iE(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={}),Intl.PluralRules||o(new dr(`Intl.PluralRules is not available in this environment.
|
|
35
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
36
|
+
`,wt.MISSING_INTL_API));var i=Nr(n,oE);try{return t(a,i).select(r)}catch(s){o(new rt("Error formatting plural.",a,s))}return"other"}var lE=["numeric","style"];function sE(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var i=r.format,s=!!i&&Lc(a,"relative",i,o)||{},l=Nr(r,lE,s);return t(n,l)}function uE(e,t,r,n,a){a===void 0&&(a={}),n||(n="second");var o=Intl.RelativeTimeFormat;o||e.onError(new dr(`Intl.RelativeTimeFormat is not available in this environment.
|
|
37
|
+
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
38
|
+
`,wt.MISSING_INTL_API));try{return sE(e,t,a).format(r,n)}catch(i){e.onError(new rt("Error formatting relative time.",e.locale,i))}return String(r)}var cE=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function lh(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var i=r.format,s=i&&Lc(a,"number",i,o)||{},l=Nr(r,cE,s);return t(n,l)}function fE(e,t,r,n){n===void 0&&(n={});try{return lh(e,t,n).format(r)}catch(a){e.onError(new rt("Error formatting number.",e.locale,a))}return String(r)}function dE(e,t,r,n){n===void 0&&(n={});try{return lh(e,t,n).formatToParts(r)}catch(a){e.onError(new rt("Error formatting number.",e.locale,a))}return[]}function pE(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function mE(e){e.onWarn&&e.defaultRichTextElements&&pE(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
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 hE(e,t){var r=X_(t),n=F(F({},nh),e),a=n.locale,o=n.defaultLocale,i=n.onError;return a?!Intl.NumberFormat.supportedLocalesOf(a).length&&i?i(new Kf('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 Kf('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 G_('"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"),mE(n),F(F({},n),{formatters:r,formatNumber:fE.bind(null,n,r.getNumberFormat),formatNumberToParts:dE.bind(null,n,r.getNumberFormat),formatRelativeTime:uE.bind(null,n,r.getRelativeTimeFormat),formatDate:Y_.bind(null,n,r.getDateTimeFormat),formatDateToParts:J_.bind(null,n,r.getDateTimeFormat),formatTime:K_.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:Z_.bind(null,n,r.getDateTimeFormat),formatTimeToParts:Q_.bind(null,n,r.getDateTimeFormat),formatPlural:iE.bind(null,n,r.getPluralRules),formatMessage:Bu.bind(null,n,r),$t:Bu.bind(null,n,r),formatList:aE.bind(null,n,r.getListFormat),formatListToParts:ih.bind(null,n,r.getListFormat),formatDisplayName:tE.bind(null,n,r.getDisplayNames)})}function sh(e){jm(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var uh=F(F({},nh),{textComponent:Ce.Fragment});function vE(e){return function(t){return e(Ce.Children.toArray(t))}}function ju(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 Fc=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=Ce.createContext(null)):Ce.createContext(null);Fc.Consumer;var yE=Fc.Provider,bE=yE,gE=Fc;function Ne(){var e=Ce.useContext(gE);return sh(e),e}var Du;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(Du||(Du={}));var Lu;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(Lu||(Lu={}));function ch(e){var t=function(r){var n=Ne(),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=Lu[e],t}function Vn(e){var t=function(r){var n=Ne(),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||Ce.Fragment;return Ce.createElement(l,null,s)};return t.displayName=Du[e],t}function Is(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 fh(e){return e&&Object.keys(e).reduce(function(t,r){var n=e[r];return t[r]=th(n)?vE(n):n,t},{})}var ed=function(e,t,r,n){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];var i=fh(n),s=Bu.apply(void 0,_t([e,t,r,i],a,!1));return Array.isArray(s)?Ce.Children.toArray(s):s},Fu=function(e,t){var r=e.defaultRichTextElements,n=nn(e,["defaultRichTextElements"]),a=fh(r),o=hE(F(F(F({},uh),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:ed.bind(null,i,o.formatters),$t:ed.bind(null,i,o.formatters)})},_E=function(e){tt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.cache=ah(),r.state={cache:r.cache,intl:Fu(Is(r.props),r.cache),prevConfig:Is(r.props)},r}return t.getDerivedStateFromProps=function(r,n){var a=n.prevConfig,o=n.cache,i=Is(r);return ju(a,i)?null:{intl:Fu(i,o),prevConfig:i}},t.prototype.render=function(){return sh(this.state.intl),Ce.createElement(bE,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=uh,t}(Ce.PureComponent);function EE(e,t){var r=e.values,n=nn(e,["values"]),a=t.values,o=nn(t,["values"]);return ju(a,r)&&ju(n,o)}function dh(e){var t=Ne(),r=t.formatMessage,n=t.textComponent,a=n===void 0?Ce.Fragment:n,o=e.id,i=e.description,s=e.defaultMessage,l=e.values,u=e.children,c=e.tagName,d=c===void 0?a:c,m=e.ignoreTag,f={id:o,description:i,defaultMessage:s},y=r(f,l,{ignoreTag:m});return typeof u=="function"?u(Array.isArray(y)?y:[y]):d?Ce.createElement(d,null,Ce.Children.toArray(y)):Ce.createElement(Ce.Fragment,null,y)}dh.displayName="FormattedMessage";var ph=Ce.memo(dh,EE);ph.displayName="MemoizedFormattedMessage";const Rr=ph;Vn("formatDate");Vn("formatTime");Vn("formatNumber");Vn("formatList");Vn("formatDisplayName");ch("formatDate");ch("formatTime");const mh={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
|
+
|
|
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
|
+
|
|
44
|
+
Thank you for helping to protect the Apolitical community from abusive content.`,discussion_form_label_reply:"Your reply",discussion_form_placeholder_reply:"Type your reply here...",discussion_form_explainer_reply:"Try to make your reply specific and practical. Be respectful and kind. See our <a>community guidelines</a>",discussion_form_submit_reply:"Submit your response",discussion_form_success_reply:"Your response has been submitted.",discussion_form_label_response:"Your response",discussion_form_placeholder_response:"Type your response here...",discussion_form_explainer_response:"Try to make your response specific and practical. Be respectful and kind. See our <a>community guidelines</a>",discussion_form_placeholder_answer:"Type your answer here...",discussion_form_explainer_answer:"Try to make your answer specific and practical. Be respectful and kind. See our <a>community guidelines</a>",discussion_form_submit_response:"Submit your response",discussion_form_success_response:"Your response has been submitted.",discussion_form_title_question:"Start a conversation",discussion_form_label_question:"Your question",discussion_form_placeholder_question:"Ask your question here",discussion_form_explainer_question:"Unsure what you can post? See our <a>community guidelines</a>.",discussion_form_submit_question:"Submit",discussion_form_success_question:"Your question has been submitted.",discussion_form_post:"Post",discussion_form_save:"Save",discussion_form_saving:"Saving...",discussion_form_cancel:"Cancel",discussion_form_submitting:"Submitting...",discussion_form_posting:"Posting...",discussion_form_error:"We are unable to process your {action} right now. Please try again later or contact us if the problem persists",discussion_form_error_tooLong:"Please keep your content to {maxLength, plural, one {1 character} other {# characters}}.",discussion_form_error_loggedOut_reply:"Please log in to submit your response.",discussion_form_error_already_exists_response:"This response already exists.",discussion_form_error_loggedOut_response:"Please log in to submit your response.",discussion_form_error_already_exists_question:"This question already exists.",discussion_form_error_loggedOut_question:"Please log in to submit your question.",discussion_form_error_already_exists_reply:"This response already exists.",discussion_question_answers_screenReader:"See {count, plural, =0 {0 answers} one {# answer} other {# answers}}",discussion_question_answers:"{count, plural, =0 {0 answers} one {# answer} other {# answers}}",discussion_question_answers_title:"Answers ({count})",discussion_question_noAnswers:"Be the first to answer this question",discussion_question_report_subject:"Report a post on Apolitical",discussion_question_report_body:`I'd like to report the question at {questionUrl}.
|
|
45
|
+
|
|
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
|
+
|
|
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"},wE={collapsibleSection_summary:"En savoir plus"},xE=Object.freeze(Object.defineProperty({__proto__:null,en:mh,fr:wE},Symbol.toStringTag,{value:"Module"})),Le=({children:e,locale:t="en",text:r=!1})=>_.jsx(_E,{locale:t,messages:r||xE[t.replace("-","")],children:e});var Hu={exports:{}},we={};/**
|
|
49
|
+
* @license React
|
|
50
|
+
* react-dom-test-utils.production.min.js
|
|
51
|
+
*
|
|
52
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
53
|
+
*
|
|
54
|
+
* This source code is licensed under the MIT license found in the
|
|
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={};/**
|
|
57
|
+
* @license React
|
|
58
|
+
* react-dom-test-utils.development.js
|
|
59
|
+
*
|
|
60
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
61
|
+
*
|
|
62
|
+
* This source code is licensed under the MIT license found in the
|
|
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.
|
|
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&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")};Me.printProps=XE;const YE=(e,t,r,n,a,o)=>e.map(i=>t.spacingOuter+r+(typeof i=="string"?Rh(i,t):o(i,t,r,n,a))).join("");Me.printChildren=YE;const Rh=(e,t)=>{const r=t.colors.content;return r.open+(0,Th.default)(e)+r.close};Me.printText=Rh;const KE=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+(0,Th.default)(e)+"-->"+r.close};Me.printComment=KE;const ZE=(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};Me.printElement=ZE;const JE=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close};Me.printElementAsLeaf=JE;Object.defineProperty(lr,"__esModule",{value:!0});lr.test=lr.serialize=lr.default=void 0;var zr=Me;const QE=1,Sh=3,Ph=8,Ah=11,e0=/^((HTML|SVG)\w*)?Element$/,t0=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},r0=e=>{const t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||t0(e);return r===QE&&(e0.test(t)||a)||r===Sh&&t==="Text"||r===Ph&&t==="Comment"||r===Ah&&t==="DocumentFragment"},Oh=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&r0(e)};lr.test=Oh;function n0(e){return e.nodeType===Sh}function a0(e){return e.nodeType===Ph}function ks(e){return e.nodeType===Ah}const Ih=(e,t,r,n,a,o)=>{if(n0(e))return(0,zr.printText)(e.data,t);if(a0(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=Ih;const o0={serialize:Ih,test:Oh};var i0=o0;lr.default=i0;var sr={};Object.defineProperty(sr,"__esModule",{value:!0});sr.test=sr.serialize=sr.default=void 0;var $n=Ut;const l0="@@__IMMUTABLE_ITERABLE__@@",s0="@@__IMMUTABLE_LIST__@@",u0="@@__IMMUTABLE_KEYED__@@",c0="@@__IMMUTABLE_MAP__@@",od="@@__IMMUTABLE_ORDERED__@@",f0="@@__IMMUTABLE_RECORD__@@",d0="@@__IMMUTABLE_SEQ__@@",p0="@@__IMMUTABLE_SET__@@",m0="@@__IMMUTABLE_STACK__@@",on=e=>"Immutable."+e,po=e=>"["+e+"]",kn=" ",id="…",h0=(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 v0(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 y0=(e,t,r,n,a,o)=>{const i=on(e._name||"Record");return++n>t.maxDepth?po(i):i+kn+"{"+(0,$n.printIteratorEntries)(v0(e),t,r,n,a,o)+"}"},b0=(e,t,r,n,a,o)=>{const i=on("Seq");return++n>t.maxDepth?po(i):e[u0]?i+kn+"{"+(e._iter||e._object?(0,$n.printIteratorEntries)(e.entries(),t,r,n,a,o):id)+"}":i+kn+"["+(e._iter||e._array||e._collection||e._iterable?(0,$n.printIteratorValues)(e.values(),t,r,n,a,o):id)+"]"},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)+"]",Mh=(e,t,r,n,a,o)=>e[c0]?h0(e,t,r,n,a,o,e[od]?"OrderedMap":"Map"):e[s0]?Ns(e,t,r,n,a,o,"List"):e[p0]?Ns(e,t,r,n,a,o,e[od]?"OrderedSet":"Set"):e[m0]?Ns(e,t,r,n,a,o,"Stack"):e[d0]?b0(e,t,r,n,a,o):y0(e,t,r,n,a,o);sr.serialize=Mh;const $h=e=>e&&(e[l0]===!0||e[f0]===!0);sr.test=$h;const g0={serialize:Mh,test:$h};var _0=g0;sr.default=_0;var ur={},Uu={exports:{}},ce={};/** @license React v17.0.2
|
|
68
|
+
* react-is.production.min.js
|
|
69
|
+
*
|
|
70
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the MIT license found in the
|
|
73
|
+
* LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/var ld;function E0(){if(ld)return ce;ld=1;var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,i=60110,s=60112,l=60113,u=60120,c=60115,d=60116,m=60121,f=60122,y=60117,v=60129,R=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"),d=h("react.lazy"),m=h("react.block"),f=h("react.server.block"),y=h("react.fundamental"),v=h("react.debug_trace_mode"),R=h("react.legacy_hidden")}function E(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 d:case c:case o:return B;default:return G}}case t:return G}}}var C=o,S=e,x=s,w=r,P=d,A=c,H=t,z=a,ne=n,ie=l;return ce.ContextConsumer=i,ce.ContextProvider=C,ce.Element=S,ce.ForwardRef=x,ce.Fragment=w,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 E(B)===i},ce.isContextProvider=function(B){return E(B)===o},ce.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===e},ce.isForwardRef=function(B){return E(B)===s},ce.isFragment=function(B){return E(B)===r},ce.isLazy=function(B){return E(B)===d},ce.isMemo=function(B){return E(B)===c},ce.isPortal=function(B){return E(B)===t},ce.isProfiler=function(B){return E(B)===a},ce.isStrictMode=function(B){return E(B)===n},ce.isSuspense=function(B){return E(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===R||typeof B=="object"&&B!==null&&(B.$$typeof===d||B.$$typeof===c||B.$$typeof===o||B.$$typeof===i||B.$$typeof===s||B.$$typeof===y||B.$$typeof===m||B[0]===f)},ce.typeOf=E,ce}var fe={};/** @license React v17.0.2
|
|
75
|
+
* react-is.development.js
|
|
76
|
+
*
|
|
77
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
78
|
+
*
|
|
79
|
+
* This source code is licensed under the MIT license found in the
|
|
80
|
+
* LICENSE file in the root directory of this source tree.
|
|
81
|
+
*/var sd;function w0(){return sd||(sd=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,d=60116,m=60121,f=60122,y=60117,v=60129,R=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"),d=h("react.lazy"),m=h("react.block"),f=h("react.server.block"),y=h("react.fundamental"),h("react.scope"),h("react.opaque.id"),v=h("react.debug_trace_mode"),h("react.offscreen"),R=h("react.legacy_hidden")}var E=!1;function C(U){return!!(typeof U=="string"||typeof U=="function"||U===r||U===a||U===v||U===n||U===l||U===u||U===R||E||typeof U=="object"&&U!==null&&(U.$$typeof===d||U.$$typeof===c||U.$$typeof===o||U.$$typeof===i||U.$$typeof===s||U.$$typeof===y||U.$$typeof===m||U[0]===f))}function S(U){if(typeof U=="object"&&U!==null){var D=U.$$typeof;switch(D){case e:var qe=U.type;switch(qe){case r:case a:case n:case l:case u:return qe;default:var Ee=qe&&qe.$$typeof;switch(Ee){case i:case s:case d:case c:case o:return Ee;default:return D}}case t:return D}}}var x=i,w=o,P=e,A=s,H=r,z=d,ne=c,ie=t,B=a,G=n,_e=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 S(U)===i}function Tt(U){return S(U)===o}function Rt(U){return typeof U=="object"&&U!==null&&U.$$typeof===e}function Oe(U){return S(U)===s}function Ke(U){return S(U)===r}function Ie(U){return S(U)===d}function St(U){return S(U)===c}function Pt(U){return S(U)===t}function At(U){return S(U)===a}function Ot(U){return S(U)===n}function It(U){return S(U)===l}fe.ContextConsumer=x,fe.ContextProvider=w,fe.Element=P,fe.ForwardRef=A,fe.Fragment=H,fe.Lazy=z,fe.Memo=ne,fe.Portal=ie,fe.Profiler=B,fe.StrictMode=G,fe.Suspense=_e,fe.isAsyncMode=Te,fe.isConcurrentMode=Fe,fe.isContextConsumer=Z,fe.isContextProvider=Tt,fe.isElement=Rt,fe.isForwardRef=Oe,fe.isFragment=Ke,fe.isLazy=Ie,fe.isMemo=St,fe.isPortal=Pt,fe.isProfiler=At,fe.isStrictMode=Ot,fe.isSuspense=It,fe.isValidElementType=C,fe.typeOf=S}()),fe}process.env.NODE_ENV==="production"?Uu.exports=E0():Uu.exports=w0();var x0=Uu.exports;Object.defineProperty(ur,"__esModule",{value:!0});ur.test=ur.serialize=ur.default=void 0;var Cr=C0(x0),pa=Me;function kh(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(kh=function(n){return n?r:t})(e)}function C0(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=kh(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 Nh=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Nh(r,t)}):e!=null&&e!==!1&&t.push(e),t),ud=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"},T0=e=>{const{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},qh=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,pa.printElementAsLeaf)(ud(e),t):(0,pa.printElement)(ud(e),(0,pa.printProps)(T0(e),e.props,t,r+t.indent,n,a,o),(0,pa.printChildren)(Nh(e.props.children),t,r+t.indent,n,a,o),t,r);ur.serialize=qh;const Bh=e=>e!=null&&Cr.isElement(e);ur.test=Bh;const R0={serialize:qh,test:Bh};var S0=R0;ur.default=S0;var cr={};Object.defineProperty(cr,"__esModule",{value:!0});cr.test=cr.serialize=cr.default=void 0;var ma=Me,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 P0=typeof qs=="function"&&qs.for?qs.for("react.test.json"):245830487,A0=e=>{const{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},jh=(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)(A0(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=jh;const Dh=e=>e&&e.$$typeof===P0;cr.test=Dh;const O0={serialize:jh,test:Dh};var I0=O0;cr.default=I0;Object.defineProperty(fr,"__esModule",{value:!0});fr.default=fr.DEFAULT_OPTIONS=void 0;var M0=fr.format=Zh,Lh=fr.plugins=void 0,$0=pr(hh),wn=Ut,k0=pr(ar),N0=pr(or),q0=pr(ir),B0=pr(lr),j0=pr(sr),D0=pr(ur),L0=pr(cr);function pr(e){return e&&e.__esModule?e:{default:e}}const Fh=Object.prototype.toString,F0=Date.prototype.toISOString,H0=Error.prototype.toString,cd=RegExp.prototype.toString,Bs=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",U0=e=>typeof window<"u"&&e===window,G0=/^Symbol\((.*)\)(.*)$/,W0=/\n/gi;class Hh extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}}function V0(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 z0(e){return Object.is(e,-0)?"-0":String(e)}function X0(e){return`${e}n`}function fd(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function dd(e){return String(e).replace(G0,"Symbol($1)")}function pd(e){return"["+H0.call(e)+"]"}function Uh(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 z0(e);if(a==="bigint")return X0(e);if(a==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(a==="function")return fd(e,t);if(a==="symbol")return dd(e);const o=Fh.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?fd(e,t):o==="[object Symbol]"?dd(e):o==="[object Date]"?isNaN(+e)?"Date { NaN }":F0.call(e):o==="[object Error]"?pd(e):o==="[object RegExp]"?r?cd.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):cd.call(e):e instanceof Error?pd(e):null}function Gh(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=Fh.call(e);return l==="[object Arguments]"?i?"[Arguments]":(s?"":"Arguments ")+"["+(0,wn.printListItems)(e,t,r,n,a,Jt)+"]":V0(l)?i?"["+e.constructor.name+"]":(s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,wn.printListItems)(e,t,r,n,a,Jt)+"]":l==="[object Map]"?i?"[Map]":"Map {"+(0,wn.printIteratorEntries)(e.entries(),t,r,n,a,Jt," => ")+"}":l==="[object Set]"?i?"[Set]":"Set {"+(0,wn.printIteratorValues)(e.values(),t,r,n,a,Jt)+"}":i||U0(e)?"["+Bs(e)+"]":(s||!t.printBasicPrototype&&Bs(e)==="Object"?"":Bs(e)+" ")+"{"+(0,wn.printObjectProperties)(e,t,r,n,a,Jt)+"}"}function Y0(e){return e.serialize!=null}function Wh(e,t,r,n,a,o){let i;try{i=Y0(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(W0,`
|
|
82
|
+
`+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Hh(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 Vh(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Hh(n.message,n.stack)}return null}function Jt(e,t,r,n,a,o){const i=Vh(t.plugins,e);if(i!==null)return Wh(i,e,t,r,n,a);const s=Uh(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Gh(e,t,r,n,a,o)}const Gc={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},zh=Object.keys(Gc),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:Gc};fr.DEFAULT_OPTIONS=ut;function K0(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 Z0=e=>zh.reduce((t,r)=>{const n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Gc[r],a=n&&$0.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)),J0=()=>zh.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Xh=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:ut.printFunctionName,Yh=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:ut.escapeRegex,Kh=e=>e&&e.escapeString!==void 0?e.escapeString:ut.escapeString,md=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:ut.callToJSON,colors:e&&e.highlight?Z0(e):J0(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:ut.compareKeys,escapeRegex:Yh(e),escapeString:Kh(e),indent:e&&e.min?"":Q0(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:Xh(e),spacingInner:e&&e.min?" ":`
|
|
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 Qw(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 ex(e){if(Array.isArray(e))return e}function tx(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=iv(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 iv(e,t){if(e){if(typeof e=="string")return Ed(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 Ed(e,t)}}function Ed(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"}]],Wu={entries:function(){return Xr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=tx(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!!Wu.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})}},rx=(0,Kw.default)(Wu,Wu.entries());mo.default=rx;var vo={};Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var nx=ax(qr);function ax(e){return e&&e.__esModule?e:{default:e}}function Ds(e,t){return lx(e)||ix(e,t)||lv(e,t)||ox()}function ox(){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 ix(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 lx(e){if(Array.isArray(e))return e}function sx(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=lv(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 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 rO(e)||tO(e,t)||sv(e,t)||eO()}function eO(){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 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 nM(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Et.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Et.call(Array(t+1),r)}}function rc(e,t){if(e.length===0)return"";var r=`
|
|
92
|
+
`+t.prev+t.base;return r+Et.call(e,","+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 $k(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 kk(e){if(Array.isArray(e))return e}function Nk(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=uy(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 uy(e,t){if(e){if(typeof e=="string")return Up(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 Up(e,t)}}function Up(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=[],Gp=sy.default.keys();for(var iu=0;iu<Gp.length;iu++){var lu=Gp[iu],su=sy.default.get(lu);if(su)for(var Wp=[].concat(su.baseConcepts,su.relatedConcepts),uu=0;uu<Wp.length;uu++){var Vp=Wp[uu];if(Vp.module==="HTML"){var cu=Vp.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 hc={entries:function(){return tr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Nk(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,Ok.default)(t,n[0])});return r&&r[1]},has:function(t){return!!hc.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})}},qk=(0,Ik.default)(hc,hc.entries());Yl.default=qk;var Jl={};Object.defineProperty(Jl,"__esModule",{value:!0});Jl.default=void 0;var Bk=fy(qr),cy=fy(fn);function fy(e){return e&&e.__esModule?e:{default:e}}function fu(e,t){return Lk(e)||Dk(e,t)||dy(e,t)||jk()}function jk(){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 Dk(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 Lk(e){if(Array.isArray(e))return e}function Fk(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=dy(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 dy(e,t){if(e){if(typeof e=="string")return zp(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 zp(e,t)}}function zp(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=[],py=cy.default.keys(),Hk=function(t){var r=py[t],n=cy.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 du=0;du<py.length;du++)Hk(du);var vc={entries:function(){return rr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Fk(rr),a;try{for(n.s();!(a=n.n()).done;){var o=fu(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!!vc.get(t)},keys:function(){return rr.map(function(t){var r=fu(t,1),n=r[0];return n})},values:function(){return rr.map(function(t){var r=fu(t,2),n=r[1];return n})}},Uk=(0,Bk.default)(vc,vc.entries());Jl.default=Uk;Object.defineProperty(ft,"__esModule",{value:!0});var st=ft.roles=hy=ft.roleElements=my=ft.elementRoles=ft.dom=ft.aria=void 0,Gk=Yn(mo),Wk=Yn(vo),Vk=Yn(fn),zk=Yn(Yl),Xk=Yn(Jl);function Yn(e){return e&&e.__esModule?e:{default:e}}var Yk=Gk.default;ft.aria=Yk;var Kk=Wk.default;ft.dom=Kk;var Zk=Vk.default;st=ft.roles=Zk;var Jk=zk.default,my=ft.elementRoles=Jk,Qk=Xk.default,hy=ft.roleElements=Qk,cf={exports:{}};cf.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),d=0,m=u.length;d<m;d++){var f=u.charCodeAt(d);c[d*2]=f>>>8,c[d*2+1]=f%256}return c},decompressFromUint8Array:function(l){if(l==null)return s.decompress(l);for(var u=new Array(l.length/2),c=0,d=u.length;c<d;c++)u[c]=l[c*2]*256+l[c*2+1];var m=[];return u.forEach(function(f){m.push(r(f))}),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 d,m,f={},y={},v="",R="",h="",E=2,C=3,S=2,x=[],w=0,P=0,A;for(A=0;A<l.length;A+=1)if(v=l.charAt(A),Object.prototype.hasOwnProperty.call(f,v)||(f[v]=C++,y[v]=!0),R=h+v,Object.prototype.hasOwnProperty.call(f,R))h=R;else{if(Object.prototype.hasOwnProperty.call(y,h)){if(h.charCodeAt(0)<256){for(d=0;d<S;d++)w=w<<1,P==u-1?(P=0,x.push(c(w)),w=0):P++;for(m=h.charCodeAt(0),d=0;d<8;d++)w=w<<1|m&1,P==u-1?(P=0,x.push(c(w)),w=0):P++,m=m>>1}else{for(m=1,d=0;d<S;d++)w=w<<1|m,P==u-1?(P=0,x.push(c(w)),w=0):P++,m=0;for(m=h.charCodeAt(0),d=0;d<16;d++)w=w<<1|m&1,P==u-1?(P=0,x.push(c(w)),w=0):P++,m=m>>1}E--,E==0&&(E=Math.pow(2,S),S++),delete y[h]}else for(m=f[h],d=0;d<S;d++)w=w<<1|m&1,P==u-1?(P=0,x.push(c(w)),w=0):P++,m=m>>1;E--,E==0&&(E=Math.pow(2,S),S++),f[R]=C++,h=String(v)}if(h!==""){if(Object.prototype.hasOwnProperty.call(y,h)){if(h.charCodeAt(0)<256){for(d=0;d<S;d++)w=w<<1,P==u-1?(P=0,x.push(c(w)),w=0):P++;for(m=h.charCodeAt(0),d=0;d<8;d++)w=w<<1|m&1,P==u-1?(P=0,x.push(c(w)),w=0):P++,m=m>>1}else{for(m=1,d=0;d<S;d++)w=w<<1|m,P==u-1?(P=0,x.push(c(w)),w=0):P++,m=0;for(m=h.charCodeAt(0),d=0;d<16;d++)w=w<<1|m&1,P==u-1?(P=0,x.push(c(w)),w=0):P++,m=m>>1}E--,E==0&&(E=Math.pow(2,S),S++),delete y[h]}else for(m=f[h],d=0;d<S;d++)w=w<<1|m&1,P==u-1?(P=0,x.push(c(w)),w=0):P++,m=m>>1;E--,E==0&&(E=Math.pow(2,S),S++)}for(m=2,d=0;d<S;d++)w=w<<1|m&1,P==u-1?(P=0,x.push(c(w)),w=0):P++,m=m>>1;for(;;)if(w=w<<1,P==u-1){x.push(c(w));break}else P++;return x.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 d=[],m=4,f=4,y=3,v="",R=[],h,E,C,S,x,w,P,A={val:c(0),position:u,index:1};for(h=0;h<3;h+=1)d[h]=h;for(C=0,x=Math.pow(2,2),w=1;w!=x;)S=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(S>0?1:0)*w,w<<=1;switch(C){case 0:for(C=0,x=Math.pow(2,8),w=1;w!=x;)S=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(S>0?1:0)*w,w<<=1;P=r(C);break;case 1:for(C=0,x=Math.pow(2,16),w=1;w!=x;)S=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(S>0?1:0)*w,w<<=1;P=r(C);break;case 2:return""}for(d[3]=P,E=P,R.push(P);;){if(A.index>l)return"";for(C=0,x=Math.pow(2,y),w=1;w!=x;)S=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(S>0?1:0)*w,w<<=1;switch(P=C){case 0:for(C=0,x=Math.pow(2,8),w=1;w!=x;)S=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(S>0?1:0)*w,w<<=1;d[f++]=r(C),P=f-1,m--;break;case 1:for(C=0,x=Math.pow(2,16),w=1;w!=x;)S=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=c(A.index++)),C|=(S>0?1:0)*w,w<<=1;d[f++]=r(C),P=f-1,m--;break;case 2:return R.join("")}if(m==0&&(m=Math.pow(2,y),y++),d[P])v=d[P];else if(P===f)v=E+E.charAt(0);else return null;R.push(v),d[f++]=E+v.charAt(0),m--,E=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})})(cf);var eN=cf.exports;const tN=Gn(eN);function vy(e){return e.replace(/</g,"<").replace(/>/g,">")}const rN=(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(`
|
|
98
|
+
`)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},nN=3,aN=(e,t,r,n,a,o)=>e.map(i=>{const s=typeof i=="string"?yy(i,t):o(i,t,r,n,a);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==nN?"":t.spacingOuter+r+s}).join(""),yy=(e,t)=>{const r=t.colors.content;return r.open+vy(e)+r.close},oN=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+vy(e)+"-->"+r.close},iN=(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},lN=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},sN=1,by=3,gy=8,_y=11,uN=/^((HTML|SVG)\w*)?Element$/,cN=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===sN&&(uN.test(t)||a)||r===by&&t==="Text"||r===gy&&t==="Comment"||r===_y&&t==="DocumentFragment"};function fN(e){return e.nodeType===by}function dN(e){return e.nodeType===gy}function pu(e){return e.nodeType===_y}function pN(e){return{test:t=>{var r;return(t==null||(r=t.constructor)==null?void 0:r.name)&&cN(t)},serialize:(t,r,n,a,o,i)=>{if(fN(t))return yy(t.data,r);if(dN(t))return oN(t.data,r);const s=pu(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?lN(s,r):iN(s,rN(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),aN(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,i),r,n)}}}let Ey=null,ff=null,df=null;try{const e=module&&SE;ff=e.call(module,"fs").readFileSync,df=e.call(module,"@babel/code-frame").codeFrameColumns,Ey=e.call(module,"chalk")}catch{}function mN(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=ff(o,"utf-8")}catch{return""}const u=df(l,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return Ey.dim(n)+`
|
|
99
|
+
`+u+`
|
|
100
|
+
`}function hN(){if(!ff||!df)return"";const t=new Error().stack.split(`
|
|
101
|
+
`).slice(1).find(r=>!r.includes("node_modules/"));return mN(t)}const wy=3;function mu(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function pf(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function xy(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 vN=()=>{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:yN}=Lh,bN=1,gN=8;function _N(e){return e.nodeType!==gN&&(e.nodeType!==bN||!e.matches(me().defaultIgnore))}function to(e,t,r){if(r===void 0&&(r={}),e||(e=pf().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=_N,...o}=r,i=M0(e,{plugins:[pN(a),yN],printFunctionName:!1,highlight:vN(),...o});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}const Xp=function(){const e=hN();console.log(e?to(...arguments)+`
|
|
102
|
+
|
|
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
|
+
`+r].filter(Boolean).join(`
|
|
105
|
+
|
|
106
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function EN(e){try{return Ar._disableExpensiveErrorDiagnostics=!0,e()}finally{Ar._disableExpensiveErrorDiagnostics=!1}}function wN(e){typeof e=="function"&&(e=e(Ar)),Ar={...Ar,...e}}function me(){return Ar}const xN=["button","meter","output","progress","select","textarea","input"];function Cy(e){return xN.includes(e.nodeName.toLowerCase())?"":e.nodeType===wy?e.textContent:Array.from(e.childNodes).map(t=>Cy(t)).join("")}function yc(e){let t;return e.tagName.toLowerCase()==="label"?t=Cy(e):t=e.value||e.textContent,t}function Ty(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!CN(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function CN(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Ry(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:yc(s),formControl:null}:{content:"",formControl:null}}):Array.from(Ty(t)).map(i=>{const s=yc(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 Sy(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;Sy(r);const a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):Ay(r,a)}function Ht(e,t,r,n){if(typeof e!="string")return!1;Sy(r);const a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?Ay(r,a):a===String(r)}function Py(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 Py({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 Ay(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===wy&&!!t.textContent).map(t=>t.textContent).join("")}const TN=RN(my);function Oy(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function mf(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=Oy}=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 hf(e){for(const{match:t,roles:r}of TN)if(t(e))return[...r];return[]}function RN(e){function t(i){let{name:s,attributes:l}=i;return""+s+l.map(u=>{let{name:c,value:d,constraints:m=[]}=u;return m.indexOf("undefined")!==-1?":not(["+c+"])":d?"["+c+'="'+d+'"]':"["+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 SN(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?mf(a)===!1:!0).reduce((a,o)=>{let i=[];return o.hasAttribute("role")?i=o.getAttribute("role").split(" ").slice(0,1):i=hf(o),i.reduce((s,l)=>Array.isArray(s[l])?{...s,[l]:[...s[l],o]}:{...s,[l]:[o]},a)},{})}function PN(e,t){let{hidden:r,includeDescription:n}=t;const a=SN(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 d='Name "'+Wc(c,{computedStyleSupportsPseudoElements:me().computedStyleSupportsPseudoElements})+`":
|
|
107
|
+
`,m=to(c.cloneNode(!1));if(n){const f='Description "'+ov(c,{computedStyleSupportsPseudoElements:me().computedStyleSupportsPseudoElements})+`":
|
|
108
|
+
`;return""+d+f+m}return""+d+m}).join(`
|
|
109
|
+
|
|
110
|
+
`);return i+`:
|
|
111
|
+
|
|
112
|
+
`+u+`
|
|
113
|
+
|
|
114
|
+
`+l}).join(`
|
|
115
|
+
`)}function AN(e){return e.tagName==="OPTION"?e.selected:Kn(e,"aria-selected")}function ON(e){return e.getAttribute("aria-busy")==="true"}function IN(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Kn(e,"aria-checked")}function MN(e){return Kn(e,"aria-pressed")}function $N(e){var t,r;return(t=(r=Kn(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function kN(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 NN(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 qN(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function BN(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function jN(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function DN(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const Yp=Py();function LN(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Kp(e){return new RegExp(LN(e.toLowerCase()),"i")}function Xt(e,t,r,n){let{variant:a,name:o}=n,i="";const s={},l=[["Role","TestId"].includes(e)?r:Kp(r)];o&&(s.name=Kp(o)),e==="Role"&&mf(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
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,d]=l;return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(m=>{let[f,y]=m;return f+": "+y}).join(", ")+" }":"",u+"("+c+d+")"}}}function Yt(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function bc(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=hf(e))==null?void 0:a[0];if(o!=="generic"&&Yt("Role",r,o))return Xt("Role",e,o,{variant:t,name:Wc(e,{computedStyleSupportsPseudoElements:me().computedStyleSupportsPseudoElements})});const i=Ry(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=Yp(Ql(e));if(Yt("Text",r,l))return Xt("Text",e,l,{variant:t});if(Yt("DisplayValue",r,e.value))return Xt("DisplayValue",e,Yp(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 d=e.getAttribute(me().testIdAttribute);if(Yt("TestId",r,d))return Xt("TestId",e,d,{variant:t})}function ba(e,t){e.stack=t.stack.replace(t.message,e.message)}function FN(e,t){let{container:r=pf(),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 d,m,f,y=!1,v="idle";const R=setTimeout(x,n),h=mu();if(h){const{unstable_advanceTimersWrapper:w}=me();for(S();!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 w(async()=>{jest.advanceTimersByTime(i)}),S(),y)break}}else{try{Gt(r)}catch(P){c(P);return}m=setInterval(C,i);const{MutationObserver:w}=xy(r);f=new w(C),f.observe(r,l),S()}function E(w,P){y=!0,clearTimeout(R),h||(clearInterval(m),f.disconnect()),w?c(w):u(P)}function C(){if(mu()){const w=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(w,o),c(w)}else return S()}function S(){if(v!=="pending")try{const w=EN(e);typeof(w==null?void 0:w.then)=="function"?(v="pending",w.then(P=>{v="resolved",E(null,P)},P=>{v="rejected",d=P})):E(null,w)}catch(w){d=w}}function x(){let w;d?(w=d,!a&&w.name==="TestingLibraryElementError"&&ba(w,o)):(w=new Error("Timed out in waitFor."),a||ba(w,o)),E(s(w),null)}})}function HN(e,t){const r=new Error("STACK_TRACE_MESSAGE");return me().asyncWrapper(()=>FN(e,{stackTraceError:r,...t}))}function Iy(e,t){return me().getElementError(e,t)}function UN(e,t){return Iy(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=>Iy(null,l).message).join(`
|
|
118
|
+
|
|
119
|
+
`);throw UN(t(r,...a)+`
|
|
120
|
+
|
|
121
|
+
Here are the matching elements:
|
|
122
|
+
|
|
123
|
+
`+s,r)}return i[0]||null}}function My(e,t){return me().getElementError(`A better query is available, try this:
|
|
124
|
+
`+e.toString()+`
|
|
125
|
+
`,t)}function GN(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)=>HN(()=>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=bc(s,r);if(u&&!t.endsWith(u.queryName))throw My(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 d;return(d=bc(c,r))==null?void 0:d.toString()}))];if(u.length===1&&!t.endsWith(bc(s[0],r).queryName))throw My(u[0],n)}return s};function Lr(e,t,r){const n=rn(ro(e,t),e.name,"query"),a=GN(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 WN(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:yc(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const VN=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 WN(e).filter(c=>{let{node:d,textToMatch:m}=c;return s(m,d,t,l)}).map(c=>{let{node:d}=c;return d})},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(d=>Ty(d).length||d.hasAttribute("aria-labelledby")).reduce((d,m)=>{const f=Ry(e,m,{selector:n});f.filter(v=>!!v.formControl).forEach(v=>{l(v.content,v.formControl,t,u)&&v.formControl&&d.push(v.formControl)});const y=f.filter(v=>!!v.content).map(v=>v.content);return l(y.join(" "),m,t,u)&&d.push(m),y.length>1&&y.forEach((v,R)=>{l(v,m,t,u)&&d.push(m);const h=[...y];h.splice(R,1),h.length>1&&l(h.join(" "),m,t,u)&&d.push(m)}),d},[]).concat(es("aria-label",e,t,{exact:a,normalizer:u}));return Array.from(new Set(c)).filter(d=>d.matches(n))},Mr=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=VN(e,t,...n);if(i.length){const s=i.map(l=>zN(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
|
+
|
|
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 zN(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const $y=(e,t)=>"Found multiple elements with the text of: "+t,XN=rn(ro(jn,$y),jn.name,"query"),ky=ro(Mr,$y),YN=no(et(Mr,Mr.name,"findAll")),KN=no(rn(ky,Mr.name,"find")),ZN=et(Mr,Mr.name,"getAll"),JN=rn(ky,Mr.name,"get"),QN=et(jn,jn.name,"queryAll"),gc=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)},eq=(e,t)=>"Found multiple elements with the placeholder text of: "+t,tq=(e,t)=>"Unable to find an element with the placeholder text of: "+t,rq=et(gc,gc.name,"queryAll"),[nq,aq,oq,iq,lq]=Lr(gc,eq,tq),_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 d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(m=>!s||!m.matches(s)).filter(m=>u(Ql(m),m,t,c))},sq=(e,t)=>"Found multiple elements with the text: "+t,uq=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."},cq=et(_c,_c.name,"queryAll"),[fq,dq,pq,mq,hq]=Lr(_c,sq,uq),Ec=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(d=>d.selected).some(d=>s(Ql(d),d,t,l)):s(u.value,u,t,l))},vq=(e,t)=>"Found multiple elements with the display value: "+t+".",yq=(e,t)=>"Unable to find an element with the display value: "+t+".",bq=et(Ec,Ec.name,"queryAll"),[gq,_q,Eq,wq,xq]=Lr(Ec,vq,yq),Cq=/^(img|input|area|.+-.+)$/i,wc=function(e,t,r){return r===void 0&&(r={}),Gt(e),es("alt",e,t,r).filter(n=>Cq.test(n.tagName))},Tq=(e,t)=>"Found multiple elements with the alt text: "+t,Rq=(e,t)=>"Unable to find an element with the alt text: "+t,Sq=et(wc,wc.name,"queryAll"),[Pq,Aq,Oq,Iq,Mq]=Lr(wc,Tq,Rq),$q=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},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("[title], svg > title")).filter(u=>s(u.getAttribute("title"),u,t,l)||$q(u)&&s(Ql(u),u,t,l))},kq=(e,t)=>"Found multiple elements with the title: "+t+".",Nq=(e,t)=>"Unable to find an element with the title: "+t+".",qq=et(xc,xc.name,"queryAll"),[Bq,jq,Dq,Lq,Fq]=Lr(xc,kq,Nq),Cc=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:d,level:m,expanded:f,value:{now:y,min:v,max:R,text:h}={}}=r===void 0?{}:r;if(Gt(e),s!==void 0){var E;if(((E=st.get(t))==null?void 0:E.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 S;if(((S=st.get(t))==null?void 0:S.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var x;if(((x=st.get(t))==null?void 0:x.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var w;if(((w=st.get(t))==null?void 0:w.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(R!==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(f!==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,Oy(G)),ie.get(G)}return Array.from(e.querySelectorAll(Hq(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 hf(G).some(ye=>ye===t)}).filter(G=>{if(s!==void 0)return s===AN(G);if(l!==void 0)return l===ON(G);if(u!==void 0)return u===IN(G);if(c!==void 0)return c===MN(G);if(d!==void 0)return d===$N(G);if(f!==void 0)return f===kN(G);if(m!==void 0)return m===NN(G);if(y!==void 0||R!==void 0||v!==void 0||h!==void 0){let pe=!0;if(y!==void 0&&pe&&(pe=y===qN(G)),R!==void 0&&pe&&(pe=R===BN(G)),v!==void 0&&pe&&(pe=v===jN(G)),h!==void 0){var _e;pe&&(pe=Ht((_e=DN(G))!=null?_e:null,G,h,ye=>ye))}return pe}return!0}).filter(G=>a===void 0?!0:Ht(Wc(G,{computedStyleSupportsPseudoElements:me().computedStyleSupportsPseudoElements}),G,a,_e=>_e)).filter(G=>o===void 0?!0:Ht(ov(G,{computedStyleSupportsPseudoElements:me().computedStyleSupportsPseudoElements}),G,o,_e=>_e)).filter(G=>n===!1?mf(G,{isSubtreeInaccessible:B})===!1:!0)};function Hq(e){var t;const r='*[role~="'+e+'"]',n=(t=hy.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 Ny=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Uq=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Ny(n)},Gq=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+'"'+Ny(a);let i="";Array.from(e.children).forEach(c=>{i+=PN(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
|
+
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
129
|
+
|
|
130
|
+
`+i.replace(/\n/g,`
|
|
131
|
+
`).replace(/\n\s\s\n/g,`
|
|
132
|
+
|
|
133
|
+
`)+`
|
|
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
|
+
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+u+`
|
|
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 sB(e){return tN.compressToEncodedURIComponent(lB(e))}function uB(e){return"https://testing-playground.com/#markup="+sB(e)}const cB=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Xp(n,t,r)):Xp(e,t,r),fB=function(e){if(e===void 0&&(e=pf().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=uB(e.innerHTML);return console.log(`Open this URL in your browser
|
|
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 d=!1;return{p:c.map(function(m,f){const y=o.exec(m)[0].length,v=new RegExp("^ {1,"+y+"}","gm"),R=m.replace(v,"").replace(o,""),h=f===c.length-1,E=R.indexOf(`
|
|
142
|
+
|
|
143
|
+
`)!==-1||h&&d;d=E;const C=l._,S=l.o;let x;l.o=!0,E?(l._=!1,x=R.replace(cm,`
|
|
144
|
+
|
|
145
|
+
`)):(l._=!0,x=R.replace(cm,""));const w=s(x,l);return l._=C,l.o=S,w}),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 Ij=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Mj=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ob=[Fy,Hy,Uy,Gy,Vy,Wy,zy,Xy,eb,nb,tb,ab],$j=[...ob,/^[^\n]+(?: \n|\n{2,})/,Ac,Oc];function kj(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 Nj(e){return bj.test(e)?"right":vj.test(e)?"center":yj.test(e)?"left":null}function dm(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(hj,"")),o[o.length-1].push(i))}),o}function qj(e,t,r){r._=!0;const n=dm(e[1],t,r),a=e[2].replace(mj,"").split("|").map(Nj),o=function(i,s,l){return i.trim().split(`
|
|
146
|
+
`).map(function(u){return dm(u,s,l)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function pm(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 Sn(e){return function(t){return e.exec(t)}}function Bj(e,t,r){if(t._||t.u||r&&!r.endsWith(`
|
|
147
|
+
`))return null;let n="";e.split(`
|
|
148
|
+
`).every(o=>!ob.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 mm(e){return e.replace(Sj,"$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 jj(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 Dj(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 Lj(...e){return e.filter(Boolean).join(" ")}function _u(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 ee;function Fj(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||kj,t.namedCodesToUnicode=t.namedCodesToUnicode?Tr({},um,t.namedCodesToUnicode):um;const r=t.createElement||Ce.createElement;function n(f,y,...v){const R=_u(t.overrides,`${f}.props`,{});return r(function(h,E){const C=_u(E,h);return C?typeof C=="function"||typeof C=="object"&&"render"in C?C:_u(E,`${h}.component`,h):h}(f,t.overrides),Tr({},y,R,{className:Lj(y==null?void 0:y.className,R.className)||void 0}),...v)}function a(f){let y=!1;t.forceInline?y=!0:t.forceBlock||(y=fj.test(f)===!1);const v=c(u(y?f:`${f.trimEnd().replace(Tj,"")}
|
|
150
|
+
|
|
151
|
+
`,{_:y}));for(;typeof v[v.length-1]=="string"&&!v[v.length-1].trim();)v.pop();if(t.wrapper===null)return v;const R=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 Ce.createElement(R,{key:"outer"},h)}function o(f){const y=f.match(FB);return y?y.reduce(function(v,R,h){const E=R.indexOf("=");if(E!==-1){const C=function(P){return P.indexOf("-")!==-1&&P.match(tj)===null&&(P=P.replace(ij,function(A,H){return H.toUpperCase()})),P}(R.slice(0,E)).trim(),S=function(P){const A=P[0];return(A==='"'||A==="'")&&P.length>=2&&P[P.length-1]===A?P.slice(1,-1):P}(R.slice(E+1).trim()),x=sm[C]||C,w=v[x]=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(rj)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(C,S);typeof w=="string"&&(Ac.test(w)||Oc.test(w))&&(v[x]=Ce.cloneElement(a(w.trim()),{key:h}))}else R!=="style"&&(v[sm[R]||R]=!0);return v},{}):null}const i=[],s={},l={blockQuote:{t:jt(Fy),i:ee.HIGH,l:(f,y,v)=>({v:y(f[0].replace(GB,""),v)}),h:(f,y,v)=>n("blockquote",{key:v.k},y(f.v,v))},breakLine:{t:Sn(WB),i:ee.HIGH,l:bu,h:(f,y,v)=>n("br",{key:v.k})},breakThematic:{t:jt(VB),i:ee.HIGH,l:bu,h:(f,y,v)=>n("hr",{key:v.k})},codeBlock:{t:jt(Uy),i:ee.MAX,l:f=>({v:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(f,y,v)=>n("pre",{key:v.k},n("code",Tr({},f.O,{className:f.M?`lang-${f.M}`:""}),f.v))},codeFenced:{t:jt(Hy),i:ee.MAX,l:f=>({O:o(f[3]||""),v:f[4],M:f[2]||void 0,type:"codeBlock"})},codeInline:{t:Zt(zB),i:ee.LOW,l:f=>({v:f[2]}),h:(f,y,v)=>n("code",{key:v.k},f.v)},footnote:{t:jt(KB),i:ee.MAX,l:f=>(i.push({I:f[2],j:f[1]}),{}),h:gu},footnoteReference:{t:Kt(ZB),i:ee.HIGH,l:f=>({v:f[1],B:`#${t.slugify(f[1])}`}),h:(f,y,v)=>n("a",{key:v.k,href:Zr(f.B)},n("sup",{key:v.k},f.v))},gfmTask:{t:Kt(QB),i:ee.HIGH,l:f=>({R:f[1].toLowerCase()==="x"}),h:(f,y,v)=>n("input",{checked:f.R,key:v.k,readOnly:!0,type:"checkbox"})},heading:{t:jt(t.enforceAtxHeadings?Wy:Gy),i:ee.HIGH,l:(f,y,v)=>({v:ka(y,f[2],v),T:t.slugify(f[2]),C:f[1].length}),h:(f,y,v)=>n(`h${f.C}`,{id:f.T,key:v.k},y(f.v,v))},headingSetext:{t:jt(Vy),i:ee.MAX,l:(f,y,v)=>({v:ka(y,f[1],v),C:f[2]==="="?1:2,type:"heading"})},htmlComment:{t:Sn(zy),i:ee.HIGH,l:()=>({}),h:gu},image:{t:Zt(Mj),i:ee.HIGH,l:f=>({D:f[1],B:mm(f[2]),F:f[3]}),h:(f,y,v)=>n("img",{key:v.k,alt:f.D||void 0,title:f.F||void 0,src:Zr(f.B)})},link:{t:Kt(Ij),i:ee.LOW,l:(f,y,v)=>({v:jj(y,f[1],v),B:mm(f[2]),F:f[3]}),h:(f,y,v)=>n("a",{key:v.k,href:Zr(f.B),title:f.F},y(f.v,v))},linkAngleBraceStyleDetector:{t:Kt(oj),i:ee.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],type:"link"})},linkBareUrlDetector:{t:(f,y)=>y.N?null:Kt(nj)(f,y),i:ee.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],F:void 0,type:"link"})},linkMailtoDetector:{t:Kt(aj),i:ee.MAX,l(f){let y=f[1],v=f[1];return HB.test(v)||(v="mailto:"+v),{v:[{v:y.replace("mailto:",""),type:"text"}],B:v,type:"link"}}},orderedList:fm(n,1),unorderedList:fm(n,2),newlineCoalescer:{t:jt(XB),i:ee.LOW,l:bu,h:()=>`
|
|
152
|
+
`},paragraph:{t:Bj,i:ee.LOW,l:yu,h:(f,y,v)=>n("p",{key:v.k},y(f.v,v))},ref:{t:Kt(lj),i:ee.MAX,l:f=>(s[f[1]]={B:f[2],F:f[4]},{}),h:gu},refImage:{t:Zt(sj),i:ee.MAX,l:f=>({D:f[1]||void 0,P:f[2]}),h:(f,y,v)=>n("img",{key:v.k,alt:f.D,src:Zr(s[f.P].B),title:s[f.P].F})},refLink:{t:Kt(uj),i:ee.MAX,l:(f,y,v)=>({v:y(f[1],v),Z:y(f[0].replace(cj,"\\$1"),v),P:f[2]}),h:(f,y,v)=>s[f.P]?n("a",{key:v.k,href:Zr(s[f.P].B),title:s[f.P].F},y(f.v,v)):n("span",{key:v.k},y(f.Z,v))},table:{t:jt(Xy),i:ee.HIGH,l:qj,h:(f,y,v)=>n("table",{key:v.k},n("thead",null,n("tr",null,f.L.map(function(R,h){return n("th",{key:h,style:pm(f,h)},y(R,v))}))),n("tbody",null,f.A.map(function(R,h){return n("tr",{key:h},R.map(function(E,C){return n("td",{key:C,style:pm(f,C)},y(E,v))}))})))},tableSeparator:{t:function(f,y){return y.$?(y._=!0,pj.exec(f)):null},i:ee.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:Sn(Cj),i:ee.MIN,l:f=>({v:f[0].replace(ej,(y,v)=>t.namedCodesToUnicode[v]?t.namedCodesToUnicode[v]:y)}),h:f=>f.v},textBolded:{t:Zt(gj),i:ee.MED,l:(f,y,v)=>({v:y(f[2],v)}),h:(f,y,v)=>n("strong",{key:v.k},y(f.v,v))},textEmphasized:{t:Zt(_j),i:ee.LOW,l:(f,y,v)=>({v:y(f[2],v)}),h:(f,y,v)=>n("em",{key:v.k},y(f.v,v))},textEscaped:{t:Zt(xj),i:ee.HIGH,l:f=>({v:f[1],type:"text"})},textMarked:{t:Zt(Ej),i:ee.LOW,l:yu,h:(f,y,v)=>n("mark",{key:v.k},y(f.v,v))},textStrikethroughed:{t:Zt(wj),i:ee.LOW,l:yu,h:(f,y,v)=>n("del",{key:v.k},y(f.v,v))}};t.disableParsingRawHTML!==!0&&(l.htmlBlock={t:Sn(Ac),i:ee.HIGH,l(f,y,v){const[,R]=f[3].match(Rj),h=new RegExp(`^${R}`,"gm"),E=f[3].replace(h,""),C=(S=E,$j.some(A=>A.test(S))?Dj:ka);var S;const x=f[1].toLowerCase(),w=LB.indexOf(x)!==-1;v.N=v.N||x==="a";const P=w?f[3]:C(y,E,v);return v.N=!1,{O:o(f[2]),v:P,G:w,H:w?x:f[1]}},h:(f,y,v)=>n(f.H,Tr({key:v.k},f.O),f.G?f.v:y(f.v,v))},l.htmlSelfClosing={t:Sn(Oc),i:ee.HIGH,l:f=>({O:o(f[2]||""),H:f[1]}),h:(f,y,v)=>n(f.H,Tr({},f.O,{key:v.k}))});const u=function(f){let y=Object.keys(f);function v(R,h){let E=[],C="";for(;R;){let S=0;for(;S<y.length;){const x=y[S],w=f[x],P=w.t(R,h,C);if(P){const A=P[0];R=R.substring(A.length);const H=w.l(P,v,h);H.type==null&&(H.type=x),E.push(H),C=A;break}S++}}return E}return y.sort(function(R,h){let E=f[R].i,C=f[h].i;return E!==C?E-C:R<h?-1:1}),function(R,h){return v(function(E){return E.replace(YB,`
|
|
153
|
+
`).replace(JB,"").replace(dj," ")}(R),h)}}(l),c=(d=function(f){return function(y,v,R){return f[y.type].h(y,v,R)}}(l),function f(y,v={}){if(Array.isArray(y)){const R=v.k,h=[];let E=!1;for(let C=0;C<y.length;C++){v.k=C;const S=f(y[C],v),x=typeof S=="string";x&&E?h[h.length-1]+=S:S!==null&&h.push(S),E=x}return v.k=R,h}return d(y,f,v)});var d;const m=a(e);return i.length?n("div",null,m,n("footer",{key:"footer"},i.map(function(f){return n("div",{id:t.slugify(f.j),key:f.j},f.j,c(u(f.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"})(ee||(ee={}));const Ef=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,DB);return Ce.cloneElement(Fj(t,r),n)};const ts=({variant:e="primary",className:t="",children:r,...n})=>_.jsx("div",{className:te("highlighted-text-box",e,t),...n,children:r});const Hj=({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=km(Object.keys(s));a=Nm(i,l,s)}return _.jsxs(ts,{variant:"subtle",className:te("empty-state-box",e,n),children:[t&&_.jsx(Ef,{options:{forceBlock:!0},children:t}),a&&typeof r=="object"&&_.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})=>_.jsx("p",{...t,children:e}),ib={q:Ic,blockquote:Ic};for(let e=1;e<=6;e++)ib[`h${e}`]={component:Ic,props:{className:"title"}};const lb=({type:e="default",className:t="",heading:r=!1,children:n})=>_.jsxs("div",{className:te("helper-text-box text-small",e,t),children:[r&&_.jsx("p",{className:"title",children:r}),typeof n=="string"?_.jsx(Ef,{options:{wrapper:j.Fragment,forceBlock:!0,overrides:ib},children:n}):_.jsx("p",{children:n})]});const Uj=({className:e="",show:t=!1,hide:r=!1,text:n,children:a})=>{const o=Ne(),i=j.useRef(null),[s,l]=j.useState(""),[u,c]=j.useState("closed");j.useEffect(()=>{const f=i.current;if(f)return f.addEventListener("transitionend",d),()=>{f.removeEventListener("transitionend",d)}},[]),j.useEffect(()=>{if(!n||typeof n!="string")return;const f=n.split(`
|
|
154
|
+
`);l(f.length<3?`${n.substring(0,400)}...`:f.slice(0,3).join(`
|
|
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}`))})})]})};/*!
|
|
156
|
+
* cookie
|
|
157
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
158
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
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;
|