@apolitical/component-library 1.1.4 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/discussion/conversation/conversation.d.ts +13 -0
  2. package/discussion/conversation/index.d.ts +1 -0
  3. package/discussion/discussion.helpers.d.ts +5 -0
  4. package/discussion/form/form.d.ts +3 -3
  5. package/discussion/index.d.ts +2 -0
  6. package/discussion/likes/likes.d.ts +4 -0
  7. package/discussion/post/index.d.ts +1 -0
  8. package/discussion/post/post.d.ts +37 -0
  9. package/general/link/link.d.ts +2 -2
  10. package/index.js +72 -72
  11. package/index.mjs +9923 -9227
  12. package/package.json +1 -1
  13. package/style.css +1 -1
  14. package/styles/base/_index.scss +1 -0
  15. package/styles/base/_table.scss +71 -0
  16. package/styles/variables/colors/_theme.scss +5 -0
  17. package/text/index.d.ts +1 -0
  18. package/text/markdown-text/components/case-study/case-study.d.ts +5 -0
  19. package/text/markdown-text/components/case-study/index.d.ts +1 -0
  20. package/text/markdown-text/components/details/details.d.ts +9 -0
  21. package/text/markdown-text/components/details/index.d.ts +1 -0
  22. package/text/markdown-text/components/div/div.d.ts +6 -0
  23. package/text/markdown-text/components/div/index.d.ts +1 -0
  24. package/text/markdown-text/components/empty-component/empty-component.d.ts +5 -0
  25. package/text/markdown-text/components/empty-component/index.d.ts +1 -0
  26. package/text/markdown-text/components/iframe/iframe.d.ts +8 -0
  27. package/text/markdown-text/components/iframe/index.d.ts +1 -0
  28. package/text/markdown-text/components/index.d.ts +6 -0
  29. package/text/markdown-text/components/link/index.d.ts +1 -0
  30. package/text/markdown-text/components/link/link.d.ts +8 -0
  31. package/text/markdown-text/index.d.ts +1 -0
  32. package/text/markdown-text/markdown-text.d.ts +10 -0
package/index.js CHANGED
@@ -1,37 +1,37 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Z=require("react"),A=require("react/jsx-runtime"),vh=require("react-dom");function AR(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 Ae=AR(Z);var be=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Uo(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 xE={exports:{}};/*!
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Q=require("react"),A=require("react/jsx-runtime"),Th=require("react-dom");function DR(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 Be=DR(Q);var be=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function mi(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 DE={exports:{}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],a=0;a<arguments.length;a++){var o=arguments[a];if(o){var s=typeof o;if(s==="string"||s==="number")n.push(o);else if(Array.isArray(o)){if(o.length){var i=r.apply(null,o);i&&n.push(i)}}else if(s==="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})()})(xE);var IR=xE.exports;const _e=lr(IR),NR=({element:e="span",showOnFocus:t=!0,children:r,...n})=>Z.createElement(e,{...n,className:_e("hidden",{"show-on-focus":t})},r),Pt=Z.memo(NR),MR=({element:e="span",children:t=null,...r})=>Z.createElement(e,{...r,"aria-hidden":!0},t),gh=Z.memo(MR),Zi=(e,t)=>{const r=Z.useRef(!1);Z.useEffect(()=>{r.current?e():r.current=!0},t)};/*!
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 s=typeof o;if(s==="string"||s==="number")n.push(o);else if(Array.isArray(o)){if(o.length){var i=r.apply(null,o);i&&n.push(i)}}else if(s==="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})()})(DE);var qR=DE.exports;const Te=wr(qR),FR=({element:e="span",showOnFocus:t=!0,children:r,...n})=>Q.createElement(e,{...n,className:Te("hidden",{"show-on-focus":t})},r),Dt=Q.memo(FR),jR=({element:e="span",children:t=null,...r})=>Q.createElement(e,{...r,"aria-hidden":!0},t),Sh=Q.memo(jR),ys=(e,t)=>{const r=Q.useRef(!1);Q.useEffect(()=>{r.current?e():r.current=!0},t)};/*!
6
6
  * cookie
7
7
  * Copyright(c) 2012-2014 Roman Shtylman
8
8
  * Copyright(c) 2015 Douglas Christopher Wilson
9
9
  * MIT Licensed
10
- */var PE=kR,wm=LR,$R=Object.prototype.toString,ci=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function kR(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var r={},n=t||{},a=n.decode||BR,o=0;o<e.length;){var s=e.indexOf("=",o);if(s===-1)break;var i=e.indexOf(";",o);if(i===-1)i=e.length;else if(i<s){o=e.lastIndexOf(";",s-1)+1;continue}var l=e.slice(o,s).trim();if(r[l]===void 0){var u=e.slice(s+1,i).trim();u.charCodeAt(0)===34&&(u=u.slice(1,-1)),r[l]=FR(u,a)}o=i+1}return r}function LR(e,t,r){var n=r||{},a=n.encode||qR;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!ci.test(e))throw new TypeError("argument name is invalid");var o=a(t);if(o&&!ci.test(o))throw new TypeError("argument val is invalid");var s=e+"="+o;if(n.maxAge!=null){var i=n.maxAge-0;if(isNaN(i)||!isFinite(i))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(i)}if(n.domain){if(!ci.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!ci.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){var l=n.expires;if(!DR(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+l.toUTCString()}if(n.httpOnly&&(s+="; HttpOnly"),n.secure&&(s+="; Secure"),n.priority){var u=typeof n.priority=="string"?n.priority.toLowerCase():n.priority;switch(u){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; 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:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function BR(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function qR(e){return encodeURIComponent(e)}function DR(e){return $R.call(e)==="[object Date]"||e instanceof Date}function FR(e,t){try{return t(e)}catch{return e}}function jR(){return typeof document=="object"&&typeof document.cookie=="string"}function UR(e){return typeof e=="string"?PE(e):typeof e=="object"&&e!==null?e:{}}function Uc(e,t={}){const r=HR(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function HR(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class AE{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=PE(document.cookie),this._checkChanges(a)};const n=typeof document>"u"?"":document.cookie;this.cookies=UR(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=jR()}_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:Uc(t[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),Uc(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=Uc(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=wm(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=wm(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 IE=Ae.createContext(new AE),{Provider:GR,Consumer:$5}=IE,WR=IE;class VR extends Ae.Component{constructor(t){super(t),t.cookies?this.cookies=t.cookies:this.cookies=new AE(void 0,t.defaultSetOptions)}render(){return Ae.createElement(GR,{value:this.cookies},this.props.children)}}var ap={exports:{}},Ne={};/** @license React v16.13.1
10
+ */var qE=HR,Am=GR,UR=Object.prototype.toString,xi=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function HR(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var r={},n=t||{},a=n.decode||WR,o=0;o<e.length;){var s=e.indexOf("=",o);if(s===-1)break;var i=e.indexOf(";",o);if(i===-1)i=e.length;else if(i<s){o=e.lastIndexOf(";",s-1)+1;continue}var l=e.slice(o,s).trim();if(r[l]===void 0){var u=e.slice(s+1,i).trim();u.charCodeAt(0)===34&&(u=u.slice(1,-1)),r[l]=YR(u,a)}o=i+1}return r}function GR(e,t,r){var n=r||{},a=n.encode||VR;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!xi.test(e))throw new TypeError("argument name is invalid");var o=a(t);if(o&&!xi.test(o))throw new TypeError("argument val is invalid");var s=e+"="+o;if(n.maxAge!=null){var i=n.maxAge-0;if(isNaN(i)||!isFinite(i))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(i)}if(n.domain){if(!xi.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!xi.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){var l=n.expires;if(!zR(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+l.toUTCString()}if(n.httpOnly&&(s+="; HttpOnly"),n.secure&&(s+="; Secure"),n.priority){var u=typeof n.priority=="string"?n.priority.toLowerCase():n.priority;switch(u){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; 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:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function WR(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function VR(e){return encodeURIComponent(e)}function zR(e){return UR.call(e)==="[object Date]"||e instanceof Date}function YR(e,t){try{return t(e)}catch{return e}}function KR(){return typeof document=="object"&&typeof document.cookie=="string"}function XR(e){return typeof e=="string"?qE(e):typeof e=="object"&&e!==null?e:{}}function Yc(e,t={}){const r=QR(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function QR(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class FE{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=qE(document.cookie),this._checkChanges(a)};const n=typeof document>"u"?"":document.cookie;this.cookies=XR(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=KR()}_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:Yc(t[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),Yc(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=Yc(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=Am(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=Am(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 jE=Be.createContext(new FE),{Provider:JR,Consumer:t5}=jE,ZR=jE;class eC extends Be.Component{constructor(t){super(t),t.cookies?this.cookies=t.cookies:this.cookies=new FE(void 0,t.defaultSetOptions)}render(){return Be.createElement(JR,{value:this.cookies},this.props.children)}}var cp={exports:{}},De={};/** @license React v16.13.1
11
11
  * react-is.production.min.js
12
12
  *
13
13
  * Copyright (c) Facebook, Inc. and its affiliates.
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Tm;function zR(){if(Tm)return Ne;Tm=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,s=e?Symbol.for("react.provider"):60109,i=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,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function w(T){if(typeof T=="object"&&T!==null){var C=T.$$typeof;switch(C){case t:switch(T=T.type,T){case l:case u:case n:case o:case a:case d:return T;default:switch(T=T&&T.$$typeof,T){case i:case c:case h:case f:case s:return T;default:return C}}case r:return C}}}function S(T){return w(T)===u}return Ne.AsyncMode=l,Ne.ConcurrentMode=u,Ne.ContextConsumer=i,Ne.ContextProvider=s,Ne.Element=t,Ne.ForwardRef=c,Ne.Fragment=n,Ne.Lazy=h,Ne.Memo=f,Ne.Portal=r,Ne.Profiler=o,Ne.StrictMode=a,Ne.Suspense=d,Ne.isAsyncMode=function(T){return S(T)||w(T)===l},Ne.isConcurrentMode=S,Ne.isContextConsumer=function(T){return w(T)===i},Ne.isContextProvider=function(T){return w(T)===s},Ne.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===t},Ne.isForwardRef=function(T){return w(T)===c},Ne.isFragment=function(T){return w(T)===n},Ne.isLazy=function(T){return w(T)===h},Ne.isMemo=function(T){return w(T)===f},Ne.isPortal=function(T){return w(T)===r},Ne.isProfiler=function(T){return w(T)===o},Ne.isStrictMode=function(T){return w(T)===a},Ne.isSuspense=function(T){return w(T)===d},Ne.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===n||T===u||T===o||T===a||T===d||T===p||typeof T=="object"&&T!==null&&(T.$$typeof===h||T.$$typeof===f||T.$$typeof===s||T.$$typeof===i||T.$$typeof===c||T.$$typeof===_||T.$$typeof===b||T.$$typeof===v||T.$$typeof===m)},Ne.typeOf=w,Ne}var Me={};/** @license React v16.13.1
17
+ */var Im;function tC(){if(Im)return De;Im=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,s=e?Symbol.for("react.provider"):60109,i=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,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function T(S){if(typeof S=="object"&&S!==null){var O=S.$$typeof;switch(O){case t:switch(S=S.type,S){case l:case u:case n:case o:case a:case d:return S;default:switch(S=S&&S.$$typeof,S){case i:case c:case h:case f:case s:return S;default:return O}}case r:return O}}}function R(S){return T(S)===u}return De.AsyncMode=l,De.ConcurrentMode=u,De.ContextConsumer=i,De.ContextProvider=s,De.Element=t,De.ForwardRef=c,De.Fragment=n,De.Lazy=h,De.Memo=f,De.Portal=r,De.Profiler=o,De.StrictMode=a,De.Suspense=d,De.isAsyncMode=function(S){return R(S)||T(S)===l},De.isConcurrentMode=R,De.isContextConsumer=function(S){return T(S)===i},De.isContextProvider=function(S){return T(S)===s},De.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===t},De.isForwardRef=function(S){return T(S)===c},De.isFragment=function(S){return T(S)===n},De.isLazy=function(S){return T(S)===h},De.isMemo=function(S){return T(S)===f},De.isPortal=function(S){return T(S)===r},De.isProfiler=function(S){return T(S)===o},De.isStrictMode=function(S){return T(S)===a},De.isSuspense=function(S){return T(S)===d},De.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===n||S===u||S===o||S===a||S===d||S===p||typeof S=="object"&&S!==null&&(S.$$typeof===h||S.$$typeof===f||S.$$typeof===s||S.$$typeof===i||S.$$typeof===c||S.$$typeof===w||S.$$typeof===E||S.$$typeof===y||S.$$typeof===m)},De.typeOf=T,De}var qe={};/** @license React v16.13.1
18
18
  * react-is.development.js
19
19
  *
20
20
  * Copyright (c) Facebook, Inc. and its affiliates.
21
21
  *
22
22
  * This source code is licensed under the MIT license found in the
23
23
  * LICENSE file in the root directory of this source tree.
24
- */var Sm;function YR(){return Sm||(Sm=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,s=e?Symbol.for("react.provider"):60109,i=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,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function w(se){return typeof se=="string"||typeof se=="function"||se===n||se===u||se===o||se===a||se===d||se===p||typeof se=="object"&&se!==null&&(se.$$typeof===h||se.$$typeof===f||se.$$typeof===s||se.$$typeof===i||se.$$typeof===c||se.$$typeof===_||se.$$typeof===b||se.$$typeof===v||se.$$typeof===m)}function S(se){if(typeof se=="object"&&se!==null){var He=se.$$typeof;switch(He){case t:var Ie=se.type;switch(Ie){case l:case u:case n:case o:case a:case d:return Ie;default:var dt=Ie&&Ie.$$typeof;switch(dt){case i:case c:case h:case f:case s:return dt;default:return He}}case r:return He}}}var T=l,C=u,I=i,N=s,U=t,G=c,W=n,j=h,D=f,Q=r,J=o,$=a,V=d,ee=!1;function ve(se){return ee||(ee=!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.")),te(se)||S(se)===l}function te(se){return S(se)===u}function ne(se){return S(se)===i}function me(se){return S(se)===s}function ge(se){return typeof se=="object"&&se!==null&&se.$$typeof===t}function We(se){return S(se)===c}function ie(se){return S(se)===n}function le(se){return S(se)===h}function xe(se){return S(se)===f}function qe(se){return S(se)===r}function it(se){return S(se)===o}function ft(se){return S(se)===a}function ce(se){return S(se)===d}Me.AsyncMode=T,Me.ConcurrentMode=C,Me.ContextConsumer=I,Me.ContextProvider=N,Me.Element=U,Me.ForwardRef=G,Me.Fragment=W,Me.Lazy=j,Me.Memo=D,Me.Portal=Q,Me.Profiler=J,Me.StrictMode=$,Me.Suspense=V,Me.isAsyncMode=ve,Me.isConcurrentMode=te,Me.isContextConsumer=ne,Me.isContextProvider=me,Me.isElement=ge,Me.isForwardRef=We,Me.isFragment=ie,Me.isLazy=le,Me.isMemo=xe,Me.isPortal=qe,Me.isProfiler=it,Me.isStrictMode=ft,Me.isSuspense=ce,Me.isValidElementType=w,Me.typeOf=S}()),Me}process.env.NODE_ENV==="production"?ap.exports=zR():ap.exports=YR();var KR=ap.exports,NE=KR,XR={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},QR={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ME={};ME[NE.ForwardRef]=XR;ME[NE.Memo]=QR;function JR(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function $E(e){const t=Z.useContext(WR);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=Z.useState(()=>t.getAll());JR()&&Z.useLayoutEffect(()=>{function i(){const l=t.getAll({doNotUpdate:!0});ZR(e||null,l,r)&&n(l)}return t.addChangeListener(i),()=>{t.removeChangeListener(i)}},[t,r]);const a=Z.useMemo(()=>t.set.bind(t),[t]),o=Z.useMemo(()=>t.remove.bind(t),[t]),s=Z.useMemo(()=>t.update.bind(t),[t]);return[r,a,o,s]}function ZR(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}var kE={exports:{}},Hc={exports:{}},fi={},di={exports:{}},Gc,Rm;function LE(){return Rm||(Rm=1,Gc=function(t,r){return function(){for(var a=new Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];return t.apply(r,a)}}),Gc}var Wc,Cm;function ct(){if(Cm)return Wc;Cm=1;var e=LE(),t=Object.prototype.toString,r=function($){return function(V){var ee=t.call(V);return $[ee]||($[ee]=ee.slice(8,-1).toLowerCase())}}(Object.create(null));function n($){return $=$.toLowerCase(),function(ee){return r(ee)===$}}function a($){return Array.isArray($)}function o($){return typeof $>"u"}function s($){return $!==null&&!o($)&&$.constructor!==null&&!o($.constructor)&&typeof $.constructor.isBuffer=="function"&&$.constructor.isBuffer($)}var i=n("ArrayBuffer");function l($){var V;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?V=ArrayBuffer.isView($):V=$&&$.buffer&&i($.buffer),V}function u($){return typeof $=="string"}function c($){return typeof $=="number"}function d($){return $!==null&&typeof $=="object"}function p($){if(r($)!=="object")return!1;var V=Object.getPrototypeOf($);return V===null||V===Object.prototype}var f=n("Date"),h=n("File"),m=n("Blob"),_=n("FileList");function b($){return t.call($)==="[object Function]"}function v($){return d($)&&b($.pipe)}function w($){var V="[object FormData]";return $&&(typeof FormData=="function"&&$ instanceof FormData||t.call($)===V||b($.toString)&&$.toString()===V)}var S=n("URLSearchParams");function T($){return $.trim?$.trim():$.replace(/^\s+|\s+$/g,"")}function C(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function I($,V){if(!($===null||typeof $>"u"))if(typeof $!="object"&&($=[$]),a($))for(var ee=0,ve=$.length;ee<ve;ee++)V.call(null,$[ee],ee,$);else for(var te in $)Object.prototype.hasOwnProperty.call($,te)&&V.call(null,$[te],te,$)}function N(){var $={};function V(te,ne){p($[ne])&&p(te)?$[ne]=N($[ne],te):p(te)?$[ne]=N({},te):a(te)?$[ne]=te.slice():$[ne]=te}for(var ee=0,ve=arguments.length;ee<ve;ee++)I(arguments[ee],V);return $}function U($,V,ee){return I(V,function(te,ne){ee&&typeof te=="function"?$[ne]=e(te,ee):$[ne]=te}),$}function G($){return $.charCodeAt(0)===65279&&($=$.slice(1)),$}function W($,V,ee,ve){$.prototype=Object.create(V.prototype,ve),$.prototype.constructor=$,ee&&Object.assign($.prototype,ee)}function j($,V,ee){var ve,te,ne,me={};V=V||{};do{for(ve=Object.getOwnPropertyNames($),te=ve.length;te-- >0;)ne=ve[te],me[ne]||(V[ne]=$[ne],me[ne]=!0);$=Object.getPrototypeOf($)}while($&&(!ee||ee($,V))&&$!==Object.prototype);return V}function D($,V,ee){$=String($),(ee===void 0||ee>$.length)&&(ee=$.length),ee-=V.length;var ve=$.indexOf(V,ee);return ve!==-1&&ve===ee}function Q($){if(!$)return null;var V=$.length;if(o(V))return null;for(var ee=new Array(V);V-- >0;)ee[V]=$[V];return ee}var J=function($){return function(V){return $&&V instanceof $}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array));return Wc={isArray:a,isArrayBuffer:i,isBuffer:s,isFormData:w,isArrayBufferView:l,isString:u,isNumber:c,isObject:d,isPlainObject:p,isUndefined:o,isDate:f,isFile:h,isBlob:m,isFunction:b,isStream:v,isURLSearchParams:S,isStandardBrowserEnv:C,forEach:I,merge:N,extend:U,trim:T,stripBOM:G,inherits:W,toFlatObject:j,kindOf:r,kindOfTest:n,endsWith:D,toArray:Q,isTypedArray:J,isFileList:_},Wc}var Vc,Om;function BE(){if(Om)return Vc;Om=1;var e=ct();function t(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}return Vc=function(n,a,o){if(!a)return n;var s;if(o)s=o(a);else if(e.isURLSearchParams(a))s=a.toString();else{var i=[];e.forEach(a,function(c,d){c===null||typeof c>"u"||(e.isArray(c)?d=d+"[]":c=[c],e.forEach(c,function(f){e.isDate(f)?f=f.toISOString():e.isObject(f)&&(f=JSON.stringify(f)),i.push(t(d)+"="+t(f))}))}),s=i.join("&")}if(s){var l=n.indexOf("#");l!==-1&&(n=n.slice(0,l)),n+=(n.indexOf("?")===-1?"?":"&")+s}return n},Vc}var zc,xm;function eC(){if(xm)return zc;xm=1;var e=ct();function t(){this.handlers=[]}return t.prototype.use=function(n,a,o){return this.handlers.push({fulfilled:n,rejected:a,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1},t.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},t.prototype.forEach=function(n){e.forEach(this.handlers,function(o){o!==null&&n(o)})},zc=t,zc}var Yc,Pm;function tC(){if(Pm)return Yc;Pm=1;var e=ct();return Yc=function(r,n){e.forEach(r,function(o,s){s!==n&&s.toUpperCase()===n.toUpperCase()&&(r[n]=o,delete r[s])})},Yc}var Kc,Am;function wa(){if(Am)return Kc;Am=1;var e=ct();function t(a,o,s,i,l){Error.call(this),this.message=a,this.name="AxiosError",o&&(this.code=o),s&&(this.config=s),i&&(this.request=i),l&&(this.response=l)}e.inherits(t,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=t.prototype,n={};return["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(a){n[a]={value:a}}),Object.defineProperties(t,n),Object.defineProperty(r,"isAxiosError",{value:!0}),t.from=function(a,o,s,i,l,u){var c=Object.create(r);return e.toFlatObject(a,c,function(p){return p!==Error.prototype}),t.call(c,a.message,o,s,i,l),c.name=a.name,u&&Object.assign(c,u),c},Kc=t,Kc}var Xc,Im;function qE(){return Im||(Im=1,Xc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}),Xc}var Qc,Nm;function DE(){if(Nm)return Qc;Nm=1;var e=ct();function t(r,n){n=n||new FormData;var a=[];function o(i){return i===null?"":e.isDate(i)?i.toISOString():e.isArrayBuffer(i)||e.isTypedArray(i)?typeof Blob=="function"?new Blob([i]):Buffer.from(i):i}function s(i,l){if(e.isPlainObject(i)||e.isArray(i)){if(a.indexOf(i)!==-1)throw Error("Circular reference detected in "+l);a.push(i),e.forEach(i,function(c,d){if(!e.isUndefined(c)){var p=l?l+"."+d:d,f;if(c&&!l&&typeof c=="object"){if(e.endsWith(d,"{}"))c=JSON.stringify(c);else if(e.endsWith(d,"[]")&&(f=e.toArray(c))){f.forEach(function(h){!e.isUndefined(h)&&n.append(p,o(h))});return}}s(c,p)}}),a.pop()}else n.append(l,o(i))}return s(r),n}return Qc=t,Qc}var Jc,Mm;function rC(){if(Mm)return Jc;Mm=1;var e=wa();return Jc=function(r,n,a){var o=a.config.validateStatus;!a.status||!o||o(a.status)?r(a):n(new e("Request failed with status code "+a.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))},Jc}var Zc,$m;function nC(){if($m)return Zc;$m=1;var e=ct();return Zc=e.isStandardBrowserEnv()?function(){return{write:function(n,a,o,s,i,l){var u=[];u.push(n+"="+encodeURIComponent(a)),e.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),e.isString(s)&&u.push("path="+s),e.isString(i)&&u.push("domain="+i),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){var a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Zc}var ef,km;function aC(){return km||(km=1,ef=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}),ef}var tf,Lm;function oC(){return Lm||(Lm=1,tf=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}),tf}var rf,Bm;function FE(){if(Bm)return rf;Bm=1;var e=aC(),t=oC();return rf=function(n,a){return n&&!e(a)?t(n,a):a},rf}var nf,qm;function iC(){if(qm)return nf;qm=1;var e=ct(),t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return nf=function(n){var a={},o,s,i;return n&&e.forEach(n.split(`
25
- `),function(u){if(i=u.indexOf(":"),o=e.trim(u.substr(0,i)).toLowerCase(),s=e.trim(u.substr(i+1)),o){if(a[o]&&t.indexOf(o)>=0)return;o==="set-cookie"?a[o]=(a[o]?a[o]:[]).concat([s]):a[o]=a[o]?a[o]+", "+s:s}}),a},nf}var af,Dm;function sC(){if(Dm)return af;Dm=1;var e=ct();return af=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),a;function o(s){var i=s;return r&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=o(window.location.href),function(i){var l=e.isString(i)?o(i):i;return l.protocol===a.protocol&&l.host===a.host}}():function(){return function(){return!0}}(),af}var of,Fm;function xs(){if(Fm)return of;Fm=1;var e=wa(),t=ct();function r(n){e.call(this,n??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(r,e,{__CANCEL__:!0}),of=r,of}var sf,jm;function lC(){return jm||(jm=1,sf=function(t){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}),sf}var lf,Um;function Hm(){if(Um)return lf;Um=1;var e=ct(),t=rC(),r=nC(),n=BE(),a=FE(),o=iC(),s=sC(),i=qE(),l=wa(),u=xs(),c=lC();return lf=function(p){return new Promise(function(h,m){var _=p.data,b=p.headers,v=p.responseType,w;function S(){p.cancelToken&&p.cancelToken.unsubscribe(w),p.signal&&p.signal.removeEventListener("abort",w)}e.isFormData(_)&&e.isStandardBrowserEnv()&&delete b["Content-Type"];var T=new XMLHttpRequest;if(p.auth){var C=p.auth.username||"",I=p.auth.password?unescape(encodeURIComponent(p.auth.password)):"";b.Authorization="Basic "+btoa(C+":"+I)}var N=a(p.baseURL,p.url);T.open(p.method.toUpperCase(),n(N,p.params,p.paramsSerializer),!0),T.timeout=p.timeout;function U(){if(T){var j="getAllResponseHeaders"in T?o(T.getAllResponseHeaders()):null,D=!v||v==="text"||v==="json"?T.responseText:T.response,Q={data:D,status:T.status,statusText:T.statusText,headers:j,config:p,request:T};t(function($){h($),S()},function($){m($),S()},Q),T=null}}if("onloadend"in T?T.onloadend=U:T.onreadystatechange=function(){!T||T.readyState!==4||T.status===0&&!(T.responseURL&&T.responseURL.indexOf("file:")===0)||setTimeout(U)},T.onabort=function(){T&&(m(new l("Request aborted",l.ECONNABORTED,p,T)),T=null)},T.onerror=function(){m(new l("Network Error",l.ERR_NETWORK,p,T,T)),T=null},T.ontimeout=function(){var D=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded",Q=p.transitional||i;p.timeoutErrorMessage&&(D=p.timeoutErrorMessage),m(new l(D,Q.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,p,T)),T=null},e.isStandardBrowserEnv()){var G=(p.withCredentials||s(N))&&p.xsrfCookieName?r.read(p.xsrfCookieName):void 0;G&&(b[p.xsrfHeaderName]=G)}"setRequestHeader"in T&&e.forEach(b,function(D,Q){typeof _>"u"&&Q.toLowerCase()==="content-type"?delete b[Q]:T.setRequestHeader(Q,D)}),e.isUndefined(p.withCredentials)||(T.withCredentials=!!p.withCredentials),v&&v!=="json"&&(T.responseType=p.responseType),typeof p.onDownloadProgress=="function"&&T.addEventListener("progress",p.onDownloadProgress),typeof p.onUploadProgress=="function"&&T.upload&&T.upload.addEventListener("progress",p.onUploadProgress),(p.cancelToken||p.signal)&&(w=function(j){T&&(m(!j||j&&j.type?new u:j),T.abort(),T=null)},p.cancelToken&&p.cancelToken.subscribe(w),p.signal&&(p.signal.aborted?w():p.signal.addEventListener("abort",w))),_||(_=null);var W=c(N);if(W&&["http","https","file"].indexOf(W)===-1){m(new l("Unsupported protocol "+W+":",l.ERR_BAD_REQUEST,p));return}T.send(_)})},lf}var uf,Gm;function uC(){return Gm||(Gm=1,uf=null),uf}var cf,Wm;function bh(){if(Wm)return cf;Wm=1;var e=ct(),t=tC(),r=wa(),n=qE(),a=DE(),o={"Content-Type":"application/x-www-form-urlencoded"};function s(c,d){!e.isUndefined(c)&&e.isUndefined(c["Content-Type"])&&(c["Content-Type"]=d)}function i(){var c;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(c=Hm()),c}function l(c,d,p){if(e.isString(c))try{return(d||JSON.parse)(c),e.trim(c)}catch(f){if(f.name!=="SyntaxError")throw f}return(p||JSON.stringify)(c)}var u={transitional:n,adapter:i(),transformRequest:[function(d,p){if(t(p,"Accept"),t(p,"Content-Type"),e.isFormData(d)||e.isArrayBuffer(d)||e.isBuffer(d)||e.isStream(d)||e.isFile(d)||e.isBlob(d))return d;if(e.isArrayBufferView(d))return d.buffer;if(e.isURLSearchParams(d))return s(p,"application/x-www-form-urlencoded;charset=utf-8"),d.toString();var f=e.isObject(d),h=p&&p["Content-Type"],m;if((m=e.isFileList(d))||f&&h==="multipart/form-data"){var _=this.env&&this.env.FormData;return a(m?{"files[]":d}:d,_&&new _)}else if(f||h==="application/json")return s(p,"application/json"),l(d);return d}],transformResponse:[function(d){var p=this.transitional||u.transitional,f=p&&p.silentJSONParsing,h=p&&p.forcedJSONParsing,m=!f&&this.responseType==="json";if(m||h&&e.isString(d)&&d.length)try{return JSON.parse(d)}catch(_){if(m)throw _.name==="SyntaxError"?r.from(_,r.ERR_BAD_RESPONSE,this,null,this.response):_}return d}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:uC()},validateStatus:function(d){return d>=200&&d<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return e.forEach(["delete","get","head"],function(d){u.headers[d]={}}),e.forEach(["post","put","patch"],function(d){u.headers[d]=e.merge(o)}),cf=u,cf}var ff,Vm;function cC(){if(Vm)return ff;Vm=1;var e=ct(),t=bh();return ff=function(n,a,o){var s=this||t;return e.forEach(o,function(l){n=l.call(s,n,a)}),n},ff}var df,zm;function jE(){return zm||(zm=1,df=function(t){return!!(t&&t.__CANCEL__)}),df}var pf,Ym;function fC(){if(Ym)return pf;Ym=1;var e=ct(),t=cC(),r=jE(),n=bh(),a=xs();function o(s){if(s.cancelToken&&s.cancelToken.throwIfRequested(),s.signal&&s.signal.aborted)throw new a}return pf=function(i){o(i),i.headers=i.headers||{},i.data=t.call(i,i.data,i.headers,i.transformRequest),i.headers=e.merge(i.headers.common||{},i.headers[i.method]||{},i.headers),e.forEach(["delete","get","head","post","put","patch","common"],function(c){delete i.headers[c]});var l=i.adapter||n.adapter;return l(i).then(function(c){return o(i),c.data=t.call(i,c.data,c.headers,i.transformResponse),c},function(c){return r(c)||(o(i),c&&c.response&&(c.response.data=t.call(i,c.response.data,c.response.headers,i.transformResponse))),Promise.reject(c)})},pf}var hf,Km;function UE(){if(Km)return hf;Km=1;var e=ct();return hf=function(r,n){n=n||{};var a={};function o(d,p){return e.isPlainObject(d)&&e.isPlainObject(p)?e.merge(d,p):e.isPlainObject(p)?e.merge({},p):e.isArray(p)?p.slice():p}function s(d){if(e.isUndefined(n[d])){if(!e.isUndefined(r[d]))return o(void 0,r[d])}else return o(r[d],n[d])}function i(d){if(!e.isUndefined(n[d]))return o(void 0,n[d])}function l(d){if(e.isUndefined(n[d])){if(!e.isUndefined(r[d]))return o(void 0,r[d])}else return o(void 0,n[d])}function u(d){if(d in n)return o(r[d],n[d]);if(d in r)return o(void 0,r[d])}var c={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:u};return e.forEach(Object.keys(r).concat(Object.keys(n)),function(p){var f=c[p]||s,h=f(p);e.isUndefined(h)&&f!==u||(a[p]=h)}),a},hf}var mf,Xm;function HE(){return Xm||(Xm=1,mf={version:"0.27.2"}),mf}var yf,Qm;function dC(){if(Qm)return yf;Qm=1;var e=HE().version,t=wa(),r={};["object","boolean","number","function","string","symbol"].forEach(function(o,s){r[o]=function(l){return typeof l===o||"a"+(s<1?"n ":" ")+o}});var n={};r.transitional=function(s,i,l){function u(c,d){return"[Axios v"+e+"] Transitional option '"+c+"'"+d+(l?". "+l:"")}return function(c,d,p){if(s===!1)throw new t(u(d," has been removed"+(i?" in "+i:"")),t.ERR_DEPRECATED);return i&&!n[d]&&(n[d]=!0,console.warn(u(d," has been deprecated since v"+i+" and will be removed in the near future"))),s?s(c,d,p):!0}};function a(o,s,i){if(typeof o!="object")throw new t("options must be an object",t.ERR_BAD_OPTION_VALUE);for(var l=Object.keys(o),u=l.length;u-- >0;){var c=l[u],d=s[c];if(d){var p=o[c],f=p===void 0||d(p,c,o);if(f!==!0)throw new t("option "+c+" must be "+f,t.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new t("Unknown option "+c,t.ERR_BAD_OPTION)}}return yf={assertOptions:a,validators:r},yf}var vf,Jm;function pC(){if(Jm)return vf;Jm=1;var e=ct(),t=BE(),r=eC(),n=fC(),a=UE(),o=FE(),s=dC(),i=s.validators;function l(u){this.defaults=u,this.interceptors={request:new r,response:new r}}return l.prototype.request=function(c,d){typeof c=="string"?(d=d||{},d.url=c):d=c||{},d=a(this.defaults,d),d.method?d.method=d.method.toLowerCase():this.defaults.method?d.method=this.defaults.method.toLowerCase():d.method="get";var p=d.transitional;p!==void 0&&s.assertOptions(p,{silentJSONParsing:i.transitional(i.boolean),forcedJSONParsing:i.transitional(i.boolean),clarifyTimeoutError:i.transitional(i.boolean)},!1);var f=[],h=!0;this.interceptors.request.forEach(function(C){typeof C.runWhen=="function"&&C.runWhen(d)===!1||(h=h&&C.synchronous,f.unshift(C.fulfilled,C.rejected))});var m=[];this.interceptors.response.forEach(function(C){m.push(C.fulfilled,C.rejected)});var _;if(!h){var b=[n,void 0];for(Array.prototype.unshift.apply(b,f),b=b.concat(m),_=Promise.resolve(d);b.length;)_=_.then(b.shift(),b.shift());return _}for(var v=d;f.length;){var w=f.shift(),S=f.shift();try{v=w(v)}catch(T){S(T);break}}try{_=n(v)}catch(T){return Promise.reject(T)}for(;m.length;)_=_.then(m.shift(),m.shift());return _},l.prototype.getUri=function(c){c=a(this.defaults,c);var d=o(c.baseURL,c.url);return t(d,c.params,c.paramsSerializer)},e.forEach(["delete","get","head","options"],function(c){l.prototype[c]=function(d,p){return this.request(a(p||{},{method:c,url:d,data:(p||{}).data}))}}),e.forEach(["post","put","patch"],function(c){function d(p){return function(h,m,_){return this.request(a(_||{},{method:c,headers:p?{"Content-Type":"multipart/form-data"}:{},url:h,data:m}))}}l.prototype[c]=d(),l.prototype[c+"Form"]=d(!0)}),vf=l,vf}var gf,Zm;function hC(){if(Zm)return gf;Zm=1;var e=xs();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(s){n=s});var a=this;this.promise.then(function(o){if(a._listeners){var s,i=a._listeners.length;for(s=0;s<i;s++)a._listeners[s](o);a._listeners=null}}),this.promise.then=function(o){var s,i=new Promise(function(l){a.subscribe(l),s=l}).then(o);return i.cancel=function(){a.unsubscribe(s)},i},r(function(s){a.reason||(a.reason=new e(s),n(a.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(this._listeners){var a=this._listeners.indexOf(n);a!==-1&&this._listeners.splice(a,1)}},t.source=function(){var n,a=new t(function(s){n=s});return{token:a,cancel:n}},gf=t,gf}var bf,ey;function mC(){return ey||(ey=1,bf=function(t){return function(n){return t.apply(null,n)}}),bf}var Ef,ty;function yC(){if(ty)return Ef;ty=1;var e=ct();return Ef=function(r){return e.isObject(r)&&r.isAxiosError===!0},Ef}var ry;function vC(){if(ry)return di.exports;ry=1;var e=ct(),t=LE(),r=pC(),n=UE(),a=bh();function o(i){var l=new r(i),u=t(r.prototype.request,l);return e.extend(u,r.prototype,l),e.extend(u,l),u.create=function(d){return o(n(i,d))},u}var s=o(a);return s.Axios=r,s.CanceledError=xs(),s.CancelToken=hC(),s.isCancel=jE(),s.VERSION=HE().version,s.toFormData=DE(),s.AxiosError=wa(),s.Cancel=s.CanceledError,s.all=function(l){return Promise.all(l)},s.spread=mC(),s.isAxiosError=yC(),di.exports=s,di.exports.default=s,di.exports}var _f,ny;function GE(){return ny||(ny=1,_f=vC()),_f}var gC=Function.prototype.toString,wf=Object.create,bC=Object.defineProperty,EC=Object.getOwnPropertyDescriptor,ay=Object.getOwnPropertyNames,Eh=Object.getOwnPropertySymbols,_C=Object.getPrototypeOf,WE=Object.prototype,wC=WE.hasOwnProperty,TC=WE.propertyIsEnumerable,VE=typeof Eh=="function",SC=typeof WeakMap=="function",RC=function(){if(SC)return function(){return new WeakMap};var e=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(r){return!!~this._keys.indexOf(r)},t.prototype.get=function(r){return this._values[this._keys.indexOf(r)]},t.prototype.set=function(r,n){this._keys.push(r),this._values.push(n)},t}();return function(){return new e}}(),zE=function(e,t){var r=e.__proto__||_C(e);if(!r)return wf(null);var n=r.constructor;if(n===t.Object)return r===t.Object.prototype?{}:wf(r);if(~gC.call(n).indexOf("[native code]"))try{return new n}catch{}return wf(r)},CC=function(e,t,r,n){var a=zE(e,t);n.set(e,a);for(var o in e)wC.call(e,o)&&(a[o]=r(e[o],n));if(VE)for(var s=Eh(e),i=0,l=s.length,u=void 0;i<l;++i)u=s[i],TC.call(e,u)&&(a[u]=r(e[u],n));return a},oy=function(e,t,r,n){var a=zE(e,t);n.set(e,a);for(var o=VE?ay(e).concat(Eh(e)):ay(e),s=0,i=o.length,l=void 0,u=void 0;s<i;++s)if(l=o[s],l!=="callee"&&l!=="caller")if(u=EC(e,l),u){!u.get&&!u.set&&(u.value=r(e[l],n));try{bC(a,l,u)}catch{a[l]=u.value}}else a[l]=r(e[l],n);return a},OC=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},xC=Array.isArray,PC=Object.getPrototypeOf,AC=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function Jr(e,t){var r=!!(t&&t.isStrict),n=t&&t.realm||AC,a=r?oy:CC,o=function(s,i){if(!s||typeof s!="object")return s;if(i.has(s))return i.get(s);var l=s.__proto__||PC(s),u=l&&l.constructor;if(!u||u===n.Object)return a(s,n,o,i);var c;if(xC(s)){if(r)return oy(s,n,o,i);c=new u,i.set(s,c);for(var d=0,p=s.length;d<p;++d)c[d]=o(s[d],i);return c}if(s instanceof n.Date)return new u(s.getTime());if(s instanceof n.RegExp)return c=new u(s.source,s.flags||OC(s)),c.lastIndex=s.lastIndex,c;if(n.Map&&s instanceof n.Map)return c=new u,i.set(s,c),s.forEach(function(f,h){c.set(h,o(f,i))}),c;if(n.Set&&s instanceof n.Set)return c=new u,i.set(s,c),s.forEach(function(f){c.add(o(f,i))}),c;if(n.Blob&&s instanceof n.Blob)return s.slice(0,s.size,s.type);if(n.Buffer&&n.Buffer.isBuffer(s))return c=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(s.length):new u(s.length),i.set(s,c),s.copy(c),c;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(s))return c=new u(s.buffer.slice(0)),i.set(s,c),c;if(s instanceof n.ArrayBuffer)return c=s.slice(0),i.set(s,c),c}return typeof s.then=="function"||s instanceof Error||n.WeakMap&&s instanceof n.WeakMap||n.WeakSet&&s instanceof n.WeakSet?s:a(s,n,o,i)};return o(e,RC())}Jr.default=Jr;Jr.strict=function(t,r){return Jr(t,{isStrict:!0,realm:r?r.realm:void 0})};var Ps=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 s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==a||s.enumerable!==!0)return!1}return!0},iy=typeof Symbol<"u"&&Symbol,IC=Ps,_h=function(){return typeof iy!="function"||typeof Symbol!="function"||typeof iy("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:IC()},sy={foo:{}},NC=Object,MC=function(){return{__proto__:sy}.foo===sy.foo&&!({__proto__:null}instanceof NC)},$C="Function.prototype.bind called on incompatible ",Tf=Array.prototype.slice,kC=Object.prototype.toString,LC="[object Function]",BC=function(t){var r=this;if(typeof r!="function"||kC.call(r)!==LC)throw new TypeError($C+r);for(var n=Tf.call(arguments,1),a,o=function(){if(this instanceof a){var c=r.apply(this,n.concat(Tf.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(Tf.call(arguments)))},s=Math.max(0,r.length-n.length),i=[],l=0;l<s;l++)i.push("$"+l);if(a=Function("binder","return function ("+i.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},qC=BC,wh=Function.prototype.bind||qC,DC=wh,YE=DC.call(Function.call,Object.prototype.hasOwnProperty),Se,ha=SyntaxError,KE=Function,da=TypeError,Sf=function(e){try{return KE('"use strict"; return ('+e+").constructor;")()}catch{}},Rn=Object.getOwnPropertyDescriptor;if(Rn)try{Rn({},"")}catch{Rn=null}var Rf=function(){throw new da},FC=Rn?function(){try{return arguments.callee,Rf}catch{try{return Rn(arguments,"callee").get}catch{return Rf}}}():Rf,ta=_h(),jC=MC(),ot=Object.getPrototypeOf||(jC?function(e){return e.__proto__}:null),la={},UC=typeof Uint8Array>"u"||!ot?Se:ot(Uint8Array),Cn={"%AggregateError%":typeof AggregateError>"u"?Se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Se:ArrayBuffer,"%ArrayIteratorPrototype%":ta&&ot?ot([][Symbol.iterator]()):Se,"%AsyncFromSyncIteratorPrototype%":Se,"%AsyncFunction%":la,"%AsyncGenerator%":la,"%AsyncGeneratorFunction%":la,"%AsyncIteratorPrototype%":la,"%Atomics%":typeof Atomics>"u"?Se:Atomics,"%BigInt%":typeof BigInt>"u"?Se:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Se:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Se:FinalizationRegistry,"%Function%":KE,"%GeneratorFunction%":la,"%Int8Array%":typeof Int8Array>"u"?Se:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Se:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ta&&ot?ot(ot([][Symbol.iterator]())):Se,"%JSON%":typeof JSON=="object"?JSON:Se,"%Map%":typeof Map>"u"?Se:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ta||!ot?Se:ot(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Se:Promise,"%Proxy%":typeof Proxy>"u"?Se:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Se:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ta||!ot?Se:ot(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ta&&ot?ot(""[Symbol.iterator]()):Se,"%Symbol%":ta?Symbol:Se,"%SyntaxError%":ha,"%ThrowTypeError%":FC,"%TypedArray%":UC,"%TypeError%":da,"%Uint8Array%":typeof Uint8Array>"u"?Se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Se:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Se:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Se:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Se:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Se:WeakSet};if(ot)try{null.error}catch(e){var HC=ot(ot(e));Cn["%Error.prototype%"]=HC}var GC=function e(t){var r;if(t==="%AsyncFunction%")r=Sf("async function () {}");else if(t==="%GeneratorFunction%")r=Sf("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Sf("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&ot&&(r=ot(a.prototype))}return Cn[t]=r,r},ly={"%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"]},Ho=wh,es=YE,WC=Ho.call(Function.call,Array.prototype.concat),VC=Ho.call(Function.apply,Array.prototype.splice),uy=Ho.call(Function.call,String.prototype.replace),ts=Ho.call(Function.call,String.prototype.slice),zC=Ho.call(Function.call,RegExp.prototype.exec),YC=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,KC=/\\(\\)?/g,XC=function(t){var r=ts(t,0,1),n=ts(t,-1);if(r==="%"&&n!=="%")throw new ha("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new ha("invalid intrinsic syntax, expected opening `%`");var a=[];return uy(t,YC,function(o,s,i,l){a[a.length]=i?uy(l,KC,"$1"):s||o}),a},QC=function(t,r){var n=t,a;if(es(ly,n)&&(a=ly[n],n="%"+a[0]+"%"),es(Cn,n)){var o=Cn[n];if(o===la&&(o=GC(n)),typeof o>"u"&&!r)throw new da("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new ha("intrinsic "+t+" does not exist!")},er=function(t,r){if(typeof t!="string"||t.length===0)throw new da("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new da('"allowMissing" argument must be a boolean');if(zC(/^%?[^%]*%?$/,t)===null)throw new ha("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=XC(t),a=n.length>0?n[0]:"",o=QC("%"+a+"%",r),s=o.name,i=o.value,l=!1,u=o.alias;u&&(a=u[0],VC(n,WC([0,1],u)));for(var c=1,d=!0;c<n.length;c+=1){var p=n[c],f=ts(p,0,1),h=ts(p,-1);if((f==='"'||f==="'"||f==="`"||h==='"'||h==="'"||h==="`")&&f!==h)throw new ha("property names with quotes must have matching quotes");if((p==="constructor"||!d)&&(l=!0),a+="."+p,s="%"+a+"%",es(Cn,s))i=Cn[s];else if(i!=null){if(!(p in i)){if(!r)throw new da("base intrinsic for "+t+" exists, but the property is not available.");return}if(Rn&&c+1>=n.length){var m=Rn(i,p);d=!!m,d&&"get"in m&&!("originalValue"in m.get)?i=m.get:i=i[p]}else d=es(i,p),i=i[p];d&&!l&&(Cn[s]=i)}}return i},XE={exports:{}};(function(e){var t=wh,r=er,n=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),o=r("%Reflect.apply%",!0)||t.call(a,n),s=r("%Object.getOwnPropertyDescriptor%",!0),i=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(i)try{i({},"a",{value:1})}catch{i=null}e.exports=function(d){var p=o(t,a,arguments);if(s&&i){var f=s(p,"length");f.configurable&&i(p,"length",{value:1+l(0,d.length-(arguments.length-1))})}return p};var u=function(){return o(t,n,arguments)};i?i(e.exports,"apply",{value:u}):e.exports.apply=u})(XE);var Ta=XE.exports,QE=er,JE=Ta,JC=JE(QE("String.prototype.indexOf")),Bt=function(t,r){var n=QE(t,!!r);return typeof n=="function"&&JC(t,".prototype.")>-1?JE(n):n};const ZC={},eO=Object.freeze(Object.defineProperty({__proto__:null,default:ZC},Symbol.toStringTag,{value:"Module"})),tO=Uo(eO);var Th=typeof Map=="function"&&Map.prototype,Cf=Object.getOwnPropertyDescriptor&&Th?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,rs=Th&&Cf&&typeof Cf.get=="function"?Cf.get:null,cy=Th&&Map.prototype.forEach,Sh=typeof Set=="function"&&Set.prototype,Of=Object.getOwnPropertyDescriptor&&Sh?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ns=Sh&&Of&&typeof Of.get=="function"?Of.get:null,fy=Sh&&Set.prototype.forEach,rO=typeof WeakMap=="function"&&WeakMap.prototype,So=rO?WeakMap.prototype.has:null,nO=typeof WeakSet=="function"&&WeakSet.prototype,Ro=nO?WeakSet.prototype.has:null,aO=typeof WeakRef=="function"&&WeakRef.prototype,dy=aO?WeakRef.prototype.deref:null,oO=Boolean.prototype.valueOf,iO=Object.prototype.toString,sO=Function.prototype.toString,lO=String.prototype.match,Rh=String.prototype.slice,Gr=String.prototype.replace,uO=String.prototype.toUpperCase,py=String.prototype.toLowerCase,ZE=RegExp.prototype.test,hy=Array.prototype.concat,or=Array.prototype.join,cO=Array.prototype.slice,my=Math.floor,op=typeof BigInt=="function"?BigInt.prototype.valueOf:null,xf=Object.getOwnPropertySymbols,ip=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ma=typeof Symbol=="function"&&typeof Symbol.iterator=="object",bt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ma||"symbol")?Symbol.toStringTag:null,e_=Object.prototype.propertyIsEnumerable,yy=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function vy(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||ZE.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-my(-e):my(e);if(n!==e){var a=String(n),o=Rh.call(t,a.length+1);return Gr.call(a,r,"$&_")+"."+Gr.call(Gr.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Gr.call(t,r,"$&_")}var sp=tO,gy=sp.custom,by=r_(gy)?gy:null,fO=function e(t,r,n,a){var o=r||{};if(Dr(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Dr(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 s=Dr(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Dr(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(Dr(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var i=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 a_(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return i?vy(t,l):l}if(typeof t=="bigint"){var u=String(t)+"n";return i?vy(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 lp(t)?"[Array]":"[Object]";var d=PO(o,n);if(typeof a>"u")a=[];else if(n_(a,t)>=0)return"[Circular]";function p(D,Q,J){if(Q&&(a=cO.call(a),a.push(Q)),J){var $={depth:o.depth};return Dr(o,"quoteStyle")&&($.quoteStyle=o.quoteStyle),e(D,$,n+1,a)}return e(D,o,n+1,a)}if(typeof t=="function"&&!Ey(t)){var f=EO(t),h=pi(t,p);return"[Function"+(f?": "+f:" (anonymous)")+"]"+(h.length>0?" { "+or.call(h,", ")+" }":"")}if(r_(t)){var m=ma?Gr.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):ip.call(t);return typeof t=="object"&&!ma?Ya(m):m}if(CO(t)){for(var _="<"+py.call(String(t.nodeName)),b=t.attributes||[],v=0;v<b.length;v++)_+=" "+b[v].name+"="+t_(dO(b[v].value),"double",o);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+py.call(String(t.nodeName))+">",_}if(lp(t)){if(t.length===0)return"[]";var w=pi(t,p);return d&&!xO(w)?"["+up(w,d)+"]":"[ "+or.call(w,", ")+" ]"}if(hO(t)){var S=pi(t,p);return!("cause"in Error.prototype)&&"cause"in t&&!e_.call(t,"cause")?"{ ["+String(t)+"] "+or.call(hy.call("[cause]: "+p(t.cause),S),", ")+" }":S.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+or.call(S,", ")+" }"}if(typeof t=="object"&&s){if(by&&typeof t[by]=="function"&&sp)return sp(t,{depth:c-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(_O(t)){var T=[];return cy&&cy.call(t,function(D,Q){T.push(p(Q,t,!0)+" => "+p(D,t))}),_y("Map",rs.call(t),T,d)}if(SO(t)){var C=[];return fy&&fy.call(t,function(D){C.push(p(D,t))}),_y("Set",ns.call(t),C,d)}if(wO(t))return Pf("WeakMap");if(RO(t))return Pf("WeakSet");if(TO(t))return Pf("WeakRef");if(yO(t))return Ya(p(Number(t)));if(gO(t))return Ya(p(op.call(t)));if(vO(t))return Ya(oO.call(t));if(mO(t))return Ya(p(String(t)));if(!pO(t)&&!Ey(t)){var I=pi(t,p),N=yy?yy(t)===Object.prototype:t instanceof Object||t.constructor===Object,U=t instanceof Object?"":"null prototype",G=!N&&bt&&Object(t)===t&&bt in t?Rh.call(en(t),8,-1):U?"Object":"",W=N||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",j=W+(G||U?"["+or.call(hy.call([],G||[],U||[]),": ")+"] ":"");return I.length===0?j+"{}":d?j+"{"+up(I,d)+"}":j+"{ "+or.call(I,", ")+" }"}return String(t)};function t_(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function dO(e){return Gr.call(String(e),/"/g,"&quot;")}function lp(e){return en(e)==="[object Array]"&&(!bt||!(typeof e=="object"&&bt in e))}function pO(e){return en(e)==="[object Date]"&&(!bt||!(typeof e=="object"&&bt in e))}function Ey(e){return en(e)==="[object RegExp]"&&(!bt||!(typeof e=="object"&&bt in e))}function hO(e){return en(e)==="[object Error]"&&(!bt||!(typeof e=="object"&&bt in e))}function mO(e){return en(e)==="[object String]"&&(!bt||!(typeof e=="object"&&bt in e))}function yO(e){return en(e)==="[object Number]"&&(!bt||!(typeof e=="object"&&bt in e))}function vO(e){return en(e)==="[object Boolean]"&&(!bt||!(typeof e=="object"&&bt in e))}function r_(e){if(ma)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!ip)return!1;try{return ip.call(e),!0}catch{}return!1}function gO(e){if(!e||typeof e!="object"||!op)return!1;try{return op.call(e),!0}catch{}return!1}var bO=Object.prototype.hasOwnProperty||function(e){return e in this};function Dr(e,t){return bO.call(e,t)}function en(e){return iO.call(e)}function EO(e){if(e.name)return e.name;var t=lO.call(sO.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function n_(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 _O(e){if(!rs||!e||typeof e!="object")return!1;try{rs.call(e);try{ns.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function wO(e){if(!So||!e||typeof e!="object")return!1;try{So.call(e,So);try{Ro.call(e,Ro)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function TO(e){if(!dy||!e||typeof e!="object")return!1;try{return dy.call(e),!0}catch{}return!1}function SO(e){if(!ns||!e||typeof e!="object")return!1;try{ns.call(e);try{rs.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function RO(e){if(!Ro||!e||typeof e!="object")return!1;try{Ro.call(e,Ro);try{So.call(e,So)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function CO(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function a_(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return a_(Rh.call(e,0,t.maxStringLength),t)+n}var a=Gr.call(Gr.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,OO);return t_(a,"single",t)}function OO(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":"")+uO.call(t.toString(16))}function Ya(e){return"Object("+e+")"}function Pf(e){return e+" { ? }"}function _y(e,t,r,n){var a=n?up(r,n):or.call(r,", ");return e+" ("+t+") {"+a+"}"}function xO(e){for(var t=0;t<e.length;t++)if(n_(e[t],`
26
- `)>=0)return!1;return!0}function PO(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=or.call(Array(e.indent+1)," ");else return null;return{base:r,prev:or.call(Array(t+1),r)}}function up(e,t){if(e.length===0)return"";var r=`
27
- `+t.prev+t.base;return r+or.call(e,","+r)+`
28
- `+t.prev}function pi(e,t){var r=lp(e),n=[];if(r){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=Dr(e,a)?t(e[a],e):""}var o=typeof xf=="function"?xf(e):[],s;if(ma){s={};for(var i=0;i<o.length;i++)s["$"+o[i]]=o[i]}for(var l in e)Dr(e,l)&&(r&&String(Number(l))===l&&l<e.length||ma&&s["$"+l]instanceof Symbol||(ZE.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if(typeof xf=="function")for(var u=0;u<o.length;u++)e_.call(e,o[u])&&n.push("["+t(o[u])+"]: "+t(e[o[u]],e));return n}var Ch=er,Sa=Bt,AO=fO,IO=Ch("%TypeError%"),hi=Ch("%WeakMap%",!0),mi=Ch("%Map%",!0),NO=Sa("WeakMap.prototype.get",!0),MO=Sa("WeakMap.prototype.set",!0),$O=Sa("WeakMap.prototype.has",!0),kO=Sa("Map.prototype.get",!0),LO=Sa("Map.prototype.set",!0),BO=Sa("Map.prototype.has",!0),Oh=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},qO=function(e,t){var r=Oh(e,t);return r&&r.value},DO=function(e,t,r){var n=Oh(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},FO=function(e,t){return!!Oh(e,t)},xh=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new IO("Side channel does not contain "+AO(o))},get:function(o){if(hi&&o&&(typeof o=="object"||typeof o=="function")){if(t)return NO(t,o)}else if(mi){if(r)return kO(r,o)}else if(n)return qO(n,o)},has:function(o){if(hi&&o&&(typeof o=="object"||typeof o=="function")){if(t)return $O(t,o)}else if(mi){if(r)return BO(r,o)}else if(n)return FO(n,o);return!1},set:function(o,s){hi&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new hi),MO(t,o,s)):mi?(r||(r=new mi),LO(r,o,s)):(n||(n={key:{},next:null}),DO(n,o,s))}};return a},jO=String.prototype.replace,UO=/%20/g,Af={RFC1738:"RFC1738",RFC3986:"RFC3986"},Ph={default:Af.RFC3986,formatters:{RFC1738:function(e){return jO.call(e,UO,"+")},RFC3986:function(e){return String(e)}},RFC1738:Af.RFC1738,RFC3986:Af.RFC3986},HO=Ph,If=Object.prototype.hasOwnProperty,wn=Array.isArray,rr=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),GO=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(wn(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]<"u"&&a.push(n[o]);r.obj[r.prop]=a}}},o_=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},a=0;a<t.length;++a)typeof t[a]<"u"&&(n[a]=t[a]);return n},WO=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if(wn(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!If.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var a=t;return wn(t)&&!wn(r)&&(a=o_(t,n)),wn(t)&&wn(r)?(r.forEach(function(o,s){if(If.call(t,s)){var i=t[s];i&&typeof i=="object"&&o&&typeof o=="object"?t[s]=e(i,o,n):t.push(o)}else t[s]=o}),t):Object.keys(r).reduce(function(o,s){var i=r[s];return If.call(o,s)?o[s]=e(o[s],i,n):o[s]=i,o},a)},VO=function(t,r){return Object.keys(r).reduce(function(n,a){return n[a]=r[a],n},t)},zO=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},YO=function(t,r,n,a,o){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(c){return"%26%23"+parseInt(c.slice(2),16)+"%3B"});for(var i="",l=0;l<s.length;++l){var u=s.charCodeAt(l);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===HO.RFC1738&&(u===40||u===41)){i+=s.charAt(l);continue}if(u<128){i=i+rr[u];continue}if(u<2048){i=i+(rr[192|u>>6]+rr[128|u&63]);continue}if(u<55296||u>=57344){i=i+(rr[224|u>>12]+rr[128|u>>6&63]+rr[128|u&63]);continue}l+=1,u=65536+((u&1023)<<10|s.charCodeAt(l)&1023),i+=rr[240|u>>18]+rr[128|u>>12&63]+rr[128|u>>6&63]+rr[128|u&63]}return i},KO=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],a=0;a<r.length;++a)for(var o=r[a],s=o.obj[o.prop],i=Object.keys(s),l=0;l<i.length;++l){var u=i[l],c=s[u];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(r.push({obj:s,prop:u}),n.push(c))}return GO(r),t},XO=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},QO=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},JO=function(t,r){return[].concat(t,r)},ZO=function(t,r){if(wn(t)){for(var n=[],a=0;a<t.length;a+=1)n.push(r(t[a]));return n}return r(t)},i_={arrayToObject:o_,assign:VO,combine:JO,compact:KO,decode:zO,encode:YO,isBuffer:QO,isRegExp:XO,maybeMap:ZO,merge:WO},s_=xh,ji=i_,Co=Ph,ex=Object.prototype.hasOwnProperty,wy={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Tr=Array.isArray,tx=Array.prototype.push,l_=function(e,t){tx.apply(e,Tr(t)?t:[t])},rx=Date.prototype.toISOString,Ty=Co.default,vt={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ji.encode,encodeValuesOnly:!1,format:Ty,formatter:Co.formatters[Ty],indices:!1,serializeDate:function(t){return rx.call(t)},skipNulls:!1,strictNullHandling:!1},nx=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Nf={},ax=function e(t,r,n,a,o,s,i,l,u,c,d,p,f,h,m,_){for(var b=t,v=_,w=0,S=!1;(v=v.get(Nf))!==void 0&&!S;){var T=v.get(t);if(w+=1,typeof T<"u"){if(T===w)throw new RangeError("Cyclic object value");S=!0}typeof v.get(Nf)>"u"&&(w=0)}if(typeof l=="function"?b=l(r,b):b instanceof Date?b=d(b):n==="comma"&&Tr(b)&&(b=ji.maybeMap(b,function($){return $ instanceof Date?d($):$})),b===null){if(o)return i&&!h?i(r,vt.encoder,m,"key",p):r;b=""}if(nx(b)||ji.isBuffer(b)){if(i){var C=h?r:i(r,vt.encoder,m,"key",p);return[f(C)+"="+f(i(b,vt.encoder,m,"value",p))]}return[f(r)+"="+f(String(b))]}var I=[];if(typeof b>"u")return I;var N;if(n==="comma"&&Tr(b))h&&i&&(b=ji.maybeMap(b,i)),N=[{value:b.length>0?b.join(",")||null:void 0}];else if(Tr(l))N=l;else{var U=Object.keys(b);N=u?U.sort(u):U}for(var G=a&&Tr(b)&&b.length===1?r+"[]":r,W=0;W<N.length;++W){var j=N[W],D=typeof j=="object"&&typeof j.value<"u"?j.value:b[j];if(!(s&&D===null)){var Q=Tr(b)?typeof n=="function"?n(G,j):G:G+(c?"."+j:"["+j+"]");_.set(t,w);var J=s_();J.set(Nf,_),l_(I,e(D,Q,n,a,o,s,n==="comma"&&h&&Tr(b)?null:i,l,u,c,d,p,f,h,m,J))}}return I},ox=function(t){if(!t)return vt;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||vt.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Co.default;if(typeof t.format<"u"){if(!ex.call(Co.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var a=Co.formatters[n],o=vt.filter;return(typeof t.filter=="function"||Tr(t.filter))&&(o=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:vt.addQueryPrefix,allowDots:typeof t.allowDots>"u"?vt.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:vt.charsetSentinel,delimiter:typeof t.delimiter>"u"?vt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:vt.encode,encoder:typeof t.encoder=="function"?t.encoder:vt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:vt.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:vt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:vt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:vt.strictNullHandling}},ix=function(e,t){var r=e,n=ox(t),a,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):Tr(n.filter)&&(o=n.filter,a=o);var s=[];if(typeof r!="object"||r===null)return"";var i;t&&t.arrayFormat in wy?i=t.arrayFormat:t&&"indices"in t?i=t.indices?"indices":"repeat":i="indices";var l=wy[i];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=l==="comma"&&t&&t.commaRoundTrip;a||(a=Object.keys(r)),n.sort&&a.sort(n.sort);for(var c=s_(),d=0;d<a.length;++d){var p=a[d];n.skipNulls&&r[p]===null||l_(s,ax(r[p],p,l,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,c))}var f=s.join(n.delimiter),h=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),f.length>0?h+f:""},ya=i_,cp=Object.prototype.hasOwnProperty,sx=Array.isArray,at={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:ya.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},lx=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},u_=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},ux="utf8=%26%2310003%3B",cx="utf8=%E2%9C%93",fx=function(t,r){var n={__proto__:null},a=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,s=a.split(r.delimiter,o),i=-1,l,u=r.charset;if(r.charsetSentinel)for(l=0;l<s.length;++l)s[l].indexOf("utf8=")===0&&(s[l]===cx?u="utf-8":s[l]===ux&&(u="iso-8859-1"),i=l,l=s.length);for(l=0;l<s.length;++l)if(l!==i){var c=s[l],d=c.indexOf("]="),p=d===-1?c.indexOf("="):d+1,f,h;p===-1?(f=r.decoder(c,at.decoder,u,"key"),h=r.strictNullHandling?null:""):(f=r.decoder(c.slice(0,p),at.decoder,u,"key"),h=ya.maybeMap(u_(c.slice(p+1),r),function(m){return r.decoder(m,at.decoder,u,"value")})),h&&r.interpretNumericEntities&&u==="iso-8859-1"&&(h=lx(h)),c.indexOf("[]=")>-1&&(h=sx(h)?[h]:h),cp.call(n,f)?n[f]=ya.combine(n[f],h):n[f]=h}return n},dx=function(e,t,r,n){for(var a=n?t:u_(t,r),o=e.length-1;o>=0;--o){var s,i=e[o];if(i==="[]"&&r.parseArrays)s=[].concat(a);else{s=r.plainObjects?Object.create(null):{};var l=i.charAt(0)==="["&&i.charAt(i.length-1)==="]"?i.slice(1,-1):i,u=parseInt(l,10);!r.parseArrays&&l===""?s={0:a}:!isNaN(u)&&i!==l&&String(u)===l&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(s=[],s[u]=a):l!=="__proto__"&&(s[l]=a)}a=s}return a},px=function(t,r,n,a){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,l=n.depth>0&&s.exec(o),u=l?o.slice(0,l.index):o,c=[];if(u){if(!n.plainObjects&&cp.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var d=0;n.depth>0&&(l=i.exec(o))!==null&&d<n.depth;){if(d+=1,!n.plainObjects&&cp.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+o.slice(l.index)+"]"),dx(c,r,n,a)}},hx=function(t){if(!t)return at;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof t.charset>"u"?at.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?at.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:at.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:at.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:at.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:at.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:at.comma,decoder:typeof t.decoder=="function"?t.decoder:at.decoder,delimiter:typeof t.delimiter=="string"||ya.isRegExp(t.delimiter)?t.delimiter:at.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:at.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:at.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:at.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:at.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:at.strictNullHandling}},mx=function(e,t){var r=hx(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?fx(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(n),s=0;s<o.length;++s){var i=o[s],l=px(i,n[i],r,typeof e=="string");a=ya.merge(a,l,r)}return r.allowSparse===!0?a:ya.compact(a)},yx=ix,vx=mx,gx=Ph,bx={formats:gx,parse:vx,stringify:yx};const Ex=lr(bx);var _x="[object String]",wx=Object.prototype,Tx=wx.toString,Sx=Array.isArray;function Rx(e){return!!e&&typeof e=="object"}function Cx(e){return typeof e=="string"||!Sx(e)&&Rx(e)&&Tx.call(e)==_x}var Ox=Cx;const Sy=lr(Ox);var Ah={exports:{}};class c_ extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const xx=({limit:e,interval:t,strict:r})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const n=new Map;let a=0,o=0;function s(){const c=Date.now();return c-a>t?(o=1,a=c,0):(o<e?o++:(a+=t,o=1),a-c)}const i=[];function l(){const c=Date.now();if(i.length<e)return i.push(c),0;const d=i.shift()+t;return c>=d?(i.push(c),0):(i.push(d),d-c)}const u=r?l:s;return c=>{const d=function(...p){if(!d.isEnabled)return(async()=>c.apply(this,p))();let f;return new Promise((h,m)=>{f=setTimeout(()=>{h(c.apply(this,p)),n.delete(f)},u()),n.set(f,m)})};return d.abort=()=>{for(const p of n.keys())clearTimeout(p),n.get(p)(new c_);n.clear(),i.splice(0,i.length)},d.isEnabled=!0,d}};Ah.exports=xx;Ah.exports.AbortError=c_;var Px=Ah.exports;const Ax=lr(Px);var Ix="[object Object]";function Nx(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function Mx(e,t){return function(r){return e(t(r))}}var $x=Function.prototype,f_=Object.prototype,d_=$x.toString,kx=f_.hasOwnProperty,Lx=d_.call(Object),Bx=f_.toString,qx=Mx(Object.getPrototypeOf,Object);function Dx(e){return!!e&&typeof e=="object"}function Fx(e){if(!Dx(e)||Bx.call(e)!=Ix||Nx(e))return!1;var t=qx(e);if(t===null)return!0;var r=kx.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&d_.call(r)==Lx}var jx=Fx;const yi=lr(jx);function Ux(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,s,i=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);l=!0);}catch(c){u=!0,a=c}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return i}}function Ry(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 ua(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ry(Object(r),!0).forEach(function(n){Hx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ry(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function fp(e){"@babel/helpers - typeof";return fp=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},fp(e)}function dp(){dp=function(a,o){return new r(a,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(a,o,s){var i=new RegExp(a,o);return t.set(i,s||t.get(a)),as(i,r.prototype)}function n(a,o){var s=t.get(o);return Object.keys(s).reduce(function(i,l){var u=s[l];if(typeof u=="number")i[l]=a[u];else{for(var c=0;a[u[c]]===void 0&&c+1<u.length;)c++;i[l]=a[u[c]]}return i},Object.create(null))}return Gx(r,RegExp),r.prototype.exec=function(a){var o=e.exec.call(this,a);if(o){o.groups=n(o,this);var s=o.indices;s&&(s.groups=n(s,this))}return o},r.prototype[Symbol.replace]=function(a,o){if(typeof o=="string"){var s=t.get(this);return e[Symbol.replace].call(this,a,o.replace(/\$<([^>]+)>/g,function(l,u){var c=s[u];return"$"+(Array.isArray(c)?c.join("$"):c)}))}if(typeof o=="function"){var i=this;return e[Symbol.replace].call(this,a,function(){var l=arguments;return typeof l[l.length-1]!="object"&&(l=[].slice.call(l)).push(n(l,i)),o.apply(this,l)})}return e[Symbol.replace].call(this,a,o)},dp.apply(this,arguments)}function Hx(e,t,r){return t=Xx(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&as(e,t)}function as(e,t){return as=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},as(e,t)}function Wx(e,t){return Vx(e)||Ux(e,t)||p_(e,t)||zx()}function Vx(e){if(Array.isArray(e))return e}function p_(e,t){if(e){if(typeof e=="string")return Cy(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 Cy(e,t)}}function Cy(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 zx(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
29
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yx(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=p_(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(l){throw l},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
30
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return o=l.done,l},e:function(l){s=!0,i=l},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function Kx(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Xx(e){var t=Kx(e,"string");return typeof t=="symbol"?t:String(t)}function Qx(){return typeof process<"u"&&!process.browser}function Jx(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function Zx(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function eP(){return window}function pp(){}var hp=dp(/(\d+)(%)/,{value:1});function Mf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,r=t;if(hp.test(e)){var n,a=(n=e.match(hp))===null||n===void 0?void 0:n.groups;if(a&&a.value){var o=parseInt(a.value)/100;r=Math.round(t*o)}}return Math.min(30,Math.max(1,r))}function Oy(e,t){return t("info","Throttle request to ".concat(e,"/s")),Ax({limit:e,interval:1e3,strict:!1})}var tP=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",r=e.defaults.logHandler,n=r===void 0?pp:r,a=Sy(t)?Mf(t):Mf("auto",t),o=Oy(a,n),s=!1,i=e.interceptors.request.use(function(u){return o(function(){return u})()},function(u){return Promise.reject(u)}),l=e.interceptors.response.use(function(u){if(!s&&Sy(t)&&(t==="auto"||hp.test(t))&&u.headers&&u.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(u.headers["x-contentful-ratelimit-second-limit"]),d=Mf(t,c);d!==a&&(i&&e.interceptors.request.eject(i),a=d,o=Oy(d,n),i=e.interceptors.request.use(function(p){return o(function(){return p})()},function(p){return Promise.reject(p)})),s=!0}return u},function(u){return Promise.reject(u)});return function(){e.interceptors.request.eject(i),e.interceptors.response.eject(l)}},rP=function(t){return new Promise(function(r){setTimeout(r,t)})},nP=function(t){return Math.pow(Math.SQRT2,t)};function aP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,r=e.defaults,n=r.responseLogger,a=n===void 0?pp:n,o=r.requestLogger,s=o===void 0?pp:o;e.interceptors.request.use(function(i){return s(i),i},function(i){return s(i),Promise.reject(i)}),e.interceptors.response.use(function(i){return a(i),i},function(i){var l=i.response,u=i.config;if(a(i),!u||!e.defaults.retryOnError)return Promise.reject(i);var c=u.attempts||1;if(c>t)return i.attempts=u.attempts,Promise.reject(i);var d=null,p=nP(c);return l?l.status>=500&&l.status<600?d="Server ".concat(l.status):l.status===429&&(d="Rate limit",l.headers&&i.response.headers["x-contentful-ratelimit-reset"]&&(p=l.headers["x-contentful-ratelimit-reset"])):d="Connection",d?(p=Math.floor(p*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(d," error occurred. Waiting for ").concat(p," ms before retrying...")),u.attempts=c+1,delete u.httpAgent,delete u.httpsAgent,rP(p).then(function(){return e(u)})):Promise.reject(i)})}function oP(e,t){e.interceptors.request.use(function(r){return t().then(function(n){return r.headers=ua(ua({},r.headers),{},{Authorization:"Bearer ".concat(n)}),r})})}var iP=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function h_(e,t){var r={insecure:!1,retryOnError:!0,logHandler:function(m,_){if(m==="error"&&_){var b=[_.name,_.message].filter(function(v){return v}).join(" - ");console.error("[error] ".concat(b)),console.error(_);return}console.log("[".concat(m,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},n=ua(ua({},r),t);if(!n.accessToken){var a=new TypeError("Expected parameter accessToken");throw n.logHandler("error",a),a}var o=n.insecure?"http":"https",s=n.space?"".concat(n.space,"/"):"",i=n.defaultHostname,l=n.insecure?80:443;if(n.host&&iP.test(n.host)){var u=n.host.split(":");if(u.length===2){var c=Wx(u,2);i=c[0],l=c[1]}else i=u[0]}n.basePath&&(n.basePath="/".concat(n.basePath.split("/").filter(Boolean).join("/")));var d=t.baseURL||"".concat(o,"://").concat(i,":").concat(l).concat(n.basePath,"/spaces/").concat(s);!n.headers.Authorization&&typeof n.accessToken!="function"&&(n.headers.Authorization="Bearer "+n.accessToken);var p={baseURL:d,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,paramsSerializer:Ex.stringify,proxy:n.proxy,timeout:n.timeout,adapter:n.adapter,maxContentLength:n.maxContentLength,maxBodyLength:n.maxBodyLength,logHandler:n.logHandler,responseLogger:n.responseLogger,requestLogger:n.requestLogger,retryOnError:n.retryOnError},f=e.create(p);return f.httpClientParams=t,f.cloneWithNewParams=function(h){return h_(e,ua(ua({},Jr(t)),h))},n.onBeforeRequest&&f.interceptors.request.use(n.onBeforeRequest),typeof n.accessToken=="function"&&oP(f,n.accessToken),n.throttle&&tP(f,n.throttle),aP(f,n.retryLimit),n.onError&&f.interceptors.response.use(function(h){return h},n.onError),f}function sP(e){var t=e.query,r={};return delete t.resolveLinks,r.params=Jr(t),r}function lP(e,t){if(!(t in e)){var r=new Error;throw r.name="PropertyMissing",r.message="Required property ".concat(t,` missing from:
24
+ */var Nm;function rC(){return Nm||(Nm=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,s=e?Symbol.for("react.provider"):60109,i=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,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function T(le){return typeof le=="string"||typeof le=="function"||le===n||le===u||le===o||le===a||le===d||le===p||typeof le=="object"&&le!==null&&(le.$$typeof===h||le.$$typeof===f||le.$$typeof===s||le.$$typeof===i||le.$$typeof===c||le.$$typeof===w||le.$$typeof===E||le.$$typeof===y||le.$$typeof===m)}function R(le){if(typeof le=="object"&&le!==null){var Ge=le.$$typeof;switch(Ge){case t:var $e=le.type;switch($e){case l:case u:case n:case o:case a:case d:return $e;default:var gt=$e&&$e.$$typeof;switch(gt){case i:case c:case h:case f:case s:return gt;default:return Ge}}case r:return Ge}}}var S=l,O=u,N=i,M=s,H=t,G=c,W=n,U=h,j=f,Z=r,ee=o,L=a,K=d,re=!1;function ge(le){return re||(re=!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.")),ne(le)||R(le)===l}function ne(le){return R(le)===u}function oe(le){return R(le)===i}function ve(le){return R(le)===s}function Ee(le){return typeof le=="object"&&le!==null&&le.$$typeof===t}function ze(le){return R(le)===c}function te(le){return R(le)===n}function ue(le){return R(le)===h}function Me(le){return R(le)===f}function xe(le){return R(le)===r}function ft(le){return R(le)===o}function pt(le){return R(le)===a}function fe(le){return R(le)===d}qe.AsyncMode=S,qe.ConcurrentMode=O,qe.ContextConsumer=N,qe.ContextProvider=M,qe.Element=H,qe.ForwardRef=G,qe.Fragment=W,qe.Lazy=U,qe.Memo=j,qe.Portal=Z,qe.Profiler=ee,qe.StrictMode=L,qe.Suspense=K,qe.isAsyncMode=ge,qe.isConcurrentMode=ne,qe.isContextConsumer=oe,qe.isContextProvider=ve,qe.isElement=Ee,qe.isForwardRef=ze,qe.isFragment=te,qe.isLazy=ue,qe.isMemo=Me,qe.isPortal=xe,qe.isProfiler=ft,qe.isStrictMode=pt,qe.isSuspense=fe,qe.isValidElementType=T,qe.typeOf=R}()),qe}process.env.NODE_ENV==="production"?cp.exports=tC():cp.exports=rC();var nC=cp.exports,UE=nC,aC={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},oC={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},HE={};HE[UE.ForwardRef]=aC;HE[UE.Memo]=oC;function iC(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function GE(e){const t=Q.useContext(ZR);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=Q.useState(()=>t.getAll());iC()&&Q.useLayoutEffect(()=>{function i(){const l=t.getAll({doNotUpdate:!0});sC(e||null,l,r)&&n(l)}return t.addChangeListener(i),()=>{t.removeChangeListener(i)}},[t,r]);const a=Q.useMemo(()=>t.set.bind(t),[t]),o=Q.useMemo(()=>t.remove.bind(t),[t]),s=Q.useMemo(()=>t.update.bind(t),[t]);return[r,a,o,s]}function sC(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}var WE={exports:{}},Kc={exports:{}},Oi={},Pi={exports:{}},Xc,Mm;function VE(){return Mm||(Mm=1,Xc=function(t,r){return function(){for(var a=new Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];return t.apply(r,a)}}),Xc}var Qc,$m;function Pt(){if($m)return Qc;$m=1;var e=VE(),t=Object.prototype.toString,r=function(L){return function(K){var re=t.call(K);return L[re]||(L[re]=re.slice(8,-1).toLowerCase())}}(Object.create(null));function n(L){return L=L.toLowerCase(),function(re){return r(re)===L}}function a(L){return Array.isArray(L)}function o(L){return typeof L>"u"}function s(L){return L!==null&&!o(L)&&L.constructor!==null&&!o(L.constructor)&&typeof L.constructor.isBuffer=="function"&&L.constructor.isBuffer(L)}var i=n("ArrayBuffer");function l(L){var K;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?K=ArrayBuffer.isView(L):K=L&&L.buffer&&i(L.buffer),K}function u(L){return typeof L=="string"}function c(L){return typeof L=="number"}function d(L){return L!==null&&typeof L=="object"}function p(L){if(r(L)!=="object")return!1;var K=Object.getPrototypeOf(L);return K===null||K===Object.prototype}var f=n("Date"),h=n("File"),m=n("Blob"),w=n("FileList");function E(L){return t.call(L)==="[object Function]"}function y(L){return d(L)&&E(L.pipe)}function T(L){var K="[object FormData]";return L&&(typeof FormData=="function"&&L instanceof FormData||t.call(L)===K||E(L.toString)&&L.toString()===K)}var R=n("URLSearchParams");function S(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}function O(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function N(L,K){if(!(L===null||typeof L>"u"))if(typeof L!="object"&&(L=[L]),a(L))for(var re=0,ge=L.length;re<ge;re++)K.call(null,L[re],re,L);else for(var ne in L)Object.prototype.hasOwnProperty.call(L,ne)&&K.call(null,L[ne],ne,L)}function M(){var L={};function K(ne,oe){p(L[oe])&&p(ne)?L[oe]=M(L[oe],ne):p(ne)?L[oe]=M({},ne):a(ne)?L[oe]=ne.slice():L[oe]=ne}for(var re=0,ge=arguments.length;re<ge;re++)N(arguments[re],K);return L}function H(L,K,re){return N(K,function(ne,oe){re&&typeof ne=="function"?L[oe]=e(ne,re):L[oe]=ne}),L}function G(L){return L.charCodeAt(0)===65279&&(L=L.slice(1)),L}function W(L,K,re,ge){L.prototype=Object.create(K.prototype,ge),L.prototype.constructor=L,re&&Object.assign(L.prototype,re)}function U(L,K,re){var ge,ne,oe,ve={};K=K||{};do{for(ge=Object.getOwnPropertyNames(L),ne=ge.length;ne-- >0;)oe=ge[ne],ve[oe]||(K[oe]=L[oe],ve[oe]=!0);L=Object.getPrototypeOf(L)}while(L&&(!re||re(L,K))&&L!==Object.prototype);return K}function j(L,K,re){L=String(L),(re===void 0||re>L.length)&&(re=L.length),re-=K.length;var ge=L.indexOf(K,re);return ge!==-1&&ge===re}function Z(L){if(!L)return null;var K=L.length;if(o(K))return null;for(var re=new Array(K);K-- >0;)re[K]=L[K];return re}var ee=function(L){return function(K){return L&&K instanceof L}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array));return Qc={isArray:a,isArrayBuffer:i,isBuffer:s,isFormData:T,isArrayBufferView:l,isString:u,isNumber:c,isObject:d,isPlainObject:p,isUndefined:o,isDate:f,isFile:h,isBlob:m,isFunction:E,isStream:y,isURLSearchParams:R,isStandardBrowserEnv:O,forEach:N,merge:M,extend:H,trim:S,stripBOM:G,inherits:W,toFlatObject:U,kindOf:r,kindOfTest:n,endsWith:j,toArray:Z,isTypedArray:ee,isFileList:w},Qc}var Jc,km;function zE(){if(km)return Jc;km=1;var e=Pt();function t(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}return Jc=function(n,a,o){if(!a)return n;var s;if(o)s=o(a);else if(e.isURLSearchParams(a))s=a.toString();else{var i=[];e.forEach(a,function(c,d){c===null||typeof c>"u"||(e.isArray(c)?d=d+"[]":c=[c],e.forEach(c,function(f){e.isDate(f)?f=f.toISOString():e.isObject(f)&&(f=JSON.stringify(f)),i.push(t(d)+"="+t(f))}))}),s=i.join("&")}if(s){var l=n.indexOf("#");l!==-1&&(n=n.slice(0,l)),n+=(n.indexOf("?")===-1?"?":"&")+s}return n},Jc}var Zc,Lm;function lC(){if(Lm)return Zc;Lm=1;var e=Pt();function t(){this.handlers=[]}return t.prototype.use=function(n,a,o){return this.handlers.push({fulfilled:n,rejected:a,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1},t.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},t.prototype.forEach=function(n){e.forEach(this.handlers,function(o){o!==null&&n(o)})},Zc=t,Zc}var ef,Bm;function uC(){if(Bm)return ef;Bm=1;var e=Pt();return ef=function(r,n){e.forEach(r,function(o,s){s!==n&&s.toUpperCase()===n.toUpperCase()&&(r[n]=o,delete r[s])})},ef}var tf,Dm;function io(){if(Dm)return tf;Dm=1;var e=Pt();function t(a,o,s,i,l){Error.call(this),this.message=a,this.name="AxiosError",o&&(this.code=o),s&&(this.config=s),i&&(this.request=i),l&&(this.response=l)}e.inherits(t,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=t.prototype,n={};return["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(a){n[a]={value:a}}),Object.defineProperties(t,n),Object.defineProperty(r,"isAxiosError",{value:!0}),t.from=function(a,o,s,i,l,u){var c=Object.create(r);return e.toFlatObject(a,c,function(p){return p!==Error.prototype}),t.call(c,a.message,o,s,i,l),c.name=a.name,u&&Object.assign(c,u),c},tf=t,tf}var rf,qm;function YE(){return qm||(qm=1,rf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}),rf}var nf,Fm;function KE(){if(Fm)return nf;Fm=1;var e=Pt();function t(r,n){n=n||new FormData;var a=[];function o(i){return i===null?"":e.isDate(i)?i.toISOString():e.isArrayBuffer(i)||e.isTypedArray(i)?typeof Blob=="function"?new Blob([i]):Buffer.from(i):i}function s(i,l){if(e.isPlainObject(i)||e.isArray(i)){if(a.indexOf(i)!==-1)throw Error("Circular reference detected in "+l);a.push(i),e.forEach(i,function(c,d){if(!e.isUndefined(c)){var p=l?l+"."+d:d,f;if(c&&!l&&typeof c=="object"){if(e.endsWith(d,"{}"))c=JSON.stringify(c);else if(e.endsWith(d,"[]")&&(f=e.toArray(c))){f.forEach(function(h){!e.isUndefined(h)&&n.append(p,o(h))});return}}s(c,p)}}),a.pop()}else n.append(l,o(i))}return s(r),n}return nf=t,nf}var af,jm;function cC(){if(jm)return af;jm=1;var e=io();return af=function(r,n,a){var o=a.config.validateStatus;!a.status||!o||o(a.status)?r(a):n(new e("Request failed with status code "+a.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))},af}var of,Um;function fC(){if(Um)return of;Um=1;var e=Pt();return of=e.isStandardBrowserEnv()?function(){return{write:function(n,a,o,s,i,l){var u=[];u.push(n+"="+encodeURIComponent(a)),e.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),e.isString(s)&&u.push("path="+s),e.isString(i)&&u.push("domain="+i),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){var a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),of}var sf,Hm;function dC(){return Hm||(Hm=1,sf=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}),sf}var lf,Gm;function pC(){return Gm||(Gm=1,lf=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}),lf}var uf,Wm;function XE(){if(Wm)return uf;Wm=1;var e=dC(),t=pC();return uf=function(n,a){return n&&!e(a)?t(n,a):a},uf}var cf,Vm;function hC(){if(Vm)return cf;Vm=1;var e=Pt(),t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return cf=function(n){var a={},o,s,i;return n&&e.forEach(n.split(`
25
+ `),function(u){if(i=u.indexOf(":"),o=e.trim(u.substr(0,i)).toLowerCase(),s=e.trim(u.substr(i+1)),o){if(a[o]&&t.indexOf(o)>=0)return;o==="set-cookie"?a[o]=(a[o]?a[o]:[]).concat([s]):a[o]=a[o]?a[o]+", "+s:s}}),a},cf}var ff,zm;function mC(){if(zm)return ff;zm=1;var e=Pt();return ff=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),a;function o(s){var i=s;return r&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=o(window.location.href),function(i){var l=e.isString(i)?o(i):i;return l.protocol===a.protocol&&l.host===a.host}}():function(){return function(){return!0}}(),ff}var df,Ym;function Vs(){if(Ym)return df;Ym=1;var e=io(),t=Pt();function r(n){e.call(this,n??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(r,e,{__CANCEL__:!0}),df=r,df}var pf,Km;function yC(){return Km||(Km=1,pf=function(t){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}),pf}var hf,Xm;function Qm(){if(Xm)return hf;Xm=1;var e=Pt(),t=cC(),r=fC(),n=zE(),a=XE(),o=hC(),s=mC(),i=YE(),l=io(),u=Vs(),c=yC();return hf=function(p){return new Promise(function(h,m){var w=p.data,E=p.headers,y=p.responseType,T;function R(){p.cancelToken&&p.cancelToken.unsubscribe(T),p.signal&&p.signal.removeEventListener("abort",T)}e.isFormData(w)&&e.isStandardBrowserEnv()&&delete E["Content-Type"];var S=new XMLHttpRequest;if(p.auth){var O=p.auth.username||"",N=p.auth.password?unescape(encodeURIComponent(p.auth.password)):"";E.Authorization="Basic "+btoa(O+":"+N)}var M=a(p.baseURL,p.url);S.open(p.method.toUpperCase(),n(M,p.params,p.paramsSerializer),!0),S.timeout=p.timeout;function H(){if(S){var U="getAllResponseHeaders"in S?o(S.getAllResponseHeaders()):null,j=!y||y==="text"||y==="json"?S.responseText:S.response,Z={data:j,status:S.status,statusText:S.statusText,headers:U,config:p,request:S};t(function(L){h(L),R()},function(L){m(L),R()},Z),S=null}}if("onloadend"in S?S.onloadend=H:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(H)},S.onabort=function(){S&&(m(new l("Request aborted",l.ECONNABORTED,p,S)),S=null)},S.onerror=function(){m(new l("Network Error",l.ERR_NETWORK,p,S,S)),S=null},S.ontimeout=function(){var j=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded",Z=p.transitional||i;p.timeoutErrorMessage&&(j=p.timeoutErrorMessage),m(new l(j,Z.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,p,S)),S=null},e.isStandardBrowserEnv()){var G=(p.withCredentials||s(M))&&p.xsrfCookieName?r.read(p.xsrfCookieName):void 0;G&&(E[p.xsrfHeaderName]=G)}"setRequestHeader"in S&&e.forEach(E,function(j,Z){typeof w>"u"&&Z.toLowerCase()==="content-type"?delete E[Z]:S.setRequestHeader(Z,j)}),e.isUndefined(p.withCredentials)||(S.withCredentials=!!p.withCredentials),y&&y!=="json"&&(S.responseType=p.responseType),typeof p.onDownloadProgress=="function"&&S.addEventListener("progress",p.onDownloadProgress),typeof p.onUploadProgress=="function"&&S.upload&&S.upload.addEventListener("progress",p.onUploadProgress),(p.cancelToken||p.signal)&&(T=function(U){S&&(m(!U||U&&U.type?new u:U),S.abort(),S=null)},p.cancelToken&&p.cancelToken.subscribe(T),p.signal&&(p.signal.aborted?T():p.signal.addEventListener("abort",T))),w||(w=null);var W=c(M);if(W&&["http","https","file"].indexOf(W)===-1){m(new l("Unsupported protocol "+W+":",l.ERR_BAD_REQUEST,p));return}S.send(w)})},hf}var mf,Jm;function vC(){return Jm||(Jm=1,mf=null),mf}var yf,Zm;function Rh(){if(Zm)return yf;Zm=1;var e=Pt(),t=uC(),r=io(),n=YE(),a=KE(),o={"Content-Type":"application/x-www-form-urlencoded"};function s(c,d){!e.isUndefined(c)&&e.isUndefined(c["Content-Type"])&&(c["Content-Type"]=d)}function i(){var c;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(c=Qm()),c}function l(c,d,p){if(e.isString(c))try{return(d||JSON.parse)(c),e.trim(c)}catch(f){if(f.name!=="SyntaxError")throw f}return(p||JSON.stringify)(c)}var u={transitional:n,adapter:i(),transformRequest:[function(d,p){if(t(p,"Accept"),t(p,"Content-Type"),e.isFormData(d)||e.isArrayBuffer(d)||e.isBuffer(d)||e.isStream(d)||e.isFile(d)||e.isBlob(d))return d;if(e.isArrayBufferView(d))return d.buffer;if(e.isURLSearchParams(d))return s(p,"application/x-www-form-urlencoded;charset=utf-8"),d.toString();var f=e.isObject(d),h=p&&p["Content-Type"],m;if((m=e.isFileList(d))||f&&h==="multipart/form-data"){var w=this.env&&this.env.FormData;return a(m?{"files[]":d}:d,w&&new w)}else if(f||h==="application/json")return s(p,"application/json"),l(d);return d}],transformResponse:[function(d){var p=this.transitional||u.transitional,f=p&&p.silentJSONParsing,h=p&&p.forcedJSONParsing,m=!f&&this.responseType==="json";if(m||h&&e.isString(d)&&d.length)try{return JSON.parse(d)}catch(w){if(m)throw w.name==="SyntaxError"?r.from(w,r.ERR_BAD_RESPONSE,this,null,this.response):w}return d}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vC()},validateStatus:function(d){return d>=200&&d<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return e.forEach(["delete","get","head"],function(d){u.headers[d]={}}),e.forEach(["post","put","patch"],function(d){u.headers[d]=e.merge(o)}),yf=u,yf}var vf,ey;function gC(){if(ey)return vf;ey=1;var e=Pt(),t=Rh();return vf=function(n,a,o){var s=this||t;return e.forEach(o,function(l){n=l.call(s,n,a)}),n},vf}var gf,ty;function QE(){return ty||(ty=1,gf=function(t){return!!(t&&t.__CANCEL__)}),gf}var bf,ry;function bC(){if(ry)return bf;ry=1;var e=Pt(),t=gC(),r=QE(),n=Rh(),a=Vs();function o(s){if(s.cancelToken&&s.cancelToken.throwIfRequested(),s.signal&&s.signal.aborted)throw new a}return bf=function(i){o(i),i.headers=i.headers||{},i.data=t.call(i,i.data,i.headers,i.transformRequest),i.headers=e.merge(i.headers.common||{},i.headers[i.method]||{},i.headers),e.forEach(["delete","get","head","post","put","patch","common"],function(c){delete i.headers[c]});var l=i.adapter||n.adapter;return l(i).then(function(c){return o(i),c.data=t.call(i,c.data,c.headers,i.transformResponse),c},function(c){return r(c)||(o(i),c&&c.response&&(c.response.data=t.call(i,c.response.data,c.response.headers,i.transformResponse))),Promise.reject(c)})},bf}var Ef,ny;function JE(){if(ny)return Ef;ny=1;var e=Pt();return Ef=function(r,n){n=n||{};var a={};function o(d,p){return e.isPlainObject(d)&&e.isPlainObject(p)?e.merge(d,p):e.isPlainObject(p)?e.merge({},p):e.isArray(p)?p.slice():p}function s(d){if(e.isUndefined(n[d])){if(!e.isUndefined(r[d]))return o(void 0,r[d])}else return o(r[d],n[d])}function i(d){if(!e.isUndefined(n[d]))return o(void 0,n[d])}function l(d){if(e.isUndefined(n[d])){if(!e.isUndefined(r[d]))return o(void 0,r[d])}else return o(void 0,n[d])}function u(d){if(d in n)return o(r[d],n[d]);if(d in r)return o(void 0,r[d])}var c={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:u};return e.forEach(Object.keys(r).concat(Object.keys(n)),function(p){var f=c[p]||s,h=f(p);e.isUndefined(h)&&f!==u||(a[p]=h)}),a},Ef}var _f,ay;function ZE(){return ay||(ay=1,_f={version:"0.27.2"}),_f}var wf,oy;function EC(){if(oy)return wf;oy=1;var e=ZE().version,t=io(),r={};["object","boolean","number","function","string","symbol"].forEach(function(o,s){r[o]=function(l){return typeof l===o||"a"+(s<1?"n ":" ")+o}});var n={};r.transitional=function(s,i,l){function u(c,d){return"[Axios v"+e+"] Transitional option '"+c+"'"+d+(l?". "+l:"")}return function(c,d,p){if(s===!1)throw new t(u(d," has been removed"+(i?" in "+i:"")),t.ERR_DEPRECATED);return i&&!n[d]&&(n[d]=!0,console.warn(u(d," has been deprecated since v"+i+" and will be removed in the near future"))),s?s(c,d,p):!0}};function a(o,s,i){if(typeof o!="object")throw new t("options must be an object",t.ERR_BAD_OPTION_VALUE);for(var l=Object.keys(o),u=l.length;u-- >0;){var c=l[u],d=s[c];if(d){var p=o[c],f=p===void 0||d(p,c,o);if(f!==!0)throw new t("option "+c+" must be "+f,t.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new t("Unknown option "+c,t.ERR_BAD_OPTION)}}return wf={assertOptions:a,validators:r},wf}var Tf,iy;function _C(){if(iy)return Tf;iy=1;var e=Pt(),t=zE(),r=lC(),n=bC(),a=JE(),o=XE(),s=EC(),i=s.validators;function l(u){this.defaults=u,this.interceptors={request:new r,response:new r}}return l.prototype.request=function(c,d){typeof c=="string"?(d=d||{},d.url=c):d=c||{},d=a(this.defaults,d),d.method?d.method=d.method.toLowerCase():this.defaults.method?d.method=this.defaults.method.toLowerCase():d.method="get";var p=d.transitional;p!==void 0&&s.assertOptions(p,{silentJSONParsing:i.transitional(i.boolean),forcedJSONParsing:i.transitional(i.boolean),clarifyTimeoutError:i.transitional(i.boolean)},!1);var f=[],h=!0;this.interceptors.request.forEach(function(O){typeof O.runWhen=="function"&&O.runWhen(d)===!1||(h=h&&O.synchronous,f.unshift(O.fulfilled,O.rejected))});var m=[];this.interceptors.response.forEach(function(O){m.push(O.fulfilled,O.rejected)});var w;if(!h){var E=[n,void 0];for(Array.prototype.unshift.apply(E,f),E=E.concat(m),w=Promise.resolve(d);E.length;)w=w.then(E.shift(),E.shift());return w}for(var y=d;f.length;){var T=f.shift(),R=f.shift();try{y=T(y)}catch(S){R(S);break}}try{w=n(y)}catch(S){return Promise.reject(S)}for(;m.length;)w=w.then(m.shift(),m.shift());return w},l.prototype.getUri=function(c){c=a(this.defaults,c);var d=o(c.baseURL,c.url);return t(d,c.params,c.paramsSerializer)},e.forEach(["delete","get","head","options"],function(c){l.prototype[c]=function(d,p){return this.request(a(p||{},{method:c,url:d,data:(p||{}).data}))}}),e.forEach(["post","put","patch"],function(c){function d(p){return function(h,m,w){return this.request(a(w||{},{method:c,headers:p?{"Content-Type":"multipart/form-data"}:{},url:h,data:m}))}}l.prototype[c]=d(),l.prototype[c+"Form"]=d(!0)}),Tf=l,Tf}var Sf,sy;function wC(){if(sy)return Sf;sy=1;var e=Vs();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(s){n=s});var a=this;this.promise.then(function(o){if(a._listeners){var s,i=a._listeners.length;for(s=0;s<i;s++)a._listeners[s](o);a._listeners=null}}),this.promise.then=function(o){var s,i=new Promise(function(l){a.subscribe(l),s=l}).then(o);return i.cancel=function(){a.unsubscribe(s)},i},r(function(s){a.reason||(a.reason=new e(s),n(a.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(this._listeners){var a=this._listeners.indexOf(n);a!==-1&&this._listeners.splice(a,1)}},t.source=function(){var n,a=new t(function(s){n=s});return{token:a,cancel:n}},Sf=t,Sf}var Rf,ly;function TC(){return ly||(ly=1,Rf=function(t){return function(n){return t.apply(null,n)}}),Rf}var Cf,uy;function SC(){if(uy)return Cf;uy=1;var e=Pt();return Cf=function(r){return e.isObject(r)&&r.isAxiosError===!0},Cf}var cy;function RC(){if(cy)return Pi.exports;cy=1;var e=Pt(),t=VE(),r=_C(),n=JE(),a=Rh();function o(i){var l=new r(i),u=t(r.prototype.request,l);return e.extend(u,r.prototype,l),e.extend(u,l),u.create=function(d){return o(n(i,d))},u}var s=o(a);return s.Axios=r,s.CanceledError=Vs(),s.CancelToken=wC(),s.isCancel=QE(),s.VERSION=ZE().version,s.toFormData=KE(),s.AxiosError=io(),s.Cancel=s.CanceledError,s.all=function(l){return Promise.all(l)},s.spread=TC(),s.isAxiosError=SC(),Pi.exports=s,Pi.exports.default=s,Pi.exports}var xf,fy;function e_(){return fy||(fy=1,xf=RC()),xf}var CC=Function.prototype.toString,Of=Object.create,xC=Object.defineProperty,OC=Object.getOwnPropertyDescriptor,dy=Object.getOwnPropertyNames,Ch=Object.getOwnPropertySymbols,PC=Object.getPrototypeOf,t_=Object.prototype,AC=t_.hasOwnProperty,IC=t_.propertyIsEnumerable,r_=typeof Ch=="function",NC=typeof WeakMap=="function",MC=function(){if(NC)return function(){return new WeakMap};var e=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(r){return!!~this._keys.indexOf(r)},t.prototype.get=function(r){return this._values[this._keys.indexOf(r)]},t.prototype.set=function(r,n){this._keys.push(r),this._values.push(n)},t}();return function(){return new e}}(),n_=function(e,t){var r=e.__proto__||PC(e);if(!r)return Of(null);var n=r.constructor;if(n===t.Object)return r===t.Object.prototype?{}:Of(r);if(~CC.call(n).indexOf("[native code]"))try{return new n}catch{}return Of(r)},$C=function(e,t,r,n){var a=n_(e,t);n.set(e,a);for(var o in e)AC.call(e,o)&&(a[o]=r(e[o],n));if(r_)for(var s=Ch(e),i=0,l=s.length,u=void 0;i<l;++i)u=s[i],IC.call(e,u)&&(a[u]=r(e[u],n));return a},py=function(e,t,r,n){var a=n_(e,t);n.set(e,a);for(var o=r_?dy(e).concat(Ch(e)):dy(e),s=0,i=o.length,l=void 0,u=void 0;s<i;++s)if(l=o[s],l!=="callee"&&l!=="caller")if(u=OC(e,l),u){!u.get&&!u.set&&(u.value=r(e[l],n));try{xC(a,l,u)}catch{a[l]=u.value}}else a[l]=r(e[l],n);return a},kC=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},LC=Array.isArray,BC=Object.getPrototypeOf,DC=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function Fn(e,t){var r=!!(t&&t.isStrict),n=t&&t.realm||DC,a=r?py:$C,o=function(s,i){if(!s||typeof s!="object")return s;if(i.has(s))return i.get(s);var l=s.__proto__||BC(s),u=l&&l.constructor;if(!u||u===n.Object)return a(s,n,o,i);var c;if(LC(s)){if(r)return py(s,n,o,i);c=new u,i.set(s,c);for(var d=0,p=s.length;d<p;++d)c[d]=o(s[d],i);return c}if(s instanceof n.Date)return new u(s.getTime());if(s instanceof n.RegExp)return c=new u(s.source,s.flags||kC(s)),c.lastIndex=s.lastIndex,c;if(n.Map&&s instanceof n.Map)return c=new u,i.set(s,c),s.forEach(function(f,h){c.set(h,o(f,i))}),c;if(n.Set&&s instanceof n.Set)return c=new u,i.set(s,c),s.forEach(function(f){c.add(o(f,i))}),c;if(n.Blob&&s instanceof n.Blob)return s.slice(0,s.size,s.type);if(n.Buffer&&n.Buffer.isBuffer(s))return c=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(s.length):new u(s.length),i.set(s,c),s.copy(c),c;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(s))return c=new u(s.buffer.slice(0)),i.set(s,c),c;if(s instanceof n.ArrayBuffer)return c=s.slice(0),i.set(s,c),c}return typeof s.then=="function"||s instanceof Error||n.WeakMap&&s instanceof n.WeakMap||n.WeakSet&&s instanceof n.WeakSet?s:a(s,n,o,i)};return o(e,MC())}Fn.default=Fn;Fn.strict=function(t,r){return Fn(t,{isStrict:!0,realm:r?r.realm:void 0})};var zs=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 s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==a||s.enumerable!==!0)return!1}return!0},hy=typeof Symbol<"u"&&Symbol,qC=zs,xh=function(){return typeof hy!="function"||typeof Symbol!="function"||typeof hy("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:qC()},my={foo:{}},FC=Object,jC=function(){return{__proto__:my}.foo===my.foo&&!({__proto__:null}instanceof FC)},UC="Function.prototype.bind called on incompatible ",Pf=Array.prototype.slice,HC=Object.prototype.toString,GC="[object Function]",WC=function(t){var r=this;if(typeof r!="function"||HC.call(r)!==GC)throw new TypeError(UC+r);for(var n=Pf.call(arguments,1),a,o=function(){if(this instanceof a){var c=r.apply(this,n.concat(Pf.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(Pf.call(arguments)))},s=Math.max(0,r.length-n.length),i=[],l=0;l<s;l++)i.push("$"+l);if(a=Function("binder","return function ("+i.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},VC=WC,Oh=Function.prototype.bind||VC,zC=Oh,a_=zC.call(Function.call,Object.prototype.hasOwnProperty),Pe,Za=SyntaxError,o_=Function,Qa=TypeError,Af=function(e){try{return o_('"use strict"; return ('+e+").constructor;")()}catch{}},ya=Object.getOwnPropertyDescriptor;if(ya)try{ya({},"")}catch{ya=null}var If=function(){throw new Qa},YC=ya?function(){try{return arguments.callee,If}catch{try{return ya(arguments,"callee").get}catch{return If}}}():If,Fa=xh(),KC=jC(),Rt=Object.getPrototypeOf||(KC?function(e){return e.__proto__}:null),za={},XC=typeof Uint8Array>"u"||!Rt?Pe:Rt(Uint8Array),va={"%AggregateError%":typeof AggregateError>"u"?Pe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Pe:ArrayBuffer,"%ArrayIteratorPrototype%":Fa&&Rt?Rt([][Symbol.iterator]()):Pe,"%AsyncFromSyncIteratorPrototype%":Pe,"%AsyncFunction%":za,"%AsyncGenerator%":za,"%AsyncGeneratorFunction%":za,"%AsyncIteratorPrototype%":za,"%Atomics%":typeof Atomics>"u"?Pe:Atomics,"%BigInt%":typeof BigInt>"u"?Pe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Pe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Pe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Pe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Pe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Pe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Pe:FinalizationRegistry,"%Function%":o_,"%GeneratorFunction%":za,"%Int8Array%":typeof Int8Array>"u"?Pe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Pe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Pe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Fa&&Rt?Rt(Rt([][Symbol.iterator]())):Pe,"%JSON%":typeof JSON=="object"?JSON:Pe,"%Map%":typeof Map>"u"?Pe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Fa||!Rt?Pe:Rt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Pe:Promise,"%Proxy%":typeof Proxy>"u"?Pe:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Pe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Pe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Fa||!Rt?Pe:Rt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Pe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Fa&&Rt?Rt(""[Symbol.iterator]()):Pe,"%Symbol%":Fa?Symbol:Pe,"%SyntaxError%":Za,"%ThrowTypeError%":YC,"%TypedArray%":XC,"%TypeError%":Qa,"%Uint8Array%":typeof Uint8Array>"u"?Pe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Pe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Pe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Pe:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Pe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Pe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Pe:WeakSet};if(Rt)try{null.error}catch(e){var QC=Rt(Rt(e));va["%Error.prototype%"]=QC}var JC=function e(t){var r;if(t==="%AsyncFunction%")r=Af("async function () {}");else if(t==="%GeneratorFunction%")r=Af("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Af("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&Rt&&(r=Rt(a.prototype))}return va[t]=r,r},yy={"%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"]},yi=Oh,vs=a_,ZC=yi.call(Function.call,Array.prototype.concat),ex=yi.call(Function.apply,Array.prototype.splice),vy=yi.call(Function.call,String.prototype.replace),gs=yi.call(Function.call,String.prototype.slice),tx=yi.call(Function.call,RegExp.prototype.exec),rx=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,nx=/\\(\\)?/g,ax=function(t){var r=gs(t,0,1),n=gs(t,-1);if(r==="%"&&n!=="%")throw new Za("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Za("invalid intrinsic syntax, expected opening `%`");var a=[];return vy(t,rx,function(o,s,i,l){a[a.length]=i?vy(l,nx,"$1"):s||o}),a},ox=function(t,r){var n=t,a;if(vs(yy,n)&&(a=yy[n],n="%"+a[0]+"%"),vs(va,n)){var o=va[n];if(o===za&&(o=JC(n)),typeof o>"u"&&!r)throw new Qa("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new Za("intrinsic "+t+" does not exist!")},Tr=function(t,r){if(typeof t!="string"||t.length===0)throw new Qa("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Qa('"allowMissing" argument must be a boolean');if(tx(/^%?[^%]*%?$/,t)===null)throw new Za("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=ax(t),a=n.length>0?n[0]:"",o=ox("%"+a+"%",r),s=o.name,i=o.value,l=!1,u=o.alias;u&&(a=u[0],ex(n,ZC([0,1],u)));for(var c=1,d=!0;c<n.length;c+=1){var p=n[c],f=gs(p,0,1),h=gs(p,-1);if((f==='"'||f==="'"||f==="`"||h==='"'||h==="'"||h==="`")&&f!==h)throw new Za("property names with quotes must have matching quotes");if((p==="constructor"||!d)&&(l=!0),a+="."+p,s="%"+a+"%",vs(va,s))i=va[s];else if(i!=null){if(!(p in i)){if(!r)throw new Qa("base intrinsic for "+t+" exists, but the property is not available.");return}if(ya&&c+1>=n.length){var m=ya(i,p);d=!!m,d&&"get"in m&&!("originalValue"in m.get)?i=m.get:i=i[p]}else d=vs(i,p),i=i[p];d&&!l&&(va[s]=i)}}return i},i_={exports:{}};(function(e){var t=Oh,r=Tr,n=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),o=r("%Reflect.apply%",!0)||t.call(a,n),s=r("%Object.getOwnPropertyDescriptor%",!0),i=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(i)try{i({},"a",{value:1})}catch{i=null}e.exports=function(d){var p=o(t,a,arguments);if(s&&i){var f=s(p,"length");f.configurable&&i(p,"length",{value:1+l(0,d.length-(arguments.length-1))})}return p};var u=function(){return o(t,n,arguments)};i?i(e.exports,"apply",{value:u}):e.exports.apply=u})(i_);var so=i_.exports,s_=Tr,l_=so,ix=l_(s_("String.prototype.indexOf")),or=function(t,r){var n=s_(t,!!r);return typeof n=="function"&&ix(t,".prototype.")>-1?l_(n):n};const sx={},lx=Object.freeze(Object.defineProperty({__proto__:null,default:sx},Symbol.toStringTag,{value:"Module"})),ux=mi(lx);var Ph=typeof Map=="function"&&Map.prototype,Nf=Object.getOwnPropertyDescriptor&&Ph?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,bs=Ph&&Nf&&typeof Nf.get=="function"?Nf.get:null,gy=Ph&&Map.prototype.forEach,Ah=typeof Set=="function"&&Set.prototype,Mf=Object.getOwnPropertyDescriptor&&Ah?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Es=Ah&&Mf&&typeof Mf.get=="function"?Mf.get:null,by=Ah&&Set.prototype.forEach,cx=typeof WeakMap=="function"&&WeakMap.prototype,Qo=cx?WeakMap.prototype.has:null,fx=typeof WeakSet=="function"&&WeakSet.prototype,Jo=fx?WeakSet.prototype.has:null,dx=typeof WeakRef=="function"&&WeakRef.prototype,Ey=dx?WeakRef.prototype.deref:null,px=Boolean.prototype.valueOf,hx=Object.prototype.toString,mx=Function.prototype.toString,yx=String.prototype.match,Ih=String.prototype.slice,Nn=String.prototype.replace,vx=String.prototype.toUpperCase,_y=String.prototype.toLowerCase,u_=RegExp.prototype.test,wy=Array.prototype.concat,Lr=Array.prototype.join,gx=Array.prototype.slice,Ty=Math.floor,fp=typeof BigInt=="function"?BigInt.prototype.valueOf:null,$f=Object.getOwnPropertySymbols,dp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,eo=typeof Symbol=="function"&&typeof Symbol.iterator=="object",$t=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===eo||"symbol")?Symbol.toStringTag:null,c_=Object.prototype.propertyIsEnumerable,Sy=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Ry(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||u_.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-Ty(-e):Ty(e);if(n!==e){var a=String(n),o=Ih.call(t,a.length+1);return Nn.call(a,r,"$&_")+"."+Nn.call(Nn.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Nn.call(t,r,"$&_")}var pp=ux,Cy=pp.custom,xy=d_(Cy)?Cy:null,bx=function e(t,r,n,a){var o=r||{};if(xn(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xn(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 s=xn(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(xn(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(xn(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var i=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 h_(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return i?Ry(t,l):l}if(typeof t=="bigint"){var u=String(t)+"n";return i?Ry(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 hp(t)?"[Array]":"[Object]";var d=Bx(o,n);if(typeof a>"u")a=[];else if(p_(a,t)>=0)return"[Circular]";function p(j,Z,ee){if(Z&&(a=gx.call(a),a.push(Z)),ee){var L={depth:o.depth};return xn(o,"quoteStyle")&&(L.quoteStyle=o.quoteStyle),e(j,L,n+1,a)}return e(j,o,n+1,a)}if(typeof t=="function"&&!Oy(t)){var f=Ox(t),h=Ai(t,p);return"[Function"+(f?": "+f:" (anonymous)")+"]"+(h.length>0?" { "+Lr.call(h,", ")+" }":"")}if(d_(t)){var m=eo?Nn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):dp.call(t);return typeof t=="object"&&!eo?wo(m):m}if($x(t)){for(var w="<"+_y.call(String(t.nodeName)),E=t.attributes||[],y=0;y<E.length;y++)w+=" "+E[y].name+"="+f_(Ex(E[y].value),"double",o);return w+=">",t.childNodes&&t.childNodes.length&&(w+="..."),w+="</"+_y.call(String(t.nodeName))+">",w}if(hp(t)){if(t.length===0)return"[]";var T=Ai(t,p);return d&&!Lx(T)?"["+mp(T,d)+"]":"[ "+Lr.call(T,", ")+" ]"}if(wx(t)){var R=Ai(t,p);return!("cause"in Error.prototype)&&"cause"in t&&!c_.call(t,"cause")?"{ ["+String(t)+"] "+Lr.call(wy.call("[cause]: "+p(t.cause),R),", ")+" }":R.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Lr.call(R,", ")+" }"}if(typeof t=="object"&&s){if(xy&&typeof t[xy]=="function"&&pp)return pp(t,{depth:c-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Px(t)){var S=[];return gy&&gy.call(t,function(j,Z){S.push(p(Z,t,!0)+" => "+p(j,t))}),Py("Map",bs.call(t),S,d)}if(Nx(t)){var O=[];return by&&by.call(t,function(j){O.push(p(j,t))}),Py("Set",Es.call(t),O,d)}if(Ax(t))return kf("WeakMap");if(Mx(t))return kf("WeakSet");if(Ix(t))return kf("WeakRef");if(Sx(t))return wo(p(Number(t)));if(Cx(t))return wo(p(fp.call(t)));if(Rx(t))return wo(px.call(t));if(Tx(t))return wo(p(String(t)));if(!_x(t)&&!Oy(t)){var N=Ai(t,p),M=Sy?Sy(t)===Object.prototype:t instanceof Object||t.constructor===Object,H=t instanceof Object?"":"null prototype",G=!M&&$t&&Object(t)===t&&$t in t?Ih.call(Un(t),8,-1):H?"Object":"",W=M||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",U=W+(G||H?"["+Lr.call(wy.call([],G||[],H||[]),": ")+"] ":"");return N.length===0?U+"{}":d?U+"{"+mp(N,d)+"}":U+"{ "+Lr.call(N,", ")+" }"}return String(t)};function f_(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function Ex(e){return Nn.call(String(e),/"/g,"&quot;")}function hp(e){return Un(e)==="[object Array]"&&(!$t||!(typeof e=="object"&&$t in e))}function _x(e){return Un(e)==="[object Date]"&&(!$t||!(typeof e=="object"&&$t in e))}function Oy(e){return Un(e)==="[object RegExp]"&&(!$t||!(typeof e=="object"&&$t in e))}function wx(e){return Un(e)==="[object Error]"&&(!$t||!(typeof e=="object"&&$t in e))}function Tx(e){return Un(e)==="[object String]"&&(!$t||!(typeof e=="object"&&$t in e))}function Sx(e){return Un(e)==="[object Number]"&&(!$t||!(typeof e=="object"&&$t in e))}function Rx(e){return Un(e)==="[object Boolean]"&&(!$t||!(typeof e=="object"&&$t in e))}function d_(e){if(eo)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!dp)return!1;try{return dp.call(e),!0}catch{}return!1}function Cx(e){if(!e||typeof e!="object"||!fp)return!1;try{return fp.call(e),!0}catch{}return!1}var xx=Object.prototype.hasOwnProperty||function(e){return e in this};function xn(e,t){return xx.call(e,t)}function Un(e){return hx.call(e)}function Ox(e){if(e.name)return e.name;var t=yx.call(mx.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function p_(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 Px(e){if(!bs||!e||typeof e!="object")return!1;try{bs.call(e);try{Es.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function Ax(e){if(!Qo||!e||typeof e!="object")return!1;try{Qo.call(e,Qo);try{Jo.call(e,Jo)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Ix(e){if(!Ey||!e||typeof e!="object")return!1;try{return Ey.call(e),!0}catch{}return!1}function Nx(e){if(!Es||!e||typeof e!="object")return!1;try{Es.call(e);try{bs.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Mx(e){if(!Jo||!e||typeof e!="object")return!1;try{Jo.call(e,Jo);try{Qo.call(e,Qo)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function $x(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function h_(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return h_(Ih.call(e,0,t.maxStringLength),t)+n}var a=Nn.call(Nn.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,kx);return f_(a,"single",t)}function kx(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":"")+vx.call(t.toString(16))}function wo(e){return"Object("+e+")"}function kf(e){return e+" { ? }"}function Py(e,t,r,n){var a=n?mp(r,n):Lr.call(r,", ");return e+" ("+t+") {"+a+"}"}function Lx(e){for(var t=0;t<e.length;t++)if(p_(e[t],`
26
+ `)>=0)return!1;return!0}function Bx(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Lr.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Lr.call(Array(t+1),r)}}function mp(e,t){if(e.length===0)return"";var r=`
27
+ `+t.prev+t.base;return r+Lr.call(e,","+r)+`
28
+ `+t.prev}function Ai(e,t){var r=hp(e),n=[];if(r){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=xn(e,a)?t(e[a],e):""}var o=typeof $f=="function"?$f(e):[],s;if(eo){s={};for(var i=0;i<o.length;i++)s["$"+o[i]]=o[i]}for(var l in e)xn(e,l)&&(r&&String(Number(l))===l&&l<e.length||eo&&s["$"+l]instanceof Symbol||(u_.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if(typeof $f=="function")for(var u=0;u<o.length;u++)c_.call(e,o[u])&&n.push("["+t(o[u])+"]: "+t(e[o[u]],e));return n}var Nh=Tr,lo=or,Dx=bx,qx=Nh("%TypeError%"),Ii=Nh("%WeakMap%",!0),Ni=Nh("%Map%",!0),Fx=lo("WeakMap.prototype.get",!0),jx=lo("WeakMap.prototype.set",!0),Ux=lo("WeakMap.prototype.has",!0),Hx=lo("Map.prototype.get",!0),Gx=lo("Map.prototype.set",!0),Wx=lo("Map.prototype.has",!0),Mh=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},Vx=function(e,t){var r=Mh(e,t);return r&&r.value},zx=function(e,t,r){var n=Mh(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},Yx=function(e,t){return!!Mh(e,t)},$h=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new qx("Side channel does not contain "+Dx(o))},get:function(o){if(Ii&&o&&(typeof o=="object"||typeof o=="function")){if(t)return Fx(t,o)}else if(Ni){if(r)return Hx(r,o)}else if(n)return Vx(n,o)},has:function(o){if(Ii&&o&&(typeof o=="object"||typeof o=="function")){if(t)return Ux(t,o)}else if(Ni){if(r)return Wx(r,o)}else if(n)return Yx(n,o);return!1},set:function(o,s){Ii&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new Ii),jx(t,o,s)):Ni?(r||(r=new Ni),Gx(r,o,s)):(n||(n={key:{},next:null}),zx(n,o,s))}};return a},Kx=String.prototype.replace,Xx=/%20/g,Lf={RFC1738:"RFC1738",RFC3986:"RFC3986"},kh={default:Lf.RFC3986,formatters:{RFC1738:function(e){return Kx.call(e,Xx,"+")},RFC3986:function(e){return String(e)}},RFC1738:Lf.RFC1738,RFC3986:Lf.RFC3986},Qx=kh,Bf=Object.prototype.hasOwnProperty,pa=Array.isArray,Mr=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Jx=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(pa(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]<"u"&&a.push(n[o]);r.obj[r.prop]=a}}},m_=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},a=0;a<t.length;++a)typeof t[a]<"u"&&(n[a]=t[a]);return n},Zx=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if(pa(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Bf.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var a=t;return pa(t)&&!pa(r)&&(a=m_(t,n)),pa(t)&&pa(r)?(r.forEach(function(o,s){if(Bf.call(t,s)){var i=t[s];i&&typeof i=="object"&&o&&typeof o=="object"?t[s]=e(i,o,n):t.push(o)}else t[s]=o}),t):Object.keys(r).reduce(function(o,s){var i=r[s];return Bf.call(o,s)?o[s]=e(o[s],i,n):o[s]=i,o},a)},eO=function(t,r){return Object.keys(r).reduce(function(n,a){return n[a]=r[a],n},t)},tO=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},rO=function(t,r,n,a,o){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(c){return"%26%23"+parseInt(c.slice(2),16)+"%3B"});for(var i="",l=0;l<s.length;++l){var u=s.charCodeAt(l);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===Qx.RFC1738&&(u===40||u===41)){i+=s.charAt(l);continue}if(u<128){i=i+Mr[u];continue}if(u<2048){i=i+(Mr[192|u>>6]+Mr[128|u&63]);continue}if(u<55296||u>=57344){i=i+(Mr[224|u>>12]+Mr[128|u>>6&63]+Mr[128|u&63]);continue}l+=1,u=65536+((u&1023)<<10|s.charCodeAt(l)&1023),i+=Mr[240|u>>18]+Mr[128|u>>12&63]+Mr[128|u>>6&63]+Mr[128|u&63]}return i},nO=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],a=0;a<r.length;++a)for(var o=r[a],s=o.obj[o.prop],i=Object.keys(s),l=0;l<i.length;++l){var u=i[l],c=s[u];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(r.push({obj:s,prop:u}),n.push(c))}return Jx(r),t},aO=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},oO=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},iO=function(t,r){return[].concat(t,r)},sO=function(t,r){if(pa(t)){for(var n=[],a=0;a<t.length;a+=1)n.push(r(t[a]));return n}return r(t)},y_={arrayToObject:m_,assign:eO,combine:iO,compact:nO,decode:tO,encode:rO,isBuffer:oO,isRegExp:aO,maybeMap:sO,merge:Zx},v_=$h,as=y_,Zo=kh,lO=Object.prototype.hasOwnProperty,Ay={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},nn=Array.isArray,uO=Array.prototype.push,g_=function(e,t){uO.apply(e,nn(t)?t:[t])},cO=Date.prototype.toISOString,Iy=Zo.default,Nt={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:as.encode,encodeValuesOnly:!1,format:Iy,formatter:Zo.formatters[Iy],indices:!1,serializeDate:function(t){return cO.call(t)},skipNulls:!1,strictNullHandling:!1},fO=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Df={},dO=function e(t,r,n,a,o,s,i,l,u,c,d,p,f,h,m,w){for(var E=t,y=w,T=0,R=!1;(y=y.get(Df))!==void 0&&!R;){var S=y.get(t);if(T+=1,typeof S<"u"){if(S===T)throw new RangeError("Cyclic object value");R=!0}typeof y.get(Df)>"u"&&(T=0)}if(typeof l=="function"?E=l(r,E):E instanceof Date?E=d(E):n==="comma"&&nn(E)&&(E=as.maybeMap(E,function(L){return L instanceof Date?d(L):L})),E===null){if(o)return i&&!h?i(r,Nt.encoder,m,"key",p):r;E=""}if(fO(E)||as.isBuffer(E)){if(i){var O=h?r:i(r,Nt.encoder,m,"key",p);return[f(O)+"="+f(i(E,Nt.encoder,m,"value",p))]}return[f(r)+"="+f(String(E))]}var N=[];if(typeof E>"u")return N;var M;if(n==="comma"&&nn(E))h&&i&&(E=as.maybeMap(E,i)),M=[{value:E.length>0?E.join(",")||null:void 0}];else if(nn(l))M=l;else{var H=Object.keys(E);M=u?H.sort(u):H}for(var G=a&&nn(E)&&E.length===1?r+"[]":r,W=0;W<M.length;++W){var U=M[W],j=typeof U=="object"&&typeof U.value<"u"?U.value:E[U];if(!(s&&j===null)){var Z=nn(E)?typeof n=="function"?n(G,U):G:G+(c?"."+U:"["+U+"]");w.set(t,T);var ee=v_();ee.set(Df,w),g_(N,e(j,Z,n,a,o,s,n==="comma"&&h&&nn(E)?null:i,l,u,c,d,p,f,h,m,ee))}}return N},pO=function(t){if(!t)return Nt;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||Nt.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Zo.default;if(typeof t.format<"u"){if(!lO.call(Zo.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var a=Zo.formatters[n],o=Nt.filter;return(typeof t.filter=="function"||nn(t.filter))&&(o=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Nt.addQueryPrefix,allowDots:typeof t.allowDots>"u"?Nt.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Nt.charsetSentinel,delimiter:typeof t.delimiter>"u"?Nt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Nt.encode,encoder:typeof t.encoder=="function"?t.encoder:Nt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Nt.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Nt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Nt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Nt.strictNullHandling}},hO=function(e,t){var r=e,n=pO(t),a,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):nn(n.filter)&&(o=n.filter,a=o);var s=[];if(typeof r!="object"||r===null)return"";var i;t&&t.arrayFormat in Ay?i=t.arrayFormat:t&&"indices"in t?i=t.indices?"indices":"repeat":i="indices";var l=Ay[i];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=l==="comma"&&t&&t.commaRoundTrip;a||(a=Object.keys(r)),n.sort&&a.sort(n.sort);for(var c=v_(),d=0;d<a.length;++d){var p=a[d];n.skipNulls&&r[p]===null||g_(s,dO(r[p],p,l,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,c))}var f=s.join(n.delimiter),h=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),f.length>0?h+f:""},to=y_,yp=Object.prototype.hasOwnProperty,mO=Array.isArray,St={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:to.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},yO=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},b_=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},vO="utf8=%26%2310003%3B",gO="utf8=%E2%9C%93",bO=function(t,r){var n={__proto__:null},a=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,s=a.split(r.delimiter,o),i=-1,l,u=r.charset;if(r.charsetSentinel)for(l=0;l<s.length;++l)s[l].indexOf("utf8=")===0&&(s[l]===gO?u="utf-8":s[l]===vO&&(u="iso-8859-1"),i=l,l=s.length);for(l=0;l<s.length;++l)if(l!==i){var c=s[l],d=c.indexOf("]="),p=d===-1?c.indexOf("="):d+1,f,h;p===-1?(f=r.decoder(c,St.decoder,u,"key"),h=r.strictNullHandling?null:""):(f=r.decoder(c.slice(0,p),St.decoder,u,"key"),h=to.maybeMap(b_(c.slice(p+1),r),function(m){return r.decoder(m,St.decoder,u,"value")})),h&&r.interpretNumericEntities&&u==="iso-8859-1"&&(h=yO(h)),c.indexOf("[]=")>-1&&(h=mO(h)?[h]:h),yp.call(n,f)?n[f]=to.combine(n[f],h):n[f]=h}return n},EO=function(e,t,r,n){for(var a=n?t:b_(t,r),o=e.length-1;o>=0;--o){var s,i=e[o];if(i==="[]"&&r.parseArrays)s=[].concat(a);else{s=r.plainObjects?Object.create(null):{};var l=i.charAt(0)==="["&&i.charAt(i.length-1)==="]"?i.slice(1,-1):i,u=parseInt(l,10);!r.parseArrays&&l===""?s={0:a}:!isNaN(u)&&i!==l&&String(u)===l&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(s=[],s[u]=a):l!=="__proto__"&&(s[l]=a)}a=s}return a},_O=function(t,r,n,a){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,l=n.depth>0&&s.exec(o),u=l?o.slice(0,l.index):o,c=[];if(u){if(!n.plainObjects&&yp.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var d=0;n.depth>0&&(l=i.exec(o))!==null&&d<n.depth;){if(d+=1,!n.plainObjects&&yp.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+o.slice(l.index)+"]"),EO(c,r,n,a)}},wO=function(t){if(!t)return St;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof t.charset>"u"?St.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?St.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:St.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:St.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:St.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:St.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:St.comma,decoder:typeof t.decoder=="function"?t.decoder:St.decoder,delimiter:typeof t.delimiter=="string"||to.isRegExp(t.delimiter)?t.delimiter:St.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:St.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:St.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:St.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:St.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:St.strictNullHandling}},TO=function(e,t){var r=wO(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?bO(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(n),s=0;s<o.length;++s){var i=o[s],l=_O(i,n[i],r,typeof e=="string");a=to.merge(a,l,r)}return r.allowSparse===!0?a:to.compact(a)},SO=hO,RO=TO,CO=kh,xO={formats:CO,parse:RO,stringify:SO};const OO=wr(xO);var PO="[object String]",AO=Object.prototype,IO=AO.toString,NO=Array.isArray;function MO(e){return!!e&&typeof e=="object"}function $O(e){return typeof e=="string"||!NO(e)&&MO(e)&&IO.call(e)==PO}var kO=$O;const Ny=wr(kO);var Lh={exports:{}};class E_ extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const LO=({limit:e,interval:t,strict:r})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const n=new Map;let a=0,o=0;function s(){const c=Date.now();return c-a>t?(o=1,a=c,0):(o<e?o++:(a+=t,o=1),a-c)}const i=[];function l(){const c=Date.now();if(i.length<e)return i.push(c),0;const d=i.shift()+t;return c>=d?(i.push(c),0):(i.push(d),d-c)}const u=r?l:s;return c=>{const d=function(...p){if(!d.isEnabled)return(async()=>c.apply(this,p))();let f;return new Promise((h,m)=>{f=setTimeout(()=>{h(c.apply(this,p)),n.delete(f)},u()),n.set(f,m)})};return d.abort=()=>{for(const p of n.keys())clearTimeout(p),n.get(p)(new E_);n.clear(),i.splice(0,i.length)},d.isEnabled=!0,d}};Lh.exports=LO;Lh.exports.AbortError=E_;var BO=Lh.exports;const DO=wr(BO);var qO="[object Object]";function FO(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function jO(e,t){return function(r){return e(t(r))}}var UO=Function.prototype,__=Object.prototype,w_=UO.toString,HO=__.hasOwnProperty,GO=w_.call(Object),WO=__.toString,VO=jO(Object.getPrototypeOf,Object);function zO(e){return!!e&&typeof e=="object"}function YO(e){if(!zO(e)||WO.call(e)!=qO||FO(e))return!1;var t=VO(e);if(t===null)return!0;var r=HO.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&w_.call(r)==GO}var KO=YO;const Mi=wr(KO);function XO(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,s,i=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);l=!0);}catch(c){u=!0,a=c}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return i}}function My(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 Ya(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?My(Object(r),!0).forEach(function(n){QO(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):My(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function vp(e){"@babel/helpers - typeof";return vp=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},vp(e)}function gp(){gp=function(a,o){return new r(a,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(a,o,s){var i=new RegExp(a,o);return t.set(i,s||t.get(a)),_s(i,r.prototype)}function n(a,o){var s=t.get(o);return Object.keys(s).reduce(function(i,l){var u=s[l];if(typeof u=="number")i[l]=a[u];else{for(var c=0;a[u[c]]===void 0&&c+1<u.length;)c++;i[l]=a[u[c]]}return i},Object.create(null))}return JO(r,RegExp),r.prototype.exec=function(a){var o=e.exec.call(this,a);if(o){o.groups=n(o,this);var s=o.indices;s&&(s.groups=n(s,this))}return o},r.prototype[Symbol.replace]=function(a,o){if(typeof o=="string"){var s=t.get(this);return e[Symbol.replace].call(this,a,o.replace(/\$<([^>]+)>/g,function(l,u){var c=s[u];return"$"+(Array.isArray(c)?c.join("$"):c)}))}if(typeof o=="function"){var i=this;return e[Symbol.replace].call(this,a,function(){var l=arguments;return typeof l[l.length-1]!="object"&&(l=[].slice.call(l)).push(n(l,i)),o.apply(this,l)})}return e[Symbol.replace].call(this,a,o)},gp.apply(this,arguments)}function QO(e,t,r){return t=aP(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function JO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_s(e,t)}function _s(e,t){return _s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},_s(e,t)}function ZO(e,t){return eP(e)||XO(e,t)||T_(e,t)||tP()}function eP(e){if(Array.isArray(e))return e}function T_(e,t){if(e){if(typeof e=="string")return $y(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 $y(e,t)}}function $y(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 tP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
29
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rP(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=T_(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(l){throw l},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
30
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return o=l.done,l},e:function(l){s=!0,i=l},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function nP(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function aP(e){var t=nP(e,"string");return typeof t=="symbol"?t:String(t)}function oP(){return typeof process<"u"&&!process.browser}function iP(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function sP(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function lP(){return window}function bp(){}var Ep=gp(/(\d+)(%)/,{value:1});function qf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,r=t;if(Ep.test(e)){var n,a=(n=e.match(Ep))===null||n===void 0?void 0:n.groups;if(a&&a.value){var o=parseInt(a.value)/100;r=Math.round(t*o)}}return Math.min(30,Math.max(1,r))}function ky(e,t){return t("info","Throttle request to ".concat(e,"/s")),DO({limit:e,interval:1e3,strict:!1})}var uP=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",r=e.defaults.logHandler,n=r===void 0?bp:r,a=Ny(t)?qf(t):qf("auto",t),o=ky(a,n),s=!1,i=e.interceptors.request.use(function(u){return o(function(){return u})()},function(u){return Promise.reject(u)}),l=e.interceptors.response.use(function(u){if(!s&&Ny(t)&&(t==="auto"||Ep.test(t))&&u.headers&&u.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(u.headers["x-contentful-ratelimit-second-limit"]),d=qf(t,c);d!==a&&(i&&e.interceptors.request.eject(i),a=d,o=ky(d,n),i=e.interceptors.request.use(function(p){return o(function(){return p})()},function(p){return Promise.reject(p)})),s=!0}return u},function(u){return Promise.reject(u)});return function(){e.interceptors.request.eject(i),e.interceptors.response.eject(l)}},cP=function(t){return new Promise(function(r){setTimeout(r,t)})},fP=function(t){return Math.pow(Math.SQRT2,t)};function dP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,r=e.defaults,n=r.responseLogger,a=n===void 0?bp:n,o=r.requestLogger,s=o===void 0?bp:o;e.interceptors.request.use(function(i){return s(i),i},function(i){return s(i),Promise.reject(i)}),e.interceptors.response.use(function(i){return a(i),i},function(i){var l=i.response,u=i.config;if(a(i),!u||!e.defaults.retryOnError)return Promise.reject(i);var c=u.attempts||1;if(c>t)return i.attempts=u.attempts,Promise.reject(i);var d=null,p=fP(c);return l?l.status>=500&&l.status<600?d="Server ".concat(l.status):l.status===429&&(d="Rate limit",l.headers&&i.response.headers["x-contentful-ratelimit-reset"]&&(p=l.headers["x-contentful-ratelimit-reset"])):d="Connection",d?(p=Math.floor(p*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(d," error occurred. Waiting for ").concat(p," ms before retrying...")),u.attempts=c+1,delete u.httpAgent,delete u.httpsAgent,cP(p).then(function(){return e(u)})):Promise.reject(i)})}function pP(e,t){e.interceptors.request.use(function(r){return t().then(function(n){return r.headers=Ya(Ya({},r.headers),{},{Authorization:"Bearer ".concat(n)}),r})})}var hP=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function S_(e,t){var r={insecure:!1,retryOnError:!0,logHandler:function(m,w){if(m==="error"&&w){var E=[w.name,w.message].filter(function(y){return y}).join(" - ");console.error("[error] ".concat(E)),console.error(w);return}console.log("[".concat(m,"] ").concat(w))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},n=Ya(Ya({},r),t);if(!n.accessToken){var a=new TypeError("Expected parameter accessToken");throw n.logHandler("error",a),a}var o=n.insecure?"http":"https",s=n.space?"".concat(n.space,"/"):"",i=n.defaultHostname,l=n.insecure?80:443;if(n.host&&hP.test(n.host)){var u=n.host.split(":");if(u.length===2){var c=ZO(u,2);i=c[0],l=c[1]}else i=u[0]}n.basePath&&(n.basePath="/".concat(n.basePath.split("/").filter(Boolean).join("/")));var d=t.baseURL||"".concat(o,"://").concat(i,":").concat(l).concat(n.basePath,"/spaces/").concat(s);!n.headers.Authorization&&typeof n.accessToken!="function"&&(n.headers.Authorization="Bearer "+n.accessToken);var p={baseURL:d,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,paramsSerializer:OO.stringify,proxy:n.proxy,timeout:n.timeout,adapter:n.adapter,maxContentLength:n.maxContentLength,maxBodyLength:n.maxBodyLength,logHandler:n.logHandler,responseLogger:n.responseLogger,requestLogger:n.requestLogger,retryOnError:n.retryOnError},f=e.create(p);return f.httpClientParams=t,f.cloneWithNewParams=function(h){return S_(e,Ya(Ya({},Fn(t)),h))},n.onBeforeRequest&&f.interceptors.request.use(n.onBeforeRequest),typeof n.accessToken=="function"&&pP(f,n.accessToken),n.throttle&&uP(f,n.throttle),dP(f,n.retryLimit),n.onError&&f.interceptors.response.use(function(h){return h},n.onError),f}function mP(e){var t=e.query,r={};return delete t.resolveLinks,r.params=Fn(t),r}function yP(e,t){if(!(t in e)){var r=new Error;throw r.name="PropertyMissing",r.message="Required property ".concat(t,` missing from:
31
31
 
32
32
  `).concat(JSON.stringify(e),`
33
33
 
34
- `),r}return!0}function m_(e){var t=Object.getOwnPropertyNames(e),r=Yx(t),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,o=e[a];o&&fp(o)==="object"&&m_(o)}}catch(s){r.e(s)}finally{r.f()}return Object.freeze(e)}function uP(e){return m_(e.sys||{}),e}function xy(){var e=eP();if(!e)return null;var t=e.navigator.userAgent,r=e.navigator.platform,n=["Macintosh","MacIntel","MacPPC","Mac68K"],a=["Win32","Win64","Windows","WinCE"],o=["iPhone","iPad","iPod"];return n.indexOf(r)!==-1?"macOS":o.indexOf(r)!==-1?"iOS":a.indexOf(r)!==-1?"Windows":/Android/.test(t)?"Android":/Linux/.test(r)?"Linux":null}function cP(){var e=process.platform||"linux",t=process.version||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in r?"".concat(r[e]||"Linux","/").concat(t):null}function fP(e,t,r,n){var a=[];t&&a.push("app ".concat(t)),r&&a.push("integration ".concat(r)),n&&a.push("feature "+n),a.push("sdk ".concat(e));var o=null;try{Jx()?(o=xy(),a.push("platform ReactNative")):Qx()?(o=cP(),a.push("platform node.js/".concat(Zx()))):(o=xy(),a.push("platform browser"))}catch{o=null}return o&&a.push("os ".concat(o)),"".concat(a.filter(function(s){return s!==""}).join("; "),";")}function dP(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Jr(this)}})}function pP(e){var t=e.config,r=e.response,n;if(t&&t.headers&&t.headers.Authorization){var a="...".concat(t.headers.Authorization.toString().substr(-5));t.headers.Authorization="Bearer ".concat(a)}if(!yi(r)||!yi(t))throw e;var o=r==null?void 0:r.data,s={status:r==null?void 0:r.status,statusText:r==null?void 0:r.statusText,message:"",details:{}};yi(t)&&(s.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),o&&yi(o)&&("requestId"in o&&(s.requestId=o.requestId||"UNKNOWN"),"message"in o&&(s.message=o.message||""),"details"in o&&(s.details=o.details||{}),"sys"in o&&"id"in o.sys&&(n=o.sys.id));var i=new Error;i.name=n&&n!=="Unknown"?n:"".concat(r==null?void 0:r.status," ").concat(r==null?void 0:r.statusText);try{i.message=JSON.stringify(s,null," ")}catch{var l;i.message=(l=s==null?void 0:s.message)!==null&&l!==void 0?l:""}throw i}const hP=Object.freeze(Object.defineProperty({__proto__:null,createHttpClient:h_,createRequestConfig:sP,enforceObjPath:lP,errorHandler:pP,freezeSys:uP,getUserAgentHeader:fP,toPlainObject:dP},Symbol.toStringTag,{value:"Module"})),ur=Uo(hP);var vi={},Ka={},gi={},Py;function mP(){if(Py)return gi;Py=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.wrapSpace=t;var e=ur;function t(r){return(0,e.freezeSys)((0,e.toPlainObject)(r))}return gi}var Xa={},$f={exports:{}},Ay;function Ra(){return Ay||(Ay=1,function(e,t){(function(r,n){e.exports=n()})(be,function(){var r=Function.prototype.toString,n=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,l=Object.getPrototypeOf,u=Object.prototype,c=u.hasOwnProperty,d=u.propertyIsEnumerable,p=typeof i=="function",f=typeof WeakMap=="function",h=function(){if(f)return function(){return new WeakMap};var I=function(){function N(){this._keys=[],this._values=[]}return N.prototype.has=function(U){return!!~this._keys.indexOf(U)},N.prototype.get=function(U){return this._values[this._keys.indexOf(U)]},N.prototype.set=function(U,G){this._keys.push(U),this._values.push(G)},N}();return function(){return new I}}(),m=function(I,N){var U=I.__proto__||l(I);if(!U)return n(null);var G=U.constructor;if(G===N.Object)return U===N.Object.prototype?{}:n(U);if(~r.call(G).indexOf("[native code]"))try{return new G}catch{}return n(U)},_=function(I,N,U,G){var W=m(I,N);G.set(I,W);for(var j in I)c.call(I,j)&&(W[j]=U(I[j],G));if(p)for(var D=i(I),Q=0,J=D.length,$=void 0;Q<J;++Q)$=D[Q],d.call(I,$)&&(W[$]=U(I[$],G));return W},b=function(I,N,U,G){var W=m(I,N);G.set(I,W);for(var j=p?s(I).concat(i(I)):s(I),D=0,Q=j.length,J=void 0,$=void 0;D<Q;++D)if(J=j[D],J!=="callee"&&J!=="caller")if($=o(I,J),$){!$.get&&!$.set&&($.value=U(I[J],G));try{a(W,J,$)}catch{W[J]=$.value}}else W[J]=U(I[J],G);return W},v=function(I){var N="";return I.global&&(N+="g"),I.ignoreCase&&(N+="i"),I.multiline&&(N+="m"),I.unicode&&(N+="u"),I.sticky&&(N+="y"),N},w=Array.isArray,S=Object.getPrototypeOf,T=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof be<"u"?be:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function C(I,N){var U=!!(N&&N.isStrict),G=N&&N.realm||T,W=U?b:_,j=function(D,Q){if(!D||typeof D!="object")return D;if(Q.has(D))return Q.get(D);var J=D.__proto__||S(D),$=J&&J.constructor;if(!$||$===G.Object)return W(D,G,j,Q);var V;if(w(D)){if(U)return b(D,G,j,Q);V=new $,Q.set(D,V);for(var ee=0,ve=D.length;ee<ve;++ee)V[ee]=j(D[ee],Q);return V}if(D instanceof G.Date)return new $(D.getTime());if(D instanceof G.RegExp)return V=new $(D.source,D.flags||v(D)),V.lastIndex=D.lastIndex,V;if(G.Map&&D instanceof G.Map)return V=new $,Q.set(D,V),D.forEach(function(te,ne){V.set(ne,j(te,Q))}),V;if(G.Set&&D instanceof G.Set)return V=new $,Q.set(D,V),D.forEach(function(te){V.add(j(te,Q))}),V;if(G.Blob&&D instanceof G.Blob)return D.slice(0,D.size,D.type);if(G.Buffer&&G.Buffer.isBuffer(D))return V=G.Buffer.allocUnsafe?G.Buffer.allocUnsafe(D.length):new $(D.length),Q.set(D,V),D.copy(V),V;if(G.ArrayBuffer){if(G.ArrayBuffer.isView(D))return V=new $(D.buffer.slice(0)),Q.set(D,V),V;if(D instanceof G.ArrayBuffer)return V=D.slice(0),Q.set(D,V),V}return typeof D.then=="function"||D instanceof Error||G.WeakMap&&D instanceof G.WeakMap||G.WeakSet&&D instanceof G.WeakSet?D:W(D,G,j,Q)};return j(I,h())}return C.default=C,C.strict=function(N,U){return C(N,{isStrict:!0,realm:U?U.realm:void 0})},C})}($f)),$f.exports}var bi={},Ei={exports:{}},Iy;function yP(){return Iy||(Iy=1,function(e,t){t=e.exports=r,t.getSerialize=n;function r(a,o,s,i){return JSON.stringify(a,n(o,i),s)}function n(a,o){var s=[],i=[];return o==null&&(o=function(l,u){return s[0]===u?"[Circular ~]":"[Circular ~."+i.slice(0,s.indexOf(u)).join(".")+"]"}),function(l,u){if(s.length>0){var c=s.indexOf(this);~c?s.splice(c+1):s.push(this),~c?i.splice(c,1/0,l):i.push(l),~s.indexOf(u)&&(u=o.call(this,l,u))}else s.push(u);return a==null?u:a.call(this,l,u)}}}(Ei,Ei.exports)),Ei.exports}var Ny;function y_(){if(Ny)return bi;Ny=1,Object.defineProperty(bi,"__esModule",{value:!0}),bi.default=r;var e=t(yP());function t(n){return n&&n.__esModule?n:{default:n}}function r(n){return Object.defineProperty(n,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,e.default)(this,a,o,(s,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}return bi}var vP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gP=function(){function e(t,r){var n=[],a=!0,o=!1,s=void 0;try{for(var i=t[Symbol.iterator](),l;!(a=(l=i.next()).done)&&(n.push(l.value),!(r&&n.length===r));a=!0);}catch(u){o=!0,s=u}finally{try{!a&&i.return&&i.return()}finally{if(o)throw s}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function Qa(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var Ao={},bP=function(t){return t&&t.sys&&t.sys.type==="Link"},EP=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},_P=function(t){return t.space&&t.environment?[t.type+"!"+t.id,t.space.sys.id+"!"+t.environment.sys.id+"!"+t.type+"!"+t.id]:[t.type+"!"+t.id]},My=function(t,r){var n=r.entryId,a=r.linkType,o=r.spaceId,s=r.environmentId;return o&&s?t.get(o+"!"+s+"!"+a+"!"+n):t.get(a+"!"+n)},wP=function(t){var r=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(r.test(t)){var n=t.match(r),a=gP(n,4);a[0];var o=a[1],s=a[2],i=s===void 0?"master":s,l=a[3];return{spaceId:o,environmentId:i,entryId:l}}},TP=function(t,r){var n=r.sys,a=n.type,o=n.linkType;if(a==="ResourceLink"){var s=r.sys.urn,i=wP(s),l=i.spaceId,u=i.environmentId,c=i.entryId,d=o.split(":")[1];return My(t,{linkType:d,entryId:c,spaceId:l,environmentId:u})||Ao}var p=r.sys.id;return My(t,{linkType:o,entryId:p})||Ao},SP=function(t){if(Array.isArray(t))return t.filter(function(n){return n!==Ao});for(var r in t)t[r]===Ao&&delete t[r];return t},RP=function e(t,r,n,a){if(r(t))return n(t);if(t&&(typeof t>"u"?"undefined":vP(t))==="object"){for(var o in t)t.hasOwnProperty(o)&&(t[o]=e(t[o],r,n,a));a&&(t=SP(t))}return t},CP=function(t,r,n){var a=TP(t,r);return a===Ao?n?a:r:a},OP=function(t,r){if(!Array.isArray(r))return t;var n=Object.keys(t).filter(function(a){return r.indexOf(a)!==-1});return n.reduce(function(a,o){return a[o]=t[o],a},{})},xP=function(t,r){if(r=r||{},!t.items)return[];var n=Jr(t),a=Object.keys(n.includes||{}).reduce(function(i,l){return[].concat(Qa(i),Qa(t.includes[l]))},[]),o=[].concat(Qa(n.items),Qa(a)).filter(function(i){return!!i.sys}),s=new Map(o.reduce(function(i,l){var u=_P(l.sys).map(function(c){return[c,l]});return i.push.apply(i,Qa(u)),i},[]));return o.forEach(function(i){var l=OP(i,r.itemEntryPoints);Object.assign(i,RP(l,function(u){return bP(u)||EP(u)},function(u){return CP(s,u,r.removeUnresolved)},r.removeUnresolved))}),n.items};const PP=Object.freeze(Object.defineProperty({__proto__:null,default:xP},Symbol.toStringTag,{value:"Module"})),v_=Uo(PP);var $y;function AP(){if($y)return Xa;$y=1,Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.wrapEntry=o,Xa.wrapEntryCollection=s;var e=a(Ra()),t=ur,r=a(y_()),n=a(v_);function a(i){return i&&i.__esModule?i:{default:i}}function o(i){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(i)))}function s(i,l){let{resolveLinks:u,removeUnresolved:c}=l;const d=(0,r.default)((0,t.toPlainObject)((0,e.default)(i)));return u&&(d.items=(0,n.default)(d,{removeUnresolved:c,itemEntryPoints:["fields"]})),(0,t.freezeSys)(d)}return Xa}var Ja={},ky;function IP(){if(ky)return Ja;ky=1,Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.wrapAsset=n,Ja.wrapAssetCollection=a;var e=r(Ra()),t=ur;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Ja}var _i={},Ly;function NP(){if(Ly)return _i;Ly=1,Object.defineProperty(_i,"__esModule",{value:!0}),_i.wrapAssetKey=n;var e=r(Ra()),t=ur;function r(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(a)))}return _i}var Za={},By;function MP(){if(By)return Za;By=1,Object.defineProperty(Za,"__esModule",{value:!0}),Za.wrapContentType=n,Za.wrapContentTypeCollection=a;var e=r(Ra()),t=ur;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Za}var eo={},qy;function $P(){if(qy)return eo;qy=1,Object.defineProperty(eo,"__esModule",{value:!0}),eo.wrapLocale=n,eo.wrapLocaleCollection=a;var e=r(Ra()),t=ur;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return eo}var to={},Dy;function kP(){if(Dy)return to;Dy=1,Object.defineProperty(to,"__esModule",{value:!0}),to.wrapTag=n,to.wrapTagCollection=a;var e=r(Ra()),t=ur;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return to}var Fy;function LP(){if(Fy)return Ka;Fy=1,Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.default=void 0;var e=l(mP()),t=l(AP()),r=l(IP()),n=l(NP()),a=l(MP()),o=l($P()),s=l(kP());function i(c){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(i=function(f){return f?p:d})(c)}function l(c,d){if(!d&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var p=i(d);if(p&&p.has(c))return p.get(c);var f={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in c)if(m!=="default"&&Object.prototype.hasOwnProperty.call(c,m)){var _=h?Object.getOwnPropertyDescriptor(c,m):null;_&&(_.get||_.set)?Object.defineProperty(f,m,_):f[m]=c[m]}return f.default=c,p&&p.set(c,f),f}var u={space:e,entry:t,asset:r,assetKey:n,contentType:a,locale:o,tag:s};return Ka.default=u,Ka}var wi={},jy;function BP(){if(jy)return wi;jy=1,Object.defineProperty(wi,"__esModule",{value:!0}),wi.default=i;var e=ur,t=n(v_),r=n(y_());function n(d){return d&&d.__esModule?d:{default:d}}function a(d,p){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(d);p&&(h=h.filter(function(m){return Object.getOwnPropertyDescriptor(d,m).enumerable})),f.push.apply(f,h)}return f}function o(d){for(var p=1;p<arguments.length;p++){var f=arguments[p]!=null?arguments[p]:{};p%2?a(Object(f),!0).forEach(function(h){s(d,h,f[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):a(Object(f)).forEach(function(h){Object.defineProperty(d,h,Object.getOwnPropertyDescriptor(f,h))})}return d}function s(d,p,f){return p in d?Object.defineProperty(d,p,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[p]=f,d}async function i(d,p){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!p||!p.initial&&!p.nextSyncToken&&!p.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(p&&p.content_type&&!p.type)p.type="Entry";else if(p&&p.content_type&&p.type&&p.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const h={resolveLinks:!0,removeUnresolved:!1,paginate:!0},{resolveLinks:m,removeUnresolved:_,paginate:b}=o(o({},h),f),w=await u(d,[],p,{paginate:b});m&&(w.items=(0,t.default)(w,{removeUnresolved:_,itemEntryPoints:["fields"]}));const S=l(w.items);return w.nextSyncToken&&(S.nextSyncToken=w.nextSyncToken),w.nextPageToken&&(S.nextPageToken=w.nextPageToken),(0,e.freezeSys)((0,r.default)((0,e.toPlainObject)(S)))}function l(d){const p=f=>(h,m)=>(m.sys.type===f&&h.push((0,e.toPlainObject)(m)),h);return{entries:d.reduce(p("Entry"),[]),assets:d.reduce(p("Asset"),[]),deletedEntries:d.reduce(p("DeletedEntry"),[]),deletedAssets:d.reduce(p("DeletedAsset"),[])}}async function u(d,p,f,h){let{paginate:m}=h;f.nextSyncToken&&(f.sync_token=f.nextSyncToken,delete f.nextSyncToken),f.nextPageToken&&(f.sync_token=f.nextPageToken,delete f.nextPageToken),f.sync_token&&(delete f.initial,delete f.type,delete f.content_type,delete f.limit);const b=(await d.get("sync",(0,e.createRequestConfig)({query:f}))).data||{};return p=p.concat(b.items||[]),b.nextPageUrl?m?(delete f.initial,f.sync_token=c(b.nextPageUrl),u(d,p,f,{paginate:m})):{items:p,nextPageToken:c(b.nextPageUrl)}:b.nextSyncUrl?{items:p,nextSyncToken:c(b.nextSyncUrl)}:{items:[]}}function c(d){const p=d.split("?");return p.length>0?p[1].replace("sync_token=",""):""}return wi}var Ti={},Uy;function qP(){if(Uy)return Ti;Uy=1,Object.defineProperty(Ti,"__esModule",{value:!0}),Ti.default=n;function e(a,o){var s=Object.keys(a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(a);o&&(i=i.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),s.push.apply(s,i)}return s}function t(a){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?e(Object(s),!0).forEach(function(i){r(a,i,s[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEach(function(i){Object.defineProperty(a,i,Object.getOwnPropertyDescriptor(s,i))})}return a}function r(a,o,s){return o in a?Object.defineProperty(a,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[o]=s,a}function n(a){if(!a.select)return a;const o=Array.isArray(a.select)?a.select:a.select.split(","),s=new Set(o);return s.has("sys")?a:(s.add("sys.id"),s.add("sys.type"),t(t({},a),{},{select:[...s].join(",")}))}return Ti}var ra={},Hy;function DP(){if(Hy)return ra;Hy=1,Object.defineProperty(ra,"__esModule",{value:!0}),ra.ValidationError=void 0,ra.default=t;class e extends Error{constructor(n,a){super(`Invalid "${n}" provided, `+a),this.name="ValidationError"}}ra.ValidationError=e;function t(r,n,a){if(a=a||{},typeof n!="number")throw new e(r,`only numeric values are allowed for timestamps, provided type was "${typeof n}"`);if(a.maximum&&n>a.maximum)throw new e(r,`value (${n}) cannot be further in the future than expected maximum (${a.maximum})`);if(a.now&&n<a.now)throw new e(r,`value (${n}) cannot be in the past, current time was ${a.now}`)}return ra}var Gy;function FP(){if(Gy)return vi;Gy=1,Object.defineProperty(vi,"__esModule",{value:!0}),vi.default=c;var e=ur,t=o(LP()),r=o(BP()),n=o(qP()),a=o(DP());function o(d){return d&&d.__esModule?d:{default:d}}function s(d,p){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(d);p&&(h=h.filter(function(m){return Object.getOwnPropertyDescriptor(d,m).enumerable})),f.push.apply(f,h)}return f}function i(d){for(var p=1;p<arguments.length;p++){var f=arguments[p]!=null?arguments[p]:{};p%2?s(Object(f),!0).forEach(function(h){l(d,h,f[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):s(Object(f)).forEach(function(h){Object.defineProperty(d,h,Object.getOwnPropertyDescriptor(f,h))})}return d}function l(d,p,f){return p in d?Object.defineProperty(d,p,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[p]=f,d}const u=48*60*60;function c(d){let{http:p,getGlobalOptions:f}=d;const{wrapSpace:h}=t.default.space,{wrapContentType:m,wrapContentTypeCollection:_}=t.default.contentType,{wrapEntry:b,wrapEntryCollection:v}=t.default.entry,{wrapAsset:w,wrapAssetCollection:S}=t.default.asset,{wrapTag:T,wrapTagCollection:C}=t.default.tag,{wrapAssetKey:I}=t.default.assetKey,{wrapLocaleCollection:N}=t.default.locale,U=ie=>{const le=new Error("The resource could not be found.");return le.sys={type:"Error",id:"NotFound"},le.details={type:"Entry",id:ie,environment:f().environment,space:f().space},le};async function G(){We(p);try{const ie=await p.get("/");return h(ie.data)}catch(ie){(0,e.errorHandler)(ie)}}async function W(ie){ge(p);try{const le=await p.get(`content_types/${ie}`);return m(le.data)}catch(le){(0,e.errorHandler)(le)}}async function j(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(p);try{const le=await p.get("content_types",(0,e.createRequestConfig)({query:ie}));return _(le.data)}catch(le){(0,e.errorHandler)(le)}}async function D(ie){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ie)throw U(ie);try{const xe=await this.getEntries(i({"sys.id":ie},le));if(xe.items.length>0)return b(xe.items[0]);throw U(ie)}catch(xe){(0,e.errorHandler)(xe)}}async function Q(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(p);const{resolveLinks:le,removeUnresolved:xe}=f(ie);ie=(0,n.default)(ie);try{const qe=await p.get("entries",(0,e.createRequestConfig)({query:ie}));return v(qe.data,{resolveLinks:le,removeUnresolved:xe})}catch(qe){(0,e.errorHandler)(qe)}}async function J(ie){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ge(p),le=(0,n.default)(le);try{const xe=await p.get(`assets/${ie}`,(0,e.createRequestConfig)({query:le}));return w(xe.data)}catch(xe){(0,e.errorHandler)(xe)}}async function $(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(p),ie=(0,n.default)(ie);try{const le=await p.get("assets",(0,e.createRequestConfig)({query:ie}));return S(le.data)}catch(le){(0,e.errorHandler)(le)}}async function V(ie){ge(p);try{const le=await p.get(`tags/${ie}`);return T(le.data)}catch(le){(0,e.errorHandler)(le)}}async function ee(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(p),ie=(0,n.default)(ie);try{const le=await p.get("tags",(0,e.createRequestConfig)({query:ie}));return C(le.data)}catch(le){(0,e.errorHandler)(le)}}async function ve(ie){ge(p);try{const le=Math.floor(Date.now()/1e3),xe=le+u;(0,a.default)("expiresAt",ie,{maximum:xe,now:le});const qe={expiresAt:ie},it=await p.post("asset_keys",qe);return I(it.data)}catch(le){(0,e.errorHandler)(le)}}async function te(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(p);try{const le=await p.get("locales",(0,e.createRequestConfig)({query:ie}));return N(le.data)}catch(le){(0,e.errorHandler)(le)}}async function ne(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:xe,removeUnresolved:qe}=f(ie);return ge(p),(0,r.default)(p,ie,i({resolveLinks:xe,removeUnresolved:qe},le))}function me(ie){const{resolveLinks:le,removeUnresolved:xe}=f({});return v(ie,{resolveLinks:le,removeUnresolved:xe})}function ge(ie){ie.defaults.baseURL=f().environmentBaseUrl}function We(ie){ie.defaults.baseURL=f().spaceBaseUrl}return{getSpace:G,getContentType:W,getContentTypes:j,getEntry:D,getEntries:Q,getAsset:J,getAssets:$,getTag:V,getTags:ee,createAssetKey:ve,getLocales:te,parseEntries:me,sync:ne}}return vi}var Si={},Wy;function jP(){if(Wy)return Si;Wy=1,Object.defineProperty(Si,"__esModule",{value:!0}),Si.default=e;function e(t){return function(n){return Object.assign({},t,n)}}return Si}var Vy;function UP(){if(Vy)return fi;Vy=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.createClient=l;var e=a(GE()),t=ur,r=a(FP()),n=a(jP());function a(u){return u&&u.__esModule?u:{default:u}}function o(u,c){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(u);c&&(p=p.filter(function(f){return Object.getOwnPropertyDescriptor(u,f).enumerable})),d.push.apply(d,p)}return d}function s(u){for(var c=1;c<arguments.length;c++){var d=arguments[c]!=null?arguments[c]:{};c%2?o(Object(d),!0).forEach(function(p){i(u,p,d[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):o(Object(d)).forEach(function(p){Object.defineProperty(u,p,Object.getOwnPropertyDescriptor(d,p))})}return u}function i(u,c,d){return c in u?Object.defineProperty(u,c,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[c]=d,u}function l(u){if(!u.accessToken)throw new TypeError("Expected parameter accessToken");if(!u.space)throw new TypeError("Expected parameter space");const d=s(s({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),u),p=(0,t.getUserAgentHeader)("contentful.js/9.1.34",d.application,d.integration);d.headers=s(s({},d.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":p});const f=(0,t.createHttpClient)(e.default,d),h=(0,n.default)({resolveLinks:d.resolveLinks,environment:d.environment,removeUnresolved:d.removeUnresolved,spaceBaseUrl:f.defaults.baseURL,environmentBaseUrl:`${f.defaults.baseURL}environments/${d.environment}`});return f.defaults.baseURL=h().environmentBaseUrl,(0,r.default)({http:f,getGlobalOptions:h})}return fi}var kf={},Lf,zy;function HP(){return zy||(zy=1,Lf=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Lf}var Bf,Yy;function GP(){if(Yy)return Bf;Yy=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,i){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;i=i||1;var l=s.slice(0,i),u=s.slice(i);return Array.prototype.concat.call([],n(l),n(u))}function a(s){try{return decodeURIComponent(s)}catch{for(var i=s.match(t)||[],l=1;l<i.length;l++)s=n(i,l).join(""),i=s.match(t)||[];return s}}function o(s){for(var i={"%FE%FF":"��","%FF%FE":"��"},l=r.exec(s);l;){try{i[l[0]]=decodeURIComponent(l[0])}catch{var u=a(l[0]);u!==l[0]&&(i[l[0]]=u)}l=r.exec(s)}i["%C2"]="�";for(var c=Object.keys(i),d=0;d<c.length;d++){var p=c[d];s=s.replace(new RegExp(p,"g"),i[p])}return s}return Bf=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return o(s)}},Bf}var qf,Ky;function WP(){return Ky||(Ky=1,qf=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),qf}var Df,Xy;function VP(){return Xy||(Xy=1,Df=function(e,t){for(var r={},n=Object.keys(e),a=Array.isArray(t),o=0;o<n.length;o++){var s=n[o],i=e[s];(a?t.indexOf(s)!==-1:t(s,i,e))&&(r[s]=i)}return r}),Df}var Qy;function zP(){return Qy||(Qy=1,function(e){const t=HP(),r=GP(),n=WP(),a=VP(),o=v=>v==null,s=Symbol("encodeFragmentIdentifier");function i(v){switch(v.arrayFormat){case"index":return w=>(S,T)=>{const C=S.length;return T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?S:T===null?[...S,[c(w,v),"[",C,"]"].join("")]:[...S,[c(w,v),"[",c(C,v),"]=",c(T,v)].join("")]};case"bracket":return w=>(S,T)=>T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?S:T===null?[...S,[c(w,v),"[]"].join("")]:[...S,[c(w,v),"[]=",c(T,v)].join("")];case"colon-list-separator":return w=>(S,T)=>T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?S:T===null?[...S,[c(w,v),":list="].join("")]:[...S,[c(w,v),":list=",c(T,v)].join("")];case"comma":case"separator":case"bracket-separator":{const w=v.arrayFormat==="bracket-separator"?"[]=":"=";return S=>(T,C)=>C===void 0||v.skipNull&&C===null||v.skipEmptyString&&C===""?T:(C=C===null?"":C,T.length===0?[[c(S,v),w,c(C,v)].join("")]:[[T,c(C,v)].join(v.arrayFormatSeparator)])}default:return w=>(S,T)=>T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?S:T===null?[...S,c(w,v)]:[...S,[c(w,v),"=",c(T,v)].join("")]}}function l(v){let w;switch(v.arrayFormat){case"index":return(S,T,C)=>{if(w=/\[(\d*)\]$/.exec(S),S=S.replace(/\[\d*\]$/,""),!w){C[S]=T;return}C[S]===void 0&&(C[S]={}),C[S][w[1]]=T};case"bracket":return(S,T,C)=>{if(w=/(\[\])$/.exec(S),S=S.replace(/\[\]$/,""),!w){C[S]=T;return}if(C[S]===void 0){C[S]=[T];return}C[S]=[].concat(C[S],T)};case"colon-list-separator":return(S,T,C)=>{if(w=/(:list)$/.exec(S),S=S.replace(/:list$/,""),!w){C[S]=T;return}if(C[S]===void 0){C[S]=[T];return}C[S]=[].concat(C[S],T)};case"comma":case"separator":return(S,T,C)=>{const I=typeof T=="string"&&T.includes(v.arrayFormatSeparator),N=typeof T=="string"&&!I&&d(T,v).includes(v.arrayFormatSeparator);T=N?d(T,v):T;const U=I||N?T.split(v.arrayFormatSeparator).map(G=>d(G,v)):T===null?T:d(T,v);C[S]=U};case"bracket-separator":return(S,T,C)=>{const I=/(\[\])$/.test(S);if(S=S.replace(/\[\]$/,""),!I){C[S]=T&&d(T,v);return}const N=T===null?[]:T.split(v.arrayFormatSeparator).map(U=>d(U,v));if(C[S]===void 0){C[S]=N;return}C[S]=[].concat(C[S],N)};default:return(S,T,C)=>{if(C[S]===void 0){C[S]=T;return}C[S]=[].concat(C[S],T)}}}function u(v){if(typeof v!="string"||v.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function c(v,w){return w.encode?w.strict?t(v):encodeURIComponent(v):v}function d(v,w){return w.decode?r(v):v}function p(v){return Array.isArray(v)?v.sort():typeof v=="object"?p(Object.keys(v)).sort((w,S)=>Number(w)-Number(S)).map(w=>v[w]):v}function f(v){const w=v.indexOf("#");return w!==-1&&(v=v.slice(0,w)),v}function h(v){let w="";const S=v.indexOf("#");return S!==-1&&(w=v.slice(S)),w}function m(v){v=f(v);const w=v.indexOf("?");return w===-1?"":v.slice(w+1)}function _(v,w){return w.parseNumbers&&!Number.isNaN(Number(v))&&typeof v=="string"&&v.trim()!==""?v=Number(v):w.parseBooleans&&v!==null&&(v.toLowerCase()==="true"||v.toLowerCase()==="false")&&(v=v.toLowerCase()==="true"),v}function b(v,w){w=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},w),u(w.arrayFormatSeparator);const S=l(w),T=Object.create(null);if(typeof v!="string"||(v=v.trim().replace(/^[?#&]/,""),!v))return T;for(const C of v.split("&")){if(C==="")continue;let[I,N]=n(w.decode?C.replace(/\+/g," "):C,"=");N=N===void 0?null:["comma","separator","bracket-separator"].includes(w.arrayFormat)?N:d(N,w),S(d(I,w),N,T)}for(const C of Object.keys(T)){const I=T[C];if(typeof I=="object"&&I!==null)for(const N of Object.keys(I))I[N]=_(I[N],w);else T[C]=_(I,w)}return w.sort===!1?T:(w.sort===!0?Object.keys(T).sort():Object.keys(T).sort(w.sort)).reduce((C,I)=>{const N=T[I];return N&&typeof N=="object"&&!Array.isArray(N)?C[I]=p(N):C[I]=N,C},Object.create(null))}e.extract=m,e.parse=b,e.stringify=(v,w)=>{if(!v)return"";w=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},w),u(w.arrayFormatSeparator);const S=N=>w.skipNull&&o(v[N])||w.skipEmptyString&&v[N]==="",T=i(w),C={};for(const N of Object.keys(v))S(N)||(C[N]=v[N]);const I=Object.keys(C);return w.sort!==!1&&I.sort(w.sort),I.map(N=>{const U=v[N];return U===void 0?"":U===null?c(N,w):Array.isArray(U)?U.length===0&&w.arrayFormat==="bracket-separator"?c(N,w)+"[]":U.reduce(T(N),[]).join("&"):c(N,w)+"="+c(U,w)}).filter(N=>N.length>0).join("&")},e.parseUrl=(v,w)=>{w=Object.assign({decode:!0},w);const[S,T]=n(v,"#");return Object.assign({url:S.split("?")[0]||"",query:b(m(v),w)},w&&w.parseFragmentIdentifier&&T?{fragmentIdentifier:d(T,w)}:{})},e.stringifyUrl=(v,w)=>{w=Object.assign({encode:!0,strict:!0,[s]:!0},w);const S=f(v.url).split("?")[0]||"",T=e.extract(v.url),C=e.parse(T,{sort:!1}),I=Object.assign(C,v.query);let N=e.stringify(I,w);N&&(N=`?${N}`);let U=h(v.url);return v.fragmentIdentifier&&(U=`#${w[s]?c(v.fragmentIdentifier,w):v.fragmentIdentifier}`),`${S}${N}${U}`},e.pick=(v,w,S)=>{S=Object.assign({parseFragmentIdentifier:!0,[s]:!1},S);const{url:T,query:C,fragmentIdentifier:I}=e.parseUrl(v,S);return e.stringifyUrl({url:T,query:a(C,w),fragmentIdentifier:I},S)},e.exclude=(v,w,S)=>{const T=Array.isArray(w)?C=>!w.includes(C):(C,I)=>!w(C,I);return e.pick(v,T,S)}}(kf)),kf}var Jy;function YP(){return Jy||(Jy=1,function(e,t){(function(r,n){e.exports=n(UP(),zP())})(be,function(r,n){return function(){var a={897:function(l){l.exports=r},48:function(l){l.exports=n}},o={};function s(l){var u=o[l];if(u!==void 0)return u.exports;var c=o[l]={exports:{}};return a[l](c,c.exports,s),c.exports}s.d=function(l,u){for(var c in u)s.o(u,c)&&!s.o(l,c)&&Object.defineProperty(l,c,{enumerable:!0,get:u[c]})},s.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},s.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})};var i={};return function(){s.r(i),s.d(i,{getEntries:function(){return Q},getEntry:function(){return D},setContext:function(){return m}});var l=s(897),u=s(48),c={CONTENTFUL:{ENVIRONMENTS_MAPING:{beta:"beta",rc:"rc",live:"master",local:"beta"},LOCALES:{DEFAULT:"en",SUPPORTED:["en","es","fr","pt"]},SPACE:"txbhe1wabmyx",HOSTS:{CDN:"cdn.contentful.com",PREVIEW:"preview.contentful.com"}}};const{CONTENTFUL:{ENVIRONMENTS_MAPING:d,SPACE:p,HOSTS:f}}=c;let h={apiKey:null,previewKey:null,environment:null,isPreview:!1,host:f.CDN,space:p};const m=({apiKey:J,environment:$,isPreview:V=!1,location:ee,previewKey:ve,space:te=null})=>{h.apiKey=J,h.previewKey=ve,h.environment=(ne=>{if(!ne)throw new Error("Cannot map environment: Environment not defined");if(!d[ne])throw new Error(`Cannot map environment: No mapping found for environment ${ne}`);return d[ne]})($),h.isPreview=V||(ne=>{let me=!1;if(ne&&ne.search){const ge=(0,u.parse)(ne.search);me=ge.isPreview&&ge.isPreview==="true"}return me})(ee),h.space=te||p},_=(J=!1)=>{const{apiKey:$,environment:V,isPreview:ee,previewKey:ve,space:te}=h;return ee===!0||J===!0?{accessToken:ve,environment:V,host:f.PREVIEW,space:te}:{accessToken:$,environment:V,host:f.CDN,space:te}},b=J=>typeof J=="object"&&J!==null,v=J=>Array.isArray(J)&&J.length,w=J=>{if(!b(J))throw new Error("Cannot flatten fields");const{fields:$,sys:V}=J;if(!$)throw new Error("Cannot flatten fields");let ee={...$};if(b(V)){const{contentType:ve,createdAt:te,updatedAt:ne}=V;ve&&Object.assign(ee,{contentType:ve.sys.id}),te&&Object.assign(ee,{createdAt:te}),ne&&Object.assign(ee,{updatedAt:ne})}return ee},{CONTENTFUL:{LOCALES:S}}=c,T=(J,$)=>b(J)&&((V,ee)=>Object.prototype.hasOwnProperty.call(V,ee))(J,$),C=(J,$)=>{const V=(ee=>S.SUPPORTED.includes(ee)?ee:S.DEFAULT)($);return T(J,V)?J[V]:T(J,S.DEFAULT)?J[S.DEFAULT]:J},I=J=>b(J)&&J.sys&&J.sys.type==="Asset",N=(J,$,V)=>{const{title:ee,file:ve}=w(J);if(!ve)throw new Error("Cannot flatten asset");const{contentType:te,fileName:ne,url:me,details:ge}=C(ve,$);if(!me)throw new Error("Cannot flatten asset");return V?{description:ee||ne,height:ge&&ge.image&&ge.image.height,type:te,url:me,width:ge&&ge.image&&ge.image.width}:me},U=J=>b(J)&&J.sys&&J.sys.type==="Entry",G=(J,$,V)=>{const ee={},ve=((te,ne)=>{const me={};for(const[ge,We]of Object.entries(te))me[ge]=C(We,ne);return me})(w(J),$);for(const[te,ne]of Object.entries(ve))I(ne)?ee[te]=N(ne,$,V):U(ne)?ee[te]=G(ne,$,V):v(ne)?ee[te]=ne.map(me=>I(me)?N(me,$,V):U(me)?G(me,$,V):me):ee[te]=ne;return ee},W=({items:J})=>{if(!v(J))throw new Error("Cannot read items");return J},j=async(J,$)=>{const V=_($);return await(await(0,l.createClient)(V)).getEntries(J)},D=async(J={},$={},V=!1)=>((ee,{flatten:ve=!0,locale:te="en",assetDetails:ne=!1})=>{const me=W(ee);return ve?G(me[0],te,ne):me[0]})(await j(J,V),{...J,...$}),Q=async(J={},$={},V=!1)=>((ee,{flatten:ve=!0,locale:te="en",assetDetails:ne=!1})=>{const me=W(ee);return ve?((ge,We,ie)=>ge.map(le=>G(le,We,ie)))(me,te,ne):me})(await j(J,V),{...J,...$})}(),i}()})}(Hc)),Hc.exports}var Ff={exports:{}},jf={exports:{}},Uf={exports:{}},Hf={exports:{}},Zy;function Ih(){return Zy||(Zy=1,function(e,t){(function(r,n){e.exports=n()})(be,function(){function r(m){return!isNaN(parseFloat(m))&&isFinite(m)}function n(m){return m.charAt(0).toUpperCase()+m.substring(1)}function a(m){return function(){return this[m]}}var o=["isConstructor","isEval","isNative","isToplevel"],s=["columnNumber","lineNumber"],i=["fileName","functionName","source"],l=["args"],u=["evalOrigin"],c=o.concat(s,i,l,u);function d(m){if(m)for(var _=0;_<c.length;_++)m[c[_]]!==void 0&&this["set"+n(c[_])](m[c[_]])}d.prototype={getArgs:function(){return this.args},setArgs:function(m){if(Object.prototype.toString.call(m)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=m},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(m){if(m instanceof d)this.evalOrigin=m;else if(m instanceof Object)this.evalOrigin=new d(m);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var m=this.getFileName()||"",_=this.getLineNumber()||"",b=this.getColumnNumber()||"",v=this.getFunctionName()||"";return this.getIsEval()?m?"[eval] ("+m+":"+_+":"+b+")":"[eval]:"+_+":"+b:v?v+" ("+m+":"+_+":"+b+")":m+":"+_+":"+b}},d.fromString=function(_){var b=_.indexOf("("),v=_.lastIndexOf(")"),w=_.substring(0,b),S=_.substring(b+1,v).split(","),T=_.substring(v+1);if(T.indexOf("@")===0)var C=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(T,""),I=C[1],N=C[2],U=C[3];return new d({functionName:w,args:S||void 0,fileName:I,lineNumber:N||void 0,columnNumber:U||void 0})};for(var p=0;p<o.length;p++)d.prototype["get"+n(o[p])]=a(o[p]),d.prototype["set"+n(o[p])]=function(m){return function(_){this[m]=!!_}}(o[p]);for(var f=0;f<s.length;f++)d.prototype["get"+n(s[f])]=a(s[f]),d.prototype["set"+n(s[f])]=function(m){return function(_){if(!r(_))throw new TypeError(m+" must be a Number");this[m]=Number(_)}}(s[f]);for(var h=0;h<i.length;h++)d.prototype["get"+n(i[h])]=a(i[h]),d.prototype["set"+n(i[h])]=function(m){return function(_){this[m]=String(_)}}(i[h]);return d})}(Hf)),Hf.exports}var ev;function KP(){return ev||(ev=1,function(e,t){(function(r,n){e.exports=n(Ih())})(be,function(n){var a=/(^|@)\S+:\d+/,o=/^\s*at .*(\S+:\d+|\(native\))/m,s=/^(eval@)?(\[native code])?$/;return{parse:function(l){if(typeof l.stacktrace<"u"||typeof l["opera#sourceloc"]<"u")return this.parseOpera(l);if(l.stack&&l.stack.match(o))return this.parseV8OrIE(l);if(l.stack)return this.parseFFOrSafari(l);throw new Error("Cannot parse given Error object")},extractLocation:function(l){if(l.indexOf(":")===-1)return[l];var u=/(.+?)(?::(\d+))?(?::(\d+))?$/,c=u.exec(l.replace(/[()]/g,""));return[c[1],c[2]||void 0,c[3]||void 0]},parseV8OrIE:function(l){var u=l.stack.split(`
34
+ `),r}return!0}function R_(e){var t=Object.getOwnPropertyNames(e),r=rP(t),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,o=e[a];o&&vp(o)==="object"&&R_(o)}}catch(s){r.e(s)}finally{r.f()}return Object.freeze(e)}function vP(e){return R_(e.sys||{}),e}function Ly(){var e=lP();if(!e)return null;var t=e.navigator.userAgent,r=e.navigator.platform,n=["Macintosh","MacIntel","MacPPC","Mac68K"],a=["Win32","Win64","Windows","WinCE"],o=["iPhone","iPad","iPod"];return n.indexOf(r)!==-1?"macOS":o.indexOf(r)!==-1?"iOS":a.indexOf(r)!==-1?"Windows":/Android/.test(t)?"Android":/Linux/.test(r)?"Linux":null}function gP(){var e=process.platform||"linux",t=process.version||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in r?"".concat(r[e]||"Linux","/").concat(t):null}function bP(e,t,r,n){var a=[];t&&a.push("app ".concat(t)),r&&a.push("integration ".concat(r)),n&&a.push("feature "+n),a.push("sdk ".concat(e));var o=null;try{iP()?(o=Ly(),a.push("platform ReactNative")):oP()?(o=gP(),a.push("platform node.js/".concat(sP()))):(o=Ly(),a.push("platform browser"))}catch{o=null}return o&&a.push("os ".concat(o)),"".concat(a.filter(function(s){return s!==""}).join("; "),";")}function EP(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Fn(this)}})}function _P(e){var t=e.config,r=e.response,n;if(t&&t.headers&&t.headers.Authorization){var a="...".concat(t.headers.Authorization.toString().substr(-5));t.headers.Authorization="Bearer ".concat(a)}if(!Mi(r)||!Mi(t))throw e;var o=r==null?void 0:r.data,s={status:r==null?void 0:r.status,statusText:r==null?void 0:r.statusText,message:"",details:{}};Mi(t)&&(s.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),o&&Mi(o)&&("requestId"in o&&(s.requestId=o.requestId||"UNKNOWN"),"message"in o&&(s.message=o.message||""),"details"in o&&(s.details=o.details||{}),"sys"in o&&"id"in o.sys&&(n=o.sys.id));var i=new Error;i.name=n&&n!=="Unknown"?n:"".concat(r==null?void 0:r.status," ").concat(r==null?void 0:r.statusText);try{i.message=JSON.stringify(s,null," ")}catch{var l;i.message=(l=s==null?void 0:s.message)!==null&&l!==void 0?l:""}throw i}const wP=Object.freeze(Object.defineProperty({__proto__:null,createHttpClient:S_,createRequestConfig:mP,enforceObjPath:yP,errorHandler:_P,freezeSys:vP,getUserAgentHeader:bP,toPlainObject:EP},Symbol.toStringTag,{value:"Module"})),qr=mi(wP);var $i={},To={},ki={},By;function TP(){if(By)return ki;By=1,Object.defineProperty(ki,"__esModule",{value:!0}),ki.wrapSpace=t;var e=qr;function t(r){return(0,e.freezeSys)((0,e.toPlainObject)(r))}return ki}var So={},Ff={exports:{}},Dy;function uo(){return Dy||(Dy=1,function(e,t){(function(r,n){e.exports=n()})(be,function(){var r=Function.prototype.toString,n=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,l=Object.getPrototypeOf,u=Object.prototype,c=u.hasOwnProperty,d=u.propertyIsEnumerable,p=typeof i=="function",f=typeof WeakMap=="function",h=function(){if(f)return function(){return new WeakMap};var N=function(){function M(){this._keys=[],this._values=[]}return M.prototype.has=function(H){return!!~this._keys.indexOf(H)},M.prototype.get=function(H){return this._values[this._keys.indexOf(H)]},M.prototype.set=function(H,G){this._keys.push(H),this._values.push(G)},M}();return function(){return new N}}(),m=function(N,M){var H=N.__proto__||l(N);if(!H)return n(null);var G=H.constructor;if(G===M.Object)return H===M.Object.prototype?{}:n(H);if(~r.call(G).indexOf("[native code]"))try{return new G}catch{}return n(H)},w=function(N,M,H,G){var W=m(N,M);G.set(N,W);for(var U in N)c.call(N,U)&&(W[U]=H(N[U],G));if(p)for(var j=i(N),Z=0,ee=j.length,L=void 0;Z<ee;++Z)L=j[Z],d.call(N,L)&&(W[L]=H(N[L],G));return W},E=function(N,M,H,G){var W=m(N,M);G.set(N,W);for(var U=p?s(N).concat(i(N)):s(N),j=0,Z=U.length,ee=void 0,L=void 0;j<Z;++j)if(ee=U[j],ee!=="callee"&&ee!=="caller")if(L=o(N,ee),L){!L.get&&!L.set&&(L.value=H(N[ee],G));try{a(W,ee,L)}catch{W[ee]=L.value}}else W[ee]=H(N[ee],G);return W},y=function(N){var M="";return N.global&&(M+="g"),N.ignoreCase&&(M+="i"),N.multiline&&(M+="m"),N.unicode&&(M+="u"),N.sticky&&(M+="y"),M},T=Array.isArray,R=Object.getPrototypeOf,S=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof be<"u"?be:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function O(N,M){var H=!!(M&&M.isStrict),G=M&&M.realm||S,W=H?E:w,U=function(j,Z){if(!j||typeof j!="object")return j;if(Z.has(j))return Z.get(j);var ee=j.__proto__||R(j),L=ee&&ee.constructor;if(!L||L===G.Object)return W(j,G,U,Z);var K;if(T(j)){if(H)return E(j,G,U,Z);K=new L,Z.set(j,K);for(var re=0,ge=j.length;re<ge;++re)K[re]=U(j[re],Z);return K}if(j instanceof G.Date)return new L(j.getTime());if(j instanceof G.RegExp)return K=new L(j.source,j.flags||y(j)),K.lastIndex=j.lastIndex,K;if(G.Map&&j instanceof G.Map)return K=new L,Z.set(j,K),j.forEach(function(ne,oe){K.set(oe,U(ne,Z))}),K;if(G.Set&&j instanceof G.Set)return K=new L,Z.set(j,K),j.forEach(function(ne){K.add(U(ne,Z))}),K;if(G.Blob&&j instanceof G.Blob)return j.slice(0,j.size,j.type);if(G.Buffer&&G.Buffer.isBuffer(j))return K=G.Buffer.allocUnsafe?G.Buffer.allocUnsafe(j.length):new L(j.length),Z.set(j,K),j.copy(K),K;if(G.ArrayBuffer){if(G.ArrayBuffer.isView(j))return K=new L(j.buffer.slice(0)),Z.set(j,K),K;if(j instanceof G.ArrayBuffer)return K=j.slice(0),Z.set(j,K),K}return typeof j.then=="function"||j instanceof Error||G.WeakMap&&j instanceof G.WeakMap||G.WeakSet&&j instanceof G.WeakSet?j:W(j,G,U,Z)};return U(N,h())}return O.default=O,O.strict=function(M,H){return O(M,{isStrict:!0,realm:H?H.realm:void 0})},O})}(Ff)),Ff.exports}var Li={},Bi={exports:{}},qy;function SP(){return qy||(qy=1,function(e,t){t=e.exports=r,t.getSerialize=n;function r(a,o,s,i){return JSON.stringify(a,n(o,i),s)}function n(a,o){var s=[],i=[];return o==null&&(o=function(l,u){return s[0]===u?"[Circular ~]":"[Circular ~."+i.slice(0,s.indexOf(u)).join(".")+"]"}),function(l,u){if(s.length>0){var c=s.indexOf(this);~c?s.splice(c+1):s.push(this),~c?i.splice(c,1/0,l):i.push(l),~s.indexOf(u)&&(u=o.call(this,l,u))}else s.push(u);return a==null?u:a.call(this,l,u)}}}(Bi,Bi.exports)),Bi.exports}var Fy;function C_(){if(Fy)return Li;Fy=1,Object.defineProperty(Li,"__esModule",{value:!0}),Li.default=r;var e=t(SP());function t(n){return n&&n.__esModule?n:{default:n}}function r(n){return Object.defineProperty(n,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,e.default)(this,a,o,(s,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}return Li}var RP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},CP=function(){function e(t,r){var n=[],a=!0,o=!1,s=void 0;try{for(var i=t[Symbol.iterator](),l;!(a=(l=i.next()).done)&&(n.push(l.value),!(r&&n.length===r));a=!0);}catch(u){o=!0,s=u}finally{try{!a&&i.return&&i.return()}finally{if(o)throw s}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function Ro(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var ni={},xP=function(t){return t&&t.sys&&t.sys.type==="Link"},OP=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},PP=function(t){return t.space&&t.environment?[t.type+"!"+t.id,t.space.sys.id+"!"+t.environment.sys.id+"!"+t.type+"!"+t.id]:[t.type+"!"+t.id]},jy=function(t,r){var n=r.entryId,a=r.linkType,o=r.spaceId,s=r.environmentId;return o&&s?t.get(o+"!"+s+"!"+a+"!"+n):t.get(a+"!"+n)},AP=function(t){var r=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(r.test(t)){var n=t.match(r),a=CP(n,4);a[0];var o=a[1],s=a[2],i=s===void 0?"master":s,l=a[3];return{spaceId:o,environmentId:i,entryId:l}}},IP=function(t,r){var n=r.sys,a=n.type,o=n.linkType;if(a==="ResourceLink"){var s=r.sys.urn,i=AP(s),l=i.spaceId,u=i.environmentId,c=i.entryId,d=o.split(":")[1];return jy(t,{linkType:d,entryId:c,spaceId:l,environmentId:u})||ni}var p=r.sys.id;return jy(t,{linkType:o,entryId:p})||ni},NP=function(t){if(Array.isArray(t))return t.filter(function(n){return n!==ni});for(var r in t)t[r]===ni&&delete t[r];return t},MP=function e(t,r,n,a){if(r(t))return n(t);if(t&&(typeof t>"u"?"undefined":RP(t))==="object"){for(var o in t)t.hasOwnProperty(o)&&(t[o]=e(t[o],r,n,a));a&&(t=NP(t))}return t},$P=function(t,r,n){var a=IP(t,r);return a===ni?n?a:r:a},kP=function(t,r){if(!Array.isArray(r))return t;var n=Object.keys(t).filter(function(a){return r.indexOf(a)!==-1});return n.reduce(function(a,o){return a[o]=t[o],a},{})},LP=function(t,r){if(r=r||{},!t.items)return[];var n=Fn(t),a=Object.keys(n.includes||{}).reduce(function(i,l){return[].concat(Ro(i),Ro(t.includes[l]))},[]),o=[].concat(Ro(n.items),Ro(a)).filter(function(i){return!!i.sys}),s=new Map(o.reduce(function(i,l){var u=PP(l.sys).map(function(c){return[c,l]});return i.push.apply(i,Ro(u)),i},[]));return o.forEach(function(i){var l=kP(i,r.itemEntryPoints);Object.assign(i,MP(l,function(u){return xP(u)||OP(u)},function(u){return $P(s,u,r.removeUnresolved)},r.removeUnresolved))}),n.items};const BP=Object.freeze(Object.defineProperty({__proto__:null,default:LP},Symbol.toStringTag,{value:"Module"})),x_=mi(BP);var Uy;function DP(){if(Uy)return So;Uy=1,Object.defineProperty(So,"__esModule",{value:!0}),So.wrapEntry=o,So.wrapEntryCollection=s;var e=a(uo()),t=qr,r=a(C_()),n=a(x_);function a(i){return i&&i.__esModule?i:{default:i}}function o(i){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(i)))}function s(i,l){let{resolveLinks:u,removeUnresolved:c}=l;const d=(0,r.default)((0,t.toPlainObject)((0,e.default)(i)));return u&&(d.items=(0,n.default)(d,{removeUnresolved:c,itemEntryPoints:["fields"]})),(0,t.freezeSys)(d)}return So}var Co={},Hy;function qP(){if(Hy)return Co;Hy=1,Object.defineProperty(Co,"__esModule",{value:!0}),Co.wrapAsset=n,Co.wrapAssetCollection=a;var e=r(uo()),t=qr;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Co}var Di={},Gy;function FP(){if(Gy)return Di;Gy=1,Object.defineProperty(Di,"__esModule",{value:!0}),Di.wrapAssetKey=n;var e=r(uo()),t=qr;function r(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(a)))}return Di}var xo={},Wy;function jP(){if(Wy)return xo;Wy=1,Object.defineProperty(xo,"__esModule",{value:!0}),xo.wrapContentType=n,xo.wrapContentTypeCollection=a;var e=r(uo()),t=qr;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return xo}var Oo={},Vy;function UP(){if(Vy)return Oo;Vy=1,Object.defineProperty(Oo,"__esModule",{value:!0}),Oo.wrapLocale=n,Oo.wrapLocaleCollection=a;var e=r(uo()),t=qr;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Oo}var Po={},zy;function HP(){if(zy)return Po;zy=1,Object.defineProperty(Po,"__esModule",{value:!0}),Po.wrapTag=n,Po.wrapTagCollection=a;var e=r(uo()),t=qr;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Po}var Yy;function GP(){if(Yy)return To;Yy=1,Object.defineProperty(To,"__esModule",{value:!0}),To.default=void 0;var e=l(TP()),t=l(DP()),r=l(qP()),n=l(FP()),a=l(jP()),o=l(UP()),s=l(HP());function i(c){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(i=function(f){return f?p:d})(c)}function l(c,d){if(!d&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var p=i(d);if(p&&p.has(c))return p.get(c);var f={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in c)if(m!=="default"&&Object.prototype.hasOwnProperty.call(c,m)){var w=h?Object.getOwnPropertyDescriptor(c,m):null;w&&(w.get||w.set)?Object.defineProperty(f,m,w):f[m]=c[m]}return f.default=c,p&&p.set(c,f),f}var u={space:e,entry:t,asset:r,assetKey:n,contentType:a,locale:o,tag:s};return To.default=u,To}var qi={},Ky;function WP(){if(Ky)return qi;Ky=1,Object.defineProperty(qi,"__esModule",{value:!0}),qi.default=i;var e=qr,t=n(x_),r=n(C_());function n(d){return d&&d.__esModule?d:{default:d}}function a(d,p){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(d);p&&(h=h.filter(function(m){return Object.getOwnPropertyDescriptor(d,m).enumerable})),f.push.apply(f,h)}return f}function o(d){for(var p=1;p<arguments.length;p++){var f=arguments[p]!=null?arguments[p]:{};p%2?a(Object(f),!0).forEach(function(h){s(d,h,f[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):a(Object(f)).forEach(function(h){Object.defineProperty(d,h,Object.getOwnPropertyDescriptor(f,h))})}return d}function s(d,p,f){return p in d?Object.defineProperty(d,p,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[p]=f,d}async function i(d,p){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!p||!p.initial&&!p.nextSyncToken&&!p.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(p&&p.content_type&&!p.type)p.type="Entry";else if(p&&p.content_type&&p.type&&p.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const h={resolveLinks:!0,removeUnresolved:!1,paginate:!0},{resolveLinks:m,removeUnresolved:w,paginate:E}=o(o({},h),f),T=await u(d,[],p,{paginate:E});m&&(T.items=(0,t.default)(T,{removeUnresolved:w,itemEntryPoints:["fields"]}));const R=l(T.items);return T.nextSyncToken&&(R.nextSyncToken=T.nextSyncToken),T.nextPageToken&&(R.nextPageToken=T.nextPageToken),(0,e.freezeSys)((0,r.default)((0,e.toPlainObject)(R)))}function l(d){const p=f=>(h,m)=>(m.sys.type===f&&h.push((0,e.toPlainObject)(m)),h);return{entries:d.reduce(p("Entry"),[]),assets:d.reduce(p("Asset"),[]),deletedEntries:d.reduce(p("DeletedEntry"),[]),deletedAssets:d.reduce(p("DeletedAsset"),[])}}async function u(d,p,f,h){let{paginate:m}=h;f.nextSyncToken&&(f.sync_token=f.nextSyncToken,delete f.nextSyncToken),f.nextPageToken&&(f.sync_token=f.nextPageToken,delete f.nextPageToken),f.sync_token&&(delete f.initial,delete f.type,delete f.content_type,delete f.limit);const E=(await d.get("sync",(0,e.createRequestConfig)({query:f}))).data||{};return p=p.concat(E.items||[]),E.nextPageUrl?m?(delete f.initial,f.sync_token=c(E.nextPageUrl),u(d,p,f,{paginate:m})):{items:p,nextPageToken:c(E.nextPageUrl)}:E.nextSyncUrl?{items:p,nextSyncToken:c(E.nextSyncUrl)}:{items:[]}}function c(d){const p=d.split("?");return p.length>0?p[1].replace("sync_token=",""):""}return qi}var Fi={},Xy;function VP(){if(Xy)return Fi;Xy=1,Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.default=n;function e(a,o){var s=Object.keys(a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(a);o&&(i=i.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),s.push.apply(s,i)}return s}function t(a){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?e(Object(s),!0).forEach(function(i){r(a,i,s[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEach(function(i){Object.defineProperty(a,i,Object.getOwnPropertyDescriptor(s,i))})}return a}function r(a,o,s){return o in a?Object.defineProperty(a,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[o]=s,a}function n(a){if(!a.select)return a;const o=Array.isArray(a.select)?a.select:a.select.split(","),s=new Set(o);return s.has("sys")?a:(s.add("sys.id"),s.add("sys.type"),t(t({},a),{},{select:[...s].join(",")}))}return Fi}var ja={},Qy;function zP(){if(Qy)return ja;Qy=1,Object.defineProperty(ja,"__esModule",{value:!0}),ja.ValidationError=void 0,ja.default=t;class e extends Error{constructor(n,a){super(`Invalid "${n}" provided, `+a),this.name="ValidationError"}}ja.ValidationError=e;function t(r,n,a){if(a=a||{},typeof n!="number")throw new e(r,`only numeric values are allowed for timestamps, provided type was "${typeof n}"`);if(a.maximum&&n>a.maximum)throw new e(r,`value (${n}) cannot be further in the future than expected maximum (${a.maximum})`);if(a.now&&n<a.now)throw new e(r,`value (${n}) cannot be in the past, current time was ${a.now}`)}return ja}var Jy;function YP(){if(Jy)return $i;Jy=1,Object.defineProperty($i,"__esModule",{value:!0}),$i.default=c;var e=qr,t=o(GP()),r=o(WP()),n=o(VP()),a=o(zP());function o(d){return d&&d.__esModule?d:{default:d}}function s(d,p){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(d);p&&(h=h.filter(function(m){return Object.getOwnPropertyDescriptor(d,m).enumerable})),f.push.apply(f,h)}return f}function i(d){for(var p=1;p<arguments.length;p++){var f=arguments[p]!=null?arguments[p]:{};p%2?s(Object(f),!0).forEach(function(h){l(d,h,f[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):s(Object(f)).forEach(function(h){Object.defineProperty(d,h,Object.getOwnPropertyDescriptor(f,h))})}return d}function l(d,p,f){return p in d?Object.defineProperty(d,p,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[p]=f,d}const u=48*60*60;function c(d){let{http:p,getGlobalOptions:f}=d;const{wrapSpace:h}=t.default.space,{wrapContentType:m,wrapContentTypeCollection:w}=t.default.contentType,{wrapEntry:E,wrapEntryCollection:y}=t.default.entry,{wrapAsset:T,wrapAssetCollection:R}=t.default.asset,{wrapTag:S,wrapTagCollection:O}=t.default.tag,{wrapAssetKey:N}=t.default.assetKey,{wrapLocaleCollection:M}=t.default.locale,H=te=>{const ue=new Error("The resource could not be found.");return ue.sys={type:"Error",id:"NotFound"},ue.details={type:"Entry",id:te,environment:f().environment,space:f().space},ue};async function G(){ze(p);try{const te=await p.get("/");return h(te.data)}catch(te){(0,e.errorHandler)(te)}}async function W(te){Ee(p);try{const ue=await p.get(`content_types/${te}`);return m(ue.data)}catch(ue){(0,e.errorHandler)(ue)}}async function U(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ee(p);try{const ue=await p.get("content_types",(0,e.createRequestConfig)({query:te}));return w(ue.data)}catch(ue){(0,e.errorHandler)(ue)}}async function j(te){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!te)throw H(te);try{const Me=await this.getEntries(i({"sys.id":te},ue));if(Me.items.length>0)return E(Me.items[0]);throw H(te)}catch(Me){(0,e.errorHandler)(Me)}}async function Z(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ee(p);const{resolveLinks:ue,removeUnresolved:Me}=f(te);te=(0,n.default)(te);try{const xe=await p.get("entries",(0,e.createRequestConfig)({query:te}));return y(xe.data,{resolveLinks:ue,removeUnresolved:Me})}catch(xe){(0,e.errorHandler)(xe)}}async function ee(te){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ee(p),ue=(0,n.default)(ue);try{const Me=await p.get(`assets/${te}`,(0,e.createRequestConfig)({query:ue}));return T(Me.data)}catch(Me){(0,e.errorHandler)(Me)}}async function L(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ee(p),te=(0,n.default)(te);try{const ue=await p.get("assets",(0,e.createRequestConfig)({query:te}));return R(ue.data)}catch(ue){(0,e.errorHandler)(ue)}}async function K(te){Ee(p);try{const ue=await p.get(`tags/${te}`);return S(ue.data)}catch(ue){(0,e.errorHandler)(ue)}}async function re(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ee(p),te=(0,n.default)(te);try{const ue=await p.get("tags",(0,e.createRequestConfig)({query:te}));return O(ue.data)}catch(ue){(0,e.errorHandler)(ue)}}async function ge(te){Ee(p);try{const ue=Math.floor(Date.now()/1e3),Me=ue+u;(0,a.default)("expiresAt",te,{maximum:Me,now:ue});const xe={expiresAt:te},ft=await p.post("asset_keys",xe);return N(ft.data)}catch(ue){(0,e.errorHandler)(ue)}}async function ne(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ee(p);try{const ue=await p.get("locales",(0,e.createRequestConfig)({query:te}));return M(ue.data)}catch(ue){(0,e.errorHandler)(ue)}}async function oe(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:Me,removeUnresolved:xe}=f(te);return Ee(p),(0,r.default)(p,te,i({resolveLinks:Me,removeUnresolved:xe},ue))}function ve(te){const{resolveLinks:ue,removeUnresolved:Me}=f({});return y(te,{resolveLinks:ue,removeUnresolved:Me})}function Ee(te){te.defaults.baseURL=f().environmentBaseUrl}function ze(te){te.defaults.baseURL=f().spaceBaseUrl}return{getSpace:G,getContentType:W,getContentTypes:U,getEntry:j,getEntries:Z,getAsset:ee,getAssets:L,getTag:K,getTags:re,createAssetKey:ge,getLocales:ne,parseEntries:ve,sync:oe}}return $i}var ji={},Zy;function KP(){if(Zy)return ji;Zy=1,Object.defineProperty(ji,"__esModule",{value:!0}),ji.default=e;function e(t){return function(n){return Object.assign({},t,n)}}return ji}var ev;function XP(){if(ev)return Oi;ev=1,Object.defineProperty(Oi,"__esModule",{value:!0}),Oi.createClient=l;var e=a(e_()),t=qr,r=a(YP()),n=a(KP());function a(u){return u&&u.__esModule?u:{default:u}}function o(u,c){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(u);c&&(p=p.filter(function(f){return Object.getOwnPropertyDescriptor(u,f).enumerable})),d.push.apply(d,p)}return d}function s(u){for(var c=1;c<arguments.length;c++){var d=arguments[c]!=null?arguments[c]:{};c%2?o(Object(d),!0).forEach(function(p){i(u,p,d[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):o(Object(d)).forEach(function(p){Object.defineProperty(u,p,Object.getOwnPropertyDescriptor(d,p))})}return u}function i(u,c,d){return c in u?Object.defineProperty(u,c,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[c]=d,u}function l(u){if(!u.accessToken)throw new TypeError("Expected parameter accessToken");if(!u.space)throw new TypeError("Expected parameter space");const d=s(s({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),u),p=(0,t.getUserAgentHeader)("contentful.js/9.1.34",d.application,d.integration);d.headers=s(s({},d.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":p});const f=(0,t.createHttpClient)(e.default,d),h=(0,n.default)({resolveLinks:d.resolveLinks,environment:d.environment,removeUnresolved:d.removeUnresolved,spaceBaseUrl:f.defaults.baseURL,environmentBaseUrl:`${f.defaults.baseURL}environments/${d.environment}`});return f.defaults.baseURL=h().environmentBaseUrl,(0,r.default)({http:f,getGlobalOptions:h})}return Oi}var jf={},Uf,tv;function QP(){return tv||(tv=1,Uf=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Uf}var Hf,rv;function JP(){if(rv)return Hf;rv=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,i){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;i=i||1;var l=s.slice(0,i),u=s.slice(i);return Array.prototype.concat.call([],n(l),n(u))}function a(s){try{return decodeURIComponent(s)}catch{for(var i=s.match(t)||[],l=1;l<i.length;l++)s=n(i,l).join(""),i=s.match(t)||[];return s}}function o(s){for(var i={"%FE%FF":"��","%FF%FE":"��"},l=r.exec(s);l;){try{i[l[0]]=decodeURIComponent(l[0])}catch{var u=a(l[0]);u!==l[0]&&(i[l[0]]=u)}l=r.exec(s)}i["%C2"]="�";for(var c=Object.keys(i),d=0;d<c.length;d++){var p=c[d];s=s.replace(new RegExp(p,"g"),i[p])}return s}return Hf=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return o(s)}},Hf}var Gf,nv;function ZP(){return nv||(nv=1,Gf=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),Gf}var Wf,av;function eA(){return av||(av=1,Wf=function(e,t){for(var r={},n=Object.keys(e),a=Array.isArray(t),o=0;o<n.length;o++){var s=n[o],i=e[s];(a?t.indexOf(s)!==-1:t(s,i,e))&&(r[s]=i)}return r}),Wf}var ov;function tA(){return ov||(ov=1,function(e){const t=QP(),r=JP(),n=ZP(),a=eA(),o=y=>y==null,s=Symbol("encodeFragmentIdentifier");function i(y){switch(y.arrayFormat){case"index":return T=>(R,S)=>{const O=R.length;return S===void 0||y.skipNull&&S===null||y.skipEmptyString&&S===""?R:S===null?[...R,[c(T,y),"[",O,"]"].join("")]:[...R,[c(T,y),"[",c(O,y),"]=",c(S,y)].join("")]};case"bracket":return T=>(R,S)=>S===void 0||y.skipNull&&S===null||y.skipEmptyString&&S===""?R:S===null?[...R,[c(T,y),"[]"].join("")]:[...R,[c(T,y),"[]=",c(S,y)].join("")];case"colon-list-separator":return T=>(R,S)=>S===void 0||y.skipNull&&S===null||y.skipEmptyString&&S===""?R:S===null?[...R,[c(T,y),":list="].join("")]:[...R,[c(T,y),":list=",c(S,y)].join("")];case"comma":case"separator":case"bracket-separator":{const T=y.arrayFormat==="bracket-separator"?"[]=":"=";return R=>(S,O)=>O===void 0||y.skipNull&&O===null||y.skipEmptyString&&O===""?S:(O=O===null?"":O,S.length===0?[[c(R,y),T,c(O,y)].join("")]:[[S,c(O,y)].join(y.arrayFormatSeparator)])}default:return T=>(R,S)=>S===void 0||y.skipNull&&S===null||y.skipEmptyString&&S===""?R:S===null?[...R,c(T,y)]:[...R,[c(T,y),"=",c(S,y)].join("")]}}function l(y){let T;switch(y.arrayFormat){case"index":return(R,S,O)=>{if(T=/\[(\d*)\]$/.exec(R),R=R.replace(/\[\d*\]$/,""),!T){O[R]=S;return}O[R]===void 0&&(O[R]={}),O[R][T[1]]=S};case"bracket":return(R,S,O)=>{if(T=/(\[\])$/.exec(R),R=R.replace(/\[\]$/,""),!T){O[R]=S;return}if(O[R]===void 0){O[R]=[S];return}O[R]=[].concat(O[R],S)};case"colon-list-separator":return(R,S,O)=>{if(T=/(:list)$/.exec(R),R=R.replace(/:list$/,""),!T){O[R]=S;return}if(O[R]===void 0){O[R]=[S];return}O[R]=[].concat(O[R],S)};case"comma":case"separator":return(R,S,O)=>{const N=typeof S=="string"&&S.includes(y.arrayFormatSeparator),M=typeof S=="string"&&!N&&d(S,y).includes(y.arrayFormatSeparator);S=M?d(S,y):S;const H=N||M?S.split(y.arrayFormatSeparator).map(G=>d(G,y)):S===null?S:d(S,y);O[R]=H};case"bracket-separator":return(R,S,O)=>{const N=/(\[\])$/.test(R);if(R=R.replace(/\[\]$/,""),!N){O[R]=S&&d(S,y);return}const M=S===null?[]:S.split(y.arrayFormatSeparator).map(H=>d(H,y));if(O[R]===void 0){O[R]=M;return}O[R]=[].concat(O[R],M)};default:return(R,S,O)=>{if(O[R]===void 0){O[R]=S;return}O[R]=[].concat(O[R],S)}}}function u(y){if(typeof y!="string"||y.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function c(y,T){return T.encode?T.strict?t(y):encodeURIComponent(y):y}function d(y,T){return T.decode?r(y):y}function p(y){return Array.isArray(y)?y.sort():typeof y=="object"?p(Object.keys(y)).sort((T,R)=>Number(T)-Number(R)).map(T=>y[T]):y}function f(y){const T=y.indexOf("#");return T!==-1&&(y=y.slice(0,T)),y}function h(y){let T="";const R=y.indexOf("#");return R!==-1&&(T=y.slice(R)),T}function m(y){y=f(y);const T=y.indexOf("?");return T===-1?"":y.slice(T+1)}function w(y,T){return T.parseNumbers&&!Number.isNaN(Number(y))&&typeof y=="string"&&y.trim()!==""?y=Number(y):T.parseBooleans&&y!==null&&(y.toLowerCase()==="true"||y.toLowerCase()==="false")&&(y=y.toLowerCase()==="true"),y}function E(y,T){T=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},T),u(T.arrayFormatSeparator);const R=l(T),S=Object.create(null);if(typeof y!="string"||(y=y.trim().replace(/^[?#&]/,""),!y))return S;for(const O of y.split("&")){if(O==="")continue;let[N,M]=n(T.decode?O.replace(/\+/g," "):O,"=");M=M===void 0?null:["comma","separator","bracket-separator"].includes(T.arrayFormat)?M:d(M,T),R(d(N,T),M,S)}for(const O of Object.keys(S)){const N=S[O];if(typeof N=="object"&&N!==null)for(const M of Object.keys(N))N[M]=w(N[M],T);else S[O]=w(N,T)}return T.sort===!1?S:(T.sort===!0?Object.keys(S).sort():Object.keys(S).sort(T.sort)).reduce((O,N)=>{const M=S[N];return M&&typeof M=="object"&&!Array.isArray(M)?O[N]=p(M):O[N]=M,O},Object.create(null))}e.extract=m,e.parse=E,e.stringify=(y,T)=>{if(!y)return"";T=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},T),u(T.arrayFormatSeparator);const R=M=>T.skipNull&&o(y[M])||T.skipEmptyString&&y[M]==="",S=i(T),O={};for(const M of Object.keys(y))R(M)||(O[M]=y[M]);const N=Object.keys(O);return T.sort!==!1&&N.sort(T.sort),N.map(M=>{const H=y[M];return H===void 0?"":H===null?c(M,T):Array.isArray(H)?H.length===0&&T.arrayFormat==="bracket-separator"?c(M,T)+"[]":H.reduce(S(M),[]).join("&"):c(M,T)+"="+c(H,T)}).filter(M=>M.length>0).join("&")},e.parseUrl=(y,T)=>{T=Object.assign({decode:!0},T);const[R,S]=n(y,"#");return Object.assign({url:R.split("?")[0]||"",query:E(m(y),T)},T&&T.parseFragmentIdentifier&&S?{fragmentIdentifier:d(S,T)}:{})},e.stringifyUrl=(y,T)=>{T=Object.assign({encode:!0,strict:!0,[s]:!0},T);const R=f(y.url).split("?")[0]||"",S=e.extract(y.url),O=e.parse(S,{sort:!1}),N=Object.assign(O,y.query);let M=e.stringify(N,T);M&&(M=`?${M}`);let H=h(y.url);return y.fragmentIdentifier&&(H=`#${T[s]?c(y.fragmentIdentifier,T):y.fragmentIdentifier}`),`${R}${M}${H}`},e.pick=(y,T,R)=>{R=Object.assign({parseFragmentIdentifier:!0,[s]:!1},R);const{url:S,query:O,fragmentIdentifier:N}=e.parseUrl(y,R);return e.stringifyUrl({url:S,query:a(O,T),fragmentIdentifier:N},R)},e.exclude=(y,T,R)=>{const S=Array.isArray(T)?O=>!T.includes(O):(O,N)=>!T(O,N);return e.pick(y,S,R)}}(jf)),jf}var iv;function rA(){return iv||(iv=1,function(e,t){(function(r,n){e.exports=n(XP(),tA())})(be,function(r,n){return function(){var a={897:function(l){l.exports=r},48:function(l){l.exports=n}},o={};function s(l){var u=o[l];if(u!==void 0)return u.exports;var c=o[l]={exports:{}};return a[l](c,c.exports,s),c.exports}s.d=function(l,u){for(var c in u)s.o(u,c)&&!s.o(l,c)&&Object.defineProperty(l,c,{enumerable:!0,get:u[c]})},s.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},s.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})};var i={};return function(){s.r(i),s.d(i,{getEntries:function(){return Z},getEntry:function(){return j},setContext:function(){return m}});var l=s(897),u=s(48),c={CONTENTFUL:{ENVIRONMENTS_MAPING:{beta:"beta",rc:"rc",live:"master",local:"beta"},LOCALES:{DEFAULT:"en",SUPPORTED:["en","es","fr","pt"]},SPACE:"txbhe1wabmyx",HOSTS:{CDN:"cdn.contentful.com",PREVIEW:"preview.contentful.com"}}};const{CONTENTFUL:{ENVIRONMENTS_MAPING:d,SPACE:p,HOSTS:f}}=c;let h={apiKey:null,previewKey:null,environment:null,isPreview:!1,host:f.CDN,space:p};const m=({apiKey:ee,environment:L,isPreview:K=!1,location:re,previewKey:ge,space:ne=null})=>{h.apiKey=ee,h.previewKey=ge,h.environment=(oe=>{if(!oe)throw new Error("Cannot map environment: Environment not defined");if(!d[oe])throw new Error(`Cannot map environment: No mapping found for environment ${oe}`);return d[oe]})(L),h.isPreview=K||(oe=>{let ve=!1;if(oe&&oe.search){const Ee=(0,u.parse)(oe.search);ve=Ee.isPreview&&Ee.isPreview==="true"}return ve})(re),h.space=ne||p},w=(ee=!1)=>{const{apiKey:L,environment:K,isPreview:re,previewKey:ge,space:ne}=h;return re===!0||ee===!0?{accessToken:ge,environment:K,host:f.PREVIEW,space:ne}:{accessToken:L,environment:K,host:f.CDN,space:ne}},E=ee=>typeof ee=="object"&&ee!==null,y=ee=>Array.isArray(ee)&&ee.length,T=ee=>{if(!E(ee))throw new Error("Cannot flatten fields");const{fields:L,sys:K}=ee;if(!L)throw new Error("Cannot flatten fields");let re={...L};if(E(K)){const{contentType:ge,createdAt:ne,updatedAt:oe}=K;ge&&Object.assign(re,{contentType:ge.sys.id}),ne&&Object.assign(re,{createdAt:ne}),oe&&Object.assign(re,{updatedAt:oe})}return re},{CONTENTFUL:{LOCALES:R}}=c,S=(ee,L)=>E(ee)&&((K,re)=>Object.prototype.hasOwnProperty.call(K,re))(ee,L),O=(ee,L)=>{const K=(re=>R.SUPPORTED.includes(re)?re:R.DEFAULT)(L);return S(ee,K)?ee[K]:S(ee,R.DEFAULT)?ee[R.DEFAULT]:ee},N=ee=>E(ee)&&ee.sys&&ee.sys.type==="Asset",M=(ee,L,K)=>{const{title:re,file:ge}=T(ee);if(!ge)throw new Error("Cannot flatten asset");const{contentType:ne,fileName:oe,url:ve,details:Ee}=O(ge,L);if(!ve)throw new Error("Cannot flatten asset");return K?{description:re||oe,height:Ee&&Ee.image&&Ee.image.height,type:ne,url:ve,width:Ee&&Ee.image&&Ee.image.width}:ve},H=ee=>E(ee)&&ee.sys&&ee.sys.type==="Entry",G=(ee,L,K)=>{const re={},ge=((ne,oe)=>{const ve={};for(const[Ee,ze]of Object.entries(ne))ve[Ee]=O(ze,oe);return ve})(T(ee),L);for(const[ne,oe]of Object.entries(ge))N(oe)?re[ne]=M(oe,L,K):H(oe)?re[ne]=G(oe,L,K):y(oe)?re[ne]=oe.map(ve=>N(ve)?M(ve,L,K):H(ve)?G(ve,L,K):ve):re[ne]=oe;return re},W=({items:ee})=>{if(!y(ee))throw new Error("Cannot read items");return ee},U=async(ee,L)=>{const K=w(L);return await(await(0,l.createClient)(K)).getEntries(ee)},j=async(ee={},L={},K=!1)=>((re,{flatten:ge=!0,locale:ne="en",assetDetails:oe=!1})=>{const ve=W(re);return ge?G(ve[0],ne,oe):ve[0]})(await U(ee,K),{...ee,...L}),Z=async(ee={},L={},K=!1)=>((re,{flatten:ge=!0,locale:ne="en",assetDetails:oe=!1})=>{const ve=W(re);return ge?((Ee,ze,te)=>Ee.map(ue=>G(ue,ze,te)))(ve,ne,oe):ve})(await U(ee,K),{...ee,...L})}(),i}()})}(Kc)),Kc.exports}var Vf={exports:{}},zf={exports:{}},Yf={exports:{}},Kf={exports:{}},sv;function Bh(){return sv||(sv=1,function(e,t){(function(r,n){e.exports=n()})(be,function(){function r(m){return!isNaN(parseFloat(m))&&isFinite(m)}function n(m){return m.charAt(0).toUpperCase()+m.substring(1)}function a(m){return function(){return this[m]}}var o=["isConstructor","isEval","isNative","isToplevel"],s=["columnNumber","lineNumber"],i=["fileName","functionName","source"],l=["args"],u=["evalOrigin"],c=o.concat(s,i,l,u);function d(m){if(m)for(var w=0;w<c.length;w++)m[c[w]]!==void 0&&this["set"+n(c[w])](m[c[w]])}d.prototype={getArgs:function(){return this.args},setArgs:function(m){if(Object.prototype.toString.call(m)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=m},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(m){if(m instanceof d)this.evalOrigin=m;else if(m instanceof Object)this.evalOrigin=new d(m);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var m=this.getFileName()||"",w=this.getLineNumber()||"",E=this.getColumnNumber()||"",y=this.getFunctionName()||"";return this.getIsEval()?m?"[eval] ("+m+":"+w+":"+E+")":"[eval]:"+w+":"+E:y?y+" ("+m+":"+w+":"+E+")":m+":"+w+":"+E}},d.fromString=function(w){var E=w.indexOf("("),y=w.lastIndexOf(")"),T=w.substring(0,E),R=w.substring(E+1,y).split(","),S=w.substring(y+1);if(S.indexOf("@")===0)var O=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(S,""),N=O[1],M=O[2],H=O[3];return new d({functionName:T,args:R||void 0,fileName:N,lineNumber:M||void 0,columnNumber:H||void 0})};for(var p=0;p<o.length;p++)d.prototype["get"+n(o[p])]=a(o[p]),d.prototype["set"+n(o[p])]=function(m){return function(w){this[m]=!!w}}(o[p]);for(var f=0;f<s.length;f++)d.prototype["get"+n(s[f])]=a(s[f]),d.prototype["set"+n(s[f])]=function(m){return function(w){if(!r(w))throw new TypeError(m+" must be a Number");this[m]=Number(w)}}(s[f]);for(var h=0;h<i.length;h++)d.prototype["get"+n(i[h])]=a(i[h]),d.prototype["set"+n(i[h])]=function(m){return function(w){this[m]=String(w)}}(i[h]);return d})}(Kf)),Kf.exports}var lv;function nA(){return lv||(lv=1,function(e,t){(function(r,n){e.exports=n(Bh())})(be,function(n){var a=/(^|@)\S+:\d+/,o=/^\s*at .*(\S+:\d+|\(native\))/m,s=/^(eval@)?(\[native code])?$/;return{parse:function(l){if(typeof l.stacktrace<"u"||typeof l["opera#sourceloc"]<"u")return this.parseOpera(l);if(l.stack&&l.stack.match(o))return this.parseV8OrIE(l);if(l.stack)return this.parseFFOrSafari(l);throw new Error("Cannot parse given Error object")},extractLocation:function(l){if(l.indexOf(":")===-1)return[l];var u=/(.+?)(?::(\d+))?(?::(\d+))?$/,c=u.exec(l.replace(/[()]/g,""));return[c[1],c[2]||void 0,c[3]||void 0]},parseV8OrIE:function(l){var u=l.stack.split(`
35
35
  `).filter(function(c){return!!c.match(o)},this);return u.map(function(c){c.indexOf("(eval ")>-1&&(c=c.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var d=c.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),p=d.match(/ (\(.+\)$)/);d=p?d.replace(p[0],""):d;var f=this.extractLocation(p?p[1]:d),h=p&&d||void 0,m=["eval","<anonymous>"].indexOf(f[0])>-1?void 0:f[0];return new n({functionName:h,fileName:m,lineNumber:f[1],columnNumber:f[2],source:c})},this)},parseFFOrSafari:function(l){var u=l.stack.split(`
36
36
  `).filter(function(c){return!c.match(s)},this);return u.map(function(c){if(c.indexOf(" > eval")>-1&&(c=c.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),c.indexOf("@")===-1&&c.indexOf(":")===-1)return new n({functionName:c});var d=/((.*".+"[^@]*)?[^@]*)(?:@)/,p=c.match(d),f=p&&p[1]?p[1]:void 0,h=this.extractLocation(c.replace(d,""));return new n({functionName:f,fileName:h[0],lineNumber:h[1],columnNumber:h[2],source:c})},this)},parseOpera:function(l){return!l.stacktrace||l.message.indexOf(`
37
37
  `)>-1&&l.message.split(`
@@ -39,11 +39,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39
39
  `).length?this.parseOpera9(l):l.stack?this.parseOpera11(l):this.parseOpera10(l)},parseOpera9:function(l){for(var u=/Line (\d+).*script (?:in )?(\S+)/i,c=l.message.split(`
40
40
  `),d=[],p=2,f=c.length;p<f;p+=2){var h=u.exec(c[p]);h&&d.push(new n({fileName:h[2],lineNumber:h[1],source:c[p]}))}return d},parseOpera10:function(l){for(var u=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,c=l.stacktrace.split(`
41
41
  `),d=[],p=0,f=c.length;p<f;p+=2){var h=u.exec(c[p]);h&&d.push(new n({functionName:h[3]||void 0,fileName:h[2],lineNumber:h[1],source:c[p]}))}return d},parseOpera11:function(l){var u=l.stack.split(`
42
- `).filter(function(c){return!!c.match(a)&&!c.match(/^Error created at/)},this);return u.map(function(c){var d=c.split("@"),p=this.extractLocation(d.pop()),f=d.shift()||"",h=f.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,m;f.match(/\(([^)]*)\)/)&&(m=f.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var _=m===void 0||m==="[arguments not available]"?void 0:m.split(",");return new n({functionName:h,args:_,fileName:p[0],lineNumber:p[1],columnNumber:p[2],source:c})},this)}}})}(Uf)),Uf.exports}var Gf={exports:{}},tv;function XP(){return tv||(tv=1,function(e,t){(function(r,n){e.exports=n(Ih())})(be,function(r){return{backtrace:function(a){var o=[],s=10;typeof a=="object"&&typeof a.maxStackSize=="number"&&(s=a.maxStackSize);for(var i=arguments.callee;i&&o.length<s&&i.arguments;){for(var l=new Array(i.arguments.length),u=0;u<l.length;++u)l[u]=i.arguments[u];/function(?:\s+([\w$]+))+\s*\(/.test(i.toString())?o.push(new r({functionName:RegExp.$1||void 0,args:l})):o.push(new r({args:l}));try{i=i.caller}catch{break}}return o}}})}(Gf)),Gf.exports}var Wf={exports:{}},ro={},Vf={},rv;function g_(){return rv||(rv=1,function(e){function t(v,w,S){if(w in v)return v[w];if(arguments.length===3)return S;throw new Error('"'+w+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,n=/^data:.+\,.+$/;function a(v){var w=v.match(r);return w?{scheme:w[1],auth:w[2],host:w[3],port:w[4],path:w[5]}:null}e.urlParse=a;function o(v){var w="";return v.scheme&&(w+=v.scheme+":"),w+="//",v.auth&&(w+=v.auth+"@"),v.host&&(w+=v.host),v.port&&(w+=":"+v.port),v.path&&(w+=v.path),w}e.urlGenerate=o;function s(v){var w=v,S=a(v);if(S){if(!S.path)return v;w=S.path}for(var T=e.isAbsolute(w),C=w.split(/\/+/),I,N=0,U=C.length-1;U>=0;U--)I=C[U],I==="."?C.splice(U,1):I===".."?N++:N>0&&(I===""?(C.splice(U+1,N),N=0):(C.splice(U,2),N--));return w=C.join("/"),w===""&&(w=T?"/":"."),S?(S.path=w,o(S)):w}e.normalize=s;function i(v,w){v===""&&(v="."),w===""&&(w=".");var S=a(w),T=a(v);if(T&&(v=T.path||"/"),S&&!S.scheme)return T&&(S.scheme=T.scheme),o(S);if(S||w.match(n))return w;if(T&&!T.host&&!T.path)return T.host=w,o(T);var C=w.charAt(0)==="/"?w:s(v.replace(/\/+$/,"")+"/"+w);return T?(T.path=C,o(T)):C}e.join=i,e.isAbsolute=function(v){return v.charAt(0)==="/"||!!v.match(r)};function l(v,w){v===""&&(v="."),v=v.replace(/\/$/,"");for(var S=0;w.indexOf(v+"/")!==0;){var T=v.lastIndexOf("/");if(T<0||(v=v.slice(0,T),v.match(/^([^\/]+:\/)?\/*$/)))return w;++S}return Array(S+1).join("../")+w.substr(v.length+1)}e.relative=l;var u=function(){var v=Object.create(null);return!("__proto__"in v)}();function c(v){return v}function d(v){return f(v)?"$"+v:v}e.toSetString=u?c:d;function p(v){return f(v)?v.slice(1):v}e.fromSetString=u?c:p;function f(v){if(!v)return!1;var w=v.length;if(w<9||v.charCodeAt(w-1)!==95||v.charCodeAt(w-2)!==95||v.charCodeAt(w-3)!==111||v.charCodeAt(w-4)!==116||v.charCodeAt(w-5)!==111||v.charCodeAt(w-6)!==114||v.charCodeAt(w-7)!==112||v.charCodeAt(w-8)!==95||v.charCodeAt(w-9)!==95)return!1;for(var S=w-10;S>=0;S--)if(v.charCodeAt(S)!==36)return!1;return!0}function h(v,w,S){var T=v.source-w.source;return T!==0||(T=v.originalLine-w.originalLine,T!==0)||(T=v.originalColumn-w.originalColumn,T!==0||S)||(T=v.generatedColumn-w.generatedColumn,T!==0)||(T=v.generatedLine-w.generatedLine,T!==0)?T:v.name-w.name}e.compareByOriginalPositions=h;function m(v,w,S){var T=v.generatedLine-w.generatedLine;return T!==0||(T=v.generatedColumn-w.generatedColumn,T!==0||S)||(T=v.source-w.source,T!==0)||(T=v.originalLine-w.originalLine,T!==0)||(T=v.originalColumn-w.originalColumn,T!==0)?T:v.name-w.name}e.compareByGeneratedPositionsDeflated=m;function _(v,w){return v===w?0:v>w?1:-1}function b(v,w){var S=v.generatedLine-w.generatedLine;return S!==0||(S=v.generatedColumn-w.generatedColumn,S!==0)||(S=_(v.source,w.source),S!==0)||(S=v.originalLine-w.originalLine,S!==0)||(S=v.originalColumn-w.originalColumn,S!==0)?S:_(v.name,w.name)}e.compareByGeneratedPositionsInflated=b}(Vf)),Vf}var zf={},nv;function QP(){return nv||(nv=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,a,o,s,i){var l=Math.floor((n-r)/2)+r,u=s(a,o[l],!0);return u===0?l:u>0?n-l>1?t(l,n,a,o,s,i):i==e.LEAST_UPPER_BOUND?n<o.length?n:-1:l:l-r>1?t(r,l,a,o,s,i):i==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.search=function(n,a,o,s){if(a.length===0)return-1;var i=t(-1,a.length,n,a,o,s||e.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&o(a[i],a[i-1],!0)===0;)--i;return i}}(zf)),zf}var Yf={},av;function JP(){if(av)return Yf;av=1;var e=g_(),t=Object.prototype.hasOwnProperty;function r(){this._array=[],this._set=Object.create(null)}return r.fromArray=function(a,o){for(var s=new r,i=0,l=a.length;i<l;i++)s.add(a[i],o);return s},r.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(a,o){var s=e.toSetString(a),i=t.call(this._set,s),l=this._array.length;(!i||o)&&this._array.push(a),i||(this._set[s]=l)},r.prototype.has=function(a){var o=e.toSetString(a);return t.call(this._set,o)},r.prototype.indexOf=function(a){var o=e.toSetString(a);if(t.call(this._set,o))return this._set[o];throw new Error('"'+a+'" is not in the set.')},r.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},r.prototype.toArray=function(){return this._array.slice()},Yf.ArraySet=r,Yf}var Ri={},Ci={},ov;function ZP(){if(ov)return Ci;ov=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Ci.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},Ci.decode=function(t){var r=65,n=90,a=97,o=122,s=48,i=57,l=43,u=47,c=26,d=52;return r<=t&&t<=n?t-r:a<=t&&t<=o?t-a+c:s<=t&&t<=i?t-s+d:t==l?62:t==u?63:-1},Ci}var iv;function eA(){if(iv)return Ri;iv=1;var e=ZP(),t=5,r=1<<t,n=r-1,a=r;function o(i){return i<0?(-i<<1)+1:(i<<1)+0}function s(i){var l=(i&1)===1,u=i>>1;return l?-u:u}return Ri.encode=function(l){var u="",c,d=o(l);do c=d&n,d>>>=t,d>0&&(c|=a),u+=e.encode(c);while(d>0);return u},Ri.decode=function(l,u,c){var d=l.length,p=0,f=0,h,m;do{if(u>=d)throw new Error("Expected more digits in base 64 VLQ value.");if(m=e.decode(l.charCodeAt(u++)),m===-1)throw new Error("Invalid base64 digit: "+l.charAt(u-1));h=!!(m&a),m&=n,p=p+(m<<f),f+=t}while(h);c.value=s(p),c.rest=u},Ri}var Kf={},sv;function tA(){if(sv)return Kf;sv=1;function e(n,a,o){var s=n[a];n[a]=n[o],n[o]=s}function t(n,a){return Math.round(n+Math.random()*(a-n))}function r(n,a,o,s){if(o<s){var i=t(o,s),l=o-1;e(n,i,s);for(var u=n[s],c=o;c<s;c++)a(n[c],u)<=0&&(l+=1,e(n,l,c));e(n,l+1,c);var d=l+1;r(n,a,o,d-1),r(n,a,d+1,s)}}return Kf.quickSort=function(n,a){r(n,a,0,n.length-1)},Kf}var lv;function rA(){if(lv)return ro;lv=1;var e=g_(),t=QP(),r=JP().ArraySet,n=eA(),a=tA().quickSort;function o(u){var c=u;return typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,""))),c.sections!=null?new l(c):new s(c)}o.fromSourceMap=function(u){return s.fromSourceMap(u)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(c,d){var p=c.charAt(d);return p===";"||p===","},o.prototype._parseMappings=function(c,d){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(c,d,p){var f=d||null,h=p||o.GENERATED_ORDER,m;switch(h){case o.GENERATED_ORDER:m=this._generatedMappings;break;case o.ORIGINAL_ORDER:m=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var _=this.sourceRoot;m.map(function(b){var v=b.source===null?null:this._sources.at(b.source);return v!=null&&_!=null&&(v=e.join(_,v)),{source:v,generatedLine:b.generatedLine,generatedColumn:b.generatedColumn,originalLine:b.originalLine,originalColumn:b.originalColumn,name:b.name===null?null:this._names.at(b.name)}},this).forEach(c,f)},o.prototype.allGeneratedPositionsFor=function(c){var d=e.getArg(c,"line"),p={source:e.getArg(c,"source"),originalLine:d,originalColumn:e.getArg(c,"column",0)};if(this.sourceRoot!=null&&(p.source=e.relative(this.sourceRoot,p.source)),!this._sources.has(p.source))return[];p.source=this._sources.indexOf(p.source);var f=[],h=this._findMapping(p,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(h>=0){var m=this._originalMappings[h];if(c.column===void 0)for(var _=m.originalLine;m&&m.originalLine===_;)f.push({line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}),m=this._originalMappings[++h];else for(var b=m.originalColumn;m&&m.originalLine===d&&m.originalColumn==b;)f.push({line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}),m=this._originalMappings[++h]}return f},ro.SourceMapConsumer=o;function s(u){var c=u;typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,"")));var d=e.getArg(c,"version"),p=e.getArg(c,"sources"),f=e.getArg(c,"names",[]),h=e.getArg(c,"sourceRoot",null),m=e.getArg(c,"sourcesContent",null),_=e.getArg(c,"mappings"),b=e.getArg(c,"file",null);if(d!=this._version)throw new Error("Unsupported version: "+d);p=p.map(String).map(e.normalize).map(function(v){return h&&e.isAbsolute(h)&&e.isAbsolute(v)?e.relative(h,v):v}),this._names=r.fromArray(f.map(String),!0),this._sources=r.fromArray(p,!0),this.sourceRoot=h,this.sourcesContent=m,this._mappings=_,this.file=b}s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.fromSourceMap=function(c){var d=Object.create(s.prototype),p=d._names=r.fromArray(c._names.toArray(),!0),f=d._sources=r.fromArray(c._sources.toArray(),!0);d.sourceRoot=c._sourceRoot,d.sourcesContent=c._generateSourcesContent(d._sources.toArray(),d.sourceRoot),d.file=c._file;for(var h=c._mappings.toArray().slice(),m=d.__generatedMappings=[],_=d.__originalMappings=[],b=0,v=h.length;b<v;b++){var w=h[b],S=new i;S.generatedLine=w.generatedLine,S.generatedColumn=w.generatedColumn,w.source&&(S.source=f.indexOf(w.source),S.originalLine=w.originalLine,S.originalColumn=w.originalColumn,w.name&&(S.name=p.indexOf(w.name)),_.push(S)),m.push(S)}return a(d.__originalMappings,e.compareByOriginalPositions),d},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._sources.toArray().map(function(u){return this.sourceRoot!=null?e.join(this.sourceRoot,u):u},this)}});function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}s.prototype._parseMappings=function(c,d){for(var p=1,f=0,h=0,m=0,_=0,b=0,v=c.length,w=0,S={},T={},C=[],I=[],N,U,G,W,j;w<v;)if(c.charAt(w)===";")p++,w++,f=0;else if(c.charAt(w)===",")w++;else{for(N=new i,N.generatedLine=p,W=w;W<v&&!this._charIsMappingSeparator(c,W);W++);if(U=c.slice(w,W),G=S[U],G)w+=U.length;else{for(G=[];w<W;)n.decode(c,w,T),j=T.value,w=T.rest,G.push(j);if(G.length===2)throw new Error("Found a source, but no line and column");if(G.length===3)throw new Error("Found a source and line, but no column");S[U]=G}N.generatedColumn=f+G[0],f=N.generatedColumn,G.length>1&&(N.source=_+G[1],_+=G[1],N.originalLine=h+G[2],h=N.originalLine,N.originalLine+=1,N.originalColumn=m+G[3],m=N.originalColumn,G.length>4&&(N.name=b+G[4],b+=G[4])),I.push(N),typeof N.originalLine=="number"&&C.push(N)}a(I,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=I,a(C,e.compareByOriginalPositions),this.__originalMappings=C},s.prototype._findMapping=function(c,d,p,f,h,m){if(c[p]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+c[p]);if(c[f]<0)throw new TypeError("Column must be greater than or equal to 0, got "+c[f]);return t.search(c,d,h,m)},s.prototype.computeColumnSpans=function(){for(var c=0;c<this._generatedMappings.length;++c){var d=this._generatedMappings[c];if(c+1<this._generatedMappings.length){var p=this._generatedMappings[c+1];if(d.generatedLine===p.generatedLine){d.lastGeneratedColumn=p.generatedColumn-1;continue}}d.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(c){var d={generatedLine:e.getArg(c,"line"),generatedColumn:e.getArg(c,"column")},p=this._findMapping(d,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(c,"bias",o.GREATEST_LOWER_BOUND));if(p>=0){var f=this._generatedMappings[p];if(f.generatedLine===d.generatedLine){var h=e.getArg(f,"source",null);h!==null&&(h=this._sources.at(h),this.sourceRoot!=null&&(h=e.join(this.sourceRoot,h)));var m=e.getArg(f,"name",null);return m!==null&&(m=this._names.at(m)),{source:h,line:e.getArg(f,"originalLine",null),column:e.getArg(f,"originalColumn",null),name:m}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(c){return c==null}):!1},s.prototype.sourceContentFor=function(c,d){if(!this.sourcesContent)return null;if(this.sourceRoot!=null&&(c=e.relative(this.sourceRoot,c)),this._sources.has(c))return this.sourcesContent[this._sources.indexOf(c)];var p;if(this.sourceRoot!=null&&(p=e.urlParse(this.sourceRoot))){var f=c.replace(/^file:\/\//,"");if(p.scheme=="file"&&this._sources.has(f))return this.sourcesContent[this._sources.indexOf(f)];if((!p.path||p.path=="/")&&this._sources.has("/"+c))return this.sourcesContent[this._sources.indexOf("/"+c)]}if(d)return null;throw new Error('"'+c+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(c){var d=e.getArg(c,"source");if(this.sourceRoot!=null&&(d=e.relative(this.sourceRoot,d)),!this._sources.has(d))return{line:null,column:null,lastColumn:null};d=this._sources.indexOf(d);var p={source:d,originalLine:e.getArg(c,"line"),originalColumn:e.getArg(c,"column")},f=this._findMapping(p,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(c,"bias",o.GREATEST_LOWER_BOUND));if(f>=0){var h=this._originalMappings[f];if(h.source===p.source)return{line:e.getArg(h,"generatedLine",null),column:e.getArg(h,"generatedColumn",null),lastColumn:e.getArg(h,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},ro.BasicSourceMapConsumer=s;function l(u){var c=u;typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,"")));var d=e.getArg(c,"version"),p=e.getArg(c,"sections");if(d!=this._version)throw new Error("Unsupported version: "+d);this._sources=new r,this._names=new r;var f={line:-1,column:0};this._sections=p.map(function(h){if(h.url)throw new Error("Support for url field in sections not implemented.");var m=e.getArg(h,"offset"),_=e.getArg(m,"line"),b=e.getArg(m,"column");if(_<f.line||_===f.line&&b<f.column)throw new Error("Section offsets must be ordered and non-overlapping.");return f=m,{generatedOffset:{generatedLine:_+1,generatedColumn:b+1},consumer:new o(e.getArg(h,"map"))}})}return l.prototype=Object.create(o.prototype),l.prototype.constructor=o,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var u=[],c=0;c<this._sections.length;c++)for(var d=0;d<this._sections[c].consumer.sources.length;d++)u.push(this._sections[c].consumer.sources[d]);return u}}),l.prototype.originalPositionFor=function(c){var d={generatedLine:e.getArg(c,"line"),generatedColumn:e.getArg(c,"column")},p=t.search(d,this._sections,function(h,m){var _=h.generatedLine-m.generatedOffset.generatedLine;return _||h.generatedColumn-m.generatedOffset.generatedColumn}),f=this._sections[p];return f?f.consumer.originalPositionFor({line:d.generatedLine-(f.generatedOffset.generatedLine-1),column:d.generatedColumn-(f.generatedOffset.generatedLine===d.generatedLine?f.generatedOffset.generatedColumn-1:0),bias:c.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(c){return c.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(c,d){for(var p=0;p<this._sections.length;p++){var f=this._sections[p],h=f.consumer.sourceContentFor(c,!0);if(h)return h}if(d)return null;throw new Error('"'+c+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(c){for(var d=0;d<this._sections.length;d++){var p=this._sections[d];if(p.consumer.sources.indexOf(e.getArg(c,"source"))!==-1){var f=p.consumer.generatedPositionFor(c);if(f){var h={line:f.line+(p.generatedOffset.generatedLine-1),column:f.column+(p.generatedOffset.generatedLine===f.line?p.generatedOffset.generatedColumn-1:0)};return h}}}return{line:null,column:null}},l.prototype._parseMappings=function(c,d){this.__generatedMappings=[],this.__originalMappings=[];for(var p=0;p<this._sections.length;p++)for(var f=this._sections[p],h=f.consumer._generatedMappings,m=0;m<h.length;m++){var _=h[m],b=f.consumer._sources.at(_.source);f.consumer.sourceRoot!==null&&(b=e.join(f.consumer.sourceRoot,b)),this._sources.add(b),b=this._sources.indexOf(b);var v=f.consumer._names.at(_.name);this._names.add(v),v=this._names.indexOf(v);var w={source:b,generatedLine:_.generatedLine+(f.generatedOffset.generatedLine-1),generatedColumn:_.generatedColumn+(f.generatedOffset.generatedLine===_.generatedLine?f.generatedOffset.generatedColumn-1:0),originalLine:_.originalLine,originalColumn:_.originalColumn,name:v};this.__generatedMappings.push(w),typeof w.originalLine=="number"&&this.__originalMappings.push(w)}a(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),a(this.__originalMappings,e.compareByOriginalPositions)},ro.IndexedSourceMapConsumer=l,ro}var uv;function nA(){return uv||(uv=1,function(e,t){(function(r,n){e.exports=n(rA(),Ih())})(be,function(r,n){function a(p){return new Promise(function(f,h){var m=new XMLHttpRequest;m.open("get",p),m.onerror=h,m.onreadystatechange=function(){m.readyState===4&&(m.status>=200&&m.status<300||p.substr(0,7)==="file://"&&m.responseText?f(m.responseText):h(new Error("HTTP status: "+m.status+" retrieving "+p)))},m.send()})}function o(p){if(typeof window<"u"&&window.atob)return window.atob(p);throw new Error("You must supply a polyfill for window.atob in this environment")}function s(p){if(typeof JSON<"u"&&JSON.parse)return JSON.parse(p);throw new Error("You must supply a polyfill for JSON.parse in this environment")}function i(p,f){for(var h=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],m=p.split(`
43
- `),_="",b=Math.min(f,20),v=0;v<b;++v){var w=m[f-v-1],S=w.indexOf("//");if(S>=0&&(w=w.substr(0,S)),w){_=w+_;for(var T=h.length,C=0;C<T;C++){var I=h[C].exec(_);if(I&&I[1])return I[1]}}}}function l(){if(typeof Object.defineProperty!="function"||typeof Object.create!="function")throw new Error("Unable to consume source maps in older browsers")}function u(p){if(typeof p!="object")throw new TypeError("Given StackFrame is not an object");if(typeof p.fileName!="string")throw new TypeError("Given file name is not a String");if(typeof p.lineNumber!="number"||p.lineNumber%1!==0||p.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if(typeof p.columnNumber!="number"||p.columnNumber%1!==0||p.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}function c(p){for(var f=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/mg,h,m;m=f.exec(p);)h=m[1];if(h)return h;throw new Error("sourceMappingURL not found")}function d(p,f,h){return new Promise(function(m,_){var b=f.originalPositionFor({line:p.lineNumber,column:p.columnNumber});if(b.source){var v=f.sourceContentFor(b.source);v&&(h[b.source]=v),m(new n({functionName:b.name||p.functionName,args:p.args,fileName:b.source,lineNumber:b.line,columnNumber:b.column}))}else _(new Error("Could not get original source for given stackframe and source map"))})}return function p(f){if(!(this instanceof p))return new p(f);f=f||{},this.sourceCache=f.sourceCache||{},this.sourceMapConsumerCache=f.sourceMapConsumerCache||{},this.ajax=f.ajax||a,this._atob=f.atob||o,this._get=function(m){return new Promise((function(_,b){var v=m.substr(0,5)==="data:";if(this.sourceCache[m])_(this.sourceCache[m]);else if(f.offline&&!v)b(new Error("Cannot make network requests in offline mode"));else if(v){var w=/^data:application\/json;([\w=:"-]+;)*base64,/,S=m.match(w);if(S){var T=S[0].length,C=m.substr(T),I=this._atob(C);this.sourceCache[m]=I,_(I)}else b(new Error("The encoding of the inline sourcemap is not supported"))}else{var N=this.ajax(m,{method:"get"});this.sourceCache[m]=N,N.then(_,b)}}).bind(this))},this._getSourceMapConsumer=function(m,_){return new Promise((function(b){if(this.sourceMapConsumerCache[m])b(this.sourceMapConsumerCache[m]);else{var v=new Promise((function(w,S){return this._get(m).then(function(T){typeof T=="string"&&(T=s(T.replace(/^\)\]\}'/,""))),typeof T.sourceRoot>"u"&&(T.sourceRoot=_),w(new r.SourceMapConsumer(T))}).catch(S)}).bind(this));this.sourceMapConsumerCache[m]=v,b(v)}}).bind(this))},this.pinpoint=function(m){return new Promise((function(_,b){this.getMappedLocation(m).then((function(v){function w(){_(v)}this.findFunctionName(v).then(_,w).catch(w)}).bind(this),b)}).bind(this))},this.findFunctionName=function(m){return new Promise((function(_,b){u(m),this._get(m.fileName).then(function(w){var S=m.lineNumber,T=m.columnNumber,C=i(w,S);_(C?new n({functionName:C,args:m.args,fileName:m.fileName,lineNumber:S,columnNumber:T}):m)},b).catch(b)}).bind(this))},this.getMappedLocation=function(m){return new Promise((function(_,b){l(),u(m);var v=this.sourceCache,w=m.fileName;this._get(w).then((function(S){var T=c(S),C=T.substr(0,5)==="data:",I=w.substring(0,w.lastIndexOf("/")+1);return T[0]!=="/"&&!C&&!/^https?:\/\/|^\/\//i.test(T)&&(T=I+T),this._getSourceMapConsumer(T,I).then(function(N){return d(m,N,v).then(_).catch(function(){_(m)})})}).bind(this),b).catch(b)}).bind(this))}}})}(Wf)),Wf.exports}var cv;function aA(){return cv||(cv=1,function(e,t){(function(r,n){e.exports=n(KP(),XP(),nA())})(be,function(n,a,o){var s={filter:function(d){return(d.functionName||"").indexOf("StackTrace$$")===-1&&(d.functionName||"").indexOf("ErrorStackParser$$")===-1&&(d.functionName||"").indexOf("StackTraceGPS$$")===-1&&(d.functionName||"").indexOf("StackGenerator$$")===-1},sourceCache:{}},i=function(){try{throw new Error}catch(p){return p}};function l(d,p){var f={};return[d,p].forEach(function(h){for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&(f[m]=h[m]);return f}),f}function u(d){return d.stack||d["opera#sourceloc"]}function c(d,p){return typeof p=="function"?d.filter(p):d}return{get:function(p){var f=i();return u(f)?this.fromError(f,p):this.generateArtificially(p)},getSync:function(p){p=l(s,p);var f=i(),h=u(f)?n.parse(f):a.backtrace(p);return c(h,p.filter)},fromError:function(p,f){f=l(s,f);var h=new o(f);return new Promise((function(m){var _=c(n.parse(p),f.filter);m(Promise.all(_.map(function(b){return new Promise(function(v){function w(){v(b)}h.pinpoint(b).then(v,w).catch(w)})})))}).bind(this))},generateArtificially:function(p){p=l(s,p);var f=a.backtrace(p);return typeof p.filter=="function"&&(f=f.filter(p.filter)),Promise.resolve(f)},instrument:function(p,f,h,m){if(typeof p!="function")throw new Error("Cannot instrument non-function object");if(typeof p.__stacktraceOriginalFn=="function")return p;var _=(function(){try{return this.get().then(f,h).catch(h),p.apply(m||this,arguments)}catch(v){throw u(v)&&this.fromError(v).then(f,h).catch(h),v}}).bind(this);return _.__stacktraceOriginalFn=p,_},deinstrument:function(p){if(typeof p!="function")throw new Error("Cannot de-instrument non-function object");return typeof p.__stacktraceOriginalFn=="function"?p.__stacktraceOriginalFn:p},report:function(p,f,h,m){return new Promise(function(_,b){var v=new XMLHttpRequest;if(v.onerror=b,v.onreadystatechange=function(){v.readyState===4&&(v.status>=200&&v.status<400?_(v.responseText):b(new Error("POST to "+f+" failed with status: "+v.status)))},v.open("post",f),v.setRequestHeader("Content-Type","application/json"),m&&typeof m.headers=="object"){var w=m.headers;for(var S in w)Object.prototype.hasOwnProperty.call(w,S)&&v.setRequestHeader(S,w[S])}var T={stack:p};h!=null&&(T.message=h),v.send(JSON.stringify(T))})}}})}(jf)),jf.exports}var Xf,fv;function oA(){if(fv)return Xf;fv=1;var e=aA(),t="https://clouderrorreporting.googleapis.com/v1beta1/projects/",r=function(){};r.prototype.start=function(s){if(!s.key&&!s.targetUrl&&!s.customReportingFunction)throw new Error("Cannot initialize: No API key, target url or custom reporting function provided.");if(!s.projectId&&!s.targetUrl&&!s.customReportingFunction)throw new Error("Cannot initialize: No project ID, target url or custom reporting function provided.");this.customReportingFunction=s.customReportingFunction,this.apiKey=s.key,this.projectId=s.projectId,this.targetUrl=s.targetUrl,this.context=s.context||{},this.serviceContext={service:s.service||"web"},s.version&&(this.serviceContext.version=s.version),this.reportUncaughtExceptions=s.reportUncaughtExceptions!==!1,this.reportUnhandledPromiseRejections=s.reportUnhandledPromiseRejections!==!1,this.disabled=!!s.disabled,n(this)};function n(s){var i=function(){};if(s.reportUncaughtExceptions){var l=window.onerror||i;window.onerror=function(c,d,p,f,h){return h&&s.report(h).catch(i),l(c,d,p,f,h),!0}}if(s.reportUnhandledPromiseRejections){var u=window.onunhandledrejection||i;window.onunhandledrejection=function(c){return c&&s.report(c.reason).catch(i),u(c.reason),!0}}}r.prototype.report=function(s,i){if(this.disabled)return Promise.resolve(null);if(!s)return Promise.reject(new Error("no error to report"));i=i||{};var l={};l.serviceContext=this.serviceContext,l.context=this.context,l.context.httpRequest={userAgent:window.navigator.userAgent,url:window.location.href};var u=0;if(typeof s=="string"||s instanceof String){try{throw new Error(s)}catch(p){s=p}u=i.skipLocalFrames||1}var c=this.targetUrl||t+this.projectId+"/events:report?key="+this.apiKey,d=this.customReportingFunction;return a(s,u).then(function(p){return l.message=p,d?d(l):o(c,l)})};function a(s,i){return e.fromError(s).then(function(l){for(var u=[s.toString()],c=i;c<l.length;c++)u.push([" at ",l[c].getFunctionName()||"<anonymous>"," (",l[c].getFileName(),":",l[c].getLineNumber(),":",l[c].getColumnNumber(),")"].join(""));return u.join(`
42
+ `).filter(function(c){return!!c.match(a)&&!c.match(/^Error created at/)},this);return u.map(function(c){var d=c.split("@"),p=this.extractLocation(d.pop()),f=d.shift()||"",h=f.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,m;f.match(/\(([^)]*)\)/)&&(m=f.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var w=m===void 0||m==="[arguments not available]"?void 0:m.split(",");return new n({functionName:h,args:w,fileName:p[0],lineNumber:p[1],columnNumber:p[2],source:c})},this)}}})}(Yf)),Yf.exports}var Xf={exports:{}},uv;function aA(){return uv||(uv=1,function(e,t){(function(r,n){e.exports=n(Bh())})(be,function(r){return{backtrace:function(a){var o=[],s=10;typeof a=="object"&&typeof a.maxStackSize=="number"&&(s=a.maxStackSize);for(var i=arguments.callee;i&&o.length<s&&i.arguments;){for(var l=new Array(i.arguments.length),u=0;u<l.length;++u)l[u]=i.arguments[u];/function(?:\s+([\w$]+))+\s*\(/.test(i.toString())?o.push(new r({functionName:RegExp.$1||void 0,args:l})):o.push(new r({args:l}));try{i=i.caller}catch{break}}return o}}})}(Xf)),Xf.exports}var Qf={exports:{}},Ao={},Jf={},cv;function O_(){return cv||(cv=1,function(e){function t(y,T,R){if(T in y)return y[T];if(arguments.length===3)return R;throw new Error('"'+T+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,n=/^data:.+\,.+$/;function a(y){var T=y.match(r);return T?{scheme:T[1],auth:T[2],host:T[3],port:T[4],path:T[5]}:null}e.urlParse=a;function o(y){var T="";return y.scheme&&(T+=y.scheme+":"),T+="//",y.auth&&(T+=y.auth+"@"),y.host&&(T+=y.host),y.port&&(T+=":"+y.port),y.path&&(T+=y.path),T}e.urlGenerate=o;function s(y){var T=y,R=a(y);if(R){if(!R.path)return y;T=R.path}for(var S=e.isAbsolute(T),O=T.split(/\/+/),N,M=0,H=O.length-1;H>=0;H--)N=O[H],N==="."?O.splice(H,1):N===".."?M++:M>0&&(N===""?(O.splice(H+1,M),M=0):(O.splice(H,2),M--));return T=O.join("/"),T===""&&(T=S?"/":"."),R?(R.path=T,o(R)):T}e.normalize=s;function i(y,T){y===""&&(y="."),T===""&&(T=".");var R=a(T),S=a(y);if(S&&(y=S.path||"/"),R&&!R.scheme)return S&&(R.scheme=S.scheme),o(R);if(R||T.match(n))return T;if(S&&!S.host&&!S.path)return S.host=T,o(S);var O=T.charAt(0)==="/"?T:s(y.replace(/\/+$/,"")+"/"+T);return S?(S.path=O,o(S)):O}e.join=i,e.isAbsolute=function(y){return y.charAt(0)==="/"||!!y.match(r)};function l(y,T){y===""&&(y="."),y=y.replace(/\/$/,"");for(var R=0;T.indexOf(y+"/")!==0;){var S=y.lastIndexOf("/");if(S<0||(y=y.slice(0,S),y.match(/^([^\/]+:\/)?\/*$/)))return T;++R}return Array(R+1).join("../")+T.substr(y.length+1)}e.relative=l;var u=function(){var y=Object.create(null);return!("__proto__"in y)}();function c(y){return y}function d(y){return f(y)?"$"+y:y}e.toSetString=u?c:d;function p(y){return f(y)?y.slice(1):y}e.fromSetString=u?c:p;function f(y){if(!y)return!1;var T=y.length;if(T<9||y.charCodeAt(T-1)!==95||y.charCodeAt(T-2)!==95||y.charCodeAt(T-3)!==111||y.charCodeAt(T-4)!==116||y.charCodeAt(T-5)!==111||y.charCodeAt(T-6)!==114||y.charCodeAt(T-7)!==112||y.charCodeAt(T-8)!==95||y.charCodeAt(T-9)!==95)return!1;for(var R=T-10;R>=0;R--)if(y.charCodeAt(R)!==36)return!1;return!0}function h(y,T,R){var S=y.source-T.source;return S!==0||(S=y.originalLine-T.originalLine,S!==0)||(S=y.originalColumn-T.originalColumn,S!==0||R)||(S=y.generatedColumn-T.generatedColumn,S!==0)||(S=y.generatedLine-T.generatedLine,S!==0)?S:y.name-T.name}e.compareByOriginalPositions=h;function m(y,T,R){var S=y.generatedLine-T.generatedLine;return S!==0||(S=y.generatedColumn-T.generatedColumn,S!==0||R)||(S=y.source-T.source,S!==0)||(S=y.originalLine-T.originalLine,S!==0)||(S=y.originalColumn-T.originalColumn,S!==0)?S:y.name-T.name}e.compareByGeneratedPositionsDeflated=m;function w(y,T){return y===T?0:y>T?1:-1}function E(y,T){var R=y.generatedLine-T.generatedLine;return R!==0||(R=y.generatedColumn-T.generatedColumn,R!==0)||(R=w(y.source,T.source),R!==0)||(R=y.originalLine-T.originalLine,R!==0)||(R=y.originalColumn-T.originalColumn,R!==0)?R:w(y.name,T.name)}e.compareByGeneratedPositionsInflated=E}(Jf)),Jf}var Zf={},fv;function oA(){return fv||(fv=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,a,o,s,i){var l=Math.floor((n-r)/2)+r,u=s(a,o[l],!0);return u===0?l:u>0?n-l>1?t(l,n,a,o,s,i):i==e.LEAST_UPPER_BOUND?n<o.length?n:-1:l:l-r>1?t(r,l,a,o,s,i):i==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.search=function(n,a,o,s){if(a.length===0)return-1;var i=t(-1,a.length,n,a,o,s||e.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&o(a[i],a[i-1],!0)===0;)--i;return i}}(Zf)),Zf}var ed={},dv;function iA(){if(dv)return ed;dv=1;var e=O_(),t=Object.prototype.hasOwnProperty;function r(){this._array=[],this._set=Object.create(null)}return r.fromArray=function(a,o){for(var s=new r,i=0,l=a.length;i<l;i++)s.add(a[i],o);return s},r.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(a,o){var s=e.toSetString(a),i=t.call(this._set,s),l=this._array.length;(!i||o)&&this._array.push(a),i||(this._set[s]=l)},r.prototype.has=function(a){var o=e.toSetString(a);return t.call(this._set,o)},r.prototype.indexOf=function(a){var o=e.toSetString(a);if(t.call(this._set,o))return this._set[o];throw new Error('"'+a+'" is not in the set.')},r.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},r.prototype.toArray=function(){return this._array.slice()},ed.ArraySet=r,ed}var Ui={},Hi={},pv;function sA(){if(pv)return Hi;pv=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Hi.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},Hi.decode=function(t){var r=65,n=90,a=97,o=122,s=48,i=57,l=43,u=47,c=26,d=52;return r<=t&&t<=n?t-r:a<=t&&t<=o?t-a+c:s<=t&&t<=i?t-s+d:t==l?62:t==u?63:-1},Hi}var hv;function lA(){if(hv)return Ui;hv=1;var e=sA(),t=5,r=1<<t,n=r-1,a=r;function o(i){return i<0?(-i<<1)+1:(i<<1)+0}function s(i){var l=(i&1)===1,u=i>>1;return l?-u:u}return Ui.encode=function(l){var u="",c,d=o(l);do c=d&n,d>>>=t,d>0&&(c|=a),u+=e.encode(c);while(d>0);return u},Ui.decode=function(l,u,c){var d=l.length,p=0,f=0,h,m;do{if(u>=d)throw new Error("Expected more digits in base 64 VLQ value.");if(m=e.decode(l.charCodeAt(u++)),m===-1)throw new Error("Invalid base64 digit: "+l.charAt(u-1));h=!!(m&a),m&=n,p=p+(m<<f),f+=t}while(h);c.value=s(p),c.rest=u},Ui}var td={},mv;function uA(){if(mv)return td;mv=1;function e(n,a,o){var s=n[a];n[a]=n[o],n[o]=s}function t(n,a){return Math.round(n+Math.random()*(a-n))}function r(n,a,o,s){if(o<s){var i=t(o,s),l=o-1;e(n,i,s);for(var u=n[s],c=o;c<s;c++)a(n[c],u)<=0&&(l+=1,e(n,l,c));e(n,l+1,c);var d=l+1;r(n,a,o,d-1),r(n,a,d+1,s)}}return td.quickSort=function(n,a){r(n,a,0,n.length-1)},td}var yv;function cA(){if(yv)return Ao;yv=1;var e=O_(),t=oA(),r=iA().ArraySet,n=lA(),a=uA().quickSort;function o(u){var c=u;return typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,""))),c.sections!=null?new l(c):new s(c)}o.fromSourceMap=function(u){return s.fromSourceMap(u)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(c,d){var p=c.charAt(d);return p===";"||p===","},o.prototype._parseMappings=function(c,d){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(c,d,p){var f=d||null,h=p||o.GENERATED_ORDER,m;switch(h){case o.GENERATED_ORDER:m=this._generatedMappings;break;case o.ORIGINAL_ORDER:m=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var w=this.sourceRoot;m.map(function(E){var y=E.source===null?null:this._sources.at(E.source);return y!=null&&w!=null&&(y=e.join(w,y)),{source:y,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}},this).forEach(c,f)},o.prototype.allGeneratedPositionsFor=function(c){var d=e.getArg(c,"line"),p={source:e.getArg(c,"source"),originalLine:d,originalColumn:e.getArg(c,"column",0)};if(this.sourceRoot!=null&&(p.source=e.relative(this.sourceRoot,p.source)),!this._sources.has(p.source))return[];p.source=this._sources.indexOf(p.source);var f=[],h=this._findMapping(p,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(h>=0){var m=this._originalMappings[h];if(c.column===void 0)for(var w=m.originalLine;m&&m.originalLine===w;)f.push({line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}),m=this._originalMappings[++h];else for(var E=m.originalColumn;m&&m.originalLine===d&&m.originalColumn==E;)f.push({line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}),m=this._originalMappings[++h]}return f},Ao.SourceMapConsumer=o;function s(u){var c=u;typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,"")));var d=e.getArg(c,"version"),p=e.getArg(c,"sources"),f=e.getArg(c,"names",[]),h=e.getArg(c,"sourceRoot",null),m=e.getArg(c,"sourcesContent",null),w=e.getArg(c,"mappings"),E=e.getArg(c,"file",null);if(d!=this._version)throw new Error("Unsupported version: "+d);p=p.map(String).map(e.normalize).map(function(y){return h&&e.isAbsolute(h)&&e.isAbsolute(y)?e.relative(h,y):y}),this._names=r.fromArray(f.map(String),!0),this._sources=r.fromArray(p,!0),this.sourceRoot=h,this.sourcesContent=m,this._mappings=w,this.file=E}s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.fromSourceMap=function(c){var d=Object.create(s.prototype),p=d._names=r.fromArray(c._names.toArray(),!0),f=d._sources=r.fromArray(c._sources.toArray(),!0);d.sourceRoot=c._sourceRoot,d.sourcesContent=c._generateSourcesContent(d._sources.toArray(),d.sourceRoot),d.file=c._file;for(var h=c._mappings.toArray().slice(),m=d.__generatedMappings=[],w=d.__originalMappings=[],E=0,y=h.length;E<y;E++){var T=h[E],R=new i;R.generatedLine=T.generatedLine,R.generatedColumn=T.generatedColumn,T.source&&(R.source=f.indexOf(T.source),R.originalLine=T.originalLine,R.originalColumn=T.originalColumn,T.name&&(R.name=p.indexOf(T.name)),w.push(R)),m.push(R)}return a(d.__originalMappings,e.compareByOriginalPositions),d},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._sources.toArray().map(function(u){return this.sourceRoot!=null?e.join(this.sourceRoot,u):u},this)}});function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}s.prototype._parseMappings=function(c,d){for(var p=1,f=0,h=0,m=0,w=0,E=0,y=c.length,T=0,R={},S={},O=[],N=[],M,H,G,W,U;T<y;)if(c.charAt(T)===";")p++,T++,f=0;else if(c.charAt(T)===",")T++;else{for(M=new i,M.generatedLine=p,W=T;W<y&&!this._charIsMappingSeparator(c,W);W++);if(H=c.slice(T,W),G=R[H],G)T+=H.length;else{for(G=[];T<W;)n.decode(c,T,S),U=S.value,T=S.rest,G.push(U);if(G.length===2)throw new Error("Found a source, but no line and column");if(G.length===3)throw new Error("Found a source and line, but no column");R[H]=G}M.generatedColumn=f+G[0],f=M.generatedColumn,G.length>1&&(M.source=w+G[1],w+=G[1],M.originalLine=h+G[2],h=M.originalLine,M.originalLine+=1,M.originalColumn=m+G[3],m=M.originalColumn,G.length>4&&(M.name=E+G[4],E+=G[4])),N.push(M),typeof M.originalLine=="number"&&O.push(M)}a(N,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=N,a(O,e.compareByOriginalPositions),this.__originalMappings=O},s.prototype._findMapping=function(c,d,p,f,h,m){if(c[p]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+c[p]);if(c[f]<0)throw new TypeError("Column must be greater than or equal to 0, got "+c[f]);return t.search(c,d,h,m)},s.prototype.computeColumnSpans=function(){for(var c=0;c<this._generatedMappings.length;++c){var d=this._generatedMappings[c];if(c+1<this._generatedMappings.length){var p=this._generatedMappings[c+1];if(d.generatedLine===p.generatedLine){d.lastGeneratedColumn=p.generatedColumn-1;continue}}d.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(c){var d={generatedLine:e.getArg(c,"line"),generatedColumn:e.getArg(c,"column")},p=this._findMapping(d,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(c,"bias",o.GREATEST_LOWER_BOUND));if(p>=0){var f=this._generatedMappings[p];if(f.generatedLine===d.generatedLine){var h=e.getArg(f,"source",null);h!==null&&(h=this._sources.at(h),this.sourceRoot!=null&&(h=e.join(this.sourceRoot,h)));var m=e.getArg(f,"name",null);return m!==null&&(m=this._names.at(m)),{source:h,line:e.getArg(f,"originalLine",null),column:e.getArg(f,"originalColumn",null),name:m}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(c){return c==null}):!1},s.prototype.sourceContentFor=function(c,d){if(!this.sourcesContent)return null;if(this.sourceRoot!=null&&(c=e.relative(this.sourceRoot,c)),this._sources.has(c))return this.sourcesContent[this._sources.indexOf(c)];var p;if(this.sourceRoot!=null&&(p=e.urlParse(this.sourceRoot))){var f=c.replace(/^file:\/\//,"");if(p.scheme=="file"&&this._sources.has(f))return this.sourcesContent[this._sources.indexOf(f)];if((!p.path||p.path=="/")&&this._sources.has("/"+c))return this.sourcesContent[this._sources.indexOf("/"+c)]}if(d)return null;throw new Error('"'+c+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(c){var d=e.getArg(c,"source");if(this.sourceRoot!=null&&(d=e.relative(this.sourceRoot,d)),!this._sources.has(d))return{line:null,column:null,lastColumn:null};d=this._sources.indexOf(d);var p={source:d,originalLine:e.getArg(c,"line"),originalColumn:e.getArg(c,"column")},f=this._findMapping(p,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(c,"bias",o.GREATEST_LOWER_BOUND));if(f>=0){var h=this._originalMappings[f];if(h.source===p.source)return{line:e.getArg(h,"generatedLine",null),column:e.getArg(h,"generatedColumn",null),lastColumn:e.getArg(h,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Ao.BasicSourceMapConsumer=s;function l(u){var c=u;typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,"")));var d=e.getArg(c,"version"),p=e.getArg(c,"sections");if(d!=this._version)throw new Error("Unsupported version: "+d);this._sources=new r,this._names=new r;var f={line:-1,column:0};this._sections=p.map(function(h){if(h.url)throw new Error("Support for url field in sections not implemented.");var m=e.getArg(h,"offset"),w=e.getArg(m,"line"),E=e.getArg(m,"column");if(w<f.line||w===f.line&&E<f.column)throw new Error("Section offsets must be ordered and non-overlapping.");return f=m,{generatedOffset:{generatedLine:w+1,generatedColumn:E+1},consumer:new o(e.getArg(h,"map"))}})}return l.prototype=Object.create(o.prototype),l.prototype.constructor=o,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var u=[],c=0;c<this._sections.length;c++)for(var d=0;d<this._sections[c].consumer.sources.length;d++)u.push(this._sections[c].consumer.sources[d]);return u}}),l.prototype.originalPositionFor=function(c){var d={generatedLine:e.getArg(c,"line"),generatedColumn:e.getArg(c,"column")},p=t.search(d,this._sections,function(h,m){var w=h.generatedLine-m.generatedOffset.generatedLine;return w||h.generatedColumn-m.generatedOffset.generatedColumn}),f=this._sections[p];return f?f.consumer.originalPositionFor({line:d.generatedLine-(f.generatedOffset.generatedLine-1),column:d.generatedColumn-(f.generatedOffset.generatedLine===d.generatedLine?f.generatedOffset.generatedColumn-1:0),bias:c.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(c){return c.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(c,d){for(var p=0;p<this._sections.length;p++){var f=this._sections[p],h=f.consumer.sourceContentFor(c,!0);if(h)return h}if(d)return null;throw new Error('"'+c+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(c){for(var d=0;d<this._sections.length;d++){var p=this._sections[d];if(p.consumer.sources.indexOf(e.getArg(c,"source"))!==-1){var f=p.consumer.generatedPositionFor(c);if(f){var h={line:f.line+(p.generatedOffset.generatedLine-1),column:f.column+(p.generatedOffset.generatedLine===f.line?p.generatedOffset.generatedColumn-1:0)};return h}}}return{line:null,column:null}},l.prototype._parseMappings=function(c,d){this.__generatedMappings=[],this.__originalMappings=[];for(var p=0;p<this._sections.length;p++)for(var f=this._sections[p],h=f.consumer._generatedMappings,m=0;m<h.length;m++){var w=h[m],E=f.consumer._sources.at(w.source);f.consumer.sourceRoot!==null&&(E=e.join(f.consumer.sourceRoot,E)),this._sources.add(E),E=this._sources.indexOf(E);var y=f.consumer._names.at(w.name);this._names.add(y),y=this._names.indexOf(y);var T={source:E,generatedLine:w.generatedLine+(f.generatedOffset.generatedLine-1),generatedColumn:w.generatedColumn+(f.generatedOffset.generatedLine===w.generatedLine?f.generatedOffset.generatedColumn-1:0),originalLine:w.originalLine,originalColumn:w.originalColumn,name:y};this.__generatedMappings.push(T),typeof T.originalLine=="number"&&this.__originalMappings.push(T)}a(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),a(this.__originalMappings,e.compareByOriginalPositions)},Ao.IndexedSourceMapConsumer=l,Ao}var vv;function fA(){return vv||(vv=1,function(e,t){(function(r,n){e.exports=n(cA(),Bh())})(be,function(r,n){function a(p){return new Promise(function(f,h){var m=new XMLHttpRequest;m.open("get",p),m.onerror=h,m.onreadystatechange=function(){m.readyState===4&&(m.status>=200&&m.status<300||p.substr(0,7)==="file://"&&m.responseText?f(m.responseText):h(new Error("HTTP status: "+m.status+" retrieving "+p)))},m.send()})}function o(p){if(typeof window<"u"&&window.atob)return window.atob(p);throw new Error("You must supply a polyfill for window.atob in this environment")}function s(p){if(typeof JSON<"u"&&JSON.parse)return JSON.parse(p);throw new Error("You must supply a polyfill for JSON.parse in this environment")}function i(p,f){for(var h=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],m=p.split(`
43
+ `),w="",E=Math.min(f,20),y=0;y<E;++y){var T=m[f-y-1],R=T.indexOf("//");if(R>=0&&(T=T.substr(0,R)),T){w=T+w;for(var S=h.length,O=0;O<S;O++){var N=h[O].exec(w);if(N&&N[1])return N[1]}}}}function l(){if(typeof Object.defineProperty!="function"||typeof Object.create!="function")throw new Error("Unable to consume source maps in older browsers")}function u(p){if(typeof p!="object")throw new TypeError("Given StackFrame is not an object");if(typeof p.fileName!="string")throw new TypeError("Given file name is not a String");if(typeof p.lineNumber!="number"||p.lineNumber%1!==0||p.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if(typeof p.columnNumber!="number"||p.columnNumber%1!==0||p.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}function c(p){for(var f=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/mg,h,m;m=f.exec(p);)h=m[1];if(h)return h;throw new Error("sourceMappingURL not found")}function d(p,f,h){return new Promise(function(m,w){var E=f.originalPositionFor({line:p.lineNumber,column:p.columnNumber});if(E.source){var y=f.sourceContentFor(E.source);y&&(h[E.source]=y),m(new n({functionName:E.name||p.functionName,args:p.args,fileName:E.source,lineNumber:E.line,columnNumber:E.column}))}else w(new Error("Could not get original source for given stackframe and source map"))})}return function p(f){if(!(this instanceof p))return new p(f);f=f||{},this.sourceCache=f.sourceCache||{},this.sourceMapConsumerCache=f.sourceMapConsumerCache||{},this.ajax=f.ajax||a,this._atob=f.atob||o,this._get=function(m){return new Promise((function(w,E){var y=m.substr(0,5)==="data:";if(this.sourceCache[m])w(this.sourceCache[m]);else if(f.offline&&!y)E(new Error("Cannot make network requests in offline mode"));else if(y){var T=/^data:application\/json;([\w=:"-]+;)*base64,/,R=m.match(T);if(R){var S=R[0].length,O=m.substr(S),N=this._atob(O);this.sourceCache[m]=N,w(N)}else E(new Error("The encoding of the inline sourcemap is not supported"))}else{var M=this.ajax(m,{method:"get"});this.sourceCache[m]=M,M.then(w,E)}}).bind(this))},this._getSourceMapConsumer=function(m,w){return new Promise((function(E){if(this.sourceMapConsumerCache[m])E(this.sourceMapConsumerCache[m]);else{var y=new Promise((function(T,R){return this._get(m).then(function(S){typeof S=="string"&&(S=s(S.replace(/^\)\]\}'/,""))),typeof S.sourceRoot>"u"&&(S.sourceRoot=w),T(new r.SourceMapConsumer(S))}).catch(R)}).bind(this));this.sourceMapConsumerCache[m]=y,E(y)}}).bind(this))},this.pinpoint=function(m){return new Promise((function(w,E){this.getMappedLocation(m).then((function(y){function T(){w(y)}this.findFunctionName(y).then(w,T).catch(T)}).bind(this),E)}).bind(this))},this.findFunctionName=function(m){return new Promise((function(w,E){u(m),this._get(m.fileName).then(function(T){var R=m.lineNumber,S=m.columnNumber,O=i(T,R);w(O?new n({functionName:O,args:m.args,fileName:m.fileName,lineNumber:R,columnNumber:S}):m)},E).catch(E)}).bind(this))},this.getMappedLocation=function(m){return new Promise((function(w,E){l(),u(m);var y=this.sourceCache,T=m.fileName;this._get(T).then((function(R){var S=c(R),O=S.substr(0,5)==="data:",N=T.substring(0,T.lastIndexOf("/")+1);return S[0]!=="/"&&!O&&!/^https?:\/\/|^\/\//i.test(S)&&(S=N+S),this._getSourceMapConsumer(S,N).then(function(M){return d(m,M,y).then(w).catch(function(){w(m)})})}).bind(this),E).catch(E)}).bind(this))}}})}(Qf)),Qf.exports}var gv;function dA(){return gv||(gv=1,function(e,t){(function(r,n){e.exports=n(nA(),aA(),fA())})(be,function(n,a,o){var s={filter:function(d){return(d.functionName||"").indexOf("StackTrace$$")===-1&&(d.functionName||"").indexOf("ErrorStackParser$$")===-1&&(d.functionName||"").indexOf("StackTraceGPS$$")===-1&&(d.functionName||"").indexOf("StackGenerator$$")===-1},sourceCache:{}},i=function(){try{throw new Error}catch(p){return p}};function l(d,p){var f={};return[d,p].forEach(function(h){for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&(f[m]=h[m]);return f}),f}function u(d){return d.stack||d["opera#sourceloc"]}function c(d,p){return typeof p=="function"?d.filter(p):d}return{get:function(p){var f=i();return u(f)?this.fromError(f,p):this.generateArtificially(p)},getSync:function(p){p=l(s,p);var f=i(),h=u(f)?n.parse(f):a.backtrace(p);return c(h,p.filter)},fromError:function(p,f){f=l(s,f);var h=new o(f);return new Promise((function(m){var w=c(n.parse(p),f.filter);m(Promise.all(w.map(function(E){return new Promise(function(y){function T(){y(E)}h.pinpoint(E).then(y,T).catch(T)})})))}).bind(this))},generateArtificially:function(p){p=l(s,p);var f=a.backtrace(p);return typeof p.filter=="function"&&(f=f.filter(p.filter)),Promise.resolve(f)},instrument:function(p,f,h,m){if(typeof p!="function")throw new Error("Cannot instrument non-function object");if(typeof p.__stacktraceOriginalFn=="function")return p;var w=(function(){try{return this.get().then(f,h).catch(h),p.apply(m||this,arguments)}catch(y){throw u(y)&&this.fromError(y).then(f,h).catch(h),y}}).bind(this);return w.__stacktraceOriginalFn=p,w},deinstrument:function(p){if(typeof p!="function")throw new Error("Cannot de-instrument non-function object");return typeof p.__stacktraceOriginalFn=="function"?p.__stacktraceOriginalFn:p},report:function(p,f,h,m){return new Promise(function(w,E){var y=new XMLHttpRequest;if(y.onerror=E,y.onreadystatechange=function(){y.readyState===4&&(y.status>=200&&y.status<400?w(y.responseText):E(new Error("POST to "+f+" failed with status: "+y.status)))},y.open("post",f),y.setRequestHeader("Content-Type","application/json"),m&&typeof m.headers=="object"){var T=m.headers;for(var R in T)Object.prototype.hasOwnProperty.call(T,R)&&y.setRequestHeader(R,T[R])}var S={stack:p};h!=null&&(S.message=h),y.send(JSON.stringify(S))})}}})}(zf)),zf.exports}var rd,bv;function pA(){if(bv)return rd;bv=1;var e=dA(),t="https://clouderrorreporting.googleapis.com/v1beta1/projects/",r=function(){};r.prototype.start=function(s){if(!s.key&&!s.targetUrl&&!s.customReportingFunction)throw new Error("Cannot initialize: No API key, target url or custom reporting function provided.");if(!s.projectId&&!s.targetUrl&&!s.customReportingFunction)throw new Error("Cannot initialize: No project ID, target url or custom reporting function provided.");this.customReportingFunction=s.customReportingFunction,this.apiKey=s.key,this.projectId=s.projectId,this.targetUrl=s.targetUrl,this.context=s.context||{},this.serviceContext={service:s.service||"web"},s.version&&(this.serviceContext.version=s.version),this.reportUncaughtExceptions=s.reportUncaughtExceptions!==!1,this.reportUnhandledPromiseRejections=s.reportUnhandledPromiseRejections!==!1,this.disabled=!!s.disabled,n(this)};function n(s){var i=function(){};if(s.reportUncaughtExceptions){var l=window.onerror||i;window.onerror=function(c,d,p,f,h){return h&&s.report(h).catch(i),l(c,d,p,f,h),!0}}if(s.reportUnhandledPromiseRejections){var u=window.onunhandledrejection||i;window.onunhandledrejection=function(c){return c&&s.report(c.reason).catch(i),u(c.reason),!0}}}r.prototype.report=function(s,i){if(this.disabled)return Promise.resolve(null);if(!s)return Promise.reject(new Error("no error to report"));i=i||{};var l={};l.serviceContext=this.serviceContext,l.context=this.context,l.context.httpRequest={userAgent:window.navigator.userAgent,url:window.location.href};var u=0;if(typeof s=="string"||s instanceof String){try{throw new Error(s)}catch(p){s=p}u=i.skipLocalFrames||1}var c=this.targetUrl||t+this.projectId+"/events:report?key="+this.apiKey,d=this.customReportingFunction;return a(s,u).then(function(p){return l.message=p,d?d(l):o(c,l)})};function a(s,i){return e.fromError(s).then(function(l){for(var u=[s.toString()],c=i;c<l.length;c++)u.push([" at ",l[c].getFunctionName()||"<anonymous>"," (",l[c].getFileName(),":",l[c].getLineNumber(),":",l[c].getColumnNumber(),")"].join(""));return u.join(`
44
44
  `)},function(l){return["Error extracting stack trace: ",l,`
45
45
  `,s.toString(),`
46
- `," (",s.file,":",s.line,":",s.column,")"].join("")})}function o(s,i){var l=new XMLHttpRequest;return l.open("POST",s,!0),l.setRequestHeader("Content-Type","application/json; charset=UTF-8"),new Promise(function(u,c){l.onreadystatechange=function(){if(l.readyState===4){var d=l.status;if(d>=200&&d<300)u({message:i.message});else if(d===429)c({message:"quota or rate limiting error on stackdriver report",name:"Http429FakeError"});else{var p=d?d+" http response":"network error";c(new Error(p+" on stackdriver report"))}}},l.send(JSON.stringify(i))})}return r.prototype.setUser=function(s){this.context.user=s},Xf=r,Xf}var dv;function iA(){return dv||(dv=1,function(e,t){(function(r,n){e.exports=n(oA())})(be,function(r){return function(){var n={542:function(i){i.exports=r}},a={};function o(i){var l=a[i];if(l!==void 0)return l.exports;var u=a[i]={exports:{}};return n[i](u,u.exports,o),u.exports}o.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(l,{a:l}),l},o.d=function(i,l){for(var u in l)o.o(l,u)&&!o.o(i,u)&&Object.defineProperty(i,u,{enumerable:!0,get:l[u]})},o.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var s={};return function(){o.r(s),o.d(s,{reportError:function(){return p},setContext:function(){return d}});var i=o(542),l=o.n(i);const{GCP:{PROJECT_ID:u}}={GCP:{PROJECT_ID:"hazel-tea-194609"}};let c={key:null,environment:null,projectId:u};const d=({apiKey:f,environment:h,projectId:m,serviceName:_})=>{if(!f)throw new Error("Cannot set context: REACT_APP_GCP_ERRORS_API_KEY not defined");if(c.key=f,!h)throw new Error("Cannot set context: Environment not defined");c.environment=h,c.projectId=m||u,_&&(c.service=`${_}:${c.environment}`)},p=async(f,h)=>{try{const m=new(l());m.start(c),typeof h=="string"&&m.setUser(h),await m.report(f)}catch(m){console.warn(`Cannot report error: ${m.message}`)}}}(),s}()})}(Ff)),Ff.exports}var Qf={exports:{}},Oi={},pv;function sA(){if(pv)return Oi;pv=1,Object.defineProperty(Oi,"__esModule",{value:!0});var e=function(r){console.warn("[react-gtm]",r)};return Oi.default=e,Oi}var Jf,hv;function lA(){if(hv)return Jf;hv=1;var e=sA(),t=r(e);function r(a){return a&&a.__esModule?a:{default:a}}var n={tags:function(o){var s=o.id,i=o.events,l=o.dataLayer,u=o.dataLayerName,c=o.preview,d=o.auth,p="&gtm_auth="+d,f="&gtm_preview="+c;s||(0,t.default)("GTM Id is required");var h=`
46
+ `," (",s.file,":",s.line,":",s.column,")"].join("")})}function o(s,i){var l=new XMLHttpRequest;return l.open("POST",s,!0),l.setRequestHeader("Content-Type","application/json; charset=UTF-8"),new Promise(function(u,c){l.onreadystatechange=function(){if(l.readyState===4){var d=l.status;if(d>=200&&d<300)u({message:i.message});else if(d===429)c({message:"quota or rate limiting error on stackdriver report",name:"Http429FakeError"});else{var p=d?d+" http response":"network error";c(new Error(p+" on stackdriver report"))}}},l.send(JSON.stringify(i))})}return r.prototype.setUser=function(s){this.context.user=s},rd=r,rd}var Ev;function hA(){return Ev||(Ev=1,function(e,t){(function(r,n){e.exports=n(pA())})(be,function(r){return function(){var n={542:function(i){i.exports=r}},a={};function o(i){var l=a[i];if(l!==void 0)return l.exports;var u=a[i]={exports:{}};return n[i](u,u.exports,o),u.exports}o.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(l,{a:l}),l},o.d=function(i,l){for(var u in l)o.o(l,u)&&!o.o(i,u)&&Object.defineProperty(i,u,{enumerable:!0,get:l[u]})},o.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var s={};return function(){o.r(s),o.d(s,{reportError:function(){return p},setContext:function(){return d}});var i=o(542),l=o.n(i);const{GCP:{PROJECT_ID:u}}={GCP:{PROJECT_ID:"hazel-tea-194609"}};let c={key:null,environment:null,projectId:u};const d=({apiKey:f,environment:h,projectId:m,serviceName:w})=>{if(!f)throw new Error("Cannot set context: REACT_APP_GCP_ERRORS_API_KEY not defined");if(c.key=f,!h)throw new Error("Cannot set context: Environment not defined");c.environment=h,c.projectId=m||u,w&&(c.service=`${w}:${c.environment}`)},p=async(f,h)=>{try{const m=new(l());m.start(c),typeof h=="string"&&m.setUser(h),await m.report(f)}catch(m){console.warn(`Cannot report error: ${m.message}`)}}}(),s}()})}(Vf)),Vf.exports}var nd={exports:{}},Gi={},_v;function mA(){if(_v)return Gi;_v=1,Object.defineProperty(Gi,"__esModule",{value:!0});var e=function(r){console.warn("[react-gtm]",r)};return Gi.default=e,Gi}var ad,wv;function yA(){if(wv)return ad;wv=1;var e=mA(),t=r(e);function r(a){return a&&a.__esModule?a:{default:a}}var n={tags:function(o){var s=o.id,i=o.events,l=o.dataLayer,u=o.dataLayerName,c=o.preview,d=o.auth,p="&gtm_auth="+d,f="&gtm_preview="+c;s||(0,t.default)("GTM Id is required");var h=`
47
47
  <iframe src="https://www.googletagmanager.com/ns.html?id=`+s+p+f+`&gtm_cookies_win=x"
48
48
  height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>`,m=`
49
49
  (function(w,d,s,l,i){w[l]=w[l]||[];
@@ -51,43 +51,43 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
51
51
  var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';
52
52
  j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'`+p+f+`&gtm_cookies_win=x';
53
53
  f.parentNode.insertBefore(j,f);
54
- })(window,document,'script','`+u+"','"+s+"');",_=this.dataLayer(l,u);return{iframe:h,script:m,dataLayerVar:_}},dataLayer:function(o,s){return`
54
+ })(window,document,'script','`+u+"','"+s+"');",w=this.dataLayer(l,u);return{iframe:h,script:m,dataLayerVar:w}},dataLayer:function(o,s){return`
55
55
  window.`+s+" = window."+s+` || [];
56
- window.`+s+".push("+JSON.stringify(o)+")"}};return Jf=n,Jf}var Zf,mv;function uA(){if(mv)return Zf;mv=1;var e=lA(),t=r(e);function r(a){return a&&a.__esModule?a:{default:a}}var n={dataScript:function(o){var s=document.createElement("script");return s.innerHTML=o,s},gtm:function(o){var s=t.default.tags(o),i=function(){var d=document.createElement("noscript");return d.innerHTML=s.iframe,d},l=function(){var d=document.createElement("script");return d.innerHTML=s.script,d},u=this.dataScript(s.dataLayerVar);return{noScript:i,script:l,dataScript:u}},initialize:function(o){var s=o.gtmId,i=o.events,l=i===void 0?{}:i,u=o.dataLayer,c=o.dataLayerName,d=c===void 0?"dataLayer":c,p=o.auth,f=p===void 0?"":p,h=o.preview,m=h===void 0?"":h,_=this.gtm({id:s,events:l,dataLayer:u||void 0,dataLayerName:d,auth:f,preview:m});u&&document.head.appendChild(_.dataScript),document.head.insertBefore(_.script(),document.head.childNodes[0]),document.body.insertBefore(_.noScript(),document.body.childNodes[0])},dataLayer:function(o){var s=o.dataLayer,i=o.dataLayerName,l=i===void 0?"dataLayer":i;if(window[l])return window[l].push(s);var u=t.default.dataLayer(s,l),c=this.dataScript(u);document.head.insertBefore(c,document.head.childNodes[0])}};return Zf=n,Zf}var ed,yv;function cA(){if(yv)return ed;yv=1;var e=uA(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}return ed=t.default,ed}var vv;function fA(){return vv||(vv=1,function(e,t){(function(r,n){e.exports=n(cA())})(be,function(r){return function(){var n={273:function(i){i.exports=r}},a={};function o(i){var l=a[i];if(l!==void 0)return l.exports;var u=a[i]={exports:{}};return n[i](u,u.exports,o),u.exports}o.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(l,{a:l}),l},o.d=function(i,l){for(var u in l)o.o(l,u)&&!o.o(i,u)&&Object.defineProperty(i,u,{enumerable:!0,get:l[u]})},o.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var s={};return function(){o.r(s),o.d(s,{setContext:function(){return c},setupGTM:function(){return p}});var i=o(273),l=o.n(i);let u=null;const c=({configs:f,environment:h})=>{if(!h)throw new Error("Cannot set context: Environment not defined");if(!f)throw new Error("Cannot set context: REACT_APP_GTM_ID not defined");if(!f[h])throw new Error(`Cannot set context: REACT_APP_GTM_ID not defined for environment - ${JSON.stringify({configs:f,environment:h})}`);u=f[h]},d=()=>u,p=()=>{const f=d();l().initialize({gtmId:f.id})}}(),s}()})}(Qf)),Qf.exports}var b_=202,E_=502,__=400,w_=409,T_=100,S_=201,R_=417,dA=424,C_=403,O_=504,x_=410,P_=505,A_=418,I_=419,N_=507,M_=500,$_=411,k_=423,L_=420,B_=405,q_=301,D_=302,F_=207,j_=300,U_=511,H_=204,G_=203,W_=406,V_=404,z_=501,Y_=304,K_=200,X_=206,Q_=402,J_=308,Z_=412,e0=428,t0=102,r0=407,n0=431,a0=408,o0=413,i0=414,s0=416,l0=205,u0=303,c0=503,f0=101,d0=307,p0=429,h0=401,m0=422,y0=415,v0=305;const pA={ACCEPTED:b_,BAD_GATEWAY:E_,BAD_REQUEST:__,CONFLICT:w_,CONTINUE:T_,CREATED:S_,EXPECTATION_FAILED:R_,FORBIDDEN:C_,GATEWAY_TIMEOUT:O_,GONE:x_,HTTP_VERSION_NOT_SUPPORTED:P_,IM_A_TEAPOT:A_,INSUFFICIENT_SPACE_ON_RESOURCE:I_,INSUFFICIENT_STORAGE:N_,INTERNAL_SERVER_ERROR:M_,LENGTH_REQUIRED:$_,LOCKED:k_,METHOD_FAILURE:L_,METHOD_NOT_ALLOWED:B_,MOVED_PERMANENTLY:q_,MOVED_TEMPORARILY:D_,MULTI_STATUS:F_,MULTIPLE_CHOICES:j_,NETWORK_AUTHENTICATION_REQUIRED:U_,NO_CONTENT:H_,NON_AUTHORITATIVE_INFORMATION:G_,NOT_ACCEPTABLE:W_,NOT_FOUND:V_,NOT_IMPLEMENTED:z_,NOT_MODIFIED:Y_,OK:K_,PARTIAL_CONTENT:X_,PAYMENT_REQUIRED:Q_,PERMANENT_REDIRECT:J_,PRECONDITION_FAILED:Z_,PRECONDITION_REQUIRED:e0,PROCESSING:t0,PROXY_AUTHENTICATION_REQUIRED:r0,REQUEST_HEADER_FIELDS_TOO_LARGE:n0,REQUEST_TIMEOUT:a0,REQUEST_TOO_LONG:o0,REQUEST_URI_TOO_LONG:i0,REQUESTED_RANGE_NOT_SATISFIABLE:s0,RESET_CONTENT:l0,SEE_OTHER:u0,SERVICE_UNAVAILABLE:c0,SWITCHING_PROTOCOLS:f0,TEMPORARY_REDIRECT:d0,TOO_MANY_REQUESTS:p0,UNAUTHORIZED:h0,UNPROCESSABLE_ENTITY:m0,UNSUPPORTED_MEDIA_TYPE:y0,USE_PROXY:v0};var hA={202:"Accepted",502:"Bad Gateway",400:"Bad Request",409:"Conflict",100:"Continue",201:"Created",417:"Expectation Failed",424:"Failed Dependency",403:"Forbidden",504:"Gateway Timeout",410:"Gone",505:"HTTP Version Not Supported",418:"I'm a teapot",419:"Insufficient Space on Resource",507:"Insufficient Storage",500:"Internal Server Error",411:"Length Required",423:"Locked",420:"Method Failure",405:"Method Not Allowed",301:"Moved Permanently",302:"Moved Temporarily",207:"Multi-Status",300:"Multiple Choices",511:"Network Authentication Required",204:"No Content",203:"Non Authoritative Information",406:"Not Acceptable",404:"Not Found",501:"Not Implemented",304:"Not Modified",200:"OK",206:"Partial Content",402:"Payment Required",308:"Permanent Redirect",412:"Precondition Failed",428:"Precondition Required",102:"Processing",407:"Proxy Authentication Required",431:"Request Header Fields Too Large",408:"Request Timeout",413:"Request Entity Too Large",414:"Request-URI Too Long",416:"Requested Range Not Satisfiable",205:"Reset Content",303:"See Other",503:"Service Unavailable",101:"Switching Protocols",307:"Temporary Redirect",429:"Too Many Requests",401:"Unauthorized",451:"Unavailable For Legal Reasons",422:"Unprocessable Entity",415:"Unsupported Media Type",305:"Use Proxy",421:"Misdirected Request"},mA={Accepted:202,"Bad Gateway":502,"Bad Request":400,Conflict:409,Continue:100,Created:201,"Expectation Failed":417,"Failed Dependency":424,Forbidden:403,"Gateway Timeout":504,Gone:410,"HTTP Version Not Supported":505,"I'm a teapot":418,"Insufficient Space on Resource":419,"Insufficient Storage":507,"Internal Server Error":500,"Length Required":411,Locked:423,"Method Failure":420,"Method Not Allowed":405,"Moved Permanently":301,"Moved Temporarily":302,"Multi-Status":207,"Multiple Choices":300,"Network Authentication Required":511,"No Content":204,"Non Authoritative Information":203,"Not Acceptable":406,"Not Found":404,"Not Implemented":501,"Not Modified":304,OK:200,"Partial Content":206,"Payment Required":402,"Permanent Redirect":308,"Precondition Failed":412,"Precondition Required":428,Processing:102,"Proxy Authentication Required":407,"Request Header Fields Too Large":431,"Request Timeout":408,"Request Entity Too Large":413,"Request-URI Too Long":414,"Requested Range Not Satisfiable":416,"Reset Content":205,"See Other":303,"Service Unavailable":503,"Switching Protocols":101,"Temporary Redirect":307,"Too Many Requests":429,Unauthorized:401,"Unavailable For Legal Reasons":451,"Unprocessable Entity":422,"Unsupported Media Type":415,"Use Proxy":305,"Misdirected Request":421};function g0(e){var t=hA[e.toString()];if(!t)throw new Error("Status code does not exist: "+e);return t}function b0(e){var t=mA[e];if(!t)throw new Error("Reason phrase does not exist: "+e);return t}var E0=g0,mp;(function(e){e[e.ACCEPTED=202]="ACCEPTED",e[e.BAD_GATEWAY=502]="BAD_GATEWAY",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.CONFLICT=409]="CONFLICT",e[e.CONTINUE=100]="CONTINUE",e[e.CREATED=201]="CREATED",e[e.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",e[e.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",e[e.GONE=410]="GONE",e[e.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",e[e.IM_A_TEAPOT=418]="IM_A_TEAPOT",e[e.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",e[e.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e[e.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",e[e.LOCKED=423]="LOCKED",e[e.METHOD_FAILURE=420]="METHOD_FAILURE",e[e.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",e[e.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",e[e.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",e[e.MULTI_STATUS=207]="MULTI_STATUS",e[e.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",e[e.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED",e[e.NO_CONTENT=204]="NO_CONTENT",e[e.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",e[e.NOT_MODIFIED=304]="NOT_MODIFIED",e[e.OK=200]="OK",e[e.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",e[e.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",e[e.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",e[e.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",e[e.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",e[e.PROCESSING=102]="PROCESSING",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",e[e.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",e[e.RESET_CONTENT=205]="RESET_CONTENT",e[e.SEE_OTHER=303]="SEE_OTHER",e[e.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",e[e.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",e[e.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",e[e.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",e[e.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",e[e.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",e[e.USE_PROXY=305]="USE_PROXY",e[e.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST"})(mp||(mp={}));var yp;(function(e){e.ACCEPTED="Accepted",e.BAD_GATEWAY="Bad Gateway",e.BAD_REQUEST="Bad Request",e.CONFLICT="Conflict",e.CONTINUE="Continue",e.CREATED="Created",e.EXPECTATION_FAILED="Expectation Failed",e.FAILED_DEPENDENCY="Failed Dependency",e.FORBIDDEN="Forbidden",e.GATEWAY_TIMEOUT="Gateway Timeout",e.GONE="Gone",e.HTTP_VERSION_NOT_SUPPORTED="HTTP Version Not Supported",e.IM_A_TEAPOT="I'm a teapot",e.INSUFFICIENT_SPACE_ON_RESOURCE="Insufficient Space on Resource",e.INSUFFICIENT_STORAGE="Insufficient Storage",e.INTERNAL_SERVER_ERROR="Internal Server Error",e.LENGTH_REQUIRED="Length Required",e.LOCKED="Locked",e.METHOD_FAILURE="Method Failure",e.METHOD_NOT_ALLOWED="Method Not Allowed",e.MOVED_PERMANENTLY="Moved Permanently",e.MOVED_TEMPORARILY="Moved Temporarily",e.MULTI_STATUS="Multi-Status",e.MULTIPLE_CHOICES="Multiple Choices",e.NETWORK_AUTHENTICATION_REQUIRED="Network Authentication Required",e.NO_CONTENT="No Content",e.NON_AUTHORITATIVE_INFORMATION="Non Authoritative Information",e.NOT_ACCEPTABLE="Not Acceptable",e.NOT_FOUND="Not Found",e.NOT_IMPLEMENTED="Not Implemented",e.NOT_MODIFIED="Not Modified",e.OK="OK",e.PARTIAL_CONTENT="Partial Content",e.PAYMENT_REQUIRED="Payment Required",e.PERMANENT_REDIRECT="Permanent Redirect",e.PRECONDITION_FAILED="Precondition Failed",e.PRECONDITION_REQUIRED="Precondition Required",e.PROCESSING="Processing",e.PROXY_AUTHENTICATION_REQUIRED="Proxy Authentication Required",e.REQUEST_HEADER_FIELDS_TOO_LARGE="Request Header Fields Too Large",e.REQUEST_TIMEOUT="Request Timeout",e.REQUEST_TOO_LONG="Request Entity Too Large",e.REQUEST_URI_TOO_LONG="Request-URI Too Long",e.REQUESTED_RANGE_NOT_SATISFIABLE="Requested Range Not Satisfiable",e.RESET_CONTENT="Reset Content",e.SEE_OTHER="See Other",e.SERVICE_UNAVAILABLE="Service Unavailable",e.SWITCHING_PROTOCOLS="Switching Protocols",e.TEMPORARY_REDIRECT="Temporary Redirect",e.TOO_MANY_REQUESTS="Too Many Requests",e.UNAUTHORIZED="Unauthorized",e.UNAVAILABLE_FOR_LEGAL_REASONS="Unavailable For Legal Reasons",e.UNPROCESSABLE_ENTITY="Unprocessable Entity",e.UNSUPPORTED_MEDIA_TYPE="Unsupported Media Type",e.USE_PROXY="Use Proxy",e.MISDIRECTED_REQUEST="Misdirected Request"})(yp||(yp={}));var os=globalThis&&globalThis.__assign||function(){return os=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},os.apply(this,arguments)};const yA=os(os({},pA),{getStatusCode:b0,getStatusText:E0}),vA=Object.freeze(Object.defineProperty({__proto__:null,ACCEPTED:b_,BAD_GATEWAY:E_,BAD_REQUEST:__,CONFLICT:w_,CONTINUE:T_,CREATED:S_,EXPECTATION_FAILED:R_,FAILED_DEPENDENCY:dA,FORBIDDEN:C_,GATEWAY_TIMEOUT:O_,GONE:x_,HTTP_VERSION_NOT_SUPPORTED:P_,IM_A_TEAPOT:A_,INSUFFICIENT_SPACE_ON_RESOURCE:I_,INSUFFICIENT_STORAGE:N_,INTERNAL_SERVER_ERROR:M_,LENGTH_REQUIRED:$_,LOCKED:k_,METHOD_FAILURE:L_,METHOD_NOT_ALLOWED:B_,MOVED_PERMANENTLY:q_,MOVED_TEMPORARILY:D_,MULTIPLE_CHOICES:j_,MULTI_STATUS:F_,NETWORK_AUTHENTICATION_REQUIRED:U_,NON_AUTHORITATIVE_INFORMATION:G_,NOT_ACCEPTABLE:W_,NOT_FOUND:V_,NOT_IMPLEMENTED:z_,NOT_MODIFIED:Y_,NO_CONTENT:H_,OK:K_,PARTIAL_CONTENT:X_,PAYMENT_REQUIRED:Q_,PERMANENT_REDIRECT:J_,PRECONDITION_FAILED:Z_,PRECONDITION_REQUIRED:e0,PROCESSING:t0,PROXY_AUTHENTICATION_REQUIRED:r0,REQUESTED_RANGE_NOT_SATISFIABLE:s0,REQUEST_HEADER_FIELDS_TOO_LARGE:n0,REQUEST_TIMEOUT:a0,REQUEST_TOO_LONG:o0,REQUEST_URI_TOO_LONG:i0,RESET_CONTENT:l0,get ReasonPhrases(){return yp},SEE_OTHER:u0,SERVICE_UNAVAILABLE:c0,SWITCHING_PROTOCOLS:f0,get StatusCodes(){return mp},TEMPORARY_REDIRECT:d0,TOO_MANY_REQUESTS:p0,UNAUTHORIZED:h0,UNPROCESSABLE_ENTITY:m0,UNSUPPORTED_MEDIA_TYPE:y0,USE_PROXY:v0,default:yA,getReasonPhrase:g0,getStatusCode:b0,getStatusText:E0},Symbol.toStringTag,{value:"Module"})),gA=Uo(vA);var xi={exports:{}},no={},td={},ao={},oo={},pn={},io={},rd={},hn={},gr={},gv;function Nh(){if(gv)return gr;gv=1,Object.defineProperty(gr,"__esModule",{value:!0}),gr.ERROR_PACKET=gr.PACKET_TYPES_REVERSE=gr.PACKET_TYPES=void 0;const e=Object.create(null);gr.PACKET_TYPES=e,e.open="0",e.close="1",e.ping="2",e.pong="3",e.message="4",e.upgrade="5",e.noop="6";const t=Object.create(null);gr.PACKET_TYPES_REVERSE=t,Object.keys(e).forEach(n=>{t[e[n]]=n});const r={type:"error",data:"parser error"};return gr.ERROR_PACKET=r,gr}var bv;function bA(){if(bv)return hn;bv=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.encodePacket=hn.encodePacketToBinary=void 0;const e=Nh(),t=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",r=typeof ArrayBuffer=="function",n=u=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(u):u&&u.buffer instanceof ArrayBuffer,a=({type:u,data:c},d,p)=>t&&c instanceof Blob?d?p(c):o(c,p):r&&(c instanceof ArrayBuffer||n(c))?d?p(c):o(new Blob([c]),p):p(e.PACKET_TYPES[u]+(c||""));hn.encodePacket=a;const o=(u,c)=>{const d=new FileReader;return d.onload=function(){const p=d.result.split(",")[1];c("b"+(p||""))},d.readAsDataURL(u)};function s(u){return u instanceof Uint8Array?u:u instanceof ArrayBuffer?new Uint8Array(u):new Uint8Array(u.buffer,u.byteOffset,u.byteLength)}let i;function l(u,c){if(t&&u.data instanceof Blob)return u.data.arrayBuffer().then(s).then(c);if(r&&(u.data instanceof ArrayBuffer||n(u.data)))return c(s(u.data));a(u,!1,d=>{i||(i=new TextEncoder),c(i.encode(d))})}return hn.encodePacketToBinary=l,hn}var so={},mn={},Ev;function EA(){if(Ev)return mn;Ev=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.decode=mn.encode=void 0;const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let a=0;a<e.length;a++)t[e.charCodeAt(a)]=a;const r=a=>{let o=new Uint8Array(a),s,i=o.length,l="";for(s=0;s<i;s+=3)l+=e[o[s]>>2],l+=e[(o[s]&3)<<4|o[s+1]>>4],l+=e[(o[s+1]&15)<<2|o[s+2]>>6],l+=e[o[s+2]&63];return i%3===2?l=l.substring(0,l.length-1)+"=":i%3===1&&(l=l.substring(0,l.length-2)+"=="),l};mn.encode=r;const n=a=>{let o=a.length*.75,s=a.length,i,l=0,u,c,d,p;a[a.length-1]==="="&&(o--,a[a.length-2]==="="&&o--);const f=new ArrayBuffer(o),h=new Uint8Array(f);for(i=0;i<s;i+=4)u=t[a.charCodeAt(i)],c=t[a.charCodeAt(i+1)],d=t[a.charCodeAt(i+2)],p=t[a.charCodeAt(i+3)],h[l++]=u<<2|c>>4,h[l++]=(c&15)<<4|d>>2,h[l++]=(d&3)<<6|p&63;return f};return mn.decode=n,mn}var _v;function _A(){if(_v)return so;_v=1,Object.defineProperty(so,"__esModule",{value:!0}),so.decodePacket=void 0;const e=Nh(),t=EA(),r=typeof ArrayBuffer=="function",n=(s,i)=>{if(typeof s!="string")return{type:"message",data:o(s,i)};const l=s.charAt(0);return l==="b"?{type:"message",data:a(s.substring(1),i)}:e.PACKET_TYPES_REVERSE[l]?s.length>1?{type:e.PACKET_TYPES_REVERSE[l],data:s.substring(1)}:{type:e.PACKET_TYPES_REVERSE[l]}:e.ERROR_PACKET};so.decodePacket=n;const a=(s,i)=>{if(r){const l=(0,t.decode)(s);return o(l,i)}else return{base64:!0,data:s}},o=(s,i)=>{switch(i){case"blob":return s instanceof Blob?s:new Blob([s]);case"arraybuffer":default:return s instanceof ArrayBuffer?s:s.buffer}};return so}var wv;function Go(){return wv||(wv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodePayload=e.decodePacket=e.encodePayload=e.encodePacket=e.protocol=e.createPacketDecoderStream=e.createPacketEncoderStream=void 0;const t=bA();Object.defineProperty(e,"encodePacket",{enumerable:!0,get:function(){return t.encodePacket}});const r=_A();Object.defineProperty(e,"decodePacket",{enumerable:!0,get:function(){return r.decodePacket}});const n=Nh(),a=String.fromCharCode(30),o=(p,f)=>{const h=p.length,m=new Array(h);let _=0;p.forEach((b,v)=>{(0,t.encodePacket)(b,!1,w=>{m[v]=w,++_===h&&f(m.join(a))})})};e.encodePayload=o;const s=(p,f)=>{const h=p.split(a),m=[];for(let _=0;_<h.length;_++){const b=(0,r.decodePacket)(h[_],f);if(m.push(b),b.type==="error")break}return m};e.decodePayload=s;function i(){return new TransformStream({transform(p,f){(0,t.encodePacketToBinary)(p,h=>{const m=h.length;let _;if(m<126)_=new Uint8Array(1),new DataView(_.buffer).setUint8(0,m);else if(m<65536){_=new Uint8Array(3);const b=new DataView(_.buffer);b.setUint8(0,126),b.setUint16(1,m)}else{_=new Uint8Array(9);const b=new DataView(_.buffer);b.setUint8(0,127),b.setBigUint64(1,BigInt(m))}p.data&&typeof p.data!="string"&&(_[0]|=128),f.enqueue(_),f.enqueue(h)})}})}e.createPacketEncoderStream=i;let l;function u(p){return p.reduce((f,h)=>f+h.length,0)}function c(p,f){if(p[0].length===f)return p.shift();const h=new Uint8Array(f);let m=0;for(let _=0;_<f;_++)h[_]=p[0][m++],m===p[0].length&&(p.shift(),m=0);return p.length&&m<p[0].length&&(p[0]=p[0].slice(m)),h}function d(p,f){l||(l=new TextDecoder);const h=[];let m=0,_=-1,b=!1;return new TransformStream({transform(v,w){for(h.push(v);;){if(m===0){if(u(h)<1)break;const S=c(h,1);b=(S[0]&128)===128,_=S[0]&127,_<126?m=3:_===126?m=1:m=2}else if(m===1){if(u(h)<2)break;const S=c(h,2);_=new DataView(S.buffer,S.byteOffset,S.length).getUint16(0),m=3}else if(m===2){if(u(h)<8)break;const S=c(h,8),T=new DataView(S.buffer,S.byteOffset,S.length),C=T.getUint32(0);if(C>Math.pow(2,53-32)-1){w.enqueue(n.ERROR_PACKET);break}_=C*Math.pow(2,32)+T.getUint32(4),m=3}else{if(u(h)<_)break;const S=c(h,_);w.enqueue((0,r.decodePacket)(b?S:l.decode(S),f)),m=0}if(_===0||_>p){w.enqueue(n.ERROR_PACKET);break}}}})}e.createPacketDecoderStream=d,e.protocol=4}(rd)),rd}function St(e){if(e)return wA(e)}function wA(e){for(var t in St.prototype)e[t]=St.prototype[t];return e}St.prototype.on=St.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};St.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this};St.prototype.off=St.prototype.removeListener=St.prototype.removeAllListeners=St.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var n,a=0;a<r.length;a++)if(n=r[a],n===t||n.fn===t){r.splice(a,1);break}return r.length===0&&delete this._callbacks["$"+e],this};St.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,a=r.length;n<a;++n)r[n].apply(this,t)}return this};St.prototype.emitReserved=St.prototype.emit;St.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};St.prototype.hasListeners=function(e){return!!this.listeners(e).length};const TA=Object.freeze(Object.defineProperty({__proto__:null,Emitter:St},Symbol.toStringTag,{value:"Module"})),Ca=Uo(TA);var br={},lo={},Tv;function As(){return Tv||(Tv=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.globalThisShim=void 0,lo.globalThisShim=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())()),lo}var Sv;function Wo(){if(Sv)return br;Sv=1,Object.defineProperty(br,"__esModule",{value:!0}),br.byteLength=br.installTimerFunctions=br.pick=void 0;const e=As();function t(l,...u){return u.reduce((c,d)=>(l.hasOwnProperty(d)&&(c[d]=l[d]),c),{})}br.pick=t;const r=e.globalThisShim.setTimeout,n=e.globalThisShim.clearTimeout;function a(l,u){u.useNativeTimers?(l.setTimeoutFn=r.bind(e.globalThisShim),l.clearTimeoutFn=n.bind(e.globalThisShim)):(l.setTimeoutFn=e.globalThisShim.setTimeout.bind(e.globalThisShim),l.clearTimeoutFn=e.globalThisShim.clearTimeout.bind(e.globalThisShim))}br.installTimerFunctions=a;const o=1.33;function s(l){return typeof l=="string"?i(l):Math.ceil((l.byteLength||l.size)*o)}br.byteLength=s;function i(l){let u=0,c=0;for(let d=0,p=l.length;d<p;d++)u=l.charCodeAt(d),u<128?c+=1:u<2048?c+=2:u<55296||u>=57344?c+=3:(d++,c+=4);return c}return br}var Pi={exports:{}},nd,Rv;function SA(){if(Rv)return nd;Rv=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,o=n*365.25;nd=function(c,d){d=d||{};var p=typeof c;if(p==="string"&&c.length>0)return s(c);if(p==="number"&&isFinite(c))return d.long?l(c):i(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function s(c){if(c=String(c),!(c.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(d){var p=parseFloat(d[1]),f=(d[2]||"ms").toLowerCase();switch(f){case"years":case"year":case"yrs":case"yr":case"y":return p*o;case"weeks":case"week":case"w":return p*a;case"days":case"day":case"d":return p*n;case"hours":case"hour":case"hrs":case"hr":case"h":return p*r;case"minutes":case"minute":case"mins":case"min":case"m":return p*t;case"seconds":case"second":case"secs":case"sec":case"s":return p*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}}}function i(c){var d=Math.abs(c);return d>=n?Math.round(c/n)+"d":d>=r?Math.round(c/r)+"h":d>=t?Math.round(c/t)+"m":d>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var d=Math.abs(c);return d>=n?u(c,d,n,"day"):d>=r?u(c,d,r,"hour"):d>=t?u(c,d,t,"minute"):d>=e?u(c,d,e,"second"):c+" ms"}function u(c,d,p,f){var h=d>=p*1.5;return Math.round(c/p)+" "+f+(h?"s":"")}return nd}var ad,Cv;function RA(){if(Cv)return ad;Cv=1;function e(t){n.debug=n,n.default=n,n.coerce=u,n.disable=s,n.enable=o,n.enabled=i,n.humanize=SA(),n.destroy=c,Object.keys(t).forEach(d=>{n[d]=t[d]}),n.names=[],n.skips=[],n.formatters={};function r(d){let p=0;for(let f=0;f<d.length;f++)p=(p<<5)-p+d.charCodeAt(f),p|=0;return n.colors[Math.abs(p)%n.colors.length]}n.selectColor=r;function n(d){let p,f=null,h,m;function _(...b){if(!_.enabled)return;const v=_,w=Number(new Date),S=w-(p||w);v.diff=S,v.prev=p,v.curr=w,p=w,b[0]=n.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let T=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(I,N)=>{if(I==="%%")return"%";T++;const U=n.formatters[N];if(typeof U=="function"){const G=b[T];I=U.call(v,G),b.splice(T,1),T--}return I}),n.formatArgs.call(v,b),(v.log||n.log).apply(v,b)}return _.namespace=d,_.useColors=n.useColors(),_.color=n.selectColor(d),_.extend=a,_.destroy=n.destroy,Object.defineProperty(_,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(h!==n.namespaces&&(h=n.namespaces,m=n.enabled(d)),m),set:b=>{f=b}}),typeof n.init=="function"&&n.init(_),_}function a(d,p){const f=n(this.namespace+(typeof p>"u"?":":p)+d);return f.log=this.log,f}function o(d){n.save(d),n.namespaces=d,n.names=[],n.skips=[];let p;const f=(typeof d=="string"?d:"").split(/[\s,]+/),h=f.length;for(p=0;p<h;p++)f[p]&&(d=f[p].replace(/\*/g,".*?"),d[0]==="-"?n.skips.push(new RegExp("^"+d.slice(1)+"$")):n.names.push(new RegExp("^"+d+"$")))}function s(){const d=[...n.names.map(l),...n.skips.map(l).map(p=>"-"+p)].join(",");return n.enable(""),d}function i(d){if(d[d.length-1]==="*")return!0;let p,f;for(p=0,f=n.skips.length;p<f;p++)if(n.skips[p].test(d))return!1;for(p=0,f=n.names.length;p<f;p++)if(n.names[p].test(d))return!0;return!1}function l(d){return d.toString().substring(2,d.toString().length-2).replace(/\.\*\?$/,"*")}function u(d){return d instanceof Error?d.stack||d.message:d}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return ad=e,ad}var Ov;function cr(){return Ov||(Ov=1,function(e,t){t.formatArgs=n,t.save=a,t.load=o,t.useColors=r,t.storage=s(),t.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,d=0;l[0].replace(/%[a-zA-Z%]/g,p=>{p!=="%%"&&(c++,p==="%c"&&(d=c))}),l.splice(d,0,u)}t.log=console.debug||console.log||(()=>{});function a(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function o(){let l;try{l=t.storage.getItem("debug")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l=process.env.DEBUG),l}function s(){try{return localStorage}catch{}}e.exports=RA()(t);const{formatters:i}=e.exports;i.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}}(Pi,Pi.exports)),Pi.exports}var yn={},xv;function _0(){if(xv)return yn;xv=1,Object.defineProperty(yn,"__esModule",{value:!0}),yn.decode=yn.encode=void 0;function e(r){let n="";for(let a in r)r.hasOwnProperty(a)&&(n.length&&(n+="&"),n+=encodeURIComponent(a)+"="+encodeURIComponent(r[a]));return n}yn.encode=e;function t(r){let n={},a=r.split("&");for(let o=0,s=a.length;o<s;o++){let i=a[o].split("=");n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n}return yn.decode=t,yn}var Pv;function Is(){if(Pv)return io;Pv=1;var e=be&&be.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(io,"__esModule",{value:!0}),io.Transport=void 0;const t=Go(),r=Ca,n=Wo(),a=e(cr()),o=_0(),s=(0,a.default)("engine.io-client:transport");class i extends Error{constructor(c,d,p){super(c),this.description=d,this.context=p,this.type="TransportError"}}class l extends r.Emitter{constructor(c){super(),this.writable=!1,(0,n.installTimerFunctions)(this,c),this.opts=c,this.query=c.query,this.socket=c.socket}onError(c,d,p){return super.emitReserved("error",new i(c,d,p)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(c){this.readyState==="open"?this.write(c):s("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(c){const d=(0,t.decodePacket)(c,this.socket.binaryType);this.onPacket(d)}onPacket(c){super.emitReserved("packet",c)}onClose(c){this.readyState="closed",super.emitReserved("close",c)}pause(c){}createUri(c,d={}){return c+"://"+this._hostname()+this._port()+this.opts.path+this._query(d)}_hostname(){const c=this.opts.hostname;return c.indexOf(":")===-1?c:"["+c+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(c){const d=(0,o.encode)(c);return d.length?"?"+d:""}}return io.Transport=l,io}var Er={},Av;function w0(){if(Av)return Er;Av=1,Object.defineProperty(Er,"__esModule",{value:!0}),Er.yeast=Er.decode=Er.encode=void 0;const e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),t=64,r={};let n=0,a=0,o;function s(u){let c="";do c=e[u%t]+c,u=Math.floor(u/t);while(u>0);return c}Er.encode=s;function i(u){let c=0;for(a=0;a<u.length;a++)c=c*t+r[u.charAt(a)];return c}Er.decode=i;function l(){const u=s(+new Date);return u!==o?(n=0,o=u):u+"."+s(n++)}for(Er.yeast=l;a<t;a++)r[e[a]]=a;return Er}var vn={},uo={},Iv;function CA(){if(Iv)return uo;Iv=1,Object.defineProperty(uo,"__esModule",{value:!0}),uo.hasCORS=void 0;let e=!1;try{e=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}return uo.hasCORS=e,uo}var Nv;function OA(){if(Nv)return vn;Nv=1,Object.defineProperty(vn,"__esModule",{value:!0}),vn.createCookieJar=vn.XHR=void 0;const e=CA(),t=As();function r(a){const o=a.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!o||e.hasCORS))return new XMLHttpRequest}catch{}if(!o)try{return new t.globalThisShim[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}vn.XHR=r;function n(){}return vn.createCookieJar=n,vn}var Mv;function xA(){if(Mv)return pn;Mv=1;var e=be&&be.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(pn,"__esModule",{value:!0}),pn.Request=pn.Polling=void 0;const t=Is(),r=e(cr()),n=w0(),a=Go(),o=OA(),s=Ca,i=Wo(),l=As(),u=(0,r.default)("engine.io-client:polling");function c(){}const d=function(){return new o.XHR({xdomain:!1}).responseType!=null}();class p extends t.Transport{constructor(_){if(super(_),this.polling=!1,typeof location<"u"){const v=location.protocol==="https:";let w=location.port;w||(w=v?"443":"80"),this.xd=typeof location<"u"&&_.hostname!==location.hostname||w!==_.port}const b=_&&_.forceBase64;this.supportsBinary=d&&!b,this.opts.withCredentials&&(this.cookieJar=(0,o.createCookieJar)())}get name(){return"polling"}doOpen(){this.poll()}pause(_){this.readyState="pausing";const b=()=>{u("paused"),this.readyState="paused",_()};if(this.polling||!this.writable){let v=0;this.polling&&(u("we are currently polling - waiting to pause"),v++,this.once("pollComplete",function(){u("pre-pause polling complete"),--v||b()})),this.writable||(u("we are currently writing - waiting to pause"),v++,this.once("drain",function(){u("pre-pause writing complete"),--v||b()}))}else b()}poll(){u("polling"),this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(_){u("polling got data %s",_);const b=v=>{if(this.readyState==="opening"&&v.type==="open"&&this.onOpen(),v.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(v)};(0,a.decodePayload)(_,this.socket.binaryType).forEach(b),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"?this.poll():u('ignoring poll - transport state "%s"',this.readyState))}doClose(){const _=()=>{u("writing close packet"),this.write([{type:"close"}])};this.readyState==="open"?(u("transport open - closing"),_()):(u("transport not open - deferring close"),this.once("open",_))}write(_){this.writable=!1,(0,a.encodePayload)(_,b=>{this.doWrite(b,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const _=this.opts.secure?"https":"http",b=this.query||{};return this.opts.timestampRequests!==!1&&(b[this.opts.timestampParam]=(0,n.yeast)()),!this.supportsBinary&&!b.sid&&(b.b64=1),this.createUri(_,b)}request(_={}){return Object.assign(_,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new f(this.uri(),_)}doWrite(_,b){const v=this.request({method:"POST",data:_});v.on("success",b),v.on("error",(w,S)=>{this.onError("xhr post error",w,S)})}doPoll(){u("xhr poll");const _=this.request();_.on("data",this.onData.bind(this)),_.on("error",(b,v)=>{this.onError("xhr poll error",b,v)}),this.pollXhr=_}}pn.Polling=p;class f extends s.Emitter{constructor(_,b){super(),(0,i.installTimerFunctions)(this,b),this.opts=b,this.method=b.method||"GET",this.uri=_,this.data=b.data!==void 0?b.data:null,this.create()}create(){var _;const b=(0,i.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");b.xdomain=!!this.opts.xd;const v=this.xhr=new o.XHR(b);try{u("xhr open %s: %s",this.method,this.uri),v.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){v.setDisableHeaderCheck&&v.setDisableHeaderCheck(!0);for(let w in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(w)&&v.setRequestHeader(w,this.opts.extraHeaders[w])}}catch{}if(this.method==="POST")try{v.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{v.setRequestHeader("Accept","*/*")}catch{}(_=this.opts.cookieJar)===null||_===void 0||_.addCookies(v),"withCredentials"in v&&(v.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(v.timeout=this.opts.requestTimeout),v.onreadystatechange=()=>{var w;v.readyState===3&&((w=this.opts.cookieJar)===null||w===void 0||w.parseCookies(v)),v.readyState===4&&(v.status===200||v.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof v.status=="number"?v.status:0)},0))},u("xhr data %s",this.data),v.send(this.data)}catch(w){this.setTimeoutFn(()=>{this.onError(w)},0);return}typeof document<"u"&&(this.index=f.requestsCount++,f.requests[this.index]=this)}onError(_){this.emitReserved("error",_,this.xhr),this.cleanup(!0)}cleanup(_){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=c,_)try{this.xhr.abort()}catch{}typeof document<"u"&&delete f.requests[this.index],this.xhr=null}}onLoad(){const _=this.xhr.responseText;_!==null&&(this.emitReserved("data",_),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(pn.Request=f,f.requestsCount=0,f.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",h);else if(typeof addEventListener=="function"){const m="onpagehide"in l.globalThisShim?"pagehide":"unload";addEventListener(m,h,!1)}}function h(){for(let m in f.requests)f.requests.hasOwnProperty(m)&&f.requests[m].abort()}return pn}var co={},Vt={},$v;function Ns(){if($v)return Vt;$v=1,Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.defaultBinaryType=Vt.usingBrowserWebSocket=Vt.WebSocket=Vt.nextTick=void 0;const e=As();return Vt.nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?r=>Promise.resolve().then(r):(r,n)=>n(r,0))(),Vt.WebSocket=e.globalThisShim.WebSocket||e.globalThisShim.MozWebSocket,Vt.usingBrowserWebSocket=!0,Vt.defaultBinaryType="arraybuffer",Vt}var kv;function PA(){if(kv)return co;kv=1;var e=be&&be.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(co,"__esModule",{value:!0}),co.WS=void 0;const t=Is(),r=w0(),n=Wo(),a=Ns(),o=e(cr()),s=Go(),i=(0,o.default)("engine.io-client:websocket"),l=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class u extends t.Transport{constructor(d){super(d),this.supportsBinary=!d.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const d=this.uri(),p=this.opts.protocols,f=l?{}:(0,n.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(f.headers=this.opts.extraHeaders);try{this.ws=a.usingBrowserWebSocket&&!l?p?new a.WebSocket(d,p):new a.WebSocket(d):new a.WebSocket(d,p,f)}catch(h){return this.emitReserved("error",h)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=d=>this.onClose({description:"websocket connection closed",context:d}),this.ws.onmessage=d=>this.onData(d.data),this.ws.onerror=d=>this.onError("websocket error",d)}write(d){this.writable=!1;for(let p=0;p<d.length;p++){const f=d[p],h=p===d.length-1;(0,s.encodePacket)(f,this.supportsBinary,m=>{const _={};a.usingBrowserWebSocket||(f.options&&(_.compress=f.options.compress),this.opts.perMessageDeflate&&(typeof m=="string"?Buffer.byteLength(m):m.length)<this.opts.perMessageDeflate.threshold&&(_.compress=!1));try{a.usingBrowserWebSocket?this.ws.send(m):this.ws.send(m,_)}catch{i("websocket closed before onclose event")}h&&(0,a.nextTick)(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const d=this.opts.secure?"wss":"ws",p=this.query||{};return this.opts.timestampRequests&&(p[this.opts.timestampParam]=(0,r.yeast)()),this.supportsBinary||(p.b64=1),this.createUri(d,p)}check(){return!!a.WebSocket}}return co.WS=u,co}var fo={},Lv;function AA(){if(Lv)return fo;Lv=1;var e=be&&be.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(fo,"__esModule",{value:!0}),fo.WT=void 0;const t=Is(),r=Ns(),n=Go(),o=(0,e(cr()).default)("engine.io-client:webtransport");class s extends t.Transport{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{o("transport closed gracefully"),this.onClose()}).catch(l=>{o("transport closed due to %s",l),this.onError("webtransport error",l)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(l=>{const u=(0,n.createPacketDecoderStream)(Number.MAX_SAFE_INTEGER,this.socket.binaryType),c=l.readable.pipeThrough(u).getReader(),d=(0,n.createPacketEncoderStream)();d.readable.pipeTo(l.writable),this.writer=d.writable.getWriter();const p=()=>{c.read().then(({done:h,value:m})=>{if(h){o("session is closed");return}o("received chunk: %o",m),this.onPacket(m),p()}).catch(h=>{o("an error occurred while reading: %s",h)})};p();const f={type:"open"};this.query.sid&&(f.data=`{"sid":"${this.query.sid}"}`),this.writer.write(f).then(()=>this.onOpen())})}))}write(l){this.writable=!1;for(let u=0;u<l.length;u++){const c=l[u],d=u===l.length-1;this.writer.write(c).then(()=>{d&&(0,r.nextTick)(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var l;(l=this.transport)===null||l===void 0||l.close()}}return fo.WT=s,fo}var Bv;function T0(){if(Bv)return oo;Bv=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.transports=void 0;const e=xA(),t=PA(),r=AA();return oo.transports={websocket:t.WS,webtransport:r.WT,polling:e.Polling},oo}var po={},qv;function S0(){if(qv)return po;qv=1,Object.defineProperty(po,"__esModule",{value:!0}),po.parse=void 0;const e=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,t=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function r(o){const s=o,i=o.indexOf("["),l=o.indexOf("]");i!=-1&&l!=-1&&(o=o.substring(0,i)+o.substring(i,l).replace(/:/g,";")+o.substring(l,o.length));let u=e.exec(o||""),c={},d=14;for(;d--;)c[t[d]]=u[d]||"";return i!=-1&&l!=-1&&(c.source=s,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=n(c,c.path),c.queryKey=a(c,c.query),c}po.parse=r;function n(o,s){const i=/\/{2,9}/g,l=s.replace(i,"/").split("/");return(s.slice(0,1)=="/"||s.length===0)&&l.splice(0,1),s.slice(-1)=="/"&&l.splice(l.length-1,1),l}function a(o,s){const i={};return s.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(l,u,c){u&&(i[u]=c)}),i}return po}var Dv;function IA(){if(Dv)return ao;Dv=1;var e=be&&be.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(ao,"__esModule",{value:!0}),ao.Socket=void 0;const t=T0(),r=Wo(),n=_0(),a=S0(),o=e(cr()),s=Ca,i=Go(),l=Ns(),u=(0,o.default)("engine.io-client:socket");class c extends s.Emitter{constructor(p,f={}){super(),this.binaryType=l.defaultBinaryType,this.writeBuffer=[],p&&typeof p=="object"&&(f=p,p=null),p?(p=(0,a.parse)(p),f.hostname=p.host,f.secure=p.protocol==="https"||p.protocol==="wss",f.port=p.port,p.query&&(f.query=p.query)):f.host&&(f.hostname=(0,a.parse)(f.host).host),(0,r.installTimerFunctions)(this,f),this.secure=f.secure!=null?f.secure:typeof location<"u"&&location.protocol==="https:",f.hostname&&!f.port&&(f.port=this.secure?"443":"80"),this.hostname=f.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=f.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=f.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},f),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=(0,n.decode)(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(p){u('creating transport "%s"',p);const f=Object.assign({},this.opts.query);f.EIO=i.protocol,f.transport=p,this.id&&(f.sid=this.id);const h=Object.assign({},this.opts,{query:f,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[p]);return u("options: %j",h),new t.transports[p](h)}open(){let p;if(this.opts.rememberUpgrade&&c.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)p="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else p=this.transports[0];this.readyState="opening";try{p=this.createTransport(p)}catch(f){u("error while creating transport: %s",f),this.transports.shift(),this.open();return}p.open(),this.setTransport(p)}setTransport(p){u("setting transport %s",p.name),this.transport&&(u("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=p,p.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",f=>this.onClose("transport close",f))}probe(p){u('probing transport "%s"',p);let f=this.createTransport(p),h=!1;c.priorWebsocketSuccess=!1;const m=()=>{h||(u('probe transport "%s" opened',p),f.send([{type:"ping",data:"probe"}]),f.once("packet",C=>{if(!h)if(C.type==="pong"&&C.data==="probe"){if(u('probe transport "%s" pong',p),this.upgrading=!0,this.emitReserved("upgrading",f),!f)return;c.priorWebsocketSuccess=f.name==="websocket",u('pausing current transport "%s"',this.transport.name),this.transport.pause(()=>{h||this.readyState!=="closed"&&(u("changing transport and sending upgrade packet"),T(),this.setTransport(f),f.send([{type:"upgrade"}]),this.emitReserved("upgrade",f),f=null,this.upgrading=!1,this.flush())})}else{u('probe transport "%s" failed',p);const I=new Error("probe error");I.transport=f.name,this.emitReserved("upgradeError",I)}}))};function _(){h||(h=!0,T(),f.close(),f=null)}const b=C=>{const I=new Error("probe error: "+C);I.transport=f.name,_(),u('probe transport "%s" failed because of error: %s',p,C),this.emitReserved("upgradeError",I)};function v(){b("transport closed")}function w(){b("socket closed")}function S(C){f&&C.name!==f.name&&(u('"%s" works - aborting "%s"',C.name,f.name),_())}const T=()=>{f.removeListener("open",m),f.removeListener("error",b),f.removeListener("close",v),this.off("close",w),this.off("upgrading",S)};f.once("open",m),f.once("error",b),f.once("close",v),this.once("close",w),this.once("upgrading",S),this.upgrades.indexOf("webtransport")!==-1&&p!=="webtransport"?this.setTimeoutFn(()=>{h||f.open()},200):f.open()}onOpen(){if(u("socket open"),this.readyState="open",c.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){u("starting upgrade probes");let p=0;const f=this.upgrades.length;for(;p<f;p++)this.probe(this.upgrades[p])}}onPacket(p){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(u('socket receive: type "%s", data "%s"',p.type,p.data),this.emitReserved("packet",p),this.emitReserved("heartbeat"),this.resetPingTimeout(),p.type){case"open":this.onHandshake(JSON.parse(p.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const f=new Error("server error");f.code=p.data,this.onError(f);break;case"message":this.emitReserved("data",p.data),this.emitReserved("message",p.data);break}else u('packet received with socket readyState "%s"',this.readyState)}onHandshake(p){this.emitReserved("handshake",p),this.id=p.sid,this.transport.query.sid=p.sid,this.upgrades=this.filterUpgrades(p.upgrades),this.pingInterval=p.pingInterval,this.pingTimeout=p.pingTimeout,this.maxPayload=p.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const p=this.getWritablePackets();u("flushing %d packets in socket",p.length),this.transport.send(p),this.prevBufferLen=p.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let f=1;for(let h=0;h<this.writeBuffer.length;h++){const m=this.writeBuffer[h].data;if(m&&(f+=(0,r.byteLength)(m)),h>0&&f>this.maxPayload)return u("only send %d out of %d packets",h,this.writeBuffer.length),this.writeBuffer.slice(0,h);f+=2}return u("payload size is %d (max: %d)",f,this.maxPayload),this.writeBuffer}write(p,f,h){return this.sendPacket("message",p,f,h),this}send(p,f,h){return this.sendPacket("message",p,f,h),this}sendPacket(p,f,h,m){if(typeof f=="function"&&(m=f,f=void 0),typeof h=="function"&&(m=h,h=null),this.readyState==="closing"||this.readyState==="closed")return;h=h||{},h.compress=h.compress!==!1;const _={type:p,data:f,options:h};this.emitReserved("packetCreate",_),this.writeBuffer.push(_),m&&this.once("flush",m),this.flush()}close(){const p=()=>{this.onClose("forced close"),u("socket closing - telling transport to close"),this.transport.close()},f=()=>{this.off("upgrade",f),this.off("upgradeError",f),p()},h=()=>{this.once("upgrade",f),this.once("upgradeError",f)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?h():p()}):this.upgrading?h():p()),this}onError(p){u("socket error %j",p),c.priorWebsocketSuccess=!1,this.emitReserved("error",p),this.onClose("transport error",p)}onClose(p,f){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(u('socket close with reason: "%s"',p),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",p,f),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(p){const f=[];let h=0;const m=p.length;for(;h<m;h++)~this.transports.indexOf(p[h])&&f.push(p[h]);return f}}return ao.Socket=c,c.protocol=i.protocol,ao}var Fv;function R0(){return Fv||(Fv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.nextTick=e.parse=e.installTimerFunctions=e.transports=e.Transport=e.protocol=e.Socket=void 0;const t=IA();Object.defineProperty(e,"Socket",{enumerable:!0,get:function(){return t.Socket}}),e.protocol=t.Socket.protocol;var r=Is();Object.defineProperty(e,"Transport",{enumerable:!0,get:function(){return r.Transport}});var n=T0();Object.defineProperty(e,"transports",{enumerable:!0,get:function(){return n.transports}});var a=Wo();Object.defineProperty(e,"installTimerFunctions",{enumerable:!0,get:function(){return a.installTimerFunctions}});var o=S0();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return o.parse}});var s=Ns();Object.defineProperty(e,"nextTick",{enumerable:!0,get:function(){return s.nextTick}})}(td)),td}var jv;function NA(){if(jv)return no;jv=1;var e=be&&be.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(no,"__esModule",{value:!0}),no.url=void 0;const t=R0(),n=e(cr()).default("socket.io-client:url");function a(o,s="",i){let l=o;i=i||typeof location<"u"&&location,o==null&&(o=i.protocol+"//"+i.host),typeof o=="string"&&(o.charAt(0)==="/"&&(o.charAt(1)==="/"?o=i.protocol+o:o=i.host+o),/^(https?|wss?):\/\//.test(o)||(n("protocol-less url %s",o),typeof i<"u"?o=i.protocol+"//"+o:o="https://"+o),n("parse %s",o),l=t.parse(o)),l.port||(/^(http|ws)$/.test(l.protocol)?l.port="80":/^(http|ws)s$/.test(l.protocol)&&(l.port="443")),l.path=l.path||"/";const c=l.host.indexOf(":")!==-1?"["+l.host+"]":l.host;return l.id=l.protocol+"://"+c+":"+l.port+s,l.href=l.protocol+"://"+c+(i&&i.port===l.port?"":":"+l.port),l}return no.url=a,no}var ho={},mo={},od={},gn={},bn={},Uv;function C0(){if(Uv)return bn;Uv=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.hasBinary=bn.isBinary=void 0;const e=typeof ArrayBuffer=="function",t=i=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(i):i.buffer instanceof ArrayBuffer,r=Object.prototype.toString,n=typeof Blob=="function"||typeof Blob<"u"&&r.call(Blob)==="[object BlobConstructor]",a=typeof File=="function"||typeof File<"u"&&r.call(File)==="[object FileConstructor]";function o(i){return e&&(i instanceof ArrayBuffer||t(i))||n&&i instanceof Blob||a&&i instanceof File}bn.isBinary=o;function s(i,l){if(!i||typeof i!="object")return!1;if(Array.isArray(i)){for(let u=0,c=i.length;u<c;u++)if(s(i[u]))return!0;return!1}if(o(i))return!0;if(i.toJSON&&typeof i.toJSON=="function"&&arguments.length===1)return s(i.toJSON(),!0);for(const u in i)if(Object.prototype.hasOwnProperty.call(i,u)&&s(i[u]))return!0;return!1}return bn.hasBinary=s,bn}var Hv;function MA(){if(Hv)return gn;Hv=1,Object.defineProperty(gn,"__esModule",{value:!0}),gn.reconstructPacket=gn.deconstructPacket=void 0;const e=C0();function t(o){const s=[],i=o.data,l=o;return l.data=r(i,s),l.attachments=s.length,{packet:l,buffers:s}}gn.deconstructPacket=t;function r(o,s){if(!o)return o;if((0,e.isBinary)(o)){const i={_placeholder:!0,num:s.length};return s.push(o),i}else if(Array.isArray(o)){const i=new Array(o.length);for(let l=0;l<o.length;l++)i[l]=r(o[l],s);return i}else if(typeof o=="object"&&!(o instanceof Date)){const i={};for(const l in o)Object.prototype.hasOwnProperty.call(o,l)&&(i[l]=r(o[l],s));return i}return o}function n(o,s){return o.data=a(o.data,s),delete o.attachments,o}gn.reconstructPacket=n;function a(o,s){if(!o)return o;if(o&&o._placeholder===!0){if(typeof o.num=="number"&&o.num>=0&&o.num<s.length)return s[o.num];throw new Error("illegal attachments")}else if(Array.isArray(o))for(let i=0;i<o.length;i++)o[i]=a(o[i],s);else if(typeof o=="object")for(const i in o)Object.prototype.hasOwnProperty.call(o,i)&&(o[i]=a(o[i],s));return o}return gn}var Gv;function Mh(){return Gv||(Gv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Decoder=e.Encoder=e.PacketType=e.protocol=void 0;const t=Ca,r=MA(),n=C0(),o=(0,cr().default)("socket.io-parser"),s=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];e.protocol=5;var i;(function(p){p[p.CONNECT=0]="CONNECT",p[p.DISCONNECT=1]="DISCONNECT",p[p.EVENT=2]="EVENT",p[p.ACK=3]="ACK",p[p.CONNECT_ERROR=4]="CONNECT_ERROR",p[p.BINARY_EVENT=5]="BINARY_EVENT",p[p.BINARY_ACK=6]="BINARY_ACK"})(i=e.PacketType||(e.PacketType={}));class l{constructor(f){this.replacer=f}encode(f){return o("encoding packet %j",f),(f.type===i.EVENT||f.type===i.ACK)&&(0,n.hasBinary)(f)?this.encodeAsBinary({type:f.type===i.EVENT?i.BINARY_EVENT:i.BINARY_ACK,nsp:f.nsp,data:f.data,id:f.id}):[this.encodeAsString(f)]}encodeAsString(f){let h=""+f.type;return(f.type===i.BINARY_EVENT||f.type===i.BINARY_ACK)&&(h+=f.attachments+"-"),f.nsp&&f.nsp!=="/"&&(h+=f.nsp+","),f.id!=null&&(h+=f.id),f.data!=null&&(h+=JSON.stringify(f.data,this.replacer)),o("encoded %j as %s",f,h),h}encodeAsBinary(f){const h=(0,r.deconstructPacket)(f),m=this.encodeAsString(h.packet),_=h.buffers;return _.unshift(m),_}}e.Encoder=l;function u(p){return Object.prototype.toString.call(p)==="[object Object]"}class c extends t.Emitter{constructor(f){super(),this.reviver=f}add(f){let h;if(typeof f=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");h=this.decodeString(f);const m=h.type===i.BINARY_EVENT;m||h.type===i.BINARY_ACK?(h.type=m?i.EVENT:i.ACK,this.reconstructor=new d(h),h.attachments===0&&super.emitReserved("decoded",h)):super.emitReserved("decoded",h)}else if((0,n.isBinary)(f)||f.base64)if(this.reconstructor)h=this.reconstructor.takeBinaryData(f),h&&(this.reconstructor=null,super.emitReserved("decoded",h));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+f)}decodeString(f){let h=0;const m={type:Number(f.charAt(0))};if(i[m.type]===void 0)throw new Error("unknown packet type "+m.type);if(m.type===i.BINARY_EVENT||m.type===i.BINARY_ACK){const b=h+1;for(;f.charAt(++h)!=="-"&&h!=f.length;);const v=f.substring(b,h);if(v!=Number(v)||f.charAt(h)!=="-")throw new Error("Illegal attachments");m.attachments=Number(v)}if(f.charAt(h+1)==="/"){const b=h+1;for(;++h&&!(f.charAt(h)===","||h===f.length););m.nsp=f.substring(b,h)}else m.nsp="/";const _=f.charAt(h+1);if(_!==""&&Number(_)==_){const b=h+1;for(;++h;){const v=f.charAt(h);if(v==null||Number(v)!=v){--h;break}if(h===f.length)break}m.id=Number(f.substring(b,h+1))}if(f.charAt(++h)){const b=this.tryParse(f.substr(h));if(c.isPayloadValid(m.type,b))m.data=b;else throw new Error("invalid payload")}return o("decoded %s as %j",f,m),m}tryParse(f){try{return JSON.parse(f,this.reviver)}catch{return!1}}static isPayloadValid(f,h){switch(f){case i.CONNECT:return u(h);case i.DISCONNECT:return h===void 0;case i.CONNECT_ERROR:return typeof h=="string"||u(h);case i.EVENT:case i.BINARY_EVENT:return Array.isArray(h)&&(typeof h[0]=="number"||typeof h[0]=="string"&&s.indexOf(h[0])===-1);case i.ACK:case i.BINARY_ACK:return Array.isArray(h)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}e.Decoder=c;class d{constructor(f){this.packet=f,this.buffers=[],this.reconPack=f}takeBinaryData(f){if(this.buffers.push(f),this.buffers.length===this.reconPack.attachments){const h=(0,r.reconstructPacket)(this.reconPack,this.buffers);return this.finishedReconstruction(),h}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}}(od)),od}var yo={},Wv;function O0(){if(Wv)return yo;Wv=1,Object.defineProperty(yo,"__esModule",{value:!0}),yo.on=void 0;function e(t,r,n){return t.on(r,n),function(){t.off(r,n)}}return yo.on=e,yo}var Vv;function x0(){if(Vv)return mo;Vv=1;var e=be&&be.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(mo,"__esModule",{value:!0}),mo.Socket=void 0;const t=Mh(),r=O0(),n=Ca,o=e(cr()).default("socket.io-client:socket"),s=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class i extends n.Emitter{constructor(u,c,d){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=u,this.nsp=c,d&&d.auth&&(this.auth=d.auth),this._opts=Object.assign({},d),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const u=this.io;this.subs=[r.on(u,"open",this.onopen.bind(this)),r.on(u,"packet",this.onpacket.bind(this)),r.on(u,"error",this.onerror.bind(this)),r.on(u,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...u){return u.unshift("message"),this.emit.apply(this,u),this}emit(u,...c){if(s.hasOwnProperty(u))throw new Error('"'+u.toString()+'" is a reserved event name');if(c.unshift(u),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(c),this;const d={type:t.PacketType.EVENT,data:c};if(d.options={},d.options.compress=this.flags.compress!==!1,typeof c[c.length-1]=="function"){const h=this.ids++;o("emitting packet with ack id %d",h);const m=c.pop();this._registerAckCallback(h,m),d.id=h}const p=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!p||!this.connected)?o("discard packet as the transport is not currently writable"):this.connected?(this.notifyOutgoingListeners(d),this.packet(d)):this.sendBuffer.push(d),this.flags={},this}_registerAckCallback(u,c){var d;const p=(d=this.flags.timeout)!==null&&d!==void 0?d:this._opts.ackTimeout;if(p===void 0){this.acks[u]=c;return}const f=this.io.setTimeoutFn(()=>{delete this.acks[u];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===u&&(o("removing packet with ack id %d from the buffer",u),this.sendBuffer.splice(h,1));o("event with ack id %d has timed out after %d ms",u,p),c.call(this,new Error("operation has timed out"))},p);this.acks[u]=(...h)=>{this.io.clearTimeoutFn(f),c.apply(this,[null,...h])}}emitWithAck(u,...c){const d=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((p,f)=>{c.push((h,m)=>d?h?f(h):p(m):p(h)),this.emit(u,...c)})}_addToQueue(u){let c;typeof u[u.length-1]=="function"&&(c=u.pop());const d={id:this._queueSeq++,tryCount:0,pending:!1,args:u,flags:Object.assign({fromQueue:!0},this.flags)};u.push((p,...f)=>d!==this._queue[0]?void 0:(p!==null?d.tryCount>this._opts.retries&&(o("packet [%d] is discarded after %d tries",d.id,d.tryCount),this._queue.shift(),c&&c(p)):(o("packet [%d] was successfully sent",d.id),this._queue.shift(),c&&c(null,...f)),d.pending=!1,this._drainQueue())),this._queue.push(d),this._drainQueue()}_drainQueue(u=!1){if(o("draining queue"),!this.connected||this._queue.length===0)return;const c=this._queue[0];if(c.pending&&!u){o("packet [%d] has already been sent and is waiting for an ack",c.id);return}c.pending=!0,c.tryCount++,o("sending packet [%d] (try n°%d)",c.id,c.tryCount),this.flags=c.flags,this.emit.apply(this,c.args)}packet(u){u.nsp=this.nsp,this.io._packet(u)}onopen(){o("transport is open - connecting"),typeof this.auth=="function"?this.auth(u=>{this._sendConnectPacket(u)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(u){this.packet({type:t.PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},u):u})}onerror(u){this.connected||this.emitReserved("connect_error",u)}onclose(u,c){o("close (%s)",u),this.connected=!1,delete this.id,this.emitReserved("disconnect",u,c)}onpacket(u){if(u.nsp===this.nsp)switch(u.type){case t.PacketType.CONNECT:u.data&&u.data.sid?this.onconnect(u.data.sid,u.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case t.PacketType.EVENT:case t.PacketType.BINARY_EVENT:this.onevent(u);break;case t.PacketType.ACK:case t.PacketType.BINARY_ACK:this.onack(u);break;case t.PacketType.DISCONNECT:this.ondisconnect();break;case t.PacketType.CONNECT_ERROR:this.destroy();const d=new Error(u.data.message);d.data=u.data.data,this.emitReserved("connect_error",d);break}}onevent(u){const c=u.data||[];o("emitting event %j",c),u.id!=null&&(o("attaching ack callback to event"),c.push(this.ack(u.id))),this.connected?this.emitEvent(c):this.receiveBuffer.push(Object.freeze(c))}emitEvent(u){if(this._anyListeners&&this._anyListeners.length){const c=this._anyListeners.slice();for(const d of c)d.apply(this,u)}super.emit.apply(this,u),this._pid&&u.length&&typeof u[u.length-1]=="string"&&(this._lastOffset=u[u.length-1])}ack(u){const c=this;let d=!1;return function(...p){d||(d=!0,o("sending ack %j",p),c.packet({type:t.PacketType.ACK,id:u,data:p}))}}onack(u){const c=this.acks[u.id];typeof c=="function"?(o("calling ack %s with %j",u.id,u.data),c.apply(this,u.data),delete this.acks[u.id]):o("bad ack %s",u.id)}onconnect(u,c){o("socket connected with id %s",u),this.id=u,this.recovered=c&&this._pid===c,this._pid=c,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(u=>this.emitEvent(u)),this.receiveBuffer=[],this.sendBuffer.forEach(u=>{this.notifyOutgoingListeners(u),this.packet(u)}),this.sendBuffer=[]}ondisconnect(){o("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(u=>u()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(o("performing disconnect (%s)",this.nsp),this.packet({type:t.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(u){return this.flags.compress=u,this}get volatile(){return this.flags.volatile=!0,this}timeout(u){return this.flags.timeout=u,this}onAny(u){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(u),this}prependAny(u){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(u),this}offAny(u){if(!this._anyListeners)return this;if(u){const c=this._anyListeners;for(let d=0;d<c.length;d++)if(u===c[d])return c.splice(d,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(u){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(u),this}prependAnyOutgoing(u){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(u),this}offAnyOutgoing(u){if(!this._anyOutgoingListeners)return this;if(u){const c=this._anyOutgoingListeners;for(let d=0;d<c.length;d++)if(u===c[d])return c.splice(d,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(u){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const c=this._anyOutgoingListeners.slice();for(const d of c)d.apply(this,u.data)}}}return mo.Socket=i,mo}var vo={},zv;function $A(){if(zv)return vo;zv=1,Object.defineProperty(vo,"__esModule",{value:!0}),vo.Backoff=void 0;function e(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}return vo.Backoff=e,e.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var r=Math.random(),n=Math.floor(r*this.jitter*t);t=Math.floor(r*10)&1?t+n:t-n}return Math.min(t,this.max)|0},e.prototype.reset=function(){this.attempts=0},e.prototype.setMin=function(t){this.ms=t},e.prototype.setMax=function(t){this.max=t},e.prototype.setJitter=function(t){this.jitter=t},vo}var Yv;function kA(){if(Yv)return ho;Yv=1;var e=be&&be.__createBinding||(Object.create?function(f,h,m,_){_===void 0&&(_=m),Object.defineProperty(f,_,{enumerable:!0,get:function(){return h[m]}})}:function(f,h,m,_){_===void 0&&(_=m),f[_]=h[m]}),t=be&&be.__setModuleDefault||(Object.create?function(f,h){Object.defineProperty(f,"default",{enumerable:!0,value:h})}:function(f,h){f.default=h}),r=be&&be.__importStar||function(f){if(f&&f.__esModule)return f;var h={};if(f!=null)for(var m in f)m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)&&e(h,f,m);return t(h,f),h},n=be&&be.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(ho,"__esModule",{value:!0}),ho.Manager=void 0;const a=R0(),o=x0(),s=r(Mh()),i=O0(),l=$A(),u=Ca,d=n(cr()).default("socket.io-client:manager");class p extends u.Emitter{constructor(h,m){var _;super(),this.nsps={},this.subs=[],h&&typeof h=="object"&&(m=h,h=void 0),m=m||{},m.path=m.path||"/socket.io",this.opts=m,a.installTimerFunctions(this,m),this.reconnection(m.reconnection!==!1),this.reconnectionAttempts(m.reconnectionAttempts||1/0),this.reconnectionDelay(m.reconnectionDelay||1e3),this.reconnectionDelayMax(m.reconnectionDelayMax||5e3),this.randomizationFactor((_=m.randomizationFactor)!==null&&_!==void 0?_:.5),this.backoff=new l.Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(m.timeout==null?2e4:m.timeout),this._readyState="closed",this.uri=h;const b=m.parser||s;this.encoder=new b.Encoder,this.decoder=new b.Decoder,this._autoConnect=m.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(h){return arguments.length?(this._reconnection=!!h,this):this._reconnection}reconnectionAttempts(h){return h===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=h,this)}reconnectionDelay(h){var m;return h===void 0?this._reconnectionDelay:(this._reconnectionDelay=h,(m=this.backoff)===null||m===void 0||m.setMin(h),this)}randomizationFactor(h){var m;return h===void 0?this._randomizationFactor:(this._randomizationFactor=h,(m=this.backoff)===null||m===void 0||m.setJitter(h),this)}reconnectionDelayMax(h){var m;return h===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=h,(m=this.backoff)===null||m===void 0||m.setMax(h),this)}timeout(h){return arguments.length?(this._timeout=h,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(h){if(d("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;d("opening %s",this.uri),this.engine=new a.Socket(this.uri,this.opts);const m=this.engine,_=this;this._readyState="opening",this.skipReconnect=!1;const b=i.on(m,"open",function(){_.onopen(),h&&h()}),v=S=>{d("error"),this.cleanup(),this._readyState="closed",this.emitReserved("error",S),h?h(S):this.maybeReconnectOnOpen()},w=i.on(m,"error",v);if(this._timeout!==!1){const S=this._timeout;d("connect attempt will timeout after %d",S);const T=this.setTimeoutFn(()=>{d("connect attempt timed out after %d",S),b(),v(new Error("timeout")),m.close()},S);this.opts.autoUnref&&T.unref(),this.subs.push(()=>{this.clearTimeoutFn(T)})}return this.subs.push(b),this.subs.push(w),this}connect(h){return this.open(h)}onopen(){d("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");const h=this.engine;this.subs.push(i.on(h,"ping",this.onping.bind(this)),i.on(h,"data",this.ondata.bind(this)),i.on(h,"error",this.onerror.bind(this)),i.on(h,"close",this.onclose.bind(this)),i.on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(h){try{this.decoder.add(h)}catch(m){this.onclose("parse error",m)}}ondecoded(h){a.nextTick(()=>{this.emitReserved("packet",h)},this.setTimeoutFn)}onerror(h){d("error",h),this.emitReserved("error",h)}socket(h,m){let _=this.nsps[h];return _?this._autoConnect&&!_.active&&_.connect():(_=new o.Socket(this,h,m),this.nsps[h]=_),_}_destroy(h){const m=Object.keys(this.nsps);for(const _ of m)if(this.nsps[_].active){d("socket %s is still active, skipping close",_);return}this._close()}_packet(h){d("writing packet %j",h);const m=this.encoder.encode(h);for(let _=0;_<m.length;_++)this.engine.write(m[_],h.options)}cleanup(){d("cleanup"),this.subs.forEach(h=>h()),this.subs.length=0,this.decoder.destroy()}_close(){d("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(h,m){d("closed due to %s",h),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",h,m),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const h=this;if(this.backoff.attempts>=this._reconnectionAttempts)d("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const m=this.backoff.duration();d("will wait %dms before reconnect attempt",m),this._reconnecting=!0;const _=this.setTimeoutFn(()=>{h.skipReconnect||(d("attempting reconnect"),this.emitReserved("reconnect_attempt",h.backoff.attempts),!h.skipReconnect&&h.open(b=>{b?(d("reconnect attempt error"),h._reconnecting=!1,h.reconnect(),this.emitReserved("reconnect_error",b)):(d("reconnect success"),h.onreconnect())}))},m);this.opts.autoUnref&&_.unref(),this.subs.push(()=>{this.clearTimeoutFn(_)})}}onreconnect(){const h=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",h)}}return ho.Manager=p,ho}var Kv;function LA(){return Kv||(Kv=1,function(e,t){var r=be&&be.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.connect=t.io=t.Socket=t.Manager=t.protocol=void 0;const n=NA(),a=kA();Object.defineProperty(t,"Manager",{enumerable:!0,get:function(){return a.Manager}});const o=x0();Object.defineProperty(t,"Socket",{enumerable:!0,get:function(){return o.Socket}});const i=r(cr()).default("socket.io-client"),l={};function u(d,p){typeof d=="object"&&(p=d,d=void 0),p=p||{};const f=n.url(d,p.path||"/socket.io"),h=f.source,m=f.id,_=f.path,b=l[m]&&_ in l[m].nsps,v=p.forceNew||p["force new connection"]||p.multiplex===!1||b;let w;return v?(i("ignoring socket cache for %s",h),w=new a.Manager(h,p)):(l[m]||(i("new io instance for %s",h),l[m]=new a.Manager(h,p)),w=l[m]),f.query&&!p.query&&(p.query=f.queryKey),w.socket(f.path,p)}t.io=u,t.connect=u,t.default=u,Object.assign(u,{Manager:a.Manager,Socket:o.Socket,io:u,connect:u});var c=Mh();Object.defineProperty(t,"protocol",{enumerable:!0,get:function(){return c.protocol}}),e.exports=u}(xi,xi.exports)),xi.exports}var id={},go={},Xv;function BA(){if(Xv)return go;Xv=1,go.byteLength=i,go.toByteArray=u,go.fromByteArray=p;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=n.length;a<o;++a)e[a]=n[a],t[n.charCodeAt(a)]=a;t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63;function s(f){var h=f.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var m=f.indexOf("=");m===-1&&(m=h);var _=m===h?0:4-m%4;return[m,_]}function i(f){var h=s(f),m=h[0],_=h[1];return(m+_)*3/4-_}function l(f,h,m){return(h+m)*3/4-m}function u(f){var h,m=s(f),_=m[0],b=m[1],v=new r(l(f,_,b)),w=0,S=b>0?_-4:_,T;for(T=0;T<S;T+=4)h=t[f.charCodeAt(T)]<<18|t[f.charCodeAt(T+1)]<<12|t[f.charCodeAt(T+2)]<<6|t[f.charCodeAt(T+3)],v[w++]=h>>16&255,v[w++]=h>>8&255,v[w++]=h&255;return b===2&&(h=t[f.charCodeAt(T)]<<2|t[f.charCodeAt(T+1)]>>4,v[w++]=h&255),b===1&&(h=t[f.charCodeAt(T)]<<10|t[f.charCodeAt(T+1)]<<4|t[f.charCodeAt(T+2)]>>2,v[w++]=h>>8&255,v[w++]=h&255),v}function c(f){return e[f>>18&63]+e[f>>12&63]+e[f>>6&63]+e[f&63]}function d(f,h,m){for(var _,b=[],v=h;v<m;v+=3)_=(f[v]<<16&16711680)+(f[v+1]<<8&65280)+(f[v+2]&255),b.push(c(_));return b.join("")}function p(f){for(var h,m=f.length,_=m%3,b=[],v=16383,w=0,S=m-_;w<S;w+=v)b.push(d(f,w,w+v>S?S:w+v));return _===1?(h=f[m-1],b.push(e[h>>2]+e[h<<4&63]+"==")):_===2&&(h=(f[m-2]<<8)+f[m-1],b.push(e[h>>10]+e[h>>4&63]+e[h<<2&63]+"=")),b.join("")}return go}var Ai={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var Qv;function qA(){return Qv||(Qv=1,Ai.read=function(e,t,r,n,a){var o,s,i=a*8-n-1,l=(1<<i)-1,u=l>>1,c=-7,d=r?a-1:0,p=r?-1:1,f=e[t+d];for(d+=p,o=f&(1<<-c)-1,f>>=-c,c+=i;c>0;o=o*256+e[t+d],d+=p,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=s*256+e[t+d],d+=p,c-=8);if(o===0)o=1-u;else{if(o===l)return s?NaN:(f?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-u}return(f?-1:1)*s*Math.pow(2,o-n)},Ai.write=function(e,t,r,n,a,o){var s,i,l,u=o*8-a-1,c=(1<<u)-1,d=c>>1,p=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,h=n?1:-1,m=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(i=0,s=c):s+d>=1?(i=(t*l-1)*Math.pow(2,a),s=s+d):(i=t*Math.pow(2,d-1)*Math.pow(2,a),s=0));a>=8;e[r+f]=i&255,f+=h,i/=256,a-=8);for(s=s<<a|i,u+=a;u>0;e[r+f]=s&255,f+=h,s/=256,u-=8);e[r+f-h]|=m*128}),Ai}/*!
56
+ window.`+s+".push("+JSON.stringify(o)+")"}};return ad=n,ad}var od,Tv;function vA(){if(Tv)return od;Tv=1;var e=yA(),t=r(e);function r(a){return a&&a.__esModule?a:{default:a}}var n={dataScript:function(o){var s=document.createElement("script");return s.innerHTML=o,s},gtm:function(o){var s=t.default.tags(o),i=function(){var d=document.createElement("noscript");return d.innerHTML=s.iframe,d},l=function(){var d=document.createElement("script");return d.innerHTML=s.script,d},u=this.dataScript(s.dataLayerVar);return{noScript:i,script:l,dataScript:u}},initialize:function(o){var s=o.gtmId,i=o.events,l=i===void 0?{}:i,u=o.dataLayer,c=o.dataLayerName,d=c===void 0?"dataLayer":c,p=o.auth,f=p===void 0?"":p,h=o.preview,m=h===void 0?"":h,w=this.gtm({id:s,events:l,dataLayer:u||void 0,dataLayerName:d,auth:f,preview:m});u&&document.head.appendChild(w.dataScript),document.head.insertBefore(w.script(),document.head.childNodes[0]),document.body.insertBefore(w.noScript(),document.body.childNodes[0])},dataLayer:function(o){var s=o.dataLayer,i=o.dataLayerName,l=i===void 0?"dataLayer":i;if(window[l])return window[l].push(s);var u=t.default.dataLayer(s,l),c=this.dataScript(u);document.head.insertBefore(c,document.head.childNodes[0])}};return od=n,od}var id,Sv;function gA(){if(Sv)return id;Sv=1;var e=vA(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}return id=t.default,id}var Rv;function bA(){return Rv||(Rv=1,function(e,t){(function(r,n){e.exports=n(gA())})(be,function(r){return function(){var n={273:function(i){i.exports=r}},a={};function o(i){var l=a[i];if(l!==void 0)return l.exports;var u=a[i]={exports:{}};return n[i](u,u.exports,o),u.exports}o.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(l,{a:l}),l},o.d=function(i,l){for(var u in l)o.o(l,u)&&!o.o(i,u)&&Object.defineProperty(i,u,{enumerable:!0,get:l[u]})},o.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var s={};return function(){o.r(s),o.d(s,{setContext:function(){return c},setupGTM:function(){return p}});var i=o(273),l=o.n(i);let u=null;const c=({configs:f,environment:h})=>{if(!h)throw new Error("Cannot set context: Environment not defined");if(!f)throw new Error("Cannot set context: REACT_APP_GTM_ID not defined");if(!f[h])throw new Error(`Cannot set context: REACT_APP_GTM_ID not defined for environment - ${JSON.stringify({configs:f,environment:h})}`);u=f[h]},d=()=>u,p=()=>{const f=d();l().initialize({gtmId:f.id})}}(),s}()})}(nd)),nd.exports}var P_=202,A_=502,I_=400,N_=409,M_=100,$_=201,k_=417,EA=424,L_=403,B_=504,D_=410,q_=505,F_=418,j_=419,U_=507,H_=500,G_=411,W_=423,V_=420,z_=405,Y_=301,K_=302,X_=207,Q_=300,J_=511,Z_=204,e0=203,t0=406,r0=404,n0=501,a0=304,o0=200,i0=206,s0=402,l0=308,u0=412,c0=428,f0=102,d0=407,p0=431,h0=408,m0=413,y0=414,v0=416,g0=205,b0=303,E0=503,_0=101,w0=307,T0=429,S0=401,R0=422,C0=415,x0=305;const _A={ACCEPTED:P_,BAD_GATEWAY:A_,BAD_REQUEST:I_,CONFLICT:N_,CONTINUE:M_,CREATED:$_,EXPECTATION_FAILED:k_,FORBIDDEN:L_,GATEWAY_TIMEOUT:B_,GONE:D_,HTTP_VERSION_NOT_SUPPORTED:q_,IM_A_TEAPOT:F_,INSUFFICIENT_SPACE_ON_RESOURCE:j_,INSUFFICIENT_STORAGE:U_,INTERNAL_SERVER_ERROR:H_,LENGTH_REQUIRED:G_,LOCKED:W_,METHOD_FAILURE:V_,METHOD_NOT_ALLOWED:z_,MOVED_PERMANENTLY:Y_,MOVED_TEMPORARILY:K_,MULTI_STATUS:X_,MULTIPLE_CHOICES:Q_,NETWORK_AUTHENTICATION_REQUIRED:J_,NO_CONTENT:Z_,NON_AUTHORITATIVE_INFORMATION:e0,NOT_ACCEPTABLE:t0,NOT_FOUND:r0,NOT_IMPLEMENTED:n0,NOT_MODIFIED:a0,OK:o0,PARTIAL_CONTENT:i0,PAYMENT_REQUIRED:s0,PERMANENT_REDIRECT:l0,PRECONDITION_FAILED:u0,PRECONDITION_REQUIRED:c0,PROCESSING:f0,PROXY_AUTHENTICATION_REQUIRED:d0,REQUEST_HEADER_FIELDS_TOO_LARGE:p0,REQUEST_TIMEOUT:h0,REQUEST_TOO_LONG:m0,REQUEST_URI_TOO_LONG:y0,REQUESTED_RANGE_NOT_SATISFIABLE:v0,RESET_CONTENT:g0,SEE_OTHER:b0,SERVICE_UNAVAILABLE:E0,SWITCHING_PROTOCOLS:_0,TEMPORARY_REDIRECT:w0,TOO_MANY_REQUESTS:T0,UNAUTHORIZED:S0,UNPROCESSABLE_ENTITY:R0,UNSUPPORTED_MEDIA_TYPE:C0,USE_PROXY:x0};var wA={202:"Accepted",502:"Bad Gateway",400:"Bad Request",409:"Conflict",100:"Continue",201:"Created",417:"Expectation Failed",424:"Failed Dependency",403:"Forbidden",504:"Gateway Timeout",410:"Gone",505:"HTTP Version Not Supported",418:"I'm a teapot",419:"Insufficient Space on Resource",507:"Insufficient Storage",500:"Internal Server Error",411:"Length Required",423:"Locked",420:"Method Failure",405:"Method Not Allowed",301:"Moved Permanently",302:"Moved Temporarily",207:"Multi-Status",300:"Multiple Choices",511:"Network Authentication Required",204:"No Content",203:"Non Authoritative Information",406:"Not Acceptable",404:"Not Found",501:"Not Implemented",304:"Not Modified",200:"OK",206:"Partial Content",402:"Payment Required",308:"Permanent Redirect",412:"Precondition Failed",428:"Precondition Required",102:"Processing",407:"Proxy Authentication Required",431:"Request Header Fields Too Large",408:"Request Timeout",413:"Request Entity Too Large",414:"Request-URI Too Long",416:"Requested Range Not Satisfiable",205:"Reset Content",303:"See Other",503:"Service Unavailable",101:"Switching Protocols",307:"Temporary Redirect",429:"Too Many Requests",401:"Unauthorized",451:"Unavailable For Legal Reasons",422:"Unprocessable Entity",415:"Unsupported Media Type",305:"Use Proxy",421:"Misdirected Request"},TA={Accepted:202,"Bad Gateway":502,"Bad Request":400,Conflict:409,Continue:100,Created:201,"Expectation Failed":417,"Failed Dependency":424,Forbidden:403,"Gateway Timeout":504,Gone:410,"HTTP Version Not Supported":505,"I'm a teapot":418,"Insufficient Space on Resource":419,"Insufficient Storage":507,"Internal Server Error":500,"Length Required":411,Locked:423,"Method Failure":420,"Method Not Allowed":405,"Moved Permanently":301,"Moved Temporarily":302,"Multi-Status":207,"Multiple Choices":300,"Network Authentication Required":511,"No Content":204,"Non Authoritative Information":203,"Not Acceptable":406,"Not Found":404,"Not Implemented":501,"Not Modified":304,OK:200,"Partial Content":206,"Payment Required":402,"Permanent Redirect":308,"Precondition Failed":412,"Precondition Required":428,Processing:102,"Proxy Authentication Required":407,"Request Header Fields Too Large":431,"Request Timeout":408,"Request Entity Too Large":413,"Request-URI Too Long":414,"Requested Range Not Satisfiable":416,"Reset Content":205,"See Other":303,"Service Unavailable":503,"Switching Protocols":101,"Temporary Redirect":307,"Too Many Requests":429,Unauthorized:401,"Unavailable For Legal Reasons":451,"Unprocessable Entity":422,"Unsupported Media Type":415,"Use Proxy":305,"Misdirected Request":421};function O0(e){var t=wA[e.toString()];if(!t)throw new Error("Status code does not exist: "+e);return t}function P0(e){var t=TA[e];if(!t)throw new Error("Reason phrase does not exist: "+e);return t}var A0=O0,_p;(function(e){e[e.ACCEPTED=202]="ACCEPTED",e[e.BAD_GATEWAY=502]="BAD_GATEWAY",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.CONFLICT=409]="CONFLICT",e[e.CONTINUE=100]="CONTINUE",e[e.CREATED=201]="CREATED",e[e.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",e[e.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",e[e.GONE=410]="GONE",e[e.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",e[e.IM_A_TEAPOT=418]="IM_A_TEAPOT",e[e.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",e[e.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e[e.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",e[e.LOCKED=423]="LOCKED",e[e.METHOD_FAILURE=420]="METHOD_FAILURE",e[e.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",e[e.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",e[e.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",e[e.MULTI_STATUS=207]="MULTI_STATUS",e[e.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",e[e.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED",e[e.NO_CONTENT=204]="NO_CONTENT",e[e.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",e[e.NOT_MODIFIED=304]="NOT_MODIFIED",e[e.OK=200]="OK",e[e.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",e[e.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",e[e.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",e[e.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",e[e.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",e[e.PROCESSING=102]="PROCESSING",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",e[e.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",e[e.RESET_CONTENT=205]="RESET_CONTENT",e[e.SEE_OTHER=303]="SEE_OTHER",e[e.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",e[e.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",e[e.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",e[e.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",e[e.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",e[e.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",e[e.USE_PROXY=305]="USE_PROXY",e[e.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST"})(_p||(_p={}));var wp;(function(e){e.ACCEPTED="Accepted",e.BAD_GATEWAY="Bad Gateway",e.BAD_REQUEST="Bad Request",e.CONFLICT="Conflict",e.CONTINUE="Continue",e.CREATED="Created",e.EXPECTATION_FAILED="Expectation Failed",e.FAILED_DEPENDENCY="Failed Dependency",e.FORBIDDEN="Forbidden",e.GATEWAY_TIMEOUT="Gateway Timeout",e.GONE="Gone",e.HTTP_VERSION_NOT_SUPPORTED="HTTP Version Not Supported",e.IM_A_TEAPOT="I'm a teapot",e.INSUFFICIENT_SPACE_ON_RESOURCE="Insufficient Space on Resource",e.INSUFFICIENT_STORAGE="Insufficient Storage",e.INTERNAL_SERVER_ERROR="Internal Server Error",e.LENGTH_REQUIRED="Length Required",e.LOCKED="Locked",e.METHOD_FAILURE="Method Failure",e.METHOD_NOT_ALLOWED="Method Not Allowed",e.MOVED_PERMANENTLY="Moved Permanently",e.MOVED_TEMPORARILY="Moved Temporarily",e.MULTI_STATUS="Multi-Status",e.MULTIPLE_CHOICES="Multiple Choices",e.NETWORK_AUTHENTICATION_REQUIRED="Network Authentication Required",e.NO_CONTENT="No Content",e.NON_AUTHORITATIVE_INFORMATION="Non Authoritative Information",e.NOT_ACCEPTABLE="Not Acceptable",e.NOT_FOUND="Not Found",e.NOT_IMPLEMENTED="Not Implemented",e.NOT_MODIFIED="Not Modified",e.OK="OK",e.PARTIAL_CONTENT="Partial Content",e.PAYMENT_REQUIRED="Payment Required",e.PERMANENT_REDIRECT="Permanent Redirect",e.PRECONDITION_FAILED="Precondition Failed",e.PRECONDITION_REQUIRED="Precondition Required",e.PROCESSING="Processing",e.PROXY_AUTHENTICATION_REQUIRED="Proxy Authentication Required",e.REQUEST_HEADER_FIELDS_TOO_LARGE="Request Header Fields Too Large",e.REQUEST_TIMEOUT="Request Timeout",e.REQUEST_TOO_LONG="Request Entity Too Large",e.REQUEST_URI_TOO_LONG="Request-URI Too Long",e.REQUESTED_RANGE_NOT_SATISFIABLE="Requested Range Not Satisfiable",e.RESET_CONTENT="Reset Content",e.SEE_OTHER="See Other",e.SERVICE_UNAVAILABLE="Service Unavailable",e.SWITCHING_PROTOCOLS="Switching Protocols",e.TEMPORARY_REDIRECT="Temporary Redirect",e.TOO_MANY_REQUESTS="Too Many Requests",e.UNAUTHORIZED="Unauthorized",e.UNAVAILABLE_FOR_LEGAL_REASONS="Unavailable For Legal Reasons",e.UNPROCESSABLE_ENTITY="Unprocessable Entity",e.UNSUPPORTED_MEDIA_TYPE="Unsupported Media Type",e.USE_PROXY="Use Proxy",e.MISDIRECTED_REQUEST="Misdirected Request"})(wp||(wp={}));var ws=globalThis&&globalThis.__assign||function(){return ws=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},ws.apply(this,arguments)};const SA=ws(ws({},_A),{getStatusCode:P0,getStatusText:A0}),RA=Object.freeze(Object.defineProperty({__proto__:null,ACCEPTED:P_,BAD_GATEWAY:A_,BAD_REQUEST:I_,CONFLICT:N_,CONTINUE:M_,CREATED:$_,EXPECTATION_FAILED:k_,FAILED_DEPENDENCY:EA,FORBIDDEN:L_,GATEWAY_TIMEOUT:B_,GONE:D_,HTTP_VERSION_NOT_SUPPORTED:q_,IM_A_TEAPOT:F_,INSUFFICIENT_SPACE_ON_RESOURCE:j_,INSUFFICIENT_STORAGE:U_,INTERNAL_SERVER_ERROR:H_,LENGTH_REQUIRED:G_,LOCKED:W_,METHOD_FAILURE:V_,METHOD_NOT_ALLOWED:z_,MOVED_PERMANENTLY:Y_,MOVED_TEMPORARILY:K_,MULTIPLE_CHOICES:Q_,MULTI_STATUS:X_,NETWORK_AUTHENTICATION_REQUIRED:J_,NON_AUTHORITATIVE_INFORMATION:e0,NOT_ACCEPTABLE:t0,NOT_FOUND:r0,NOT_IMPLEMENTED:n0,NOT_MODIFIED:a0,NO_CONTENT:Z_,OK:o0,PARTIAL_CONTENT:i0,PAYMENT_REQUIRED:s0,PERMANENT_REDIRECT:l0,PRECONDITION_FAILED:u0,PRECONDITION_REQUIRED:c0,PROCESSING:f0,PROXY_AUTHENTICATION_REQUIRED:d0,REQUESTED_RANGE_NOT_SATISFIABLE:v0,REQUEST_HEADER_FIELDS_TOO_LARGE:p0,REQUEST_TIMEOUT:h0,REQUEST_TOO_LONG:m0,REQUEST_URI_TOO_LONG:y0,RESET_CONTENT:g0,get ReasonPhrases(){return wp},SEE_OTHER:b0,SERVICE_UNAVAILABLE:E0,SWITCHING_PROTOCOLS:_0,get StatusCodes(){return _p},TEMPORARY_REDIRECT:w0,TOO_MANY_REQUESTS:T0,UNAUTHORIZED:S0,UNPROCESSABLE_ENTITY:R0,UNSUPPORTED_MEDIA_TYPE:C0,USE_PROXY:x0,default:SA,getReasonPhrase:O0,getStatusCode:P0,getStatusText:A0},Symbol.toStringTag,{value:"Module"})),CA=mi(RA);var Wi={exports:{}},Io={},sd={},No={},Mo={},aa={},$o={},ld={},oa={},Jr={},Cv;function Dh(){if(Cv)return Jr;Cv=1,Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.ERROR_PACKET=Jr.PACKET_TYPES_REVERSE=Jr.PACKET_TYPES=void 0;const e=Object.create(null);Jr.PACKET_TYPES=e,e.open="0",e.close="1",e.ping="2",e.pong="3",e.message="4",e.upgrade="5",e.noop="6";const t=Object.create(null);Jr.PACKET_TYPES_REVERSE=t,Object.keys(e).forEach(n=>{t[e[n]]=n});const r={type:"error",data:"parser error"};return Jr.ERROR_PACKET=r,Jr}var xv;function xA(){if(xv)return oa;xv=1,Object.defineProperty(oa,"__esModule",{value:!0}),oa.encodePacket=oa.encodePacketToBinary=void 0;const e=Dh(),t=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",r=typeof ArrayBuffer=="function",n=u=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(u):u&&u.buffer instanceof ArrayBuffer,a=({type:u,data:c},d,p)=>t&&c instanceof Blob?d?p(c):o(c,p):r&&(c instanceof ArrayBuffer||n(c))?d?p(c):o(new Blob([c]),p):p(e.PACKET_TYPES[u]+(c||""));oa.encodePacket=a;const o=(u,c)=>{const d=new FileReader;return d.onload=function(){const p=d.result.split(",")[1];c("b"+(p||""))},d.readAsDataURL(u)};function s(u){return u instanceof Uint8Array?u:u instanceof ArrayBuffer?new Uint8Array(u):new Uint8Array(u.buffer,u.byteOffset,u.byteLength)}let i;function l(u,c){if(t&&u.data instanceof Blob)return u.data.arrayBuffer().then(s).then(c);if(r&&(u.data instanceof ArrayBuffer||n(u.data)))return c(s(u.data));a(u,!1,d=>{i||(i=new TextEncoder),c(i.encode(d))})}return oa.encodePacketToBinary=l,oa}var ko={},ia={},Ov;function OA(){if(Ov)return ia;Ov=1,Object.defineProperty(ia,"__esModule",{value:!0}),ia.decode=ia.encode=void 0;const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let a=0;a<e.length;a++)t[e.charCodeAt(a)]=a;const r=a=>{let o=new Uint8Array(a),s,i=o.length,l="";for(s=0;s<i;s+=3)l+=e[o[s]>>2],l+=e[(o[s]&3)<<4|o[s+1]>>4],l+=e[(o[s+1]&15)<<2|o[s+2]>>6],l+=e[o[s+2]&63];return i%3===2?l=l.substring(0,l.length-1)+"=":i%3===1&&(l=l.substring(0,l.length-2)+"=="),l};ia.encode=r;const n=a=>{let o=a.length*.75,s=a.length,i,l=0,u,c,d,p;a[a.length-1]==="="&&(o--,a[a.length-2]==="="&&o--);const f=new ArrayBuffer(o),h=new Uint8Array(f);for(i=0;i<s;i+=4)u=t[a.charCodeAt(i)],c=t[a.charCodeAt(i+1)],d=t[a.charCodeAt(i+2)],p=t[a.charCodeAt(i+3)],h[l++]=u<<2|c>>4,h[l++]=(c&15)<<4|d>>2,h[l++]=(d&3)<<6|p&63;return f};return ia.decode=n,ia}var Pv;function PA(){if(Pv)return ko;Pv=1,Object.defineProperty(ko,"__esModule",{value:!0}),ko.decodePacket=void 0;const e=Dh(),t=OA(),r=typeof ArrayBuffer=="function",n=(s,i)=>{if(typeof s!="string")return{type:"message",data:o(s,i)};const l=s.charAt(0);return l==="b"?{type:"message",data:a(s.substring(1),i)}:e.PACKET_TYPES_REVERSE[l]?s.length>1?{type:e.PACKET_TYPES_REVERSE[l],data:s.substring(1)}:{type:e.PACKET_TYPES_REVERSE[l]}:e.ERROR_PACKET};ko.decodePacket=n;const a=(s,i)=>{if(r){const l=(0,t.decode)(s);return o(l,i)}else return{base64:!0,data:s}},o=(s,i)=>{switch(i){case"blob":return s instanceof Blob?s:new Blob([s]);case"arraybuffer":default:return s instanceof ArrayBuffer?s:s.buffer}};return ko}var Av;function vi(){return Av||(Av=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodePayload=e.decodePacket=e.encodePayload=e.encodePacket=e.protocol=e.createPacketDecoderStream=e.createPacketEncoderStream=void 0;const t=xA();Object.defineProperty(e,"encodePacket",{enumerable:!0,get:function(){return t.encodePacket}});const r=PA();Object.defineProperty(e,"decodePacket",{enumerable:!0,get:function(){return r.decodePacket}});const n=Dh(),a=String.fromCharCode(30),o=(p,f)=>{const h=p.length,m=new Array(h);let w=0;p.forEach((E,y)=>{(0,t.encodePacket)(E,!1,T=>{m[y]=T,++w===h&&f(m.join(a))})})};e.encodePayload=o;const s=(p,f)=>{const h=p.split(a),m=[];for(let w=0;w<h.length;w++){const E=(0,r.decodePacket)(h[w],f);if(m.push(E),E.type==="error")break}return m};e.decodePayload=s;function i(){return new TransformStream({transform(p,f){(0,t.encodePacketToBinary)(p,h=>{const m=h.length;let w;if(m<126)w=new Uint8Array(1),new DataView(w.buffer).setUint8(0,m);else if(m<65536){w=new Uint8Array(3);const E=new DataView(w.buffer);E.setUint8(0,126),E.setUint16(1,m)}else{w=new Uint8Array(9);const E=new DataView(w.buffer);E.setUint8(0,127),E.setBigUint64(1,BigInt(m))}p.data&&typeof p.data!="string"&&(w[0]|=128),f.enqueue(w),f.enqueue(h)})}})}e.createPacketEncoderStream=i;let l;function u(p){return p.reduce((f,h)=>f+h.length,0)}function c(p,f){if(p[0].length===f)return p.shift();const h=new Uint8Array(f);let m=0;for(let w=0;w<f;w++)h[w]=p[0][m++],m===p[0].length&&(p.shift(),m=0);return p.length&&m<p[0].length&&(p[0]=p[0].slice(m)),h}function d(p,f){l||(l=new TextDecoder);const h=[];let m=0,w=-1,E=!1;return new TransformStream({transform(y,T){for(h.push(y);;){if(m===0){if(u(h)<1)break;const R=c(h,1);E=(R[0]&128)===128,w=R[0]&127,w<126?m=3:w===126?m=1:m=2}else if(m===1){if(u(h)<2)break;const R=c(h,2);w=new DataView(R.buffer,R.byteOffset,R.length).getUint16(0),m=3}else if(m===2){if(u(h)<8)break;const R=c(h,8),S=new DataView(R.buffer,R.byteOffset,R.length),O=S.getUint32(0);if(O>Math.pow(2,53-32)-1){T.enqueue(n.ERROR_PACKET);break}w=O*Math.pow(2,32)+S.getUint32(4),m=3}else{if(u(h)<w)break;const R=c(h,w);T.enqueue((0,r.decodePacket)(E?R:l.decode(R),f)),m=0}if(w===0||w>p){T.enqueue(n.ERROR_PACKET);break}}}})}e.createPacketDecoderStream=d,e.protocol=4}(ld)),ld}function qt(e){if(e)return AA(e)}function AA(e){for(var t in qt.prototype)e[t]=qt.prototype[t];return e}qt.prototype.on=qt.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};qt.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this};qt.prototype.off=qt.prototype.removeListener=qt.prototype.removeAllListeners=qt.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var n,a=0;a<r.length;a++)if(n=r[a],n===t||n.fn===t){r.splice(a,1);break}return r.length===0&&delete this._callbacks["$"+e],this};qt.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,a=r.length;n<a;++n)r[n].apply(this,t)}return this};qt.prototype.emitReserved=qt.prototype.emit;qt.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};qt.prototype.hasListeners=function(e){return!!this.listeners(e).length};const IA=Object.freeze(Object.defineProperty({__proto__:null,Emitter:qt},Symbol.toStringTag,{value:"Module"})),co=mi(IA);var Zr={},Lo={},Iv;function Ys(){return Iv||(Iv=1,Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.globalThisShim=void 0,Lo.globalThisShim=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())()),Lo}var Nv;function gi(){if(Nv)return Zr;Nv=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.byteLength=Zr.installTimerFunctions=Zr.pick=void 0;const e=Ys();function t(l,...u){return u.reduce((c,d)=>(l.hasOwnProperty(d)&&(c[d]=l[d]),c),{})}Zr.pick=t;const r=e.globalThisShim.setTimeout,n=e.globalThisShim.clearTimeout;function a(l,u){u.useNativeTimers?(l.setTimeoutFn=r.bind(e.globalThisShim),l.clearTimeoutFn=n.bind(e.globalThisShim)):(l.setTimeoutFn=e.globalThisShim.setTimeout.bind(e.globalThisShim),l.clearTimeoutFn=e.globalThisShim.clearTimeout.bind(e.globalThisShim))}Zr.installTimerFunctions=a;const o=1.33;function s(l){return typeof l=="string"?i(l):Math.ceil((l.byteLength||l.size)*o)}Zr.byteLength=s;function i(l){let u=0,c=0;for(let d=0,p=l.length;d<p;d++)u=l.charCodeAt(d),u<128?c+=1:u<2048?c+=2:u<55296||u>=57344?c+=3:(d++,c+=4);return c}return Zr}var Vi={exports:{}},ud,Mv;function NA(){if(Mv)return ud;Mv=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,o=n*365.25;ud=function(c,d){d=d||{};var p=typeof c;if(p==="string"&&c.length>0)return s(c);if(p==="number"&&isFinite(c))return d.long?l(c):i(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function s(c){if(c=String(c),!(c.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(d){var p=parseFloat(d[1]),f=(d[2]||"ms").toLowerCase();switch(f){case"years":case"year":case"yrs":case"yr":case"y":return p*o;case"weeks":case"week":case"w":return p*a;case"days":case"day":case"d":return p*n;case"hours":case"hour":case"hrs":case"hr":case"h":return p*r;case"minutes":case"minute":case"mins":case"min":case"m":return p*t;case"seconds":case"second":case"secs":case"sec":case"s":return p*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}}}function i(c){var d=Math.abs(c);return d>=n?Math.round(c/n)+"d":d>=r?Math.round(c/r)+"h":d>=t?Math.round(c/t)+"m":d>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var d=Math.abs(c);return d>=n?u(c,d,n,"day"):d>=r?u(c,d,r,"hour"):d>=t?u(c,d,t,"minute"):d>=e?u(c,d,e,"second"):c+" ms"}function u(c,d,p,f){var h=d>=p*1.5;return Math.round(c/p)+" "+f+(h?"s":"")}return ud}var cd,$v;function MA(){if($v)return cd;$v=1;function e(t){n.debug=n,n.default=n,n.coerce=u,n.disable=s,n.enable=o,n.enabled=i,n.humanize=NA(),n.destroy=c,Object.keys(t).forEach(d=>{n[d]=t[d]}),n.names=[],n.skips=[],n.formatters={};function r(d){let p=0;for(let f=0;f<d.length;f++)p=(p<<5)-p+d.charCodeAt(f),p|=0;return n.colors[Math.abs(p)%n.colors.length]}n.selectColor=r;function n(d){let p,f=null,h,m;function w(...E){if(!w.enabled)return;const y=w,T=Number(new Date),R=T-(p||T);y.diff=R,y.prev=p,y.curr=T,p=T,E[0]=n.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let S=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(N,M)=>{if(N==="%%")return"%";S++;const H=n.formatters[M];if(typeof H=="function"){const G=E[S];N=H.call(y,G),E.splice(S,1),S--}return N}),n.formatArgs.call(y,E),(y.log||n.log).apply(y,E)}return w.namespace=d,w.useColors=n.useColors(),w.color=n.selectColor(d),w.extend=a,w.destroy=n.destroy,Object.defineProperty(w,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(h!==n.namespaces&&(h=n.namespaces,m=n.enabled(d)),m),set:E=>{f=E}}),typeof n.init=="function"&&n.init(w),w}function a(d,p){const f=n(this.namespace+(typeof p>"u"?":":p)+d);return f.log=this.log,f}function o(d){n.save(d),n.namespaces=d,n.names=[],n.skips=[];let p;const f=(typeof d=="string"?d:"").split(/[\s,]+/),h=f.length;for(p=0;p<h;p++)f[p]&&(d=f[p].replace(/\*/g,".*?"),d[0]==="-"?n.skips.push(new RegExp("^"+d.slice(1)+"$")):n.names.push(new RegExp("^"+d+"$")))}function s(){const d=[...n.names.map(l),...n.skips.map(l).map(p=>"-"+p)].join(",");return n.enable(""),d}function i(d){if(d[d.length-1]==="*")return!0;let p,f;for(p=0,f=n.skips.length;p<f;p++)if(n.skips[p].test(d))return!1;for(p=0,f=n.names.length;p<f;p++)if(n.names[p].test(d))return!0;return!1}function l(d){return d.toString().substring(2,d.toString().length-2).replace(/\.\*\?$/,"*")}function u(d){return d instanceof Error?d.stack||d.message:d}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return cd=e,cd}var kv;function Fr(){return kv||(kv=1,function(e,t){t.formatArgs=n,t.save=a,t.load=o,t.useColors=r,t.storage=s(),t.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,d=0;l[0].replace(/%[a-zA-Z%]/g,p=>{p!=="%%"&&(c++,p==="%c"&&(d=c))}),l.splice(d,0,u)}t.log=console.debug||console.log||(()=>{});function a(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function o(){let l;try{l=t.storage.getItem("debug")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l=process.env.DEBUG),l}function s(){try{return localStorage}catch{}}e.exports=MA()(t);const{formatters:i}=e.exports;i.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}}(Vi,Vi.exports)),Vi.exports}var sa={},Lv;function I0(){if(Lv)return sa;Lv=1,Object.defineProperty(sa,"__esModule",{value:!0}),sa.decode=sa.encode=void 0;function e(r){let n="";for(let a in r)r.hasOwnProperty(a)&&(n.length&&(n+="&"),n+=encodeURIComponent(a)+"="+encodeURIComponent(r[a]));return n}sa.encode=e;function t(r){let n={},a=r.split("&");for(let o=0,s=a.length;o<s;o++){let i=a[o].split("=");n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n}return sa.decode=t,sa}var Bv;function Ks(){if(Bv)return $o;Bv=1;var e=be&&be.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty($o,"__esModule",{value:!0}),$o.Transport=void 0;const t=vi(),r=co,n=gi(),a=e(Fr()),o=I0(),s=(0,a.default)("engine.io-client:transport");class i extends Error{constructor(c,d,p){super(c),this.description=d,this.context=p,this.type="TransportError"}}class l extends r.Emitter{constructor(c){super(),this.writable=!1,(0,n.installTimerFunctions)(this,c),this.opts=c,this.query=c.query,this.socket=c.socket}onError(c,d,p){return super.emitReserved("error",new i(c,d,p)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(c){this.readyState==="open"?this.write(c):s("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(c){const d=(0,t.decodePacket)(c,this.socket.binaryType);this.onPacket(d)}onPacket(c){super.emitReserved("packet",c)}onClose(c){this.readyState="closed",super.emitReserved("close",c)}pause(c){}createUri(c,d={}){return c+"://"+this._hostname()+this._port()+this.opts.path+this._query(d)}_hostname(){const c=this.opts.hostname;return c.indexOf(":")===-1?c:"["+c+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(c){const d=(0,o.encode)(c);return d.length?"?"+d:""}}return $o.Transport=l,$o}var en={},Dv;function N0(){if(Dv)return en;Dv=1,Object.defineProperty(en,"__esModule",{value:!0}),en.yeast=en.decode=en.encode=void 0;const e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),t=64,r={};let n=0,a=0,o;function s(u){let c="";do c=e[u%t]+c,u=Math.floor(u/t);while(u>0);return c}en.encode=s;function i(u){let c=0;for(a=0;a<u.length;a++)c=c*t+r[u.charAt(a)];return c}en.decode=i;function l(){const u=s(+new Date);return u!==o?(n=0,o=u):u+"."+s(n++)}for(en.yeast=l;a<t;a++)r[e[a]]=a;return en}var la={},Bo={},qv;function $A(){if(qv)return Bo;qv=1,Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.hasCORS=void 0;let e=!1;try{e=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}return Bo.hasCORS=e,Bo}var Fv;function kA(){if(Fv)return la;Fv=1,Object.defineProperty(la,"__esModule",{value:!0}),la.createCookieJar=la.XHR=void 0;const e=$A(),t=Ys();function r(a){const o=a.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!o||e.hasCORS))return new XMLHttpRequest}catch{}if(!o)try{return new t.globalThisShim[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}la.XHR=r;function n(){}return la.createCookieJar=n,la}var jv;function LA(){if(jv)return aa;jv=1;var e=be&&be.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(aa,"__esModule",{value:!0}),aa.Request=aa.Polling=void 0;const t=Ks(),r=e(Fr()),n=N0(),a=vi(),o=kA(),s=co,i=gi(),l=Ys(),u=(0,r.default)("engine.io-client:polling");function c(){}const d=function(){return new o.XHR({xdomain:!1}).responseType!=null}();class p extends t.Transport{constructor(w){if(super(w),this.polling=!1,typeof location<"u"){const y=location.protocol==="https:";let T=location.port;T||(T=y?"443":"80"),this.xd=typeof location<"u"&&w.hostname!==location.hostname||T!==w.port}const E=w&&w.forceBase64;this.supportsBinary=d&&!E,this.opts.withCredentials&&(this.cookieJar=(0,o.createCookieJar)())}get name(){return"polling"}doOpen(){this.poll()}pause(w){this.readyState="pausing";const E=()=>{u("paused"),this.readyState="paused",w()};if(this.polling||!this.writable){let y=0;this.polling&&(u("we are currently polling - waiting to pause"),y++,this.once("pollComplete",function(){u("pre-pause polling complete"),--y||E()})),this.writable||(u("we are currently writing - waiting to pause"),y++,this.once("drain",function(){u("pre-pause writing complete"),--y||E()}))}else E()}poll(){u("polling"),this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(w){u("polling got data %s",w);const E=y=>{if(this.readyState==="opening"&&y.type==="open"&&this.onOpen(),y.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(y)};(0,a.decodePayload)(w,this.socket.binaryType).forEach(E),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"?this.poll():u('ignoring poll - transport state "%s"',this.readyState))}doClose(){const w=()=>{u("writing close packet"),this.write([{type:"close"}])};this.readyState==="open"?(u("transport open - closing"),w()):(u("transport not open - deferring close"),this.once("open",w))}write(w){this.writable=!1,(0,a.encodePayload)(w,E=>{this.doWrite(E,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const w=this.opts.secure?"https":"http",E=this.query||{};return this.opts.timestampRequests!==!1&&(E[this.opts.timestampParam]=(0,n.yeast)()),!this.supportsBinary&&!E.sid&&(E.b64=1),this.createUri(w,E)}request(w={}){return Object.assign(w,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new f(this.uri(),w)}doWrite(w,E){const y=this.request({method:"POST",data:w});y.on("success",E),y.on("error",(T,R)=>{this.onError("xhr post error",T,R)})}doPoll(){u("xhr poll");const w=this.request();w.on("data",this.onData.bind(this)),w.on("error",(E,y)=>{this.onError("xhr poll error",E,y)}),this.pollXhr=w}}aa.Polling=p;class f extends s.Emitter{constructor(w,E){super(),(0,i.installTimerFunctions)(this,E),this.opts=E,this.method=E.method||"GET",this.uri=w,this.data=E.data!==void 0?E.data:null,this.create()}create(){var w;const E=(0,i.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");E.xdomain=!!this.opts.xd;const y=this.xhr=new o.XHR(E);try{u("xhr open %s: %s",this.method,this.uri),y.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){y.setDisableHeaderCheck&&y.setDisableHeaderCheck(!0);for(let T in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(T)&&y.setRequestHeader(T,this.opts.extraHeaders[T])}}catch{}if(this.method==="POST")try{y.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{y.setRequestHeader("Accept","*/*")}catch{}(w=this.opts.cookieJar)===null||w===void 0||w.addCookies(y),"withCredentials"in y&&(y.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(y.timeout=this.opts.requestTimeout),y.onreadystatechange=()=>{var T;y.readyState===3&&((T=this.opts.cookieJar)===null||T===void 0||T.parseCookies(y)),y.readyState===4&&(y.status===200||y.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof y.status=="number"?y.status:0)},0))},u("xhr data %s",this.data),y.send(this.data)}catch(T){this.setTimeoutFn(()=>{this.onError(T)},0);return}typeof document<"u"&&(this.index=f.requestsCount++,f.requests[this.index]=this)}onError(w){this.emitReserved("error",w,this.xhr),this.cleanup(!0)}cleanup(w){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=c,w)try{this.xhr.abort()}catch{}typeof document<"u"&&delete f.requests[this.index],this.xhr=null}}onLoad(){const w=this.xhr.responseText;w!==null&&(this.emitReserved("data",w),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(aa.Request=f,f.requestsCount=0,f.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",h);else if(typeof addEventListener=="function"){const m="onpagehide"in l.globalThisShim?"pagehide":"unload";addEventListener(m,h,!1)}}function h(){for(let m in f.requests)f.requests.hasOwnProperty(m)&&f.requests[m].abort()}return aa}var Do={},mr={},Uv;function Xs(){if(Uv)return mr;Uv=1,Object.defineProperty(mr,"__esModule",{value:!0}),mr.defaultBinaryType=mr.usingBrowserWebSocket=mr.WebSocket=mr.nextTick=void 0;const e=Ys();return mr.nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?r=>Promise.resolve().then(r):(r,n)=>n(r,0))(),mr.WebSocket=e.globalThisShim.WebSocket||e.globalThisShim.MozWebSocket,mr.usingBrowserWebSocket=!0,mr.defaultBinaryType="arraybuffer",mr}var Hv;function BA(){if(Hv)return Do;Hv=1;var e=be&&be.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Do,"__esModule",{value:!0}),Do.WS=void 0;const t=Ks(),r=N0(),n=gi(),a=Xs(),o=e(Fr()),s=vi(),i=(0,o.default)("engine.io-client:websocket"),l=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class u extends t.Transport{constructor(d){super(d),this.supportsBinary=!d.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const d=this.uri(),p=this.opts.protocols,f=l?{}:(0,n.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(f.headers=this.opts.extraHeaders);try{this.ws=a.usingBrowserWebSocket&&!l?p?new a.WebSocket(d,p):new a.WebSocket(d):new a.WebSocket(d,p,f)}catch(h){return this.emitReserved("error",h)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=d=>this.onClose({description:"websocket connection closed",context:d}),this.ws.onmessage=d=>this.onData(d.data),this.ws.onerror=d=>this.onError("websocket error",d)}write(d){this.writable=!1;for(let p=0;p<d.length;p++){const f=d[p],h=p===d.length-1;(0,s.encodePacket)(f,this.supportsBinary,m=>{const w={};a.usingBrowserWebSocket||(f.options&&(w.compress=f.options.compress),this.opts.perMessageDeflate&&(typeof m=="string"?Buffer.byteLength(m):m.length)<this.opts.perMessageDeflate.threshold&&(w.compress=!1));try{a.usingBrowserWebSocket?this.ws.send(m):this.ws.send(m,w)}catch{i("websocket closed before onclose event")}h&&(0,a.nextTick)(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const d=this.opts.secure?"wss":"ws",p=this.query||{};return this.opts.timestampRequests&&(p[this.opts.timestampParam]=(0,r.yeast)()),this.supportsBinary||(p.b64=1),this.createUri(d,p)}check(){return!!a.WebSocket}}return Do.WS=u,Do}var qo={},Gv;function DA(){if(Gv)return qo;Gv=1;var e=be&&be.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(qo,"__esModule",{value:!0}),qo.WT=void 0;const t=Ks(),r=Xs(),n=vi(),o=(0,e(Fr()).default)("engine.io-client:webtransport");class s extends t.Transport{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{o("transport closed gracefully"),this.onClose()}).catch(l=>{o("transport closed due to %s",l),this.onError("webtransport error",l)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(l=>{const u=(0,n.createPacketDecoderStream)(Number.MAX_SAFE_INTEGER,this.socket.binaryType),c=l.readable.pipeThrough(u).getReader(),d=(0,n.createPacketEncoderStream)();d.readable.pipeTo(l.writable),this.writer=d.writable.getWriter();const p=()=>{c.read().then(({done:h,value:m})=>{if(h){o("session is closed");return}o("received chunk: %o",m),this.onPacket(m),p()}).catch(h=>{o("an error occurred while reading: %s",h)})};p();const f={type:"open"};this.query.sid&&(f.data=`{"sid":"${this.query.sid}"}`),this.writer.write(f).then(()=>this.onOpen())})}))}write(l){this.writable=!1;for(let u=0;u<l.length;u++){const c=l[u],d=u===l.length-1;this.writer.write(c).then(()=>{d&&(0,r.nextTick)(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var l;(l=this.transport)===null||l===void 0||l.close()}}return qo.WT=s,qo}var Wv;function M0(){if(Wv)return Mo;Wv=1,Object.defineProperty(Mo,"__esModule",{value:!0}),Mo.transports=void 0;const e=LA(),t=BA(),r=DA();return Mo.transports={websocket:t.WS,webtransport:r.WT,polling:e.Polling},Mo}var Fo={},Vv;function $0(){if(Vv)return Fo;Vv=1,Object.defineProperty(Fo,"__esModule",{value:!0}),Fo.parse=void 0;const e=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,t=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function r(o){const s=o,i=o.indexOf("["),l=o.indexOf("]");i!=-1&&l!=-1&&(o=o.substring(0,i)+o.substring(i,l).replace(/:/g,";")+o.substring(l,o.length));let u=e.exec(o||""),c={},d=14;for(;d--;)c[t[d]]=u[d]||"";return i!=-1&&l!=-1&&(c.source=s,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=n(c,c.path),c.queryKey=a(c,c.query),c}Fo.parse=r;function n(o,s){const i=/\/{2,9}/g,l=s.replace(i,"/").split("/");return(s.slice(0,1)=="/"||s.length===0)&&l.splice(0,1),s.slice(-1)=="/"&&l.splice(l.length-1,1),l}function a(o,s){const i={};return s.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(l,u,c){u&&(i[u]=c)}),i}return Fo}var zv;function qA(){if(zv)return No;zv=1;var e=be&&be.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(No,"__esModule",{value:!0}),No.Socket=void 0;const t=M0(),r=gi(),n=I0(),a=$0(),o=e(Fr()),s=co,i=vi(),l=Xs(),u=(0,o.default)("engine.io-client:socket");class c extends s.Emitter{constructor(p,f={}){super(),this.binaryType=l.defaultBinaryType,this.writeBuffer=[],p&&typeof p=="object"&&(f=p,p=null),p?(p=(0,a.parse)(p),f.hostname=p.host,f.secure=p.protocol==="https"||p.protocol==="wss",f.port=p.port,p.query&&(f.query=p.query)):f.host&&(f.hostname=(0,a.parse)(f.host).host),(0,r.installTimerFunctions)(this,f),this.secure=f.secure!=null?f.secure:typeof location<"u"&&location.protocol==="https:",f.hostname&&!f.port&&(f.port=this.secure?"443":"80"),this.hostname=f.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=f.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=f.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},f),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=(0,n.decode)(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(p){u('creating transport "%s"',p);const f=Object.assign({},this.opts.query);f.EIO=i.protocol,f.transport=p,this.id&&(f.sid=this.id);const h=Object.assign({},this.opts,{query:f,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[p]);return u("options: %j",h),new t.transports[p](h)}open(){let p;if(this.opts.rememberUpgrade&&c.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)p="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else p=this.transports[0];this.readyState="opening";try{p=this.createTransport(p)}catch(f){u("error while creating transport: %s",f),this.transports.shift(),this.open();return}p.open(),this.setTransport(p)}setTransport(p){u("setting transport %s",p.name),this.transport&&(u("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=p,p.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",f=>this.onClose("transport close",f))}probe(p){u('probing transport "%s"',p);let f=this.createTransport(p),h=!1;c.priorWebsocketSuccess=!1;const m=()=>{h||(u('probe transport "%s" opened',p),f.send([{type:"ping",data:"probe"}]),f.once("packet",O=>{if(!h)if(O.type==="pong"&&O.data==="probe"){if(u('probe transport "%s" pong',p),this.upgrading=!0,this.emitReserved("upgrading",f),!f)return;c.priorWebsocketSuccess=f.name==="websocket",u('pausing current transport "%s"',this.transport.name),this.transport.pause(()=>{h||this.readyState!=="closed"&&(u("changing transport and sending upgrade packet"),S(),this.setTransport(f),f.send([{type:"upgrade"}]),this.emitReserved("upgrade",f),f=null,this.upgrading=!1,this.flush())})}else{u('probe transport "%s" failed',p);const N=new Error("probe error");N.transport=f.name,this.emitReserved("upgradeError",N)}}))};function w(){h||(h=!0,S(),f.close(),f=null)}const E=O=>{const N=new Error("probe error: "+O);N.transport=f.name,w(),u('probe transport "%s" failed because of error: %s',p,O),this.emitReserved("upgradeError",N)};function y(){E("transport closed")}function T(){E("socket closed")}function R(O){f&&O.name!==f.name&&(u('"%s" works - aborting "%s"',O.name,f.name),w())}const S=()=>{f.removeListener("open",m),f.removeListener("error",E),f.removeListener("close",y),this.off("close",T),this.off("upgrading",R)};f.once("open",m),f.once("error",E),f.once("close",y),this.once("close",T),this.once("upgrading",R),this.upgrades.indexOf("webtransport")!==-1&&p!=="webtransport"?this.setTimeoutFn(()=>{h||f.open()},200):f.open()}onOpen(){if(u("socket open"),this.readyState="open",c.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){u("starting upgrade probes");let p=0;const f=this.upgrades.length;for(;p<f;p++)this.probe(this.upgrades[p])}}onPacket(p){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(u('socket receive: type "%s", data "%s"',p.type,p.data),this.emitReserved("packet",p),this.emitReserved("heartbeat"),this.resetPingTimeout(),p.type){case"open":this.onHandshake(JSON.parse(p.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const f=new Error("server error");f.code=p.data,this.onError(f);break;case"message":this.emitReserved("data",p.data),this.emitReserved("message",p.data);break}else u('packet received with socket readyState "%s"',this.readyState)}onHandshake(p){this.emitReserved("handshake",p),this.id=p.sid,this.transport.query.sid=p.sid,this.upgrades=this.filterUpgrades(p.upgrades),this.pingInterval=p.pingInterval,this.pingTimeout=p.pingTimeout,this.maxPayload=p.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const p=this.getWritablePackets();u("flushing %d packets in socket",p.length),this.transport.send(p),this.prevBufferLen=p.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let f=1;for(let h=0;h<this.writeBuffer.length;h++){const m=this.writeBuffer[h].data;if(m&&(f+=(0,r.byteLength)(m)),h>0&&f>this.maxPayload)return u("only send %d out of %d packets",h,this.writeBuffer.length),this.writeBuffer.slice(0,h);f+=2}return u("payload size is %d (max: %d)",f,this.maxPayload),this.writeBuffer}write(p,f,h){return this.sendPacket("message",p,f,h),this}send(p,f,h){return this.sendPacket("message",p,f,h),this}sendPacket(p,f,h,m){if(typeof f=="function"&&(m=f,f=void 0),typeof h=="function"&&(m=h,h=null),this.readyState==="closing"||this.readyState==="closed")return;h=h||{},h.compress=h.compress!==!1;const w={type:p,data:f,options:h};this.emitReserved("packetCreate",w),this.writeBuffer.push(w),m&&this.once("flush",m),this.flush()}close(){const p=()=>{this.onClose("forced close"),u("socket closing - telling transport to close"),this.transport.close()},f=()=>{this.off("upgrade",f),this.off("upgradeError",f),p()},h=()=>{this.once("upgrade",f),this.once("upgradeError",f)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?h():p()}):this.upgrading?h():p()),this}onError(p){u("socket error %j",p),c.priorWebsocketSuccess=!1,this.emitReserved("error",p),this.onClose("transport error",p)}onClose(p,f){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(u('socket close with reason: "%s"',p),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",p,f),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(p){const f=[];let h=0;const m=p.length;for(;h<m;h++)~this.transports.indexOf(p[h])&&f.push(p[h]);return f}}return No.Socket=c,c.protocol=i.protocol,No}var Yv;function k0(){return Yv||(Yv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.nextTick=e.parse=e.installTimerFunctions=e.transports=e.Transport=e.protocol=e.Socket=void 0;const t=qA();Object.defineProperty(e,"Socket",{enumerable:!0,get:function(){return t.Socket}}),e.protocol=t.Socket.protocol;var r=Ks();Object.defineProperty(e,"Transport",{enumerable:!0,get:function(){return r.Transport}});var n=M0();Object.defineProperty(e,"transports",{enumerable:!0,get:function(){return n.transports}});var a=gi();Object.defineProperty(e,"installTimerFunctions",{enumerable:!0,get:function(){return a.installTimerFunctions}});var o=$0();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return o.parse}});var s=Xs();Object.defineProperty(e,"nextTick",{enumerable:!0,get:function(){return s.nextTick}})}(sd)),sd}var Kv;function FA(){if(Kv)return Io;Kv=1;var e=be&&be.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Io,"__esModule",{value:!0}),Io.url=void 0;const t=k0(),n=e(Fr()).default("socket.io-client:url");function a(o,s="",i){let l=o;i=i||typeof location<"u"&&location,o==null&&(o=i.protocol+"//"+i.host),typeof o=="string"&&(o.charAt(0)==="/"&&(o.charAt(1)==="/"?o=i.protocol+o:o=i.host+o),/^(https?|wss?):\/\//.test(o)||(n("protocol-less url %s",o),typeof i<"u"?o=i.protocol+"//"+o:o="https://"+o),n("parse %s",o),l=t.parse(o)),l.port||(/^(http|ws)$/.test(l.protocol)?l.port="80":/^(http|ws)s$/.test(l.protocol)&&(l.port="443")),l.path=l.path||"/";const c=l.host.indexOf(":")!==-1?"["+l.host+"]":l.host;return l.id=l.protocol+"://"+c+":"+l.port+s,l.href=l.protocol+"://"+c+(i&&i.port===l.port?"":":"+l.port),l}return Io.url=a,Io}var jo={},Uo={},fd={},ua={},ca={},Xv;function L0(){if(Xv)return ca;Xv=1,Object.defineProperty(ca,"__esModule",{value:!0}),ca.hasBinary=ca.isBinary=void 0;const e=typeof ArrayBuffer=="function",t=i=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(i):i.buffer instanceof ArrayBuffer,r=Object.prototype.toString,n=typeof Blob=="function"||typeof Blob<"u"&&r.call(Blob)==="[object BlobConstructor]",a=typeof File=="function"||typeof File<"u"&&r.call(File)==="[object FileConstructor]";function o(i){return e&&(i instanceof ArrayBuffer||t(i))||n&&i instanceof Blob||a&&i instanceof File}ca.isBinary=o;function s(i,l){if(!i||typeof i!="object")return!1;if(Array.isArray(i)){for(let u=0,c=i.length;u<c;u++)if(s(i[u]))return!0;return!1}if(o(i))return!0;if(i.toJSON&&typeof i.toJSON=="function"&&arguments.length===1)return s(i.toJSON(),!0);for(const u in i)if(Object.prototype.hasOwnProperty.call(i,u)&&s(i[u]))return!0;return!1}return ca.hasBinary=s,ca}var Qv;function jA(){if(Qv)return ua;Qv=1,Object.defineProperty(ua,"__esModule",{value:!0}),ua.reconstructPacket=ua.deconstructPacket=void 0;const e=L0();function t(o){const s=[],i=o.data,l=o;return l.data=r(i,s),l.attachments=s.length,{packet:l,buffers:s}}ua.deconstructPacket=t;function r(o,s){if(!o)return o;if((0,e.isBinary)(o)){const i={_placeholder:!0,num:s.length};return s.push(o),i}else if(Array.isArray(o)){const i=new Array(o.length);for(let l=0;l<o.length;l++)i[l]=r(o[l],s);return i}else if(typeof o=="object"&&!(o instanceof Date)){const i={};for(const l in o)Object.prototype.hasOwnProperty.call(o,l)&&(i[l]=r(o[l],s));return i}return o}function n(o,s){return o.data=a(o.data,s),delete o.attachments,o}ua.reconstructPacket=n;function a(o,s){if(!o)return o;if(o&&o._placeholder===!0){if(typeof o.num=="number"&&o.num>=0&&o.num<s.length)return s[o.num];throw new Error("illegal attachments")}else if(Array.isArray(o))for(let i=0;i<o.length;i++)o[i]=a(o[i],s);else if(typeof o=="object")for(const i in o)Object.prototype.hasOwnProperty.call(o,i)&&(o[i]=a(o[i],s));return o}return ua}var Jv;function qh(){return Jv||(Jv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Decoder=e.Encoder=e.PacketType=e.protocol=void 0;const t=co,r=jA(),n=L0(),o=(0,Fr().default)("socket.io-parser"),s=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];e.protocol=5;var i;(function(p){p[p.CONNECT=0]="CONNECT",p[p.DISCONNECT=1]="DISCONNECT",p[p.EVENT=2]="EVENT",p[p.ACK=3]="ACK",p[p.CONNECT_ERROR=4]="CONNECT_ERROR",p[p.BINARY_EVENT=5]="BINARY_EVENT",p[p.BINARY_ACK=6]="BINARY_ACK"})(i=e.PacketType||(e.PacketType={}));class l{constructor(f){this.replacer=f}encode(f){return o("encoding packet %j",f),(f.type===i.EVENT||f.type===i.ACK)&&(0,n.hasBinary)(f)?this.encodeAsBinary({type:f.type===i.EVENT?i.BINARY_EVENT:i.BINARY_ACK,nsp:f.nsp,data:f.data,id:f.id}):[this.encodeAsString(f)]}encodeAsString(f){let h=""+f.type;return(f.type===i.BINARY_EVENT||f.type===i.BINARY_ACK)&&(h+=f.attachments+"-"),f.nsp&&f.nsp!=="/"&&(h+=f.nsp+","),f.id!=null&&(h+=f.id),f.data!=null&&(h+=JSON.stringify(f.data,this.replacer)),o("encoded %j as %s",f,h),h}encodeAsBinary(f){const h=(0,r.deconstructPacket)(f),m=this.encodeAsString(h.packet),w=h.buffers;return w.unshift(m),w}}e.Encoder=l;function u(p){return Object.prototype.toString.call(p)==="[object Object]"}class c extends t.Emitter{constructor(f){super(),this.reviver=f}add(f){let h;if(typeof f=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");h=this.decodeString(f);const m=h.type===i.BINARY_EVENT;m||h.type===i.BINARY_ACK?(h.type=m?i.EVENT:i.ACK,this.reconstructor=new d(h),h.attachments===0&&super.emitReserved("decoded",h)):super.emitReserved("decoded",h)}else if((0,n.isBinary)(f)||f.base64)if(this.reconstructor)h=this.reconstructor.takeBinaryData(f),h&&(this.reconstructor=null,super.emitReserved("decoded",h));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+f)}decodeString(f){let h=0;const m={type:Number(f.charAt(0))};if(i[m.type]===void 0)throw new Error("unknown packet type "+m.type);if(m.type===i.BINARY_EVENT||m.type===i.BINARY_ACK){const E=h+1;for(;f.charAt(++h)!=="-"&&h!=f.length;);const y=f.substring(E,h);if(y!=Number(y)||f.charAt(h)!=="-")throw new Error("Illegal attachments");m.attachments=Number(y)}if(f.charAt(h+1)==="/"){const E=h+1;for(;++h&&!(f.charAt(h)===","||h===f.length););m.nsp=f.substring(E,h)}else m.nsp="/";const w=f.charAt(h+1);if(w!==""&&Number(w)==w){const E=h+1;for(;++h;){const y=f.charAt(h);if(y==null||Number(y)!=y){--h;break}if(h===f.length)break}m.id=Number(f.substring(E,h+1))}if(f.charAt(++h)){const E=this.tryParse(f.substr(h));if(c.isPayloadValid(m.type,E))m.data=E;else throw new Error("invalid payload")}return o("decoded %s as %j",f,m),m}tryParse(f){try{return JSON.parse(f,this.reviver)}catch{return!1}}static isPayloadValid(f,h){switch(f){case i.CONNECT:return u(h);case i.DISCONNECT:return h===void 0;case i.CONNECT_ERROR:return typeof h=="string"||u(h);case i.EVENT:case i.BINARY_EVENT:return Array.isArray(h)&&(typeof h[0]=="number"||typeof h[0]=="string"&&s.indexOf(h[0])===-1);case i.ACK:case i.BINARY_ACK:return Array.isArray(h)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}e.Decoder=c;class d{constructor(f){this.packet=f,this.buffers=[],this.reconPack=f}takeBinaryData(f){if(this.buffers.push(f),this.buffers.length===this.reconPack.attachments){const h=(0,r.reconstructPacket)(this.reconPack,this.buffers);return this.finishedReconstruction(),h}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}}(fd)),fd}var Ho={},Zv;function B0(){if(Zv)return Ho;Zv=1,Object.defineProperty(Ho,"__esModule",{value:!0}),Ho.on=void 0;function e(t,r,n){return t.on(r,n),function(){t.off(r,n)}}return Ho.on=e,Ho}var eg;function D0(){if(eg)return Uo;eg=1;var e=be&&be.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(Uo,"__esModule",{value:!0}),Uo.Socket=void 0;const t=qh(),r=B0(),n=co,o=e(Fr()).default("socket.io-client:socket"),s=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class i extends n.Emitter{constructor(u,c,d){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=u,this.nsp=c,d&&d.auth&&(this.auth=d.auth),this._opts=Object.assign({},d),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const u=this.io;this.subs=[r.on(u,"open",this.onopen.bind(this)),r.on(u,"packet",this.onpacket.bind(this)),r.on(u,"error",this.onerror.bind(this)),r.on(u,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...u){return u.unshift("message"),this.emit.apply(this,u),this}emit(u,...c){if(s.hasOwnProperty(u))throw new Error('"'+u.toString()+'" is a reserved event name');if(c.unshift(u),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(c),this;const d={type:t.PacketType.EVENT,data:c};if(d.options={},d.options.compress=this.flags.compress!==!1,typeof c[c.length-1]=="function"){const h=this.ids++;o("emitting packet with ack id %d",h);const m=c.pop();this._registerAckCallback(h,m),d.id=h}const p=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!p||!this.connected)?o("discard packet as the transport is not currently writable"):this.connected?(this.notifyOutgoingListeners(d),this.packet(d)):this.sendBuffer.push(d),this.flags={},this}_registerAckCallback(u,c){var d;const p=(d=this.flags.timeout)!==null&&d!==void 0?d:this._opts.ackTimeout;if(p===void 0){this.acks[u]=c;return}const f=this.io.setTimeoutFn(()=>{delete this.acks[u];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===u&&(o("removing packet with ack id %d from the buffer",u),this.sendBuffer.splice(h,1));o("event with ack id %d has timed out after %d ms",u,p),c.call(this,new Error("operation has timed out"))},p);this.acks[u]=(...h)=>{this.io.clearTimeoutFn(f),c.apply(this,[null,...h])}}emitWithAck(u,...c){const d=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((p,f)=>{c.push((h,m)=>d?h?f(h):p(m):p(h)),this.emit(u,...c)})}_addToQueue(u){let c;typeof u[u.length-1]=="function"&&(c=u.pop());const d={id:this._queueSeq++,tryCount:0,pending:!1,args:u,flags:Object.assign({fromQueue:!0},this.flags)};u.push((p,...f)=>d!==this._queue[0]?void 0:(p!==null?d.tryCount>this._opts.retries&&(o("packet [%d] is discarded after %d tries",d.id,d.tryCount),this._queue.shift(),c&&c(p)):(o("packet [%d] was successfully sent",d.id),this._queue.shift(),c&&c(null,...f)),d.pending=!1,this._drainQueue())),this._queue.push(d),this._drainQueue()}_drainQueue(u=!1){if(o("draining queue"),!this.connected||this._queue.length===0)return;const c=this._queue[0];if(c.pending&&!u){o("packet [%d] has already been sent and is waiting for an ack",c.id);return}c.pending=!0,c.tryCount++,o("sending packet [%d] (try n°%d)",c.id,c.tryCount),this.flags=c.flags,this.emit.apply(this,c.args)}packet(u){u.nsp=this.nsp,this.io._packet(u)}onopen(){o("transport is open - connecting"),typeof this.auth=="function"?this.auth(u=>{this._sendConnectPacket(u)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(u){this.packet({type:t.PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},u):u})}onerror(u){this.connected||this.emitReserved("connect_error",u)}onclose(u,c){o("close (%s)",u),this.connected=!1,delete this.id,this.emitReserved("disconnect",u,c)}onpacket(u){if(u.nsp===this.nsp)switch(u.type){case t.PacketType.CONNECT:u.data&&u.data.sid?this.onconnect(u.data.sid,u.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case t.PacketType.EVENT:case t.PacketType.BINARY_EVENT:this.onevent(u);break;case t.PacketType.ACK:case t.PacketType.BINARY_ACK:this.onack(u);break;case t.PacketType.DISCONNECT:this.ondisconnect();break;case t.PacketType.CONNECT_ERROR:this.destroy();const d=new Error(u.data.message);d.data=u.data.data,this.emitReserved("connect_error",d);break}}onevent(u){const c=u.data||[];o("emitting event %j",c),u.id!=null&&(o("attaching ack callback to event"),c.push(this.ack(u.id))),this.connected?this.emitEvent(c):this.receiveBuffer.push(Object.freeze(c))}emitEvent(u){if(this._anyListeners&&this._anyListeners.length){const c=this._anyListeners.slice();for(const d of c)d.apply(this,u)}super.emit.apply(this,u),this._pid&&u.length&&typeof u[u.length-1]=="string"&&(this._lastOffset=u[u.length-1])}ack(u){const c=this;let d=!1;return function(...p){d||(d=!0,o("sending ack %j",p),c.packet({type:t.PacketType.ACK,id:u,data:p}))}}onack(u){const c=this.acks[u.id];typeof c=="function"?(o("calling ack %s with %j",u.id,u.data),c.apply(this,u.data),delete this.acks[u.id]):o("bad ack %s",u.id)}onconnect(u,c){o("socket connected with id %s",u),this.id=u,this.recovered=c&&this._pid===c,this._pid=c,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(u=>this.emitEvent(u)),this.receiveBuffer=[],this.sendBuffer.forEach(u=>{this.notifyOutgoingListeners(u),this.packet(u)}),this.sendBuffer=[]}ondisconnect(){o("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(u=>u()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(o("performing disconnect (%s)",this.nsp),this.packet({type:t.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(u){return this.flags.compress=u,this}get volatile(){return this.flags.volatile=!0,this}timeout(u){return this.flags.timeout=u,this}onAny(u){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(u),this}prependAny(u){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(u),this}offAny(u){if(!this._anyListeners)return this;if(u){const c=this._anyListeners;for(let d=0;d<c.length;d++)if(u===c[d])return c.splice(d,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(u){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(u),this}prependAnyOutgoing(u){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(u),this}offAnyOutgoing(u){if(!this._anyOutgoingListeners)return this;if(u){const c=this._anyOutgoingListeners;for(let d=0;d<c.length;d++)if(u===c[d])return c.splice(d,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(u){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const c=this._anyOutgoingListeners.slice();for(const d of c)d.apply(this,u.data)}}}return Uo.Socket=i,Uo}var Go={},tg;function UA(){if(tg)return Go;tg=1,Object.defineProperty(Go,"__esModule",{value:!0}),Go.Backoff=void 0;function e(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}return Go.Backoff=e,e.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var r=Math.random(),n=Math.floor(r*this.jitter*t);t=Math.floor(r*10)&1?t+n:t-n}return Math.min(t,this.max)|0},e.prototype.reset=function(){this.attempts=0},e.prototype.setMin=function(t){this.ms=t},e.prototype.setMax=function(t){this.max=t},e.prototype.setJitter=function(t){this.jitter=t},Go}var rg;function HA(){if(rg)return jo;rg=1;var e=be&&be.__createBinding||(Object.create?function(f,h,m,w){w===void 0&&(w=m),Object.defineProperty(f,w,{enumerable:!0,get:function(){return h[m]}})}:function(f,h,m,w){w===void 0&&(w=m),f[w]=h[m]}),t=be&&be.__setModuleDefault||(Object.create?function(f,h){Object.defineProperty(f,"default",{enumerable:!0,value:h})}:function(f,h){f.default=h}),r=be&&be.__importStar||function(f){if(f&&f.__esModule)return f;var h={};if(f!=null)for(var m in f)m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)&&e(h,f,m);return t(h,f),h},n=be&&be.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(jo,"__esModule",{value:!0}),jo.Manager=void 0;const a=k0(),o=D0(),s=r(qh()),i=B0(),l=UA(),u=co,d=n(Fr()).default("socket.io-client:manager");class p extends u.Emitter{constructor(h,m){var w;super(),this.nsps={},this.subs=[],h&&typeof h=="object"&&(m=h,h=void 0),m=m||{},m.path=m.path||"/socket.io",this.opts=m,a.installTimerFunctions(this,m),this.reconnection(m.reconnection!==!1),this.reconnectionAttempts(m.reconnectionAttempts||1/0),this.reconnectionDelay(m.reconnectionDelay||1e3),this.reconnectionDelayMax(m.reconnectionDelayMax||5e3),this.randomizationFactor((w=m.randomizationFactor)!==null&&w!==void 0?w:.5),this.backoff=new l.Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(m.timeout==null?2e4:m.timeout),this._readyState="closed",this.uri=h;const E=m.parser||s;this.encoder=new E.Encoder,this.decoder=new E.Decoder,this._autoConnect=m.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(h){return arguments.length?(this._reconnection=!!h,this):this._reconnection}reconnectionAttempts(h){return h===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=h,this)}reconnectionDelay(h){var m;return h===void 0?this._reconnectionDelay:(this._reconnectionDelay=h,(m=this.backoff)===null||m===void 0||m.setMin(h),this)}randomizationFactor(h){var m;return h===void 0?this._randomizationFactor:(this._randomizationFactor=h,(m=this.backoff)===null||m===void 0||m.setJitter(h),this)}reconnectionDelayMax(h){var m;return h===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=h,(m=this.backoff)===null||m===void 0||m.setMax(h),this)}timeout(h){return arguments.length?(this._timeout=h,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(h){if(d("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;d("opening %s",this.uri),this.engine=new a.Socket(this.uri,this.opts);const m=this.engine,w=this;this._readyState="opening",this.skipReconnect=!1;const E=i.on(m,"open",function(){w.onopen(),h&&h()}),y=R=>{d("error"),this.cleanup(),this._readyState="closed",this.emitReserved("error",R),h?h(R):this.maybeReconnectOnOpen()},T=i.on(m,"error",y);if(this._timeout!==!1){const R=this._timeout;d("connect attempt will timeout after %d",R);const S=this.setTimeoutFn(()=>{d("connect attempt timed out after %d",R),E(),y(new Error("timeout")),m.close()},R);this.opts.autoUnref&&S.unref(),this.subs.push(()=>{this.clearTimeoutFn(S)})}return this.subs.push(E),this.subs.push(T),this}connect(h){return this.open(h)}onopen(){d("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");const h=this.engine;this.subs.push(i.on(h,"ping",this.onping.bind(this)),i.on(h,"data",this.ondata.bind(this)),i.on(h,"error",this.onerror.bind(this)),i.on(h,"close",this.onclose.bind(this)),i.on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(h){try{this.decoder.add(h)}catch(m){this.onclose("parse error",m)}}ondecoded(h){a.nextTick(()=>{this.emitReserved("packet",h)},this.setTimeoutFn)}onerror(h){d("error",h),this.emitReserved("error",h)}socket(h,m){let w=this.nsps[h];return w?this._autoConnect&&!w.active&&w.connect():(w=new o.Socket(this,h,m),this.nsps[h]=w),w}_destroy(h){const m=Object.keys(this.nsps);for(const w of m)if(this.nsps[w].active){d("socket %s is still active, skipping close",w);return}this._close()}_packet(h){d("writing packet %j",h);const m=this.encoder.encode(h);for(let w=0;w<m.length;w++)this.engine.write(m[w],h.options)}cleanup(){d("cleanup"),this.subs.forEach(h=>h()),this.subs.length=0,this.decoder.destroy()}_close(){d("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(h,m){d("closed due to %s",h),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",h,m),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const h=this;if(this.backoff.attempts>=this._reconnectionAttempts)d("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const m=this.backoff.duration();d("will wait %dms before reconnect attempt",m),this._reconnecting=!0;const w=this.setTimeoutFn(()=>{h.skipReconnect||(d("attempting reconnect"),this.emitReserved("reconnect_attempt",h.backoff.attempts),!h.skipReconnect&&h.open(E=>{E?(d("reconnect attempt error"),h._reconnecting=!1,h.reconnect(),this.emitReserved("reconnect_error",E)):(d("reconnect success"),h.onreconnect())}))},m);this.opts.autoUnref&&w.unref(),this.subs.push(()=>{this.clearTimeoutFn(w)})}}onreconnect(){const h=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",h)}}return jo.Manager=p,jo}var ng;function GA(){return ng||(ng=1,function(e,t){var r=be&&be.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.connect=t.io=t.Socket=t.Manager=t.protocol=void 0;const n=FA(),a=HA();Object.defineProperty(t,"Manager",{enumerable:!0,get:function(){return a.Manager}});const o=D0();Object.defineProperty(t,"Socket",{enumerable:!0,get:function(){return o.Socket}});const i=r(Fr()).default("socket.io-client"),l={};function u(d,p){typeof d=="object"&&(p=d,d=void 0),p=p||{};const f=n.url(d,p.path||"/socket.io"),h=f.source,m=f.id,w=f.path,E=l[m]&&w in l[m].nsps,y=p.forceNew||p["force new connection"]||p.multiplex===!1||E;let T;return y?(i("ignoring socket cache for %s",h),T=new a.Manager(h,p)):(l[m]||(i("new io instance for %s",h),l[m]=new a.Manager(h,p)),T=l[m]),f.query&&!p.query&&(p.query=f.queryKey),T.socket(f.path,p)}t.io=u,t.connect=u,t.default=u,Object.assign(u,{Manager:a.Manager,Socket:o.Socket,io:u,connect:u});var c=qh();Object.defineProperty(t,"protocol",{enumerable:!0,get:function(){return c.protocol}}),e.exports=u}(Wi,Wi.exports)),Wi.exports}var dd={},Wo={},ag;function WA(){if(ag)return Wo;ag=1,Wo.byteLength=i,Wo.toByteArray=u,Wo.fromByteArray=p;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=n.length;a<o;++a)e[a]=n[a],t[n.charCodeAt(a)]=a;t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63;function s(f){var h=f.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var m=f.indexOf("=");m===-1&&(m=h);var w=m===h?0:4-m%4;return[m,w]}function i(f){var h=s(f),m=h[0],w=h[1];return(m+w)*3/4-w}function l(f,h,m){return(h+m)*3/4-m}function u(f){var h,m=s(f),w=m[0],E=m[1],y=new r(l(f,w,E)),T=0,R=E>0?w-4:w,S;for(S=0;S<R;S+=4)h=t[f.charCodeAt(S)]<<18|t[f.charCodeAt(S+1)]<<12|t[f.charCodeAt(S+2)]<<6|t[f.charCodeAt(S+3)],y[T++]=h>>16&255,y[T++]=h>>8&255,y[T++]=h&255;return E===2&&(h=t[f.charCodeAt(S)]<<2|t[f.charCodeAt(S+1)]>>4,y[T++]=h&255),E===1&&(h=t[f.charCodeAt(S)]<<10|t[f.charCodeAt(S+1)]<<4|t[f.charCodeAt(S+2)]>>2,y[T++]=h>>8&255,y[T++]=h&255),y}function c(f){return e[f>>18&63]+e[f>>12&63]+e[f>>6&63]+e[f&63]}function d(f,h,m){for(var w,E=[],y=h;y<m;y+=3)w=(f[y]<<16&16711680)+(f[y+1]<<8&65280)+(f[y+2]&255),E.push(c(w));return E.join("")}function p(f){for(var h,m=f.length,w=m%3,E=[],y=16383,T=0,R=m-w;T<R;T+=y)E.push(d(f,T,T+y>R?R:T+y));return w===1?(h=f[m-1],E.push(e[h>>2]+e[h<<4&63]+"==")):w===2&&(h=(f[m-2]<<8)+f[m-1],E.push(e[h>>10]+e[h>>4&63]+e[h<<2&63]+"=")),E.join("")}return Wo}var zi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var og;function VA(){return og||(og=1,zi.read=function(e,t,r,n,a){var o,s,i=a*8-n-1,l=(1<<i)-1,u=l>>1,c=-7,d=r?a-1:0,p=r?-1:1,f=e[t+d];for(d+=p,o=f&(1<<-c)-1,f>>=-c,c+=i;c>0;o=o*256+e[t+d],d+=p,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=s*256+e[t+d],d+=p,c-=8);if(o===0)o=1-u;else{if(o===l)return s?NaN:(f?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-u}return(f?-1:1)*s*Math.pow(2,o-n)},zi.write=function(e,t,r,n,a,o){var s,i,l,u=o*8-a-1,c=(1<<u)-1,d=c>>1,p=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,h=n?1:-1,m=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(i=0,s=c):s+d>=1?(i=(t*l-1)*Math.pow(2,a),s=s+d):(i=t*Math.pow(2,d-1)*Math.pow(2,a),s=0));a>=8;e[r+f]=i&255,f+=h,i/=256,a-=8);for(s=s<<a|i,u+=a;u>0;e[r+f]=s&255,f+=h,s/=256,u-=8);e[r+f-h]|=m*128}),zi}/*!
57
57
  * The buffer module from node.js, for the browser.
58
58
  *
59
59
  * @author Feross Aboukhadijeh <https://feross.org>
60
60
  * @license MIT
61
- */var Jv;function DA(){return Jv||(Jv=1,function(e){const t=BA(),r=qA(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=i,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a,i.TYPED_ARRAY_SUPPORT=o(),!i.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{const R=new Uint8Array(1),y={foo:function(){return 42}};return Object.setPrototypeOf(y,Uint8Array.prototype),Object.setPrototypeOf(R,y),R.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function s(R){if(R>a)throw new RangeError('The value "'+R+'" is invalid for option "size"');const y=new Uint8Array(R);return Object.setPrototypeOf(y,i.prototype),y}function i(R,y,g){if(typeof R=="number"){if(typeof y=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(R)}return l(R,y,g)}i.poolSize=8192;function l(R,y,g){if(typeof R=="string")return p(R,y);if(ArrayBuffer.isView(R))return h(R);if(R==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R);if(ze(R,ArrayBuffer)||R&&ze(R.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ze(R,SharedArrayBuffer)||R&&ze(R.buffer,SharedArrayBuffer)))return m(R,y,g);if(typeof R=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const E=R.valueOf&&R.valueOf();if(E!=null&&E!==R)return i.from(E,y,g);const x=_(R);if(x)return x;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof R[Symbol.toPrimitive]=="function")return i.from(R[Symbol.toPrimitive]("string"),y,g);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R)}i.from=function(R,y,g){return l(R,y,g)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function u(R){if(typeof R!="number")throw new TypeError('"size" argument must be of type number');if(R<0)throw new RangeError('The value "'+R+'" is invalid for option "size"')}function c(R,y,g){return u(R),R<=0?s(R):y!==void 0?typeof g=="string"?s(R).fill(y,g):s(R).fill(y):s(R)}i.alloc=function(R,y,g){return c(R,y,g)};function d(R){return u(R),s(R<0?0:b(R)|0)}i.allocUnsafe=function(R){return d(R)},i.allocUnsafeSlow=function(R){return d(R)};function p(R,y){if((typeof y!="string"||y==="")&&(y="utf8"),!i.isEncoding(y))throw new TypeError("Unknown encoding: "+y);const g=w(R,y)|0;let E=s(g);const x=E.write(R,y);return x!==g&&(E=E.slice(0,x)),E}function f(R){const y=R.length<0?0:b(R.length)|0,g=s(y);for(let E=0;E<y;E+=1)g[E]=R[E]&255;return g}function h(R){if(ze(R,Uint8Array)){const y=new Uint8Array(R);return m(y.buffer,y.byteOffset,y.byteLength)}return f(R)}function m(R,y,g){if(y<0||R.byteLength<y)throw new RangeError('"offset" is outside of buffer bounds');if(R.byteLength<y+(g||0))throw new RangeError('"length" is outside of buffer bounds');let E;return y===void 0&&g===void 0?E=new Uint8Array(R):g===void 0?E=new Uint8Array(R,y):E=new Uint8Array(R,y,g),Object.setPrototypeOf(E,i.prototype),E}function _(R){if(i.isBuffer(R)){const y=b(R.length)|0,g=s(y);return g.length===0||R.copy(g,0,0,y),g}if(R.length!==void 0)return typeof R.length!="number"||Ct(R.length)?s(0):f(R);if(R.type==="Buffer"&&Array.isArray(R.data))return f(R.data)}function b(R){if(R>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return R|0}function v(R){return+R!=R&&(R=0),i.alloc(+R)}i.isBuffer=function(y){return y!=null&&y._isBuffer===!0&&y!==i.prototype},i.compare=function(y,g){if(ze(y,Uint8Array)&&(y=i.from(y,y.offset,y.byteLength)),ze(g,Uint8Array)&&(g=i.from(g,g.offset,g.byteLength)),!i.isBuffer(y)||!i.isBuffer(g))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(y===g)return 0;let E=y.length,x=g.length;for(let P=0,q=Math.min(E,x);P<q;++P)if(y[P]!==g[P]){E=y[P],x=g[P];break}return E<x?-1:x<E?1:0},i.isEncoding=function(y){switch(String(y).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(y,g){if(!Array.isArray(y))throw new TypeError('"list" argument must be an Array of Buffers');if(y.length===0)return i.alloc(0);let E;if(g===void 0)for(g=0,E=0;E<y.length;++E)g+=y[E].length;const x=i.allocUnsafe(g);let P=0;for(E=0;E<y.length;++E){let q=y[E];if(ze(q,Uint8Array))P+q.length>x.length?(i.isBuffer(q)||(q=i.from(q)),q.copy(x,P)):Uint8Array.prototype.set.call(x,q,P);else if(i.isBuffer(q))q.copy(x,P);else throw new TypeError('"list" argument must be an Array of Buffers');P+=q.length}return x};function w(R,y){if(i.isBuffer(R))return R.length;if(ArrayBuffer.isView(R)||ze(R,ArrayBuffer))return R.byteLength;if(typeof R!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof R);const g=R.length,E=arguments.length>2&&arguments[2]===!0;if(!E&&g===0)return 0;let x=!1;for(;;)switch(y){case"ascii":case"latin1":case"binary":return g;case"utf8":case"utf-8":return pt(R).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g*2;case"hex":return g>>>1;case"base64":return Rt(R).length;default:if(x)return E?-1:pt(R).length;y=(""+y).toLowerCase(),x=!0}}i.byteLength=w;function S(R,y,g){let E=!1;if((y===void 0||y<0)&&(y=0),y>this.length||((g===void 0||g>this.length)&&(g=this.length),g<=0)||(g>>>=0,y>>>=0,g<=y))return"";for(R||(R="utf8");;)switch(R){case"hex":return ve(this,y,g);case"utf8":case"utf-8":return Q(this,y,g);case"ascii":return V(this,y,g);case"latin1":case"binary":return ee(this,y,g);case"base64":return D(this,y,g);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,y,g);default:if(E)throw new TypeError("Unknown encoding: "+R);R=(R+"").toLowerCase(),E=!0}}i.prototype._isBuffer=!0;function T(R,y,g){const E=R[y];R[y]=R[g],R[g]=E}i.prototype.swap16=function(){const y=this.length;if(y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let g=0;g<y;g+=2)T(this,g,g+1);return this},i.prototype.swap32=function(){const y=this.length;if(y%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let g=0;g<y;g+=4)T(this,g,g+3),T(this,g+1,g+2);return this},i.prototype.swap64=function(){const y=this.length;if(y%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let g=0;g<y;g+=8)T(this,g,g+7),T(this,g+1,g+6),T(this,g+2,g+5),T(this,g+3,g+4);return this},i.prototype.toString=function(){const y=this.length;return y===0?"":arguments.length===0?Q(this,0,y):S.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(y){if(!i.isBuffer(y))throw new TypeError("Argument must be a Buffer");return this===y?!0:i.compare(this,y)===0},i.prototype.inspect=function(){let y="";const g=e.INSPECT_MAX_BYTES;return y=this.toString("hex",0,g).replace(/(.{2})/g,"$1 ").trim(),this.length>g&&(y+=" ... "),"<Buffer "+y+">"},n&&(i.prototype[n]=i.prototype.inspect),i.prototype.compare=function(y,g,E,x,P){if(ze(y,Uint8Array)&&(y=i.from(y,y.offset,y.byteLength)),!i.isBuffer(y))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof y);if(g===void 0&&(g=0),E===void 0&&(E=y?y.length:0),x===void 0&&(x=0),P===void 0&&(P=this.length),g<0||E>y.length||x<0||P>this.length)throw new RangeError("out of range index");if(x>=P&&g>=E)return 0;if(x>=P)return-1;if(g>=E)return 1;if(g>>>=0,E>>>=0,x>>>=0,P>>>=0,this===y)return 0;let q=P-x,oe=E-g;const he=Math.min(q,oe),ue=this.slice(x,P),pe=y.slice(g,E);for(let Ee=0;Ee<he;++Ee)if(ue[Ee]!==pe[Ee]){q=ue[Ee],oe=pe[Ee];break}return q<oe?-1:oe<q?1:0};function C(R,y,g,E,x){if(R.length===0)return-1;if(typeof g=="string"?(E=g,g=0):g>2147483647?g=2147483647:g<-2147483648&&(g=-2147483648),g=+g,Ct(g)&&(g=x?0:R.length-1),g<0&&(g=R.length+g),g>=R.length){if(x)return-1;g=R.length-1}else if(g<0)if(x)g=0;else return-1;if(typeof y=="string"&&(y=i.from(y,E)),i.isBuffer(y))return y.length===0?-1:I(R,y,g,E,x);if(typeof y=="number")return y=y&255,typeof Uint8Array.prototype.indexOf=="function"?x?Uint8Array.prototype.indexOf.call(R,y,g):Uint8Array.prototype.lastIndexOf.call(R,y,g):I(R,[y],g,E,x);throw new TypeError("val must be string, number or Buffer")}function I(R,y,g,E,x){let P=1,q=R.length,oe=y.length;if(E!==void 0&&(E=String(E).toLowerCase(),E==="ucs2"||E==="ucs-2"||E==="utf16le"||E==="utf-16le")){if(R.length<2||y.length<2)return-1;P=2,q/=2,oe/=2,g/=2}function he(pe,Ee){return P===1?pe[Ee]:pe.readUInt16BE(Ee*P)}let ue;if(x){let pe=-1;for(ue=g;ue<q;ue++)if(he(R,ue)===he(y,pe===-1?0:ue-pe)){if(pe===-1&&(pe=ue),ue-pe+1===oe)return pe*P}else pe!==-1&&(ue-=ue-pe),pe=-1}else for(g+oe>q&&(g=q-oe),ue=g;ue>=0;ue--){let pe=!0;for(let Ee=0;Ee<oe;Ee++)if(he(R,ue+Ee)!==he(y,Ee)){pe=!1;break}if(pe)return ue}return-1}i.prototype.includes=function(y,g,E){return this.indexOf(y,g,E)!==-1},i.prototype.indexOf=function(y,g,E){return C(this,y,g,E,!0)},i.prototype.lastIndexOf=function(y,g,E){return C(this,y,g,E,!1)};function N(R,y,g,E){g=Number(g)||0;const x=R.length-g;E?(E=Number(E),E>x&&(E=x)):E=x;const P=y.length;E>P/2&&(E=P/2);let q;for(q=0;q<E;++q){const oe=parseInt(y.substr(q*2,2),16);if(Ct(oe))return q;R[g+q]=oe}return q}function U(R,y,g,E){return _t(pt(y,R.length-g),R,g,E)}function G(R,y,g,E){return _t(Xe(y),R,g,E)}function W(R,y,g,E){return _t(Rt(y),R,g,E)}function j(R,y,g,E){return _t(Nt(y,R.length-g),R,g,E)}i.prototype.write=function(y,g,E,x){if(g===void 0)x="utf8",E=this.length,g=0;else if(E===void 0&&typeof g=="string")x=g,E=this.length,g=0;else if(isFinite(g))g=g>>>0,isFinite(E)?(E=E>>>0,x===void 0&&(x="utf8")):(x=E,E=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const P=this.length-g;if((E===void 0||E>P)&&(E=P),y.length>0&&(E<0||g<0)||g>this.length)throw new RangeError("Attempt to write outside buffer bounds");x||(x="utf8");let q=!1;for(;;)switch(x){case"hex":return N(this,y,g,E);case"utf8":case"utf-8":return U(this,y,g,E);case"ascii":case"latin1":case"binary":return G(this,y,g,E);case"base64":return W(this,y,g,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,y,g,E);default:if(q)throw new TypeError("Unknown encoding: "+x);x=(""+x).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(R,y,g){return y===0&&g===R.length?t.fromByteArray(R):t.fromByteArray(R.slice(y,g))}function Q(R,y,g){g=Math.min(R.length,g);const E=[];let x=y;for(;x<g;){const P=R[x];let q=null,oe=P>239?4:P>223?3:P>191?2:1;if(x+oe<=g){let he,ue,pe,Ee;switch(oe){case 1:P<128&&(q=P);break;case 2:he=R[x+1],(he&192)===128&&(Ee=(P&31)<<6|he&63,Ee>127&&(q=Ee));break;case 3:he=R[x+1],ue=R[x+2],(he&192)===128&&(ue&192)===128&&(Ee=(P&15)<<12|(he&63)<<6|ue&63,Ee>2047&&(Ee<55296||Ee>57343)&&(q=Ee));break;case 4:he=R[x+1],ue=R[x+2],pe=R[x+3],(he&192)===128&&(ue&192)===128&&(pe&192)===128&&(Ee=(P&15)<<18|(he&63)<<12|(ue&63)<<6|pe&63,Ee>65535&&Ee<1114112&&(q=Ee))}}q===null?(q=65533,oe=1):q>65535&&(q-=65536,E.push(q>>>10&1023|55296),q=56320|q&1023),E.push(q),x+=oe}return $(E)}const J=4096;function $(R){const y=R.length;if(y<=J)return String.fromCharCode.apply(String,R);let g="",E=0;for(;E<y;)g+=String.fromCharCode.apply(String,R.slice(E,E+=J));return g}function V(R,y,g){let E="";g=Math.min(R.length,g);for(let x=y;x<g;++x)E+=String.fromCharCode(R[x]&127);return E}function ee(R,y,g){let E="";g=Math.min(R.length,g);for(let x=y;x<g;++x)E+=String.fromCharCode(R[x]);return E}function ve(R,y,g){const E=R.length;(!y||y<0)&&(y=0),(!g||g<0||g>E)&&(g=E);let x="";for(let P=y;P<g;++P)x+=rt[R[P]];return x}function te(R,y,g){const E=R.slice(y,g);let x="";for(let P=0;P<E.length-1;P+=2)x+=String.fromCharCode(E[P]+E[P+1]*256);return x}i.prototype.slice=function(y,g){const E=this.length;y=~~y,g=g===void 0?E:~~g,y<0?(y+=E,y<0&&(y=0)):y>E&&(y=E),g<0?(g+=E,g<0&&(g=0)):g>E&&(g=E),g<y&&(g=y);const x=this.subarray(y,g);return Object.setPrototypeOf(x,i.prototype),x};function ne(R,y,g){if(R%1!==0||R<0)throw new RangeError("offset is not uint");if(R+y>g)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=this[y],P=1,q=0;for(;++q<g&&(P*=256);)x+=this[y+q]*P;return x},i.prototype.readUintBE=i.prototype.readUIntBE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=this[y+--g],P=1;for(;g>0&&(P*=256);)x+=this[y+--g]*P;return x},i.prototype.readUint8=i.prototype.readUInt8=function(y,g){return y=y>>>0,g||ne(y,1,this.length),this[y]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(y,g){return y=y>>>0,g||ne(y,2,this.length),this[y]|this[y+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(y,g){return y=y>>>0,g||ne(y,2,this.length),this[y]<<8|this[y+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),(this[y]|this[y+1]<<8|this[y+2]<<16)+this[y+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),this[y]*16777216+(this[y+1]<<16|this[y+2]<<8|this[y+3])},i.prototype.readBigUInt64LE=et(function(y){y=y>>>0,He(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ie(y,this.length-8);const x=g+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24,P=this[++y]+this[++y]*2**8+this[++y]*2**16+E*2**24;return BigInt(x)+(BigInt(P)<<BigInt(32))}),i.prototype.readBigUInt64BE=et(function(y){y=y>>>0,He(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ie(y,this.length-8);const x=g*2**24+this[++y]*2**16+this[++y]*2**8+this[++y],P=this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+E;return(BigInt(x)<<BigInt(32))+BigInt(P)}),i.prototype.readIntLE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=this[y],P=1,q=0;for(;++q<g&&(P*=256);)x+=this[y+q]*P;return P*=128,x>=P&&(x-=Math.pow(2,8*g)),x},i.prototype.readIntBE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=g,P=1,q=this[y+--x];for(;x>0&&(P*=256);)q+=this[y+--x]*P;return P*=128,q>=P&&(q-=Math.pow(2,8*g)),q},i.prototype.readInt8=function(y,g){return y=y>>>0,g||ne(y,1,this.length),this[y]&128?(255-this[y]+1)*-1:this[y]},i.prototype.readInt16LE=function(y,g){y=y>>>0,g||ne(y,2,this.length);const E=this[y]|this[y+1]<<8;return E&32768?E|4294901760:E},i.prototype.readInt16BE=function(y,g){y=y>>>0,g||ne(y,2,this.length);const E=this[y+1]|this[y]<<8;return E&32768?E|4294901760:E},i.prototype.readInt32LE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),this[y]|this[y+1]<<8|this[y+2]<<16|this[y+3]<<24},i.prototype.readInt32BE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),this[y]<<24|this[y+1]<<16|this[y+2]<<8|this[y+3]},i.prototype.readBigInt64LE=et(function(y){y=y>>>0,He(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ie(y,this.length-8);const x=this[y+4]+this[y+5]*2**8+this[y+6]*2**16+(E<<24);return(BigInt(x)<<BigInt(32))+BigInt(g+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24)}),i.prototype.readBigInt64BE=et(function(y){y=y>>>0,He(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ie(y,this.length-8);const x=(g<<24)+this[++y]*2**16+this[++y]*2**8+this[++y];return(BigInt(x)<<BigInt(32))+BigInt(this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+E)}),i.prototype.readFloatLE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),r.read(this,y,!0,23,4)},i.prototype.readFloatBE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),r.read(this,y,!1,23,4)},i.prototype.readDoubleLE=function(y,g){return y=y>>>0,g||ne(y,8,this.length),r.read(this,y,!0,52,8)},i.prototype.readDoubleBE=function(y,g){return y=y>>>0,g||ne(y,8,this.length),r.read(this,y,!1,52,8)};function me(R,y,g,E,x,P){if(!i.isBuffer(R))throw new TypeError('"buffer" argument must be a Buffer instance');if(y>x||y<P)throw new RangeError('"value" argument is out of bounds');if(g+E>R.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(y,g,E,x){if(y=+y,g=g>>>0,E=E>>>0,!x){const oe=Math.pow(2,8*E)-1;me(this,y,g,E,oe,0)}let P=1,q=0;for(this[g]=y&255;++q<E&&(P*=256);)this[g+q]=y/P&255;return g+E},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(y,g,E,x){if(y=+y,g=g>>>0,E=E>>>0,!x){const oe=Math.pow(2,8*E)-1;me(this,y,g,E,oe,0)}let P=E-1,q=1;for(this[g+P]=y&255;--P>=0&&(q*=256);)this[g+P]=y/q&255;return g+E},i.prototype.writeUint8=i.prototype.writeUInt8=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,1,255,0),this[g]=y&255,g+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,65535,0),this[g]=y&255,this[g+1]=y>>>8,g+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,65535,0),this[g]=y>>>8,this[g+1]=y&255,g+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,4294967295,0),this[g+3]=y>>>24,this[g+2]=y>>>16,this[g+1]=y>>>8,this[g]=y&255,g+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,4294967295,0),this[g]=y>>>24,this[g+1]=y>>>16,this[g+2]=y>>>8,this[g+3]=y&255,g+4};function ge(R,y,g,E,x){se(y,E,x,R,g,7);let P=Number(y&BigInt(4294967295));R[g++]=P,P=P>>8,R[g++]=P,P=P>>8,R[g++]=P,P=P>>8,R[g++]=P;let q=Number(y>>BigInt(32)&BigInt(4294967295));return R[g++]=q,q=q>>8,R[g++]=q,q=q>>8,R[g++]=q,q=q>>8,R[g++]=q,g}function We(R,y,g,E,x){se(y,E,x,R,g,7);let P=Number(y&BigInt(4294967295));R[g+7]=P,P=P>>8,R[g+6]=P,P=P>>8,R[g+5]=P,P=P>>8,R[g+4]=P;let q=Number(y>>BigInt(32)&BigInt(4294967295));return R[g+3]=q,q=q>>8,R[g+2]=q,q=q>>8,R[g+1]=q,q=q>>8,R[g]=q,g+8}i.prototype.writeBigUInt64LE=et(function(y,g=0){return ge(this,y,g,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=et(function(y,g=0){return We(this,y,g,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(y,g,E,x){if(y=+y,g=g>>>0,!x){const he=Math.pow(2,8*E-1);me(this,y,g,E,he-1,-he)}let P=0,q=1,oe=0;for(this[g]=y&255;++P<E&&(q*=256);)y<0&&oe===0&&this[g+P-1]!==0&&(oe=1),this[g+P]=(y/q>>0)-oe&255;return g+E},i.prototype.writeIntBE=function(y,g,E,x){if(y=+y,g=g>>>0,!x){const he=Math.pow(2,8*E-1);me(this,y,g,E,he-1,-he)}let P=E-1,q=1,oe=0;for(this[g+P]=y&255;--P>=0&&(q*=256);)y<0&&oe===0&&this[g+P+1]!==0&&(oe=1),this[g+P]=(y/q>>0)-oe&255;return g+E},i.prototype.writeInt8=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,1,127,-128),y<0&&(y=255+y+1),this[g]=y&255,g+1},i.prototype.writeInt16LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,32767,-32768),this[g]=y&255,this[g+1]=y>>>8,g+2},i.prototype.writeInt16BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,32767,-32768),this[g]=y>>>8,this[g+1]=y&255,g+2},i.prototype.writeInt32LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,2147483647,-2147483648),this[g]=y&255,this[g+1]=y>>>8,this[g+2]=y>>>16,this[g+3]=y>>>24,g+4},i.prototype.writeInt32BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,2147483647,-2147483648),y<0&&(y=4294967295+y+1),this[g]=y>>>24,this[g+1]=y>>>16,this[g+2]=y>>>8,this[g+3]=y&255,g+4},i.prototype.writeBigInt64LE=et(function(y,g=0){return ge(this,y,g,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=et(function(y,g=0){return We(this,y,g,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ie(R,y,g,E,x,P){if(g+E>R.length)throw new RangeError("Index out of range");if(g<0)throw new RangeError("Index out of range")}function le(R,y,g,E,x){return y=+y,g=g>>>0,x||ie(R,y,g,4),r.write(R,y,g,E,23,4),g+4}i.prototype.writeFloatLE=function(y,g,E){return le(this,y,g,!0,E)},i.prototype.writeFloatBE=function(y,g,E){return le(this,y,g,!1,E)};function xe(R,y,g,E,x){return y=+y,g=g>>>0,x||ie(R,y,g,8),r.write(R,y,g,E,52,8),g+8}i.prototype.writeDoubleLE=function(y,g,E){return xe(this,y,g,!0,E)},i.prototype.writeDoubleBE=function(y,g,E){return xe(this,y,g,!1,E)},i.prototype.copy=function(y,g,E,x){if(!i.isBuffer(y))throw new TypeError("argument should be a Buffer");if(E||(E=0),!x&&x!==0&&(x=this.length),g>=y.length&&(g=y.length),g||(g=0),x>0&&x<E&&(x=E),x===E||y.length===0||this.length===0)return 0;if(g<0)throw new RangeError("targetStart out of bounds");if(E<0||E>=this.length)throw new RangeError("Index out of range");if(x<0)throw new RangeError("sourceEnd out of bounds");x>this.length&&(x=this.length),y.length-g<x-E&&(x=y.length-g+E);const P=x-E;return this===y&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(g,E,x):Uint8Array.prototype.set.call(y,this.subarray(E,x),g),P},i.prototype.fill=function(y,g,E,x){if(typeof y=="string"){if(typeof g=="string"?(x=g,g=0,E=this.length):typeof E=="string"&&(x=E,E=this.length),x!==void 0&&typeof x!="string")throw new TypeError("encoding must be a string");if(typeof x=="string"&&!i.isEncoding(x))throw new TypeError("Unknown encoding: "+x);if(y.length===1){const q=y.charCodeAt(0);(x==="utf8"&&q<128||x==="latin1")&&(y=q)}}else typeof y=="number"?y=y&255:typeof y=="boolean"&&(y=Number(y));if(g<0||this.length<g||this.length<E)throw new RangeError("Out of range index");if(E<=g)return this;g=g>>>0,E=E===void 0?this.length:E>>>0,y||(y=0);let P;if(typeof y=="number")for(P=g;P<E;++P)this[P]=y;else{const q=i.isBuffer(y)?y:i.from(y,x),oe=q.length;if(oe===0)throw new TypeError('The value "'+y+'" is invalid for argument "value"');for(P=0;P<E-g;++P)this[P+g]=q[P%oe]}return this};const qe={};function it(R,y,g){qe[R]=class extends g{constructor(){super(),Object.defineProperty(this,"message",{value:y.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${R}]`,this.stack,delete this.name}get code(){return R}set code(x){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:x,writable:!0})}toString(){return`${this.name} [${R}]: ${this.message}`}}}it("ERR_BUFFER_OUT_OF_BOUNDS",function(R){return R?`${R} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),it("ERR_INVALID_ARG_TYPE",function(R,y){return`The "${R}" argument must be of type number. Received type ${typeof y}`},TypeError),it("ERR_OUT_OF_RANGE",function(R,y,g){let E=`The value of "${R}" is out of range.`,x=g;return Number.isInteger(g)&&Math.abs(g)>2**32?x=ft(String(g)):typeof g=="bigint"&&(x=String(g),(g>BigInt(2)**BigInt(32)||g<-(BigInt(2)**BigInt(32)))&&(x=ft(x)),x+="n"),E+=` It must be ${y}. Received ${x}`,E},RangeError);function ft(R){let y="",g=R.length;const E=R[0]==="-"?1:0;for(;g>=E+4;g-=3)y=`_${R.slice(g-3,g)}${y}`;return`${R.slice(0,g)}${y}`}function ce(R,y,g){He(y,"offset"),(R[y]===void 0||R[y+g]===void 0)&&Ie(y,R.length-(g+1))}function se(R,y,g,E,x,P){if(R>g||R<y){const q=typeof y=="bigint"?"n":"";let oe;throw P>3?y===0||y===BigInt(0)?oe=`>= 0${q} and < 2${q} ** ${(P+1)*8}${q}`:oe=`>= -(2${q} ** ${(P+1)*8-1}${q}) and < 2 ** ${(P+1)*8-1}${q}`:oe=`>= ${y}${q} and <= ${g}${q}`,new qe.ERR_OUT_OF_RANGE("value",oe,R)}ce(E,x,P)}function He(R,y){if(typeof R!="number")throw new qe.ERR_INVALID_ARG_TYPE(y,"number",R)}function Ie(R,y,g){throw Math.floor(R)!==R?(He(R,g),new qe.ERR_OUT_OF_RANGE(g||"offset","an integer",R)):y<0?new qe.ERR_BUFFER_OUT_OF_BOUNDS:new qe.ERR_OUT_OF_RANGE(g||"offset",`>= ${g?1:0} and <= ${y}`,R)}const dt=/[^+/0-9A-Za-z-_]/g;function st(R){if(R=R.split("=")[0],R=R.trim().replace(dt,""),R.length<2)return"";for(;R.length%4!==0;)R=R+"=";return R}function pt(R,y){y=y||1/0;let g;const E=R.length;let x=null;const P=[];for(let q=0;q<E;++q){if(g=R.charCodeAt(q),g>55295&&g<57344){if(!x){if(g>56319){(y-=3)>-1&&P.push(239,191,189);continue}else if(q+1===E){(y-=3)>-1&&P.push(239,191,189);continue}x=g;continue}if(g<56320){(y-=3)>-1&&P.push(239,191,189),x=g;continue}g=(x-55296<<10|g-56320)+65536}else x&&(y-=3)>-1&&P.push(239,191,189);if(x=null,g<128){if((y-=1)<0)break;P.push(g)}else if(g<2048){if((y-=2)<0)break;P.push(g>>6|192,g&63|128)}else if(g<65536){if((y-=3)<0)break;P.push(g>>12|224,g>>6&63|128,g&63|128)}else if(g<1114112){if((y-=4)<0)break;P.push(g>>18|240,g>>12&63|128,g>>6&63|128,g&63|128)}else throw new Error("Invalid code point")}return P}function Xe(R){const y=[];for(let g=0;g<R.length;++g)y.push(R.charCodeAt(g)&255);return y}function Nt(R,y){let g,E,x;const P=[];for(let q=0;q<R.length&&!((y-=2)<0);++q)g=R.charCodeAt(q),E=g>>8,x=g%256,P.push(x),P.push(E);return P}function Rt(R){return t.toByteArray(st(R))}function _t(R,y,g,E){let x;for(x=0;x<E&&!(x+g>=y.length||x>=R.length);++x)y[x+g]=R[x];return x}function ze(R,y){return R instanceof y||R!=null&&R.constructor!=null&&R.constructor.name!=null&&R.constructor.name===y.name}function Ct(R){return R!==R}const rt=function(){const R="0123456789abcdef",y=new Array(256);for(let g=0;g<16;++g){const E=g*16;for(let x=0;x<16;++x)y[E+x]=R[g]+R[x]}return y}();function et(R){return typeof BigInt>"u"?jt:R}function jt(){throw new Error("BigInt not supported")}}(id)),id}(function(e,t){(function(r,n){e.exports=n(YP(),iA(),fA(),GE(),gA,LA(),DA())})(be,function(r,n,a,o,s,i,l){return function(){var u={809:function(f){f.exports=r},30:function(f){f.exports=n},36:function(f){f.exports=a},300:function(f){f.exports=o},408:function(f){f.exports=l},25:function(f){f.exports=s},130:function(f){f.exports=i}},c={};function d(f){var h=c[f];if(h!==void 0)return h.exports;var m=c[f]={exports:{}};return u[f](m,m.exports,d),m.exports}d.n=function(f){var h=f&&f.__esModule?function(){return f.default}:function(){return f};return d.d(h,{a:h}),h},d.d=function(f,h){for(var m in h)d.o(h,m)&&!d.o(f,m)&&Object.defineProperty(f,m,{enumerable:!0,get:h[m]})},d.o=function(f,h){return Object.prototype.hasOwnProperty.call(f,h)},d.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})};var p={};return function(){d.r(p),d.d(p,{assets:function(){return $},auth:function(){return ne},buildAnswer:function(){return RR},buildCarouselCard:function(){return SR},buildQuestion:function(){return li},carouselCards:function(){return oi},contentInteraction:function(){return et},decodeBase64:function(){return OR},default:function(){return xR},editorialPages:function(){return fe},features:function(){return g},getEntries:function(){return f.getEntries},getEntry:function(){return f.getEntry},management:function(){return Ia},payments:function(){return Un},people:function(){return Nr},peopleEngagement:function(){return Jn},qaQuestions:function(){return Wa},reportError:function(){return h.reportError},search:function(){return qc}});var f=d(809),h=d(30),m=d(36),_={APOLITICAL:{WEBSITES:{LIVE:"https://apolitical.co",LOCALHOST:"localhost",STAGING:/https:\/\/([\w|\d|-]+)\.apolitical\.co/i,STAGING_SPLITTER:"-"},ENVIRONMENTS:{PRODUCTION:"live",LOCAL:"local"}},APIS:{ASSETS_API:{BASE_URL:"/api/assets-api",ENDPOINTS:{USERS:"/users",CERTIFICATES:"/certificates"}},AUTH_API:{BASE_URL:"/api/auth-api",ENDPOINTS:{USER_PASSWORD:"/password",USERS:"/users"}},CONTENT_INTERACTION_API:{BASE_URL:"/api/content-interaction-api",ENDPOINTS:{QUESTIONS:"/questions",ANSWERS:"/answers",REPLIES:"/replies",LIKES:"/likes"}},FEATURES_API:{BASE_URL:"/api/features-api",ENDPOINTS:{FLAGS:"/features"}},MANAGEMENT_API:{BASE_URL:"/api/management-api",ENDPOINTS:{ACCOUNTS:"/accounts",EVENT_REGISTRATIONS:"/event-registrations",LOGINS:"/logins",LOGIN_PASSWORDLESS:"/passwordless",BULK_ENROLMENTS:"/bulk-enrolments"}},PAYMENTS_API:{BASE_URL:"/api/payments-api",BASE_URL_V2:"/api/payments-api/v2",ENDPOINTS:{PRODUCTS:"/products"}},PEOPLE_API:{BASE_URL:"/api/people-api",BASE_URL_V2:"/api/people-api/v2",ENDPOINTS:{BULK_ENROLMENTS:"/bulk-enrolments",REGISTRATIONS:"/registrations",USERS:"/users",USER_ANSWERS:"/answers",USER_COURSES:"/courses",USER_EVENTS:"/events",USER_LIKES:"/likes",USER_LESSONS:"/lessons",USER_PRODUCTS:"/products",USER_RATINGS:"/ratings",USER_SUBSCRIPTIONS:"/subscriptions"}},PEOPLE_ENGAGEMENT_API:{BASE_URL:"/api/people-engagement-api",ENDPOINTS:{ENQUIRY_EMAILS:"/enquiry-emails",USERS:"/users",USER_PROPERTIES:"/properties"}},SEARCH_API:{BASE_URL:"/api/search-api",ENDPOINTS:{SEARCH:"/search"}}},CONTENTFUL:{ARTICLES:{TYPE:"solutionArticle"},CAROUSELS:{CARD_TYPES:{solutionArticle:{INCLUDE:1,SELECT:"fields.authorIds,fields.authorTag,fields.image,fields.publishedDate,fields.readingTime,fields.slug,fields.title"},microcourse:{INCLUDE:2,SELECT:"fields.banner,fields.freeCourse,fields.partnershipDetails,fields.slug,fields.title"},event:{INCLUDE:1,SELECT:"fields.bannerImage,fields.defaultStartDate,fields.slug,fields.speakers,fields.title,fields.isEventOngoing"},listPage:{INCLUDE:1,SELECT:"fields.hero,fields.slug,fields.title"},qaQuestion:{INCLUDE:0,SELECT:"fields.answers,fields.authorId,fields.slug,fields.title,sys.createdAt,fields.projectNames"},learningHub:{INCLUDE:1,SELECT:"fields.bannerSection,fields.customLabel,fields.slug,fields.title"}}},COURSES:{TYPE:"microcourse"},EDITORIAL_PAGES:{INCLUDE:1,SELECT:"fields.carousels,fields.slug",TYPE:"editorialPage"},EVENTS:{TYPE:"event"},LISTS:{TYPE:"listPage"},QUESTIONS:{TYPE:"qaQuestion",INCLUDE:1,LIMIT:10,ORDER:"-sys.createdAt",SELECT:"sys.createdAt,sys.updatedAt,fields.title,fields.slug,fields.authorId,fields.answers,fields.isEdited,fields.projectNames",SKIP:0},ANSWERS:{TYPE:"qaAnswer"},REPLIES:{TYPE:"reply"},LEARNING_HUB:{TYPE:"learningHub"}},HUBSPOT:{ENVIRONMENTS_MAPPING:{local:"SANDBOX",beta:"SANDBOX",rc:"SANDBOX",live:"LIVE"},EMAIL_IDS:{SANDBOX:{internalEmailId:49099078634,externalEmailId:55196526554},LIVE:{internalEmailId:55233583049,externalEmailId:55231159239}}},USERS:{MYSELF:"me"}};const{APOLITICAL:{WEBSITES:{LIVE:b,LOCALHOST:v,STAGING:w,STAGING_SPLITTER:S},ENVIRONMENTS:{PRODUCTION:T,LOCAL:C}}}=_,{HUBSPOT:{ENVIRONMENTS_MAPPING:I,EMAIL_IDS:N}}=_;let U={emailIds:{}};var G=d(300),W=d.n(G);const j=async k=>{try{const{message:B,response:L,request:H}=k;let ae=B;return L?ae+=` - The request was made and the server responded with ${JSON.stringify({status:L.status,data:L.data})}`:H&&(ae+=" - The request was made but no response was received"),console.warn(ae),await(0,h.reportError)(new Error(ae)),ae}catch(B){return console.warn(`Cannot handle error: ${B.message}`),B.message}},{APIS:{ASSETS_API:{BASE_URL:D,ENDPOINTS:{USERS:Q,CERTIFICATES:J}}}}=_;var $={certificates:{create:async(k,B)=>{let L=[];try{const{data:H}=await W().post(`${D}${Q}/${k}${J}`,B);H&&(L=H)}catch(H){await j(H)}return L}}};const{APIS:{AUTH_API:{BASE_URL:V,ENDPOINTS:{USER_PASSWORD:ee,USERS:ve}}},USERS:{MYSELF:te}}=_;var ne={userPassword:{update:async k=>{let B=null;try{B=await W().put(`${V}${ve}/${te}${ee}`,k)}catch(L){B={message:(((L||{}).response||{}).data||{}).message},await j(L)}return B}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:me,ENDPOINTS:{ANSWERS:ge,QUESTIONS:We,LIKES:ie}}}}=_,le=`${me}${We}`;var xe={create:async({questionSlug:k},B)=>{try{await W().post(`${le}/${encodeURIComponent(k)}${ge}`,B)}catch(L){const H=await j(L);throw new Error(H)}},remove:async({questionSlug:k,answerSlug:B})=>{try{await W().delete(`${le}/${encodeURIComponent(k)}${ge}/${encodeURIComponent(B)}`)}catch(L){const H=await j(L);throw new Error(H)}},update:async({questionSlug:k,answerSlug:B},L)=>{try{return await W().put(`${le}/${encodeURIComponent(k)}${ge}/${encodeURIComponent(B)}`,L)}catch(H){const ae=await j(H);throw new Error(ae)}},like:async({questionSlug:k,answerSlug:B},L)=>{try{return await W().post(`${le}/${encodeURIComponent(k)}${ge}/${encodeURIComponent(B)}${ie}`,L)}catch(H){const ae=await j(H);throw new Error(ae)}},unlike:async({questionSlug:k,answerSlug:B})=>{try{return await W().delete(`${le}/${encodeURIComponent(k)}${ge}/${encodeURIComponent(B)}${ie}`)}catch(L){const H=await j(L);throw new Error(H)}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:qe,ENDPOINTS:{QUESTIONS:it}}}}=_,ft=`${qe}${it}`;var ce={create:async k=>{try{return await W().post(ft,k)}catch(B){const L=await j(B);throw new Error(L)}},remove:async({questionSlug:k})=>{try{await W().delete(`${ft}/${encodeURIComponent(k)}`)}catch(B){const L=await j(B);throw new Error(L)}},update:async({questionSlug:k},B)=>{try{return await W().put(`${ft}/${encodeURIComponent(k)}`,B)}catch(L){const H=await j(L);throw new Error(H)}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:se,ENDPOINTS:{REPLIES:He,ANSWERS:Ie,QUESTIONS:dt,LIKES:st}}}}=_,pt=`${se}${dt}`,Xe=({questionSlug:k,answerSlug:B,replySlug:L},H=!1)=>{let ae=`${pt}/${encodeURIComponent(k)}${Ie}/${encodeURIComponent(B)}${He}`;return L&&(ae=`${ae}/${encodeURIComponent(L)}`,H&&(ae=`${ae}${st}`)),ae};var Nt={create:async({questionSlug:k,answerSlug:B},L)=>{try{return await W().post(Xe({questionSlug:k,answerSlug:B}),L)}catch(H){const ae=await j(H);throw new Error(ae)}},update:async({questionSlug:k,answerSlug:B,replySlug:L},H)=>{try{return await W().put(Xe({questionSlug:k,answerSlug:B,replySlug:L}),H)}catch(ae){const Pe=await j(ae);throw new Error(Pe)}},remove:async({questionSlug:k,answerSlug:B,replySlug:L})=>{try{await W().delete(Xe({questionSlug:k,answerSlug:B,replySlug:L}))}catch(H){const ae=await j(H);throw new Error(ae)}},like:async({questionSlug:k,answerSlug:B,replySlug:L},H)=>{try{await W().post(Xe({questionSlug:k,answerSlug:B,replySlug:L},!0),H)}catch(ae){const Pe=await j(ae);throw new Error(Pe)}},unlike:async({questionSlug:k,answerSlug:B,replySlug:L})=>{try{await W().delete(Xe({questionSlug:k,answerSlug:B,replySlug:L},!0))}catch(H){const ae=await j(H);throw new Error(ae)}},getReplyUrl:Xe};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:Rt,ENDPOINTS:{QUESTIONS:_t,ANSWERS:ze,LIKES:Ct}}}}=_,rt=`${Rt}${_t}`;var et={answers:xe,questions:ce,replies:Nt,likes:{create:async(k,B)=>{try{return await W().post(`${rt}/${encodeURIComponent(k)}${ze}/${encodeURIComponent(B)}${Ct}`)}catch(L){const H=await j(L);throw new Error(H)}},remove:async(k,B)=>{try{return await W().delete(`${rt}/${encodeURIComponent(k)}${ze}/${encodeURIComponent(B)}${Ct}`)}catch(L){const H=await j(L);throw new Error(H)}}}};const{APIS:{FEATURES_API:{BASE_URL:jt,ENDPOINTS:{FLAGS:R}}}}=_,y=`${jt}${R}`;var g={flags:{read:async k=>{let B=null;try{const{data:L}=await W().get(`${y}/${encodeURIComponent(k)}`);L!=null&&L.name&&(L!=null&&L.featureState)&&(B=L)}catch(L){await j(L)}return B}}};const{APIS:{MANAGEMENT_API:{BASE_URL:E,ENDPOINTS:{ACCOUNTS:x}}}}=_;var P={create:async k=>{try{await W().post(`${E}${x}`,k)}catch(B){throw await j(B),B}},read:async k=>{let B=null;try{({data:B}=await W().get(`${E}${x}/${encodeURIComponent(k)}`))}catch(L){await j(L)}return B},update:async(k,B)=>{try{await W().put(`${E}${x}/${encodeURIComponent(k)}`,B)}catch(L){throw await j(L),L}}};const{APIS:{MANAGEMENT_API:{BASE_URL:q,ENDPOINTS:{BULK_ENROLMENTS:oe}}}}=_;var he={create:async k=>{try{await W().post(`${q}${oe}`,k)}catch(B){throw await j(B),B}}};const{APIS:{MANAGEMENT_API:{BASE_URL:ue,ENDPOINTS:{EVENT_REGISTRATIONS:pe}}}}=_;var Ee={create:async k=>{try{await W().post(`${ue}${pe}`,k)}catch(B){const L=await j(B);throw new Error(L)}}};const{APIS:{MANAGEMENT_API:{BASE_URL:ht,ENDPOINTS:{LOGINS:dr,LOGIN_PASSWORDLESS:nn}}}}=_,Mt=`${ht}${dr}`;var Ia={accounts:P,bulkEnrolments:he,eventRegistrations:Ee,passwordless:{update:async k=>{try{await W().put(`${Mt}/${encodeURIComponent(k)}${nn}`)}catch(B){throw await j(B),B}}}};const{APIS:{PAYMENTS_API:{BASE_URL_V2:an,ENDPOINTS:{PRODUCTS:jn}}}}=_,Ar=`${an}${jn}`;var Un={products:{list:async k=>{let B=[],L=k?{params:k}:{params:{}};try{const{data:H}=await W().get(Ar,L);H&&H.length&&(B=H)}catch(H){await j(H)}return B}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Hn,ENDPOINTS:{BULK_ENROLMENTS:on}}}}=_;var Ut={list:async k=>{let B=[];try{const{data:L}=await W().get(`${Hn}${on}`,{params:k});L&&L.length&&(B=L)}catch(L){await j(L)}return B}},Gn=d(25);const{OK:Na,MULTIPLE_CHOICES:Ma,NOT_FOUND:$a,FORBIDDEN:Wn}=Gn.StatusCodes,Ot=k=>k>=Na&&k<Ma||k===Wn||k===$a,{APIS:{PEOPLE_API:{BASE_URL_V2:sn,ENDPOINTS:{USERS:ln}}}}=_,pr=async k=>{let B=null;try{const{data:L}=await W().get(`${sn}${ln}/${encodeURIComponent(k)}`,{validateStatus:Ot});L&&L.id&&(B=L)}catch(L){await j(L)}return B},un=async k=>{let B=[];try{if(k&&k.length<2)throw new Error("users list method requires at least two ids");const L=k.map(ae=>`ids=${encodeURIComponent(ae)}`).join("&"),H=await W().get(`${sn}${ln}?${L}`,{validateStatus:Ot});H&&H.length&&(B=H)}catch(L){await j(L)}return B};var ka={read:pr,update:async(k,B)=>{let L=!1;try{const{data:H}=await W().put(`${sn}${ln}/${encodeURIComponent(k)}`,B);L=!(!H||!H.id)}catch(H){await j(H)}return L},list:un};const{APIS:{PEOPLE_API:{BASE_URL_V2:Ht,ENDPOINTS:{USERS:La,USER_LIKES:Ba}}},USERS:{MYSELF:qa}}=_,Da=`${Ht}${La}/${qa}${Ba}`,cn=async k=>{let B=[],L=k?{params:k}:{params:{}};try{const{data:H}=await W().get(Da,L);H&&H.length&&(B=H)}catch(H){await j(H)}return B};var Gt={list:cn},Fa={authors:{readQuestionAuthors:async(k,B,L)=>{try{if(k.author=await pr(k.authorId),k.answers&&k.answers.length&&!L.ignoreAnswersAuthors){k.answers.sort((ae,Pe)=>new Date(Pe.updatedAt)-new Date(ae.updatedAt)),k.totalAnswers=k.answers.length;let H=k.answers;if(L.limit&&L.pageNumber){const ae=L.limit*(L.pageNumber-1);H=k.answers.slice(ae,ae+L.limit)}for(let ae of H){ae.author=ae.authorId&&await pr(ae.authorId)||{};const[Pe]=B?await cn({contentType:_.CONTENTFUL.ANSWERS.TYPE,contentSlug:ae.slug}):[null];ae.userLiked=!!Pe}k.answers=H}else k.answers||(k.answers=[]);return k}catch(H){throw await j(H),new Error(`Cannot read authors for question: ${H.message}`)}},readAuthors:async(k=[])=>{let B=[];try{if(Array.isArray(k)===!1)throw new Error("authorIds is not an array!");if(k&&k.length===1){const L=await pr(k[0]);L&&B.push(L)}else if(k&&k.length>1){const L=await un(k);L&&L.length>0&&(B=L)}}catch(L){throw await j(L),new Error(`Cannot read authors: ${L.message}`)}return B}}};const{APIS:{PEOPLE_API:{BASE_URL:ja,ENDPOINTS:{REGISTRATIONS:Ua}}}}=_;var Ha={list:async k=>{let B=[];try{const{data:L}=await W().get(`${ja}${Ua}`,{params:k});L&&L.length&&(B=L)}catch(L){await j(L)}return B}};const{APIS:{PEOPLE_API:{BASE_URL_V2:M,ENDPOINTS:{USERS:Y,USER_COURSES:z}}},USERS:{MYSELF:X}}=_,ye=`${M}${Y}/${X}${z}`;var we={create:async k=>{try{await W().post(ye,k)}catch(B){await j(B)}},list:async k=>{let B=[],L=k?{params:k}:{params:{}};try{const{data:H}=await W().get(ye,L);H&&H.length&&(B=H)}catch(H){await j(H)}return B},update:async(k,B)=>{try{await W().put(`${ye}/${k}`,B)}catch(L){await j(L)}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:De,ENDPOINTS:{USERS:mt,USER_EVENTS:yt}}},USERS:{MYSELF:lt}}=_,Qe=`${De}${mt}/${lt}${yt}`;var fn={list:async k=>{let B=[],L=k?{params:k}:{params:{}};try{const{data:H}=await W().get(Qe,L);H&&H.length&&(B=H)}catch(H){await j(H)}return B}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Ir,ENDPOINTS:{USERS:Ga,USER_LESSONS:Vn}}},USERS:{MYSELF:zn}}=_,Yn=`${Ir}${Ga}/${zn}${Vn}`;var Kn={create:async k=>{let B=null;try{B=await W().post(Yn,k)}catch(L){await j(L)}return B},list:async k=>{let B=[],L=k?{params:k}:{params:{}};try{const{data:H}=await W().get(Yn,L);H&&H.length&&(B=H)}catch(H){await j(H)}return B}};const{APIS:{PEOPLE_API:{BASE_URL_V2:$t,ENDPOINTS:{USERS:Xn,USER_PRODUCTS:dn}}},USERS:{MYSELF:Qn}}=_,hr=`${$t}${Xn}/${Qn}${dn}`;var Wt={create:async k=>{let B=null;try{B=await W().post(hr,k)}catch(L){await j(L)}return B},list:async k=>{let B=[],L=k?{params:k}:{params:{}};try{const{data:H}=await W().get(hr,L);H&&H.length&&(B=H)}catch(H){await j(H)}return B},update:async(k,B)=>{try{await W().put(`${hr}/${k}`,B)}catch(L){await j(L)}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:mr,ENDPOINTS:{USERS:Qo,USER_RATINGS:yr}}},USERS:{MYSELF:Ac}}=_,Jo=`${mr}${Qo}/${Ac}${yr}`;var Nr={bulkEnrolments:Ut,handlers:Fa,registrations:Ha,users:ka,userCourses:we,userEvents:fn,userLessons:Kn,userLikes:Gt,userProducts:Wt,userRatings:{create:async k=>{let B=null;try{const{data:L}=await W().post(Jo,k);L!=null&&L.id&&(B=L)}catch(L){await j(L)}return B},update:async(k,B)=>{try{await W().put(`${Jo}/${k}`,B)}catch(L){await j(L)}}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:Ic,ENDPOINTS:{ENQUIRY_EMAILS:Nc}}}}=_;var Mc={create:async k=>{let B=null;try{const{data:L}=await W().post(`${Ic}${Nc}`,k);L&&(B=L)}catch(L){await j(L)}return B}},Zo={forms:{sendEnquiryEmails:async k=>{let B=null;try{const{emailIds:L}=U;B=await Jn.emails.create({...L,...k})}catch(L){await j(L)}return B}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:vr,ENDPOINTS:{USERS:$c,USER_PROPERTIES:ei}}},USERS:{MYSELF:kc}}=_;var Jn={emails:Mc,handlers:Zo,userProperties:{update:async(k,B)=>{try{await W().put(`${vr}${$c}/${kc}${ei}/${k}`,B)}catch(L){await j(L)}}}},ti=d(130);const{APIS:{SEARCH_API:{BASE_URL:Lc,ENDPOINTS:{SEARCH:Bc}}}}=_,ri=`${Lc}${Bc}`;var qc={ask:async k=>{try{let B=null;const{data:L}=await W().get(ri,{params:{question:k}});return L!=null&&L.answer&&(L!=null&&L.references)&&(L!=null&&L.version)&&(B=L),B}catch(B){const L=await j(B);throw new Error(L)}},stream:(k,B,L)=>{const H=(0,ti.io)(void 0,{path:"/api/search-api/web-sockets"});function ae(){H.emit("search",{question:k})}function Pe(Ve){L(Ve),je(),H.disconnect()}function je(){H.off("connect",ae),H.off("update",B),H.off("result",Pe)}return H.on("connect",ae),H.on("update",B),H.on("result",Pe),je}};const{CONTENTFUL:Zn}=_,{CARD_TYPES:ni}=Zn.CAROUSELS;var oi={read:async(k,B)=>{try{if(!B||!B.sys||!B.sys.id)throw new Error("Invalid link to card");if(!k||!ni[k])throw new Error("Unsupported card content type");const{INCLUDE:L,SELECT:H}=ni[k];return await(0,f.getEntry)({content_type:k,"sys.id":B.sys.id,include:L,select:H},{assetDetails:!0})}catch(L){throw await j(L),new Error(`Cannot read carousel card: ${L.message}`)}}};const{CONTENTFUL:Dc}=_,{INCLUDE:O,SELECT:F,TYPE:K}=Dc.EDITORIAL_PAGES;var fe={read:async k=>{try{return await(0,f.getEntry)({content_type:K,"fields.slug":k,include:O,select:F})}catch(B){throw await j(B),new Error(`Cannot read editorial page: ${B.message}`)}}};const{CONTENTFUL:Je}=_,{TYPE:nt,ORDER:xt,SELECT:ut,SKIP:ii,LIMIT:Mr,INCLUDE:si}=Je.QUESTIONS;var Wa={read:async k=>{try{return await(0,f.getEntry)({content_type:nt,"fields.slug":k,include:2,select:ut})}catch(B){throw await j(B),new Error(`Cannot read question: ${B.message}`)}},list:async(k={})=>{try{return await(0,f.getEntries)({content_type:nt,include:si,limit:Mr,order:xt,select:ut,skip:ii,...k})}catch(B){throw await j(B),new Error(`Cannot list questions: ${B.message}`)}}},li=async(k,B,L={ignoreAnswersAuthors:!1})=>{try{let H={};return H=await Wa.read(k),H=await Nr.handlers.authors.readQuestionAuthors(H,B,L),H}catch(H){throw await j(H),new Error(`Cannot build question: ${H.message}`)}};const{ARTICLES:{TYPE:Va},COURSES:{TYPE:ea},EVENTS:{TYPE:ER},LISTS:{TYPE:_R},QUESTIONS:{TYPE:wR},LEARNING_HUB:{TYPE:TR}}=_.CONTENTFUL,za=k=>k&&k.url?(Object.assign(k,{aspect:"responsiveCard",query:"q=90&fit=fill"}),k):null,Fc={[Va]:async k=>{const{authorIds:B,authorTag:L,image:H,publishedDate:ae,readingTime:Pe,slug:je,title:Ve}=k,At=await Nr.handlers.authors.readAuthors(B),tr=At&&At.length?At:L?[L]:null;return{banner:za(H),contributors:tr,publishedDate:ae,readingTime:Pe,slug:je,title:Ve}},[ea]:async(k,B)=>{const{banner:L,freeCourse:H,partnershipDetails:ae,slug:Pe,title:je,registered:Ve}=k,At={banner:za(L),slug:Pe,title:je,pill:H?"free":"premium",registered:!!Ve};if(ae){const{partners:tr}=ae;At.partner=tr&&tr.length&&ae.partners[0]}if(Ve===void 0&&B){const[tr]=await Nr.userProducts.list({courseSlug:Pe,isEnrolled:!0,scope:"active"});At.registered=!!tr}return At},[ER]:async(k,B)=>{const{bannerImage:L,defaultStartDate:H,isEventOngoing:ae,slug:Pe,speakers:je,title:Ve,registered:At}=k,tr=new Date(H),PR=!!tr&&tr<new Date;if(je&&je.length)for(const ui of je)ui.image=(jc=ui.image)&&jc.url?`${jc.url}?w=100&h=100&fit=thumb&f=center`:null;var jc;const _m={banner:za(L),dateHasPassed:PR,title:Ve,slug:Pe,isOngoingEvent:ae,contributors:je,startDate:tr,registered:!!At};if(At===void 0&&B){const[ui]=await Nr.userEvents.list({eventSlug:Pe});_m.registered=!!ui}return _m},[_R]:async k=>{const{hero:B,slug:L,title:H}=k;return{banner:za(B),slug:L,title:H}},[wR]:async k=>{const{answers:B,authorId:L,createdAt:H,slug:ae,title:Pe}=k;let je=null;if(L){const Ve=await Nr.users.read(L);Ve&&(je=Ve)}return{answers:B&&B.length?B.length:0,contributors:je?[je]:[],createdAt:H,slug:ae,title:Pe}},[TR]:k=>{const{bannerSection:B,customLabel:L,slug:H,title:ae}=k;return{banner:za(B.image),slug:H,title:ae,customLabel:L}},people:k=>{const{id:B,name:L,jobTitle:H,location:ae,image:Pe}=k;return{profile:Pe,slug:B,title:L,text:H,secondaryText:ae}}};var SR=async({contentType:k,...B}={},L)=>{try{if(!Fc[k])throw new Error("Content type not supported");if(typeof Fc[k]!="function")throw new Error("No builder function for content type");return k!=="people"&&B.sys&&B.sys.type&&B.sys.type==="Link"&&(B=await oi.read(k,B)),{contentType:k,...await Fc[k](B,L)}}catch(H){throw await j(H),new Error(`Cannot build carousel card: ${H.message}`)}},RR=async(k,B,L={})=>{try{if(!k.replies||k.replies.length===0)return k.replies=[],k;k.replies.sort((ae,Pe)=>new Date(ae.createdAt)-new Date(Pe.createdAt)),k.totalReplies=k.totalReplies||k.replies.length;let H=k.replies;if(L.limit&&L.pageNumber){const ae=L.limit*(L.pageNumber-1);H=k.replies.slice(ae,ae+L.limit)}for(const ae of H){if(ae.authorId===k.authorId){ae.author=k.author,ae.userLiked=!1;continue}ae.author=ae.authorId&&await pr(ae.authorId)||{};const[Pe]=B?await cn({contentType:_.CONTENTFUL.REPLIES.TYPE,contentSlug:ae.slug}):[null];ae.userLiked=!!Pe}return k.replies=H,k}catch(H){throw await j(H),new Error(`Cannot build replies for answer: ${H.message}`)}},CR=d(408);const OR=k=>k&&CR.Buffer.from(k,"base64").toString("ascii");function xR({contentContext:k=null,errorsContext:B=null,gtmContext:L=null,origin:H}){try{const ae=(Pe=>{let je=null;Pe?je=Pe:typeof window<"u"&&(je=window.origin||window.location.origin),je||new Error("Cannot select environment: Website not defined");let Ve=null;const At=je.match(w);return At?Ve=At[1].split(S)[0]:je===b?Ve=T:je.includes(v)&&(Ve=C),Ve||new Error(`Cannot select environment: No rule for website ${je}`),Ve})(H);return k&&(0,f.setContext)(Object.assign({},k,{environment:ae})),B&&(0,h.setContext)(Object.assign({},B,{environment:ae})),L&&((0,m.setContext)(Object.assign({},L,{environment:ae})),(0,m.setupGTM)()),(({environment:Pe})=>{const je=(Ve=>{if(!Ve)throw new Error("Cannot map environment: Environment not defined");if(!I[Ve])throw new Error(`Cannot map environment: No mapping found for environment ${Ve}`);return I[Ve]})(Pe);U.emailIds=N[je]})(Object.assign({},{environment:ae})),ae}catch(ae){console.warn(`Cannot load SDK: ${ae.message}`)}}}(),p}()})})(kE);var FA=kE.exports;const bo={Off:"off",On:"on",Cookie:"cookie"},jA=e=>{const[t]=$E(),[r,n]=Z.useState(null),[a,o]=Z.useState(!1),[s,i]=Z.useState(bo.Off);return Z.useEffect(()=>{e&&FA.features.flags.read(e).then(l=>{i(l.featureState),n(null)}).catch(l=>{i(bo.Off),n(l)})},[e]),Z.useEffect(()=>{switch(s){case bo.Off:o(!1);break;case bo.On:o(!0);break;case bo.Cookie:o(!!t[`feature-${e}`]);break;default:o(!1)}},[s,t]),{isFeatureActive:a,error:r}};function UA(e,t,r){var n=this,a=Z.useRef(null),o=Z.useRef(0),s=Z.useRef(null),i=Z.useRef([]),l=Z.useRef(),u=Z.useRef(),c=Z.useRef(e),d=Z.useRef(!0);Z.useEffect(function(){c.current=e},[e]);var p=!t&&t!==0&&typeof window<"u";if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var f=!!(r=r||{}).leading,h=!("trailing"in r)||!!r.trailing,m="maxWait"in r,_=m?Math.max(+r.maxWait||0,t):null;Z.useEffect(function(){return d.current=!0,function(){d.current=!1}},[]);var b=Z.useMemo(function(){var v=function(N){var U=i.current,G=l.current;return i.current=l.current=null,o.current=N,u.current=c.current.apply(G,U)},w=function(N,U){p&&cancelAnimationFrame(s.current),s.current=p?requestAnimationFrame(N):setTimeout(N,U)},S=function(N){if(!d.current)return!1;var U=N-a.current;return!a.current||U>=t||U<0||m&&N-o.current>=_},T=function(N){return s.current=null,h&&i.current?v(N):(i.current=l.current=null,u.current)},C=function N(){var U=Date.now();if(S(U))return T(U);if(d.current){var G=t-(U-a.current),W=m?Math.min(G,_-(U-o.current)):G;w(N,W)}},I=function(){var N=Date.now(),U=S(N);if(i.current=[].slice.call(arguments),l.current=n,a.current=N,U){if(!s.current&&d.current)return o.current=a.current,w(C,t),f?v(a.current):u.current;if(m)return w(C,t),v(a.current)}return s.current||w(C,t),u.current};return I.cancel=function(){s.current&&(p?cancelAnimationFrame(s.current):clearTimeout(s.current)),o.current=0,i.current=a.current=l.current=s.current=null},I.isPending=function(){return!!s.current},I.flush=function(){return s.current?T(Date.now()):u.current},I},[f,m,t,_,h,p]);return b}function P0(e,t,r){var n=r===void 0?{}:r,a=n.leading,o=n.trailing;return UA(e,t,{maxWait:t,leading:a===void 0||a,trailing:o===void 0||o})}let sd;const Ms=(e=!0,t=!1)=>{if(!e)return;const[r,n]=Z.useState(0)||[!1,()=>{}];Z.useEffect(()=>(o(),window.addEventListener("resize",s),()=>{clearTimeout(sd),s.flush(),window.removeEventListener("resize",s)}),[]);const a=()=>window.innerWidth,o=()=>{n(a())},s=P0(()=>{a()!==r&&(t&&(clearTimeout(sd),document.body.classList.add("is-resizing"),sd=setTimeout(()=>{document.body.classList.remove("is-resizing")},550)),o())},500,{leading:!0});return r},A0=({scrollPosition:e=0,offset:t={down:0,up:10},callbacks:{scrollDown:r=()=>{},scrollUp:n=()=>{}}})=>{if(!window)return;const[a,o]=Z.useState({current:0,past:0})||[!1,()=>{}],[s,i]=Z.useState({scrollDown:!1,scrollUp:!1})||[!1,()=>{}];Z.useEffect(()=>(l(),window.addEventListener("scroll",u),()=>{u.flush(),window.removeEventListener("scroll",u)}),[]);const l=()=>{const c=window.scrollY,d=a.current,p=c-d,f=p>0?"down":"up";if(o({current:c,past:d}),f==="down"){c>=e+t.down&&!s.scrollDown&&(!s.scrollUp||p>t.up)&&(r(),i({scrollUp:!1,scrollDown:!0}));return}Math.abs(p)>=t.up&&!s.scrollUp&&(n(),i({scrollUp:!0,scrollDown:!1}))},u=P0(()=>{l()},250);return a};var is={exports:{}};is.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",s="[object Array]",i="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object GeneratorFunction]",p="[object Map]",f="[object Number]",h="[object Object]",m="[object Promise]",_="[object RegExp]",b="[object Set]",v="[object String]",w="[object Symbol]",S="[object WeakMap]",T="[object ArrayBuffer]",C="[object DataView]",I="[object Float32Array]",N="[object Float64Array]",U="[object Int8Array]",G="[object Int16Array]",W="[object Int32Array]",j="[object Uint8Array]",D="[object Uint8ClampedArray]",Q="[object Uint16Array]",J="[object Uint32Array]",$=/[\\^$.*+?()[\]{}|]/g,V=/\w*$/,ee=/^\[object .+?Constructor\]$/,ve=/^(?:0|[1-9]\d*)$/,te={};te[o]=te[s]=te[T]=te[C]=te[i]=te[l]=te[I]=te[N]=te[U]=te[G]=te[W]=te[p]=te[f]=te[h]=te[_]=te[b]=te[v]=te[w]=te[j]=te[D]=te[Q]=te[J]=!0,te[u]=te[c]=te[S]=!1;var ne=typeof be=="object"&&be&&be.Object===Object&&be,me=typeof self=="object"&&self&&self.Object===Object&&self,ge=ne||me||Function("return this")(),We=t&&!t.nodeType&&t,ie=We&&!0&&e&&!e.nodeType&&e,le=ie&&ie.exports===We;function xe(O,F){return O.set(F[0],F[1]),O}function qe(O,F){return O.add(F),O}function it(O,F){for(var K=-1,fe=O?O.length:0;++K<fe&&F(O[K],K,O)!==!1;);return O}function ft(O,F){for(var K=-1,fe=F.length,Je=O.length;++K<fe;)O[Je+K]=F[K];return O}function ce(O,F,K,fe){var Je=-1,nt=O?O.length:0;for(fe&&nt&&(K=O[++Je]);++Je<nt;)K=F(K,O[Je],Je,O);return K}function se(O,F){for(var K=-1,fe=Array(O);++K<O;)fe[K]=F(K);return fe}function He(O,F){return O==null?void 0:O[F]}function Ie(O){var F=!1;if(O!=null&&typeof O.toString!="function")try{F=!!(O+"")}catch{}return F}function dt(O){var F=-1,K=Array(O.size);return O.forEach(function(fe,Je){K[++F]=[Je,fe]}),K}function st(O,F){return function(K){return O(F(K))}}function pt(O){var F=-1,K=Array(O.size);return O.forEach(function(fe){K[++F]=fe}),K}var Xe=Array.prototype,Nt=Function.prototype,Rt=Object.prototype,_t=ge["__core-js_shared__"],ze=function(){var O=/[^.]+$/.exec(_t&&_t.keys&&_t.keys.IE_PROTO||"");return O?"Symbol(src)_1."+O:""}(),Ct=Nt.toString,rt=Rt.hasOwnProperty,et=Rt.toString,jt=RegExp("^"+Ct.call(rt).replace($,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=le?ge.Buffer:void 0,y=ge.Symbol,g=ge.Uint8Array,E=st(Object.getPrototypeOf,Object),x=Object.create,P=Rt.propertyIsEnumerable,q=Xe.splice,oe=Object.getOwnPropertySymbols,he=R?R.isBuffer:void 0,ue=st(Object.keys,Object),pe=mr(ge,"DataView"),Ee=mr(ge,"Map"),ht=mr(ge,"Promise"),dr=mr(ge,"Set"),nn=mr(ge,"WeakMap"),Mt=mr(Object,"create"),Ia=vr(pe),an=vr(Ee),jn=vr(ht),Ar=vr(dr),Un=vr(nn),Hn=y?y.prototype:void 0,on=Hn?Hn.valueOf:void 0;function Ut(O){var F=-1,K=O?O.length:0;for(this.clear();++F<K;){var fe=O[F];this.set(fe[0],fe[1])}}function Gn(){this.__data__=Mt?Mt(null):{}}function Na(O){return this.has(O)&&delete this.__data__[O]}function Ma(O){var F=this.__data__;if(Mt){var K=F[O];return K===n?void 0:K}return rt.call(F,O)?F[O]:void 0}function $a(O){var F=this.__data__;return Mt?F[O]!==void 0:rt.call(F,O)}function Wn(O,F){var K=this.__data__;return K[O]=Mt&&F===void 0?n:F,this}Ut.prototype.clear=Gn,Ut.prototype.delete=Na,Ut.prototype.get=Ma,Ut.prototype.has=$a,Ut.prototype.set=Wn;function Ot(O){var F=-1,K=O?O.length:0;for(this.clear();++F<K;){var fe=O[F];this.set(fe[0],fe[1])}}function sn(){this.__data__=[]}function ln(O){var F=this.__data__,K=X(F,O);if(K<0)return!1;var fe=F.length-1;return K==fe?F.pop():q.call(F,K,1),!0}function pr(O){var F=this.__data__,K=X(F,O);return K<0?void 0:F[K][1]}function un(O){return X(this.__data__,O)>-1}function ka(O,F){var K=this.__data__,fe=X(K,O);return fe<0?K.push([O,F]):K[fe][1]=F,this}Ot.prototype.clear=sn,Ot.prototype.delete=ln,Ot.prototype.get=pr,Ot.prototype.has=un,Ot.prototype.set=ka;function Ht(O){var F=-1,K=O?O.length:0;for(this.clear();++F<K;){var fe=O[F];this.set(fe[0],fe[1])}}function La(){this.__data__={hash:new Ut,map:new(Ee||Ot),string:new Ut}}function Ba(O){return Wt(this,O).delete(O)}function qa(O){return Wt(this,O).get(O)}function Da(O){return Wt(this,O).has(O)}function cn(O,F){return Wt(this,O).set(O,F),this}Ht.prototype.clear=La,Ht.prototype.delete=Ba,Ht.prototype.get=qa,Ht.prototype.has=Da,Ht.prototype.set=cn;function Gt(O){this.__data__=new Ot(O)}function Fa(){this.__data__=new Ot}function ja(O){return this.__data__.delete(O)}function Ua(O){return this.__data__.get(O)}function Ha(O){return this.__data__.has(O)}function M(O,F){var K=this.__data__;if(K instanceof Ot){var fe=K.__data__;if(!Ee||fe.length<r-1)return fe.push([O,F]),this;K=this.__data__=new Ht(fe)}return K.set(O,F),this}Gt.prototype.clear=Fa,Gt.prototype.delete=ja,Gt.prototype.get=Ua,Gt.prototype.has=Ha,Gt.prototype.set=M;function Y(O,F){var K=Jn(O)||kc(O)?se(O.length,String):[],fe=K.length,Je=!!fe;for(var nt in O)(F||rt.call(O,nt))&&!(Je&&(nt=="length"||Ic(nt,fe)))&&K.push(nt);return K}function z(O,F,K){var fe=O[F];(!(rt.call(O,F)&&ei(fe,K))||K===void 0&&!(F in O))&&(O[F]=K)}function X(O,F){for(var K=O.length;K--;)if(ei(O[K][0],F))return K;return-1}function ye(O,F){return O&&dn(F,ai(F),O)}function we(O,F,K,fe,Je,nt,xt){var ut;if(fe&&(ut=nt?fe(O,Je,nt,xt):fe(O)),ut!==void 0)return ut;if(!Zn(O))return O;var ii=Jn(O);if(ii){if(ut=Ac(O),!F)return Xn(O,ut)}else{var Mr=yr(O),si=Mr==c||Mr==d;if(Bc(O))return fn(O,F);if(Mr==h||Mr==o||si&&!nt){if(Ie(O))return nt?O:{};if(ut=Jo(si?{}:O),!F)return Qn(O,ye(ut,O))}else{if(!te[Mr])return nt?O:{};ut=Nr(O,Mr,we,F)}}xt||(xt=new Gt);var Wa=xt.get(O);if(Wa)return Wa;if(xt.set(O,ut),!ii)var li=K?hr(O):ai(O);return it(li||O,function(Va,ea){li&&(ea=Va,Va=O[ea]),z(ut,ea,we(Va,F,K,fe,ea,O,xt))}),ut}function De(O){return Zn(O)?x(O):{}}function mt(O,F,K){var fe=F(O);return Jn(O)?fe:ft(fe,K(O))}function yt(O){return et.call(O)}function lt(O){if(!Zn(O)||Mc(O))return!1;var F=ri(O)||Ie(O)?jt:ee;return F.test(vr(O))}function Qe(O){if(!Zo(O))return ue(O);var F=[];for(var K in Object(O))rt.call(O,K)&&K!="constructor"&&F.push(K);return F}function fn(O,F){if(F)return O.slice();var K=new O.constructor(O.length);return O.copy(K),K}function Ir(O){var F=new O.constructor(O.byteLength);return new g(F).set(new g(O)),F}function Ga(O,F){var K=F?Ir(O.buffer):O.buffer;return new O.constructor(K,O.byteOffset,O.byteLength)}function Vn(O,F,K){var fe=F?K(dt(O),!0):dt(O);return ce(fe,xe,new O.constructor)}function zn(O){var F=new O.constructor(O.source,V.exec(O));return F.lastIndex=O.lastIndex,F}function Yn(O,F,K){var fe=F?K(pt(O),!0):pt(O);return ce(fe,qe,new O.constructor)}function Kn(O){return on?Object(on.call(O)):{}}function $t(O,F){var K=F?Ir(O.buffer):O.buffer;return new O.constructor(K,O.byteOffset,O.length)}function Xn(O,F){var K=-1,fe=O.length;for(F||(F=Array(fe));++K<fe;)F[K]=O[K];return F}function dn(O,F,K,fe){K||(K={});for(var Je=-1,nt=F.length;++Je<nt;){var xt=F[Je],ut=fe?fe(K[xt],O[xt],xt,K,O):void 0;z(K,xt,ut===void 0?O[xt]:ut)}return K}function Qn(O,F){return dn(O,Qo(O),F)}function hr(O){return mt(O,ai,Qo)}function Wt(O,F){var K=O.__data__;return Nc(F)?K[typeof F=="string"?"string":"hash"]:K.map}function mr(O,F){var K=He(O,F);return lt(K)?K:void 0}var Qo=oe?st(oe,Object):oi,yr=yt;(pe&&yr(new pe(new ArrayBuffer(1)))!=C||Ee&&yr(new Ee)!=p||ht&&yr(ht.resolve())!=m||dr&&yr(new dr)!=b||nn&&yr(new nn)!=S)&&(yr=function(O){var F=et.call(O),K=F==h?O.constructor:void 0,fe=K?vr(K):void 0;if(fe)switch(fe){case Ia:return C;case an:return p;case jn:return m;case Ar:return b;case Un:return S}return F});function Ac(O){var F=O.length,K=O.constructor(F);return F&&typeof O[0]=="string"&&rt.call(O,"index")&&(K.index=O.index,K.input=O.input),K}function Jo(O){return typeof O.constructor=="function"&&!Zo(O)?De(E(O)):{}}function Nr(O,F,K,fe){var Je=O.constructor;switch(F){case T:return Ir(O);case i:case l:return new Je(+O);case C:return Ga(O,fe);case I:case N:case U:case G:case W:case j:case D:case Q:case J:return $t(O,fe);case p:return Vn(O,fe,K);case f:case v:return new Je(O);case _:return zn(O);case b:return Yn(O,fe,K);case w:return Kn(O)}}function Ic(O,F){return F=F??a,!!F&&(typeof O=="number"||ve.test(O))&&O>-1&&O%1==0&&O<F}function Nc(O){var F=typeof O;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?O!=="__proto__":O===null}function Mc(O){return!!ze&&ze in O}function Zo(O){var F=O&&O.constructor,K=typeof F=="function"&&F.prototype||Rt;return O===K}function vr(O){if(O!=null){try{return Ct.call(O)}catch{}try{return O+""}catch{}}return""}function $c(O){return we(O,!0,!0)}function ei(O,F){return O===F||O!==O&&F!==F}function kc(O){return Lc(O)&&rt.call(O,"callee")&&(!P.call(O,"callee")||et.call(O)==o)}var Jn=Array.isArray;function ti(O){return O!=null&&qc(O.length)&&!ri(O)}function Lc(O){return ni(O)&&ti(O)}var Bc=he||Dc;function ri(O){var F=Zn(O)?et.call(O):"";return F==c||F==d}function qc(O){return typeof O=="number"&&O>-1&&O%1==0&&O<=a}function Zn(O){var F=typeof O;return!!O&&(F=="object"||F=="function")}function ni(O){return!!O&&typeof O=="object"}function ai(O){return ti(O)?Y(O):Qe(O)}function oi(){return[]}function Dc(){return!1}e.exports=$c})(is,is.exports);var HA=is.exports;const GA=lr(HA);var WA="Expected a function",I0="__lodash_hash_undefined__",N0=1/0,VA=9007199254740991,zA="[object Function]",YA="[object GeneratorFunction]",KA="[object Symbol]",XA=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,QA=/^\w*$/,JA=/^\./,ZA=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,e1=/[\\^$.*+?()[\]{}|]/g,t1=/\\(\\)?/g,r1=/^\[object .+?Constructor\]$/,n1=/^(?:0|[1-9]\d*)$/,a1=typeof be=="object"&&be&&be.Object===Object&&be,o1=typeof self=="object"&&self&&self.Object===Object&&self,$h=a1||o1||Function("return this")();function i1(e,t){return e==null?void 0:e[t]}function s1(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var l1=Array.prototype,u1=Function.prototype,M0=Object.prototype,ld=$h["__core-js_shared__"],Zv=function(){var e=/[^.]+$/.exec(ld&&ld.keys&&ld.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),$0=u1.toString,$s=M0.hasOwnProperty,k0=M0.toString,c1=RegExp("^"+$0.call($s).replace(e1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eg=$h.Symbol,f1=l1.splice,d1=L0($h,"Map"),Io=L0(Object,"create"),tg=eg?eg.prototype:void 0,rg=tg?tg.toString:void 0;function xn(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 p1(){this.__data__=Io?Io(null):{}}function h1(e){return this.has(e)&&delete this.__data__[e]}function m1(e){var t=this.__data__;if(Io){var r=t[e];return r===I0?void 0:r}return $s.call(t,e)?t[e]:void 0}function y1(e){var t=this.__data__;return Io?t[e]!==void 0:$s.call(t,e)}function v1(e,t){var r=this.__data__;return r[e]=Io&&t===void 0?I0:t,this}xn.prototype.clear=p1;xn.prototype.delete=h1;xn.prototype.get=m1;xn.prototype.has=y1;xn.prototype.set=v1;function Oa(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 g1(){this.__data__=[]}function b1(e){var t=this.__data__,r=ks(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():f1.call(t,r,1),!0}function E1(e){var t=this.__data__,r=ks(t,e);return r<0?void 0:t[r][1]}function _1(e){return ks(this.__data__,e)>-1}function w1(e,t){var r=this.__data__,n=ks(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Oa.prototype.clear=g1;Oa.prototype.delete=b1;Oa.prototype.get=E1;Oa.prototype.has=_1;Oa.prototype.set=w1;function Nn(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 T1(){this.__data__={hash:new xn,map:new(d1||Oa),string:new xn}}function S1(e){return Ls(this,e).delete(e)}function R1(e){return Ls(this,e).get(e)}function C1(e){return Ls(this,e).has(e)}function O1(e,t){return Ls(this,e).set(e,t),this}Nn.prototype.clear=T1;Nn.prototype.delete=S1;Nn.prototype.get=R1;Nn.prototype.has=C1;Nn.prototype.set=O1;function x1(e,t,r){var n=e[t];(!($s.call(e,t)&&B0(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function ks(e,t){for(var r=e.length;r--;)if(B0(e[r][0],t))return r;return-1}function P1(e){if(!ss(e)||L1(e))return!1;var t=F1(e)||s1(e)?c1:r1;return t.test(D1(e))}function A1(e,t,r,n){if(!ss(e))return e;t=$1(t,e)?[t]:N1(t);for(var a=-1,o=t.length,s=o-1,i=e;i!=null&&++a<o;){var l=q1(t[a]),u=r;if(a!=s){var c=i[l];u=n?n(c,l,i):void 0,u===void 0&&(u=ss(c)?c:M1(t[a+1])?[]:{})}x1(i,l,u),i=i[l]}return e}function I1(e){if(typeof e=="string")return e;if(Lh(e))return rg?rg.call(e):"";var t=e+"";return t=="0"&&1/e==-N0?"-0":t}function N1(e){return q0(e)?e:B1(e)}function Ls(e,t){var r=e.__data__;return k1(t)?r[typeof t=="string"?"string":"hash"]:r.map}function L0(e,t){var r=i1(e,t);return P1(r)?r:void 0}function M1(e,t){return t=t??VA,!!t&&(typeof e=="number"||n1.test(e))&&e>-1&&e%1==0&&e<t}function $1(e,t){if(q0(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Lh(e)?!0:QA.test(e)||!XA.test(e)||t!=null&&e in Object(t)}function k1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function L1(e){return!!Zv&&Zv in e}var B1=kh(function(e){e=U1(e);var t=[];return JA.test(e)&&t.push(""),e.replace(ZA,function(r,n,a,o){t.push(a?o.replace(t1,"$1"):n||r)}),t});function q1(e){if(typeof e=="string"||Lh(e))return e;var t=e+"";return t=="0"&&1/e==-N0?"-0":t}function D1(e){if(e!=null){try{return $0.call(e)}catch{}try{return e+""}catch{}}return""}function kh(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(WA);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 s=e.apply(this,n);return r.cache=o.set(a,s),s};return r.cache=new(kh.Cache||Nn),r}kh.Cache=Nn;function B0(e,t){return e===t||e!==e&&t!==t}var q0=Array.isArray;function F1(e){var t=ss(e)?k0.call(e):"";return t==zA||t==YA}function ss(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function j1(e){return!!e&&typeof e=="object"}function Lh(e){return typeof e=="symbol"||j1(e)&&k0.call(e)==KA}function U1(e){return e==null?"":I1(e)}function H1(e,t,r){return e==null?e:A1(e,t,r)}var G1=H1;const W1=lr(G1),V1=(e,t)=>{Array.isArray(t)||(t=[t]);const r=GA(e);return t.forEach(({type:n,value:a})=>{W1(r,n,a)}),r},D0=e=>{const t=[];return e.forEach(r=>{const n=parseInt(r);isNaN(n)||t.push(n)}),t.sort((r,n)=>r-n)},F0=(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},ng=(e,t="en")=>new Date(e).toLocaleString(t,{weekday:"long",day:"numeric",month:"short",year:"numeric"}),z1=e=>{let o;try{o=new Date().getTime()-new Date(e).getTime()}catch{return""}const s=o/36e5,i=Math.floor(o/864e5);if(i<1)return s<1?{path:"now"}:{path:"hours",number:Math.floor(s)};if(i<7)return{path:"days",number:i};const l=Math.floor(i/7);return l<=52?{path:"weeks",number:l}:{path:"years",number:Math.floor(i/365)}},Y1=e=>new Promise(t=>setTimeout(t,e)),Bh={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",dates_now:"now",dates_hours:"{number}h",dates_days:"{number}d",dates_weeks:"{number}w",dates_years:"{number}y",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_answer:"answer",discussion_action_post:"post",discussion_action_response:"response",discussion_action_reply:"reply",discussion_action_question:"question",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}.
61
+ */var ig;function zA(){return ig||(ig=1,function(e){const t=WA(),r=VA(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=i,e.SlowBuffer=y,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a,i.TYPED_ARRAY_SUPPORT=o(),!i.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{const C=new Uint8Array(1),v={foo:function(){return 42}};return Object.setPrototypeOf(v,Uint8Array.prototype),Object.setPrototypeOf(C,v),C.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function s(C){if(C>a)throw new RangeError('The value "'+C+'" is invalid for option "size"');const v=new Uint8Array(C);return Object.setPrototypeOf(v,i.prototype),v}function i(C,v,b){if(typeof C=="number"){if(typeof v=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(C)}return l(C,v,b)}i.poolSize=8192;function l(C,v,b){if(typeof C=="string")return p(C,v);if(ArrayBuffer.isView(C))return h(C);if(C==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof C);if(Je(C,ArrayBuffer)||C&&Je(C.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Je(C,SharedArrayBuffer)||C&&Je(C.buffer,SharedArrayBuffer)))return m(C,v,b);if(typeof C=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const _=C.valueOf&&C.valueOf();if(_!=null&&_!==C)return i.from(_,v,b);const P=w(C);if(P)return P;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof C[Symbol.toPrimitive]=="function")return i.from(C[Symbol.toPrimitive]("string"),v,b);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof C)}i.from=function(C,v,b){return l(C,v,b)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function u(C){if(typeof C!="number")throw new TypeError('"size" argument must be of type number');if(C<0)throw new RangeError('The value "'+C+'" is invalid for option "size"')}function c(C,v,b){return u(C),C<=0?s(C):v!==void 0?typeof b=="string"?s(C).fill(v,b):s(C).fill(v):s(C)}i.alloc=function(C,v,b){return c(C,v,b)};function d(C){return u(C),s(C<0?0:E(C)|0)}i.allocUnsafe=function(C){return d(C)},i.allocUnsafeSlow=function(C){return d(C)};function p(C,v){if((typeof v!="string"||v==="")&&(v="utf8"),!i.isEncoding(v))throw new TypeError("Unknown encoding: "+v);const b=T(C,v)|0;let _=s(b);const P=_.write(C,v);return P!==b&&(_=_.slice(0,P)),_}function f(C){const v=C.length<0?0:E(C.length)|0,b=s(v);for(let _=0;_<v;_+=1)b[_]=C[_]&255;return b}function h(C){if(Je(C,Uint8Array)){const v=new Uint8Array(C);return m(v.buffer,v.byteOffset,v.byteLength)}return f(C)}function m(C,v,b){if(v<0||C.byteLength<v)throw new RangeError('"offset" is outside of buffer bounds');if(C.byteLength<v+(b||0))throw new RangeError('"length" is outside of buffer bounds');let _;return v===void 0&&b===void 0?_=new Uint8Array(C):b===void 0?_=new Uint8Array(C,v):_=new Uint8Array(C,v,b),Object.setPrototypeOf(_,i.prototype),_}function w(C){if(i.isBuffer(C)){const v=E(C.length)|0,b=s(v);return b.length===0||C.copy(b,0,0,v),b}if(C.length!==void 0)return typeof C.length!="number"||It(C.length)?s(0):f(C);if(C.type==="Buffer"&&Array.isArray(C.data))return f(C.data)}function E(C){if(C>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return C|0}function y(C){return+C!=C&&(C=0),i.alloc(+C)}i.isBuffer=function(v){return v!=null&&v._isBuffer===!0&&v!==i.prototype},i.compare=function(v,b){if(Je(v,Uint8Array)&&(v=i.from(v,v.offset,v.byteLength)),Je(b,Uint8Array)&&(b=i.from(b,b.offset,b.byteLength)),!i.isBuffer(v)||!i.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(v===b)return 0;let _=v.length,P=b.length;for(let I=0,F=Math.min(_,P);I<F;++I)if(v[I]!==b[I]){_=v[I],P=b[I];break}return _<P?-1:P<_?1:0},i.isEncoding=function(v){switch(String(v).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(v,b){if(!Array.isArray(v))throw new TypeError('"list" argument must be an Array of Buffers');if(v.length===0)return i.alloc(0);let _;if(b===void 0)for(b=0,_=0;_<v.length;++_)b+=v[_].length;const P=i.allocUnsafe(b);let I=0;for(_=0;_<v.length;++_){let F=v[_];if(Je(F,Uint8Array))I+F.length>P.length?(i.isBuffer(F)||(F=i.from(F)),F.copy(P,I)):Uint8Array.prototype.set.call(P,F,I);else if(i.isBuffer(F))F.copy(P,I);else throw new TypeError('"list" argument must be an Array of Buffers');I+=F.length}return P};function T(C,v){if(i.isBuffer(C))return C.length;if(ArrayBuffer.isView(C)||Je(C,ArrayBuffer))return C.byteLength;if(typeof C!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof C);const b=C.length,_=arguments.length>2&&arguments[2]===!0;if(!_&&b===0)return 0;let P=!1;for(;;)switch(v){case"ascii":case"latin1":case"binary":return b;case"utf8":case"utf-8":return bt(C).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b*2;case"hex":return b>>>1;case"base64":return At(C).length;default:if(P)return _?-1:bt(C).length;v=(""+v).toLowerCase(),P=!0}}i.byteLength=T;function R(C,v,b){let _=!1;if((v===void 0||v<0)&&(v=0),v>this.length||((b===void 0||b>this.length)&&(b=this.length),b<=0)||(b>>>=0,v>>>=0,b<=v))return"";for(C||(C="utf8");;)switch(C){case"hex":return ge(this,v,b);case"utf8":case"utf-8":return Z(this,v,b);case"ascii":return K(this,v,b);case"latin1":case"binary":return re(this,v,b);case"base64":return j(this,v,b);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,v,b);default:if(_)throw new TypeError("Unknown encoding: "+C);C=(C+"").toLowerCase(),_=!0}}i.prototype._isBuffer=!0;function S(C,v,b){const _=C[v];C[v]=C[b],C[b]=_}i.prototype.swap16=function(){const v=this.length;if(v%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let b=0;b<v;b+=2)S(this,b,b+1);return this},i.prototype.swap32=function(){const v=this.length;if(v%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let b=0;b<v;b+=4)S(this,b,b+3),S(this,b+1,b+2);return this},i.prototype.swap64=function(){const v=this.length;if(v%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let b=0;b<v;b+=8)S(this,b,b+7),S(this,b+1,b+6),S(this,b+2,b+5),S(this,b+3,b+4);return this},i.prototype.toString=function(){const v=this.length;return v===0?"":arguments.length===0?Z(this,0,v):R.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(v){if(!i.isBuffer(v))throw new TypeError("Argument must be a Buffer");return this===v?!0:i.compare(this,v)===0},i.prototype.inspect=function(){let v="";const b=e.INSPECT_MAX_BYTES;return v=this.toString("hex",0,b).replace(/(.{2})/g,"$1 ").trim(),this.length>b&&(v+=" ... "),"<Buffer "+v+">"},n&&(i.prototype[n]=i.prototype.inspect),i.prototype.compare=function(v,b,_,P,I){if(Je(v,Uint8Array)&&(v=i.from(v,v.offset,v.byteLength)),!i.isBuffer(v))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof v);if(b===void 0&&(b=0),_===void 0&&(_=v?v.length:0),P===void 0&&(P=0),I===void 0&&(I=this.length),b<0||_>v.length||P<0||I>this.length)throw new RangeError("out of range index");if(P>=I&&b>=_)return 0;if(P>=I)return-1;if(b>=_)return 1;if(b>>>=0,_>>>=0,P>>>=0,I>>>=0,this===v)return 0;let F=I-P,ie=_-b;const de=Math.min(F,ie),ce=this.slice(P,I),he=v.slice(b,_);for(let _e=0;_e<de;++_e)if(ce[_e]!==he[_e]){F=ce[_e],ie=he[_e];break}return F<ie?-1:ie<F?1:0};function O(C,v,b,_,P){if(C.length===0)return-1;if(typeof b=="string"?(_=b,b=0):b>2147483647?b=2147483647:b<-2147483648&&(b=-2147483648),b=+b,It(b)&&(b=P?0:C.length-1),b<0&&(b=C.length+b),b>=C.length){if(P)return-1;b=C.length-1}else if(b<0)if(P)b=0;else return-1;if(typeof v=="string"&&(v=i.from(v,_)),i.isBuffer(v))return v.length===0?-1:N(C,v,b,_,P);if(typeof v=="number")return v=v&255,typeof Uint8Array.prototype.indexOf=="function"?P?Uint8Array.prototype.indexOf.call(C,v,b):Uint8Array.prototype.lastIndexOf.call(C,v,b):N(C,[v],b,_,P);throw new TypeError("val must be string, number or Buffer")}function N(C,v,b,_,P){let I=1,F=C.length,ie=v.length;if(_!==void 0&&(_=String(_).toLowerCase(),_==="ucs2"||_==="ucs-2"||_==="utf16le"||_==="utf-16le")){if(C.length<2||v.length<2)return-1;I=2,F/=2,ie/=2,b/=2}function de(he,_e){return I===1?he[_e]:he.readUInt16BE(_e*I)}let ce;if(P){let he=-1;for(ce=b;ce<F;ce++)if(de(C,ce)===de(v,he===-1?0:ce-he)){if(he===-1&&(he=ce),ce-he+1===ie)return he*I}else he!==-1&&(ce-=ce-he),he=-1}else for(b+ie>F&&(b=F-ie),ce=b;ce>=0;ce--){let he=!0;for(let _e=0;_e<ie;_e++)if(de(C,ce+_e)!==de(v,_e)){he=!1;break}if(he)return ce}return-1}i.prototype.includes=function(v,b,_){return this.indexOf(v,b,_)!==-1},i.prototype.indexOf=function(v,b,_){return O(this,v,b,_,!0)},i.prototype.lastIndexOf=function(v,b,_){return O(this,v,b,_,!1)};function M(C,v,b,_){b=Number(b)||0;const P=C.length-b;_?(_=Number(_),_>P&&(_=P)):_=P;const I=v.length;_>I/2&&(_=I/2);let F;for(F=0;F<_;++F){const ie=parseInt(v.substr(F*2,2),16);if(It(ie))return F;C[b+F]=ie}return F}function H(C,v,b,_){return Ct(bt(v,C.length-b),C,b,_)}function G(C,v,b,_){return Ct(et(v),C,b,_)}function W(C,v,b,_){return Ct(At(v),C,b,_)}function U(C,v,b,_){return Ct(Ft(v,C.length-b),C,b,_)}i.prototype.write=function(v,b,_,P){if(b===void 0)P="utf8",_=this.length,b=0;else if(_===void 0&&typeof b=="string")P=b,_=this.length,b=0;else if(isFinite(b))b=b>>>0,isFinite(_)?(_=_>>>0,P===void 0&&(P="utf8")):(P=_,_=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const I=this.length-b;if((_===void 0||_>I)&&(_=I),v.length>0&&(_<0||b<0)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");P||(P="utf8");let F=!1;for(;;)switch(P){case"hex":return M(this,v,b,_);case"utf8":case"utf-8":return H(this,v,b,_);case"ascii":case"latin1":case"binary":return G(this,v,b,_);case"base64":return W(this,v,b,_);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,v,b,_);default:if(F)throw new TypeError("Unknown encoding: "+P);P=(""+P).toLowerCase(),F=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function j(C,v,b){return v===0&&b===C.length?t.fromByteArray(C):t.fromByteArray(C.slice(v,b))}function Z(C,v,b){b=Math.min(C.length,b);const _=[];let P=v;for(;P<b;){const I=C[P];let F=null,ie=I>239?4:I>223?3:I>191?2:1;if(P+ie<=b){let de,ce,he,_e;switch(ie){case 1:I<128&&(F=I);break;case 2:de=C[P+1],(de&192)===128&&(_e=(I&31)<<6|de&63,_e>127&&(F=_e));break;case 3:de=C[P+1],ce=C[P+2],(de&192)===128&&(ce&192)===128&&(_e=(I&15)<<12|(de&63)<<6|ce&63,_e>2047&&(_e<55296||_e>57343)&&(F=_e));break;case 4:de=C[P+1],ce=C[P+2],he=C[P+3],(de&192)===128&&(ce&192)===128&&(he&192)===128&&(_e=(I&15)<<18|(de&63)<<12|(ce&63)<<6|he&63,_e>65535&&_e<1114112&&(F=_e))}}F===null?(F=65533,ie=1):F>65535&&(F-=65536,_.push(F>>>10&1023|55296),F=56320|F&1023),_.push(F),P+=ie}return L(_)}const ee=4096;function L(C){const v=C.length;if(v<=ee)return String.fromCharCode.apply(String,C);let b="",_=0;for(;_<v;)b+=String.fromCharCode.apply(String,C.slice(_,_+=ee));return b}function K(C,v,b){let _="";b=Math.min(C.length,b);for(let P=v;P<b;++P)_+=String.fromCharCode(C[P]&127);return _}function re(C,v,b){let _="";b=Math.min(C.length,b);for(let P=v;P<b;++P)_+=String.fromCharCode(C[P]);return _}function ge(C,v,b){const _=C.length;(!v||v<0)&&(v=0),(!b||b<0||b>_)&&(b=_);let P="";for(let I=v;I<b;++I)P+=dt[C[I]];return P}function ne(C,v,b){const _=C.slice(v,b);let P="";for(let I=0;I<_.length-1;I+=2)P+=String.fromCharCode(_[I]+_[I+1]*256);return P}i.prototype.slice=function(v,b){const _=this.length;v=~~v,b=b===void 0?_:~~b,v<0?(v+=_,v<0&&(v=0)):v>_&&(v=_),b<0?(b+=_,b<0&&(b=0)):b>_&&(b=_),b<v&&(b=v);const P=this.subarray(v,b);return Object.setPrototypeOf(P,i.prototype),P};function oe(C,v,b){if(C%1!==0||C<0)throw new RangeError("offset is not uint");if(C+v>b)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(v,b,_){v=v>>>0,b=b>>>0,_||oe(v,b,this.length);let P=this[v],I=1,F=0;for(;++F<b&&(I*=256);)P+=this[v+F]*I;return P},i.prototype.readUintBE=i.prototype.readUIntBE=function(v,b,_){v=v>>>0,b=b>>>0,_||oe(v,b,this.length);let P=this[v+--b],I=1;for(;b>0&&(I*=256);)P+=this[v+--b]*I;return P},i.prototype.readUint8=i.prototype.readUInt8=function(v,b){return v=v>>>0,b||oe(v,1,this.length),this[v]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(v,b){return v=v>>>0,b||oe(v,2,this.length),this[v]|this[v+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(v,b){return v=v>>>0,b||oe(v,2,this.length),this[v]<<8|this[v+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(v,b){return v=v>>>0,b||oe(v,4,this.length),(this[v]|this[v+1]<<8|this[v+2]<<16)+this[v+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(v,b){return v=v>>>0,b||oe(v,4,this.length),this[v]*16777216+(this[v+1]<<16|this[v+2]<<8|this[v+3])},i.prototype.readBigUInt64LE=it(function(v){v=v>>>0,Ge(v,"offset");const b=this[v],_=this[v+7];(b===void 0||_===void 0)&&$e(v,this.length-8);const P=b+this[++v]*2**8+this[++v]*2**16+this[++v]*2**24,I=this[++v]+this[++v]*2**8+this[++v]*2**16+_*2**24;return BigInt(P)+(BigInt(I)<<BigInt(32))}),i.prototype.readBigUInt64BE=it(function(v){v=v>>>0,Ge(v,"offset");const b=this[v],_=this[v+7];(b===void 0||_===void 0)&&$e(v,this.length-8);const P=b*2**24+this[++v]*2**16+this[++v]*2**8+this[++v],I=this[++v]*2**24+this[++v]*2**16+this[++v]*2**8+_;return(BigInt(P)<<BigInt(32))+BigInt(I)}),i.prototype.readIntLE=function(v,b,_){v=v>>>0,b=b>>>0,_||oe(v,b,this.length);let P=this[v],I=1,F=0;for(;++F<b&&(I*=256);)P+=this[v+F]*I;return I*=128,P>=I&&(P-=Math.pow(2,8*b)),P},i.prototype.readIntBE=function(v,b,_){v=v>>>0,b=b>>>0,_||oe(v,b,this.length);let P=b,I=1,F=this[v+--P];for(;P>0&&(I*=256);)F+=this[v+--P]*I;return I*=128,F>=I&&(F-=Math.pow(2,8*b)),F},i.prototype.readInt8=function(v,b){return v=v>>>0,b||oe(v,1,this.length),this[v]&128?(255-this[v]+1)*-1:this[v]},i.prototype.readInt16LE=function(v,b){v=v>>>0,b||oe(v,2,this.length);const _=this[v]|this[v+1]<<8;return _&32768?_|4294901760:_},i.prototype.readInt16BE=function(v,b){v=v>>>0,b||oe(v,2,this.length);const _=this[v+1]|this[v]<<8;return _&32768?_|4294901760:_},i.prototype.readInt32LE=function(v,b){return v=v>>>0,b||oe(v,4,this.length),this[v]|this[v+1]<<8|this[v+2]<<16|this[v+3]<<24},i.prototype.readInt32BE=function(v,b){return v=v>>>0,b||oe(v,4,this.length),this[v]<<24|this[v+1]<<16|this[v+2]<<8|this[v+3]},i.prototype.readBigInt64LE=it(function(v){v=v>>>0,Ge(v,"offset");const b=this[v],_=this[v+7];(b===void 0||_===void 0)&&$e(v,this.length-8);const P=this[v+4]+this[v+5]*2**8+this[v+6]*2**16+(_<<24);return(BigInt(P)<<BigInt(32))+BigInt(b+this[++v]*2**8+this[++v]*2**16+this[++v]*2**24)}),i.prototype.readBigInt64BE=it(function(v){v=v>>>0,Ge(v,"offset");const b=this[v],_=this[v+7];(b===void 0||_===void 0)&&$e(v,this.length-8);const P=(b<<24)+this[++v]*2**16+this[++v]*2**8+this[++v];return(BigInt(P)<<BigInt(32))+BigInt(this[++v]*2**24+this[++v]*2**16+this[++v]*2**8+_)}),i.prototype.readFloatLE=function(v,b){return v=v>>>0,b||oe(v,4,this.length),r.read(this,v,!0,23,4)},i.prototype.readFloatBE=function(v,b){return v=v>>>0,b||oe(v,4,this.length),r.read(this,v,!1,23,4)},i.prototype.readDoubleLE=function(v,b){return v=v>>>0,b||oe(v,8,this.length),r.read(this,v,!0,52,8)},i.prototype.readDoubleBE=function(v,b){return v=v>>>0,b||oe(v,8,this.length),r.read(this,v,!1,52,8)};function ve(C,v,b,_,P,I){if(!i.isBuffer(C))throw new TypeError('"buffer" argument must be a Buffer instance');if(v>P||v<I)throw new RangeError('"value" argument is out of bounds');if(b+_>C.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(v,b,_,P){if(v=+v,b=b>>>0,_=_>>>0,!P){const ie=Math.pow(2,8*_)-1;ve(this,v,b,_,ie,0)}let I=1,F=0;for(this[b]=v&255;++F<_&&(I*=256);)this[b+F]=v/I&255;return b+_},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(v,b,_,P){if(v=+v,b=b>>>0,_=_>>>0,!P){const ie=Math.pow(2,8*_)-1;ve(this,v,b,_,ie,0)}let I=_-1,F=1;for(this[b+I]=v&255;--I>=0&&(F*=256);)this[b+I]=v/F&255;return b+_},i.prototype.writeUint8=i.prototype.writeUInt8=function(v,b,_){return v=+v,b=b>>>0,_||ve(this,v,b,1,255,0),this[b]=v&255,b+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(v,b,_){return v=+v,b=b>>>0,_||ve(this,v,b,2,65535,0),this[b]=v&255,this[b+1]=v>>>8,b+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(v,b,_){return v=+v,b=b>>>0,_||ve(this,v,b,2,65535,0),this[b]=v>>>8,this[b+1]=v&255,b+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(v,b,_){return v=+v,b=b>>>0,_||ve(this,v,b,4,4294967295,0),this[b+3]=v>>>24,this[b+2]=v>>>16,this[b+1]=v>>>8,this[b]=v&255,b+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(v,b,_){return v=+v,b=b>>>0,_||ve(this,v,b,4,4294967295,0),this[b]=v>>>24,this[b+1]=v>>>16,this[b+2]=v>>>8,this[b+3]=v&255,b+4};function Ee(C,v,b,_,P){le(v,_,P,C,b,7);let I=Number(v&BigInt(4294967295));C[b++]=I,I=I>>8,C[b++]=I,I=I>>8,C[b++]=I,I=I>>8,C[b++]=I;let F=Number(v>>BigInt(32)&BigInt(4294967295));return C[b++]=F,F=F>>8,C[b++]=F,F=F>>8,C[b++]=F,F=F>>8,C[b++]=F,b}function ze(C,v,b,_,P){le(v,_,P,C,b,7);let I=Number(v&BigInt(4294967295));C[b+7]=I,I=I>>8,C[b+6]=I,I=I>>8,C[b+5]=I,I=I>>8,C[b+4]=I;let F=Number(v>>BigInt(32)&BigInt(4294967295));return C[b+3]=F,F=F>>8,C[b+2]=F,F=F>>8,C[b+1]=F,F=F>>8,C[b]=F,b+8}i.prototype.writeBigUInt64LE=it(function(v,b=0){return Ee(this,v,b,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=it(function(v,b=0){return ze(this,v,b,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(v,b,_,P){if(v=+v,b=b>>>0,!P){const de=Math.pow(2,8*_-1);ve(this,v,b,_,de-1,-de)}let I=0,F=1,ie=0;for(this[b]=v&255;++I<_&&(F*=256);)v<0&&ie===0&&this[b+I-1]!==0&&(ie=1),this[b+I]=(v/F>>0)-ie&255;return b+_},i.prototype.writeIntBE=function(v,b,_,P){if(v=+v,b=b>>>0,!P){const de=Math.pow(2,8*_-1);ve(this,v,b,_,de-1,-de)}let I=_-1,F=1,ie=0;for(this[b+I]=v&255;--I>=0&&(F*=256);)v<0&&ie===0&&this[b+I+1]!==0&&(ie=1),this[b+I]=(v/F>>0)-ie&255;return b+_},i.prototype.writeInt8=function(v,b,_){return v=+v,b=b>>>0,_||ve(this,v,b,1,127,-128),v<0&&(v=255+v+1),this[b]=v&255,b+1},i.prototype.writeInt16LE=function(v,b,_){return v=+v,b=b>>>0,_||ve(this,v,b,2,32767,-32768),this[b]=v&255,this[b+1]=v>>>8,b+2},i.prototype.writeInt16BE=function(v,b,_){return v=+v,b=b>>>0,_||ve(this,v,b,2,32767,-32768),this[b]=v>>>8,this[b+1]=v&255,b+2},i.prototype.writeInt32LE=function(v,b,_){return v=+v,b=b>>>0,_||ve(this,v,b,4,2147483647,-2147483648),this[b]=v&255,this[b+1]=v>>>8,this[b+2]=v>>>16,this[b+3]=v>>>24,b+4},i.prototype.writeInt32BE=function(v,b,_){return v=+v,b=b>>>0,_||ve(this,v,b,4,2147483647,-2147483648),v<0&&(v=4294967295+v+1),this[b]=v>>>24,this[b+1]=v>>>16,this[b+2]=v>>>8,this[b+3]=v&255,b+4},i.prototype.writeBigInt64LE=it(function(v,b=0){return Ee(this,v,b,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=it(function(v,b=0){return ze(this,v,b,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function te(C,v,b,_,P,I){if(b+_>C.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("Index out of range")}function ue(C,v,b,_,P){return v=+v,b=b>>>0,P||te(C,v,b,4),r.write(C,v,b,_,23,4),b+4}i.prototype.writeFloatLE=function(v,b,_){return ue(this,v,b,!0,_)},i.prototype.writeFloatBE=function(v,b,_){return ue(this,v,b,!1,_)};function Me(C,v,b,_,P){return v=+v,b=b>>>0,P||te(C,v,b,8),r.write(C,v,b,_,52,8),b+8}i.prototype.writeDoubleLE=function(v,b,_){return Me(this,v,b,!0,_)},i.prototype.writeDoubleBE=function(v,b,_){return Me(this,v,b,!1,_)},i.prototype.copy=function(v,b,_,P){if(!i.isBuffer(v))throw new TypeError("argument should be a Buffer");if(_||(_=0),!P&&P!==0&&(P=this.length),b>=v.length&&(b=v.length),b||(b=0),P>0&&P<_&&(P=_),P===_||v.length===0||this.length===0)return 0;if(b<0)throw new RangeError("targetStart out of bounds");if(_<0||_>=this.length)throw new RangeError("Index out of range");if(P<0)throw new RangeError("sourceEnd out of bounds");P>this.length&&(P=this.length),v.length-b<P-_&&(P=v.length-b+_);const I=P-_;return this===v&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(b,_,P):Uint8Array.prototype.set.call(v,this.subarray(_,P),b),I},i.prototype.fill=function(v,b,_,P){if(typeof v=="string"){if(typeof b=="string"?(P=b,b=0,_=this.length):typeof _=="string"&&(P=_,_=this.length),P!==void 0&&typeof P!="string")throw new TypeError("encoding must be a string");if(typeof P=="string"&&!i.isEncoding(P))throw new TypeError("Unknown encoding: "+P);if(v.length===1){const F=v.charCodeAt(0);(P==="utf8"&&F<128||P==="latin1")&&(v=F)}}else typeof v=="number"?v=v&255:typeof v=="boolean"&&(v=Number(v));if(b<0||this.length<b||this.length<_)throw new RangeError("Out of range index");if(_<=b)return this;b=b>>>0,_=_===void 0?this.length:_>>>0,v||(v=0);let I;if(typeof v=="number")for(I=b;I<_;++I)this[I]=v;else{const F=i.isBuffer(v)?v:i.from(v,P),ie=F.length;if(ie===0)throw new TypeError('The value "'+v+'" is invalid for argument "value"');for(I=0;I<_-b;++I)this[I+b]=F[I%ie]}return this};const xe={};function ft(C,v,b){xe[C]=class extends b{constructor(){super(),Object.defineProperty(this,"message",{value:v.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${C}]`,this.stack,delete this.name}get code(){return C}set code(P){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:P,writable:!0})}toString(){return`${this.name} [${C}]: ${this.message}`}}}ft("ERR_BUFFER_OUT_OF_BOUNDS",function(C){return C?`${C} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ft("ERR_INVALID_ARG_TYPE",function(C,v){return`The "${C}" argument must be of type number. Received type ${typeof v}`},TypeError),ft("ERR_OUT_OF_RANGE",function(C,v,b){let _=`The value of "${C}" is out of range.`,P=b;return Number.isInteger(b)&&Math.abs(b)>2**32?P=pt(String(b)):typeof b=="bigint"&&(P=String(b),(b>BigInt(2)**BigInt(32)||b<-(BigInt(2)**BigInt(32)))&&(P=pt(P)),P+="n"),_+=` It must be ${v}. Received ${P}`,_},RangeError);function pt(C){let v="",b=C.length;const _=C[0]==="-"?1:0;for(;b>=_+4;b-=3)v=`_${C.slice(b-3,b)}${v}`;return`${C.slice(0,b)}${v}`}function fe(C,v,b){Ge(v,"offset"),(C[v]===void 0||C[v+b]===void 0)&&$e(v,C.length-(b+1))}function le(C,v,b,_,P,I){if(C>b||C<v){const F=typeof v=="bigint"?"n":"";let ie;throw I>3?v===0||v===BigInt(0)?ie=`>= 0${F} and < 2${F} ** ${(I+1)*8}${F}`:ie=`>= -(2${F} ** ${(I+1)*8-1}${F}) and < 2 ** ${(I+1)*8-1}${F}`:ie=`>= ${v}${F} and <= ${b}${F}`,new xe.ERR_OUT_OF_RANGE("value",ie,C)}fe(_,P,I)}function Ge(C,v){if(typeof C!="number")throw new xe.ERR_INVALID_ARG_TYPE(v,"number",C)}function $e(C,v,b){throw Math.floor(C)!==C?(Ge(C,b),new xe.ERR_OUT_OF_RANGE(b||"offset","an integer",C)):v<0?new xe.ERR_BUFFER_OUT_OF_BOUNDS:new xe.ERR_OUT_OF_RANGE(b||"offset",`>= ${b?1:0} and <= ${v}`,C)}const gt=/[^+/0-9A-Za-z-_]/g;function ht(C){if(C=C.split("=")[0],C=C.trim().replace(gt,""),C.length<2)return"";for(;C.length%4!==0;)C=C+"=";return C}function bt(C,v){v=v||1/0;let b;const _=C.length;let P=null;const I=[];for(let F=0;F<_;++F){if(b=C.charCodeAt(F),b>55295&&b<57344){if(!P){if(b>56319){(v-=3)>-1&&I.push(239,191,189);continue}else if(F+1===_){(v-=3)>-1&&I.push(239,191,189);continue}P=b;continue}if(b<56320){(v-=3)>-1&&I.push(239,191,189),P=b;continue}b=(P-55296<<10|b-56320)+65536}else P&&(v-=3)>-1&&I.push(239,191,189);if(P=null,b<128){if((v-=1)<0)break;I.push(b)}else if(b<2048){if((v-=2)<0)break;I.push(b>>6|192,b&63|128)}else if(b<65536){if((v-=3)<0)break;I.push(b>>12|224,b>>6&63|128,b&63|128)}else if(b<1114112){if((v-=4)<0)break;I.push(b>>18|240,b>>12&63|128,b>>6&63|128,b&63|128)}else throw new Error("Invalid code point")}return I}function et(C){const v=[];for(let b=0;b<C.length;++b)v.push(C.charCodeAt(b)&255);return v}function Ft(C,v){let b,_,P;const I=[];for(let F=0;F<C.length&&!((v-=2)<0);++F)b=C.charCodeAt(F),_=b>>8,P=b%256,I.push(P),I.push(_);return I}function At(C){return t.toByteArray(ht(C))}function Ct(C,v,b,_){let P;for(P=0;P<_&&!(P+b>=v.length||P>=C.length);++P)v[P+b]=C[P];return P}function Je(C,v){return C instanceof v||C!=null&&C.constructor!=null&&C.constructor.name!=null&&C.constructor.name===v.name}function It(C){return C!==C}const dt=function(){const C="0123456789abcdef",v=new Array(256);for(let b=0;b<16;++b){const _=b*16;for(let P=0;P<16;++P)v[_+P]=C[b]+C[P]}return v}();function it(C){return typeof BigInt>"u"?Wt:C}function Wt(){throw new Error("BigInt not supported")}}(dd)),dd}(function(e,t){(function(r,n){e.exports=n(rA(),hA(),bA(),e_(),CA,GA(),zA())})(be,function(r,n,a,o,s,i,l){return function(){var u={809:function(f){f.exports=r},30:function(f){f.exports=n},36:function(f){f.exports=a},300:function(f){f.exports=o},408:function(f){f.exports=l},25:function(f){f.exports=s},130:function(f){f.exports=i}},c={};function d(f){var h=c[f];if(h!==void 0)return h.exports;var m=c[f]={exports:{}};return u[f](m,m.exports,d),m.exports}d.n=function(f){var h=f&&f.__esModule?function(){return f.default}:function(){return f};return d.d(h,{a:h}),h},d.d=function(f,h){for(var m in h)d.o(h,m)&&!d.o(f,m)&&Object.defineProperty(f,m,{enumerable:!0,get:h[m]})},d.o=function(f,h){return Object.prototype.hasOwnProperty.call(f,h)},d.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})};var p={};return function(){d.r(p),d.d(p,{assets:function(){return L},auth:function(){return oe},buildAnswer:function(){return MR},buildCarouselCard:function(){return NR},buildQuestion:function(){return lt},carouselCards:function(){return qa},contentInteraction:function(){return it},decodeBase64:function(){return kR},default:function(){return LR},editorialPages:function(){return z},features:function(){return b},getEntries:function(){return f.getEntries},getEntry:function(){return f.getEntry},management:function(){return Hr},payments:function(){return Rr},people:function(){return Pr},peopleEngagement:function(){return bn},qaQuestions:function(){return Ot},reportError:function(){return h.reportError},search:function(){return Ba}});var f=d(809),h=d(30),m=d(36),w={APOLITICAL:{WEBSITES:{LIVE:"https://apolitical.co",LOCALHOST:"localhost",STAGING:/https:\/\/([\w|\d|-]+)\.apolitical\.co/i,STAGING_SPLITTER:"-"},ENVIRONMENTS:{PRODUCTION:"live",LOCAL:"local"}},APIS:{ASSETS_API:{BASE_URL:"/api/assets-api",ENDPOINTS:{USERS:"/users",CERTIFICATES:"/certificates"}},AUTH_API:{BASE_URL:"/api/auth-api",ENDPOINTS:{USER_PASSWORD:"/password",USERS:"/users"}},CONTENT_INTERACTION_API:{BASE_URL:"/api/content-interaction-api",ENDPOINTS:{QUESTIONS:"/questions",ANSWERS:"/answers",REPLIES:"/replies",LIKES:"/likes"}},FEATURES_API:{BASE_URL:"/api/features-api",ENDPOINTS:{FLAGS:"/features"}},MANAGEMENT_API:{BASE_URL:"/api/management-api",ENDPOINTS:{ACCOUNTS:"/accounts",EVENT_REGISTRATIONS:"/event-registrations",LOGINS:"/logins",LOGIN_PASSWORDLESS:"/passwordless",BULK_ENROLMENTS:"/bulk-enrolments"}},PAYMENTS_API:{BASE_URL:"/api/payments-api",BASE_URL_V2:"/api/payments-api/v2",ENDPOINTS:{PRODUCTS:"/products"}},PEOPLE_API:{BASE_URL:"/api/people-api",BASE_URL_V2:"/api/people-api/v2",ENDPOINTS:{BULK_ENROLMENTS:"/bulk-enrolments",REGISTRATIONS:"/registrations",USERS:"/users",USER_ANSWERS:"/answers",USER_COURSES:"/courses",USER_EVENTS:"/events",USER_LIKES:"/likes",USER_LESSONS:"/lessons",USER_PRODUCTS:"/products",USER_RATINGS:"/ratings",USER_SUBSCRIPTIONS:"/subscriptions"}},PEOPLE_ENGAGEMENT_API:{BASE_URL:"/api/people-engagement-api",ENDPOINTS:{ENQUIRY_EMAILS:"/enquiry-emails",USERS:"/users",USER_PROPERTIES:"/properties"}},SEARCH_API:{BASE_URL:"/api/search-api",ENDPOINTS:{SEARCH:"/search"}}},CONTENTFUL:{ARTICLES:{TYPE:"solutionArticle"},CAROUSELS:{CARD_TYPES:{solutionArticle:{INCLUDE:1,SELECT:"fields.authorIds,fields.authorTag,fields.image,fields.publishedDate,fields.readingTime,fields.slug,fields.title"},microcourse:{INCLUDE:2,SELECT:"fields.banner,fields.freeCourse,fields.partnershipDetails,fields.slug,fields.title"},event:{INCLUDE:1,SELECT:"fields.bannerImage,fields.defaultStartDate,fields.slug,fields.speakers,fields.title,fields.isEventOngoing"},listPage:{INCLUDE:1,SELECT:"fields.hero,fields.slug,fields.title"},qaQuestion:{INCLUDE:0,SELECT:"fields.answers,fields.authorId,fields.slug,fields.title,sys.createdAt,fields.projectNames"},learningHub:{INCLUDE:1,SELECT:"fields.bannerSection,fields.customLabel,fields.slug,fields.title"}}},COURSES:{TYPE:"microcourse"},EDITORIAL_PAGES:{INCLUDE:1,SELECT:"fields.carousels,fields.slug",TYPE:"editorialPage"},EVENTS:{TYPE:"event"},LISTS:{TYPE:"listPage"},QUESTIONS:{TYPE:"qaQuestion",INCLUDE:1,LIMIT:10,ORDER:"-sys.createdAt",SELECT:"sys.createdAt,sys.updatedAt,fields.title,fields.slug,fields.authorId,fields.answers,fields.isEdited,fields.projectNames",SKIP:0},ANSWERS:{TYPE:"qaAnswer"},REPLIES:{TYPE:"reply"},LEARNING_HUB:{TYPE:"learningHub"}},HUBSPOT:{ENVIRONMENTS_MAPPING:{local:"SANDBOX",beta:"SANDBOX",rc:"SANDBOX",live:"LIVE"},EMAIL_IDS:{SANDBOX:{internalEmailId:49099078634,externalEmailId:55196526554},LIVE:{internalEmailId:55233583049,externalEmailId:55231159239}}},USERS:{MYSELF:"me"}};const{APOLITICAL:{WEBSITES:{LIVE:E,LOCALHOST:y,STAGING:T,STAGING_SPLITTER:R},ENVIRONMENTS:{PRODUCTION:S,LOCAL:O}}}=w,{HUBSPOT:{ENVIRONMENTS_MAPPING:N,EMAIL_IDS:M}}=w;let H={emailIds:{}};var G=d(300),W=d.n(G);const U=async B=>{try{const{message:q,response:D,request:V}=B;let se=q;return D?se+=` - The request was made and the server responded with ${JSON.stringify({status:D.status,data:D.data})}`:V&&(se+=" - The request was made but no response was received"),console.warn(se),await(0,h.reportError)(new Error(se)),se}catch(q){return console.warn(`Cannot handle error: ${q.message}`),q.message}},{APIS:{ASSETS_API:{BASE_URL:j,ENDPOINTS:{USERS:Z,CERTIFICATES:ee}}}}=w;var L={certificates:{create:async(B,q)=>{let D=[];try{const{data:V}=await W().post(`${j}${Z}/${B}${ee}`,q);V&&(D=V)}catch(V){await U(V)}return D}}};const{APIS:{AUTH_API:{BASE_URL:K,ENDPOINTS:{USER_PASSWORD:re,USERS:ge}}},USERS:{MYSELF:ne}}=w;var oe={userPassword:{update:async B=>{let q=null;try{q=await W().put(`${K}${ge}/${ne}${re}`,B)}catch(D){q={message:(((D||{}).response||{}).data||{}).message},await U(D)}return q}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:ve,ENDPOINTS:{ANSWERS:Ee,QUESTIONS:ze,LIKES:te}}}}=w,ue=`${ve}${ze}`;var Me={create:async({questionSlug:B},q)=>{try{await W().post(`${ue}/${encodeURIComponent(B)}${Ee}`,q)}catch(D){const V=await U(D);throw new Error(V)}},remove:async({questionSlug:B,answerSlug:q})=>{try{await W().delete(`${ue}/${encodeURIComponent(B)}${Ee}/${encodeURIComponent(q)}`)}catch(D){const V=await U(D);throw new Error(V)}},update:async({questionSlug:B,answerSlug:q},D)=>{try{return await W().put(`${ue}/${encodeURIComponent(B)}${Ee}/${encodeURIComponent(q)}`,D)}catch(V){const se=await U(V);throw new Error(se)}},like:async({questionSlug:B,answerSlug:q},D)=>{try{return await W().post(`${ue}/${encodeURIComponent(B)}${Ee}/${encodeURIComponent(q)}${te}`,D)}catch(V){const se=await U(V);throw new Error(se)}},unlike:async({questionSlug:B,answerSlug:q})=>{try{return await W().delete(`${ue}/${encodeURIComponent(B)}${Ee}/${encodeURIComponent(q)}${te}`)}catch(D){const V=await U(D);throw new Error(V)}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:xe,ENDPOINTS:{QUESTIONS:ft}}}}=w,pt=`${xe}${ft}`;var fe={create:async B=>{try{return await W().post(pt,B)}catch(q){const D=await U(q);throw new Error(D)}},remove:async({questionSlug:B})=>{try{await W().delete(`${pt}/${encodeURIComponent(B)}`)}catch(q){const D=await U(q);throw new Error(D)}},update:async({questionSlug:B},q)=>{try{return await W().put(`${pt}/${encodeURIComponent(B)}`,q)}catch(D){const V=await U(D);throw new Error(V)}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:le,ENDPOINTS:{REPLIES:Ge,ANSWERS:$e,QUESTIONS:gt,LIKES:ht}}}}=w,bt=`${le}${gt}`,et=({questionSlug:B,answerSlug:q,replySlug:D},V=!1)=>{let se=`${bt}/${encodeURIComponent(B)}${$e}/${encodeURIComponent(q)}${Ge}`;return D&&(se=`${se}/${encodeURIComponent(D)}`,V&&(se=`${se}${ht}`)),se};var Ft={create:async({questionSlug:B,answerSlug:q},D)=>{try{return await W().post(et({questionSlug:B,answerSlug:q}),D)}catch(V){const se=await U(V);throw new Error(se)}},update:async({questionSlug:B,answerSlug:q,replySlug:D},V)=>{try{return await W().put(et({questionSlug:B,answerSlug:q,replySlug:D}),V)}catch(se){const Le=await U(se);throw new Error(Le)}},remove:async({questionSlug:B,answerSlug:q,replySlug:D})=>{try{await W().delete(et({questionSlug:B,answerSlug:q,replySlug:D}))}catch(V){const se=await U(V);throw new Error(se)}},like:async({questionSlug:B,answerSlug:q,replySlug:D},V)=>{try{await W().post(et({questionSlug:B,answerSlug:q,replySlug:D},!0),V)}catch(se){const Le=await U(se);throw new Error(Le)}},unlike:async({questionSlug:B,answerSlug:q,replySlug:D})=>{try{await W().delete(et({questionSlug:B,answerSlug:q,replySlug:D},!0))}catch(V){const se=await U(V);throw new Error(se)}},getReplyUrl:et};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:At,ENDPOINTS:{QUESTIONS:Ct,ANSWERS:Je,LIKES:It}}}}=w,dt=`${At}${Ct}`;var it={answers:Me,questions:fe,replies:Ft,likes:{create:async(B,q)=>{try{return await W().post(`${dt}/${encodeURIComponent(B)}${Je}/${encodeURIComponent(q)}${It}`)}catch(D){const V=await U(D);throw new Error(V)}},remove:async(B,q)=>{try{return await W().delete(`${dt}/${encodeURIComponent(B)}${Je}/${encodeURIComponent(q)}${It}`)}catch(D){const V=await U(D);throw new Error(V)}}}};const{APIS:{FEATURES_API:{BASE_URL:Wt,ENDPOINTS:{FLAGS:C}}}}=w,v=`${Wt}${C}`;var b={flags:{read:async B=>{let q=null;try{const{data:D}=await W().get(`${v}/${encodeURIComponent(B)}`);D!=null&&D.name&&(D!=null&&D.featureState)&&(q=D)}catch(D){await U(D)}return q}}};const{APIS:{MANAGEMENT_API:{BASE_URL:_,ENDPOINTS:{ACCOUNTS:P}}}}=w;var I={create:async B=>{try{await W().post(`${_}${P}`,B)}catch(q){throw await U(q),q}},read:async B=>{let q=null;try{({data:q}=await W().get(`${_}${P}/${encodeURIComponent(B)}`))}catch(D){await U(D)}return q},update:async(B,q)=>{try{await W().put(`${_}${P}/${encodeURIComponent(B)}`,q)}catch(D){throw await U(D),D}}};const{APIS:{MANAGEMENT_API:{BASE_URL:F,ENDPOINTS:{BULK_ENROLMENTS:ie}}}}=w;var de={create:async B=>{try{await W().post(`${F}${ie}`,B)}catch(q){throw await U(q),q}}};const{APIS:{MANAGEMENT_API:{BASE_URL:ce,ENDPOINTS:{EVENT_REGISTRATIONS:he}}}}=w;var _e={create:async B=>{try{await W().post(`${ce}${he}`,B)}catch(q){const D=await U(q);throw new Error(D)}}};const{APIS:{MANAGEMENT_API:{BASE_URL:Xe,ENDPOINTS:{LOGINS:Jt,LOGIN_PASSWORDLESS:Ur}}}}=w,jt=`${Xe}${Jt}`;var Hr={accounts:I,bulkEnrolments:de,eventRegistrations:_e,passwordless:{update:async B=>{try{await W().put(`${jt}/${encodeURIComponent(B)}${Ur}`)}catch(q){throw await U(q),q}}}};const{APIS:{PAYMENTS_API:{BASE_URL_V2:Vt,ENDPOINTS:{PRODUCTS:Sr}}}}=w,Zt=`${Vt}${Sr}`;var Rr={products:{list:async B=>{let q=[],D=B?{params:B}:{params:{}};try{const{data:V}=await W().get(Zt,D);V&&V.length&&(q=V)}catch(V){await U(V)}return q}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:er,ENDPOINTS:{BULK_ENROLMENTS:Gr}}}}=w;var zt={list:async B=>{let q=[];try{const{data:D}=await W().get(`${er}${Gr}`,{params:B});D&&D.length&&(q=D)}catch(D){await U(D)}return q}},dn=d(25);const{OK:Wn,MULTIPLE_CHOICES:Vn,NOT_FOUND:pn,FORBIDDEN:Cr}=dn.StatusCodes,tt=B=>B>=Wn&&B<Vn||B===Cr||B===pn,{APIS:{PEOPLE_API:{BASE_URL_V2:Wr,ENDPOINTS:{USERS:Vr}}}}=w,ur=async B=>{let q=null;try{const{data:D}=await W().get(`${Wr}${Vr}/${encodeURIComponent(B)}`,{validateStatus:tt});D&&D.id&&(q=D)}catch(D){await U(D)}return q},zr=async B=>{let q=[];try{if(B&&B.length<2)throw new Error("users list method requires at least two ids");const D=B.map(se=>`ids=${encodeURIComponent(se)}`).join("&"),V=await W().get(`${Wr}${Vr}?${D}`,{validateStatus:tt});V&&V.length&&(q=V)}catch(D){await U(D)}return q};var zn={read:ur,update:async(B,q)=>{let D=!1;try{const{data:V}=await W().put(`${Wr}${Vr}/${encodeURIComponent(B)}`,q);D=!(!V||!V.id)}catch(V){await U(V)}return D},list:zr};const{APIS:{PEOPLE_API:{BASE_URL_V2:st,ENDPOINTS:{USERS:Yn,USER_LIKES:Kn}}},USERS:{MYSELF:Xn}}=w,Qn=`${st}${Yn}/${Xn}${Kn}`,Yr=async B=>{let q=[],D=B?{params:B}:{params:{}};try{const{data:V}=await W().get(Qn,D);V&&V.length&&(q=V)}catch(V){await U(V)}return q};var mt={list:Yr},Jn={authors:{readQuestionAuthors:async(B,q,D)=>{try{if(B.author=await ur(B.authorId),B.answers&&B.answers.length&&!D.ignoreAnswersAuthors){B.answers.sort((se,Le)=>new Date(Le.updatedAt)-new Date(se.updatedAt)),B.totalAnswers=B.answers.length;let V=B.answers;if(D.limit&&D.pageNumber){const se=D.limit*(D.pageNumber-1);V=B.answers.slice(se,se+D.limit)}for(let se of V){se.author=se.authorId&&await ur(se.authorId)||{};const[Le]=q?await Yr({contentType:w.CONTENTFUL.ANSWERS.TYPE,contentSlug:se.slug}):[null];se.userLiked=!!Le}B.answers=V}else B.answers||(B.answers=[]);return B}catch(V){throw await U(V),new Error(`Cannot read authors for question: ${V.message}`)}},readAuthors:async(B=[])=>{let q=[];try{if(Array.isArray(B)===!1)throw new Error("authorIds is not an array!");if(B&&B.length===1){const D=await ur(B[0]);D&&q.push(D)}else if(B&&B.length>1){const D=await zr(B);D&&D.length>0&&(q=D)}}catch(D){throw await U(D),new Error(`Cannot read authors: ${D.message}`)}return q}}};const{APIS:{PEOPLE_API:{BASE_URL:Zn,ENDPOINTS:{REGISTRATIONS:ea}}}}=w;var ta={list:async B=>{let q=[];try{const{data:D}=await W().get(`${Zn}${ea}`,{params:B});D&&D.length&&(q=D)}catch(D){await U(D)}return q}};const{APIS:{PEOPLE_API:{BASE_URL_V2:$,ENDPOINTS:{USERS:Y,USER_COURSES:X}}},USERS:{MYSELF:J}}=w,pe=`${$}${Y}/${J}${X}`;var Se={create:async B=>{try{await W().post(pe,B)}catch(q){await U(q)}},list:async B=>{let q=[],D=B?{params:B}:{params:{}};try{const{data:V}=await W().get(pe,D);V&&V.length&&(q=V)}catch(V){await U(V)}return q},update:async(B,q)=>{try{await W().put(`${pe}/${B}`,q)}catch(D){await U(D)}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Fe,ENDPOINTS:{USERS:Et,USER_EVENTS:_t}}},USERS:{MYSELF:yt}}=w,rt=`${Fe}${Et}/${yt}${_t}`;var tr={list:async B=>{let q=[],D=B?{params:B}:{params:{}};try{const{data:V}=await W().get(rt,D);V&&V.length&&(q=V)}catch(V){await U(V)}return q}};const{APIS:{PEOPLE_API:{BASE_URL_V2:xr,ENDPOINTS:{USERS:cr,USER_LESSONS:Kr}}},USERS:{MYSELF:Xr}}=w,hn=`${xr}${cr}/${Xr}${Kr}`;var mn={create:async B=>{let q=null;try{q=await W().post(hn,B)}catch(D){await U(D)}return q},list:async B=>{let q=[],D=B?{params:B}:{params:{}};try{const{data:V}=await W().get(hn,D);V&&V.length&&(q=V)}catch(V){await U(V)}return q}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Ut,ENDPOINTS:{USERS:yn,USER_PRODUCTS:Or}}},USERS:{MYSELF:vn}}=w,fr=`${Ut}${yn}/${vn}${Or}`;var Ht={create:async B=>{let q=null;try{q=await W().post(fr,B)}catch(D){await U(D)}return q},list:async B=>{let q=[],D=B?{params:B}:{params:{}};try{const{data:V}=await W().get(fr,D);V&&V.length&&(q=V)}catch(V){await U(V)}return q},update:async(B,q)=>{try{await W().put(`${fr}/${B}`,q)}catch(D){await U(D)}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Gt,ENDPOINTS:{USERS:dr,USER_RATINGS:pr}}},USERS:{MYSELF:yo}}=w,Yt=`${Gt}${dr}/${yo}${pr}`;var Pr={bulkEnrolments:zt,handlers:Jn,registrations:ta,users:zn,userCourses:Se,userEvents:tr,userLessons:mn,userLikes:mt,userProducts:Ht,userRatings:{create:async B=>{let q=null;try{const{data:D}=await W().post(Yt,B);D!=null&&D.id&&(q=D)}catch(D){await U(D)}return q},update:async(B,q)=>{try{await W().put(`${Yt}/${B}`,q)}catch(D){await U(D)}}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:vo,ENDPOINTS:{ENQUIRY_EMAILS:go}}}}=w;var bo={create:async B=>{let q=null;try{const{data:D}=await W().post(`${vo}${go}`,B);D&&(q=D)}catch(D){await U(D)}return q}},Ma={forms:{sendEnquiryEmails:async B=>{let q=null;try{const{emailIds:D}=H;q=await bn.emails.create({...D,...B})}catch(D){await U(D)}return q}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:xt,ENDPOINTS:{USERS:$a,USER_PROPERTIES:ka}}},USERS:{MYSELF:gn}}=w;var bn={emails:bo,handlers:Ma,userProperties:{update:async(B,q)=>{try{await W().put(`${xt}${$a}/${gn}${ka}/${B}`,q)}catch(D){await U(D)}}}},En=d(130);const{APIS:{SEARCH_API:{BASE_URL:Eo,ENDPOINTS:{SEARCH:La}}}}=w,ra=`${Eo}${La}`;var Ba={ask:async B=>{try{let q=null;const{data:D}=await W().get(ra,{params:{question:B}});return D!=null&&D.answer&&(D!=null&&D.references)&&(D!=null&&D.version)&&(q=D),q}catch(q){const D=await U(q);throw new Error(D)}},stream:(B,q,D)=>{const V=(0,En.io)(void 0,{path:"/api/search-api/web-sockets"});function se(){V.emit("search",{question:B})}function Le(at){D(at),Ye(),V.disconnect()}function Ye(){V.off("connect",se),V.off("update",q),V.off("result",Le)}return V.on("connect",se),V.on("update",q),V.on("result",Le),Ye}};const{CONTENTFUL:rr}=w,{CARD_TYPES:na}=rr.CAROUSELS;var qa={read:async(B,q)=>{try{if(!q||!q.sys||!q.sys.id)throw new Error("Invalid link to card");if(!B||!na[B])throw new Error("Unsupported card content type");const{INCLUDE:D,SELECT:V}=na[B];return await(0,f.getEntry)({content_type:B,"sys.id":q.sys.id,include:D,select:V},{assetDetails:!0})}catch(D){throw await U(D),new Error(`Cannot read carousel card: ${D.message}`)}}};const{CONTENTFUL:_o}=w,{INCLUDE:g,SELECT:x,TYPE:k}=_o.EDITORIAL_PAGES;var z={read:async B=>{try{return await(0,f.getEntry)({content_type:k,"fields.slug":B,include:g,select:x})}catch(q){throw await U(q),new Error(`Cannot read editorial page: ${q.message}`)}}};const{CONTENTFUL:we}=w,{TYPE:ye,ORDER:Ce,SELECT:Oe,SKIP:nt,LIMIT:ke,INCLUDE:wt}=we.QUESTIONS;var Ot={read:async B=>{try{return await(0,f.getEntry)({content_type:ye,"fields.slug":B,include:2,select:Oe})}catch(q){throw await U(q),new Error(`Cannot read question: ${q.message}`)}},list:async(B={})=>{try{return await(0,f.getEntries)({content_type:ye,include:wt,limit:ke,order:Ce,select:Oe,skip:nt,...B})}catch(q){throw await U(q),new Error(`Cannot list questions: ${q.message}`)}}},lt=async(B,q,D={ignoreAnswersAuthors:!1})=>{try{let V={};return V=await Ot.read(B),V=await Pr.handlers.authors.readQuestionAuthors(V,q,D),V}catch(V){throw await U(V),new Error(`Cannot build question: ${V.message}`)}};const{ARTICLES:{TYPE:Tt},COURSES:{TYPE:vt},EVENTS:{TYPE:Ar},LISTS:{TYPE:hr},QUESTIONS:{TYPE:Qr},LEARNING_HUB:{TYPE:Ri}}=w.CONTENTFUL,Ir=B=>B&&B.url?(Object.assign(B,{aspect:"responsiveCard",query:"q=90&fit=fill"}),B):null,_n={[Tt]:async B=>{const{authorIds:q,authorTag:D,image:V,publishedDate:se,readingTime:Le,slug:Ye,title:at}=B,Kt=await Pr.handlers.authors.readAuthors(q),Nr=Kt&&Kt.length?Kt:D?[D]:null;return{banner:Ir(V),contributors:Nr,publishedDate:se,readingTime:Le,slug:Ye,title:at}},[vt]:async(B,q)=>{const{banner:D,freeCourse:V,partnershipDetails:se,slug:Le,title:Ye,registered:at}=B,Kt={banner:Ir(D),slug:Le,title:Ye,pill:V?"free":"premium",registered:!!at};if(se){const{partners:Nr}=se;Kt.partner=Nr&&Nr.length&&se.partners[0]}if(at===void 0&&q){const[Nr]=await Pr.userProducts.list({courseSlug:Le,isEnrolled:!0,scope:"active"});Kt.registered=!!Nr}return Kt},[Ar]:async(B,q)=>{const{bannerImage:D,defaultStartDate:V,isEventOngoing:se,slug:Le,speakers:Ye,title:at,registered:Kt}=B,Nr=new Date(V),BR=!!Nr&&Nr<new Date;if(Ye&&Ye.length)for(const Ci of Ye)Ci.image=(zc=Ci.image)&&zc.url?`${zc.url}?w=100&h=100&fit=thumb&f=center`:null;var zc;const Pm={banner:Ir(D),dateHasPassed:BR,title:at,slug:Le,isOngoingEvent:se,contributors:Ye,startDate:Nr,registered:!!Kt};if(Kt===void 0&&q){const[Ci]=await Pr.userEvents.list({eventSlug:Le});Pm.registered=!!Ci}return Pm},[hr]:async B=>{const{hero:q,slug:D,title:V}=B;return{banner:Ir(q),slug:D,title:V}},[Qr]:async B=>{const{answers:q,authorId:D,createdAt:V,slug:se,title:Le}=B;let Ye=null;if(D){const at=await Pr.users.read(D);at&&(Ye=at)}return{answers:q&&q.length?q.length:0,contributors:Ye?[Ye]:[],createdAt:V,slug:se,title:Le}},[Ri]:B=>{const{bannerSection:q,customLabel:D,slug:V,title:se}=B;return{banner:Ir(q.image),slug:V,title:se,customLabel:D}},people:B=>{const{id:q,name:D,jobTitle:V,location:se,image:Le}=B;return{profile:Le,slug:q,title:D,text:V,secondaryText:se}}};var NR=async({contentType:B,...q}={},D)=>{try{if(!_n[B])throw new Error("Content type not supported");if(typeof _n[B]!="function")throw new Error("No builder function for content type");return B!=="people"&&q.sys&&q.sys.type&&q.sys.type==="Link"&&(q=await qa.read(B,q)),{contentType:B,...await _n[B](q,D)}}catch(V){throw await U(V),new Error(`Cannot build carousel card: ${V.message}`)}},MR=async(B,q,D={})=>{try{if(!B.replies||B.replies.length===0)return B.replies=[],B;B.replies.sort((se,Le)=>new Date(se.createdAt)-new Date(Le.createdAt)),B.totalReplies=B.totalReplies||B.replies.length;let V=B.replies;if(D.limit&&D.pageNumber){const se=D.limit*(D.pageNumber-1);V=B.replies.slice(se,se+D.limit)}for(const se of V){if(se.authorId===B.authorId){se.author=B.author,se.userLiked=!1;continue}se.author=se.authorId&&await ur(se.authorId)||{};const[Le]=q?await Yr({contentType:w.CONTENTFUL.REPLIES.TYPE,contentSlug:se.slug}):[null];se.userLiked=!!Le}return B.replies=V,B}catch(V){throw await U(V),new Error(`Cannot build replies for answer: ${V.message}`)}},$R=d(408);const kR=B=>B&&$R.Buffer.from(B,"base64").toString("ascii");function LR({contentContext:B=null,errorsContext:q=null,gtmContext:D=null,origin:V}){try{const se=(Le=>{let Ye=null;Le?Ye=Le:typeof window<"u"&&(Ye=window.origin||window.location.origin),Ye||new Error("Cannot select environment: Website not defined");let at=null;const Kt=Ye.match(T);return Kt?at=Kt[1].split(R)[0]:Ye===E?at=S:Ye.includes(y)&&(at=O),at||new Error(`Cannot select environment: No rule for website ${Ye}`),at})(V);return B&&(0,f.setContext)(Object.assign({},B,{environment:se})),q&&(0,h.setContext)(Object.assign({},q,{environment:se})),D&&((0,m.setContext)(Object.assign({},D,{environment:se})),(0,m.setupGTM)()),(({environment:Le})=>{const Ye=(at=>{if(!at)throw new Error("Cannot map environment: Environment not defined");if(!N[at])throw new Error(`Cannot map environment: No mapping found for environment ${at}`);return N[at]})(Le);H.emailIds=M[Ye]})(Object.assign({},{environment:se})),se}catch(se){console.warn(`Cannot load SDK: ${se.message}`)}}}(),p}()})})(WE);var YA=WE.exports;const Vo={Off:"off",On:"on",Cookie:"cookie"},KA=e=>{const[t]=GE(),[r,n]=Q.useState(null),[a,o]=Q.useState(!1),[s,i]=Q.useState(Vo.Off);return Q.useEffect(()=>{e&&YA.features.flags.read(e).then(l=>{i(l.featureState),n(null)}).catch(l=>{i(Vo.Off),n(l)})},[e]),Q.useEffect(()=>{switch(s){case Vo.Off:o(!1);break;case Vo.On:o(!0);break;case Vo.Cookie:o(!!t[`feature-${e}`]);break;default:o(!1)}},[s,t]),{isFeatureActive:a,error:r}};function XA(e,t,r){var n=this,a=Q.useRef(null),o=Q.useRef(0),s=Q.useRef(null),i=Q.useRef([]),l=Q.useRef(),u=Q.useRef(),c=Q.useRef(e),d=Q.useRef(!0);Q.useEffect(function(){c.current=e},[e]);var p=!t&&t!==0&&typeof window<"u";if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var f=!!(r=r||{}).leading,h=!("trailing"in r)||!!r.trailing,m="maxWait"in r,w=m?Math.max(+r.maxWait||0,t):null;Q.useEffect(function(){return d.current=!0,function(){d.current=!1}},[]);var E=Q.useMemo(function(){var y=function(M){var H=i.current,G=l.current;return i.current=l.current=null,o.current=M,u.current=c.current.apply(G,H)},T=function(M,H){p&&cancelAnimationFrame(s.current),s.current=p?requestAnimationFrame(M):setTimeout(M,H)},R=function(M){if(!d.current)return!1;var H=M-a.current;return!a.current||H>=t||H<0||m&&M-o.current>=w},S=function(M){return s.current=null,h&&i.current?y(M):(i.current=l.current=null,u.current)},O=function M(){var H=Date.now();if(R(H))return S(H);if(d.current){var G=t-(H-a.current),W=m?Math.min(G,w-(H-o.current)):G;T(M,W)}},N=function(){var M=Date.now(),H=R(M);if(i.current=[].slice.call(arguments),l.current=n,a.current=M,H){if(!s.current&&d.current)return o.current=a.current,T(O,t),f?y(a.current):u.current;if(m)return T(O,t),y(a.current)}return s.current||T(O,t),u.current};return N.cancel=function(){s.current&&(p?cancelAnimationFrame(s.current):clearTimeout(s.current)),o.current=0,i.current=a.current=l.current=s.current=null},N.isPending=function(){return!!s.current},N.flush=function(){return s.current?S(Date.now()):u.current},N},[f,m,t,w,h,p]);return E}function q0(e,t,r){var n=r===void 0?{}:r,a=n.leading,o=n.trailing;return XA(e,t,{maxWait:t,leading:a===void 0||a,trailing:o===void 0||o})}let pd;const Qs=(e=!0,t=!1)=>{if(!e)return;const[r,n]=Q.useState(0)||[!1,()=>{}];Q.useEffect(()=>(o(),window.addEventListener("resize",s),()=>{clearTimeout(pd),s.flush(),window.removeEventListener("resize",s)}),[]);const a=()=>window.innerWidth,o=()=>{n(a())},s=q0(()=>{a()!==r&&(t&&(clearTimeout(pd),document.body.classList.add("is-resizing"),pd=setTimeout(()=>{document.body.classList.remove("is-resizing")},550)),o())},500,{leading:!0});return r},F0=({scrollPosition:e=0,offset:t={down:0,up:10},callbacks:{scrollDown:r=()=>{},scrollUp:n=()=>{}}})=>{if(!window)return;const[a,o]=Q.useState({current:0,past:0})||[!1,()=>{}],[s,i]=Q.useState({scrollDown:!1,scrollUp:!1})||[!1,()=>{}];Q.useEffect(()=>(l(),window.addEventListener("scroll",u),()=>{u.flush(),window.removeEventListener("scroll",u)}),[]);const l=()=>{const c=window.scrollY,d=a.current,p=c-d,f=p>0?"down":"up";if(o({current:c,past:d}),f==="down"){c>=e+t.down&&!s.scrollDown&&(!s.scrollUp||p>t.up)&&(r(),i({scrollUp:!1,scrollDown:!0}));return}Math.abs(p)>=t.up&&!s.scrollUp&&(n(),i({scrollUp:!0,scrollDown:!1}))},u=q0(()=>{l()},250);return a};var Ts={exports:{}};Ts.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",s="[object Array]",i="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object GeneratorFunction]",p="[object Map]",f="[object Number]",h="[object Object]",m="[object Promise]",w="[object RegExp]",E="[object Set]",y="[object String]",T="[object Symbol]",R="[object WeakMap]",S="[object ArrayBuffer]",O="[object DataView]",N="[object Float32Array]",M="[object Float64Array]",H="[object Int8Array]",G="[object Int16Array]",W="[object Int32Array]",U="[object Uint8Array]",j="[object Uint8ClampedArray]",Z="[object Uint16Array]",ee="[object Uint32Array]",L=/[\\^$.*+?()[\]{}|]/g,K=/\w*$/,re=/^\[object .+?Constructor\]$/,ge=/^(?:0|[1-9]\d*)$/,ne={};ne[o]=ne[s]=ne[S]=ne[O]=ne[i]=ne[l]=ne[N]=ne[M]=ne[H]=ne[G]=ne[W]=ne[p]=ne[f]=ne[h]=ne[w]=ne[E]=ne[y]=ne[T]=ne[U]=ne[j]=ne[Z]=ne[ee]=!0,ne[u]=ne[c]=ne[R]=!1;var oe=typeof be=="object"&&be&&be.Object===Object&&be,ve=typeof self=="object"&&self&&self.Object===Object&&self,Ee=oe||ve||Function("return this")(),ze=t&&!t.nodeType&&t,te=ze&&!0&&e&&!e.nodeType&&e,ue=te&&te.exports===ze;function Me(g,x){return g.set(x[0],x[1]),g}function xe(g,x){return g.add(x),g}function ft(g,x){for(var k=-1,z=g?g.length:0;++k<z&&x(g[k],k,g)!==!1;);return g}function pt(g,x){for(var k=-1,z=x.length,we=g.length;++k<z;)g[we+k]=x[k];return g}function fe(g,x,k,z){var we=-1,ye=g?g.length:0;for(z&&ye&&(k=g[++we]);++we<ye;)k=x(k,g[we],we,g);return k}function le(g,x){for(var k=-1,z=Array(g);++k<g;)z[k]=x(k);return z}function Ge(g,x){return g==null?void 0:g[x]}function $e(g){var x=!1;if(g!=null&&typeof g.toString!="function")try{x=!!(g+"")}catch{}return x}function gt(g){var x=-1,k=Array(g.size);return g.forEach(function(z,we){k[++x]=[we,z]}),k}function ht(g,x){return function(k){return g(x(k))}}function bt(g){var x=-1,k=Array(g.size);return g.forEach(function(z){k[++x]=z}),k}var et=Array.prototype,Ft=Function.prototype,At=Object.prototype,Ct=Ee["__core-js_shared__"],Je=function(){var g=/[^.]+$/.exec(Ct&&Ct.keys&&Ct.keys.IE_PROTO||"");return g?"Symbol(src)_1."+g:""}(),It=Ft.toString,dt=At.hasOwnProperty,it=At.toString,Wt=RegExp("^"+It.call(dt).replace(L,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),C=ue?Ee.Buffer:void 0,v=Ee.Symbol,b=Ee.Uint8Array,_=ht(Object.getPrototypeOf,Object),P=Object.create,I=At.propertyIsEnumerable,F=et.splice,ie=Object.getOwnPropertySymbols,de=C?C.isBuffer:void 0,ce=ht(Object.keys,Object),he=Gt(Ee,"DataView"),_e=Gt(Ee,"Map"),Xe=Gt(Ee,"Promise"),Jt=Gt(Ee,"Set"),Ur=Gt(Ee,"WeakMap"),jt=Gt(Object,"create"),Hr=xt(he),Vt=xt(_e),Sr=xt(Xe),Zt=xt(Jt),Rr=xt(Ur),er=v?v.prototype:void 0,Gr=er?er.valueOf:void 0;function zt(g){var x=-1,k=g?g.length:0;for(this.clear();++x<k;){var z=g[x];this.set(z[0],z[1])}}function dn(){this.__data__=jt?jt(null):{}}function Wn(g){return this.has(g)&&delete this.__data__[g]}function Vn(g){var x=this.__data__;if(jt){var k=x[g];return k===n?void 0:k}return dt.call(x,g)?x[g]:void 0}function pn(g){var x=this.__data__;return jt?x[g]!==void 0:dt.call(x,g)}function Cr(g,x){var k=this.__data__;return k[g]=jt&&x===void 0?n:x,this}zt.prototype.clear=dn,zt.prototype.delete=Wn,zt.prototype.get=Vn,zt.prototype.has=pn,zt.prototype.set=Cr;function tt(g){var x=-1,k=g?g.length:0;for(this.clear();++x<k;){var z=g[x];this.set(z[0],z[1])}}function Wr(){this.__data__=[]}function Vr(g){var x=this.__data__,k=J(x,g);if(k<0)return!1;var z=x.length-1;return k==z?x.pop():F.call(x,k,1),!0}function ur(g){var x=this.__data__,k=J(x,g);return k<0?void 0:x[k][1]}function zr(g){return J(this.__data__,g)>-1}function zn(g,x){var k=this.__data__,z=J(k,g);return z<0?k.push([g,x]):k[z][1]=x,this}tt.prototype.clear=Wr,tt.prototype.delete=Vr,tt.prototype.get=ur,tt.prototype.has=zr,tt.prototype.set=zn;function st(g){var x=-1,k=g?g.length:0;for(this.clear();++x<k;){var z=g[x];this.set(z[0],z[1])}}function Yn(){this.__data__={hash:new zt,map:new(_e||tt),string:new zt}}function Kn(g){return Ht(this,g).delete(g)}function Xn(g){return Ht(this,g).get(g)}function Qn(g){return Ht(this,g).has(g)}function Yr(g,x){return Ht(this,g).set(g,x),this}st.prototype.clear=Yn,st.prototype.delete=Kn,st.prototype.get=Xn,st.prototype.has=Qn,st.prototype.set=Yr;function mt(g){this.__data__=new tt(g)}function Jn(){this.__data__=new tt}function Zn(g){return this.__data__.delete(g)}function ea(g){return this.__data__.get(g)}function ta(g){return this.__data__.has(g)}function $(g,x){var k=this.__data__;if(k instanceof tt){var z=k.__data__;if(!_e||z.length<r-1)return z.push([g,x]),this;k=this.__data__=new st(z)}return k.set(g,x),this}mt.prototype.clear=Jn,mt.prototype.delete=Zn,mt.prototype.get=ea,mt.prototype.has=ta,mt.prototype.set=$;function Y(g,x){var k=bn(g)||gn(g)?le(g.length,String):[],z=k.length,we=!!z;for(var ye in g)(x||dt.call(g,ye))&&!(we&&(ye=="length"||vo(ye,z)))&&k.push(ye);return k}function X(g,x,k){var z=g[x];(!(dt.call(g,x)&&ka(z,k))||k===void 0&&!(x in g))&&(g[x]=k)}function J(g,x){for(var k=g.length;k--;)if(ka(g[k][0],x))return k;return-1}function pe(g,x){return g&&Or(x,Da(x),g)}function Se(g,x,k,z,we,ye,Ce){var Oe;if(z&&(Oe=ye?z(g,we,ye,Ce):z(g)),Oe!==void 0)return Oe;if(!rr(g))return g;var nt=bn(g);if(nt){if(Oe=yo(g),!x)return yn(g,Oe)}else{var ke=pr(g),wt=ke==c||ke==d;if(La(g))return tr(g,x);if(ke==h||ke==o||wt&&!ye){if($e(g))return ye?g:{};if(Oe=Yt(wt?{}:g),!x)return vn(g,pe(Oe,g))}else{if(!ne[ke])return ye?g:{};Oe=Pr(g,ke,Se,x)}}Ce||(Ce=new mt);var Ot=Ce.get(g);if(Ot)return Ot;if(Ce.set(g,Oe),!nt)var lt=k?fr(g):Da(g);return ft(lt||g,function(Tt,vt){lt&&(vt=Tt,Tt=g[vt]),X(Oe,vt,Se(Tt,x,k,z,vt,g,Ce))}),Oe}function Fe(g){return rr(g)?P(g):{}}function Et(g,x,k){var z=x(g);return bn(g)?z:pt(z,k(g))}function _t(g){return it.call(g)}function yt(g){if(!rr(g)||bo(g))return!1;var x=ra(g)||$e(g)?Wt:re;return x.test(xt(g))}function rt(g){if(!Ma(g))return ce(g);var x=[];for(var k in Object(g))dt.call(g,k)&&k!="constructor"&&x.push(k);return x}function tr(g,x){if(x)return g.slice();var k=new g.constructor(g.length);return g.copy(k),k}function xr(g){var x=new g.constructor(g.byteLength);return new b(x).set(new b(g)),x}function cr(g,x){var k=x?xr(g.buffer):g.buffer;return new g.constructor(k,g.byteOffset,g.byteLength)}function Kr(g,x,k){var z=x?k(gt(g),!0):gt(g);return fe(z,Me,new g.constructor)}function Xr(g){var x=new g.constructor(g.source,K.exec(g));return x.lastIndex=g.lastIndex,x}function hn(g,x,k){var z=x?k(bt(g),!0):bt(g);return fe(z,xe,new g.constructor)}function mn(g){return Gr?Object(Gr.call(g)):{}}function Ut(g,x){var k=x?xr(g.buffer):g.buffer;return new g.constructor(k,g.byteOffset,g.length)}function yn(g,x){var k=-1,z=g.length;for(x||(x=Array(z));++k<z;)x[k]=g[k];return x}function Or(g,x,k,z){k||(k={});for(var we=-1,ye=x.length;++we<ye;){var Ce=x[we],Oe=z?z(k[Ce],g[Ce],Ce,k,g):void 0;X(k,Ce,Oe===void 0?g[Ce]:Oe)}return k}function vn(g,x){return Or(g,dr(g),x)}function fr(g){return Et(g,Da,dr)}function Ht(g,x){var k=g.__data__;return go(x)?k[typeof x=="string"?"string":"hash"]:k.map}function Gt(g,x){var k=Ge(g,x);return yt(k)?k:void 0}var dr=ie?ht(ie,Object):qa,pr=_t;(he&&pr(new he(new ArrayBuffer(1)))!=O||_e&&pr(new _e)!=p||Xe&&pr(Xe.resolve())!=m||Jt&&pr(new Jt)!=E||Ur&&pr(new Ur)!=R)&&(pr=function(g){var x=it.call(g),k=x==h?g.constructor:void 0,z=k?xt(k):void 0;if(z)switch(z){case Hr:return O;case Vt:return p;case Sr:return m;case Zt:return E;case Rr:return R}return x});function yo(g){var x=g.length,k=g.constructor(x);return x&&typeof g[0]=="string"&&dt.call(g,"index")&&(k.index=g.index,k.input=g.input),k}function Yt(g){return typeof g.constructor=="function"&&!Ma(g)?Fe(_(g)):{}}function Pr(g,x,k,z){var we=g.constructor;switch(x){case S:return xr(g);case i:case l:return new we(+g);case O:return cr(g,z);case N:case M:case H:case G:case W:case U:case j:case Z:case ee:return Ut(g,z);case p:return Kr(g,z,k);case f:case y:return new we(g);case w:return Xr(g);case E:return hn(g,z,k);case T:return mn(g)}}function vo(g,x){return x=x??a,!!x&&(typeof g=="number"||ge.test(g))&&g>-1&&g%1==0&&g<x}function go(g){var x=typeof g;return x=="string"||x=="number"||x=="symbol"||x=="boolean"?g!=="__proto__":g===null}function bo(g){return!!Je&&Je in g}function Ma(g){var x=g&&g.constructor,k=typeof x=="function"&&x.prototype||At;return g===k}function xt(g){if(g!=null){try{return It.call(g)}catch{}try{return g+""}catch{}}return""}function $a(g){return Se(g,!0,!0)}function ka(g,x){return g===x||g!==g&&x!==x}function gn(g){return Eo(g)&&dt.call(g,"callee")&&(!I.call(g,"callee")||it.call(g)==o)}var bn=Array.isArray;function En(g){return g!=null&&Ba(g.length)&&!ra(g)}function Eo(g){return na(g)&&En(g)}var La=de||_o;function ra(g){var x=rr(g)?it.call(g):"";return x==c||x==d}function Ba(g){return typeof g=="number"&&g>-1&&g%1==0&&g<=a}function rr(g){var x=typeof g;return!!g&&(x=="object"||x=="function")}function na(g){return!!g&&typeof g=="object"}function Da(g){return En(g)?Y(g):rt(g)}function qa(){return[]}function _o(){return!1}e.exports=$a})(Ts,Ts.exports);var QA=Ts.exports;const JA=wr(QA);var ZA="Expected a function",j0="__lodash_hash_undefined__",U0=1/0,e1=9007199254740991,t1="[object Function]",r1="[object GeneratorFunction]",n1="[object Symbol]",a1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o1=/^\w*$/,i1=/^\./,s1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l1=/[\\^$.*+?()[\]{}|]/g,u1=/\\(\\)?/g,c1=/^\[object .+?Constructor\]$/,f1=/^(?:0|[1-9]\d*)$/,d1=typeof be=="object"&&be&&be.Object===Object&&be,p1=typeof self=="object"&&self&&self.Object===Object&&self,Fh=d1||p1||Function("return this")();function h1(e,t){return e==null?void 0:e[t]}function m1(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var y1=Array.prototype,v1=Function.prototype,H0=Object.prototype,hd=Fh["__core-js_shared__"],sg=function(){var e=/[^.]+$/.exec(hd&&hd.keys&&hd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),G0=v1.toString,Js=H0.hasOwnProperty,W0=H0.toString,g1=RegExp("^"+G0.call(Js).replace(l1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),lg=Fh.Symbol,b1=y1.splice,E1=V0(Fh,"Map"),ai=V0(Object,"create"),ug=lg?lg.prototype:void 0,cg=ug?ug.toString:void 0;function ba(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 _1(){this.__data__=ai?ai(null):{}}function w1(e){return this.has(e)&&delete this.__data__[e]}function T1(e){var t=this.__data__;if(ai){var r=t[e];return r===j0?void 0:r}return Js.call(t,e)?t[e]:void 0}function S1(e){var t=this.__data__;return ai?t[e]!==void 0:Js.call(t,e)}function R1(e,t){var r=this.__data__;return r[e]=ai&&t===void 0?j0:t,this}ba.prototype.clear=_1;ba.prototype.delete=w1;ba.prototype.get=T1;ba.prototype.has=S1;ba.prototype.set=R1;function fo(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 C1(){this.__data__=[]}function x1(e){var t=this.__data__,r=Zs(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():b1.call(t,r,1),!0}function O1(e){var t=this.__data__,r=Zs(t,e);return r<0?void 0:t[r][1]}function P1(e){return Zs(this.__data__,e)>-1}function A1(e,t){var r=this.__data__,n=Zs(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}fo.prototype.clear=C1;fo.prototype.delete=x1;fo.prototype.get=O1;fo.prototype.has=P1;fo.prototype.set=A1;function Sa(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 I1(){this.__data__={hash:new ba,map:new(E1||fo),string:new ba}}function N1(e){return el(this,e).delete(e)}function M1(e){return el(this,e).get(e)}function $1(e){return el(this,e).has(e)}function k1(e,t){return el(this,e).set(e,t),this}Sa.prototype.clear=I1;Sa.prototype.delete=N1;Sa.prototype.get=M1;Sa.prototype.has=$1;Sa.prototype.set=k1;function L1(e,t,r){var n=e[t];(!(Js.call(e,t)&&z0(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function Zs(e,t){for(var r=e.length;r--;)if(z0(e[r][0],t))return r;return-1}function B1(e){if(!Ss(e)||G1(e))return!1;var t=Y1(e)||m1(e)?g1:c1;return t.test(z1(e))}function D1(e,t,r,n){if(!Ss(e))return e;t=U1(t,e)?[t]:F1(t);for(var a=-1,o=t.length,s=o-1,i=e;i!=null&&++a<o;){var l=V1(t[a]),u=r;if(a!=s){var c=i[l];u=n?n(c,l,i):void 0,u===void 0&&(u=Ss(c)?c:j1(t[a+1])?[]:{})}L1(i,l,u),i=i[l]}return e}function q1(e){if(typeof e=="string")return e;if(Uh(e))return cg?cg.call(e):"";var t=e+"";return t=="0"&&1/e==-U0?"-0":t}function F1(e){return Y0(e)?e:W1(e)}function el(e,t){var r=e.__data__;return H1(t)?r[typeof t=="string"?"string":"hash"]:r.map}function V0(e,t){var r=h1(e,t);return B1(r)?r:void 0}function j1(e,t){return t=t??e1,!!t&&(typeof e=="number"||f1.test(e))&&e>-1&&e%1==0&&e<t}function U1(e,t){if(Y0(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Uh(e)?!0:o1.test(e)||!a1.test(e)||t!=null&&e in Object(t)}function H1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function G1(e){return!!sg&&sg in e}var W1=jh(function(e){e=X1(e);var t=[];return i1.test(e)&&t.push(""),e.replace(s1,function(r,n,a,o){t.push(a?o.replace(u1,"$1"):n||r)}),t});function V1(e){if(typeof e=="string"||Uh(e))return e;var t=e+"";return t=="0"&&1/e==-U0?"-0":t}function z1(e){if(e!=null){try{return G0.call(e)}catch{}try{return e+""}catch{}}return""}function jh(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(ZA);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 s=e.apply(this,n);return r.cache=o.set(a,s),s};return r.cache=new(jh.Cache||Sa),r}jh.Cache=Sa;function z0(e,t){return e===t||e!==e&&t!==t}var Y0=Array.isArray;function Y1(e){var t=Ss(e)?W0.call(e):"";return t==t1||t==r1}function Ss(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function K1(e){return!!e&&typeof e=="object"}function Uh(e){return typeof e=="symbol"||K1(e)&&W0.call(e)==n1}function X1(e){return e==null?"":q1(e)}function Q1(e,t,r){return e==null?e:D1(e,t,r)}var J1=Q1;const Z1=wr(J1),eI=(e,t)=>{Array.isArray(t)||(t=[t]);const r=JA(e);return t.forEach(({type:n,value:a})=>{Z1(r,n,a)}),r},K0=e=>{const t=[];return e.forEach(r=>{const n=parseInt(r);isNaN(n)||t.push(n)}),t.sort((r,n)=>r-n)},X0=(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},fg=(e,t="en")=>new Date(e).toLocaleString(t,{weekday:"long",day:"numeric",month:"short",year:"numeric"}),tI=e=>{let o;try{o=new Date().getTime()-new Date(e).getTime()}catch{return""}const s=o/36e5,i=Math.floor(o/864e5);if(i<1)return s<1?{path:"now"}:{path:"hours",number:Math.floor(s)};if(i<7)return{path:"days",number:i};const l=Math.floor(i/7);return l<=52?{path:"weeks",number:l}:{path:"years",number:Math.floor(i/365)}},rI=e=>new Promise(t=>setTimeout(t,e)),Hh={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",dates_now:"now",dates_hours:"{number}h",dates_days:"{number}d",dates_weeks:"{number}w",dates_years:"{number}y",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_answer:"answer",discussion_action_post:"post",discussion_action_response:"response",discussion_action_reply:"reply",discussion_action_question:"question",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}.
62
62
 
63
63
  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.
64
64
 
65
- Thank you for helping to protect the Apolitical community from abusive content.`,discussion_form_title:"Write your {action}",discussion_form_placeholder:"Type your {action} here...",discussion_form_label:"Your {action}",discussion_form_explainer:"Try to make your {action} specific and practical. Be respectful and kind. See our <a>community guidelines</a>",discussion_form_success:"Your {action} has been submitted.",discussion_form_post:"Post",discussion_form_posting:"Posting...",discussion_form_save:"Save",discussion_form_saving:"Saving...",discussion_form_cancel:"Cancel",discussion_form_submitting:"Submitting...",discussion_form_placeholder_post:"Write something...",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_tooMany:"You have posted too many times in a row. Please wait and try again.",discussion_form_error_loggedOut:"Please log in to submit your {action}.",discussion_form_error_alreadyExists:"This {action} already exists.",discussion_form_title_question:"Start a conversation",discussion_form_placeholder_question:"Ask your question here",discussion_form_explainer_question:"Unsure what you can post? See our <a>community guidelines</a>.",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}.
65
+ Thank you for helping to protect the Apolitical community from abusive content.`,discussion_form_title:"Write your {action}",discussion_form_placeholder:"Type your {action} here...",discussion_form_label:"Your {action}",discussion_form_explainer:"Try to make your {action} specific and practical. Be respectful and kind. See our <a>community guidelines</a>",discussion_form_success:"Your {action} has been submitted.",discussion_form_post:"Post",discussion_form_posting:"Posting...",discussion_form_save:"Save",discussion_form_saving:"Saving...",discussion_form_cancel:"Cancel",discussion_form_submitting:"Submitting...",discussion_form_placeholder_post:"Write something...",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_tooMany:"You have posted too many times in a row. Please wait and try again.",discussion_form_error_loggedOut:"Please log in to submit your {action}.",discussion_form_error_alreadyExists:"This {action} already exists.",discussion_form_title_question:"Start a conversation",discussion_form_placeholder_question:"Ask your question here",discussion_form_explainer_question:"Unsure what you can post? See our <a>community guidelines</a>.",discussion_likes:"{number, plural, =0 {0 likes} one {# like} other {# likes}}",discussion_likes_short:"{number}",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}.
66
66
 
67
67
  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.
68
68
 
69
- 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",member_apolitical:"Apolitical",member_community:"Community post",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"},K1={collapsibleSection_summary:"En savoir plus"},X1=Object.freeze(Object.defineProperty({__proto__:null,en:Bh,fr:K1},Symbol.toStringTag,{value:"Module"})),$r=(e,t,r,n,a={})=>{let o="";return`${t}_${r}`in Bh?o=e({id:`${t}_${r}`},a):o=e({id:t},{[n]:r,...a}),o};var vp=function(e,t){return vp=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])},vp(e,t)};function qt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vp(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var de=function(){return de=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},de.apply(this,arguments)};function va(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 ir(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))}function j0(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var Re;(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"})(Re||(Re={}));var Ue;(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"})(Ue||(Ue={}));var ga;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ga||(ga={}));function ag(e){return e.type===Ue.literal}function Q1(e){return e.type===Ue.argument}function U0(e){return e.type===Ue.number}function H0(e){return e.type===Ue.date}function G0(e){return e.type===Ue.time}function W0(e){return e.type===Ue.select}function V0(e){return e.type===Ue.plural}function J1(e){return e.type===Ue.pound}function z0(e){return e.type===Ue.tag}function Y0(e){return!!(e&&typeof e=="object"&&e.type===ga.number)}function gp(e){return!!(e&&typeof e=="object"&&e.type===ga.dateTime)}var K0=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Z1=/(?:[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 eI(e){var t={};return e.replace(Z1,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 tI=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function rI(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(tI).filter(function(p){return p.length>0}),r=[],n=0,a=t;n<a.length;n++){var o=a[n],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var i=s[0],l=s.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:i,options:l})}return r}function nI(e){return e.replace(/^(.*?)-/,"")}var og=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,X0=/^(@+)?(\+|#+)?[rs]?$/g,aI=/(\*)(0+)|(#+)(0+)|(0+)/g,Q0=/^(0+)$/;function ig(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(X0,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 J0(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 oI(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)),!Q0.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function sg(e){var t={},r=J0(e);return r||t}function iI(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=nI(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=de(de(de({},t),{notation:"scientific"}),a.options.reduce(function(l,u){return de(de({},l),sg(u))},{}));continue;case"engineering":t=de(de(de({},t),{notation:"engineering"}),a.options.reduce(function(l,u){return de(de({},l),sg(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(aI,function(l,u,c,d,p,f){if(u)t.minimumIntegerDigits=c.length;else{if(d&&p)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(Q0.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(og.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(og,function(l,u,c,d,p,f){return c==="*"?t.minimumFractionDigits=u.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:p&&f?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+f.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=a.options[0];o==="w"?t=de(de({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=de(de({},t),ig(o)));continue}if(X0.test(a.stem)){t=de(de({},t),ig(a.stem));continue}var s=J0(a.stem);s&&(t=de(de({},t),s));var i=oI(a.stem);i&&(t=de(de({},t),i))}return t}var Ii={"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 sI(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 s=1+(o&1),i=o<2?1:3+(o>>1),l="a",u=lI(t);for((u=="H"||u=="k")&&(i=0);i-- >0;)r+=l;for(;s-- >0;)r=u+r}else a==="J"?r+="H":r+=a}return r}function lI(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=Ii[n||""]||Ii[r||""]||Ii["".concat(r,"-001")]||Ii["001"];return a[0]}var ud,uI=new RegExp("^".concat(K0.source,"*")),cI=new RegExp("".concat(K0.source,"*$"));function Oe(e,t){return{start:e,end:t}}var fI=!!String.prototype.startsWith,dI=!!String.fromCodePoint,pI=!!Object.fromEntries,hI=!!String.prototype.codePointAt,mI=!!String.prototype.trimStart,yI=!!String.prototype.trimEnd,vI=!!Number.isSafeInteger,gI=vI?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},bp=!0;try{var bI=ew("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bp=((ud=bI.exec("a"))===null||ud===void 0?void 0:ud[0])==="a"}catch{bp=!1}var lg=fI?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ep=dI?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,o=0,s;a>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},ug=pI?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var o=a[n],s=o[0],i=o[1];r[s]=i}return r},Z0=hI?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}},EI=mI?function(t){return t.trimStart()}:function(t){return t.replace(uI,"")},_I=yI?function(t){return t.trimEnd()}:function(t){return t.replace(cI,"")};function ew(e,t){return new RegExp(e,t)}var _p;if(bp){var cg=ew("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");_p=function(t,r){var n;cg.lastIndex=r;var a=cg.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else _p=function(t,r){for(var n=[];;){var a=Z0(t,r);if(a===void 0||tw(a)||RI(a))break;n.push(a),r+=a>=65536?2:1}return Ep.apply(void 0,n)};var wI=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 s=this.parseArgument(t,n);if(s.err)return s;a.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var i=this.clonePosition();this.bump(),a.push({type:Ue.pound,location:Oe(i,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(Re.UNMATCHED_CLOSING_TAG,Oe(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&wp(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;a.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;a.push(s.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:Ue.literal,value:"<".concat(a,"/>"),location:Oe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!wp(this.char()))return this.error(Re.INVALID_TAG,Oe(i,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return a!==u?this.error(Re.UNMATCHED_CLOSING_TAG,Oe(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ue.tag,value:a,children:s,location:Oe(n,this.clonePosition())},err:null}:this.error(Re.INVALID_TAG,Oe(i,this.clonePosition())))}else return this.error(Re.UNCLOSED_TAG,Oe(n,this.clonePosition()))}else return this.error(Re.INVALID_TAG,Oe(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&SI(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 s=this.tryParseUnquoted(t,r);if(s){a+=s;continue}var i=this.tryParseLeftAngleBracket();if(i){a+=i;continue}break}var l=Oe(n,this.clonePosition());return{val:{type:Ue.literal,value:a,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!TI(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 Ep.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(),Ep(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Re.EMPTY_ARGUMENT,Oe(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(Re.MALFORMED_ARGUMENT,Oe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ue.argument,value:a,location:Oe(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(Re.MALFORMED_ARGUMENT,Oe(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=_p(this.message,r),a=r+n.length;this.bumpTo(a);var o=this.clonePosition(),s=Oe(t,o);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,a){var o,s=this.clonePosition(),i=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(i){case"":return this.error(Re.EXPECT_ARGUMENT_TYPE,Oe(s,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 p=_I(d.val);if(p.length===0)return this.error(Re.EXPECT_ARGUMENT_STYLE,Oe(this.clonePosition(),this.clonePosition()));var f=Oe(c,this.clonePosition());u={style:p,styleLocation:f}}var h=this.tryParseArgumentClose(a);if(h.err)return h;var m=Oe(a,this.clonePosition());if(u&&lg(u==null?void 0:u.style,"::",0)){var _=EI(u.style.slice(2));if(i==="number"){var d=this.parseNumberSkeletonFromString(_,u.styleLocation);return d.err?d:{val:{type:Ue.number,value:n,location:m,style:d.val},err:null}}else{if(_.length===0)return this.error(Re.EXPECT_DATE_TIME_SKELETON,m);var b=_;this.locale&&(b=sI(_,this.locale));var p={type:ga.dateTime,pattern:b,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?eI(b):{}},v=i==="date"?Ue.date:Ue.time;return{val:{type:v,value:n,location:m,style:p},err:null}}}return{val:{type:i==="number"?Ue.number:i==="date"?Ue.date:Ue.time,value:n,location:m,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Re.EXPECT_SELECT_ARGUMENT_OPTIONS,Oe(w,de({},w)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),T=0;if(i!=="select"&&S.value==="offset"){if(!this.bumpIf(":"))return this.error(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Oe(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),S=this.parseIdentifierIfPossible(),T=d.val}var C=this.tryParsePluralOrSelectOptions(t,i,r,S);if(C.err)return C;var h=this.tryParseArgumentClose(a);if(h.err)return h;var I=Oe(a,this.clonePosition());return i==="select"?{val:{type:Ue.select,value:n,options:ug(C.val),location:I},err:null}:{val:{type:Ue.plural,value:n,options:ug(C.val),offset:T,pluralType:i==="plural"?"cardinal":"ordinal",location:I},err:null}}default:return this.error(Re.INVALID_ARGUMENT_TYPE,Oe(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(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(Re.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Oe(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=rI(t)}catch{return this.error(Re.INVALID_NUMBER_SKELETON,r)}return{val:{type:ga.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?iI(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var o,s=!1,i=[],l=new Set,u=a.value,c=a.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;c=Oe(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?Re.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Re.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?Re.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Oe(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(t+1,r,n);if(h.err)return h;var m=this.tryParseArgumentClose(f);if(m.err)return m;i.push([u,{value:h.val,location:Oe(f,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return i.length===0?this.error(r==="select"?Re.EXPECT_SELECT_ARGUMENT_SELECTOR:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Oe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(Re.MISSING_OTHER_CLAUSE,Oe(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,s=0;!this.isEOF();){var i=this.char();if(i>=48&&i<=57)o=!0,s=s*10+(i-48),this.bump();else break}var l=Oe(a,this.clonePosition());return o?(s*=n,gI(s)?{val:s,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=Z0(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(lg(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()&&tw(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 wp(e){return e>=97&&e<=122||e>=65&&e<=90}function TI(e){return wp(e)||e===47}function SI(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 tw(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function RI(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 Tp(e){e.forEach(function(t){if(delete t.location,W0(t)||V0(t))for(var r in t.options)delete t.options[r].location,Tp(t.options[r].value);else U0(t)&&Y0(t.style)||(H0(t)||G0(t))&&gp(t.style)?delete t.style.location:z0(t)&&Tp(t.children)})}function CI(e,t){t===void 0&&(t={}),t=de({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new wI(e,t).parse();if(r.err){var n=SyntaxError(Re[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Tp(r.val),r.val}function nr(e,t){var r=t&&t.cache?t.cache:NI,n=t&&t.serializer?t.serializer:II,a=t&&t.strategy?t.strategy:xI;return a(e,{cache:r,serializer:n})}function OI(e){return e==null||typeof e=="number"||typeof e=="boolean"}function rw(e,t,r,n){var a=OI(n)?n:r(n),o=t.get(a);return typeof o>"u"&&(o=e.call(this,n),t.set(a,o)),o}function nw(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 qh(e,t,r,n,a){return r.bind(t,e,n,a)}function xI(e,t){var r=e.length===1?rw:nw;return qh(e,this,r,t.cache.create(),t.serializer)}function PI(e,t){return qh(e,this,nw,t.cache.create(),t.serializer)}function AI(e,t){return qh(e,this,rw,t.cache.create(),t.serializer)}var II=function(){return JSON.stringify(arguments)};function Dh(){this.cache=Object.create(null)}Dh.prototype.get=function(e){return this.cache[e]};Dh.prototype.set=function(e,t){this.cache[e]=t};var NI={create:function(){return new Dh}},ar={variadic:PI,monadic:AI},sr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(sr||(sr={}));var tn=function(e){qt(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),fg=function(e){qt(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('", "'),'"'),sr.INVALID_VALUE,o)||this}return t}(tn),MI=function(e){qt(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),sr.INVALID_VALUE,a)||this}return t}(tn),$I=function(e){qt(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,'"'),sr.MISSING_VALUE,n)||this}return t}(tn),Tt;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Tt||(Tt={}));function kI(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==Tt.literal||r.type!==Tt.literal?t.push(r):n.value+=r.value,t},[])}function aw(e){return typeof e=="function"}function Ui(e,t,r,n,a,o,s){if(e.length===1&&ag(e[0]))return[{type:Tt.literal,value:e[0].value}];for(var i=[],l=0,u=e;l<u.length;l++){var c=u[l];if(ag(c)){i.push({type:Tt.literal,value:c.value});continue}if(J1(c)){typeof o=="number"&&i.push({type:Tt.literal,value:r.getNumberFormat(t).format(o)});continue}var d=c.value;if(!(a&&d in a))throw new $I(d,s);var p=a[d];if(Q1(c)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),i.push({type:typeof p=="string"?Tt.literal:Tt.object,value:p});continue}if(H0(c)){var f=typeof c.style=="string"?n.date[c.style]:gp(c.style)?c.style.parsedOptions:void 0;i.push({type:Tt.literal,value:r.getDateTimeFormat(t,f).format(p)});continue}if(G0(c)){var f=typeof c.style=="string"?n.time[c.style]:gp(c.style)?c.style.parsedOptions:n.time.medium;i.push({type:Tt.literal,value:r.getDateTimeFormat(t,f).format(p)});continue}if(U0(c)){var f=typeof c.style=="string"?n.number[c.style]:Y0(c.style)?c.style.parsedOptions:void 0;f&&f.scale&&(p=p*(f.scale||1)),i.push({type:Tt.literal,value:r.getNumberFormat(t,f).format(p)});continue}if(z0(c)){var h=c.children,m=c.value,_=a[m];if(!aw(_))throw new MI(m,"function",s);var b=Ui(h,t,r,n,a,o),v=_(b.map(function(T){return T.value}));Array.isArray(v)||(v=[v]),i.push.apply(i,v.map(function(T){return{type:typeof T=="string"?Tt.literal:Tt.object,value:T}}))}if(W0(c)){var w=c.options[p]||c.options.other;if(!w)throw new fg(c.value,p,Object.keys(c.options),s);i.push.apply(i,Ui(w.value,t,r,n,a));continue}if(V0(c)){var w=c.options["=".concat(p)];if(!w){if(!Intl.PluralRules)throw new tn(`Intl.PluralRules is not available in this environment.
69
+ 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",member_apolitical:"Apolitical",member_community:"Community post",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"},nI={collapsibleSection_summary:"En savoir plus"},aI=Object.freeze(Object.defineProperty({__proto__:null,en:Hh,fr:nI},Symbol.toStringTag,{value:"Module"})),wn=(e,t,r,n,a={})=>{let o="";return`${t}_${r}`in Hh?o=e({id:`${t}_${r}`},a):o=e({id:t},{[n]:r,...a}),o};var Tp=function(e,t){return Tp=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])},Tp(e,t)};function ir(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Tp(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var me=function(){return me=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},me.apply(this,arguments)};function ro(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 Br(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))}function Q0(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var Ae;(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"})(Ae||(Ae={}));var Ke;(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"})(Ke||(Ke={}));var no;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(no||(no={}));function dg(e){return e.type===Ke.literal}function oI(e){return e.type===Ke.argument}function J0(e){return e.type===Ke.number}function Z0(e){return e.type===Ke.date}function ew(e){return e.type===Ke.time}function tw(e){return e.type===Ke.select}function rw(e){return e.type===Ke.plural}function iI(e){return e.type===Ke.pound}function nw(e){return e.type===Ke.tag}function aw(e){return!!(e&&typeof e=="object"&&e.type===no.number)}function Sp(e){return!!(e&&typeof e=="object"&&e.type===no.dateTime)}var ow=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,sI=/(?:[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 lI(e){var t={};return e.replace(sI,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 uI=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function cI(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(uI).filter(function(p){return p.length>0}),r=[],n=0,a=t;n<a.length;n++){var o=a[n],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var i=s[0],l=s.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:i,options:l})}return r}function fI(e){return e.replace(/^(.*?)-/,"")}var pg=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,iw=/^(@+)?(\+|#+)?[rs]?$/g,dI=/(\*)(0+)|(#+)(0+)|(0+)/g,sw=/^(0+)$/;function hg(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(iw,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 lw(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 pI(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)),!sw.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function mg(e){var t={},r=lw(e);return r||t}function hI(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=fI(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=me(me(me({},t),{notation:"scientific"}),a.options.reduce(function(l,u){return me(me({},l),mg(u))},{}));continue;case"engineering":t=me(me(me({},t),{notation:"engineering"}),a.options.reduce(function(l,u){return me(me({},l),mg(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(dI,function(l,u,c,d,p,f){if(u)t.minimumIntegerDigits=c.length;else{if(d&&p)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(sw.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(pg.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(pg,function(l,u,c,d,p,f){return c==="*"?t.minimumFractionDigits=u.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:p&&f?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+f.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=a.options[0];o==="w"?t=me(me({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=me(me({},t),hg(o)));continue}if(iw.test(a.stem)){t=me(me({},t),hg(a.stem));continue}var s=lw(a.stem);s&&(t=me(me({},t),s));var i=pI(a.stem);i&&(t=me(me({},t),i))}return t}var Yi={"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 mI(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 s=1+(o&1),i=o<2?1:3+(o>>1),l="a",u=yI(t);for((u=="H"||u=="k")&&(i=0);i-- >0;)r+=l;for(;s-- >0;)r=u+r}else a==="J"?r+="H":r+=a}return r}function yI(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=Yi[n||""]||Yi[r||""]||Yi["".concat(r,"-001")]||Yi["001"];return a[0]}var md,vI=new RegExp("^".concat(ow.source,"*")),gI=new RegExp("".concat(ow.source,"*$"));function Ne(e,t){return{start:e,end:t}}var bI=!!String.prototype.startsWith,EI=!!String.fromCodePoint,_I=!!Object.fromEntries,wI=!!String.prototype.codePointAt,TI=!!String.prototype.trimStart,SI=!!String.prototype.trimEnd,RI=!!Number.isSafeInteger,CI=RI?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Rp=!0;try{var xI=cw("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Rp=((md=xI.exec("a"))===null||md===void 0?void 0:md[0])==="a"}catch{Rp=!1}var yg=bI?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Cp=EI?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,o=0,s;a>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},vg=_I?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var o=a[n],s=o[0],i=o[1];r[s]=i}return r},uw=wI?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}},OI=TI?function(t){return t.trimStart()}:function(t){return t.replace(vI,"")},PI=SI?function(t){return t.trimEnd()}:function(t){return t.replace(gI,"")};function cw(e,t){return new RegExp(e,t)}var xp;if(Rp){var gg=cw("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xp=function(t,r){var n;gg.lastIndex=r;var a=gg.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else xp=function(t,r){for(var n=[];;){var a=uw(t,r);if(a===void 0||fw(a)||MI(a))break;n.push(a),r+=a>=65536?2:1}return Cp.apply(void 0,n)};var AI=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 s=this.parseArgument(t,n);if(s.err)return s;a.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var i=this.clonePosition();this.bump(),a.push({type:Ke.pound,location:Ne(i,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(Ae.UNMATCHED_CLOSING_TAG,Ne(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Op(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;a.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;a.push(s.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:Ke.literal,value:"<".concat(a,"/>"),location:Ne(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Op(this.char()))return this.error(Ae.INVALID_TAG,Ne(i,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return a!==u?this.error(Ae.UNMATCHED_CLOSING_TAG,Ne(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ke.tag,value:a,children:s,location:Ne(n,this.clonePosition())},err:null}:this.error(Ae.INVALID_TAG,Ne(i,this.clonePosition())))}else return this.error(Ae.UNCLOSED_TAG,Ne(n,this.clonePosition()))}else return this.error(Ae.INVALID_TAG,Ne(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&NI(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 s=this.tryParseUnquoted(t,r);if(s){a+=s;continue}var i=this.tryParseLeftAngleBracket();if(i){a+=i;continue}break}var l=Ne(n,this.clonePosition());return{val:{type:Ke.literal,value:a,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!II(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 Cp.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(),Cp(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ne(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Ae.EMPTY_ARGUMENT,Ne(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(Ae.MALFORMED_ARGUMENT,Ne(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ne(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ke.argument,value:a,location:Ne(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ne(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(Ae.MALFORMED_ARGUMENT,Ne(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=xp(this.message,r),a=r+n.length;this.bumpTo(a);var o=this.clonePosition(),s=Ne(t,o);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,a){var o,s=this.clonePosition(),i=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(i){case"":return this.error(Ae.EXPECT_ARGUMENT_TYPE,Ne(s,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 p=PI(d.val);if(p.length===0)return this.error(Ae.EXPECT_ARGUMENT_STYLE,Ne(this.clonePosition(),this.clonePosition()));var f=Ne(c,this.clonePosition());u={style:p,styleLocation:f}}var h=this.tryParseArgumentClose(a);if(h.err)return h;var m=Ne(a,this.clonePosition());if(u&&yg(u==null?void 0:u.style,"::",0)){var w=OI(u.style.slice(2));if(i==="number"){var d=this.parseNumberSkeletonFromString(w,u.styleLocation);return d.err?d:{val:{type:Ke.number,value:n,location:m,style:d.val},err:null}}else{if(w.length===0)return this.error(Ae.EXPECT_DATE_TIME_SKELETON,m);var E=w;this.locale&&(E=mI(w,this.locale));var p={type:no.dateTime,pattern:E,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?lI(E):{}},y=i==="date"?Ke.date:Ke.time;return{val:{type:y,value:n,location:m,style:p},err:null}}}return{val:{type:i==="number"?Ke.number:i==="date"?Ke.date:Ke.time,value:n,location:m,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ae.EXPECT_SELECT_ARGUMENT_OPTIONS,Ne(T,me({},T)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),S=0;if(i!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(Ae.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ne(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(Ae.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ae.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),R=this.parseIdentifierIfPossible(),S=d.val}var O=this.tryParsePluralOrSelectOptions(t,i,r,R);if(O.err)return O;var h=this.tryParseArgumentClose(a);if(h.err)return h;var N=Ne(a,this.clonePosition());return i==="select"?{val:{type:Ke.select,value:n,options:vg(O.val),location:N},err:null}:{val:{type:Ke.plural,value:n,options:vg(O.val),offset:S,pluralType:i==="plural"?"cardinal":"ordinal",location:N},err:null}}default:return this.error(Ae.INVALID_ARGUMENT_TYPE,Ne(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(Ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ne(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(Ae.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ne(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=cI(t)}catch{return this.error(Ae.INVALID_NUMBER_SKELETON,r)}return{val:{type:no.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?hI(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var o,s=!1,i=[],l=new Set,u=a.value,c=a.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(Ae.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ae.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;c=Ne(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?Ae.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ae.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?Ae.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ae.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ne(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(t+1,r,n);if(h.err)return h;var m=this.tryParseArgumentClose(f);if(m.err)return m;i.push([u,{value:h.val,location:Ne(f,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return i.length===0?this.error(r==="select"?Ae.EXPECT_SELECT_ARGUMENT_SELECTOR:Ae.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ne(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(Ae.MISSING_OTHER_CLAUSE,Ne(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,s=0;!this.isEOF();){var i=this.char();if(i>=48&&i<=57)o=!0,s=s*10+(i-48),this.bump();else break}var l=Ne(a,this.clonePosition());return o?(s*=n,CI(s)?{val:s,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=uw(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(yg(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()&&fw(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 Op(e){return e>=97&&e<=122||e>=65&&e<=90}function II(e){return Op(e)||e===47}function NI(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 fw(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function MI(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 Pp(e){e.forEach(function(t){if(delete t.location,tw(t)||rw(t))for(var r in t.options)delete t.options[r].location,Pp(t.options[r].value);else J0(t)&&aw(t.style)||(Z0(t)||ew(t))&&Sp(t.style)?delete t.style.location:nw(t)&&Pp(t.children)})}function $I(e,t){t===void 0&&(t={}),t=me({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new AI(e,t).parse();if(r.err){var n=SyntaxError(Ae[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Pp(r.val),r.val}function $r(e,t){var r=t&&t.cache?t.cache:FI,n=t&&t.serializer?t.serializer:qI,a=t&&t.strategy?t.strategy:LI;return a(e,{cache:r,serializer:n})}function kI(e){return e==null||typeof e=="number"||typeof e=="boolean"}function dw(e,t,r,n){var a=kI(n)?n:r(n),o=t.get(a);return typeof o>"u"&&(o=e.call(this,n),t.set(a,o)),o}function pw(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 Gh(e,t,r,n,a){return r.bind(t,e,n,a)}function LI(e,t){var r=e.length===1?dw:pw;return Gh(e,this,r,t.cache.create(),t.serializer)}function BI(e,t){return Gh(e,this,pw,t.cache.create(),t.serializer)}function DI(e,t){return Gh(e,this,dw,t.cache.create(),t.serializer)}var qI=function(){return JSON.stringify(arguments)};function Wh(){this.cache=Object.create(null)}Wh.prototype.get=function(e){return this.cache[e]};Wh.prototype.set=function(e,t){this.cache[e]=t};var FI={create:function(){return new Wh}},kr={variadic:BI,monadic:DI},Dr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Dr||(Dr={}));var Hn=function(e){ir(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),bg=function(e){ir(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('", "'),'"'),Dr.INVALID_VALUE,o)||this}return t}(Hn),jI=function(e){ir(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Dr.INVALID_VALUE,a)||this}return t}(Hn),UI=function(e){ir(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,'"'),Dr.MISSING_VALUE,n)||this}return t}(Hn),Bt;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Bt||(Bt={}));function HI(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==Bt.literal||r.type!==Bt.literal?t.push(r):n.value+=r.value,t},[])}function hw(e){return typeof e=="function"}function os(e,t,r,n,a,o,s){if(e.length===1&&dg(e[0]))return[{type:Bt.literal,value:e[0].value}];for(var i=[],l=0,u=e;l<u.length;l++){var c=u[l];if(dg(c)){i.push({type:Bt.literal,value:c.value});continue}if(iI(c)){typeof o=="number"&&i.push({type:Bt.literal,value:r.getNumberFormat(t).format(o)});continue}var d=c.value;if(!(a&&d in a))throw new UI(d,s);var p=a[d];if(oI(c)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),i.push({type:typeof p=="string"?Bt.literal:Bt.object,value:p});continue}if(Z0(c)){var f=typeof c.style=="string"?n.date[c.style]:Sp(c.style)?c.style.parsedOptions:void 0;i.push({type:Bt.literal,value:r.getDateTimeFormat(t,f).format(p)});continue}if(ew(c)){var f=typeof c.style=="string"?n.time[c.style]:Sp(c.style)?c.style.parsedOptions:n.time.medium;i.push({type:Bt.literal,value:r.getDateTimeFormat(t,f).format(p)});continue}if(J0(c)){var f=typeof c.style=="string"?n.number[c.style]:aw(c.style)?c.style.parsedOptions:void 0;f&&f.scale&&(p=p*(f.scale||1)),i.push({type:Bt.literal,value:r.getNumberFormat(t,f).format(p)});continue}if(nw(c)){var h=c.children,m=c.value,w=a[m];if(!hw(w))throw new jI(m,"function",s);var E=os(h,t,r,n,a,o),y=w(E.map(function(S){return S.value}));Array.isArray(y)||(y=[y]),i.push.apply(i,y.map(function(S){return{type:typeof S=="string"?Bt.literal:Bt.object,value:S}}))}if(tw(c)){var T=c.options[p]||c.options.other;if(!T)throw new bg(c.value,p,Object.keys(c.options),s);i.push.apply(i,os(T.value,t,r,n,a));continue}if(rw(c)){var T=c.options["=".concat(p)];if(!T){if(!Intl.PluralRules)throw new Hn(`Intl.PluralRules is not available in this environment.
70
70
  Try polyfilling it using "@formatjs/intl-pluralrules"
71
- `,sr.MISSING_INTL_API,s);var S=r.getPluralRules(t,{type:c.pluralType}).select(p-(c.offset||0));w=c.options[S]||c.options.other}if(!w)throw new fg(c.value,p,Object.keys(c.options),s);i.push.apply(i,Ui(w.value,t,r,n,a,p-(c.offset||0)));continue}}return kI(i)}function LI(e,t){return t?de(de(de({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=de(de({},e[n]),t[n]||{}),r},{})):e}function BI(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=LI(e[n],t[n]),r},de({},e)):e}function cd(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function qI(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:nr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,ir([void 0],r,!1)))},{cache:cd(e.number),strategy:ar.variadic}),getDateTimeFormat:nr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,ir([void 0],r,!1)))},{cache:cd(e.dateTime),strategy:ar.variadic}),getPluralRules:nr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,ir([void 0],r,!1)))},{cache:cd(e.pluralRules),strategy:ar.variadic})}}var ow=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,p){return!d.length||p.type!==Tt.literal||typeof d[d.length-1]!="string"?d.push(p.value):d[d.length-1]+=p.value,d},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Ui(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 s=a||{};s.formatters;var i=va(s,["formatters"]);this.ast=e.__parse(t,de(de({},i),{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=BI(e.formats,n),this.formatters=a&&a.formatters||qI(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=CI,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}(),Pn;(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"})(Pn||(Pn={}));var Vo=function(e){qt(t,e);function t(r,n,a){var o=this,s=a?a instanceof Error?a:new Error(String(a)):void 0;return o=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,`
71
+ `,Dr.MISSING_INTL_API,s);var R=r.getPluralRules(t,{type:c.pluralType}).select(p-(c.offset||0));T=c.options[R]||c.options.other}if(!T)throw new bg(c.value,p,Object.keys(c.options),s);i.push.apply(i,os(T.value,t,r,n,a,p-(c.offset||0)));continue}}return HI(i)}function GI(e,t){return t?me(me(me({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=me(me({},e[n]),t[n]||{}),r},{})):e}function WI(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=GI(e[n],t[n]),r},me({},e)):e}function yd(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function VI(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:$r(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Br([void 0],r,!1)))},{cache:yd(e.number),strategy:kr.variadic}),getDateTimeFormat:$r(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Br([void 0],r,!1)))},{cache:yd(e.dateTime),strategy:kr.variadic}),getPluralRules:$r(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Br([void 0],r,!1)))},{cache:yd(e.pluralRules),strategy:kr.variadic})}}var mw=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,p){return!d.length||p.type!==Bt.literal||typeof d[d.length-1]!="string"?d.push(p.value):d[d.length-1]+=p.value,d},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return os(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 s=a||{};s.formatters;var i=ro(s,["formatters"]);this.ast=e.__parse(t,me(me({},i),{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=WI(e.formats,n),this.formatters=a&&a.formatters||VI(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=$I,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}(),Ea;(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"})(Ea||(Ea={}));var bi=function(e){ir(t,e);function t(r,n,a){var o=this,s=a?a instanceof Error?a:new Error(String(a)):void 0;return o=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,`
72
72
  `).concat(s?`
73
73
  `.concat(s.message,`
74
- `).concat(s.stack):""))||this,o.code=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o,t),o}return t}(Error),DI=function(e){qt(t,e);function t(r,n){return e.call(this,Pn.UNSUPPORTED_FORMATTER,r,n)||this}return t}(Vo),FI=function(e){qt(t,e);function t(r,n){return e.call(this,Pn.INVALID_CONFIG,r,n)||this}return t}(Vo),dg=function(e){qt(t,e);function t(r,n){return e.call(this,Pn.MISSING_DATA,r,n)||this}return t}(Vo),Dt=function(e){qt(t,e);function t(r,n,a){var o=e.call(this,Pn.FORMAT_ERROR,"".concat(r,`
74
+ `).concat(s.stack):""))||this,o.code=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o,t),o}return t}(Error),zI=function(e){ir(t,e);function t(r,n){return e.call(this,Ea.UNSUPPORTED_FORMATTER,r,n)||this}return t}(bi),YI=function(e){ir(t,e);function t(r,n){return e.call(this,Ea.INVALID_CONFIG,r,n)||this}return t}(bi),Eg=function(e){ir(t,e);function t(r,n){return e.call(this,Ea.MISSING_DATA,r,n)||this}return t}(bi),sr=function(e){ir(t,e);function t(r,n,a){var o=e.call(this,Ea.FORMAT_ERROR,"".concat(r,`
75
75
  Locale: `).concat(n,`
76
- `),a)||this;return o.locale=n,o}return t}(Vo),fd=function(e){qt(t,e);function t(r,n,a,o){var s=e.call(this,"".concat(r,`
76
+ `),a)||this;return o.locale=n,o}return t}(bi),vd=function(e){ir(t,e);function t(r,n,a,o){var s=e.call(this,"".concat(r,`
77
77
  MessageID: `).concat(a==null?void 0:a.id,`
78
78
  Default Message: `).concat(a==null?void 0:a.defaultMessage,`
79
79
  Description: `).concat(a==null?void 0:a.description,`
80
- `),n,o)||this;return s.descriptor=a,s.locale=n,s}return t}(Dt),jI=function(e){qt(t,e);function t(r,n){var a=e.call(this,Pn.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 s;return(s=o.value)!==null&&s!==void 0?s:JSON.stringify(o)}).join(),")"):"id"," as fallback."))||this;return a.descriptor=r,a}return t}(Vo);function Mn(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 UI=function(e){process.env.NODE_ENV!=="production"&&console.error(e)},HI=function(e){process.env.NODE_ENV!=="production"&&console.warn(e)},iw={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:UI,onWarn:HI};function sw(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function En(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function GI(e){e===void 0&&(e=sw());var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,a=nr(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.DateTimeFormat).bind.apply(i,ir([void 0],l,!1)))},{cache:En(e.dateTime),strategy:ar.variadic}),o=nr(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.NumberFormat).bind.apply(i,ir([void 0],l,!1)))},{cache:En(e.number),strategy:ar.variadic}),s=nr(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.PluralRules).bind.apply(i,ir([void 0],l,!1)))},{cache:En(e.pluralRules),strategy:ar.variadic});return{getDateTimeFormat:a,getNumberFormat:o,getMessageFormat:nr(function(i,l,u,c){return new ow(i,l,u,de({formatters:{getNumberFormat:o,getDateTimeFormat:a,getPluralRules:s}},c||{}))},{cache:En(e.message),strategy:ar.variadic}),getRelativeTimeFormat:nr(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(t.bind.apply(t,ir([void 0],i,!1)))},{cache:En(e.relativeTime),strategy:ar.variadic}),getPluralRules:s,getListFormat:nr(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(r.bind.apply(r,ir([void 0],i,!1)))},{cache:En(e.list),strategy:ar.variadic}),getDisplayNames:nr(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(n.bind.apply(n,ir([void 0],i,!1)))},{cache:En(e.displayNames),strategy:ar.variadic})}}function Fh(e,t,r,n){var a=e&&e[t],o;if(a&&(o=a[r]),o)return o;n(new DI("No ".concat(t," format named: ").concat(r)))}function Ni(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=de({timeZone:t},e[n]),r},{})}function pg(e,t){var r=Object.keys(de(de({},e),t));return r.reduce(function(n,a){return n[a]=de(de({},e[a]||{}),t[a]||{}),n},{})}function hg(e,t){if(!t)return e;var r=ow.formats;return de(de(de({},r),e),{date:pg(Ni(r.date,t),Ni(e.date||{},t)),time:pg(Ni(r.time,t),Ni(e.time||{},t))})}var Sp=function(e,t,r,n,a){var o=e.locale,s=e.formats,i=e.messages,l=e.defaultLocale,u=e.defaultFormats,c=e.fallbackOnEmptyString,d=e.onError,p=e.timeZone,f=e.defaultRichTextElements;r===void 0&&(r={id:""});var h=r.id,m=r.defaultMessage;j0(!!h,"[@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 _=String(h),b=i&&Object.prototype.hasOwnProperty.call(i,_)&&i[_];if(Array.isArray(b)&&b.length===1&&b[0].type===Ue.literal)return b[0].value;if(!n&&b&&typeof b=="string"&&!f)return b.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=de(de({},f),n||{}),s=hg(s,p),u=hg(u,p),!b){if(c===!1&&b==="")return b;if((!m||o&&o.toLowerCase()!==l.toLowerCase())&&d(new jI(r,o)),m)try{var v=t.getMessageFormat(m,l,u,a);return v.format(n)}catch(w){return d(new fd('Error formatting default message for: "'.concat(_,'", rendering default message verbatim'),o,r,w)),typeof m=="string"?m:_}return _}try{var v=t.getMessageFormat(b,o,s,de({formatters:t},a||{}));return v.format(n)}catch(w){d(new fd('Error formatting message: "'.concat(_,'", using ').concat(m?"default message":"id"," as fallback."),o,r,w))}if(m)try{var v=t.getMessageFormat(m,l,u,a);return v.format(n)}catch(w){d(new fd('Error formatting the default message for: "'.concat(_,'", rendering message verbatim'),o,r,w))}return typeof b=="string"?b:typeof m=="string"?m:_},lw=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function Bs(e,t,r,n){var a=e.locale,o=e.formats,s=e.onError,i=e.timeZone;n===void 0&&(n={});var l=n.format,u=de(de({},i&&{timeZone:i}),l&&Fh(o,t,l,s)),c=Mn(n,lw,u);return t==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle&&(c=de(de({},c),{hour:"numeric",minute:"numeric"})),r(a,c)}function WI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Bs(e,"date",t,s).format(i)}catch(l){e.onError(new Dt("Error formatting date.",e.locale,l))}return String(i)}function VI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Bs(e,"time",t,s).format(i)}catch(l){e.onError(new Dt("Error formatting time.",e.locale,l))}return String(i)}function zI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=r[2],i=s===void 0?{}:s,l=e.timeZone,u=e.locale,c=e.onError,d=Mn(i,lw,l?{timeZone:l}:{});try{return t(u,d).formatRange(a,o)}catch(p){c(new Dt("Error formatting date time range.",e.locale,p))}return String(a)}function YI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Bs(e,"date",t,s).formatToParts(i)}catch(l){e.onError(new Dt("Error formatting date.",e.locale,l))}return[]}function KI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Bs(e,"time",t,s).formatToParts(i)}catch(l){e.onError(new Dt("Error formatting time.",e.locale,l))}return[]}var XI=["style","type","fallback","languageDisplay"];function QI(e,t,r,n){var a=e.locale,o=e.onError,s=Intl.DisplayNames;s||o(new tn(`Intl.DisplayNames is not available in this environment.
80
+ `),n,o)||this;return s.descriptor=a,s.locale=n,s}return t}(sr),KI=function(e){ir(t,e);function t(r,n){var a=e.call(this,Ea.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 s;return(s=o.value)!==null&&s!==void 0?s:JSON.stringify(o)}).join(),")"):"id"," as fallback."))||this;return a.descriptor=r,a}return t}(bi);function Ra(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 XI=function(e){process.env.NODE_ENV!=="production"&&console.error(e)},QI=function(e){process.env.NODE_ENV!=="production"&&console.warn(e)},yw={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:XI,onWarn:QI};function vw(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function fa(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function JI(e){e===void 0&&(e=vw());var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,a=$r(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.DateTimeFormat).bind.apply(i,Br([void 0],l,!1)))},{cache:fa(e.dateTime),strategy:kr.variadic}),o=$r(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.NumberFormat).bind.apply(i,Br([void 0],l,!1)))},{cache:fa(e.number),strategy:kr.variadic}),s=$r(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.PluralRules).bind.apply(i,Br([void 0],l,!1)))},{cache:fa(e.pluralRules),strategy:kr.variadic});return{getDateTimeFormat:a,getNumberFormat:o,getMessageFormat:$r(function(i,l,u,c){return new mw(i,l,u,me({formatters:{getNumberFormat:o,getDateTimeFormat:a,getPluralRules:s}},c||{}))},{cache:fa(e.message),strategy:kr.variadic}),getRelativeTimeFormat:$r(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(t.bind.apply(t,Br([void 0],i,!1)))},{cache:fa(e.relativeTime),strategy:kr.variadic}),getPluralRules:s,getListFormat:$r(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(r.bind.apply(r,Br([void 0],i,!1)))},{cache:fa(e.list),strategy:kr.variadic}),getDisplayNames:$r(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(n.bind.apply(n,Br([void 0],i,!1)))},{cache:fa(e.displayNames),strategy:kr.variadic})}}function Vh(e,t,r,n){var a=e&&e[t],o;if(a&&(o=a[r]),o)return o;n(new zI("No ".concat(t," format named: ").concat(r)))}function Ki(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=me({timeZone:t},e[n]),r},{})}function _g(e,t){var r=Object.keys(me(me({},e),t));return r.reduce(function(n,a){return n[a]=me(me({},e[a]||{}),t[a]||{}),n},{})}function wg(e,t){if(!t)return e;var r=mw.formats;return me(me(me({},r),e),{date:_g(Ki(r.date,t),Ki(e.date||{},t)),time:_g(Ki(r.time,t),Ki(e.time||{},t))})}var Ap=function(e,t,r,n,a){var o=e.locale,s=e.formats,i=e.messages,l=e.defaultLocale,u=e.defaultFormats,c=e.fallbackOnEmptyString,d=e.onError,p=e.timeZone,f=e.defaultRichTextElements;r===void 0&&(r={id:""});var h=r.id,m=r.defaultMessage;Q0(!!h,"[@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 w=String(h),E=i&&Object.prototype.hasOwnProperty.call(i,w)&&i[w];if(Array.isArray(E)&&E.length===1&&E[0].type===Ke.literal)return E[0].value;if(!n&&E&&typeof E=="string"&&!f)return E.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=me(me({},f),n||{}),s=wg(s,p),u=wg(u,p),!E){if(c===!1&&E==="")return E;if((!m||o&&o.toLowerCase()!==l.toLowerCase())&&d(new KI(r,o)),m)try{var y=t.getMessageFormat(m,l,u,a);return y.format(n)}catch(T){return d(new vd('Error formatting default message for: "'.concat(w,'", rendering default message verbatim'),o,r,T)),typeof m=="string"?m:w}return w}try{var y=t.getMessageFormat(E,o,s,me({formatters:t},a||{}));return y.format(n)}catch(T){d(new vd('Error formatting message: "'.concat(w,'", using ').concat(m?"default message":"id"," as fallback."),o,r,T))}if(m)try{var y=t.getMessageFormat(m,l,u,a);return y.format(n)}catch(T){d(new vd('Error formatting the default message for: "'.concat(w,'", rendering message verbatim'),o,r,T))}return typeof E=="string"?E:typeof m=="string"?m:w},gw=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function tl(e,t,r,n){var a=e.locale,o=e.formats,s=e.onError,i=e.timeZone;n===void 0&&(n={});var l=n.format,u=me(me({},i&&{timeZone:i}),l&&Vh(o,t,l,s)),c=Ra(n,gw,u);return t==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle&&(c=me(me({},c),{hour:"numeric",minute:"numeric"})),r(a,c)}function ZI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return tl(e,"date",t,s).format(i)}catch(l){e.onError(new sr("Error formatting date.",e.locale,l))}return String(i)}function eN(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return tl(e,"time",t,s).format(i)}catch(l){e.onError(new sr("Error formatting time.",e.locale,l))}return String(i)}function tN(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=r[2],i=s===void 0?{}:s,l=e.timeZone,u=e.locale,c=e.onError,d=Ra(i,gw,l?{timeZone:l}:{});try{return t(u,d).formatRange(a,o)}catch(p){c(new sr("Error formatting date time range.",e.locale,p))}return String(a)}function rN(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return tl(e,"date",t,s).formatToParts(i)}catch(l){e.onError(new sr("Error formatting date.",e.locale,l))}return[]}function nN(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return tl(e,"time",t,s).formatToParts(i)}catch(l){e.onError(new sr("Error formatting time.",e.locale,l))}return[]}var aN=["style","type","fallback","languageDisplay"];function oN(e,t,r,n){var a=e.locale,o=e.onError,s=Intl.DisplayNames;s||o(new Hn(`Intl.DisplayNames is not available in this environment.
81
81
  Try polyfilling it using "@formatjs/intl-displaynames"
82
- `,sr.MISSING_INTL_API));var i=Mn(n,XI);try{return t(a,i).of(r)}catch(l){o(new Dt("Error formatting display name.",a,l))}}var JI=["type","style"],mg=Date.now();function ZI(e){return"".concat(mg,"_").concat(e,"_").concat(mg)}function eN(e,t,r,n){n===void 0&&(n={});var a=uw(e,t,r,n).reduce(function(o,s){var i=s.value;return typeof i!="string"?o.push(i):typeof o[o.length-1]=="string"?o[o.length-1]+=i:o.push(i),o},[]);return a.length===1?a[0]:a.length===0?"":a}function uw(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={});var s=Intl.ListFormat;s||o(new tn(`Intl.ListFormat is not available in this environment.
82
+ `,Dr.MISSING_INTL_API));var i=Ra(n,aN);try{return t(a,i).of(r)}catch(l){o(new sr("Error formatting display name.",a,l))}}var iN=["type","style"],Tg=Date.now();function sN(e){return"".concat(Tg,"_").concat(e,"_").concat(Tg)}function lN(e,t,r,n){n===void 0&&(n={});var a=bw(e,t,r,n).reduce(function(o,s){var i=s.value;return typeof i!="string"?o.push(i):typeof o[o.length-1]=="string"?o[o.length-1]+=i:o.push(i),o},[]);return a.length===1?a[0]:a.length===0?"":a}function bw(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={});var s=Intl.ListFormat;s||o(new Hn(`Intl.ListFormat is not available in this environment.
83
83
  Try polyfilling it using "@formatjs/intl-listformat"
84
- `,sr.MISSING_INTL_API));var i=Mn(n,JI);try{var l={},u=r.map(function(c,d){if(typeof c=="object"){var p=ZI(d);return l[p]=c,p}return String(c)});return t(a,i).formatToParts(u).map(function(c){return c.type==="literal"?c:de(de({},c),{value:l[c.value]||c.value})})}catch(c){o(new Dt("Error formatting list.",a,c))}return r}var tN=["type"];function rN(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={}),Intl.PluralRules||o(new tn(`Intl.PluralRules is not available in this environment.
84
+ `,Dr.MISSING_INTL_API));var i=Ra(n,iN);try{var l={},u=r.map(function(c,d){if(typeof c=="object"){var p=sN(d);return l[p]=c,p}return String(c)});return t(a,i).formatToParts(u).map(function(c){return c.type==="literal"?c:me(me({},c),{value:l[c.value]||c.value})})}catch(c){o(new sr("Error formatting list.",a,c))}return r}var uN=["type"];function cN(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={}),Intl.PluralRules||o(new Hn(`Intl.PluralRules is not available in this environment.
85
85
  Try polyfilling it using "@formatjs/intl-pluralrules"
86
- `,sr.MISSING_INTL_API));var s=Mn(n,tN);try{return t(a,s).select(r)}catch(i){o(new Dt("Error formatting plural.",a,i))}return"other"}var nN=["numeric","style"];function aN(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var s=r.format,i=!!s&&Fh(a,"relative",s,o)||{},l=Mn(r,nN,i);return t(n,l)}function oN(e,t,r,n,a){a===void 0&&(a={}),n||(n="second");var o=Intl.RelativeTimeFormat;o||e.onError(new tn(`Intl.RelativeTimeFormat is not available in this environment.
86
+ `,Dr.MISSING_INTL_API));var s=Ra(n,uN);try{return t(a,s).select(r)}catch(i){o(new sr("Error formatting plural.",a,i))}return"other"}var fN=["numeric","style"];function dN(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var s=r.format,i=!!s&&Vh(a,"relative",s,o)||{},l=Ra(r,fN,i);return t(n,l)}function pN(e,t,r,n,a){a===void 0&&(a={}),n||(n="second");var o=Intl.RelativeTimeFormat;o||e.onError(new Hn(`Intl.RelativeTimeFormat is not available in this environment.
87
87
  Try polyfilling it using "@formatjs/intl-relativetimeformat"
88
- `,sr.MISSING_INTL_API));try{return aN(e,t,a).format(r,n)}catch(s){e.onError(new Dt("Error formatting relative time.",e.locale,s))}return String(r)}var iN=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function cw(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var s=r.format,i=s&&Fh(a,"number",s,o)||{},l=Mn(r,iN,i);return t(n,l)}function sN(e,t,r,n){n===void 0&&(n={});try{return cw(e,t,n).format(r)}catch(a){e.onError(new Dt("Error formatting number.",e.locale,a))}return String(r)}function lN(e,t,r,n){n===void 0&&(n={});try{return cw(e,t,n).formatToParts(r)}catch(a){e.onError(new Dt("Error formatting number.",e.locale,a))}return[]}function uN(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function cN(e){e.onWarn&&e.defaultRichTextElements&&uN(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
88
+ `,Dr.MISSING_INTL_API));try{return dN(e,t,a).format(r,n)}catch(s){e.onError(new sr("Error formatting relative time.",e.locale,s))}return String(r)}var hN=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Ew(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var s=r.format,i=s&&Vh(a,"number",s,o)||{},l=Ra(r,hN,i);return t(n,l)}function mN(e,t,r,n){n===void 0&&(n={});try{return Ew(e,t,n).format(r)}catch(a){e.onError(new sr("Error formatting number.",e.locale,a))}return String(r)}function yN(e,t,r,n){n===void 0&&(n={});try{return Ew(e,t,n).formatToParts(r)}catch(a){e.onError(new sr("Error formatting number.",e.locale,a))}return[]}function vN(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function gN(e){e.onWarn&&e.defaultRichTextElements&&vN(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
89
89
  Please consider using "@formatjs/cli" to pre-compile your messages for performance.
90
- For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function fN(e,t){var r=GI(t),n=de(de({},iw),e),a=n.locale,o=n.defaultLocale,s=n.onError;return a?!Intl.NumberFormat.supportedLocalesOf(a).length&&s?s(new dg('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&&s&&s(new dg('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'))):(s&&s(new FI('"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"),cN(n),de(de({},n),{formatters:r,formatNumber:sN.bind(null,n,r.getNumberFormat),formatNumberToParts:lN.bind(null,n,r.getNumberFormat),formatRelativeTime:oN.bind(null,n,r.getRelativeTimeFormat),formatDate:WI.bind(null,n,r.getDateTimeFormat),formatDateToParts:YI.bind(null,n,r.getDateTimeFormat),formatTime:VI.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:zI.bind(null,n,r.getDateTimeFormat),formatTimeToParts:KI.bind(null,n,r.getDateTimeFormat),formatPlural:rN.bind(null,n,r.getPluralRules),formatMessage:Sp.bind(null,n,r),$t:Sp.bind(null,n,r),formatList:eN.bind(null,n,r.getListFormat),formatListToParts:uw.bind(null,n,r.getListFormat),formatDisplayName:QI.bind(null,n,r.getDisplayNames)})}function fw(e){j0(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var dw=de(de({},iw),{textComponent:Ae.Fragment});function dN(e){return function(t){return e(Ae.Children.toArray(t))}}function Rp(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 s=r[o];if(e[s]!==t[s]||!Object.prototype.hasOwnProperty.call(t,s))return!1}return!0}var jh=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=Ae.createContext(null)):Ae.createContext(null);jh.Consumer;var pN=jh.Provider,hN=pN,mN=jh;function Ze(){var e=Ae.useContext(mN);return fw(e),e}var Cp;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(Cp||(Cp={}));var Op;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(Op||(Op={}));function pw(e){var t=function(r){var n=Ze(),a=r.value,o=r.children,s=va(r,["value","children"]),i=typeof a=="string"?new Date(a||0):a,l=e==="formatDate"?n.formatDateToParts(i,s):n.formatTimeToParts(i,s);return o(l)};return t.displayName=Op[e],t}function zo(e){var t=function(r){var n=Ze(),a=r.value,o=r.children,s=va(r,["value","children"]),i=n[e](a,s);if(typeof o=="function")return o(i);var l=n.textComponent||Ae.Fragment;return Ae.createElement(l,null,i)};return t.displayName=Cp[e],t}function dd(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 hw(e){return e&&Object.keys(e).reduce(function(t,r){var n=e[r];return t[r]=aw(n)?dN(n):n,t},{})}var yg=function(e,t,r,n){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];var s=hw(n),i=Sp.apply(void 0,ir([e,t,r,s],a,!1));return Array.isArray(i)?Ae.Children.toArray(i):i},xp=function(e,t){var r=e.defaultRichTextElements,n=va(e,["defaultRichTextElements"]),a=hw(r),o=fN(de(de(de({},dw),n),{defaultRichTextElements:a}),t),s={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 de(de({},o),{formatMessage:yg.bind(null,s,o.formatters),$t:yg.bind(null,s,o.formatters)})},yN=function(e){qt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.cache=sw(),r.state={cache:r.cache,intl:xp(dd(r.props),r.cache),prevConfig:dd(r.props)},r}return t.getDerivedStateFromProps=function(r,n){var a=n.prevConfig,o=n.cache,s=dd(r);return Rp(a,s)?null:{intl:xp(s,o),prevConfig:s}},t.prototype.render=function(){return fw(this.state.intl),Ae.createElement(hN,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=dw,t}(Ae.PureComponent);function vN(e,t){var r=e.values,n=va(e,["values"]),a=t.values,o=va(t,["values"]);return Rp(a,r)&&Rp(n,o)}function mw(e){var t=Ze(),r=t.formatMessage,n=t.textComponent,a=n===void 0?Ae.Fragment:n,o=e.id,s=e.description,i=e.defaultMessage,l=e.values,u=e.children,c=e.tagName,d=c===void 0?a:c,p=e.ignoreTag,f={id:o,description:s,defaultMessage:i},h=r(f,l,{ignoreTag:p});return typeof u=="function"?u(Array.isArray(h)?h:[h]):d?Ae.createElement(d,null,Ae.Children.toArray(h)):Ae.createElement(Ae.Fragment,null,h)}mw.displayName="FormattedMessage";var yw=Ae.memo(mw,vN);yw.displayName="MemoizedFormattedMessage";const Sn=yw;zo("formatDate");zo("formatTime");zo("formatNumber");zo("formatList");zo("formatDisplayName");pw("formatDate");pw("formatTime");const tt=({children:e,locale:t="en",text:r=!1})=>A.jsx(yN,{locale:t,messages:r||X1[t.replace("-","")],children:e}),gN=(e,t)=>Z.Children.map(e,r=>Z.cloneElement(r,{...t}));var Pp={exports:{}},Ye={};/**
90
+ For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function bN(e,t){var r=JI(t),n=me(me({},yw),e),a=n.locale,o=n.defaultLocale,s=n.onError;return a?!Intl.NumberFormat.supportedLocalesOf(a).length&&s?s(new Eg('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&&s&&s(new Eg('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'))):(s&&s(new YI('"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"),gN(n),me(me({},n),{formatters:r,formatNumber:mN.bind(null,n,r.getNumberFormat),formatNumberToParts:yN.bind(null,n,r.getNumberFormat),formatRelativeTime:pN.bind(null,n,r.getRelativeTimeFormat),formatDate:ZI.bind(null,n,r.getDateTimeFormat),formatDateToParts:rN.bind(null,n,r.getDateTimeFormat),formatTime:eN.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:tN.bind(null,n,r.getDateTimeFormat),formatTimeToParts:nN.bind(null,n,r.getDateTimeFormat),formatPlural:cN.bind(null,n,r.getPluralRules),formatMessage:Ap.bind(null,n,r),$t:Ap.bind(null,n,r),formatList:lN.bind(null,n,r.getListFormat),formatListToParts:bw.bind(null,n,r.getListFormat),formatDisplayName:oN.bind(null,n,r.getDisplayNames)})}function _w(e){Q0(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var ww=me(me({},yw),{textComponent:Be.Fragment});function EN(e){return function(t){return e(Be.Children.toArray(t))}}function Ip(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 s=r[o];if(e[s]!==t[s]||!Object.prototype.hasOwnProperty.call(t,s))return!1}return!0}var zh=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=Be.createContext(null)):Be.createContext(null);zh.Consumer;var _N=zh.Provider,wN=_N,TN=zh;function Ze(){var e=Be.useContext(TN);return _w(e),e}var Np;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(Np||(Np={}));var Mp;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(Mp||(Mp={}));function Tw(e){var t=function(r){var n=Ze(),a=r.value,o=r.children,s=ro(r,["value","children"]),i=typeof a=="string"?new Date(a||0):a,l=e==="formatDate"?n.formatDateToParts(i,s):n.formatTimeToParts(i,s);return o(l)};return t.displayName=Mp[e],t}function Ei(e){var t=function(r){var n=Ze(),a=r.value,o=r.children,s=ro(r,["value","children"]),i=n[e](a,s);if(typeof o=="function")return o(i);var l=n.textComponent||Be.Fragment;return Be.createElement(l,null,i)};return t.displayName=Np[e],t}function gd(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 Sw(e){return e&&Object.keys(e).reduce(function(t,r){var n=e[r];return t[r]=hw(n)?EN(n):n,t},{})}var Sg=function(e,t,r,n){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];var s=Sw(n),i=Ap.apply(void 0,Br([e,t,r,s],a,!1));return Array.isArray(i)?Be.Children.toArray(i):i},$p=function(e,t){var r=e.defaultRichTextElements,n=ro(e,["defaultRichTextElements"]),a=Sw(r),o=bN(me(me(me({},ww),n),{defaultRichTextElements:a}),t),s={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 me(me({},o),{formatMessage:Sg.bind(null,s,o.formatters),$t:Sg.bind(null,s,o.formatters)})},SN=function(e){ir(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.cache=vw(),r.state={cache:r.cache,intl:$p(gd(r.props),r.cache),prevConfig:gd(r.props)},r}return t.getDerivedStateFromProps=function(r,n){var a=n.prevConfig,o=n.cache,s=gd(r);return Ip(a,s)?null:{intl:$p(s,o),prevConfig:s}},t.prototype.render=function(){return _w(this.state.intl),Be.createElement(wN,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=ww,t}(Be.PureComponent);function RN(e,t){var r=e.values,n=ro(e,["values"]),a=t.values,o=ro(t,["values"]);return Ip(a,r)&&Ip(n,o)}function Rw(e){var t=Ze(),r=t.formatMessage,n=t.textComponent,a=n===void 0?Be.Fragment:n,o=e.id,s=e.description,i=e.defaultMessage,l=e.values,u=e.children,c=e.tagName,d=c===void 0?a:c,p=e.ignoreTag,f={id:o,description:s,defaultMessage:i},h=r(f,l,{ignoreTag:p});return typeof u=="function"?u(Array.isArray(h)?h:[h]):d?Be.createElement(d,null,Be.Children.toArray(h)):Be.createElement(Be.Fragment,null,h)}Rw.displayName="FormattedMessage";var Cw=Be.memo(Rw,RN);Cw.displayName="MemoizedFormattedMessage";const ma=Cw;Ei("formatDate");Ei("formatTime");Ei("formatNumber");Ei("formatList");Ei("formatDisplayName");Tw("formatDate");Tw("formatTime");const ot=({children:e,locale:t="en",text:r=!1})=>A.jsx(SN,{locale:t,messages:r||aI[t.replace("-","")],children:e}),CN=(e,t)=>Q.Children.map(e,r=>Q.cloneElement(r,{...t}));var kp={exports:{}},ut={};/**
91
91
  * @license React
92
92
  * react-dom-test-utils.production.min.js
93
93
  *
@@ -95,7 +95,7 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi
95
95
  *
96
96
  * This source code is licensed under the MIT license found in the
97
97
  * LICENSE file in the root directory of this source tree.
98
- */var vg;function bN(){if(vg)return Ye;vg=1;var e=Z,t=vh;function r(E){var x=E,P=E;if(E.alternate)for(;x.return;)x=x.return;else{E=x;do x=E,x.flags&4098&&(P=x.return),E=x.return;while(E)}return x.tag===3?P:null}function n(E){if(r(E)!==E)throw Error("Unable to find node on an unmounted component.")}function a(E){var x=E.alternate;if(!x){if(x=r(E),x===null)throw Error("Unable to find node on an unmounted component.");return x!==E?null:E}for(var P=E,q=x;;){var oe=P.return;if(oe===null)break;var he=oe.alternate;if(he===null){if(q=oe.return,q!==null){P=q;continue}break}if(oe.child===he.child){for(he=oe.child;he;){if(he===P)return n(oe),E;if(he===q)return n(oe),x;he=he.sibling}throw Error("Unable to find node on an unmounted component.")}if(P.return!==q.return)P=oe,q=he;else{for(var ue=!1,pe=oe.child;pe;){if(pe===P){ue=!0,P=oe,q=he;break}if(pe===q){ue=!0,q=oe,P=he;break}pe=pe.sibling}if(!ue){for(pe=he.child;pe;){if(pe===P){ue=!0,P=he,q=oe;break}if(pe===q){ue=!0,q=he,P=oe;break}pe=pe.sibling}if(!ue)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(P.alternate!==q)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(P.tag!==3)throw Error("Unable to find node on an unmounted component.");return P.stateNode.current===P?E:x}var o=Object.assign;function s(E){var x=E.keyCode;return"charCode"in E?(E=E.charCode,E===0&&x===13&&(E=13)):E=x,E===10&&(E=13),32<=E||E===13?E:0}function i(){return!0}function l(){return!1}function u(E){function x(P,q,oe,he,ue){this._reactName=P,this._targetInst=oe,this.type=q,this.nativeEvent=he,this.target=ue,this.currentTarget=null;for(var pe in E)E.hasOwnProperty(pe)&&(P=E[pe],this[pe]=P?P(he):he[pe]);return this.isDefaultPrevented=(he.defaultPrevented!=null?he.defaultPrevented:he.returnValue===!1)?i:l,this.isPropagationStopped=l,this}return o(x.prototype,{preventDefault:function(){this.defaultPrevented=!0;var P=this.nativeEvent;P&&(P.preventDefault?P.preventDefault():typeof P.returnValue!="unknown"&&(P.returnValue=!1),this.isDefaultPrevented=i)},stopPropagation:function(){var P=this.nativeEvent;P&&(P.stopPropagation?P.stopPropagation():typeof P.cancelBubble!="unknown"&&(P.cancelBubble=!0),this.isPropagationStopped=i)},persist:function(){},isPersistent:i}),x}var c={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(E){return E.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},d=u(c),p=o({},c,{view:0,detail:0});u(p);var f,h,m,_=o({},p,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:G,button:0,buttons:0,relatedTarget:function(E){return E.relatedTarget===void 0?E.fromElement===E.srcElement?E.toElement:E.fromElement:E.relatedTarget},movementX:function(E){return"movementX"in E?E.movementX:(E!==m&&(m&&E.type==="mousemove"?(f=E.screenX-m.screenX,h=E.screenY-m.screenY):h=f=0,m=E),f)},movementY:function(E){return"movementY"in E?E.movementY:h}});u(_);var b=o({},_,{dataTransfer:0});u(b);var v=o({},p,{relatedTarget:0});u(v);var w=o({},c,{animationName:0,elapsedTime:0,pseudoElement:0});u(w);var S=o({},c,{clipboardData:function(E){return"clipboardData"in E?E.clipboardData:window.clipboardData}});u(S);var T=o({},c,{data:0});u(T);var C={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},I={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"},N={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function U(E){var x=this.nativeEvent;return x.getModifierState?x.getModifierState(E):(E=N[E])?!!x[E]:!1}function G(){return U}var W=o({},p,{key:function(E){if(E.key){var x=C[E.key]||E.key;if(x!=="Unidentified")return x}return E.type==="keypress"?(E=s(E),E===13?"Enter":String.fromCharCode(E)):E.type==="keydown"||E.type==="keyup"?I[E.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:G,charCode:function(E){return E.type==="keypress"?s(E):0},keyCode:function(E){return E.type==="keydown"||E.type==="keyup"?E.keyCode:0},which:function(E){return E.type==="keypress"?s(E):E.type==="keydown"||E.type==="keyup"?E.keyCode:0}});u(W);var j=o({},_,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});u(j);var D=o({},p,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:G});u(D);var Q=o({},c,{propertyName:0,elapsedTime:0,pseudoElement:0});u(Q);var J=o({},_,{deltaX:function(E){return"deltaX"in E?E.deltaX:"wheelDeltaX"in E?-E.wheelDeltaX:0},deltaY:function(E){return"deltaY"in E?E.deltaY:"wheelDeltaY"in E?-E.wheelDeltaY:"wheelDelta"in E?-E.wheelDelta:0},deltaZ:0,deltaMode:0});u(J);function $(E,x,P,q,oe,he,ue,pe,Ee){var ht=Array.prototype.slice.call(arguments,3);try{x.apply(P,ht)}catch(dr){this.onError(dr)}}var V=!1,ee=null,ve=!1,te=null,ne={onError:function(E){V=!0,ee=E}};function me(E,x,P,q,oe,he,ue,pe,Ee){V=!1,ee=null,$.apply(ne,arguments)}function ge(E,x,P,q,oe,he,ue,pe,Ee){if(me.apply(this,arguments),V){if(V){var ht=ee;V=!1,ee=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.");ve||(ve=!0,te=ht)}}var We=Array.isArray,ie=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,le=ie[0],xe=ie[1],qe=ie[2],it=ie[3],ft=ie[4],ce=e.unstable_act;function se(){}function He(E,x){if(!E)return[];if(E=a(E),!E)return[];for(var P=E,q=[];;){if(P.tag===5||P.tag===6||P.tag===1||P.tag===0){var oe=P.stateNode;x(oe)&&q.push(oe)}if(P.child)P.child.return=P,P=P.child;else{if(P===E)return q;for(;!P.sibling;){if(!P.return||P.return===E)return q;P=P.return}P.sibling.return=P.return,P=P.sibling}}}function Ie(E,x){if(E&&!E._reactInternals){var P=String(E);throw E=We(E)?"an array":E&&E.nodeType===1&&E.tagName?"a DOM node":P==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":P,Error(x+"(...): the first argument must be a React class instance. Instead received: "+(E+"."))}}function dt(E){return!(!E||E.nodeType!==1||!E.tagName)}function st(E){return dt(E)?!1:E!=null&&typeof E.render=="function"&&typeof E.setState=="function"}function pt(E,x){return st(E)?E._reactInternals.type===x:!1}function Xe(E,x){return Ie(E,"findAllInRenderedTree"),E?He(E._reactInternals,x):[]}function Nt(E,x){return Ie(E,"scryRenderedDOMComponentsWithClass"),Xe(E,function(P){if(dt(P)){var q=P.className;typeof q!="string"&&(q=P.getAttribute("class")||"");var oe=q.split(/\s+/);if(!We(x)){if(x===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");x=x.split(/\s+/)}return x.every(function(he){return oe.indexOf(he)!==-1})}return!1})}function Rt(E,x){return Ie(E,"scryRenderedDOMComponentsWithTag"),Xe(E,function(P){return dt(P)&&P.tagName.toUpperCase()===x.toUpperCase()})}function _t(E,x){return Ie(E,"scryRenderedComponentsWithType"),Xe(E,function(P){return pt(P,x)})}function ze(E,x,P){var q=E.type||"unknown-event";E.currentTarget=xe(P),ge(q,x,void 0,E),E.currentTarget=null}function Ct(E,x,P){for(var q=[];E;){q.push(E);do E=E.return;while(E&&E.tag!==5);E=E||null}for(E=q.length;0<E--;)x(q[E],"captured",P);for(E=0;E<q.length;E++)x(q[E],"bubbled",P)}function rt(E,x){var P=E.stateNode;if(!P)return null;var q=qe(P);if(!q)return null;P=q[x];e:switch(x){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(q=!q.disabled)||(E=E.type,q=!(E==="button"||E==="input"||E==="select"||E==="textarea")),E=!q;break e;default:E=!1}if(E)return null;if(P&&typeof P!="function")throw Error("Expected `"+x+"` listener to be a function, instead got a value of `"+typeof P+"` type.");return P}function et(E,x,P){E&&P&&P._reactName&&(x=rt(E,P._reactName))&&(P._dispatchListeners==null&&(P._dispatchListeners=[]),P._dispatchInstances==null&&(P._dispatchInstances=[]),P._dispatchListeners.push(x),P._dispatchInstances.push(E))}function jt(E,x,P){var q=P._reactName;x==="captured"&&(q+="Capture"),(x=rt(E,q))&&(P._dispatchListeners==null&&(P._dispatchListeners=[]),P._dispatchInstances==null&&(P._dispatchInstances=[]),P._dispatchListeners.push(x),P._dispatchInstances.push(E))}var R={},y=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function g(E){return function(x,P){if(e.isValidElement(x))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(st(x))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 q="on"+E[0].toUpperCase()+E.slice(1),oe=new se;oe.target=x,oe.type=E.toLowerCase();var he=le(x),ue=new d(q,oe.type,he,oe,x);ue.persist(),o(ue,P),y.has(E)?ue&&ue._reactName&&et(ue._targetInst,null,ue):ue&&ue._reactName&&Ct(ue._targetInst,jt,ue),t.unstable_batchedUpdates(function(){if(it(x),ue){var pe=ue._dispatchListeners,Ee=ue._dispatchInstances;if(We(pe))for(var ht=0;ht<pe.length&&!ue.isPropagationStopped();ht++)ze(ue,pe[ht],Ee[ht]);else pe&&ze(ue,pe,Ee);ue._dispatchListeners=null,ue._dispatchInstances=null,ue.isPersistent()||ue.constructor.release(ue)}if(ve)throw pe=te,ve=!1,te=null,pe}),ft()}}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(E){R[E]=g(E)}),Ye.Simulate=R,Ye.act=ce,Ye.findAllInRenderedTree=Xe,Ye.findRenderedComponentWithType=function(E,x){if(Ie(E,"findRenderedComponentWithType"),E=_t(E,x),E.length!==1)throw Error("Did not find exactly one match (found: "+E.length+") for componentType:"+x);return E[0]},Ye.findRenderedDOMComponentWithClass=function(E,x){if(Ie(E,"findRenderedDOMComponentWithClass"),E=Nt(E,x),E.length!==1)throw Error("Did not find exactly one match (found: "+E.length+") for class:"+x);return E[0]},Ye.findRenderedDOMComponentWithTag=function(E,x){if(Ie(E,"findRenderedDOMComponentWithTag"),E=Rt(E,x),E.length!==1)throw Error("Did not find exactly one match (found: "+E.length+") for tag:"+x);return E[0]},Ye.isCompositeComponent=st,Ye.isCompositeComponentWithType=pt,Ye.isDOMComponent=dt,Ye.isDOMComponentElement=function(E){return!!(E&&e.isValidElement(E)&&E.tagName)},Ye.isElement=function(E){return e.isValidElement(E)},Ye.isElementOfType=function(E,x){return e.isValidElement(E)&&E.type===x},Ye.mockComponent=function(E,x){return x=x||E.mockTagName||"div",E.prototype.render.mockImplementation(function(){return e.createElement(x,null,this.props.children)}),this},Ye.nativeTouchData=function(E,x){return{touches:[{pageX:E,pageY:x}]}},Ye.renderIntoDocument=function(E){var x=document.createElement("div");return t.render(E,x)},Ye.scryRenderedComponentsWithType=_t,Ye.scryRenderedDOMComponentsWithClass=Nt,Ye.scryRenderedDOMComponentsWithTag=Rt,Ye.traverseTwoPhase=Ct,Ye}var Ke={};/**
98
+ */var Rg;function xN(){if(Rg)return ut;Rg=1;var e=Q,t=Th;function r(_){var P=_,I=_;if(_.alternate)for(;P.return;)P=P.return;else{_=P;do P=_,P.flags&4098&&(I=P.return),_=P.return;while(_)}return P.tag===3?I:null}function n(_){if(r(_)!==_)throw Error("Unable to find node on an unmounted component.")}function a(_){var P=_.alternate;if(!P){if(P=r(_),P===null)throw Error("Unable to find node on an unmounted component.");return P!==_?null:_}for(var I=_,F=P;;){var ie=I.return;if(ie===null)break;var de=ie.alternate;if(de===null){if(F=ie.return,F!==null){I=F;continue}break}if(ie.child===de.child){for(de=ie.child;de;){if(de===I)return n(ie),_;if(de===F)return n(ie),P;de=de.sibling}throw Error("Unable to find node on an unmounted component.")}if(I.return!==F.return)I=ie,F=de;else{for(var ce=!1,he=ie.child;he;){if(he===I){ce=!0,I=ie,F=de;break}if(he===F){ce=!0,F=ie,I=de;break}he=he.sibling}if(!ce){for(he=de.child;he;){if(he===I){ce=!0,I=de,F=ie;break}if(he===F){ce=!0,F=de,I=ie;break}he=he.sibling}if(!ce)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(I.alternate!==F)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(I.tag!==3)throw Error("Unable to find node on an unmounted component.");return I.stateNode.current===I?_:P}var o=Object.assign;function s(_){var P=_.keyCode;return"charCode"in _?(_=_.charCode,_===0&&P===13&&(_=13)):_=P,_===10&&(_=13),32<=_||_===13?_:0}function i(){return!0}function l(){return!1}function u(_){function P(I,F,ie,de,ce){this._reactName=I,this._targetInst=ie,this.type=F,this.nativeEvent=de,this.target=ce,this.currentTarget=null;for(var he in _)_.hasOwnProperty(he)&&(I=_[he],this[he]=I?I(de):de[he]);return this.isDefaultPrevented=(de.defaultPrevented!=null?de.defaultPrevented:de.returnValue===!1)?i:l,this.isPropagationStopped=l,this}return o(P.prototype,{preventDefault:function(){this.defaultPrevented=!0;var I=this.nativeEvent;I&&(I.preventDefault?I.preventDefault():typeof I.returnValue!="unknown"&&(I.returnValue=!1),this.isDefaultPrevented=i)},stopPropagation:function(){var I=this.nativeEvent;I&&(I.stopPropagation?I.stopPropagation():typeof I.cancelBubble!="unknown"&&(I.cancelBubble=!0),this.isPropagationStopped=i)},persist:function(){},isPersistent:i}),P}var c={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(_){return _.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},d=u(c),p=o({},c,{view:0,detail:0});u(p);var f,h,m,w=o({},p,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:G,button:0,buttons:0,relatedTarget:function(_){return _.relatedTarget===void 0?_.fromElement===_.srcElement?_.toElement:_.fromElement:_.relatedTarget},movementX:function(_){return"movementX"in _?_.movementX:(_!==m&&(m&&_.type==="mousemove"?(f=_.screenX-m.screenX,h=_.screenY-m.screenY):h=f=0,m=_),f)},movementY:function(_){return"movementY"in _?_.movementY:h}});u(w);var E=o({},w,{dataTransfer:0});u(E);var y=o({},p,{relatedTarget:0});u(y);var T=o({},c,{animationName:0,elapsedTime:0,pseudoElement:0});u(T);var R=o({},c,{clipboardData:function(_){return"clipboardData"in _?_.clipboardData:window.clipboardData}});u(R);var S=o({},c,{data:0});u(S);var O={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},N={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"},M={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function H(_){var P=this.nativeEvent;return P.getModifierState?P.getModifierState(_):(_=M[_])?!!P[_]:!1}function G(){return H}var W=o({},p,{key:function(_){if(_.key){var P=O[_.key]||_.key;if(P!=="Unidentified")return P}return _.type==="keypress"?(_=s(_),_===13?"Enter":String.fromCharCode(_)):_.type==="keydown"||_.type==="keyup"?N[_.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:G,charCode:function(_){return _.type==="keypress"?s(_):0},keyCode:function(_){return _.type==="keydown"||_.type==="keyup"?_.keyCode:0},which:function(_){return _.type==="keypress"?s(_):_.type==="keydown"||_.type==="keyup"?_.keyCode:0}});u(W);var U=o({},w,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});u(U);var j=o({},p,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:G});u(j);var Z=o({},c,{propertyName:0,elapsedTime:0,pseudoElement:0});u(Z);var ee=o({},w,{deltaX:function(_){return"deltaX"in _?_.deltaX:"wheelDeltaX"in _?-_.wheelDeltaX:0},deltaY:function(_){return"deltaY"in _?_.deltaY:"wheelDeltaY"in _?-_.wheelDeltaY:"wheelDelta"in _?-_.wheelDelta:0},deltaZ:0,deltaMode:0});u(ee);function L(_,P,I,F,ie,de,ce,he,_e){var Xe=Array.prototype.slice.call(arguments,3);try{P.apply(I,Xe)}catch(Jt){this.onError(Jt)}}var K=!1,re=null,ge=!1,ne=null,oe={onError:function(_){K=!0,re=_}};function ve(_,P,I,F,ie,de,ce,he,_e){K=!1,re=null,L.apply(oe,arguments)}function Ee(_,P,I,F,ie,de,ce,he,_e){if(ve.apply(this,arguments),K){if(K){var Xe=re;K=!1,re=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.");ge||(ge=!0,ne=Xe)}}var ze=Array.isArray,te=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,ue=te[0],Me=te[1],xe=te[2],ft=te[3],pt=te[4],fe=e.unstable_act;function le(){}function Ge(_,P){if(!_)return[];if(_=a(_),!_)return[];for(var I=_,F=[];;){if(I.tag===5||I.tag===6||I.tag===1||I.tag===0){var ie=I.stateNode;P(ie)&&F.push(ie)}if(I.child)I.child.return=I,I=I.child;else{if(I===_)return F;for(;!I.sibling;){if(!I.return||I.return===_)return F;I=I.return}I.sibling.return=I.return,I=I.sibling}}}function $e(_,P){if(_&&!_._reactInternals){var I=String(_);throw _=ze(_)?"an array":_&&_.nodeType===1&&_.tagName?"a DOM node":I==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":I,Error(P+"(...): the first argument must be a React class instance. Instead received: "+(_+"."))}}function gt(_){return!(!_||_.nodeType!==1||!_.tagName)}function ht(_){return gt(_)?!1:_!=null&&typeof _.render=="function"&&typeof _.setState=="function"}function bt(_,P){return ht(_)?_._reactInternals.type===P:!1}function et(_,P){return $e(_,"findAllInRenderedTree"),_?Ge(_._reactInternals,P):[]}function Ft(_,P){return $e(_,"scryRenderedDOMComponentsWithClass"),et(_,function(I){if(gt(I)){var F=I.className;typeof F!="string"&&(F=I.getAttribute("class")||"");var ie=F.split(/\s+/);if(!ze(P)){if(P===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");P=P.split(/\s+/)}return P.every(function(de){return ie.indexOf(de)!==-1})}return!1})}function At(_,P){return $e(_,"scryRenderedDOMComponentsWithTag"),et(_,function(I){return gt(I)&&I.tagName.toUpperCase()===P.toUpperCase()})}function Ct(_,P){return $e(_,"scryRenderedComponentsWithType"),et(_,function(I){return bt(I,P)})}function Je(_,P,I){var F=_.type||"unknown-event";_.currentTarget=Me(I),Ee(F,P,void 0,_),_.currentTarget=null}function It(_,P,I){for(var F=[];_;){F.push(_);do _=_.return;while(_&&_.tag!==5);_=_||null}for(_=F.length;0<_--;)P(F[_],"captured",I);for(_=0;_<F.length;_++)P(F[_],"bubbled",I)}function dt(_,P){var I=_.stateNode;if(!I)return null;var F=xe(I);if(!F)return null;I=F[P];e:switch(P){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(F=!F.disabled)||(_=_.type,F=!(_==="button"||_==="input"||_==="select"||_==="textarea")),_=!F;break e;default:_=!1}if(_)return null;if(I&&typeof I!="function")throw Error("Expected `"+P+"` listener to be a function, instead got a value of `"+typeof I+"` type.");return I}function it(_,P,I){_&&I&&I._reactName&&(P=dt(_,I._reactName))&&(I._dispatchListeners==null&&(I._dispatchListeners=[]),I._dispatchInstances==null&&(I._dispatchInstances=[]),I._dispatchListeners.push(P),I._dispatchInstances.push(_))}function Wt(_,P,I){var F=I._reactName;P==="captured"&&(F+="Capture"),(P=dt(_,F))&&(I._dispatchListeners==null&&(I._dispatchListeners=[]),I._dispatchInstances==null&&(I._dispatchInstances=[]),I._dispatchListeners.push(P),I._dispatchInstances.push(_))}var C={},v=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function b(_){return function(P,I){if(e.isValidElement(P))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(ht(P))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 F="on"+_[0].toUpperCase()+_.slice(1),ie=new le;ie.target=P,ie.type=_.toLowerCase();var de=ue(P),ce=new d(F,ie.type,de,ie,P);ce.persist(),o(ce,I),v.has(_)?ce&&ce._reactName&&it(ce._targetInst,null,ce):ce&&ce._reactName&&It(ce._targetInst,Wt,ce),t.unstable_batchedUpdates(function(){if(ft(P),ce){var he=ce._dispatchListeners,_e=ce._dispatchInstances;if(ze(he))for(var Xe=0;Xe<he.length&&!ce.isPropagationStopped();Xe++)Je(ce,he[Xe],_e[Xe]);else he&&Je(ce,he,_e);ce._dispatchListeners=null,ce._dispatchInstances=null,ce.isPersistent()||ce.constructor.release(ce)}if(ge)throw he=ne,ge=!1,ne=null,he}),pt()}}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(_){C[_]=b(_)}),ut.Simulate=C,ut.act=fe,ut.findAllInRenderedTree=et,ut.findRenderedComponentWithType=function(_,P){if($e(_,"findRenderedComponentWithType"),_=Ct(_,P),_.length!==1)throw Error("Did not find exactly one match (found: "+_.length+") for componentType:"+P);return _[0]},ut.findRenderedDOMComponentWithClass=function(_,P){if($e(_,"findRenderedDOMComponentWithClass"),_=Ft(_,P),_.length!==1)throw Error("Did not find exactly one match (found: "+_.length+") for class:"+P);return _[0]},ut.findRenderedDOMComponentWithTag=function(_,P){if($e(_,"findRenderedDOMComponentWithTag"),_=At(_,P),_.length!==1)throw Error("Did not find exactly one match (found: "+_.length+") for tag:"+P);return _[0]},ut.isCompositeComponent=ht,ut.isCompositeComponentWithType=bt,ut.isDOMComponent=gt,ut.isDOMComponentElement=function(_){return!!(_&&e.isValidElement(_)&&_.tagName)},ut.isElement=function(_){return e.isValidElement(_)},ut.isElementOfType=function(_,P){return e.isValidElement(_)&&_.type===P},ut.mockComponent=function(_,P){return P=P||_.mockTagName||"div",_.prototype.render.mockImplementation(function(){return e.createElement(P,null,this.props.children)}),this},ut.nativeTouchData=function(_,P){return{touches:[{pageX:_,pageY:P}]}},ut.renderIntoDocument=function(_){var P=document.createElement("div");return t.render(_,P)},ut.scryRenderedComponentsWithType=Ct,ut.scryRenderedDOMComponentsWithClass=Ft,ut.scryRenderedDOMComponentsWithTag=At,ut.traverseTwoPhase=It,ut}var ct={};/**
99
99
  * @license React
100
100
  * react-dom-test-utils.development.js
101
101
  *
@@ -103,47 +103,47 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi
103
103
  *
104
104
  * This source code is licensed under the MIT license found in the
105
105
  * LICENSE file in the root directory of this source tree.
106
- */var gg;function EN(){return gg||(gg=1,process.env.NODE_ENV!=="production"&&function(){var e=Z,t=vh,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(M){{for(var Y=arguments.length,z=new Array(Y>1?Y-1:0),X=1;X<Y;X++)z[X-1]=arguments[X];o("warn",M,z)}}function a(M){{for(var Y=arguments.length,z=new Array(Y>1?Y-1:0),X=1;X<Y;X++)z[X-1]=arguments[X];o("error",M,z)}}function o(M,Y,z){{var X=r.ReactDebugCurrentFrame,ye=X.getStackAddendum();ye!==""&&(Y+="%s",z=z.concat([ye]));var we=z.map(function(De){return String(De)});we.unshift("Warning: "+Y),Function.prototype.apply.call(console[M],console,we)}}function s(M){return M._reactInternals}var i=0,l=1,u=3,c=5,d=6,p=0,f=2,h=4096;r.ReactCurrentOwner;function m(M){var Y=M,z=M;if(M.alternate)for(;Y.return;)Y=Y.return;else{var X=Y;do Y=X,(Y.flags&(f|h))!==p&&(z=Y.return),X=Y.return;while(X)}return Y.tag===u?z:null}function _(M){if(m(M)!==M)throw new Error("Unable to find node on an unmounted component.")}function b(M){var Y=M.alternate;if(!Y){var z=m(M);if(z===null)throw new Error("Unable to find node on an unmounted component.");return z!==M?null:M}for(var X=M,ye=Y;;){var we=X.return;if(we===null)break;var De=we.alternate;if(De===null){var mt=we.return;if(mt!==null){X=ye=mt;continue}break}if(we.child===De.child){for(var yt=we.child;yt;){if(yt===X)return _(we),M;if(yt===ye)return _(we),Y;yt=yt.sibling}throw new Error("Unable to find node on an unmounted component.")}if(X.return!==ye.return)X=we,ye=De;else{for(var lt=!1,Qe=we.child;Qe;){if(Qe===X){lt=!0,X=we,ye=De;break}if(Qe===ye){lt=!0,ye=we,X=De;break}Qe=Qe.sibling}if(!lt){for(Qe=De.child;Qe;){if(Qe===X){lt=!0,X=De,ye=we;break}if(Qe===ye){lt=!0,ye=De,X=we;break}Qe=Qe.sibling}if(!lt)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(X.alternate!==ye)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(X.tag!==u)throw new Error("Unable to find node on an unmounted component.");return X.stateNode.current===X?M:Y}var v=Object.assign;function w(M){var Y,z=M.keyCode;return"charCode"in M?(Y=M.charCode,Y===0&&z===13&&(Y=13)):Y=z,Y===10&&(Y=13),Y>=32||Y===13?Y:0}function S(){return!0}function T(){return!1}function C(M){function Y(z,X,ye,we,De){this._reactName=z,this._targetInst=ye,this.type=X,this.nativeEvent=we,this.target=De,this.currentTarget=null;for(var mt in M)if(M.hasOwnProperty(mt)){var yt=M[mt];yt?this[mt]=yt(we):this[mt]=we[mt]}var lt=we.defaultPrevented!=null?we.defaultPrevented:we.returnValue===!1;return lt?this.isDefaultPrevented=S:this.isDefaultPrevented=T,this.isPropagationStopped=T,this}return v(Y.prototype,{preventDefault:function(){this.defaultPrevented=!0;var z=this.nativeEvent;z&&(z.preventDefault?z.preventDefault():typeof z.returnValue!="unknown"&&(z.returnValue=!1),this.isDefaultPrevented=S)},stopPropagation:function(){var z=this.nativeEvent;z&&(z.stopPropagation?z.stopPropagation():typeof z.cancelBubble!="unknown"&&(z.cancelBubble=!0),this.isPropagationStopped=S)},persist:function(){},isPersistent:S}),Y}var I={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(M){return M.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},N=C(I),U=v({},I,{view:0,detail:0});C(U);var G,W,j;function D(M){M!==j&&(j&&M.type==="mousemove"?(G=M.screenX-j.screenX,W=M.screenY-j.screenY):(G=0,W=0),j=M)}var Q=v({},U,{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(M){return M.relatedTarget===void 0?M.fromElement===M.srcElement?M.toElement:M.fromElement:M.relatedTarget},movementX:function(M){return"movementX"in M?M.movementX:(D(M),G)},movementY:function(M){return"movementY"in M?M.movementY:W}});C(Q);var J=v({},Q,{dataTransfer:0});C(J);var $=v({},U,{relatedTarget:0});C($);var V=v({},I,{animationName:0,elapsedTime:0,pseudoElement:0});C(V);var ee=v({},I,{clipboardData:function(M){return"clipboardData"in M?M.clipboardData:window.clipboardData}});C(ee);var ve=v({},I,{data:0});C(ve);var te={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ne={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 me(M){if(M.key){var Y=te[M.key]||M.key;if(Y!=="Unidentified")return Y}if(M.type==="keypress"){var z=w(M);return z===13?"Enter":String.fromCharCode(z)}return M.type==="keydown"||M.type==="keyup"?ne[M.keyCode]||"Unidentified":""}var ge={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function We(M){var Y=this,z=Y.nativeEvent;if(z.getModifierState)return z.getModifierState(M);var X=ge[M];return X?!!z[X]:!1}function ie(M){return We}var le=v({},U,{key:me,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ie,charCode:function(M){return M.type==="keypress"?w(M):0},keyCode:function(M){return M.type==="keydown"||M.type==="keyup"?M.keyCode:0},which:function(M){return M.type==="keypress"?w(M):M.type==="keydown"||M.type==="keyup"?M.keyCode:0}});C(le);var xe=v({},Q,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});C(xe);var qe=v({},U,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ie});C(qe);var it=v({},I,{propertyName:0,elapsedTime:0,pseudoElement:0});C(it);var ft=v({},Q,{deltaX:function(M){return"deltaX"in M?M.deltaX:"wheelDeltaX"in M?-M.wheelDeltaX:0},deltaY:function(M){return"deltaY"in M?M.deltaY:"wheelDeltaY"in M?-M.wheelDeltaY:"wheelDelta"in M?-M.wheelDelta:0},deltaZ:0,deltaMode:0});C(ft);var ce=1;function se(M,Y,z,X,ye,we,De,mt,yt){var lt=Array.prototype.slice.call(arguments,3);try{Y.apply(z,lt)}catch(Qe){this.onError(Qe)}}var He=se;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Ie=document.createElement("react");He=function(Y,z,X,ye,we,De,mt,yt,lt){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 Qe=document.createEvent("Event"),fn=!1,Ir=!0,Ga=window.event,Vn=Object.getOwnPropertyDescriptor(window,"event");function zn(){Ie.removeEventListener(hr,Kn,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Ga)}var Yn=Array.prototype.slice.call(arguments,3);function Kn(){fn=!0,zn(),z.apply(X,Yn),Ir=!1}var $t,Xn=!1,dn=!1;function Qn(Wt){if($t=Wt.error,Xn=!0,$t===null&&Wt.colno===0&&Wt.lineno===0&&(dn=!0),Wt.defaultPrevented&&$t!=null&&typeof $t=="object")try{$t._suppressLogging=!0}catch{}}var hr="react-"+(Y||"invokeguardedcallback");if(window.addEventListener("error",Qn),Ie.addEventListener(hr,Kn,!1),Qe.initEvent(hr,!1,!1),Ie.dispatchEvent(Qe),Vn&&Object.defineProperty(window,"event",Vn),fn&&Ir&&(Xn?dn&&($t=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.")):$t=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($t)),window.removeEventListener("error",Qn),!fn)return zn(),se.apply(this,arguments)}}var dt=He,st=!1,pt=null,Xe=!1,Nt=null,Rt={onError:function(M){st=!0,pt=M}};function _t(M,Y,z,X,ye,we,De,mt,yt){st=!1,pt=null,dt.apply(Rt,arguments)}function ze(M,Y,z,X,ye,we,De,mt,yt){if(_t.apply(this,arguments),st){var lt=rt();Xe||(Xe=!0,Nt=lt)}}function Ct(){if(Xe){var M=Nt;throw Xe=!1,Nt=null,M}}function rt(){if(st){var M=pt;return st=!1,pt=null,M}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 et=Array.isArray;function jt(M){return et(M)}var R=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=R.Events,g=y[0],E=y[1],x=y[2],P=y[3],q=y[4],oe=e.unstable_act;function he(M){}var ue=!1;function pe(M,Y){if(!M)return[];var z=b(M);if(!z)return[];for(var X=z,ye=[];;){if(X.tag===c||X.tag===d||X.tag===l||X.tag===i){var we=X.stateNode;Y(we)&&ye.push(we)}if(X.child){X.child.return=X,X=X.child;continue}if(X===z)return ye;for(;!X.sibling;){if(!X.return||X.return===z)return ye;X=X.return}X.sibling.return=X.return,X=X.sibling}}function Ee(M,Y){if(M&&!s(M)){var z,X=String(M);throw jt(M)?z="an array":M&&M.nodeType===ce&&M.tagName?z="a DOM node":X==="[object Object]"?z="object with keys {"+Object.keys(M).join(", ")+"}":z=X,new Error(Y+"(...): the first argument must be a React class instance. "+("Instead received: "+z+"."))}}function ht(M){var Y=document.createElement("div");return t.render(M,Y)}function dr(M){return e.isValidElement(M)}function nn(M,Y){return e.isValidElement(M)&&M.type===Y}function Mt(M){return!!(M&&M.nodeType===ce&&M.tagName)}function Ia(M){return!!(M&&e.isValidElement(M)&&M.tagName)}function an(M){return Mt(M)?!1:M!=null&&typeof M.render=="function"&&typeof M.setState=="function"}function jn(M,Y){if(!an(M))return!1;var z=s(M),X=z.type;return X===Y}function Ar(M,Y){if(Ee(M,"findAllInRenderedTree"),!M)return[];var z=s(M);return pe(z,Y)}function Un(M,Y){return Ee(M,"scryRenderedDOMComponentsWithClass"),Ar(M,function(z){if(Mt(z)){var X=z.className;typeof X!="string"&&(X=z.getAttribute("class")||"");var ye=X.split(/\s+/);if(!jt(Y)){if(Y===void 0)throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");Y=Y.split(/\s+/)}return Y.every(function(we){return ye.indexOf(we)!==-1})}return!1})}function Hn(M,Y){Ee(M,"findRenderedDOMComponentWithClass");var z=Un(M,Y);if(z.length!==1)throw new Error("Did not find exactly one match (found: "+z.length+") for class:"+Y);return z[0]}function on(M,Y){return Ee(M,"scryRenderedDOMComponentsWithTag"),Ar(M,function(z){return Mt(z)&&z.tagName.toUpperCase()===Y.toUpperCase()})}function Ut(M,Y){Ee(M,"findRenderedDOMComponentWithTag");var z=on(M,Y);if(z.length!==1)throw new Error("Did not find exactly one match (found: "+z.length+") for tag:"+Y);return z[0]}function Gn(M,Y){return Ee(M,"scryRenderedComponentsWithType"),Ar(M,function(z){return jn(z,Y)})}function Na(M,Y){Ee(M,"findRenderedComponentWithType");var z=Gn(M,Y);if(z.length!==1)throw new Error("Did not find exactly one match (found: "+z.length+") for componentType:"+Y);return z[0]}function Ma(M,Y){return ue||(ue=!0,n(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
106
+ */var Cg;function ON(){return Cg||(Cg=1,process.env.NODE_ENV!=="production"&&function(){var e=Q,t=Th,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n($){{for(var Y=arguments.length,X=new Array(Y>1?Y-1:0),J=1;J<Y;J++)X[J-1]=arguments[J];o("warn",$,X)}}function a($){{for(var Y=arguments.length,X=new Array(Y>1?Y-1:0),J=1;J<Y;J++)X[J-1]=arguments[J];o("error",$,X)}}function o($,Y,X){{var J=r.ReactDebugCurrentFrame,pe=J.getStackAddendum();pe!==""&&(Y+="%s",X=X.concat([pe]));var Se=X.map(function(Fe){return String(Fe)});Se.unshift("Warning: "+Y),Function.prototype.apply.call(console[$],console,Se)}}function s($){return $._reactInternals}var i=0,l=1,u=3,c=5,d=6,p=0,f=2,h=4096;r.ReactCurrentOwner;function m($){var Y=$,X=$;if($.alternate)for(;Y.return;)Y=Y.return;else{var J=Y;do Y=J,(Y.flags&(f|h))!==p&&(X=Y.return),J=Y.return;while(J)}return Y.tag===u?X:null}function w($){if(m($)!==$)throw new Error("Unable to find node on an unmounted component.")}function E($){var Y=$.alternate;if(!Y){var X=m($);if(X===null)throw new Error("Unable to find node on an unmounted component.");return X!==$?null:$}for(var J=$,pe=Y;;){var Se=J.return;if(Se===null)break;var Fe=Se.alternate;if(Fe===null){var Et=Se.return;if(Et!==null){J=pe=Et;continue}break}if(Se.child===Fe.child){for(var _t=Se.child;_t;){if(_t===J)return w(Se),$;if(_t===pe)return w(Se),Y;_t=_t.sibling}throw new Error("Unable to find node on an unmounted component.")}if(J.return!==pe.return)J=Se,pe=Fe;else{for(var yt=!1,rt=Se.child;rt;){if(rt===J){yt=!0,J=Se,pe=Fe;break}if(rt===pe){yt=!0,pe=Se,J=Fe;break}rt=rt.sibling}if(!yt){for(rt=Fe.child;rt;){if(rt===J){yt=!0,J=Fe,pe=Se;break}if(rt===pe){yt=!0,pe=Fe,J=Se;break}rt=rt.sibling}if(!yt)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(J.alternate!==pe)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(J.tag!==u)throw new Error("Unable to find node on an unmounted component.");return J.stateNode.current===J?$:Y}var y=Object.assign;function T($){var Y,X=$.keyCode;return"charCode"in $?(Y=$.charCode,Y===0&&X===13&&(Y=13)):Y=X,Y===10&&(Y=13),Y>=32||Y===13?Y:0}function R(){return!0}function S(){return!1}function O($){function Y(X,J,pe,Se,Fe){this._reactName=X,this._targetInst=pe,this.type=J,this.nativeEvent=Se,this.target=Fe,this.currentTarget=null;for(var Et in $)if($.hasOwnProperty(Et)){var _t=$[Et];_t?this[Et]=_t(Se):this[Et]=Se[Et]}var yt=Se.defaultPrevented!=null?Se.defaultPrevented:Se.returnValue===!1;return yt?this.isDefaultPrevented=R:this.isDefaultPrevented=S,this.isPropagationStopped=S,this}return y(Y.prototype,{preventDefault:function(){this.defaultPrevented=!0;var X=this.nativeEvent;X&&(X.preventDefault?X.preventDefault():typeof X.returnValue!="unknown"&&(X.returnValue=!1),this.isDefaultPrevented=R)},stopPropagation:function(){var X=this.nativeEvent;X&&(X.stopPropagation?X.stopPropagation():typeof X.cancelBubble!="unknown"&&(X.cancelBubble=!0),this.isPropagationStopped=R)},persist:function(){},isPersistent:R}),Y}var N={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},M=O(N),H=y({},N,{view:0,detail:0});O(H);var G,W,U;function j($){$!==U&&(U&&$.type==="mousemove"?(G=$.screenX-U.screenX,W=$.screenY-U.screenY):(G=0,W=0),U=$)}var Z=y({},H,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:te,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){return"movementX"in $?$.movementX:(j($),G)},movementY:function($){return"movementY"in $?$.movementY:W}});O(Z);var ee=y({},Z,{dataTransfer:0});O(ee);var L=y({},H,{relatedTarget:0});O(L);var K=y({},N,{animationName:0,elapsedTime:0,pseudoElement:0});O(K);var re=y({},N,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}});O(re);var ge=y({},N,{data:0});O(ge);var ne={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oe={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 ve($){if($.key){var Y=ne[$.key]||$.key;if(Y!=="Unidentified")return Y}if($.type==="keypress"){var X=T($);return X===13?"Enter":String.fromCharCode(X)}return $.type==="keydown"||$.type==="keyup"?oe[$.keyCode]||"Unidentified":""}var Ee={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ze($){var Y=this,X=Y.nativeEvent;if(X.getModifierState)return X.getModifierState($);var J=Ee[$];return J?!!X[J]:!1}function te($){return ze}var ue=y({},H,{key:ve,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:te,charCode:function($){return $.type==="keypress"?T($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?T($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}});O(ue);var Me=y({},Z,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});O(Me);var xe=y({},H,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:te});O(xe);var ft=y({},N,{propertyName:0,elapsedTime:0,pseudoElement:0});O(ft);var pt=y({},Z,{deltaX:function($){return"deltaX"in $?$.deltaX:"wheelDeltaX"in $?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:"wheelDeltaY"in $?-$.wheelDeltaY:"wheelDelta"in $?-$.wheelDelta:0},deltaZ:0,deltaMode:0});O(pt);var fe=1;function le($,Y,X,J,pe,Se,Fe,Et,_t){var yt=Array.prototype.slice.call(arguments,3);try{Y.apply(X,yt)}catch(rt){this.onError(rt)}}var Ge=le;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var $e=document.createElement("react");Ge=function(Y,X,J,pe,Se,Fe,Et,_t,yt){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 rt=document.createEvent("Event"),tr=!1,xr=!0,cr=window.event,Kr=Object.getOwnPropertyDescriptor(window,"event");function Xr(){$e.removeEventListener(fr,mn,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=cr)}var hn=Array.prototype.slice.call(arguments,3);function mn(){tr=!0,Xr(),X.apply(J,hn),xr=!1}var Ut,yn=!1,Or=!1;function vn(Ht){if(Ut=Ht.error,yn=!0,Ut===null&&Ht.colno===0&&Ht.lineno===0&&(Or=!0),Ht.defaultPrevented&&Ut!=null&&typeof Ut=="object")try{Ut._suppressLogging=!0}catch{}}var fr="react-"+(Y||"invokeguardedcallback");if(window.addEventListener("error",vn),$e.addEventListener(fr,mn,!1),rt.initEvent(fr,!1,!1),$e.dispatchEvent(rt),Kr&&Object.defineProperty(window,"event",Kr),tr&&xr&&(yn?Or&&(Ut=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.")):Ut=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(Ut)),window.removeEventListener("error",vn),!tr)return Xr(),le.apply(this,arguments)}}var gt=Ge,ht=!1,bt=null,et=!1,Ft=null,At={onError:function($){ht=!0,bt=$}};function Ct($,Y,X,J,pe,Se,Fe,Et,_t){ht=!1,bt=null,gt.apply(At,arguments)}function Je($,Y,X,J,pe,Se,Fe,Et,_t){if(Ct.apply(this,arguments),ht){var yt=dt();et||(et=!0,Ft=yt)}}function It(){if(et){var $=Ft;throw et=!1,Ft=null,$}}function dt(){if(ht){var $=bt;return ht=!1,bt=null,$}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 it=Array.isArray;function Wt($){return it($)}var C=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,v=C.Events,b=v[0],_=v[1],P=v[2],I=v[3],F=v[4],ie=e.unstable_act;function de($){}var ce=!1;function he($,Y){if(!$)return[];var X=E($);if(!X)return[];for(var J=X,pe=[];;){if(J.tag===c||J.tag===d||J.tag===l||J.tag===i){var Se=J.stateNode;Y(Se)&&pe.push(Se)}if(J.child){J.child.return=J,J=J.child;continue}if(J===X)return pe;for(;!J.sibling;){if(!J.return||J.return===X)return pe;J=J.return}J.sibling.return=J.return,J=J.sibling}}function _e($,Y){if($&&!s($)){var X,J=String($);throw Wt($)?X="an array":$&&$.nodeType===fe&&$.tagName?X="a DOM node":J==="[object Object]"?X="object with keys {"+Object.keys($).join(", ")+"}":X=J,new Error(Y+"(...): the first argument must be a React class instance. "+("Instead received: "+X+"."))}}function Xe($){var Y=document.createElement("div");return t.render($,Y)}function Jt($){return e.isValidElement($)}function Ur($,Y){return e.isValidElement($)&&$.type===Y}function jt($){return!!($&&$.nodeType===fe&&$.tagName)}function Hr($){return!!($&&e.isValidElement($)&&$.tagName)}function Vt($){return jt($)?!1:$!=null&&typeof $.render=="function"&&typeof $.setState=="function"}function Sr($,Y){if(!Vt($))return!1;var X=s($),J=X.type;return J===Y}function Zt($,Y){if(_e($,"findAllInRenderedTree"),!$)return[];var X=s($);return he(X,Y)}function Rr($,Y){return _e($,"scryRenderedDOMComponentsWithClass"),Zt($,function(X){if(jt(X)){var J=X.className;typeof J!="string"&&(J=X.getAttribute("class")||"");var pe=J.split(/\s+/);if(!Wt(Y)){if(Y===void 0)throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");Y=Y.split(/\s+/)}return Y.every(function(Se){return pe.indexOf(Se)!==-1})}return!1})}function er($,Y){_e($,"findRenderedDOMComponentWithClass");var X=Rr($,Y);if(X.length!==1)throw new Error("Did not find exactly one match (found: "+X.length+") for class:"+Y);return X[0]}function Gr($,Y){return _e($,"scryRenderedDOMComponentsWithTag"),Zt($,function(X){return jt(X)&&X.tagName.toUpperCase()===Y.toUpperCase()})}function zt($,Y){_e($,"findRenderedDOMComponentWithTag");var X=Gr($,Y);if(X.length!==1)throw new Error("Did not find exactly one match (found: "+X.length+") for tag:"+Y);return X[0]}function dn($,Y){return _e($,"scryRenderedComponentsWithType"),Zt($,function(X){return Sr(X,Y)})}function Wn($,Y){_e($,"findRenderedComponentWithType");var X=dn($,Y);if(X.length!==1)throw new Error("Did not find exactly one match (found: "+X.length+") for componentType:"+Y);return X[0]}function Vn($,Y){return ce||(ce=!0,n(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
107
107
 
108
- See https://reactjs.org/link/test-utils-mock-component for more information.`)),Y=Y||M.mockTagName||"div",M.prototype.render.mockImplementation(function(){return e.createElement(Y,null,this.props.children)}),this}function $a(M,Y){return{touches:[{pageX:M,pageY:Y}]}}function Wn(M,Y,z){var X=M.type||"unknown-event";M.currentTarget=E(z),ze(X,Y,void 0,M),M.currentTarget=null}function Ot(M){var Y=M._dispatchListeners,z=M._dispatchInstances;if(jt(Y))for(var X=0;X<Y.length&&!M.isPropagationStopped();X++)Wn(M,Y[X],z[X]);else Y&&Wn(M,Y,z);M._dispatchListeners=null,M._dispatchInstances=null}var sn=function(M){M&&(Ot(M),M.isPersistent()||M.constructor.release(M))};function ln(M){return M==="button"||M==="input"||M==="select"||M==="textarea"}function pr(M){do M=M.return;while(M&&M.tag!==c);return M||null}function un(M,Y,z){for(var X=[];M;)X.push(M),M=pr(M);var ye;for(ye=X.length;ye-- >0;)Y(X[ye],"captured",z);for(ye=0;ye<X.length;ye++)Y(X[ye],"bubbled",z)}function ka(M,Y,z){switch(M){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(z.disabled&&ln(Y));default:return!1}}function Ht(M,Y){var z=M.stateNode;if(!z)return null;var X=x(z);if(!X)return null;var ye=X[Y];if(ka(Y,M.type,X))return null;if(ye&&typeof ye!="function")throw new Error("Expected `"+Y+"` listener to be a function, instead got a value of `"+typeof ye+"` type.");return ye}function La(M,Y,z){var X=Y._reactName;return z==="captured"&&(X+="Capture"),Ht(M,X)}function Ba(M,Y,z){if(M&&z&&z._reactName){var X=z._reactName,ye=Ht(M,X);ye&&(z._dispatchListeners==null&&(z._dispatchListeners=[]),z._dispatchInstances==null&&(z._dispatchInstances=[]),z._dispatchListeners.push(ye),z._dispatchInstances.push(M))}}function qa(M,Y,z){M||a("Dispatching inst must not be null");var X=La(M,z,Y);X&&(z._dispatchListeners==null&&(z._dispatchListeners=[]),z._dispatchInstances==null&&(z._dispatchInstances=[]),z._dispatchListeners.push(X),z._dispatchInstances.push(M))}function Da(M){M&&M._reactName&&Ba(M._targetInst,null,M)}function cn(M){M&&M._reactName&&un(M._targetInst,qa,M)}var Gt={},Fa=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function ja(M){return function(Y,z){if(e.isValidElement(Y))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(an(Y))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 X="on"+M[0].toUpperCase()+M.slice(1),ye=new he;ye.target=Y,ye.type=M.toLowerCase();var we=g(Y),De=new N(X,ye.type,we,ye,Y);De.persist(),v(De,z),Fa.has(M)?Da(De):cn(De),t.unstable_batchedUpdates(function(){P(Y),sn(De),Ct()}),q()}}var Ua=["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 Ha(){Ua.forEach(function(M){Gt[M]=ja(M)})}Ha(),Ke.Simulate=Gt,Ke.act=oe,Ke.findAllInRenderedTree=Ar,Ke.findRenderedComponentWithType=Na,Ke.findRenderedDOMComponentWithClass=Hn,Ke.findRenderedDOMComponentWithTag=Ut,Ke.isCompositeComponent=an,Ke.isCompositeComponentWithType=jn,Ke.isDOMComponent=Mt,Ke.isDOMComponentElement=Ia,Ke.isElement=dr,Ke.isElementOfType=nn,Ke.mockComponent=Ma,Ke.nativeTouchData=$a,Ke.renderIntoDocument=ht,Ke.scryRenderedComponentsWithType=Gn,Ke.scryRenderedDOMComponentsWithClass=Un,Ke.scryRenderedDOMComponentsWithTag=on,Ke.traverseTwoPhase=un}()),Ke}process.env.NODE_ENV==="production"?Pp.exports=bN():Pp.exports=EN();var _N=Pp.exports,pd=vh;process.env.NODE_ENV==="production"?(pd.createRoot,pd.hydrateRoot):pd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function wN(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 Zr={},Uh={exports:{}};Uh.exports;(function(e){const r=(o=0)=>s=>`\x1B[${38+o};5;${s}m`,n=(o=0)=>(s,i,l)=>`\x1B[${38+o};2;${s};${i};${l}m`;function a(){const o=new Map,s={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]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[i,l]of Object.entries(s)){for(const[u,c]of Object.entries(l))s[u]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[u]=s[u],o.set(c[0],c[1]);Object.defineProperty(s,i,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:o,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:(i,l,u)=>i===l&&l===u?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:i=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(i.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:i=>s.rgbToAnsi256(...s.hexToRgb(i)),enumerable:!1}}),s}Object.defineProperty(e,"exports",{enumerable:!0,get:a})})(Uh);var vw=Uh.exports,xr={};Object.defineProperty(xr,"__esModule",{value:!0});xr.printIteratorEntries=SN;xr.printIteratorValues=RN;xr.printListItems=CN;xr.printObjectProperties=ON;const TN=(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 SN(e,t,r,n,a,o,s=": "){let i="",l=e.next();if(!l.done){i+=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);i+=u+c+s+d,l=e.next(),l.done?t.min||(i+=","):i+=","+t.spacingInner}i+=t.spacingOuter+r}return i}function RN(e,t,r,n,a,o){let s="",i=e.next();if(!i.done){s+=t.spacingOuter;const l=r+t.indent;for(;!i.done;)s+=l+o(i.value,t,l,n,a),i=e.next(),i.done?t.min||(s+=","):s+=","+t.spacingInner;s+=t.spacingOuter+r}return s}function CN(e,t,r,n,a,o){let s="";if(e.length){s+=t.spacingOuter;const i=r+t.indent;for(let l=0;l<e.length;l++)s+=i,l in e&&(s+=o(e[l],t,i,n,a)),l<e.length-1?s+=","+t.spacingInner:t.min||(s+=",");s+=t.spacingOuter+r}return s}function ON(e,t,r,n,a,o){let s="";const i=TN(e,t.compareKeys);if(i.length){s+=t.spacingOuter;const l=r+t.indent;for(let u=0;u<i.length;u++){const c=i[u],d=o(c,t,l,n,a),p=o(e[c],t,l,n,a);s+=l+d+": "+p,u<i.length-1?s+=","+t.spacingInner:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});Wr.test=Wr.serialize=Wr.default=void 0;var bg=xr,ls=function(){return typeof globalThis<"u"?globalThis:typeof ls<"u"?ls:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),hd=ls["jest-symbol-do-not-touch"]||ls.Symbol;const xN=typeof hd=="function"&&hd.for?hd.for("jest.asymmetricMatcher"):1267621,Mi=" ",gw=(e,t,r,n,a,o)=>{const s=e.toString();return s==="ArrayContaining"||s==="ArrayNotContaining"?++n>t.maxDepth?"["+s+"]":s+Mi+"["+(0,bg.printListItems)(e.sample,t,r,n,a,o)+"]":s==="ObjectContaining"||s==="ObjectNotContaining"?++n>t.maxDepth?"["+s+"]":s+Mi+"{"+(0,bg.printObjectProperties)(e.sample,t,r,n,a,o)+"}":s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining"?s+Mi+o(e.sample,t,r,n,a):e.toAsymmetricMatcher()};Wr.serialize=gw;const bw=e=>e&&e.$$typeof===xN;Wr.test=bw;const PN={serialize:gw,test:bw};var AN=PN;Wr.default=AN;var Vr={},IN=({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(Vr,"__esModule",{value:!0});Vr.test=Vr.serialize=Vr.default=void 0;var Ew=_w(IN),Fe=_w(vw);function _w(e){return e&&e.__esModule?e:{default:e}}const NN=e=>e.replace((0,Ew.default)(),t=>{switch(t){case Fe.default.red.close:case Fe.default.green.close:case Fe.default.cyan.close:case Fe.default.gray.close:case Fe.default.white.close:case Fe.default.yellow.close:case Fe.default.bgRed.close:case Fe.default.bgGreen.close:case Fe.default.bgYellow.close:case Fe.default.inverse.close:case Fe.default.dim.close:case Fe.default.bold.close:case Fe.default.reset.open:case Fe.default.reset.close:return"</>";case Fe.default.red.open:return"<red>";case Fe.default.green.open:return"<green>";case Fe.default.cyan.open:return"<cyan>";case Fe.default.gray.open:return"<gray>";case Fe.default.white.open:return"<white>";case Fe.default.yellow.open:return"<yellow>";case Fe.default.bgRed.open:return"<bgRed>";case Fe.default.bgGreen.open:return"<bgGreen>";case Fe.default.bgYellow.open:return"<bgYellow>";case Fe.default.inverse.open:return"<inverse>";case Fe.default.dim.open:return"<dim>";case Fe.default.bold.open:return"<bold>";default:return""}}),ww=e=>typeof e=="string"&&!!e.match((0,Ew.default)());Vr.test=ww;const Tw=(e,t,r,n,a,o)=>o(NN(e),t,r,n,a);Vr.serialize=Tw;const MN={serialize:Tw,test:ww};var $N=MN;Vr.default=$N;var zr={};Object.defineProperty(zr,"__esModule",{value:!0});zr.test=zr.serialize=zr.default=void 0;var Eg=xr;const kN=" ",Sw=["DOMStringMap","NamedNodeMap"],LN=/^(HTML\w*Collection|NodeList)$/,BN=e=>Sw.indexOf(e)!==-1||LN.test(e),Rw=e=>e&&e.constructor&&!!e.constructor.name&&BN(e.constructor.name);zr.test=Rw;const qN=e=>e.constructor.name==="NamedNodeMap",Cw=(e,t,r,n,a,o)=>{const s=e.constructor.name;return++n>t.maxDepth?"["+s+"]":(t.min?"":s+kN)+(Sw.indexOf(s)!==-1?"{"+(0,Eg.printObjectProperties)(qN(e)?Array.from(e).reduce((i,l)=>(i[l.name]=l.value,i),{}):{...e},t,r,n,a,o)+"}":"["+(0,Eg.printListItems)(Array.from(e),t,r,n,a,o)+"]")};zr.serialize=Cw;const DN={serialize:Cw,test:Rw};var FN=DN;zr.default=FN;var Yr={},gt={},Hh={};Object.defineProperty(Hh,"__esModule",{value:!0});Hh.default=jN;function jN(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}Object.defineProperty(gt,"__esModule",{value:!0});gt.printText=gt.printProps=gt.printElementAsLeaf=gt.printElement=gt.printComment=gt.printChildren=void 0;var Ow=UN(Hh);function UN(e){return e&&e.__esModule?e:{default:e}}const HN=(e,t,r,n,a,o,s)=>{const i=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let d=s(c,r,i,a,o);return typeof c!="string"&&(d.indexOf(`
109
- `)!==-1&&(d=r.spacingOuter+i+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")};gt.printProps=HN;const GN=(e,t,r,n,a,o)=>e.map(s=>t.spacingOuter+r+(typeof s=="string"?xw(s,t):o(s,t,r,n,a))).join("");gt.printChildren=GN;const xw=(e,t)=>{const r=t.colors.content;return r.open+(0,Ow.default)(e)+r.close};gt.printText=xw;const WN=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+(0,Ow.default)(e)+"-->"+r.close};gt.printComment=WN;const VN=(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};gt.printElement=VN;const zN=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close};gt.printElementAsLeaf=zN;Object.defineProperty(Yr,"__esModule",{value:!0});Yr.test=Yr.serialize=Yr.default=void 0;var na=gt;const YN=1,Pw=3,Aw=8,Iw=11,KN=/^((HTML|SVG)\w*)?Element$/,XN=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},QN=e=>{const t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||XN(e);return r===YN&&(KN.test(t)||a)||r===Pw&&t==="Text"||r===Aw&&t==="Comment"||r===Iw&&t==="DocumentFragment"},Nw=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&QN(e)};Yr.test=Nw;function JN(e){return e.nodeType===Pw}function ZN(e){return e.nodeType===Aw}function md(e){return e.nodeType===Iw}const Mw=(e,t,r,n,a,o)=>{if(JN(e))return(0,na.printText)(e.data,t);if(ZN(e))return(0,na.printComment)(e.data,t);const s=md(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,na.printElementAsLeaf)(s,t):(0,na.printElement)(s,(0,na.printProps)(md(e)?[]:Array.from(e.attributes).map(i=>i.name).sort(),md(e)?{}:Array.from(e.attributes).reduce((i,l)=>(i[l.name]=l.value,i),{}),t,r+t.indent,n,a,o),(0,na.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)};Yr.serialize=Mw;const eM={serialize:Mw,test:Nw};var tM=eM;Yr.default=tM;var Kr={};Object.defineProperty(Kr,"__esModule",{value:!0});Kr.test=Kr.serialize=Kr.default=void 0;var No=xr;const rM="@@__IMMUTABLE_ITERABLE__@@",nM="@@__IMMUTABLE_LIST__@@",aM="@@__IMMUTABLE_KEYED__@@",oM="@@__IMMUTABLE_MAP__@@",_g="@@__IMMUTABLE_ORDERED__@@",iM="@@__IMMUTABLE_RECORD__@@",sM="@@__IMMUTABLE_SEQ__@@",lM="@@__IMMUTABLE_SET__@@",uM="@@__IMMUTABLE_STACK__@@",ba=e=>"Immutable."+e,qs=e=>"["+e+"]",Mo=" ",wg="…",cM=(e,t,r,n,a,o,s)=>++n>t.maxDepth?qs(ba(s)):ba(s)+Mo+"{"+(0,No.printIteratorEntries)(e.entries(),t,r,n,a,o)+"}";function fM(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 dM=(e,t,r,n,a,o)=>{const s=ba(e._name||"Record");return++n>t.maxDepth?qs(s):s+Mo+"{"+(0,No.printIteratorEntries)(fM(e),t,r,n,a,o)+"}"},pM=(e,t,r,n,a,o)=>{const s=ba("Seq");return++n>t.maxDepth?qs(s):e[aM]?s+Mo+"{"+(e._iter||e._object?(0,No.printIteratorEntries)(e.entries(),t,r,n,a,o):wg)+"}":s+Mo+"["+(e._iter||e._array||e._collection||e._iterable?(0,No.printIteratorValues)(e.values(),t,r,n,a,o):wg)+"]"},yd=(e,t,r,n,a,o,s)=>++n>t.maxDepth?qs(ba(s)):ba(s)+Mo+"["+(0,No.printIteratorValues)(e.values(),t,r,n,a,o)+"]",$w=(e,t,r,n,a,o)=>e[oM]?cM(e,t,r,n,a,o,e[_g]?"OrderedMap":"Map"):e[nM]?yd(e,t,r,n,a,o,"List"):e[lM]?yd(e,t,r,n,a,o,e[_g]?"OrderedSet":"Set"):e[uM]?yd(e,t,r,n,a,o,"Stack"):e[sM]?pM(e,t,r,n,a,o):dM(e,t,r,n,a,o);Kr.serialize=$w;const kw=e=>e&&(e[rM]===!0||e[iM]===!0);Kr.test=kw;const hM={serialize:$w,test:kw};var mM=hM;Kr.default=mM;var Xr={},Ap={exports:{}},$e={};/** @license React v17.0.2
108
+ See https://reactjs.org/link/test-utils-mock-component for more information.`)),Y=Y||$.mockTagName||"div",$.prototype.render.mockImplementation(function(){return e.createElement(Y,null,this.props.children)}),this}function pn($,Y){return{touches:[{pageX:$,pageY:Y}]}}function Cr($,Y,X){var J=$.type||"unknown-event";$.currentTarget=_(X),Je(J,Y,void 0,$),$.currentTarget=null}function tt($){var Y=$._dispatchListeners,X=$._dispatchInstances;if(Wt(Y))for(var J=0;J<Y.length&&!$.isPropagationStopped();J++)Cr($,Y[J],X[J]);else Y&&Cr($,Y,X);$._dispatchListeners=null,$._dispatchInstances=null}var Wr=function($){$&&(tt($),$.isPersistent()||$.constructor.release($))};function Vr($){return $==="button"||$==="input"||$==="select"||$==="textarea"}function ur($){do $=$.return;while($&&$.tag!==c);return $||null}function zr($,Y,X){for(var J=[];$;)J.push($),$=ur($);var pe;for(pe=J.length;pe-- >0;)Y(J[pe],"captured",X);for(pe=0;pe<J.length;pe++)Y(J[pe],"bubbled",X)}function zn($,Y,X){switch($){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(X.disabled&&Vr(Y));default:return!1}}function st($,Y){var X=$.stateNode;if(!X)return null;var J=P(X);if(!J)return null;var pe=J[Y];if(zn(Y,$.type,J))return null;if(pe&&typeof pe!="function")throw new Error("Expected `"+Y+"` listener to be a function, instead got a value of `"+typeof pe+"` type.");return pe}function Yn($,Y,X){var J=Y._reactName;return X==="captured"&&(J+="Capture"),st($,J)}function Kn($,Y,X){if($&&X&&X._reactName){var J=X._reactName,pe=st($,J);pe&&(X._dispatchListeners==null&&(X._dispatchListeners=[]),X._dispatchInstances==null&&(X._dispatchInstances=[]),X._dispatchListeners.push(pe),X._dispatchInstances.push($))}}function Xn($,Y,X){$||a("Dispatching inst must not be null");var J=Yn($,X,Y);J&&(X._dispatchListeners==null&&(X._dispatchListeners=[]),X._dispatchInstances==null&&(X._dispatchInstances=[]),X._dispatchListeners.push(J),X._dispatchInstances.push($))}function Qn($){$&&$._reactName&&Kn($._targetInst,null,$)}function Yr($){$&&$._reactName&&zr($._targetInst,Xn,$)}var mt={},Jn=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function Zn($){return function(Y,X){if(e.isValidElement(Y))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(Vt(Y))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 J="on"+$[0].toUpperCase()+$.slice(1),pe=new de;pe.target=Y,pe.type=$.toLowerCase();var Se=b(Y),Fe=new M(J,pe.type,Se,pe,Y);Fe.persist(),y(Fe,X),Jn.has($)?Qn(Fe):Yr(Fe),t.unstable_batchedUpdates(function(){I(Y),Wr(Fe),It()}),F()}}var ea=["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 ta(){ea.forEach(function($){mt[$]=Zn($)})}ta(),ct.Simulate=mt,ct.act=ie,ct.findAllInRenderedTree=Zt,ct.findRenderedComponentWithType=Wn,ct.findRenderedDOMComponentWithClass=er,ct.findRenderedDOMComponentWithTag=zt,ct.isCompositeComponent=Vt,ct.isCompositeComponentWithType=Sr,ct.isDOMComponent=jt,ct.isDOMComponentElement=Hr,ct.isElement=Jt,ct.isElementOfType=Ur,ct.mockComponent=Vn,ct.nativeTouchData=pn,ct.renderIntoDocument=Xe,ct.scryRenderedComponentsWithType=dn,ct.scryRenderedDOMComponentsWithClass=Rr,ct.scryRenderedDOMComponentsWithTag=Gr,ct.traverseTwoPhase=zr}()),ct}process.env.NODE_ENV==="production"?kp.exports=xN():kp.exports=ON();var PN=kp.exports,bd=Th;process.env.NODE_ENV==="production"?(bd.createRoot,bd.hydrateRoot):bd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function AN(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 jn={},Yh={exports:{}};Yh.exports;(function(e){const r=(o=0)=>s=>`\x1B[${38+o};5;${s}m`,n=(o=0)=>(s,i,l)=>`\x1B[${38+o};2;${s};${i};${l}m`;function a(){const o=new Map,s={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]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[i,l]of Object.entries(s)){for(const[u,c]of Object.entries(l))s[u]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[u]=s[u],o.set(c[0],c[1]);Object.defineProperty(s,i,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:o,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:(i,l,u)=>i===l&&l===u?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:i=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(i.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:i=>s.rgbToAnsi256(...s.hexToRgb(i)),enumerable:!1}}),s}Object.defineProperty(e,"exports",{enumerable:!0,get:a})})(Yh);var xw=Yh.exports,cn={};Object.defineProperty(cn,"__esModule",{value:!0});cn.printIteratorEntries=NN;cn.printIteratorValues=MN;cn.printListItems=$N;cn.printObjectProperties=kN;const IN=(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 NN(e,t,r,n,a,o,s=": "){let i="",l=e.next();if(!l.done){i+=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);i+=u+c+s+d,l=e.next(),l.done?t.min||(i+=","):i+=","+t.spacingInner}i+=t.spacingOuter+r}return i}function MN(e,t,r,n,a,o){let s="",i=e.next();if(!i.done){s+=t.spacingOuter;const l=r+t.indent;for(;!i.done;)s+=l+o(i.value,t,l,n,a),i=e.next(),i.done?t.min||(s+=","):s+=","+t.spacingInner;s+=t.spacingOuter+r}return s}function $N(e,t,r,n,a,o){let s="";if(e.length){s+=t.spacingOuter;const i=r+t.indent;for(let l=0;l<e.length;l++)s+=i,l in e&&(s+=o(e[l],t,i,n,a)),l<e.length-1?s+=","+t.spacingInner:t.min||(s+=",");s+=t.spacingOuter+r}return s}function kN(e,t,r,n,a,o){let s="";const i=IN(e,t.compareKeys);if(i.length){s+=t.spacingOuter;const l=r+t.indent;for(let u=0;u<i.length;u++){const c=i[u],d=o(c,t,l,n,a),p=o(e[c],t,l,n,a);s+=l+d+": "+p,u<i.length-1?s+=","+t.spacingInner:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var Mn={};Object.defineProperty(Mn,"__esModule",{value:!0});Mn.test=Mn.serialize=Mn.default=void 0;var xg=cn,Rs=function(){return typeof globalThis<"u"?globalThis:typeof Rs<"u"?Rs:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),Ed=Rs["jest-symbol-do-not-touch"]||Rs.Symbol;const LN=typeof Ed=="function"&&Ed.for?Ed.for("jest.asymmetricMatcher"):1267621,Xi=" ",Ow=(e,t,r,n,a,o)=>{const s=e.toString();return s==="ArrayContaining"||s==="ArrayNotContaining"?++n>t.maxDepth?"["+s+"]":s+Xi+"["+(0,xg.printListItems)(e.sample,t,r,n,a,o)+"]":s==="ObjectContaining"||s==="ObjectNotContaining"?++n>t.maxDepth?"["+s+"]":s+Xi+"{"+(0,xg.printObjectProperties)(e.sample,t,r,n,a,o)+"}":s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining"?s+Xi+o(e.sample,t,r,n,a):e.toAsymmetricMatcher()};Mn.serialize=Ow;const Pw=e=>e&&e.$$typeof===LN;Mn.test=Pw;const BN={serialize:Ow,test:Pw};var DN=BN;Mn.default=DN;var $n={},qN=({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($n,"__esModule",{value:!0});$n.test=$n.serialize=$n.default=void 0;var Aw=Iw(qN),Ve=Iw(xw);function Iw(e){return e&&e.__esModule?e:{default:e}}const FN=e=>e.replace((0,Aw.default)(),t=>{switch(t){case Ve.default.red.close:case Ve.default.green.close:case Ve.default.cyan.close:case Ve.default.gray.close:case Ve.default.white.close:case Ve.default.yellow.close:case Ve.default.bgRed.close:case Ve.default.bgGreen.close:case Ve.default.bgYellow.close:case Ve.default.inverse.close:case Ve.default.dim.close:case Ve.default.bold.close:case Ve.default.reset.open:case Ve.default.reset.close:return"</>";case Ve.default.red.open:return"<red>";case Ve.default.green.open:return"<green>";case Ve.default.cyan.open:return"<cyan>";case Ve.default.gray.open:return"<gray>";case Ve.default.white.open:return"<white>";case Ve.default.yellow.open:return"<yellow>";case Ve.default.bgRed.open:return"<bgRed>";case Ve.default.bgGreen.open:return"<bgGreen>";case Ve.default.bgYellow.open:return"<bgYellow>";case Ve.default.inverse.open:return"<inverse>";case Ve.default.dim.open:return"<dim>";case Ve.default.bold.open:return"<bold>";default:return""}}),Nw=e=>typeof e=="string"&&!!e.match((0,Aw.default)());$n.test=Nw;const Mw=(e,t,r,n,a,o)=>o(FN(e),t,r,n,a);$n.serialize=Mw;const jN={serialize:Mw,test:Nw};var UN=jN;$n.default=UN;var kn={};Object.defineProperty(kn,"__esModule",{value:!0});kn.test=kn.serialize=kn.default=void 0;var Og=cn;const HN=" ",$w=["DOMStringMap","NamedNodeMap"],GN=/^(HTML\w*Collection|NodeList)$/,WN=e=>$w.indexOf(e)!==-1||GN.test(e),kw=e=>e&&e.constructor&&!!e.constructor.name&&WN(e.constructor.name);kn.test=kw;const VN=e=>e.constructor.name==="NamedNodeMap",Lw=(e,t,r,n,a,o)=>{const s=e.constructor.name;return++n>t.maxDepth?"["+s+"]":(t.min?"":s+HN)+($w.indexOf(s)!==-1?"{"+(0,Og.printObjectProperties)(VN(e)?Array.from(e).reduce((i,l)=>(i[l.name]=l.value,i),{}):{...e},t,r,n,a,o)+"}":"["+(0,Og.printListItems)(Array.from(e),t,r,n,a,o)+"]")};kn.serialize=Lw;const zN={serialize:Lw,test:kw};var YN=zN;kn.default=YN;var Ln={},Mt={},Kh={};Object.defineProperty(Kh,"__esModule",{value:!0});Kh.default=KN;function KN(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}Object.defineProperty(Mt,"__esModule",{value:!0});Mt.printText=Mt.printProps=Mt.printElementAsLeaf=Mt.printElement=Mt.printComment=Mt.printChildren=void 0;var Bw=XN(Kh);function XN(e){return e&&e.__esModule?e:{default:e}}const QN=(e,t,r,n,a,o,s)=>{const i=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let d=s(c,r,i,a,o);return typeof c!="string"&&(d.indexOf(`
109
+ `)!==-1&&(d=r.spacingOuter+i+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")};Mt.printProps=QN;const JN=(e,t,r,n,a,o)=>e.map(s=>t.spacingOuter+r+(typeof s=="string"?Dw(s,t):o(s,t,r,n,a))).join("");Mt.printChildren=JN;const Dw=(e,t)=>{const r=t.colors.content;return r.open+(0,Bw.default)(e)+r.close};Mt.printText=Dw;const ZN=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+(0,Bw.default)(e)+"-->"+r.close};Mt.printComment=ZN;const eM=(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};Mt.printElement=eM;const tM=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close};Mt.printElementAsLeaf=tM;Object.defineProperty(Ln,"__esModule",{value:!0});Ln.test=Ln.serialize=Ln.default=void 0;var Ua=Mt;const rM=1,qw=3,Fw=8,jw=11,nM=/^((HTML|SVG)\w*)?Element$/,aM=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},oM=e=>{const t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||aM(e);return r===rM&&(nM.test(t)||a)||r===qw&&t==="Text"||r===Fw&&t==="Comment"||r===jw&&t==="DocumentFragment"},Uw=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&oM(e)};Ln.test=Uw;function iM(e){return e.nodeType===qw}function sM(e){return e.nodeType===Fw}function _d(e){return e.nodeType===jw}const Hw=(e,t,r,n,a,o)=>{if(iM(e))return(0,Ua.printText)(e.data,t);if(sM(e))return(0,Ua.printComment)(e.data,t);const s=_d(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,Ua.printElementAsLeaf)(s,t):(0,Ua.printElement)(s,(0,Ua.printProps)(_d(e)?[]:Array.from(e.attributes).map(i=>i.name).sort(),_d(e)?{}:Array.from(e.attributes).reduce((i,l)=>(i[l.name]=l.value,i),{}),t,r+t.indent,n,a,o),(0,Ua.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)};Ln.serialize=Hw;const lM={serialize:Hw,test:Uw};var uM=lM;Ln.default=uM;var Bn={};Object.defineProperty(Bn,"__esModule",{value:!0});Bn.test=Bn.serialize=Bn.default=void 0;var oi=cn;const cM="@@__IMMUTABLE_ITERABLE__@@",fM="@@__IMMUTABLE_LIST__@@",dM="@@__IMMUTABLE_KEYED__@@",pM="@@__IMMUTABLE_MAP__@@",Pg="@@__IMMUTABLE_ORDERED__@@",hM="@@__IMMUTABLE_RECORD__@@",mM="@@__IMMUTABLE_SEQ__@@",yM="@@__IMMUTABLE_SET__@@",vM="@@__IMMUTABLE_STACK__@@",ao=e=>"Immutable."+e,rl=e=>"["+e+"]",ii=" ",Ag="…",gM=(e,t,r,n,a,o,s)=>++n>t.maxDepth?rl(ao(s)):ao(s)+ii+"{"+(0,oi.printIteratorEntries)(e.entries(),t,r,n,a,o)+"}";function bM(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 EM=(e,t,r,n,a,o)=>{const s=ao(e._name||"Record");return++n>t.maxDepth?rl(s):s+ii+"{"+(0,oi.printIteratorEntries)(bM(e),t,r,n,a,o)+"}"},_M=(e,t,r,n,a,o)=>{const s=ao("Seq");return++n>t.maxDepth?rl(s):e[dM]?s+ii+"{"+(e._iter||e._object?(0,oi.printIteratorEntries)(e.entries(),t,r,n,a,o):Ag)+"}":s+ii+"["+(e._iter||e._array||e._collection||e._iterable?(0,oi.printIteratorValues)(e.values(),t,r,n,a,o):Ag)+"]"},wd=(e,t,r,n,a,o,s)=>++n>t.maxDepth?rl(ao(s)):ao(s)+ii+"["+(0,oi.printIteratorValues)(e.values(),t,r,n,a,o)+"]",Gw=(e,t,r,n,a,o)=>e[pM]?gM(e,t,r,n,a,o,e[Pg]?"OrderedMap":"Map"):e[fM]?wd(e,t,r,n,a,o,"List"):e[yM]?wd(e,t,r,n,a,o,e[Pg]?"OrderedSet":"Set"):e[vM]?wd(e,t,r,n,a,o,"Stack"):e[mM]?_M(e,t,r,n,a,o):EM(e,t,r,n,a,o);Bn.serialize=Gw;const Ww=e=>e&&(e[cM]===!0||e[hM]===!0);Bn.test=Ww;const wM={serialize:Gw,test:Ww};var TM=wM;Bn.default=TM;var Dn={},Lp={exports:{}},je={};/** @license React v17.0.2
110
110
  * react-is.production.min.js
111
111
  *
112
112
  * Copyright (c) Facebook, Inc. and its affiliates.
113
113
  *
114
114
  * This source code is licensed under the MIT license found in the
115
115
  * LICENSE file in the root directory of this source tree.
116
- */var Tg;function yM(){if(Tg)return $e;Tg=1;var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,s=60110,i=60112,l=60113,u=60120,c=60115,d=60116,p=60121,f=60122,h=60117,m=60129,_=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),n=b("react.strict_mode"),a=b("react.profiler"),o=b("react.provider"),s=b("react.context"),i=b("react.forward_ref"),l=b("react.suspense"),u=b("react.suspense_list"),c=b("react.memo"),d=b("react.lazy"),p=b("react.block"),f=b("react.server.block"),h=b("react.fundamental"),m=b("react.debug_trace_mode"),_=b("react.legacy_hidden")}function v(D){if(typeof D=="object"&&D!==null){var Q=D.$$typeof;switch(Q){case e:switch(D=D.type,D){case r:case a:case n:case l:case u:return D;default:switch(D=D&&D.$$typeof,D){case s:case i:case d:case c:case o:return D;default:return Q}}case t:return Q}}}var w=o,S=e,T=i,C=r,I=d,N=c,U=t,G=a,W=n,j=l;return $e.ContextConsumer=s,$e.ContextProvider=w,$e.Element=S,$e.ForwardRef=T,$e.Fragment=C,$e.Lazy=I,$e.Memo=N,$e.Portal=U,$e.Profiler=G,$e.StrictMode=W,$e.Suspense=j,$e.isAsyncMode=function(){return!1},$e.isConcurrentMode=function(){return!1},$e.isContextConsumer=function(D){return v(D)===s},$e.isContextProvider=function(D){return v(D)===o},$e.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===e},$e.isForwardRef=function(D){return v(D)===i},$e.isFragment=function(D){return v(D)===r},$e.isLazy=function(D){return v(D)===d},$e.isMemo=function(D){return v(D)===c},$e.isPortal=function(D){return v(D)===t},$e.isProfiler=function(D){return v(D)===a},$e.isStrictMode=function(D){return v(D)===n},$e.isSuspense=function(D){return v(D)===l},$e.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===r||D===a||D===m||D===n||D===l||D===u||D===_||typeof D=="object"&&D!==null&&(D.$$typeof===d||D.$$typeof===c||D.$$typeof===o||D.$$typeof===s||D.$$typeof===i||D.$$typeof===h||D.$$typeof===p||D[0]===f)},$e.typeOf=v,$e}var ke={};/** @license React v17.0.2
116
+ */var Ig;function SM(){if(Ig)return je;Ig=1;var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,s=60110,i=60112,l=60113,u=60120,c=60115,d=60116,p=60121,f=60122,h=60117,m=60129,w=60131;if(typeof Symbol=="function"&&Symbol.for){var E=Symbol.for;e=E("react.element"),t=E("react.portal"),r=E("react.fragment"),n=E("react.strict_mode"),a=E("react.profiler"),o=E("react.provider"),s=E("react.context"),i=E("react.forward_ref"),l=E("react.suspense"),u=E("react.suspense_list"),c=E("react.memo"),d=E("react.lazy"),p=E("react.block"),f=E("react.server.block"),h=E("react.fundamental"),m=E("react.debug_trace_mode"),w=E("react.legacy_hidden")}function y(j){if(typeof j=="object"&&j!==null){var Z=j.$$typeof;switch(Z){case e:switch(j=j.type,j){case r:case a:case n:case l:case u:return j;default:switch(j=j&&j.$$typeof,j){case s:case i:case d:case c:case o:return j;default:return Z}}case t:return Z}}}var T=o,R=e,S=i,O=r,N=d,M=c,H=t,G=a,W=n,U=l;return je.ContextConsumer=s,je.ContextProvider=T,je.Element=R,je.ForwardRef=S,je.Fragment=O,je.Lazy=N,je.Memo=M,je.Portal=H,je.Profiler=G,je.StrictMode=W,je.Suspense=U,je.isAsyncMode=function(){return!1},je.isConcurrentMode=function(){return!1},je.isContextConsumer=function(j){return y(j)===s},je.isContextProvider=function(j){return y(j)===o},je.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===e},je.isForwardRef=function(j){return y(j)===i},je.isFragment=function(j){return y(j)===r},je.isLazy=function(j){return y(j)===d},je.isMemo=function(j){return y(j)===c},je.isPortal=function(j){return y(j)===t},je.isProfiler=function(j){return y(j)===a},je.isStrictMode=function(j){return y(j)===n},je.isSuspense=function(j){return y(j)===l},je.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===r||j===a||j===m||j===n||j===l||j===u||j===w||typeof j=="object"&&j!==null&&(j.$$typeof===d||j.$$typeof===c||j.$$typeof===o||j.$$typeof===s||j.$$typeof===i||j.$$typeof===h||j.$$typeof===p||j[0]===f)},je.typeOf=y,je}var Ue={};/** @license React v17.0.2
117
117
  * react-is.development.js
118
118
  *
119
119
  * Copyright (c) Facebook, Inc. and its affiliates.
120
120
  *
121
121
  * This source code is licensed under the MIT license found in the
122
122
  * LICENSE file in the root directory of this source tree.
123
- */var Sg;function vM(){return Sg||(Sg=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,s=60110,i=60112,l=60113,u=60120,c=60115,d=60116,p=60121,f=60122,h=60117,m=60129,_=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),n=b("react.strict_mode"),a=b("react.profiler"),o=b("react.provider"),s=b("react.context"),i=b("react.forward_ref"),l=b("react.suspense"),u=b("react.suspense_list"),c=b("react.memo"),d=b("react.lazy"),p=b("react.block"),f=b("react.server.block"),h=b("react.fundamental"),b("react.scope"),b("react.opaque.id"),m=b("react.debug_trace_mode"),b("react.offscreen"),_=b("react.legacy_hidden")}var v=!1;function w(ce){return!!(typeof ce=="string"||typeof ce=="function"||ce===r||ce===a||ce===m||ce===n||ce===l||ce===u||ce===_||v||typeof ce=="object"&&ce!==null&&(ce.$$typeof===d||ce.$$typeof===c||ce.$$typeof===o||ce.$$typeof===s||ce.$$typeof===i||ce.$$typeof===h||ce.$$typeof===p||ce[0]===f))}function S(ce){if(typeof ce=="object"&&ce!==null){var se=ce.$$typeof;switch(se){case e:var He=ce.type;switch(He){case r:case a:case n:case l:case u:return He;default:var Ie=He&&He.$$typeof;switch(Ie){case s:case i:case d:case c:case o:return Ie;default:return se}}case t:return se}}}var T=s,C=o,I=e,N=i,U=r,G=d,W=c,j=t,D=a,Q=n,J=l,$=!1,V=!1;function ee(ce){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ve(ce){return V||(V=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function te(ce){return S(ce)===s}function ne(ce){return S(ce)===o}function me(ce){return typeof ce=="object"&&ce!==null&&ce.$$typeof===e}function ge(ce){return S(ce)===i}function We(ce){return S(ce)===r}function ie(ce){return S(ce)===d}function le(ce){return S(ce)===c}function xe(ce){return S(ce)===t}function qe(ce){return S(ce)===a}function it(ce){return S(ce)===n}function ft(ce){return S(ce)===l}ke.ContextConsumer=T,ke.ContextProvider=C,ke.Element=I,ke.ForwardRef=N,ke.Fragment=U,ke.Lazy=G,ke.Memo=W,ke.Portal=j,ke.Profiler=D,ke.StrictMode=Q,ke.Suspense=J,ke.isAsyncMode=ee,ke.isConcurrentMode=ve,ke.isContextConsumer=te,ke.isContextProvider=ne,ke.isElement=me,ke.isForwardRef=ge,ke.isFragment=We,ke.isLazy=ie,ke.isMemo=le,ke.isPortal=xe,ke.isProfiler=qe,ke.isStrictMode=it,ke.isSuspense=ft,ke.isValidElementType=w,ke.typeOf=S}()),ke}process.env.NODE_ENV==="production"?Ap.exports=yM():Ap.exports=vM();var gM=Ap.exports;Object.defineProperty(Xr,"__esModule",{value:!0});Xr.test=Xr.serialize=Xr.default=void 0;var _n=bM(gM),$i=gt;function Lw(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Lw=function(n){return n?r:t})(e)}function bM(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Lw(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 s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}const Bw=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Bw(r,t)}):e!=null&&e!==!1&&t.push(e),t),Rg=e=>{const t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(_n.isFragment(e))return"React.Fragment";if(_n.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(_n.isContextProvider(e))return"Context.Provider";if(_n.isContextConsumer(e))return"Context.Consumer";if(_n.isForwardRef(e)){if(t.displayName)return t.displayName;const r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(_n.isMemo(e)){const r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},EM=e=>{const{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},qw=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,$i.printElementAsLeaf)(Rg(e),t):(0,$i.printElement)(Rg(e),(0,$i.printProps)(EM(e),e.props,t,r+t.indent,n,a,o),(0,$i.printChildren)(Bw(e.props.children),t,r+t.indent,n,a,o),t,r);Xr.serialize=qw;const Dw=e=>e!=null&&_n.isElement(e);Xr.test=Dw;const _M={serialize:qw,test:Dw};var wM=_M;Xr.default=wM;var Qr={};Object.defineProperty(Qr,"__esModule",{value:!0});Qr.test=Qr.serialize=Qr.default=void 0;var ki=gt,us=function(){return typeof globalThis<"u"?globalThis:typeof us<"u"?us:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),vd=us["jest-symbol-do-not-touch"]||us.Symbol;const TM=typeof vd=="function"&&vd.for?vd.for("react.test.json"):245830487,SM=e=>{const{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Fw=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,ki.printElementAsLeaf)(e.type,t):(0,ki.printElement)(e.type,e.props?(0,ki.printProps)(SM(e),e.props,t,r+t.indent,n,a,o):"",e.children?(0,ki.printChildren)(e.children,t,r+t.indent,n,a,o):"",t,r);Qr.serialize=Fw;const jw=e=>e&&e.$$typeof===TM;Qr.test=jw;const RM={serialize:Fw,test:jw};var CM=RM;Qr.default=CM;Object.defineProperty(Zr,"__esModule",{value:!0});Zr.default=Zr.DEFAULT_OPTIONS=void 0;var OM=Zr.format=Zw,Uw=Zr.plugins=void 0,xM=rn(vw),Eo=xr,PM=rn(Wr),AM=rn(Vr),IM=rn(zr),NM=rn(Yr),MM=rn(Kr),$M=rn(Xr),kM=rn(Qr);function rn(e){return e&&e.__esModule?e:{default:e}}const Hw=Object.prototype.toString,LM=Date.prototype.toISOString,BM=Error.prototype.toString,Cg=RegExp.prototype.toString,gd=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",qM=e=>typeof window<"u"&&e===window,DM=/^Symbol\((.*)\)(.*)$/,FM=/\n/gi;class Gw extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}}function jM(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 UM(e){return Object.is(e,-0)?"-0":String(e)}function HM(e){return`${e}n`}function Og(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function xg(e){return String(e).replace(DM,"Symbol($1)")}function Pg(e){return"["+BM.call(e)+"]"}function Ww(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 UM(e);if(a==="bigint")return HM(e);if(a==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(a==="function")return Og(e,t);if(a==="symbol")return xg(e);const o=Hw.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?Og(e,t):o==="[object Symbol]"?xg(e):o==="[object Date]"?isNaN(+e)?"Date { NaN }":LM.call(e):o==="[object Error]"?Pg(e):o==="[object RegExp]"?r?Cg.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):Cg.call(e):e instanceof Error?Pg(e):null}function Vw(e,t,r,n,a,o){if(a.indexOf(e)!==-1)return"[Circular]";a=a.slice(),a.push(e);const s=++n>t.maxDepth,i=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!o)return Fr(e.toJSON(),t,r,n,a,!0);const l=Hw.call(e);return l==="[object Arguments]"?s?"[Arguments]":(i?"":"Arguments ")+"["+(0,Eo.printListItems)(e,t,r,n,a,Fr)+"]":jM(l)?s?"["+e.constructor.name+"]":(i||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,Eo.printListItems)(e,t,r,n,a,Fr)+"]":l==="[object Map]"?s?"[Map]":"Map {"+(0,Eo.printIteratorEntries)(e.entries(),t,r,n,a,Fr," => ")+"}":l==="[object Set]"?s?"[Set]":"Set {"+(0,Eo.printIteratorValues)(e.values(),t,r,n,a,Fr)+"}":s||qM(e)?"["+gd(e)+"]":(i||!t.printBasicPrototype&&gd(e)==="Object"?"":gd(e)+" ")+"{"+(0,Eo.printObjectProperties)(e,t,r,n,a,Fr)+"}"}function GM(e){return e.serialize!=null}function zw(e,t,r,n,a,o){let s;try{s=GM(e)?e.serialize(t,r,n,a,o,Fr):e.print(t,i=>Fr(i,r,n,a,o),i=>{const l=n+r.indent;return l+i.replace(FM,`
124
- `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(i){throw new Gw(i.message,i.stack)}if(typeof s!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function Yw(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Gw(n.message,n.stack)}return null}function Fr(e,t,r,n,a,o){const s=Yw(t.plugins,e);if(s!==null)return zw(s,e,t,r,n,a);const i=Ww(e,t.printFunctionName,t.escapeRegex,t.escapeString);return i!==null?i:Vw(e,t,r,n,a,o)}const Gh={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Kw=Object.keys(Gh),Kt={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Gh};Zr.DEFAULT_OPTIONS=Kt;function WM(e){if(Object.keys(e).forEach(t=>{if(!Kt.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 VM=e=>Kw.reduce((t,r)=>{const n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Gh[r],a=n&&xM.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)),zM=()=>Kw.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Xw=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:Kt.printFunctionName,Qw=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:Kt.escapeRegex,Jw=e=>e&&e.escapeString!==void 0?e.escapeString:Kt.escapeString,Ag=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:Kt.callToJSON,colors:e&&e.highlight?VM(e):zM(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:Kt.compareKeys,escapeRegex:Qw(e),escapeString:Jw(e),indent:e&&e.min?"":YM(e&&e.indent!==void 0?e.indent:Kt.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:Kt.maxDepth,min:e&&e.min!==void 0?e.min:Kt.min,plugins:e&&e.plugins!==void 0?e.plugins:Kt.plugins,printBasicPrototype:(t=e==null?void 0:e.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:Xw(e),spacingInner:e&&e.min?" ":`
123
+ */var Ng;function RM(){return Ng||(Ng=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,s=60110,i=60112,l=60113,u=60120,c=60115,d=60116,p=60121,f=60122,h=60117,m=60129,w=60131;if(typeof Symbol=="function"&&Symbol.for){var E=Symbol.for;e=E("react.element"),t=E("react.portal"),r=E("react.fragment"),n=E("react.strict_mode"),a=E("react.profiler"),o=E("react.provider"),s=E("react.context"),i=E("react.forward_ref"),l=E("react.suspense"),u=E("react.suspense_list"),c=E("react.memo"),d=E("react.lazy"),p=E("react.block"),f=E("react.server.block"),h=E("react.fundamental"),E("react.scope"),E("react.opaque.id"),m=E("react.debug_trace_mode"),E("react.offscreen"),w=E("react.legacy_hidden")}var y=!1;function T(fe){return!!(typeof fe=="string"||typeof fe=="function"||fe===r||fe===a||fe===m||fe===n||fe===l||fe===u||fe===w||y||typeof fe=="object"&&fe!==null&&(fe.$$typeof===d||fe.$$typeof===c||fe.$$typeof===o||fe.$$typeof===s||fe.$$typeof===i||fe.$$typeof===h||fe.$$typeof===p||fe[0]===f))}function R(fe){if(typeof fe=="object"&&fe!==null){var le=fe.$$typeof;switch(le){case e:var Ge=fe.type;switch(Ge){case r:case a:case n:case l:case u:return Ge;default:var $e=Ge&&Ge.$$typeof;switch($e){case s:case i:case d:case c:case o:return $e;default:return le}}case t:return le}}}var S=s,O=o,N=e,M=i,H=r,G=d,W=c,U=t,j=a,Z=n,ee=l,L=!1,K=!1;function re(fe){return L||(L=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ge(fe){return K||(K=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ne(fe){return R(fe)===s}function oe(fe){return R(fe)===o}function ve(fe){return typeof fe=="object"&&fe!==null&&fe.$$typeof===e}function Ee(fe){return R(fe)===i}function ze(fe){return R(fe)===r}function te(fe){return R(fe)===d}function ue(fe){return R(fe)===c}function Me(fe){return R(fe)===t}function xe(fe){return R(fe)===a}function ft(fe){return R(fe)===n}function pt(fe){return R(fe)===l}Ue.ContextConsumer=S,Ue.ContextProvider=O,Ue.Element=N,Ue.ForwardRef=M,Ue.Fragment=H,Ue.Lazy=G,Ue.Memo=W,Ue.Portal=U,Ue.Profiler=j,Ue.StrictMode=Z,Ue.Suspense=ee,Ue.isAsyncMode=re,Ue.isConcurrentMode=ge,Ue.isContextConsumer=ne,Ue.isContextProvider=oe,Ue.isElement=ve,Ue.isForwardRef=Ee,Ue.isFragment=ze,Ue.isLazy=te,Ue.isMemo=ue,Ue.isPortal=Me,Ue.isProfiler=xe,Ue.isStrictMode=ft,Ue.isSuspense=pt,Ue.isValidElementType=T,Ue.typeOf=R}()),Ue}process.env.NODE_ENV==="production"?Lp.exports=SM():Lp.exports=RM();var CM=Lp.exports;Object.defineProperty(Dn,"__esModule",{value:!0});Dn.test=Dn.serialize=Dn.default=void 0;var da=xM(CM),Qi=Mt;function Vw(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Vw=function(n){return n?r:t})(e)}function xM(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Vw(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 s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}const zw=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{zw(r,t)}):e!=null&&e!==!1&&t.push(e),t),Mg=e=>{const t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(da.isFragment(e))return"React.Fragment";if(da.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(da.isContextProvider(e))return"Context.Provider";if(da.isContextConsumer(e))return"Context.Consumer";if(da.isForwardRef(e)){if(t.displayName)return t.displayName;const r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(da.isMemo(e)){const r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},OM=e=>{const{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},Yw=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,Qi.printElementAsLeaf)(Mg(e),t):(0,Qi.printElement)(Mg(e),(0,Qi.printProps)(OM(e),e.props,t,r+t.indent,n,a,o),(0,Qi.printChildren)(zw(e.props.children),t,r+t.indent,n,a,o),t,r);Dn.serialize=Yw;const Kw=e=>e!=null&&da.isElement(e);Dn.test=Kw;const PM={serialize:Yw,test:Kw};var AM=PM;Dn.default=AM;var qn={};Object.defineProperty(qn,"__esModule",{value:!0});qn.test=qn.serialize=qn.default=void 0;var Ji=Mt,Cs=function(){return typeof globalThis<"u"?globalThis:typeof Cs<"u"?Cs:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),Td=Cs["jest-symbol-do-not-touch"]||Cs.Symbol;const IM=typeof Td=="function"&&Td.for?Td.for("react.test.json"):245830487,NM=e=>{const{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Xw=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,Ji.printElementAsLeaf)(e.type,t):(0,Ji.printElement)(e.type,e.props?(0,Ji.printProps)(NM(e),e.props,t,r+t.indent,n,a,o):"",e.children?(0,Ji.printChildren)(e.children,t,r+t.indent,n,a,o):"",t,r);qn.serialize=Xw;const Qw=e=>e&&e.$$typeof===IM;qn.test=Qw;const MM={serialize:Xw,test:Qw};var $M=MM;qn.default=$M;Object.defineProperty(jn,"__esModule",{value:!0});jn.default=jn.DEFAULT_OPTIONS=void 0;var kM=jn.format=uT,Jw=jn.plugins=void 0,LM=Gn(xw),zo=cn,BM=Gn(Mn),DM=Gn($n),qM=Gn(kn),FM=Gn(Ln),jM=Gn(Bn),UM=Gn(Dn),HM=Gn(qn);function Gn(e){return e&&e.__esModule?e:{default:e}}const Zw=Object.prototype.toString,GM=Date.prototype.toISOString,WM=Error.prototype.toString,$g=RegExp.prototype.toString,Sd=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",VM=e=>typeof window<"u"&&e===window,zM=/^Symbol\((.*)\)(.*)$/,YM=/\n/gi;class eT extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}}function KM(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 XM(e){return Object.is(e,-0)?"-0":String(e)}function QM(e){return`${e}n`}function kg(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Lg(e){return String(e).replace(zM,"Symbol($1)")}function Bg(e){return"["+WM.call(e)+"]"}function tT(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 XM(e);if(a==="bigint")return QM(e);if(a==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(a==="function")return kg(e,t);if(a==="symbol")return Lg(e);const o=Zw.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?kg(e,t):o==="[object Symbol]"?Lg(e):o==="[object Date]"?isNaN(+e)?"Date { NaN }":GM.call(e):o==="[object Error]"?Bg(e):o==="[object RegExp]"?r?$g.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):$g.call(e):e instanceof Error?Bg(e):null}function rT(e,t,r,n,a,o){if(a.indexOf(e)!==-1)return"[Circular]";a=a.slice(),a.push(e);const s=++n>t.maxDepth,i=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!o)return On(e.toJSON(),t,r,n,a,!0);const l=Zw.call(e);return l==="[object Arguments]"?s?"[Arguments]":(i?"":"Arguments ")+"["+(0,zo.printListItems)(e,t,r,n,a,On)+"]":KM(l)?s?"["+e.constructor.name+"]":(i||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,zo.printListItems)(e,t,r,n,a,On)+"]":l==="[object Map]"?s?"[Map]":"Map {"+(0,zo.printIteratorEntries)(e.entries(),t,r,n,a,On," => ")+"}":l==="[object Set]"?s?"[Set]":"Set {"+(0,zo.printIteratorValues)(e.values(),t,r,n,a,On)+"}":s||VM(e)?"["+Sd(e)+"]":(i||!t.printBasicPrototype&&Sd(e)==="Object"?"":Sd(e)+" ")+"{"+(0,zo.printObjectProperties)(e,t,r,n,a,On)+"}"}function JM(e){return e.serialize!=null}function nT(e,t,r,n,a,o){let s;try{s=JM(e)?e.serialize(t,r,n,a,o,On):e.print(t,i=>On(i,r,n,a,o),i=>{const l=n+r.indent;return l+i.replace(YM,`
124
+ `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(i){throw new eT(i.message,i.stack)}if(typeof s!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function aT(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new eT(n.message,n.stack)}return null}function On(e,t,r,n,a,o){const s=aT(t.plugins,e);if(s!==null)return nT(s,e,t,r,n,a);const i=tT(e,t.printFunctionName,t.escapeRegex,t.escapeString);return i!==null?i:rT(e,t,r,n,a,o)}const Xh={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},oT=Object.keys(Xh),gr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Xh};jn.DEFAULT_OPTIONS=gr;function ZM(e){if(Object.keys(e).forEach(t=>{if(!gr.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 e$=e=>oT.reduce((t,r)=>{const n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Xh[r],a=n&&LM.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)),t$=()=>oT.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),iT=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:gr.printFunctionName,sT=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:gr.escapeRegex,lT=e=>e&&e.escapeString!==void 0?e.escapeString:gr.escapeString,Dg=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:gr.callToJSON,colors:e&&e.highlight?e$(e):t$(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:gr.compareKeys,escapeRegex:sT(e),escapeString:lT(e),indent:e&&e.min?"":r$(e&&e.indent!==void 0?e.indent:gr.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:gr.maxDepth,min:e&&e.min!==void 0?e.min:gr.min,plugins:e&&e.plugins!==void 0?e.plugins:gr.plugins,printBasicPrototype:(t=e==null?void 0:e.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:iT(e),spacingInner:e&&e.min?" ":`
125
125
  `,spacingOuter:e&&e.min?"":`
126
- `}};function YM(e){return new Array(e+1).join(" ")}function Zw(e,t){if(t&&(WM(t),t.plugins)){const n=Yw(t.plugins,e);if(n!==null)return zw(n,e,Ag(t),"",0,[])}const r=Ww(e,Xw(t),Qw(t),Jw(t));return r!==null?r:Vw(e,Ag(t),"",0,[])}const KM={AsymmetricMatcher:PM.default,ConvertAnsi:AM.default,DOMCollection:IM.default,DOMElement:NM.default,Immutable:MM.default,ReactElement:$M.default,ReactTestComponent:kM.default};Uw=Zr.plugins=KM;var XM=Zw;Zr.default=XM;var QM=Object.prototype.toString;function Ig(e){return typeof e=="function"||QM.call(e)==="[object Function]"}function JM(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var ZM=Math.pow(2,53)-1;function e$(e){var t=JM(e);return Math.min(Math.max(t,0),ZM)}function Xt(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"&&!Ig(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=e$(n.length),o=Ig(r)?Object(new r(a)):new Array(a),s=0,i;s<a;)i=n[s],t?o[s]=t(i,s):o[s]=i,s+=1;return o.length=a,o}function $o(e){"@babel/helpers - typeof";return $o=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},$o(e)}function t$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ng(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,eT(n.key),n)}}function r$(e,t,r){return t&&Ng(e.prototype,t),r&&Ng(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function n$(e,t,r){return t=eT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eT(e){var t=a$(e,"string");return $o(t)==="symbol"?t:String(t)}function a$(e,t){if($o(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if($o(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var o$=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];t$(this,e),n$(this,"items",void 0),this.items=t}return r$(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 i$=typeof Set>"u"?Set:o$;function Et(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var s$={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"},l$={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 u$(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=l$[t])!==null&&n!==void 0&&n.has(r))})}function tT(e,t){return u$(e,t)}function c$(e){var t=d$(e);if(t===null||t==="presentation"){var r=f$(e);if(t!=="presentation"||tT(e,r||""))return r}return t}function f$(e){var t=s$[Et(e)];if(t!==void 0)return t;switch(Et(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!tT(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 d$(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 rT(e){return Ge(e)&&Et(e)==="caption"}function Hi(e){return Ge(e)&&Et(e)==="input"}function p$(e){return Ge(e)&&Et(e)==="optgroup"}function h$(e){return Ge(e)&&Et(e)==="select"}function m$(e){return Ge(e)&&Et(e)==="table"}function y$(e){return Ge(e)&&Et(e)==="textarea"}function v$(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function g$(e){return Ge(e)&&Et(e)==="fieldset"}function b$(e){return Ge(e)&&Et(e)==="legend"}function E$(e){return Ge(e)&&Et(e)==="slot"}function _$(e){return Ge(e)&&e.ownerSVGElement!==void 0}function w$(e){return Ge(e)&&Et(e)==="svg"}function T$(e){return _$(e)&&Et(e)==="title"}function cs(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 Cr(e,t){return Ge(e)?t.indexOf(c$(e))!==-1:!1}function S$(e){return e.trim().replace(/\s\s+/g," ")}function R$(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 C$(e){return Cr(e,["button","combobox","listbox","textbox"])||nT(e,"range")}function nT(e,t){if(!Ge(e))return!1;switch(t){case"range":return Cr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Mg(e,t){var r=Xt(e.querySelectorAll(t));return cs(e,"aria-owns").forEach(function(n){r.push.apply(r,Xt(n.querySelectorAll(t)))}),r}function O$(e){return h$(e)?e.selectedOptions||Mg(e,"[selected]"):Mg(e,'[aria-selected="true"]')}function x$(e){return Cr(e,["none","presentation"])}function P$(e){return rT(e)}function A$(e){return Cr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function I$(e){return!1}function N$(e){return Hi(e)||y$(e)?e.value:e.textContent||""}function $g(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function aT(e){var t=Et(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function oT(e){if(aT(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Ge(r)){var n=oT(r);n!==null&&(t=n)}}),t}function M$(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):oT(e)}function $$(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Xt(t);if(!aT(e))return null;var r=e.ownerDocument;return Xt(r.querySelectorAll("label")).filter(function(n){return M$(n)===e})}function k$(e){var t=e.assignedNodes();return t.length===0?Xt(e.childNodes):t}function iT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new i$,n=v$(e),a=t.compute,o=a===void 0?"name":a,s=t.computedStyleSupportsPseudoElements,i=s===void 0?t.getComputedStyle!==void 0:s,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function p(b,v){var w="";if(Ge(b)&&i){var S=u(b,"::before"),T=$g(S);w="".concat(T," ").concat(w)}var C=E$(b)?k$(b):Xt(b.childNodes).concat(cs(b,"aria-owns"));if(C.forEach(function(U){var G=_(U,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),W=Ge(U)?u(U).getPropertyValue("display"):"inline",j=W!=="inline"?" ":"";w+="".concat(j).concat(G).concat(j)}),Ge(b)&&i){var I=u(b,"::after"),N=$g(I);w="".concat(w," ").concat(N)}return w.trim()}function f(b,v){var w=b.getAttributeNode(v);return w!==null&&!r.has(w)&&w.value.trim()!==""?(r.add(w),w.value):null}function h(b){return Ge(b)?f(b,"title"):null}function m(b){if(!Ge(b))return null;if(g$(b)){r.add(b);for(var v=Xt(b.childNodes),w=0;w<v.length;w+=1){var S=v[w];if(b$(S))return _(S,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(m$(b)){r.add(b);for(var T=Xt(b.childNodes),C=0;C<T.length;C+=1){var I=T[C];if(rT(I))return _(I,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(w$(b)){r.add(b);for(var N=Xt(b.childNodes),U=0;U<N.length;U+=1){var G=N[U];if(T$(G))return G.textContent}return null}else if(Et(b)==="img"||Et(b)==="area"){var W=f(b,"alt");if(W!==null)return W}else if(p$(b)){var j=f(b,"label");if(j!==null)return j}if(Hi(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var D=f(b,"value");if(D!==null)return D;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var Q=$$(b);if(Q!==null&&Q.length!==0)return r.add(b),Xt(Q).map(function(ee){return _(ee,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ee){return ee.length>0}).join(" ");if(Hi(b)&&b.type==="image"){var J=f(b,"alt");if(J!==null)return J;var $=f(b,"title");return $!==null?$:"Submit Query"}if(Cr(b,["button"])){var V=p(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(V!=="")return V}return null}function _(b,v){if(r.has(b))return"";if(!d&&R$(b,u)&&!v.isReferenced)return r.add(b),"";var w=Ge(b)?b.getAttributeNode("aria-labelledby"):null,S=w!==null&&!r.has(w)?cs(b,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&S.length>0)return r.add(w),S.map(function(W){return _(W,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var T=v.recursion&&C$(b)&&o==="name";if(!T){var C=(Ge(b)&&b.getAttribute("aria-label")||"").trim();if(C!==""&&o==="name")return r.add(b),C;if(!x$(b)){var I=m(b);if(I!==null)return r.add(b),I}}if(Cr(b,["menu"]))return r.add(b),"";if(T||v.isEmbeddedInLabel||v.isReferenced){if(Cr(b,["combobox","listbox"])){r.add(b);var N=O$(b);return N.length===0?Hi(b)?b.value:"":Xt(N).map(function(W){return _(W,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(nT(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Cr(b,["textbox"]))return r.add(b),N$(b)}if(A$(b)||Ge(b)&&v.isReferenced||P$(b)||I$()){var U=p(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});if(U!=="")return r.add(b),U}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),p(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});var G=h(b);return G!==null?(r.add(b),G):(r.add(b),"")}return S$(_(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function ko(e){"@babel/helpers - typeof";return ko=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},ko(e)}function kg(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 Lg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?kg(Object(r),!0).forEach(function(n){L$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function L$(e,t,r){return t=B$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B$(e){var t=q$(e,"string");return ko(t)==="symbol"?t:String(t)}function q$(e,t){if(ko(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ko(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function sT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=cs(e,"aria-describedby").map(function(a){return iT(a,Lg(Lg({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function D$(e){return Cr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Wh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return D$(e)?"":iT(e,t)}var Qt={},Ds={},$n={},Fs={};Object.defineProperty(Fs,"__esModule",{value:!0});Fs.default=void 0;function F$(){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 j$=F$;Fs.default=j$;Object.defineProperty($n,"__esModule",{value:!0});$n.default=G$;var U$=H$(Fs);function H$(e){return e&&e.__esModule?e:{default:e}}function Ip(e){"@babel/helpers - typeof";return Ip=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},Ip(e)}function G$(e,t){return typeof Symbol=="function"&&Ip(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:U$.default.bind(t)}),e}Object.defineProperty(Ds,"__esModule",{value:!0});Ds.default=void 0;var W$=V$($n);function V$(e){return e&&e.__esModule?e:{default:e}}function bd(e,t){return K$(e)||Y$(e,t)||lT(e,t)||z$()}function z$(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
127
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Y$(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function K$(e){if(Array.isArray(e))return e}function X$(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=lT(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.
128
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function lT(e,t){if(e){if(typeof e=="string")return Bg(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 Bg(e,t)}}function Bg(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 aa=[["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"}]],Np={entries:function(){return aa},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=X$(aa),a;try{for(n.s();!(a=n.n()).done;){var o=bd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,aa)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=aa.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Np.get(t)},keys:function(){return aa.map(function(t){var r=bd(t,1),n=r[0];return n})},values:function(){return aa.map(function(t){var r=bd(t,2),n=r[1];return n})}},Q$=(0,W$.default)(Np,Np.entries());Ds.default=Q$;var js={};Object.defineProperty(js,"__esModule",{value:!0});js.default=void 0;var J$=Z$($n);function Z$(e){return e&&e.__esModule?e:{default:e}}function Ed(e,t){return rk(e)||tk(e,t)||uT(e,t)||ek()}function ek(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
129
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tk(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function rk(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=uT(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.
130
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function uT(e,t){if(e){if(typeof e=="string")return qg(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 qg(e,t)}}function qg(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 oa=[["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}]],Mp={entries:function(){return oa},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=nk(oa),a;try{for(n.s();!(a=n.n()).done;){var o=Ed(a.value,2),s=o[0],i=o[1];t.call(r,i,s,oa)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=oa.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Mp.get(t)},keys:function(){return oa.map(function(t){var r=Ed(t,1),n=r[0];return n})},values:function(){return oa.map(function(t){var r=Ed(t,2),n=r[1];return n})}},ak=(0,J$.default)(Mp,Mp.entries());js.default=ak;var xa={},Us={},Hs={};Object.defineProperty(Hs,"__esModule",{value:!0});Hs.default=void 0;var ok={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},ik=ok;Hs.default=ik;var Gs={};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.default=void 0;var sk={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"]]},lk=sk;Gs.default=lk;var Ws={};Object.defineProperty(Ws,"__esModule",{value:!0});Ws.default=void 0;var uk={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"]]},ck=uk;Ws.default=ck;var Vs={};Object.defineProperty(Vs,"__esModule",{value:!0});Vs.default=void 0;var fk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dk=fk;Vs.default=dk;var zs={};Object.defineProperty(zs,"__esModule",{value:!0});zs.default=void 0;var pk={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"]]},hk=pk;zs.default=hk;var Ys={};Object.defineProperty(Ys,"__esModule",{value:!0});Ys.default=void 0;var mk={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:[]},yk=mk;Ys.default=yk;var Ks={};Object.defineProperty(Ks,"__esModule",{value:!0});Ks.default=void 0;var vk={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"]]},gk=vk;Ks.default=gk;var Xs={};Object.defineProperty(Xs,"__esModule",{value:!0});Xs.default=void 0;var bk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Ek=bk;Xs.default=Ek;var Qs={};Object.defineProperty(Qs,"__esModule",{value:!0});Qs.default=void 0;var _k={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"]]},wk=_k;Qs.default=wk;var Js={};Object.defineProperty(Js,"__esModule",{value:!0});Js.default=void 0;var Tk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Sk=Tk;Js.default=Sk;var Zs={};Object.defineProperty(Zs,"__esModule",{value:!0});Zs.default=void 0;var Rk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Ck=Rk;Zs.default=Ck;var el={};Object.defineProperty(el,"__esModule",{value:!0});el.default=void 0;var Ok={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},xk=Ok;el.default=xk;Object.defineProperty(Us,"__esModule",{value:!0});Us.default=void 0;var Pk=Ft(Hs),Ak=Ft(Gs),Ik=Ft(Ws),Nk=Ft(Vs),Mk=Ft(zs),$k=Ft(Ys),kk=Ft(Ks),Lk=Ft(Xs),Bk=Ft(Qs),qk=Ft(Js),Dk=Ft(Zs),Fk=Ft(el);function Ft(e){return e&&e.__esModule?e:{default:e}}var jk=[["command",Pk.default],["composite",Ak.default],["input",Ik.default],["landmark",Nk.default],["range",Mk.default],["roletype",$k.default],["section",kk.default],["sectionhead",Lk.default],["select",Bk.default],["structure",qk.default],["widget",Dk.default],["window",Fk.default]],Uk=jk;Us.default=Uk;var tl={},rl={};Object.defineProperty(rl,"__esModule",{value:!0});rl.default=void 0;var Hk={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"]]},Gk=Hk;rl.default=Gk;var nl={};Object.defineProperty(nl,"__esModule",{value:!0});nl.default=void 0;var Wk={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"]]},Vk=Wk;nl.default=Vk;var al={};Object.defineProperty(al,"__esModule",{value:!0});al.default=void 0;var zk={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"]]},Yk=zk;al.default=Yk;var ol={};Object.defineProperty(ol,"__esModule",{value:!0});ol.default=void 0;var Kk={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"]]},Xk=Kk;ol.default=Xk;var il={};Object.defineProperty(il,"__esModule",{value:!0});il.default=void 0;var Qk={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"]]},Jk=Qk;il.default=Jk;var sl={};Object.defineProperty(sl,"__esModule",{value:!0});sl.default=void 0;var Zk={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},eL=Zk;sl.default=eL;var ll={};Object.defineProperty(ll,"__esModule",{value:!0});ll.default=void 0;var tL={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"]]},rL=tL;ll.default=rL;var ul={};Object.defineProperty(ul,"__esModule",{value:!0});ul.default=void 0;var nL={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"]]},aL=nL;ul.default=aL;var cl={};Object.defineProperty(cl,"__esModule",{value:!0});cl.default=void 0;var oL={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"]]},iL=oL;cl.default=iL;var fl={};Object.defineProperty(fl,"__esModule",{value:!0});fl.default=void 0;var sL={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"]]},lL=sL;fl.default=lL;var dl={};Object.defineProperty(dl,"__esModule",{value:!0});dl.default=void 0;var uL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},cL=uL;dl.default=cL;var pl={};Object.defineProperty(pl,"__esModule",{value:!0});pl.default=void 0;var fL={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"]]},dL=fL;pl.default=dL;var hl={};Object.defineProperty(hl,"__esModule",{value:!0});hl.default=void 0;var pL={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"]]},hL=pL;hl.default=hL;var ml={};Object.defineProperty(ml,"__esModule",{value:!0});ml.default=void 0;var mL={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"]]},yL=mL;ml.default=yL;var yl={};Object.defineProperty(yl,"__esModule",{value:!0});yl.default=void 0;var vL={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"]]},gL=vL;yl.default=gL;var vl={};Object.defineProperty(vl,"__esModule",{value:!0});vl.default=void 0;var bL={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"]]},EL=bL;vl.default=EL;var gl={};Object.defineProperty(gl,"__esModule",{value:!0});gl.default=void 0;var _L={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},wL=_L;gl.default=wL;var bl={};Object.defineProperty(bl,"__esModule",{value:!0});bl.default=void 0;var TL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},SL=TL;bl.default=SL;var El={};Object.defineProperty(El,"__esModule",{value:!0});El.default=void 0;var RL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},CL=RL;El.default=CL;var _l={};Object.defineProperty(_l,"__esModule",{value:!0});_l.default=void 0;var OL={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"]]},xL=OL;_l.default=xL;var wl={};Object.defineProperty(wl,"__esModule",{value:!0});wl.default=void 0;var PL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AL=PL;wl.default=AL;var Tl={};Object.defineProperty(Tl,"__esModule",{value:!0});Tl.default=void 0;var IL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},NL=IL;Tl.default=NL;var Sl={};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.default=void 0;var ML={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"]]},$L=ML;Sl.default=$L;var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var kL={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"]]},LL=kL;Rl.default=LL;var Cl={};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.default=void 0;var BL={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"]]},qL=BL;Cl.default=qL;var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0});Ol.default=void 0;var DL={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"]]},FL=DL;Ol.default=FL;var xl={};Object.defineProperty(xl,"__esModule",{value:!0});xl.default=void 0;var jL={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"]]},UL=jL;xl.default=UL;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;var HL={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"]]},GL=HL;Pl.default=GL;var Al={};Object.defineProperty(Al,"__esModule",{value:!0});Al.default=void 0;var WL={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"]]},VL=WL;Al.default=VL;var Il={};Object.defineProperty(Il,"__esModule",{value:!0});Il.default=void 0;var zL={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"]]},YL=zL;Il.default=YL;var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var KL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},XL=KL;Nl.default=XL;var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});Ml.default=void 0;var QL={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"]]},JL=QL;Ml.default=JL;var $l={};Object.defineProperty($l,"__esModule",{value:!0});$l.default=void 0;var ZL={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"]]},eB=ZL;$l.default=eB;var kl={};Object.defineProperty(kl,"__esModule",{value:!0});kl.default=void 0;var tB={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"]]},rB=tB;kl.default=rB;var Ll={};Object.defineProperty(Ll,"__esModule",{value:!0});Ll.default=void 0;var nB={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"]]},aB=nB;Ll.default=aB;var Bl={};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=void 0;var oB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},iB=oB;Bl.default=iB;var ql={};Object.defineProperty(ql,"__esModule",{value:!0});ql.default=void 0;var sB={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"]]},lB=sB;ql.default=lB;var Dl={};Object.defineProperty(Dl,"__esModule",{value:!0});Dl.default=void 0;var uB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},cB=uB;Dl.default=cB;var Fl={};Object.defineProperty(Fl,"__esModule",{value:!0});Fl.default=void 0;var fB={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"]]},dB=fB;Fl.default=dB;var jl={};Object.defineProperty(jl,"__esModule",{value:!0});jl.default=void 0;var pB={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"]]},hB=pB;jl.default=hB;var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=void 0;var mB={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"]]},yB=mB;Ul.default=yB;var Hl={};Object.defineProperty(Hl,"__esModule",{value:!0});Hl.default=void 0;var vB={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"]]},gB=vB;Hl.default=gB;var Gl={};Object.defineProperty(Gl,"__esModule",{value:!0});Gl.default=void 0;var bB={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"]]},EB=bB;Gl.default=EB;var Wl={};Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;var _B={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"]]},wB=_B;Wl.default=wB;var Vl={};Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=void 0;var TB={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"]]},SB=TB;Vl.default=SB;var zl={};Object.defineProperty(zl,"__esModule",{value:!0});zl.default=void 0;var RB={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"]]},CB=RB;zl.default=CB;var Yl={};Object.defineProperty(Yl,"__esModule",{value:!0});Yl.default=void 0;var OB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},xB=OB;Yl.default=xB;var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0});Kl.default=void 0;var PB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AB=PB;Kl.default=AB;var Xl={};Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=void 0;var IB={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"]]},NB=IB;Xl.default=NB;var Ql={};Object.defineProperty(Ql,"__esModule",{value:!0});Ql.default=void 0;var MB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},$B=MB;Ql.default=$B;var Jl={};Object.defineProperty(Jl,"__esModule",{value:!0});Jl.default=void 0;var kB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},LB=kB;Jl.default=LB;var Zl={};Object.defineProperty(Zl,"__esModule",{value:!0});Zl.default=void 0;var BB={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"]]},qB=BB;Zl.default=qB;var eu={};Object.defineProperty(eu,"__esModule",{value:!0});eu.default=void 0;var DB={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"]]},FB=DB;eu.default=FB;var tu={};Object.defineProperty(tu,"__esModule",{value:!0});tu.default=void 0;var jB={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"]]},UB=jB;tu.default=UB;var ru={};Object.defineProperty(ru,"__esModule",{value:!0});ru.default=void 0;var HB={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"]]},GB=HB;ru.default=GB;var nu={};Object.defineProperty(nu,"__esModule",{value:!0});nu.default=void 0;var WB={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"]]},VB=WB;nu.default=VB;var au={};Object.defineProperty(au,"__esModule",{value:!0});au.default=void 0;var zB={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"]]},YB=zB;au.default=YB;var ou={};Object.defineProperty(ou,"__esModule",{value:!0});ou.default=void 0;var KB={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"]]},XB=KB;ou.default=XB;var iu={};Object.defineProperty(iu,"__esModule",{value:!0});iu.default=void 0;var QB={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"]]},JB=QB;iu.default=JB;var su={};Object.defineProperty(su,"__esModule",{value:!0});su.default=void 0;var ZB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},eq=ZB;su.default=eq;var lu={};Object.defineProperty(lu,"__esModule",{value:!0});lu.default=void 0;var tq={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"]]},rq=tq;lu.default=rq;var uu={};Object.defineProperty(uu,"__esModule",{value:!0});uu.default=void 0;var nq={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"]]},aq=nq;uu.default=aq;var cu={};Object.defineProperty(cu,"__esModule",{value:!0});cu.default=void 0;var oq={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"]]},iq=oq;cu.default=iq;var fu={};Object.defineProperty(fu,"__esModule",{value:!0});fu.default=void 0;var sq={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"]]},lq=sq;fu.default=lq;var du={};Object.defineProperty(du,"__esModule",{value:!0});du.default=void 0;var uq={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"]]},cq=uq;du.default=cq;var pu={};Object.defineProperty(pu,"__esModule",{value:!0});pu.default=void 0;var fq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dq=fq;pu.default=dq;var hu={};Object.defineProperty(hu,"__esModule",{value:!0});hu.default=void 0;var pq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hq=pq;hu.default=hq;var mu={};Object.defineProperty(mu,"__esModule",{value:!0});mu.default=void 0;var mq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yq=mq;mu.default=yq;var yu={};Object.defineProperty(yu,"__esModule",{value:!0});yu.default=void 0;var vq={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"]]},gq=vq;yu.default=gq;var vu={};Object.defineProperty(vu,"__esModule",{value:!0});vu.default=void 0;var bq={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"]]},Eq=bq;vu.default=Eq;var gu={};Object.defineProperty(gu,"__esModule",{value:!0});gu.default=void 0;var _q={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"]]},wq=_q;gu.default=wq;var bu={};Object.defineProperty(bu,"__esModule",{value:!0});bu.default=void 0;var Tq={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"]]},Sq=Tq;bu.default=Sq;var Eu={};Object.defineProperty(Eu,"__esModule",{value:!0});Eu.default=void 0;var Rq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Cq=Rq;Eu.default=Cq;var _u={};Object.defineProperty(_u,"__esModule",{value:!0});_u.default=void 0;var Oq={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"]]},xq=Oq;_u.default=xq;var wu={};Object.defineProperty(wu,"__esModule",{value:!0});wu.default=void 0;var Pq={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"]]},Aq=Pq;wu.default=Aq;var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=void 0;var Iq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Nq=Iq;Tu.default=Nq;var Su={};Object.defineProperty(Su,"__esModule",{value:!0});Su.default=void 0;var Mq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},$q=Mq;Su.default=$q;var Ru={};Object.defineProperty(Ru,"__esModule",{value:!0});Ru.default=void 0;var kq={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"]]},Lq=kq;Ru.default=Lq;var Cu={};Object.defineProperty(Cu,"__esModule",{value:!0});Cu.default=void 0;var Bq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},qq=Bq;Cu.default=qq;var Ou={};Object.defineProperty(Ou,"__esModule",{value:!0});Ou.default=void 0;var Dq={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"]]},Fq=Dq;Ou.default=Fq;var xu={};Object.defineProperty(xu,"__esModule",{value:!0});xu.default=void 0;var jq={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"]]},Uq=jq;xu.default=Uq;var Pu={};Object.defineProperty(Pu,"__esModule",{value:!0});Pu.default=void 0;var Hq={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"]]},Gq=Hq;Pu.default=Gq;Object.defineProperty(tl,"__esModule",{value:!0});tl.default=void 0;var Wq=re(rl),Vq=re(nl),zq=re(al),Yq=re(ol),Kq=re(il),Xq=re(sl),Qq=re(ll),Jq=re(ul),Zq=re(cl),eD=re(fl),tD=re(dl),rD=re(pl),nD=re(hl),aD=re(ml),oD=re(yl),iD=re(vl),sD=re(gl),lD=re(bl),uD=re(El),cD=re(_l),fD=re(wl),dD=re(Tl),pD=re(Sl),hD=re(Rl),mD=re(Cl),yD=re(Ol),vD=re(xl),gD=re(Pl),bD=re(Al),ED=re(Il),_D=re(Nl),wD=re(Ml),TD=re($l),SD=re(kl),RD=re(Ll),CD=re(Bl),OD=re(ql),xD=re(Dl),PD=re(Fl),AD=re(jl),ID=re(Ul),ND=re(Hl),MD=re(Gl),$D=re(Wl),kD=re(Vl),LD=re(zl),BD=re(Yl),qD=re(Kl),DD=re(Xl),FD=re(Ql),jD=re(Jl),UD=re(Zl),HD=re(eu),GD=re(tu),WD=re(ru),VD=re(nu),zD=re(au),YD=re(ou),KD=re(iu),XD=re(su),QD=re(lu),JD=re(uu),ZD=re(cu),eF=re(fu),tF=re(du),rF=re(pu),nF=re(hu),aF=re(mu),oF=re(yu),iF=re(vu),sF=re(gu),lF=re(bu),uF=re(Eu),cF=re(_u),fF=re(wu),dF=re(Tu),pF=re(Su),hF=re(Ru),mF=re(Cu),yF=re(Ou),vF=re(xu),gF=re(Pu);function re(e){return e&&e.__esModule?e:{default:e}}var bF=[["alert",Wq.default],["alertdialog",Vq.default],["application",zq.default],["article",Yq.default],["banner",Kq.default],["blockquote",Xq.default],["button",Qq.default],["caption",Jq.default],["cell",Zq.default],["checkbox",eD.default],["code",tD.default],["columnheader",rD.default],["combobox",nD.default],["complementary",aD.default],["contentinfo",oD.default],["definition",iD.default],["deletion",sD.default],["dialog",lD.default],["directory",uD.default],["document",cD.default],["emphasis",fD.default],["feed",dD.default],["figure",pD.default],["form",hD.default],["generic",mD.default],["grid",yD.default],["gridcell",vD.default],["group",gD.default],["heading",bD.default],["img",ED.default],["insertion",_D.default],["link",wD.default],["list",TD.default],["listbox",SD.default],["listitem",RD.default],["log",CD.default],["main",OD.default],["marquee",xD.default],["math",PD.default],["menu",AD.default],["menubar",ID.default],["menuitem",ND.default],["menuitemcheckbox",MD.default],["menuitemradio",$D.default],["meter",kD.default],["navigation",LD.default],["none",BD.default],["note",qD.default],["option",DD.default],["paragraph",FD.default],["presentation",jD.default],["progressbar",UD.default],["radio",HD.default],["radiogroup",GD.default],["region",WD.default],["row",VD.default],["rowgroup",zD.default],["rowheader",YD.default],["scrollbar",KD.default],["search",XD.default],["searchbox",QD.default],["separator",JD.default],["slider",ZD.default],["spinbutton",eF.default],["status",tF.default],["strong",rF.default],["subscript",nF.default],["superscript",aF.default],["switch",oF.default],["tab",iF.default],["table",sF.default],["tablist",lF.default],["tabpanel",uF.default],["term",cF.default],["textbox",fF.default],["time",dF.default],["timer",pF.default],["toolbar",hF.default],["tooltip",mF.default],["tree",yF.default],["treegrid",vF.default],["treeitem",gF.default]],EF=bF;tl.default=EF;var Au={},Iu={};Object.defineProperty(Iu,"__esModule",{value:!0});Iu.default=void 0;var _F={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"]]},wF=_F;Iu.default=wF;var Nu={};Object.defineProperty(Nu,"__esModule",{value:!0});Nu.default=void 0;var TF={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"]]},SF=TF;Nu.default=SF;var Mu={};Object.defineProperty(Mu,"__esModule",{value:!0});Mu.default=void 0;var RF={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"]]},CF=RF;Mu.default=CF;var $u={};Object.defineProperty($u,"__esModule",{value:!0});$u.default=void 0;var OF={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"]]},xF=OF;$u.default=xF;var ku={};Object.defineProperty(ku,"__esModule",{value:!0});ku.default=void 0;var PF={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"]]},AF=PF;ku.default=AF;var Lu={};Object.defineProperty(Lu,"__esModule",{value:!0});Lu.default=void 0;var IF={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"]]},NF=IF;Lu.default=NF;var Bu={};Object.defineProperty(Bu,"__esModule",{value:!0});Bu.default=void 0;var MF={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"]]},$F=MF;Bu.default=$F;var qu={};Object.defineProperty(qu,"__esModule",{value:!0});qu.default=void 0;var kF={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"]]},LF=kF;qu.default=LF;var Du={};Object.defineProperty(Du,"__esModule",{value:!0});Du.default=void 0;var BF={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"]]},qF=BF;Du.default=qF;var Fu={};Object.defineProperty(Fu,"__esModule",{value:!0});Fu.default=void 0;var DF={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"]]},FF=DF;Fu.default=FF;var ju={};Object.defineProperty(ju,"__esModule",{value:!0});ju.default=void 0;var jF={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"]]},UF=jF;ju.default=UF;var Uu={};Object.defineProperty(Uu,"__esModule",{value:!0});Uu.default=void 0;var HF={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"]]},GF=HF;Uu.default=GF;var Hu={};Object.defineProperty(Hu,"__esModule",{value:!0});Hu.default=void 0;var WF={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"]]},VF=WF;Hu.default=VF;var Gu={};Object.defineProperty(Gu,"__esModule",{value:!0});Gu.default=void 0;var zF={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"]]},YF=zF;Gu.default=YF;var Wu={};Object.defineProperty(Wu,"__esModule",{value:!0});Wu.default=void 0;var KF={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"]]},XF=KF;Wu.default=XF;var Vu={};Object.defineProperty(Vu,"__esModule",{value:!0});Vu.default=void 0;var QF={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"]]},JF=QF;Vu.default=JF;var zu={};Object.defineProperty(zu,"__esModule",{value:!0});zu.default=void 0;var ZF={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"]]},ej=ZF;zu.default=ej;var Yu={};Object.defineProperty(Yu,"__esModule",{value:!0});Yu.default=void 0;var tj={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"]]},rj=tj;Yu.default=rj;var Ku={};Object.defineProperty(Ku,"__esModule",{value:!0});Ku.default=void 0;var nj={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"]]},aj=nj;Ku.default=aj;var Xu={};Object.defineProperty(Xu,"__esModule",{value:!0});Xu.default=void 0;var oj={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"]]},ij=oj;Xu.default=ij;var Qu={};Object.defineProperty(Qu,"__esModule",{value:!0});Qu.default=void 0;var sj={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"]]},lj=sj;Qu.default=lj;var Ju={};Object.defineProperty(Ju,"__esModule",{value:!0});Ju.default=void 0;var uj={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"]]},cj=uj;Ju.default=cj;var Zu={};Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=void 0;var fj={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"]]},dj=fj;Zu.default=dj;var ec={};Object.defineProperty(ec,"__esModule",{value:!0});ec.default=void 0;var pj={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"]]},hj=pj;ec.default=hj;var tc={};Object.defineProperty(tc,"__esModule",{value:!0});tc.default=void 0;var mj={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"]]},yj=mj;tc.default=yj;var rc={};Object.defineProperty(rc,"__esModule",{value:!0});rc.default=void 0;var vj={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"]]},gj=vj;rc.default=gj;var nc={};Object.defineProperty(nc,"__esModule",{value:!0});nc.default=void 0;var bj={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"]]},Ej=bj;nc.default=Ej;var ac={};Object.defineProperty(ac,"__esModule",{value:!0});ac.default=void 0;var _j={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"]]},wj=_j;ac.default=wj;var oc={};Object.defineProperty(oc,"__esModule",{value:!0});oc.default=void 0;var Tj={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"]]},Sj=Tj;oc.default=Sj;var ic={};Object.defineProperty(ic,"__esModule",{value:!0});ic.default=void 0;var Rj={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"]]},Cj=Rj;ic.default=Cj;var sc={};Object.defineProperty(sc,"__esModule",{value:!0});sc.default=void 0;var Oj={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"]]},xj=Oj;sc.default=xj;var lc={};Object.defineProperty(lc,"__esModule",{value:!0});lc.default=void 0;var Pj={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"]]},Aj=Pj;lc.default=Aj;var uc={};Object.defineProperty(uc,"__esModule",{value:!0});uc.default=void 0;var Ij={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"]]},Nj=Ij;uc.default=Nj;var cc={};Object.defineProperty(cc,"__esModule",{value:!0});cc.default=void 0;var Mj={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"]]},$j=Mj;cc.default=$j;var fc={};Object.defineProperty(fc,"__esModule",{value:!0});fc.default=void 0;var kj={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"]]},Lj=kj;fc.default=Lj;var dc={};Object.defineProperty(dc,"__esModule",{value:!0});dc.default=void 0;var Bj={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"]]},qj=Bj;dc.default=qj;var pc={};Object.defineProperty(pc,"__esModule",{value:!0});pc.default=void 0;var Dj={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"]]},Fj=Dj;pc.default=Fj;var hc={};Object.defineProperty(hc,"__esModule",{value:!0});hc.default=void 0;var jj={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"]]},Uj=jj;hc.default=Uj;var mc={};Object.defineProperty(mc,"__esModule",{value:!0});mc.default=void 0;var Hj={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"]]},Gj=Hj;mc.default=Gj;Object.defineProperty(Au,"__esModule",{value:!0});Au.default=void 0;var Wj=Te(Iu),Vj=Te(Nu),zj=Te(Mu),Yj=Te($u),Kj=Te(ku),Xj=Te(Lu),Qj=Te(Bu),Jj=Te(qu),Zj=Te(Du),eU=Te(Fu),tU=Te(ju),rU=Te(Uu),nU=Te(Hu),aU=Te(Gu),oU=Te(Wu),iU=Te(Vu),sU=Te(zu),lU=Te(Yu),uU=Te(Ku),cU=Te(Xu),fU=Te(Qu),dU=Te(Ju),pU=Te(Zu),hU=Te(ec),mU=Te(tc),yU=Te(rc),vU=Te(nc),gU=Te(ac),bU=Te(oc),EU=Te(ic),_U=Te(sc),wU=Te(lc),TU=Te(uc),SU=Te(cc),RU=Te(fc),CU=Te(dc),OU=Te(pc),xU=Te(hc),PU=Te(mc);function Te(e){return e&&e.__esModule?e:{default:e}}var AU=[["doc-abstract",Wj.default],["doc-acknowledgments",Vj.default],["doc-afterword",zj.default],["doc-appendix",Yj.default],["doc-backlink",Kj.default],["doc-biblioentry",Xj.default],["doc-bibliography",Qj.default],["doc-biblioref",Jj.default],["doc-chapter",Zj.default],["doc-colophon",eU.default],["doc-conclusion",tU.default],["doc-cover",rU.default],["doc-credit",nU.default],["doc-credits",aU.default],["doc-dedication",oU.default],["doc-endnote",iU.default],["doc-endnotes",sU.default],["doc-epigraph",lU.default],["doc-epilogue",uU.default],["doc-errata",cU.default],["doc-example",fU.default],["doc-footnote",dU.default],["doc-foreword",pU.default],["doc-glossary",hU.default],["doc-glossref",mU.default],["doc-index",yU.default],["doc-introduction",vU.default],["doc-noteref",gU.default],["doc-notice",bU.default],["doc-pagebreak",EU.default],["doc-pagelist",_U.default],["doc-part",wU.default],["doc-preface",TU.default],["doc-prologue",SU.default],["doc-pullquote",RU.default],["doc-qna",CU.default],["doc-subtitle",OU.default],["doc-tip",xU.default],["doc-toc",PU.default]],IU=AU;Au.default=IU;var yc={},vc={};Object.defineProperty(vc,"__esModule",{value:!0});vc.default=void 0;var NU={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"]]},MU=NU;vc.default=MU;var gc={};Object.defineProperty(gc,"__esModule",{value:!0});gc.default=void 0;var $U={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"]]},kU=$U;gc.default=kU;var bc={};Object.defineProperty(bc,"__esModule",{value:!0});bc.default=void 0;var LU={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"]]},BU=LU;bc.default=BU;Object.defineProperty(yc,"__esModule",{value:!0});yc.default=void 0;var qU=Vh(vc),DU=Vh(gc),FU=Vh(bc);function Vh(e){return e&&e.__esModule?e:{default:e}}var jU=[["graphics-document",qU.default],["graphics-object",DU.default],["graphics-symbol",FU.default]],UU=jU;yc.default=UU;Object.defineProperty(xa,"__esModule",{value:!0});xa.default=void 0;var HU=Yo(Us),GU=Yo(tl),WU=Yo(Au),VU=Yo(yc),zU=Yo($n);function Yo(e){return e&&e.__esModule?e:{default:e}}function YU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $p(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=cT(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.
131
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function Oo(e,t){return QU(e)||XU(e,t)||cT(e,t)||KU()}function KU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
132
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cT(e,t){if(e){if(typeof e=="string")return Dg(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 Dg(e,t)}}function Dg(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 XU(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function QU(e){if(Array.isArray(e))return e}var jr=[].concat(HU.default,GU.default,WU.default,VU.default);jr.forEach(function(e){var t=Oo(e,2),r=t[1],n=$p(r.superClass),a;try{for(n.s();!(a=n.n()).done;){var o=a.value,s=$p(o),i;try{var l=function(){var c=i.value,d=jr.find(function(_){var b=Oo(_,1),v=b[0];return v===c});if(d)for(var p=d[1],f=0,h=Object.keys(p.props);f<h.length;f++){var m=h[f];Object.prototype.hasOwnProperty.call(r.props,m)||Object.assign(r.props,YU({},m,p.props[m]))}};for(s.s();!(i=s.n()).done;)l()}catch(u){s.e(u)}finally{s.f()}}}catch(u){n.e(u)}finally{n.f()}});var kp={entries:function(){return jr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=$p(jr),a;try{for(n.s();!(a=n.n()).done;){var o=Oo(a.value,2),s=o[0],i=o[1];t.call(r,i,s,jr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=jr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!kp.get(t)},keys:function(){return jr.map(function(t){var r=Oo(t,1),n=r[0];return n})},values:function(){return jr.map(function(t){var r=Oo(t,2),n=r[1];return n})}},JU=(0,zU.default)(kp,kp.entries());xa.default=JU;var Ec={},Fg=Object.prototype.toString,fT=function(t){var r=Fg.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Fg.call(t.callee)==="[object Function]"),n},_d,jg;function ZU(){if(jg)return _d;jg=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=fT,a=Object.prototype.propertyIsEnumerable,o=!a.call({toString:null},"toString"),s=a.call(function(){},"prototype"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(p){var f=p.constructor;return f&&f.prototype===p},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 p in window)try{if(!u["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{l(window[p])}catch{return!0}}catch{return!0}return!1}(),d=function(p){if(typeof window>"u"||!c)return l(p);try{return l(p)}catch{return!1}};e=function(f){var h=f!==null&&typeof f=="object",m=r.call(f)==="[object Function]",_=n(f),b=h&&r.call(f)==="[object String]",v=[];if(!h&&!m&&!_)throw new TypeError("Object.keys called on a non-object");var w=s&&m;if(b&&f.length>0&&!t.call(f,0))for(var S=0;S<f.length;++S)v.push(String(S));if(_&&f.length>0)for(var T=0;T<f.length;++T)v.push(String(T));else for(var C in f)!(w&&C==="prototype")&&t.call(f,C)&&v.push(String(C));if(o)for(var I=d(f),N=0;N<i.length;++N)!(I&&i[N]==="constructor")&&t.call(f,i[N])&&v.push(i[N]);return v}}return _d=e,_d}var e2=Array.prototype.slice,t2=fT,Ug=Object.keys,Gi=Ug?function(t){return Ug(t)}:ZU(),Hg=Object.keys;Gi.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 t2(n)?Hg(e2.call(n)):Hg(n)})}else Object.keys=Gi;return Object.keys||Gi};var zh=Gi,r2=er,Lp=r2("%Object.defineProperty%",!0),Bp=function(){if(Lp)try{return Lp({},"a",{value:1}),!0}catch{return!1}return!1};Bp.hasArrayLengthDefineBug=function(){if(!Bp())return null;try{return Lp([],"length",{value:1}).length!==1}catch{return!0}};var Yh=Bp,n2=er,Wi=n2("%Object.getOwnPropertyDescriptor%",!0);if(Wi)try{Wi([],"length")}catch{Wi=null}var dT=Wi,a2=Yh(),Kh=er,Gg=a2&&Kh("%Object.defineProperty%",!0),o2=Kh("%SyntaxError%"),ia=Kh("%TypeError%"),Wg=dT,pT=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new ia("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new ia("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new ia("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new ia("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new ia("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new ia("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,i=arguments.length>6?arguments[6]:!1,l=!!Wg&&Wg(t,r);if(Gg)Gg(t,r,{configurable:s===null&&l?l.configurable:!s,enumerable:a===null&&l?l.enumerable:!a,value:n,writable:o===null&&l?l.writable:!o});else if(i||!a&&!o&&!s)t[r]=n;else throw new o2("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},i2=zh,s2=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",l2=Object.prototype.toString,u2=Array.prototype.concat,Vg=pT,c2=function(e){return typeof e=="function"&&l2.call(e)==="[object Function]"},hT=Yh(),f2=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!c2(n)||!n())return}hT?Vg(e,t,r,!0):Vg(e,t,r)},mT=function(e,t){var r=arguments.length>2?arguments[2]:{},n=i2(t);s2&&(n=u2.call(n,Object.getOwnPropertySymbols(t)));for(var a=0;a<n.length;a+=1)f2(e,n[a],t[n[a]],r[n[a]])};mT.supportsDescriptors=!!hT;var kn=mT,d2=zh,yT=Ps(),vT=Bt,zg=Object,p2=vT("Array.prototype.push"),Yg=vT("Object.prototype.propertyIsEnumerable"),h2=yT?Object.getOwnPropertySymbols:null,gT=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=zg(t);if(arguments.length===1)return n;for(var a=1;a<arguments.length;++a){var o=zg(arguments[a]),s=d2(o),i=yT&&(Object.getOwnPropertySymbols||h2);if(i)for(var l=i(o),u=0;u<l.length;++u){var c=l[u];Yg(o,c)&&p2(s,c)}for(var d=0;d<s.length;++d){var p=s[d];if(Yg(o,p)){var f=o[p];n[p]=f}}}return n},wd=gT,m2=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 s in a)o+=s;return e!==o},y2=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},bT=function(){return!Object.assign||m2()||y2()?wd:Object.assign},v2=kn,g2=bT,b2=function(){var t=g2();return v2(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},E2=kn,_2=Ta,w2=gT,ET=bT,T2=b2,S2=_2.apply(ET()),_T=function(t,r){return S2(Object,arguments)};E2(_T,{getPolyfill:ET,implementation:w2,shim:T2});var R2=_T,Lo=function(){return typeof(function(){}).name=="string"},xo=Object.getOwnPropertyDescriptor;if(xo)try{xo([],"length")}catch{xo=null}Lo.functionsHaveConfigurableNames=function(){if(!Lo()||!xo)return!1;var t=xo(function(){},"name");return!!t&&!!t.configurable};var C2=Function.prototype.bind;Lo.boundFunctionsHaveNames=function(){return Lo()&&typeof C2=="function"&&(function(){}).bind().name!==""};var O2=Lo,Kg=pT,x2=Yh(),P2=O2.functionsHaveConfigurableNames(),A2=TypeError,I2=function(t,r){if(typeof t!="function")throw new A2("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||P2)&&(x2?Kg(t,"name",r,!0,!0):Kg(t,"name",r)),t},N2=I2,M2=Object,$2=TypeError,wT=N2(function(){if(this!=null&&this!==M2(this))throw new $2("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),k2=wT,L2=kn.supportsDescriptors,B2=Object.getOwnPropertyDescriptor,TT=function(){if(L2&&/a/mig.flags==="gim"){var t=B2(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 k2},q2=kn.supportsDescriptors,D2=TT,F2=Object.getOwnPropertyDescriptor,j2=Object.defineProperty,U2=TypeError,Xg=Object.getPrototypeOf,H2=/a/,G2=function(){if(!q2||!Xg)throw new U2("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=D2(),r=Xg(H2),n=F2(r,"flags");return(!n||n.get!==t)&&j2(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},W2=kn,V2=Ta,z2=wT,ST=TT,Y2=G2,RT=V2(ST());W2(RT,{getPolyfill:ST,implementation:z2,shim:Y2});var K2=RT,Vi={exports:{}},X2=Ps,Ln=function(){return X2()&&!!Symbol.toStringTag},Q2=Ln(),J2=Bt,qp=J2("Object.prototype.toString"),_c=function(t){return Q2&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:qp(t)==="[object Arguments]"},CT=function(t){return _c(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&qp(t)!=="[object Array]"&&qp(t.callee)==="[object Function]"},Z2=function(){return _c(arguments)}();_c.isLegacyArguments=CT;var OT=Z2?_c:CT,eH=er,tH=YE,_o=xh(),_r=eH("%TypeError%"),Xh={assert:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new _r("`O` is not an object");if(typeof t!="string")throw new _r("`slot` must be a string");if(_o.assert(e),!Xh.has(e,t))throw new _r("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new _r("`O` is not an object");if(typeof t!="string")throw new _r("`slot` must be a string");var r=_o.get(e);return r&&r["$"+t]},has:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new _r("`O` is not an object");if(typeof t!="string")throw new _r("`slot` must be a string");var r=_o.get(e);return!!r&&tH(r,"$"+t)},set:function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new _r("`O` is not an object");if(typeof t!="string")throw new _r("`slot` must be a string");var n=_o.get(e);n||(n={},_o.set(e,n)),n["$"+t]=r}};Object.freeze&&Object.freeze(Xh);var rH=Xh,wo=rH,nH=SyntaxError,Qg=typeof StopIteration=="object"?StopIteration:null,aH=function(t){if(!Qg)throw new nH("this environment lacks StopIteration");wo.set(t,"[[Done]]",!1);var r={next:function(){var a=wo.get(this,"[[Iterator]]"),o=wo.get(a,"[[Done]]");try{return{done:o,value:o?void 0:a.next()}}catch(s){if(wo.set(a,"[[Done]]",!0),s!==Qg)throw s;return{done:!0,value:void 0}}}};return wo.set(r,"[[Iterator]]",t),r},oH={}.toString,xT=Array.isArray||function(e){return oH.call(e)=="[object Array]"},iH=String.prototype.valueOf,sH=function(t){try{return iH.call(t),!0}catch{return!1}},lH=Object.prototype.toString,uH="[object String]",cH=Ln(),PT=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:cH?sH(t):lH.call(t)===uH},Qh=typeof Map=="function"&&Map.prototype?Map:null,fH=typeof Set=="function"&&Set.prototype?Set:null,fs;Qh||(fs=function(t){return!1});var AT=Qh?Map.prototype.has:null,Jg=fH?Set.prototype.has:null;!fs&&!AT&&(fs=function(t){return!1});var IT=fs||function(t){if(!t||typeof t!="object")return!1;try{if(AT.call(t),Jg)try{Jg.call(t)}catch{return!0}return t instanceof Qh}catch{}return!1},dH=typeof Map=="function"&&Map.prototype?Map:null,Jh=typeof Set=="function"&&Set.prototype?Set:null,ds;Jh||(ds=function(t){return!1});var Zg=dH?Map.prototype.has:null,NT=Jh?Set.prototype.has:null;!ds&&!NT&&(ds=function(t){return!1});var MT=ds||function(t){if(!t||typeof t!="object")return!1;try{if(NT.call(t),Zg)try{Zg.call(t)}catch{return!0}return t instanceof Jh}catch{}return!1},eb=OT,tb=aH;if(_h()||Ps()){var Td=Symbol.iterator;Vi.exports=function(t){if(t!=null&&typeof t[Td]<"u")return t[Td]();if(eb(t))return Array.prototype[Td].call(t)}}else{var pH=xT,hH=PT,rb=er,mH=rb("%Map%",!0),yH=rb("%Set%",!0),zt=Bt,nb=zt("Array.prototype.push"),ab=zt("String.prototype.charCodeAt"),vH=zt("String.prototype.slice"),gH=function(t,r){var n=t.length;if(r+1>=n)return r+1;var a=ab(t,r);if(a<55296||a>56319)return r+1;var o=ab(t,r+1);return o<56320||o>57343?r+1:r+2},Sd=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}}}},ob=function(t,r){if(pH(t)||eb(t))return Sd(t);if(hH(t)){var n=0;return{next:function(){var o=gH(t,n),s=vH(t,n,o);return n=o,{done:o>t.length,value:s}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!mH&&!yH)Vi.exports=function(t){if(t!=null)return ob(t,!0)};else{var bH=IT,EH=MT,ib=zt("Map.prototype.forEach",!0),sb=zt("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var lb=zt("Map.prototype.iterator",!0),ub=zt("Set.prototype.iterator",!0);var cb=zt("Map.prototype.@@iterator",!0)||zt("Map.prototype._es6-shim iterator_",!0),fb=zt("Set.prototype.@@iterator",!0)||zt("Set.prototype._es6-shim iterator_",!0),_H=function(t){if(bH(t)){if(lb)return tb(lb(t));if(cb)return cb(t);if(ib){var r=[];return ib(t,function(a,o){nb(r,[o,a])}),Sd(r)}}if(EH(t)){if(ub)return tb(ub(t));if(fb)return fb(t);if(sb){var n=[];return sb(t,function(a){nb(n,a)}),Sd(n)}}};Vi.exports=function(t){return _H(t)||ob(t)}}}var wH=Vi.exports,db=function(e){return e!==e},$T=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||db(t)&&db(r))},TH=$T,kT=function(){return typeof Object.is=="function"?Object.is:TH},SH=kT,RH=kn,CH=function(){var t=SH();return RH(Object,{is:t},{is:function(){return Object.is!==t}}),t},OH=kn,xH=Ta,PH=$T,LT=kT,AH=CH,BT=xH(LT(),Object);OH(BT,{getPolyfill:LT,implementation:PH,shim:AH});var IH=BT,qT=Function.prototype.toString,ca=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Dp,zi;if(typeof ca=="function"&&typeof Object.defineProperty=="function")try{Dp=Object.defineProperty({},"length",{get:function(){throw zi}}),zi={},ca(function(){throw 42},null,Dp)}catch(e){e!==zi&&(ca=null)}else ca=null;var NH=/^\s*class\b/,Fp=function(t){try{var r=qT.call(t);return NH.test(r)}catch{return!1}},Rd=function(t){try{return Fp(t)?!1:(qT.call(t),!0)}catch{return!1}},Yi=Object.prototype.toString,MH="[object Object]",$H="[object Function]",kH="[object GeneratorFunction]",LH="[object HTMLAllCollection]",BH="[object HTML document.all class]",qH="[object HTMLCollection]",DH=typeof Symbol=="function"&&!!Symbol.toStringTag,FH=!(0 in[,]),jp=function(){return!1};if(typeof document=="object"){var jH=document.all;Yi.call(jH)===Yi.call(document.all)&&(jp=function(t){if((FH||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Yi.call(t);return(r===LH||r===BH||r===qH||r===MH)&&t("")==null}catch{}return!1})}var UH=ca?function(t){if(jp(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{ca(t,null,Dp)}catch(r){if(r!==zi)return!1}return!Fp(t)&&Rd(t)}:function(t){if(jp(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(DH)return Rd(t);if(Fp(t))return!1;var r=Yi.call(t);return r!==$H&&r!==kH&&!/^\[object HTML/.test(r)?!1:Rd(t)},HH=UH,GH=Object.prototype.toString,DT=Object.prototype.hasOwnProperty,WH=function(t,r,n){for(var a=0,o=t.length;a<o;a++)DT.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},VH=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)},zH=function(t,r,n){for(var a in t)DT.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},YH=function(t,r,n){if(!HH(r))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),GH.call(t)==="[object Array]"?WH(t,r,a):typeof t=="string"?VH(t,r,a):zH(t,r,a)},KH=YH,Cd=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],XH=typeof globalThis>"u"?be:globalThis,QH=function(){for(var t=[],r=0;r<Cd.length;r++)typeof XH[Cd[r]]=="function"&&(t[t.length]=Cd[r]);return t},ps=KH,JH=QH,pb=Ta,Zh=Bt,Ki=dT,ZH=Zh("Object.prototype.toString"),FT=Ln(),hb=typeof globalThis>"u"?be:globalThis,Up=JH(),em=Zh("String.prototype.slice"),Od=Object.getPrototypeOf,e3=Zh("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},hs={__proto__:null};FT&&Ki&&Od?ps(Up,function(e){var t=new hb[e];if(Symbol.toStringTag in t){var r=Od(t),n=Ki(r,Symbol.toStringTag);if(!n){var a=Od(r);n=Ki(a,Symbol.toStringTag)}hs["$"+e]=pb(n.get)}}):ps(Up,function(e){var t=new hb[e];hs["$"+e]=pb(t.slice)});var t3=function(t){var r=!1;return ps(hs,function(n,a){if(!r)try{"$"+n(t)===a&&(r=em(a,1))}catch{}}),r},r3=function(t){var r=!1;return ps(hs,function(n,a){if(!r)try{n(t),r=em(a,1)}catch{}}),r},jT=function(t){if(!t||typeof t!="object")return!1;if(!FT){var r=em(ZH(t),8,-1);return e3(Up,r)>-1?r:r!=="Object"?!1:r3(t)}return Ki?t3(t):null},n3=jT,a3=function(t){return!!n3(t)},o3=Ta,i3=Bt,UT=er,s3=a3,mb=UT("ArrayBuffer",!0),yb=UT("Float32Array",!0),Xi=i3("ArrayBuffer.prototype.byteLength",!0),vb=mb&&!Xi&&new mb().slice,gb=vb&&o3(vb),HT=Xi||gb?function(t){if(!t||typeof t!="object")return!1;try{return Xi?Xi(t):gb(t,0),!0}catch{return!1}}:yb?function(t){try{return new yb(t).buffer===t&&!s3(t)}catch(r){return typeof t=="object"&&r.name==="RangeError"}}:function(t){return!1},l3=Date.prototype.getDay,u3=function(t){try{return l3.call(t),!0}catch{return!1}},c3=Object.prototype.toString,f3="[object Date]",d3=Ln(),p3=function(t){return typeof t!="object"||t===null?!1:d3?u3(t):c3.call(t)===f3},Hp=Bt,GT=Ln(),WT,VT,Gp,Wp;if(GT){WT=Hp("Object.prototype.hasOwnProperty"),VT=Hp("RegExp.prototype.exec"),Gp={};var xd=function(){throw Gp};Wp={toString:xd,valueOf:xd},typeof Symbol.toPrimitive=="symbol"&&(Wp[Symbol.toPrimitive]=xd)}var h3=Hp("Object.prototype.toString"),m3=Object.getOwnPropertyDescriptor,y3="[object RegExp]",v3=GT?function(t){if(!t||typeof t!="object")return!1;var r=m3(t,"lastIndex"),n=r&&WT(r,"value");if(!n)return!1;try{VT(t,Wp)}catch(a){return a===Gp}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:h3(t)===y3},g3=Bt,bb=g3("SharedArrayBuffer.prototype.byteLength",!0),b3=bb?function(t){if(!t||typeof t!="object")return!1;try{return bb(t),!0}catch{return!1}}:function(t){return!1},E3=Number.prototype.toString,_3=function(t){try{return E3.call(t),!0}catch{return!1}},w3=Object.prototype.toString,T3="[object Number]",S3=Ln(),R3=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:S3?_3(t):w3.call(t)===T3},zT=Bt,C3=zT("Boolean.prototype.toString"),O3=zT("Object.prototype.toString"),x3=function(t){try{return C3(t),!0}catch{return!1}},P3="[object Boolean]",A3=Ln(),I3=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:A3&&Symbol.toStringTag in t?x3(t):O3(t)===P3},Vp={exports:{}},N3=Object.prototype.toString,M3=_h();if(M3){var $3=Symbol.prototype.toString,k3=/^Symbol\(.*\)$/,L3=function(t){return typeof t.valueOf()!="symbol"?!1:k3.test($3.call(t))};Vp.exports=function(t){if(typeof t=="symbol")return!0;if(N3.call(t)!=="[object Symbol]")return!1;try{return L3(t)}catch{return!1}}}else Vp.exports=function(t){return!1};var B3=Vp.exports,zp={exports:{}},Eb=typeof BigInt<"u"&&BigInt,q3=function(){return typeof Eb=="function"&&typeof BigInt=="function"&&typeof Eb(42)=="bigint"&&typeof BigInt(42)=="bigint"},D3=q3();if(D3){var F3=BigInt.prototype.valueOf,j3=function(t){try{return F3.call(t),!0}catch{}return!1};zp.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:j3(t)}}else zp.exports=function(t){return!1};var U3=zp.exports,H3=PT,G3=R3,W3=I3,V3=B3,z3=U3,Y3=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(H3(t))return"String";if(G3(t))return"Number";if(W3(t))return"Boolean";if(V3(t))return"Symbol";if(z3(t))return"BigInt"},ms=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,_b=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,ys;ms||(ys=function(t){return!1});var Yp=ms?ms.prototype.has:null,Pd=_b?_b.prototype.has:null;!ys&&!Yp&&(ys=function(t){return!1});var K3=ys||function(t){if(!t||typeof t!="object")return!1;try{if(Yp.call(t,Yp),Pd)try{Pd.call(t,Pd)}catch{return!0}return t instanceof ms}catch{}return!1},Kp={exports:{}},X3=er,YT=Bt,Q3=X3("%WeakSet%",!0),Ad=YT("WeakSet.prototype.has",!0);if(Ad){var Id=YT("WeakMap.prototype.has",!0);Kp.exports=function(t){if(!t||typeof t!="object")return!1;try{if(Ad(t,Ad),Id)try{Id(t,Id)}catch{return!0}return t instanceof Q3}catch{}return!1}}else Kp.exports=function(t){return!1};var J3=Kp.exports,Z3=IT,e4=MT,t4=K3,r4=J3,n4=function(t){if(t&&typeof t=="object"){if(Z3(t))return"Map";if(e4(t))return"Set";if(t4(t))return"WeakMap";if(r4(t))return"WeakSet"}return!1},a4=Bt,wb=a4("ArrayBuffer.prototype.byteLength",!0),o4=HT,i4=function(t){return o4(t)?wb?wb(t):t.byteLength:NaN},KT=R2,fr=Bt,Tb=K2,s4=er,Ea=wH,l4=xh,Sb=IH,Rb=OT,Cb=xT,Ob=HT,xb=p3,Pb=v3,Ab=b3,Ib=zh,Nb=Y3,Mb=n4,$b=jT,kb=i4,Lb=fr("SharedArrayBuffer.prototype.byteLength",!0),Bb=fr("Date.prototype.getTime"),Nd=Object.getPrototypeOf,qb=fr("Object.prototype.toString"),vs=s4("%Set%",!0),Xp=fr("Map.prototype.has",!0),gs=fr("Map.prototype.get",!0),Db=fr("Map.prototype.size",!0),bs=fr("Set.prototype.add",!0),XT=fr("Set.prototype.delete",!0),Es=fr("Set.prototype.has",!0),Qi=fr("Set.prototype.size",!0);function Fb(e,t,r,n){for(var a=Ea(e),o;(o=a.next())&&!o.done;)if(Jt(t,o.value,r,n))return XT(e,o.value),!0;return!1}function QT(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 u4(e,t,r,n,a,o){var s=QT(r);if(s!=null)return s;var i=gs(t,s),l=KT({},a,{strict:!1});return typeof i>"u"&&!Xp(t,s)||!Jt(n,i,l,o)?!1:!Xp(e,s)&&Jt(n,i,l,o)}function c4(e,t,r){var n=QT(r);return n??(Es(t,n)&&!Es(e,n))}function jb(e,t,r,n,a,o){for(var s=Ea(e),i,l;(i=s.next())&&!i.done;)if(l=i.value,Jt(r,l,a,o)&&Jt(n,gs(t,l),a,o))return XT(e,l),!0;return!1}function Jt(e,t,r,n){var a=r||{};if(a.strict?Sb(e,t):e===t)return!0;var o=Nb(e),s=Nb(t);if(o!==s)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return a.strict?Sb(e,t):e==t;var i=n.has(e),l=n.has(t),u;if(i&&l){if(n.get(e)===n.get(t))return!0}else u={};return i||n.set(e,u),l||n.set(t,u),p4(e,t,a,n)}function Ub(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 f4(e,t,r,n){if(Qi(e)!==Qi(t))return!1;for(var a=Ea(e),o=Ea(t),s,i,l;(s=a.next())&&!s.done;)if(s.value&&typeof s.value=="object")l||(l=new vs),bs(l,s.value);else if(!Es(t,s.value)){if(r.strict||!c4(e,t,s.value))return!1;l||(l=new vs),bs(l,s.value)}if(l){for(;(i=o.next())&&!i.done;)if(i.value&&typeof i.value=="object"){if(!Fb(l,i.value,r.strict,n))return!1}else if(!r.strict&&!Es(e,i.value)&&!Fb(l,i.value,r.strict,n))return!1;return Qi(l)===0}return!0}function d4(e,t,r,n){if(Db(e)!==Db(t))return!1;for(var a=Ea(e),o=Ea(t),s,i,l,u,c,d;(s=a.next())&&!s.done;)if(u=s.value[0],c=s.value[1],u&&typeof u=="object")l||(l=new vs),bs(l,u);else if(d=gs(t,u),typeof d>"u"&&!Xp(t,u)||!Jt(c,d,r,n)){if(r.strict||!u4(e,t,u,c,r,n))return!1;l||(l=new vs),bs(l,u)}if(l){for(;(i=o.next())&&!i.done;)if(u=i.value[0],d=i.value[1],u&&typeof u=="object"){if(!jb(l,e,u,d,r,n))return!1}else if(!r.strict&&(!e.has(u)||!Jt(gs(e,u),d,r,n))&&!jb(l,e,u,d,KT({},r,{strict:!1}),n))return!1;return Qi(l)===0}return!0}function p4(e,t,r,n){var a,o;if(typeof e!=typeof t||e==null||t==null||qb(e)!==qb(t)||Rb(e)!==Rb(t))return!1;var s=Cb(e),i=Cb(t);if(s!==i)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=Pb(e),d=Pb(t);if(c!==d||(c||d)&&(e.source!==t.source||Tb(e)!==Tb(t)))return!1;var p=xb(e),f=xb(t);if(p!==f||(p||f)&&Bb(e)!==Bb(t)||r.strict&&Nd&&Nd(e)!==Nd(t))return!1;var h=$b(e),m=$b(t);if(h!==m)return!1;if(h||m){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var _=Ub(e),b=Ub(t);if(_!==b)return!1;if(_||b){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var v=Ob(e),w=Ob(t);if(v!==w)return!1;if(v||w)return kb(e)!==kb(t)?!1:typeof Uint8Array=="function"&&Jt(new Uint8Array(e),new Uint8Array(t),r,n);var S=Ab(e),T=Ab(t);if(S!==T)return!1;if(S||T)return Lb(e)!==Lb(t)?!1:typeof Uint8Array=="function"&&Jt(new Uint8Array(e),new Uint8Array(t),r,n);if(typeof e!=typeof t)return!1;var C=Ib(e),I=Ib(t);if(C.length!==I.length)return!1;for(C.sort(),I.sort(),a=C.length-1;a>=0;a--)if(C[a]!=I[a])return!1;for(a=C.length-1;a>=0;a--)if(o=C[a],!Jt(e[o],t[o],r,n))return!1;var N=Mb(e),U=Mb(t);return N!==U?!1:N==="Set"||U==="Set"?f4(e,t,r,n):N==="Map"?d4(e,t,r,n):!0}var h4=function(t,r,n){return Jt(t,r,n,l4())};Object.defineProperty(Ec,"__esModule",{value:!0});Ec.default=void 0;var m4=tm(h4),y4=tm($n),JT=tm(xa);function tm(e){return e&&e.__esModule?e:{default:e}}function Md(e,t){return b4(e)||g4(e,t)||ZT(e,t)||v4()}function v4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
133
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function b4(e){if(Array.isArray(e))return e}function E4(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ZT(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.
134
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function ZT(e,t){if(e){if(typeof e=="string")return Hb(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 Hb(e,t)}}function Hb(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 Ur=[],Gb=JT.default.keys();for(var $d=0;$d<Gb.length;$d++){var kd=Gb[$d],Ld=JT.default.get(kd);if(Ld)for(var Wb=[].concat(Ld.baseConcepts,Ld.relatedConcepts),Bd=0;Bd<Wb.length;Bd++){var Vb=Wb[Bd];if(Vb.module==="HTML"){var qd=Vb.concept;qd&&function(){var e=JSON.stringify(qd),t=Ur.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]===kd){n=!1;break}n&&r.push(kd),Ur.push([qd,r])}()}}}var Qp={entries:function(){return Ur},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=E4(Ur),a;try{for(n.s();!(a=n.n()).done;){var o=Md(a.value,2),s=o[0],i=o[1];t.call(r,i,s,Ur)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ur.find(function(n){return(0,m4.default)(t,n[0])});return r&&r[1]},has:function(t){return!!Qp.get(t)},keys:function(){return Ur.map(function(t){var r=Md(t,1),n=r[0];return n})},values:function(){return Ur.map(function(t){var r=Md(t,2),n=r[1];return n})}},_4=(0,y4.default)(Qp,Qp.entries());Ec.default=_4;var wc={};Object.defineProperty(wc,"__esModule",{value:!0});wc.default=void 0;var w4=tS($n),eS=tS(xa);function tS(e){return e&&e.__esModule?e:{default:e}}function Dd(e,t){return R4(e)||S4(e,t)||rS(e,t)||T4()}function T4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
135
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function R4(e){if(Array.isArray(e))return e}function C4(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=rS(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.
136
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function rS(e,t){if(e){if(typeof e=="string")return zb(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 zb(e,t)}}function zb(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 Hr=[],nS=eS.default.keys(),O4=function(t){var r=nS[t],n=eS.default.get(r);if(n)for(var a=[].concat(n.baseConcepts,n.relatedConcepts),o=0;o<a.length;o++){var s=a[o];if(s.module==="HTML"){var i=s.concept;if(i){var l=Hr.find(function(c){return c[0]===r}),u=void 0;l?u=l[1]:u=[],u.push(i),Hr.push([r,u])}}}};for(var Fd=0;Fd<nS.length;Fd++)O4(Fd);var Jp={entries:function(){return Hr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=C4(Hr),a;try{for(n.s();!(a=n.n()).done;){var o=Dd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,Hr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Hr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Jp.get(t)},keys:function(){return Hr.map(function(t){var r=Dd(t,1),n=r[0];return n})},values:function(){return Hr.map(function(t){var r=Dd(t,2),n=r[1];return n})}},x4=(0,w4.default)(Jp,Jp.entries());wc.default=x4;Object.defineProperty(Qt,"__esModule",{value:!0});var Yt=Qt.roles=oS=Qt.roleElements=aS=Qt.elementRoles=Qt.dom=Qt.aria=void 0,P4=Ko(Ds),A4=Ko(js),I4=Ko(xa),N4=Ko(Ec),M4=Ko(wc);function Ko(e){return e&&e.__esModule?e:{default:e}}var $4=P4.default;Qt.aria=$4;var k4=A4.default;Qt.dom=k4;var L4=I4.default;Yt=Qt.roles=L4;var B4=N4.default,aS=Qt.elementRoles=B4,q4=M4.default,oS=Qt.roleElements=q4,rm={exports:{}};rm.exports;(function(e){var t=function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function s(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 i={compressToBase64:function(l){if(l==null)return"";var u=i._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:i._decompress(l.length,32,function(u){return s(n,l.charAt(u))})},compressToUTF16:function(l){return l==null?"":i._compress(l,15,function(u){return r(u+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:i._decompress(l.length,16384,function(u){return l.charCodeAt(u)-32})},compressToUint8Array:function(l){for(var u=i.compress(l),c=new Uint8Array(u.length*2),d=0,p=u.length;d<p;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 i.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 p=[];return u.forEach(function(f){p.push(r(f))}),i.decompress(p.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":i._compress(l,6,function(u){return a.charAt(u)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),i._decompress(l.length,32,function(u){return s(a,l.charAt(u))}))},compress:function(l){return i._compress(l,16,function(u){return r(u)})},_compress:function(l,u,c){if(l==null)return"";var d,p,f={},h={},m="",_="",b="",v=2,w=3,S=2,T=[],C=0,I=0,N;for(N=0;N<l.length;N+=1)if(m=l.charAt(N),Object.prototype.hasOwnProperty.call(f,m)||(f[m]=w++,h[m]=!0),_=b+m,Object.prototype.hasOwnProperty.call(f,_))b=_;else{if(Object.prototype.hasOwnProperty.call(h,b)){if(b.charCodeAt(0)<256){for(d=0;d<S;d++)C=C<<1,I==u-1?(I=0,T.push(c(C)),C=0):I++;for(p=b.charCodeAt(0),d=0;d<8;d++)C=C<<1|p&1,I==u-1?(I=0,T.push(c(C)),C=0):I++,p=p>>1}else{for(p=1,d=0;d<S;d++)C=C<<1|p,I==u-1?(I=0,T.push(c(C)),C=0):I++,p=0;for(p=b.charCodeAt(0),d=0;d<16;d++)C=C<<1|p&1,I==u-1?(I=0,T.push(c(C)),C=0):I++,p=p>>1}v--,v==0&&(v=Math.pow(2,S),S++),delete h[b]}else for(p=f[b],d=0;d<S;d++)C=C<<1|p&1,I==u-1?(I=0,T.push(c(C)),C=0):I++,p=p>>1;v--,v==0&&(v=Math.pow(2,S),S++),f[_]=w++,b=String(m)}if(b!==""){if(Object.prototype.hasOwnProperty.call(h,b)){if(b.charCodeAt(0)<256){for(d=0;d<S;d++)C=C<<1,I==u-1?(I=0,T.push(c(C)),C=0):I++;for(p=b.charCodeAt(0),d=0;d<8;d++)C=C<<1|p&1,I==u-1?(I=0,T.push(c(C)),C=0):I++,p=p>>1}else{for(p=1,d=0;d<S;d++)C=C<<1|p,I==u-1?(I=0,T.push(c(C)),C=0):I++,p=0;for(p=b.charCodeAt(0),d=0;d<16;d++)C=C<<1|p&1,I==u-1?(I=0,T.push(c(C)),C=0):I++,p=p>>1}v--,v==0&&(v=Math.pow(2,S),S++),delete h[b]}else for(p=f[b],d=0;d<S;d++)C=C<<1|p&1,I==u-1?(I=0,T.push(c(C)),C=0):I++,p=p>>1;v--,v==0&&(v=Math.pow(2,S),S++)}for(p=2,d=0;d<S;d++)C=C<<1|p&1,I==u-1?(I=0,T.push(c(C)),C=0):I++,p=p>>1;for(;;)if(C=C<<1,I==u-1){T.push(c(C));break}else I++;return T.join("")},decompress:function(l){return l==null?"":l==""?null:i._decompress(l.length,32768,function(u){return l.charCodeAt(u)})},_decompress:function(l,u,c){var d=[],p=4,f=4,h=3,m="",_=[],b,v,w,S,T,C,I,N={val:c(0),position:u,index:1};for(b=0;b<3;b+=1)d[b]=b;for(w=0,T=Math.pow(2,2),C=1;C!=T;)S=N.val&N.position,N.position>>=1,N.position==0&&(N.position=u,N.val=c(N.index++)),w|=(S>0?1:0)*C,C<<=1;switch(w){case 0:for(w=0,T=Math.pow(2,8),C=1;C!=T;)S=N.val&N.position,N.position>>=1,N.position==0&&(N.position=u,N.val=c(N.index++)),w|=(S>0?1:0)*C,C<<=1;I=r(w);break;case 1:for(w=0,T=Math.pow(2,16),C=1;C!=T;)S=N.val&N.position,N.position>>=1,N.position==0&&(N.position=u,N.val=c(N.index++)),w|=(S>0?1:0)*C,C<<=1;I=r(w);break;case 2:return""}for(d[3]=I,v=I,_.push(I);;){if(N.index>l)return"";for(w=0,T=Math.pow(2,h),C=1;C!=T;)S=N.val&N.position,N.position>>=1,N.position==0&&(N.position=u,N.val=c(N.index++)),w|=(S>0?1:0)*C,C<<=1;switch(I=w){case 0:for(w=0,T=Math.pow(2,8),C=1;C!=T;)S=N.val&N.position,N.position>>=1,N.position==0&&(N.position=u,N.val=c(N.index++)),w|=(S>0?1:0)*C,C<<=1;d[f++]=r(w),I=f-1,p--;break;case 1:for(w=0,T=Math.pow(2,16),C=1;C!=T;)S=N.val&N.position,N.position>>=1,N.position==0&&(N.position=u,N.val=c(N.index++)),w|=(S>0?1:0)*C,C<<=1;d[f++]=r(w),I=f-1,p--;break;case 2:return _.join("")}if(p==0&&(p=Math.pow(2,h),h++),d[I])m=d[I];else if(I===f)m=v+v.charAt(0);else return null;_.push(m),d[f++]=v+m.charAt(0),p--,v=m,p==0&&(p=Math.pow(2,h),h++)}}};return i}();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(rm);var D4=rm.exports;const F4=lr(D4);function iS(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}const j4=(e,t,r,n,a,o,s)=>{const i=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let d=s(c,r,i,a,o);return typeof c!="string"&&(d.indexOf(`
137
- `)!==-1&&(d=r.spacingOuter+i+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},U4=3,H4=(e,t,r,n,a,o)=>e.map(s=>{const i=typeof s=="string"?sS(s,t):o(s,t,r,n,a);return i===""&&typeof s=="object"&&s!==null&&s.nodeType!==U4?"":t.spacingOuter+r+i}).join(""),sS=(e,t)=>{const r=t.colors.content;return r.open+iS(e)+r.close},G4=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+iS(e)+"-->"+r.close},W4=(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},V4=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},z4=1,lS=3,uS=8,cS=11,Y4=/^((HTML|SVG)\w*)?Element$/,K4=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===z4&&(Y4.test(t)||a)||r===lS&&t==="Text"||r===uS&&t==="Comment"||r===cS&&t==="DocumentFragment"};function X4(e){return e.nodeType===lS}function Q4(e){return e.nodeType===uS}function jd(e){return e.nodeType===cS}function J4(e){return{test:t=>{var r;return(t==null||(r=t.constructor)==null?void 0:r.name)&&K4(t)},serialize:(t,r,n,a,o,s)=>{if(X4(t))return sS(t.data,r);if(Q4(t))return G4(t.data,r);const i=jd(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?V4(i,r):W4(i,j4(jd(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),jd(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,a,o,s),H4(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,s),r,n)}}}let fS=null,nm=null,am=null;try{const e=module&&wN;nm=e.call(module,"fs").readFileSync,am=e.call(module,"@babel/code-frame").codeFrameColumns,fS=e.call(module,"chalk")}catch{}function Z4(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,s,i]=[a[0],parseInt(a[1],10),parseInt(a[2],10)];let l="";try{l=nm(o,"utf-8")}catch{return""}const u=am(l,{start:{line:s,column:i}},{highlightCode:!0,linesBelow:0});return fS.dim(n)+`
126
+ `}};function r$(e){return new Array(e+1).join(" ")}function uT(e,t){if(t&&(ZM(t),t.plugins)){const n=aT(t.plugins,e);if(n!==null)return nT(n,e,Dg(t),"",0,[])}const r=tT(e,iT(t),sT(t),lT(t));return r!==null?r:rT(e,Dg(t),"",0,[])}const n$={AsymmetricMatcher:BM.default,ConvertAnsi:DM.default,DOMCollection:qM.default,DOMElement:FM.default,Immutable:jM.default,ReactElement:UM.default,ReactTestComponent:HM.default};Jw=jn.plugins=n$;var a$=uT;jn.default=a$;var o$=Object.prototype.toString;function qg(e){return typeof e=="function"||o$.call(e)==="[object Function]"}function i$(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var s$=Math.pow(2,53)-1;function l$(e){var t=i$(e);return Math.min(Math.max(t,0),s$)}function br(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"&&!qg(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=l$(n.length),o=qg(r)?Object(new r(a)):new Array(a),s=0,i;s<a;)i=n[s],t?o[s]=t(i,s):o[s]=i,s+=1;return o.length=a,o}function si(e){"@babel/helpers - typeof";return si=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},si(e)}function u$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fg(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,cT(n.key),n)}}function c$(e,t,r){return t&&Fg(e.prototype,t),r&&Fg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function f$(e,t,r){return t=cT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cT(e){var t=d$(e,"string");return si(t)==="symbol"?t:String(t)}function d$(e,t){if(si(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(si(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var p$=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];u$(this,e),f$(this,"items",void 0),this.items=t}return c$(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 h$=typeof Set>"u"?Set:p$;function kt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var m$={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"},y$={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 v$(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=y$[t])!==null&&n!==void 0&&n.has(r))})}function fT(e,t){return v$(e,t)}function g$(e){var t=E$(e);if(t===null||t==="presentation"){var r=b$(e);if(t!=="presentation"||fT(e,r||""))return r}return t}function b$(e){var t=m$[kt(e)];if(t!==void 0)return t;switch(kt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!fT(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 E$(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Qe(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function dT(e){return Qe(e)&&kt(e)==="caption"}function is(e){return Qe(e)&&kt(e)==="input"}function _$(e){return Qe(e)&&kt(e)==="optgroup"}function w$(e){return Qe(e)&&kt(e)==="select"}function T$(e){return Qe(e)&&kt(e)==="table"}function S$(e){return Qe(e)&&kt(e)==="textarea"}function R$(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function C$(e){return Qe(e)&&kt(e)==="fieldset"}function x$(e){return Qe(e)&&kt(e)==="legend"}function O$(e){return Qe(e)&&kt(e)==="slot"}function P$(e){return Qe(e)&&e.ownerSVGElement!==void 0}function A$(e){return Qe(e)&&kt(e)==="svg"}function I$(e){return P$(e)&&kt(e)==="title"}function xs(e,t){if(Qe(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 sn(e,t){return Qe(e)?t.indexOf(g$(e))!==-1:!1}function N$(e){return e.trim().replace(/\s\s+/g," ")}function M$(e,t){if(!Qe(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 $$(e){return sn(e,["button","combobox","listbox","textbox"])||pT(e,"range")}function pT(e,t){if(!Qe(e))return!1;switch(t){case"range":return sn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function jg(e,t){var r=br(e.querySelectorAll(t));return xs(e,"aria-owns").forEach(function(n){r.push.apply(r,br(n.querySelectorAll(t)))}),r}function k$(e){return w$(e)?e.selectedOptions||jg(e,"[selected]"):jg(e,'[aria-selected="true"]')}function L$(e){return sn(e,["none","presentation"])}function B$(e){return dT(e)}function D$(e){return sn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function q$(e){return!1}function F$(e){return is(e)||S$(e)?e.value:e.textContent||""}function Ug(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function hT(e){var t=kt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function mT(e){if(hT(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Qe(r)){var n=mT(r);n!==null&&(t=n)}}),t}function j$(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):mT(e)}function U$(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return br(t);if(!hT(e))return null;var r=e.ownerDocument;return br(r.querySelectorAll("label")).filter(function(n){return j$(n)===e})}function H$(e){var t=e.assignedNodes();return t.length===0?br(e.childNodes):t}function yT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new h$,n=R$(e),a=t.compute,o=a===void 0?"name":a,s=t.computedStyleSupportsPseudoElements,i=s===void 0?t.getComputedStyle!==void 0:s,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function p(E,y){var T="";if(Qe(E)&&i){var R=u(E,"::before"),S=Ug(R);T="".concat(S," ").concat(T)}var O=O$(E)?H$(E):br(E.childNodes).concat(xs(E,"aria-owns"));if(O.forEach(function(H){var G=w(H,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),W=Qe(H)?u(H).getPropertyValue("display"):"inline",U=W!=="inline"?" ":"";T+="".concat(U).concat(G).concat(U)}),Qe(E)&&i){var N=u(E,"::after"),M=Ug(N);T="".concat(T," ").concat(M)}return T.trim()}function f(E,y){var T=E.getAttributeNode(y);return T!==null&&!r.has(T)&&T.value.trim()!==""?(r.add(T),T.value):null}function h(E){return Qe(E)?f(E,"title"):null}function m(E){if(!Qe(E))return null;if(C$(E)){r.add(E);for(var y=br(E.childNodes),T=0;T<y.length;T+=1){var R=y[T];if(x$(R))return w(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(T$(E)){r.add(E);for(var S=br(E.childNodes),O=0;O<S.length;O+=1){var N=S[O];if(dT(N))return w(N,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(A$(E)){r.add(E);for(var M=br(E.childNodes),H=0;H<M.length;H+=1){var G=M[H];if(I$(G))return G.textContent}return null}else if(kt(E)==="img"||kt(E)==="area"){var W=f(E,"alt");if(W!==null)return W}else if(_$(E)){var U=f(E,"label");if(U!==null)return U}if(is(E)&&(E.type==="button"||E.type==="submit"||E.type==="reset")){var j=f(E,"value");if(j!==null)return j;if(E.type==="submit")return"Submit";if(E.type==="reset")return"Reset"}var Z=U$(E);if(Z!==null&&Z.length!==0)return r.add(E),br(Z).map(function(re){return w(re,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(re){return re.length>0}).join(" ");if(is(E)&&E.type==="image"){var ee=f(E,"alt");if(ee!==null)return ee;var L=f(E,"title");return L!==null?L:"Submit Query"}if(sn(E,["button"])){var K=p(E,{isEmbeddedInLabel:!1,isReferenced:!1});if(K!=="")return K}return null}function w(E,y){if(r.has(E))return"";if(!d&&M$(E,u)&&!y.isReferenced)return r.add(E),"";var T=Qe(E)?E.getAttributeNode("aria-labelledby"):null,R=T!==null&&!r.has(T)?xs(E,"aria-labelledby"):[];if(o==="name"&&!y.isReferenced&&R.length>0)return r.add(T),R.map(function(W){return w(W,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var S=y.recursion&&$$(E)&&o==="name";if(!S){var O=(Qe(E)&&E.getAttribute("aria-label")||"").trim();if(O!==""&&o==="name")return r.add(E),O;if(!L$(E)){var N=m(E);if(N!==null)return r.add(E),N}}if(sn(E,["menu"]))return r.add(E),"";if(S||y.isEmbeddedInLabel||y.isReferenced){if(sn(E,["combobox","listbox"])){r.add(E);var M=k$(E);return M.length===0?is(E)?E.value:"":br(M).map(function(W){return w(W,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(pT(E,"range"))return r.add(E),E.hasAttribute("aria-valuetext")?E.getAttribute("aria-valuetext"):E.hasAttribute("aria-valuenow")?E.getAttribute("aria-valuenow"):E.getAttribute("value")||"";if(sn(E,["textbox"]))return r.add(E),F$(E)}if(D$(E)||Qe(E)&&y.isReferenced||B$(E)||q$()){var H=p(E,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});if(H!=="")return r.add(E),H}if(E.nodeType===E.TEXT_NODE)return r.add(E),E.textContent||"";if(y.recursion)return r.add(E),p(E,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});var G=h(E);return G!==null?(r.add(E),G):(r.add(E),"")}return N$(w(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function li(e){"@babel/helpers - typeof";return li=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},li(e)}function Hg(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 Gg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Hg(Object(r),!0).forEach(function(n){G$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function G$(e,t,r){return t=W$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function W$(e){var t=V$(e,"string");return li(t)==="symbol"?t:String(t)}function V$(e,t){if(li(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(li(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=xs(e,"aria-describedby").map(function(a){return yT(a,Gg(Gg({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function z$(e){return sn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Qh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return z$(e)?"":yT(e,t)}var Er={},nl={},Ca={},al={};Object.defineProperty(al,"__esModule",{value:!0});al.default=void 0;function Y$(){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 K$=Y$;al.default=K$;Object.defineProperty(Ca,"__esModule",{value:!0});Ca.default=J$;var X$=Q$(al);function Q$(e){return e&&e.__esModule?e:{default:e}}function Bp(e){"@babel/helpers - typeof";return Bp=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},Bp(e)}function J$(e,t){return typeof Symbol=="function"&&Bp(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:X$.default.bind(t)}),e}Object.defineProperty(nl,"__esModule",{value:!0});nl.default=void 0;var Z$=ek(Ca);function ek(e){return e&&e.__esModule?e:{default:e}}function Rd(e,t){return nk(e)||rk(e,t)||gT(e,t)||tk()}function tk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
127
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rk(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function nk(e){if(Array.isArray(e))return e}function ak(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=gT(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.
128
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function gT(e,t){if(e){if(typeof e=="string")return Wg(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 Wg(e,t)}}function Wg(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 Ha=[["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"}]],Dp={entries:function(){return Ha},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=ak(Ha),a;try{for(n.s();!(a=n.n()).done;){var o=Rd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,Ha)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ha.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Dp.get(t)},keys:function(){return Ha.map(function(t){var r=Rd(t,1),n=r[0];return n})},values:function(){return Ha.map(function(t){var r=Rd(t,2),n=r[1];return n})}},ok=(0,Z$.default)(Dp,Dp.entries());nl.default=ok;var ol={};Object.defineProperty(ol,"__esModule",{value:!0});ol.default=void 0;var ik=sk(Ca);function sk(e){return e&&e.__esModule?e:{default:e}}function Cd(e,t){return ck(e)||uk(e,t)||bT(e,t)||lk()}function lk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
129
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uk(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function ck(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=bT(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.
130
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function bT(e,t){if(e){if(typeof e=="string")return Vg(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 Vg(e,t)}}function Vg(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 Ga=[["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}]],qp={entries:function(){return Ga},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=fk(Ga),a;try{for(n.s();!(a=n.n()).done;){var o=Cd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,Ga)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ga.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!qp.get(t)},keys:function(){return Ga.map(function(t){var r=Cd(t,1),n=r[0];return n})},values:function(){return Ga.map(function(t){var r=Cd(t,2),n=r[1];return n})}},dk=(0,ik.default)(qp,qp.entries());ol.default=dk;var po={},il={},sl={};Object.defineProperty(sl,"__esModule",{value:!0});sl.default=void 0;var pk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},hk=pk;sl.default=hk;var ll={};Object.defineProperty(ll,"__esModule",{value:!0});ll.default=void 0;var mk={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"]]},yk=mk;ll.default=yk;var ul={};Object.defineProperty(ul,"__esModule",{value:!0});ul.default=void 0;var vk={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"]]},gk=vk;ul.default=gk;var cl={};Object.defineProperty(cl,"__esModule",{value:!0});cl.default=void 0;var bk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ek=bk;cl.default=Ek;var fl={};Object.defineProperty(fl,"__esModule",{value:!0});fl.default=void 0;var _k={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"]]},wk=_k;fl.default=wk;var dl={};Object.defineProperty(dl,"__esModule",{value:!0});dl.default=void 0;var Tk={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:[]},Sk=Tk;dl.default=Sk;var pl={};Object.defineProperty(pl,"__esModule",{value:!0});pl.default=void 0;var Rk={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"]]},Ck=Rk;pl.default=Ck;var hl={};Object.defineProperty(hl,"__esModule",{value:!0});hl.default=void 0;var xk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Ok=xk;hl.default=Ok;var ml={};Object.defineProperty(ml,"__esModule",{value:!0});ml.default=void 0;var Pk={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"]]},Ak=Pk;ml.default=Ak;var yl={};Object.defineProperty(yl,"__esModule",{value:!0});yl.default=void 0;var Ik={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Nk=Ik;yl.default=Nk;var vl={};Object.defineProperty(vl,"__esModule",{value:!0});vl.default=void 0;var Mk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},$k=Mk;vl.default=$k;var gl={};Object.defineProperty(gl,"__esModule",{value:!0});gl.default=void 0;var kk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Lk=kk;gl.default=Lk;Object.defineProperty(il,"__esModule",{value:!0});il.default=void 0;var Bk=lr(sl),Dk=lr(ll),qk=lr(ul),Fk=lr(cl),jk=lr(fl),Uk=lr(dl),Hk=lr(pl),Gk=lr(hl),Wk=lr(ml),Vk=lr(yl),zk=lr(vl),Yk=lr(gl);function lr(e){return e&&e.__esModule?e:{default:e}}var Kk=[["command",Bk.default],["composite",Dk.default],["input",qk.default],["landmark",Fk.default],["range",jk.default],["roletype",Uk.default],["section",Hk.default],["sectionhead",Gk.default],["select",Wk.default],["structure",Vk.default],["widget",zk.default],["window",Yk.default]],Xk=Kk;il.default=Xk;var bl={},El={};Object.defineProperty(El,"__esModule",{value:!0});El.default=void 0;var Qk={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"]]},Jk=Qk;El.default=Jk;var _l={};Object.defineProperty(_l,"__esModule",{value:!0});_l.default=void 0;var Zk={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"]]},eL=Zk;_l.default=eL;var wl={};Object.defineProperty(wl,"__esModule",{value:!0});wl.default=void 0;var tL={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"]]},rL=tL;wl.default=rL;var Tl={};Object.defineProperty(Tl,"__esModule",{value:!0});Tl.default=void 0;var nL={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"]]},aL=nL;Tl.default=aL;var Sl={};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.default=void 0;var oL={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"]]},iL=oL;Sl.default=iL;var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var sL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},lL=sL;Rl.default=lL;var Cl={};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.default=void 0;var uL={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"]]},cL=uL;Cl.default=cL;var xl={};Object.defineProperty(xl,"__esModule",{value:!0});xl.default=void 0;var fL={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"]]},dL=fL;xl.default=dL;var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0});Ol.default=void 0;var pL={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"]]},hL=pL;Ol.default=hL;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;var mL={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"]]},yL=mL;Pl.default=yL;var Al={};Object.defineProperty(Al,"__esModule",{value:!0});Al.default=void 0;var vL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gL=vL;Al.default=gL;var Il={};Object.defineProperty(Il,"__esModule",{value:!0});Il.default=void 0;var bL={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"]]},EL=bL;Il.default=EL;var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var _L={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"]]},wL=_L;Nl.default=wL;var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});Ml.default=void 0;var TL={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"]]},SL=TL;Ml.default=SL;var $l={};Object.defineProperty($l,"__esModule",{value:!0});$l.default=void 0;var RL={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"]]},CL=RL;$l.default=CL;var kl={};Object.defineProperty(kl,"__esModule",{value:!0});kl.default=void 0;var xL={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"]]},OL=xL;kl.default=OL;var Ll={};Object.defineProperty(Ll,"__esModule",{value:!0});Ll.default=void 0;var PL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AL=PL;Ll.default=AL;var Bl={};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=void 0;var IL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},NL=IL;Bl.default=NL;var Dl={};Object.defineProperty(Dl,"__esModule",{value:!0});Dl.default=void 0;var ML={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},$L=ML;Dl.default=$L;var ql={};Object.defineProperty(ql,"__esModule",{value:!0});ql.default=void 0;var kL={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"]]},LL=kL;ql.default=LL;var Fl={};Object.defineProperty(Fl,"__esModule",{value:!0});Fl.default=void 0;var BL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},DL=BL;Fl.default=DL;var jl={};Object.defineProperty(jl,"__esModule",{value:!0});jl.default=void 0;var qL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},FL=qL;jl.default=FL;var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=void 0;var jL={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"]]},UL=jL;Ul.default=UL;var Hl={};Object.defineProperty(Hl,"__esModule",{value:!0});Hl.default=void 0;var HL={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"]]},GL=HL;Hl.default=GL;var Gl={};Object.defineProperty(Gl,"__esModule",{value:!0});Gl.default=void 0;var WL={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"]]},VL=WL;Gl.default=VL;var Wl={};Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;var zL={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"]]},YL=zL;Wl.default=YL;var Vl={};Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=void 0;var KL={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"]]},XL=KL;Vl.default=XL;var zl={};Object.defineProperty(zl,"__esModule",{value:!0});zl.default=void 0;var QL={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"]]},JL=QL;zl.default=JL;var Yl={};Object.defineProperty(Yl,"__esModule",{value:!0});Yl.default=void 0;var ZL={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"]]},eB=ZL;Yl.default=eB;var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0});Kl.default=void 0;var tB={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"]]},rB=tB;Kl.default=rB;var Xl={};Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=void 0;var nB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},aB=nB;Xl.default=aB;var Ql={};Object.defineProperty(Ql,"__esModule",{value:!0});Ql.default=void 0;var oB={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"]]},iB=oB;Ql.default=iB;var Jl={};Object.defineProperty(Jl,"__esModule",{value:!0});Jl.default=void 0;var sB={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"]]},lB=sB;Jl.default=lB;var Zl={};Object.defineProperty(Zl,"__esModule",{value:!0});Zl.default=void 0;var uB={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"]]},cB=uB;Zl.default=cB;var eu={};Object.defineProperty(eu,"__esModule",{value:!0});eu.default=void 0;var fB={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"]]},dB=fB;eu.default=dB;var tu={};Object.defineProperty(tu,"__esModule",{value:!0});tu.default=void 0;var pB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hB=pB;tu.default=hB;var ru={};Object.defineProperty(ru,"__esModule",{value:!0});ru.default=void 0;var mB={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"]]},yB=mB;ru.default=yB;var nu={};Object.defineProperty(nu,"__esModule",{value:!0});nu.default=void 0;var vB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gB=vB;nu.default=gB;var au={};Object.defineProperty(au,"__esModule",{value:!0});au.default=void 0;var bB={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"]]},EB=bB;au.default=EB;var ou={};Object.defineProperty(ou,"__esModule",{value:!0});ou.default=void 0;var _B={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"]]},wB=_B;ou.default=wB;var iu={};Object.defineProperty(iu,"__esModule",{value:!0});iu.default=void 0;var TB={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"]]},SB=TB;iu.default=SB;var su={};Object.defineProperty(su,"__esModule",{value:!0});su.default=void 0;var RB={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"]]},CB=RB;su.default=CB;var lu={};Object.defineProperty(lu,"__esModule",{value:!0});lu.default=void 0;var xB={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"]]},OB=xB;lu.default=OB;var uu={};Object.defineProperty(uu,"__esModule",{value:!0});uu.default=void 0;var PB={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"]]},AB=PB;uu.default=AB;var cu={};Object.defineProperty(cu,"__esModule",{value:!0});cu.default=void 0;var IB={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"]]},NB=IB;cu.default=NB;var fu={};Object.defineProperty(fu,"__esModule",{value:!0});fu.default=void 0;var MB={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"]]},$B=MB;fu.default=$B;var du={};Object.defineProperty(du,"__esModule",{value:!0});du.default=void 0;var kB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},LB=kB;du.default=LB;var pu={};Object.defineProperty(pu,"__esModule",{value:!0});pu.default=void 0;var BB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},DB=BB;pu.default=DB;var hu={};Object.defineProperty(hu,"__esModule",{value:!0});hu.default=void 0;var qB={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"]]},FB=qB;hu.default=FB;var mu={};Object.defineProperty(mu,"__esModule",{value:!0});mu.default=void 0;var jB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},UB=jB;mu.default=UB;var yu={};Object.defineProperty(yu,"__esModule",{value:!0});yu.default=void 0;var HB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},GB=HB;yu.default=GB;var vu={};Object.defineProperty(vu,"__esModule",{value:!0});vu.default=void 0;var WB={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"]]},VB=WB;vu.default=VB;var gu={};Object.defineProperty(gu,"__esModule",{value:!0});gu.default=void 0;var zB={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"]]},YB=zB;gu.default=YB;var bu={};Object.defineProperty(bu,"__esModule",{value:!0});bu.default=void 0;var KB={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"]]},XB=KB;bu.default=XB;var Eu={};Object.defineProperty(Eu,"__esModule",{value:!0});Eu.default=void 0;var QB={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"]]},JB=QB;Eu.default=JB;var _u={};Object.defineProperty(_u,"__esModule",{value:!0});_u.default=void 0;var ZB={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"]]},eD=ZB;_u.default=eD;var wu={};Object.defineProperty(wu,"__esModule",{value:!0});wu.default=void 0;var tD={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"]]},rD=tD;wu.default=rD;var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=void 0;var nD={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"]]},aD=nD;Tu.default=aD;var Su={};Object.defineProperty(Su,"__esModule",{value:!0});Su.default=void 0;var oD={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"]]},iD=oD;Su.default=iD;var Ru={};Object.defineProperty(Ru,"__esModule",{value:!0});Ru.default=void 0;var sD={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},lD=sD;Ru.default=lD;var Cu={};Object.defineProperty(Cu,"__esModule",{value:!0});Cu.default=void 0;var uD={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"]]},cD=uD;Cu.default=cD;var xu={};Object.defineProperty(xu,"__esModule",{value:!0});xu.default=void 0;var fD={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"]]},dD=fD;xu.default=dD;var Ou={};Object.defineProperty(Ou,"__esModule",{value:!0});Ou.default=void 0;var pD={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"]]},hD=pD;Ou.default=hD;var Pu={};Object.defineProperty(Pu,"__esModule",{value:!0});Pu.default=void 0;var mD={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"]]},yD=mD;Pu.default=yD;var Au={};Object.defineProperty(Au,"__esModule",{value:!0});Au.default=void 0;var vD={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"]]},gD=vD;Au.default=gD;var Iu={};Object.defineProperty(Iu,"__esModule",{value:!0});Iu.default=void 0;var bD={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ED=bD;Iu.default=ED;var Nu={};Object.defineProperty(Nu,"__esModule",{value:!0});Nu.default=void 0;var _D={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},wD=_D;Nu.default=wD;var Mu={};Object.defineProperty(Mu,"__esModule",{value:!0});Mu.default=void 0;var TD={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},SD=TD;Mu.default=SD;var $u={};Object.defineProperty($u,"__esModule",{value:!0});$u.default=void 0;var RD={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"]]},CD=RD;$u.default=CD;var ku={};Object.defineProperty(ku,"__esModule",{value:!0});ku.default=void 0;var xD={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"]]},OD=xD;ku.default=OD;var Lu={};Object.defineProperty(Lu,"__esModule",{value:!0});Lu.default=void 0;var PD={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"]]},AD=PD;Lu.default=AD;var Bu={};Object.defineProperty(Bu,"__esModule",{value:!0});Bu.default=void 0;var ID={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"]]},ND=ID;Bu.default=ND;var Du={};Object.defineProperty(Du,"__esModule",{value:!0});Du.default=void 0;var MD={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},$D=MD;Du.default=$D;var qu={};Object.defineProperty(qu,"__esModule",{value:!0});qu.default=void 0;var kD={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"]]},LD=kD;qu.default=LD;var Fu={};Object.defineProperty(Fu,"__esModule",{value:!0});Fu.default=void 0;var BD={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"]]},DD=BD;Fu.default=DD;var ju={};Object.defineProperty(ju,"__esModule",{value:!0});ju.default=void 0;var qD={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},FD=qD;ju.default=FD;var Uu={};Object.defineProperty(Uu,"__esModule",{value:!0});Uu.default=void 0;var jD={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},UD=jD;Uu.default=UD;var Hu={};Object.defineProperty(Hu,"__esModule",{value:!0});Hu.default=void 0;var HD={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"]]},GD=HD;Hu.default=GD;var Gu={};Object.defineProperty(Gu,"__esModule",{value:!0});Gu.default=void 0;var WD={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},VD=WD;Gu.default=VD;var Wu={};Object.defineProperty(Wu,"__esModule",{value:!0});Wu.default=void 0;var zD={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"]]},YD=zD;Wu.default=YD;var Vu={};Object.defineProperty(Vu,"__esModule",{value:!0});Vu.default=void 0;var KD={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"]]},XD=KD;Vu.default=XD;var zu={};Object.defineProperty(zu,"__esModule",{value:!0});zu.default=void 0;var QD={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"]]},JD=QD;zu.default=JD;Object.defineProperty(bl,"__esModule",{value:!0});bl.default=void 0;var ZD=ae(El),eq=ae(_l),tq=ae(wl),rq=ae(Tl),nq=ae(Sl),aq=ae(Rl),oq=ae(Cl),iq=ae(xl),sq=ae(Ol),lq=ae(Pl),uq=ae(Al),cq=ae(Il),fq=ae(Nl),dq=ae(Ml),pq=ae($l),hq=ae(kl),mq=ae(Ll),yq=ae(Bl),vq=ae(Dl),gq=ae(ql),bq=ae(Fl),Eq=ae(jl),_q=ae(Ul),wq=ae(Hl),Tq=ae(Gl),Sq=ae(Wl),Rq=ae(Vl),Cq=ae(zl),xq=ae(Yl),Oq=ae(Kl),Pq=ae(Xl),Aq=ae(Ql),Iq=ae(Jl),Nq=ae(Zl),Mq=ae(eu),$q=ae(tu),kq=ae(ru),Lq=ae(nu),Bq=ae(au),Dq=ae(ou),qq=ae(iu),Fq=ae(su),jq=ae(lu),Uq=ae(uu),Hq=ae(cu),Gq=ae(fu),Wq=ae(du),Vq=ae(pu),zq=ae(hu),Yq=ae(mu),Kq=ae(yu),Xq=ae(vu),Qq=ae(gu),Jq=ae(bu),Zq=ae(Eu),eF=ae(_u),tF=ae(wu),rF=ae(Tu),nF=ae(Su),aF=ae(Ru),oF=ae(Cu),iF=ae(xu),sF=ae(Ou),lF=ae(Pu),uF=ae(Au),cF=ae(Iu),fF=ae(Nu),dF=ae(Mu),pF=ae($u),hF=ae(ku),mF=ae(Lu),yF=ae(Bu),vF=ae(Du),gF=ae(qu),bF=ae(Fu),EF=ae(ju),_F=ae(Uu),wF=ae(Hu),TF=ae(Gu),SF=ae(Wu),RF=ae(Vu),CF=ae(zu);function ae(e){return e&&e.__esModule?e:{default:e}}var xF=[["alert",ZD.default],["alertdialog",eq.default],["application",tq.default],["article",rq.default],["banner",nq.default],["blockquote",aq.default],["button",oq.default],["caption",iq.default],["cell",sq.default],["checkbox",lq.default],["code",uq.default],["columnheader",cq.default],["combobox",fq.default],["complementary",dq.default],["contentinfo",pq.default],["definition",hq.default],["deletion",mq.default],["dialog",yq.default],["directory",vq.default],["document",gq.default],["emphasis",bq.default],["feed",Eq.default],["figure",_q.default],["form",wq.default],["generic",Tq.default],["grid",Sq.default],["gridcell",Rq.default],["group",Cq.default],["heading",xq.default],["img",Oq.default],["insertion",Pq.default],["link",Aq.default],["list",Iq.default],["listbox",Nq.default],["listitem",Mq.default],["log",$q.default],["main",kq.default],["marquee",Lq.default],["math",Bq.default],["menu",Dq.default],["menubar",qq.default],["menuitem",Fq.default],["menuitemcheckbox",jq.default],["menuitemradio",Uq.default],["meter",Hq.default],["navigation",Gq.default],["none",Wq.default],["note",Vq.default],["option",zq.default],["paragraph",Yq.default],["presentation",Kq.default],["progressbar",Xq.default],["radio",Qq.default],["radiogroup",Jq.default],["region",Zq.default],["row",eF.default],["rowgroup",tF.default],["rowheader",rF.default],["scrollbar",nF.default],["search",aF.default],["searchbox",oF.default],["separator",iF.default],["slider",sF.default],["spinbutton",lF.default],["status",uF.default],["strong",cF.default],["subscript",fF.default],["superscript",dF.default],["switch",pF.default],["tab",hF.default],["table",mF.default],["tablist",yF.default],["tabpanel",vF.default],["term",gF.default],["textbox",bF.default],["time",EF.default],["timer",_F.default],["toolbar",wF.default],["tooltip",TF.default],["tree",SF.default],["treegrid",RF.default],["treeitem",CF.default]],OF=xF;bl.default=OF;var Yu={},Ku={};Object.defineProperty(Ku,"__esModule",{value:!0});Ku.default=void 0;var PF={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"]]},AF=PF;Ku.default=AF;var Xu={};Object.defineProperty(Xu,"__esModule",{value:!0});Xu.default=void 0;var IF={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"]]},NF=IF;Xu.default=NF;var Qu={};Object.defineProperty(Qu,"__esModule",{value:!0});Qu.default=void 0;var MF={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"]]},$F=MF;Qu.default=$F;var Ju={};Object.defineProperty(Ju,"__esModule",{value:!0});Ju.default=void 0;var kF={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"]]},LF=kF;Ju.default=LF;var Zu={};Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=void 0;var BF={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"]]},DF=BF;Zu.default=DF;var ec={};Object.defineProperty(ec,"__esModule",{value:!0});ec.default=void 0;var qF={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"]]},FF=qF;ec.default=FF;var tc={};Object.defineProperty(tc,"__esModule",{value:!0});tc.default=void 0;var jF={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"]]},UF=jF;tc.default=UF;var rc={};Object.defineProperty(rc,"__esModule",{value:!0});rc.default=void 0;var HF={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"]]},GF=HF;rc.default=GF;var nc={};Object.defineProperty(nc,"__esModule",{value:!0});nc.default=void 0;var WF={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"]]},VF=WF;nc.default=VF;var ac={};Object.defineProperty(ac,"__esModule",{value:!0});ac.default=void 0;var zF={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"]]},YF=zF;ac.default=YF;var oc={};Object.defineProperty(oc,"__esModule",{value:!0});oc.default=void 0;var KF={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"]]},XF=KF;oc.default=XF;var ic={};Object.defineProperty(ic,"__esModule",{value:!0});ic.default=void 0;var QF={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"]]},JF=QF;ic.default=JF;var sc={};Object.defineProperty(sc,"__esModule",{value:!0});sc.default=void 0;var ZF={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"]]},ej=ZF;sc.default=ej;var lc={};Object.defineProperty(lc,"__esModule",{value:!0});lc.default=void 0;var tj={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"]]},rj=tj;lc.default=rj;var uc={};Object.defineProperty(uc,"__esModule",{value:!0});uc.default=void 0;var nj={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"]]},aj=nj;uc.default=aj;var cc={};Object.defineProperty(cc,"__esModule",{value:!0});cc.default=void 0;var oj={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"]]},ij=oj;cc.default=ij;var fc={};Object.defineProperty(fc,"__esModule",{value:!0});fc.default=void 0;var sj={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"]]},lj=sj;fc.default=lj;var dc={};Object.defineProperty(dc,"__esModule",{value:!0});dc.default=void 0;var uj={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"]]},cj=uj;dc.default=cj;var pc={};Object.defineProperty(pc,"__esModule",{value:!0});pc.default=void 0;var fj={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"]]},dj=fj;pc.default=dj;var hc={};Object.defineProperty(hc,"__esModule",{value:!0});hc.default=void 0;var pj={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"]]},hj=pj;hc.default=hj;var mc={};Object.defineProperty(mc,"__esModule",{value:!0});mc.default=void 0;var mj={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"]]},yj=mj;mc.default=yj;var yc={};Object.defineProperty(yc,"__esModule",{value:!0});yc.default=void 0;var vj={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"]]},gj=vj;yc.default=gj;var vc={};Object.defineProperty(vc,"__esModule",{value:!0});vc.default=void 0;var bj={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"]]},Ej=bj;vc.default=Ej;var gc={};Object.defineProperty(gc,"__esModule",{value:!0});gc.default=void 0;var _j={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"]]},wj=_j;gc.default=wj;var bc={};Object.defineProperty(bc,"__esModule",{value:!0});bc.default=void 0;var Tj={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"]]},Sj=Tj;bc.default=Sj;var Ec={};Object.defineProperty(Ec,"__esModule",{value:!0});Ec.default=void 0;var Rj={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"]]},Cj=Rj;Ec.default=Cj;var _c={};Object.defineProperty(_c,"__esModule",{value:!0});_c.default=void 0;var xj={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"]]},Oj=xj;_c.default=Oj;var wc={};Object.defineProperty(wc,"__esModule",{value:!0});wc.default=void 0;var Pj={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"]]},Aj=Pj;wc.default=Aj;var Tc={};Object.defineProperty(Tc,"__esModule",{value:!0});Tc.default=void 0;var Ij={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"]]},Nj=Ij;Tc.default=Nj;var Sc={};Object.defineProperty(Sc,"__esModule",{value:!0});Sc.default=void 0;var Mj={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"]]},$j=Mj;Sc.default=$j;var Rc={};Object.defineProperty(Rc,"__esModule",{value:!0});Rc.default=void 0;var kj={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"]]},Lj=kj;Rc.default=Lj;var Cc={};Object.defineProperty(Cc,"__esModule",{value:!0});Cc.default=void 0;var Bj={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"]]},Dj=Bj;Cc.default=Dj;var xc={};Object.defineProperty(xc,"__esModule",{value:!0});xc.default=void 0;var qj={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"]]},Fj=qj;xc.default=Fj;var Oc={};Object.defineProperty(Oc,"__esModule",{value:!0});Oc.default=void 0;var jj={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"]]},Uj=jj;Oc.default=Uj;var Pc={};Object.defineProperty(Pc,"__esModule",{value:!0});Pc.default=void 0;var Hj={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"]]},Gj=Hj;Pc.default=Gj;var Ac={};Object.defineProperty(Ac,"__esModule",{value:!0});Ac.default=void 0;var Wj={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"]]},Vj=Wj;Ac.default=Vj;var Ic={};Object.defineProperty(Ic,"__esModule",{value:!0});Ic.default=void 0;var zj={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"]]},Yj=zj;Ic.default=Yj;var Nc={};Object.defineProperty(Nc,"__esModule",{value:!0});Nc.default=void 0;var Kj={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"]]},Xj=Kj;Nc.default=Xj;var Mc={};Object.defineProperty(Mc,"__esModule",{value:!0});Mc.default=void 0;var Qj={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"]]},Jj=Qj;Mc.default=Jj;Object.defineProperty(Yu,"__esModule",{value:!0});Yu.default=void 0;var Zj=Re(Ku),eU=Re(Xu),tU=Re(Qu),rU=Re(Ju),nU=Re(Zu),aU=Re(ec),oU=Re(tc),iU=Re(rc),sU=Re(nc),lU=Re(ac),uU=Re(oc),cU=Re(ic),fU=Re(sc),dU=Re(lc),pU=Re(uc),hU=Re(cc),mU=Re(fc),yU=Re(dc),vU=Re(pc),gU=Re(hc),bU=Re(mc),EU=Re(yc),_U=Re(vc),wU=Re(gc),TU=Re(bc),SU=Re(Ec),RU=Re(_c),CU=Re(wc),xU=Re(Tc),OU=Re(Sc),PU=Re(Rc),AU=Re(Cc),IU=Re(xc),NU=Re(Oc),MU=Re(Pc),$U=Re(Ac),kU=Re(Ic),LU=Re(Nc),BU=Re(Mc);function Re(e){return e&&e.__esModule?e:{default:e}}var DU=[["doc-abstract",Zj.default],["doc-acknowledgments",eU.default],["doc-afterword",tU.default],["doc-appendix",rU.default],["doc-backlink",nU.default],["doc-biblioentry",aU.default],["doc-bibliography",oU.default],["doc-biblioref",iU.default],["doc-chapter",sU.default],["doc-colophon",lU.default],["doc-conclusion",uU.default],["doc-cover",cU.default],["doc-credit",fU.default],["doc-credits",dU.default],["doc-dedication",pU.default],["doc-endnote",hU.default],["doc-endnotes",mU.default],["doc-epigraph",yU.default],["doc-epilogue",vU.default],["doc-errata",gU.default],["doc-example",bU.default],["doc-footnote",EU.default],["doc-foreword",_U.default],["doc-glossary",wU.default],["doc-glossref",TU.default],["doc-index",SU.default],["doc-introduction",RU.default],["doc-noteref",CU.default],["doc-notice",xU.default],["doc-pagebreak",OU.default],["doc-pagelist",PU.default],["doc-part",AU.default],["doc-preface",IU.default],["doc-prologue",NU.default],["doc-pullquote",MU.default],["doc-qna",$U.default],["doc-subtitle",kU.default],["doc-tip",LU.default],["doc-toc",BU.default]],qU=DU;Yu.default=qU;var $c={},kc={};Object.defineProperty(kc,"__esModule",{value:!0});kc.default=void 0;var FU={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"]]},jU=FU;kc.default=jU;var Lc={};Object.defineProperty(Lc,"__esModule",{value:!0});Lc.default=void 0;var UU={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"]]},HU=UU;Lc.default=HU;var Bc={};Object.defineProperty(Bc,"__esModule",{value:!0});Bc.default=void 0;var GU={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"]]},WU=GU;Bc.default=WU;Object.defineProperty($c,"__esModule",{value:!0});$c.default=void 0;var VU=Jh(kc),zU=Jh(Lc),YU=Jh(Bc);function Jh(e){return e&&e.__esModule?e:{default:e}}var KU=[["graphics-document",VU.default],["graphics-object",zU.default],["graphics-symbol",YU.default]],XU=KU;$c.default=XU;Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var QU=_i(il),JU=_i(bl),ZU=_i(Yu),e2=_i($c),t2=_i(Ca);function _i(e){return e&&e.__esModule?e:{default:e}}function r2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fp(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ET(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.
131
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function ei(e,t){return o2(e)||a2(e,t)||ET(e,t)||n2()}function n2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
132
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ET(e,t){if(e){if(typeof e=="string")return zg(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 zg(e,t)}}function zg(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 a2(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function o2(e){if(Array.isArray(e))return e}var Pn=[].concat(QU.default,JU.default,ZU.default,e2.default);Pn.forEach(function(e){var t=ei(e,2),r=t[1],n=Fp(r.superClass),a;try{for(n.s();!(a=n.n()).done;){var o=a.value,s=Fp(o),i;try{var l=function(){var c=i.value,d=Pn.find(function(w){var E=ei(w,1),y=E[0];return y===c});if(d)for(var p=d[1],f=0,h=Object.keys(p.props);f<h.length;f++){var m=h[f];Object.prototype.hasOwnProperty.call(r.props,m)||Object.assign(r.props,r2({},m,p.props[m]))}};for(s.s();!(i=s.n()).done;)l()}catch(u){s.e(u)}finally{s.f()}}}catch(u){n.e(u)}finally{n.f()}});var jp={entries:function(){return Pn},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Fp(Pn),a;try{for(n.s();!(a=n.n()).done;){var o=ei(a.value,2),s=o[0],i=o[1];t.call(r,i,s,Pn)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Pn.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!jp.get(t)},keys:function(){return Pn.map(function(t){var r=ei(t,1),n=r[0];return n})},values:function(){return Pn.map(function(t){var r=ei(t,2),n=r[1];return n})}},i2=(0,t2.default)(jp,jp.entries());po.default=i2;var Dc={},Yg=Object.prototype.toString,_T=function(t){var r=Yg.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Yg.call(t.callee)==="[object Function]"),n},xd,Kg;function s2(){if(Kg)return xd;Kg=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=_T,a=Object.prototype.propertyIsEnumerable,o=!a.call({toString:null},"toString"),s=a.call(function(){},"prototype"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(p){var f=p.constructor;return f&&f.prototype===p},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 p in window)try{if(!u["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{l(window[p])}catch{return!0}}catch{return!0}return!1}(),d=function(p){if(typeof window>"u"||!c)return l(p);try{return l(p)}catch{return!1}};e=function(f){var h=f!==null&&typeof f=="object",m=r.call(f)==="[object Function]",w=n(f),E=h&&r.call(f)==="[object String]",y=[];if(!h&&!m&&!w)throw new TypeError("Object.keys called on a non-object");var T=s&&m;if(E&&f.length>0&&!t.call(f,0))for(var R=0;R<f.length;++R)y.push(String(R));if(w&&f.length>0)for(var S=0;S<f.length;++S)y.push(String(S));else for(var O in f)!(T&&O==="prototype")&&t.call(f,O)&&y.push(String(O));if(o)for(var N=d(f),M=0;M<i.length;++M)!(N&&i[M]==="constructor")&&t.call(f,i[M])&&y.push(i[M]);return y}}return xd=e,xd}var l2=Array.prototype.slice,u2=_T,Xg=Object.keys,ss=Xg?function(t){return Xg(t)}:s2(),Qg=Object.keys;ss.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 u2(n)?Qg(l2.call(n)):Qg(n)})}else Object.keys=ss;return Object.keys||ss};var Zh=ss,c2=Tr,Up=c2("%Object.defineProperty%",!0),Hp=function(){if(Up)try{return Up({},"a",{value:1}),!0}catch{return!1}return!1};Hp.hasArrayLengthDefineBug=function(){if(!Hp())return null;try{return Up([],"length",{value:1}).length!==1}catch{return!0}};var em=Hp,f2=Tr,ls=f2("%Object.getOwnPropertyDescriptor%",!0);if(ls)try{ls([],"length")}catch{ls=null}var wT=ls,d2=em(),tm=Tr,Jg=d2&&tm("%Object.defineProperty%",!0),p2=tm("%SyntaxError%"),Wa=tm("%TypeError%"),Zg=wT,TT=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Wa("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Wa("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Wa("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Wa("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Wa("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Wa("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,i=arguments.length>6?arguments[6]:!1,l=!!Zg&&Zg(t,r);if(Jg)Jg(t,r,{configurable:s===null&&l?l.configurable:!s,enumerable:a===null&&l?l.enumerable:!a,value:n,writable:o===null&&l?l.writable:!o});else if(i||!a&&!o&&!s)t[r]=n;else throw new p2("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},h2=Zh,m2=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",y2=Object.prototype.toString,v2=Array.prototype.concat,eb=TT,g2=function(e){return typeof e=="function"&&y2.call(e)==="[object Function]"},ST=em(),b2=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!g2(n)||!n())return}ST?eb(e,t,r,!0):eb(e,t,r)},RT=function(e,t){var r=arguments.length>2?arguments[2]:{},n=h2(t);m2&&(n=v2.call(n,Object.getOwnPropertySymbols(t)));for(var a=0;a<n.length;a+=1)b2(e,n[a],t[n[a]],r[n[a]])};RT.supportsDescriptors=!!ST;var xa=RT,E2=Zh,CT=zs(),xT=or,tb=Object,_2=xT("Array.prototype.push"),rb=xT("Object.prototype.propertyIsEnumerable"),w2=CT?Object.getOwnPropertySymbols:null,OT=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=tb(t);if(arguments.length===1)return n;for(var a=1;a<arguments.length;++a){var o=tb(arguments[a]),s=E2(o),i=CT&&(Object.getOwnPropertySymbols||w2);if(i)for(var l=i(o),u=0;u<l.length;++u){var c=l[u];rb(o,c)&&_2(s,c)}for(var d=0;d<s.length;++d){var p=s[d];if(rb(o,p)){var f=o[p];n[p]=f}}}return n},Od=OT,T2=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 s in a)o+=s;return e!==o},S2=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},PT=function(){return!Object.assign||T2()||S2()?Od:Object.assign},R2=xa,C2=PT,x2=function(){var t=C2();return R2(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},O2=xa,P2=so,A2=OT,AT=PT,I2=x2,N2=P2.apply(AT()),IT=function(t,r){return N2(Object,arguments)};O2(IT,{getPolyfill:AT,implementation:A2,shim:I2});var M2=IT,ui=function(){return typeof(function(){}).name=="string"},ti=Object.getOwnPropertyDescriptor;if(ti)try{ti([],"length")}catch{ti=null}ui.functionsHaveConfigurableNames=function(){if(!ui()||!ti)return!1;var t=ti(function(){},"name");return!!t&&!!t.configurable};var $2=Function.prototype.bind;ui.boundFunctionsHaveNames=function(){return ui()&&typeof $2=="function"&&(function(){}).bind().name!==""};var k2=ui,nb=TT,L2=em(),B2=k2.functionsHaveConfigurableNames(),D2=TypeError,q2=function(t,r){if(typeof t!="function")throw new D2("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||B2)&&(L2?nb(t,"name",r,!0,!0):nb(t,"name",r)),t},F2=q2,j2=Object,U2=TypeError,NT=F2(function(){if(this!=null&&this!==j2(this))throw new U2("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),H2=NT,G2=xa.supportsDescriptors,W2=Object.getOwnPropertyDescriptor,MT=function(){if(G2&&/a/mig.flags==="gim"){var t=W2(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 H2},V2=xa.supportsDescriptors,z2=MT,Y2=Object.getOwnPropertyDescriptor,K2=Object.defineProperty,X2=TypeError,ab=Object.getPrototypeOf,Q2=/a/,J2=function(){if(!V2||!ab)throw new X2("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=z2(),r=ab(Q2),n=Y2(r,"flags");return(!n||n.get!==t)&&K2(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},Z2=xa,eH=so,tH=NT,$T=MT,rH=J2,kT=eH($T());Z2(kT,{getPolyfill:$T,implementation:tH,shim:rH});var nH=kT,us={exports:{}},aH=zs,Oa=function(){return aH()&&!!Symbol.toStringTag},oH=Oa(),iH=or,Gp=iH("Object.prototype.toString"),qc=function(t){return oH&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Gp(t)==="[object Arguments]"},LT=function(t){return qc(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Gp(t)!=="[object Array]"&&Gp(t.callee)==="[object Function]"},sH=function(){return qc(arguments)}();qc.isLegacyArguments=LT;var BT=sH?qc:LT,lH=Tr,uH=a_,Yo=$h(),tn=lH("%TypeError%"),rm={assert:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new tn("`O` is not an object");if(typeof t!="string")throw new tn("`slot` must be a string");if(Yo.assert(e),!rm.has(e,t))throw new tn("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new tn("`O` is not an object");if(typeof t!="string")throw new tn("`slot` must be a string");var r=Yo.get(e);return r&&r["$"+t]},has:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new tn("`O` is not an object");if(typeof t!="string")throw new tn("`slot` must be a string");var r=Yo.get(e);return!!r&&uH(r,"$"+t)},set:function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new tn("`O` is not an object");if(typeof t!="string")throw new tn("`slot` must be a string");var n=Yo.get(e);n||(n={},Yo.set(e,n)),n["$"+t]=r}};Object.freeze&&Object.freeze(rm);var cH=rm,Ko=cH,fH=SyntaxError,ob=typeof StopIteration=="object"?StopIteration:null,dH=function(t){if(!ob)throw new fH("this environment lacks StopIteration");Ko.set(t,"[[Done]]",!1);var r={next:function(){var a=Ko.get(this,"[[Iterator]]"),o=Ko.get(a,"[[Done]]");try{return{done:o,value:o?void 0:a.next()}}catch(s){if(Ko.set(a,"[[Done]]",!0),s!==ob)throw s;return{done:!0,value:void 0}}}};return Ko.set(r,"[[Iterator]]",t),r},pH={}.toString,DT=Array.isArray||function(e){return pH.call(e)=="[object Array]"},hH=String.prototype.valueOf,mH=function(t){try{return hH.call(t),!0}catch{return!1}},yH=Object.prototype.toString,vH="[object String]",gH=Oa(),qT=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:gH?mH(t):yH.call(t)===vH},nm=typeof Map=="function"&&Map.prototype?Map:null,bH=typeof Set=="function"&&Set.prototype?Set:null,Os;nm||(Os=function(t){return!1});var FT=nm?Map.prototype.has:null,ib=bH?Set.prototype.has:null;!Os&&!FT&&(Os=function(t){return!1});var jT=Os||function(t){if(!t||typeof t!="object")return!1;try{if(FT.call(t),ib)try{ib.call(t)}catch{return!0}return t instanceof nm}catch{}return!1},EH=typeof Map=="function"&&Map.prototype?Map:null,am=typeof Set=="function"&&Set.prototype?Set:null,Ps;am||(Ps=function(t){return!1});var sb=EH?Map.prototype.has:null,UT=am?Set.prototype.has:null;!Ps&&!UT&&(Ps=function(t){return!1});var HT=Ps||function(t){if(!t||typeof t!="object")return!1;try{if(UT.call(t),sb)try{sb.call(t)}catch{return!0}return t instanceof am}catch{}return!1},lb=BT,ub=dH;if(xh()||zs()){var Pd=Symbol.iterator;us.exports=function(t){if(t!=null&&typeof t[Pd]<"u")return t[Pd]();if(lb(t))return Array.prototype[Pd].call(t)}}else{var _H=DT,wH=qT,cb=Tr,TH=cb("%Map%",!0),SH=cb("%Set%",!0),yr=or,fb=yr("Array.prototype.push"),db=yr("String.prototype.charCodeAt"),RH=yr("String.prototype.slice"),CH=function(t,r){var n=t.length;if(r+1>=n)return r+1;var a=db(t,r);if(a<55296||a>56319)return r+1;var o=db(t,r+1);return o<56320||o>57343?r+1:r+2},Ad=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}}}},pb=function(t,r){if(_H(t)||lb(t))return Ad(t);if(wH(t)){var n=0;return{next:function(){var o=CH(t,n),s=RH(t,n,o);return n=o,{done:o>t.length,value:s}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!TH&&!SH)us.exports=function(t){if(t!=null)return pb(t,!0)};else{var xH=jT,OH=HT,hb=yr("Map.prototype.forEach",!0),mb=yr("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var yb=yr("Map.prototype.iterator",!0),vb=yr("Set.prototype.iterator",!0);var gb=yr("Map.prototype.@@iterator",!0)||yr("Map.prototype._es6-shim iterator_",!0),bb=yr("Set.prototype.@@iterator",!0)||yr("Set.prototype._es6-shim iterator_",!0),PH=function(t){if(xH(t)){if(yb)return ub(yb(t));if(gb)return gb(t);if(hb){var r=[];return hb(t,function(a,o){fb(r,[o,a])}),Ad(r)}}if(OH(t)){if(vb)return ub(vb(t));if(bb)return bb(t);if(mb){var n=[];return mb(t,function(a){fb(n,a)}),Ad(n)}}};us.exports=function(t){return PH(t)||pb(t)}}}var AH=us.exports,Eb=function(e){return e!==e},GT=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||Eb(t)&&Eb(r))},IH=GT,WT=function(){return typeof Object.is=="function"?Object.is:IH},NH=WT,MH=xa,$H=function(){var t=NH();return MH(Object,{is:t},{is:function(){return Object.is!==t}}),t},kH=xa,LH=so,BH=GT,VT=WT,DH=$H,zT=LH(VT(),Object);kH(zT,{getPolyfill:VT,implementation:BH,shim:DH});var qH=zT,YT=Function.prototype.toString,Ka=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Wp,cs;if(typeof Ka=="function"&&typeof Object.defineProperty=="function")try{Wp=Object.defineProperty({},"length",{get:function(){throw cs}}),cs={},Ka(function(){throw 42},null,Wp)}catch(e){e!==cs&&(Ka=null)}else Ka=null;var FH=/^\s*class\b/,Vp=function(t){try{var r=YT.call(t);return FH.test(r)}catch{return!1}},Id=function(t){try{return Vp(t)?!1:(YT.call(t),!0)}catch{return!1}},fs=Object.prototype.toString,jH="[object Object]",UH="[object Function]",HH="[object GeneratorFunction]",GH="[object HTMLAllCollection]",WH="[object HTML document.all class]",VH="[object HTMLCollection]",zH=typeof Symbol=="function"&&!!Symbol.toStringTag,YH=!(0 in[,]),zp=function(){return!1};if(typeof document=="object"){var KH=document.all;fs.call(KH)===fs.call(document.all)&&(zp=function(t){if((YH||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=fs.call(t);return(r===GH||r===WH||r===VH||r===jH)&&t("")==null}catch{}return!1})}var XH=Ka?function(t){if(zp(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{Ka(t,null,Wp)}catch(r){if(r!==cs)return!1}return!Vp(t)&&Id(t)}:function(t){if(zp(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(zH)return Id(t);if(Vp(t))return!1;var r=fs.call(t);return r!==UH&&r!==HH&&!/^\[object HTML/.test(r)?!1:Id(t)},QH=XH,JH=Object.prototype.toString,KT=Object.prototype.hasOwnProperty,ZH=function(t,r,n){for(var a=0,o=t.length;a<o;a++)KT.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},e3=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)},t3=function(t,r,n){for(var a in t)KT.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},r3=function(t,r,n){if(!QH(r))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),JH.call(t)==="[object Array]"?ZH(t,r,a):typeof t=="string"?e3(t,r,a):t3(t,r,a)},n3=r3,Nd=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],a3=typeof globalThis>"u"?be:globalThis,o3=function(){for(var t=[],r=0;r<Nd.length;r++)typeof a3[Nd[r]]=="function"&&(t[t.length]=Nd[r]);return t},As=n3,i3=o3,_b=so,om=or,ds=wT,s3=om("Object.prototype.toString"),XT=Oa(),wb=typeof globalThis>"u"?be:globalThis,Yp=i3(),im=om("String.prototype.slice"),Md=Object.getPrototypeOf,l3=om("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},Is={__proto__:null};XT&&ds&&Md?As(Yp,function(e){var t=new wb[e];if(Symbol.toStringTag in t){var r=Md(t),n=ds(r,Symbol.toStringTag);if(!n){var a=Md(r);n=ds(a,Symbol.toStringTag)}Is["$"+e]=_b(n.get)}}):As(Yp,function(e){var t=new wb[e];Is["$"+e]=_b(t.slice)});var u3=function(t){var r=!1;return As(Is,function(n,a){if(!r)try{"$"+n(t)===a&&(r=im(a,1))}catch{}}),r},c3=function(t){var r=!1;return As(Is,function(n,a){if(!r)try{n(t),r=im(a,1)}catch{}}),r},QT=function(t){if(!t||typeof t!="object")return!1;if(!XT){var r=im(s3(t),8,-1);return l3(Yp,r)>-1?r:r!=="Object"?!1:c3(t)}return ds?u3(t):null},f3=QT,d3=function(t){return!!f3(t)},p3=so,h3=or,JT=Tr,m3=d3,Tb=JT("ArrayBuffer",!0),Sb=JT("Float32Array",!0),ps=h3("ArrayBuffer.prototype.byteLength",!0),Rb=Tb&&!ps&&new Tb().slice,Cb=Rb&&p3(Rb),ZT=ps||Cb?function(t){if(!t||typeof t!="object")return!1;try{return ps?ps(t):Cb(t,0),!0}catch{return!1}}:Sb?function(t){try{return new Sb(t).buffer===t&&!m3(t)}catch(r){return typeof t=="object"&&r.name==="RangeError"}}:function(t){return!1},y3=Date.prototype.getDay,v3=function(t){try{return y3.call(t),!0}catch{return!1}},g3=Object.prototype.toString,b3="[object Date]",E3=Oa(),_3=function(t){return typeof t!="object"||t===null?!1:E3?v3(t):g3.call(t)===b3},Kp=or,eS=Oa(),tS,rS,Xp,Qp;if(eS){tS=Kp("Object.prototype.hasOwnProperty"),rS=Kp("RegExp.prototype.exec"),Xp={};var $d=function(){throw Xp};Qp={toString:$d,valueOf:$d},typeof Symbol.toPrimitive=="symbol"&&(Qp[Symbol.toPrimitive]=$d)}var w3=Kp("Object.prototype.toString"),T3=Object.getOwnPropertyDescriptor,S3="[object RegExp]",R3=eS?function(t){if(!t||typeof t!="object")return!1;var r=T3(t,"lastIndex"),n=r&&tS(r,"value");if(!n)return!1;try{rS(t,Qp)}catch(a){return a===Xp}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:w3(t)===S3},C3=or,xb=C3("SharedArrayBuffer.prototype.byteLength",!0),x3=xb?function(t){if(!t||typeof t!="object")return!1;try{return xb(t),!0}catch{return!1}}:function(t){return!1},O3=Number.prototype.toString,P3=function(t){try{return O3.call(t),!0}catch{return!1}},A3=Object.prototype.toString,I3="[object Number]",N3=Oa(),M3=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:N3?P3(t):A3.call(t)===I3},nS=or,$3=nS("Boolean.prototype.toString"),k3=nS("Object.prototype.toString"),L3=function(t){try{return $3(t),!0}catch{return!1}},B3="[object Boolean]",D3=Oa(),q3=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:D3&&Symbol.toStringTag in t?L3(t):k3(t)===B3},Jp={exports:{}},F3=Object.prototype.toString,j3=xh();if(j3){var U3=Symbol.prototype.toString,H3=/^Symbol\(.*\)$/,G3=function(t){return typeof t.valueOf()!="symbol"?!1:H3.test(U3.call(t))};Jp.exports=function(t){if(typeof t=="symbol")return!0;if(F3.call(t)!=="[object Symbol]")return!1;try{return G3(t)}catch{return!1}}}else Jp.exports=function(t){return!1};var W3=Jp.exports,Zp={exports:{}},Ob=typeof BigInt<"u"&&BigInt,V3=function(){return typeof Ob=="function"&&typeof BigInt=="function"&&typeof Ob(42)=="bigint"&&typeof BigInt(42)=="bigint"},z3=V3();if(z3){var Y3=BigInt.prototype.valueOf,K3=function(t){try{return Y3.call(t),!0}catch{}return!1};Zp.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:K3(t)}}else Zp.exports=function(t){return!1};var X3=Zp.exports,Q3=qT,J3=M3,Z3=q3,e4=W3,t4=X3,r4=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(Q3(t))return"String";if(J3(t))return"Number";if(Z3(t))return"Boolean";if(e4(t))return"Symbol";if(t4(t))return"BigInt"},Ns=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,Pb=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Ms;Ns||(Ms=function(t){return!1});var eh=Ns?Ns.prototype.has:null,kd=Pb?Pb.prototype.has:null;!Ms&&!eh&&(Ms=function(t){return!1});var n4=Ms||function(t){if(!t||typeof t!="object")return!1;try{if(eh.call(t,eh),kd)try{kd.call(t,kd)}catch{return!0}return t instanceof Ns}catch{}return!1},th={exports:{}},a4=Tr,aS=or,o4=a4("%WeakSet%",!0),Ld=aS("WeakSet.prototype.has",!0);if(Ld){var Bd=aS("WeakMap.prototype.has",!0);th.exports=function(t){if(!t||typeof t!="object")return!1;try{if(Ld(t,Ld),Bd)try{Bd(t,Bd)}catch{return!0}return t instanceof o4}catch{}return!1}}else th.exports=function(t){return!1};var i4=th.exports,s4=jT,l4=HT,u4=n4,c4=i4,f4=function(t){if(t&&typeof t=="object"){if(s4(t))return"Map";if(l4(t))return"Set";if(u4(t))return"WeakMap";if(c4(t))return"WeakSet"}return!1},d4=or,Ab=d4("ArrayBuffer.prototype.byteLength",!0),p4=ZT,h4=function(t){return p4(t)?Ab?Ab(t):t.byteLength:NaN},oS=M2,jr=or,Ib=nH,m4=Tr,oo=AH,y4=$h,Nb=qH,Mb=BT,$b=DT,kb=ZT,Lb=_3,Bb=R3,Db=x3,qb=Zh,Fb=r4,jb=f4,Ub=QT,Hb=h4,Gb=jr("SharedArrayBuffer.prototype.byteLength",!0),Wb=jr("Date.prototype.getTime"),Dd=Object.getPrototypeOf,Vb=jr("Object.prototype.toString"),$s=m4("%Set%",!0),rh=jr("Map.prototype.has",!0),ks=jr("Map.prototype.get",!0),zb=jr("Map.prototype.size",!0),Ls=jr("Set.prototype.add",!0),iS=jr("Set.prototype.delete",!0),Bs=jr("Set.prototype.has",!0),hs=jr("Set.prototype.size",!0);function Yb(e,t,r,n){for(var a=oo(e),o;(o=a.next())&&!o.done;)if(_r(t,o.value,r,n))return iS(e,o.value),!0;return!1}function sS(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 v4(e,t,r,n,a,o){var s=sS(r);if(s!=null)return s;var i=ks(t,s),l=oS({},a,{strict:!1});return typeof i>"u"&&!rh(t,s)||!_r(n,i,l,o)?!1:!rh(e,s)&&_r(n,i,l,o)}function g4(e,t,r){var n=sS(r);return n??(Bs(t,n)&&!Bs(e,n))}function Kb(e,t,r,n,a,o){for(var s=oo(e),i,l;(i=s.next())&&!i.done;)if(l=i.value,_r(r,l,a,o)&&_r(n,ks(t,l),a,o))return iS(e,l),!0;return!1}function _r(e,t,r,n){var a=r||{};if(a.strict?Nb(e,t):e===t)return!0;var o=Fb(e),s=Fb(t);if(o!==s)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return a.strict?Nb(e,t):e==t;var i=n.has(e),l=n.has(t),u;if(i&&l){if(n.get(e)===n.get(t))return!0}else u={};return i||n.set(e,u),l||n.set(t,u),_4(e,t,a,n)}function Xb(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 b4(e,t,r,n){if(hs(e)!==hs(t))return!1;for(var a=oo(e),o=oo(t),s,i,l;(s=a.next())&&!s.done;)if(s.value&&typeof s.value=="object")l||(l=new $s),Ls(l,s.value);else if(!Bs(t,s.value)){if(r.strict||!g4(e,t,s.value))return!1;l||(l=new $s),Ls(l,s.value)}if(l){for(;(i=o.next())&&!i.done;)if(i.value&&typeof i.value=="object"){if(!Yb(l,i.value,r.strict,n))return!1}else if(!r.strict&&!Bs(e,i.value)&&!Yb(l,i.value,r.strict,n))return!1;return hs(l)===0}return!0}function E4(e,t,r,n){if(zb(e)!==zb(t))return!1;for(var a=oo(e),o=oo(t),s,i,l,u,c,d;(s=a.next())&&!s.done;)if(u=s.value[0],c=s.value[1],u&&typeof u=="object")l||(l=new $s),Ls(l,u);else if(d=ks(t,u),typeof d>"u"&&!rh(t,u)||!_r(c,d,r,n)){if(r.strict||!v4(e,t,u,c,r,n))return!1;l||(l=new $s),Ls(l,u)}if(l){for(;(i=o.next())&&!i.done;)if(u=i.value[0],d=i.value[1],u&&typeof u=="object"){if(!Kb(l,e,u,d,r,n))return!1}else if(!r.strict&&(!e.has(u)||!_r(ks(e,u),d,r,n))&&!Kb(l,e,u,d,oS({},r,{strict:!1}),n))return!1;return hs(l)===0}return!0}function _4(e,t,r,n){var a,o;if(typeof e!=typeof t||e==null||t==null||Vb(e)!==Vb(t)||Mb(e)!==Mb(t))return!1;var s=$b(e),i=$b(t);if(s!==i)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=Bb(e),d=Bb(t);if(c!==d||(c||d)&&(e.source!==t.source||Ib(e)!==Ib(t)))return!1;var p=Lb(e),f=Lb(t);if(p!==f||(p||f)&&Wb(e)!==Wb(t)||r.strict&&Dd&&Dd(e)!==Dd(t))return!1;var h=Ub(e),m=Ub(t);if(h!==m)return!1;if(h||m){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var w=Xb(e),E=Xb(t);if(w!==E)return!1;if(w||E){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var y=kb(e),T=kb(t);if(y!==T)return!1;if(y||T)return Hb(e)!==Hb(t)?!1:typeof Uint8Array=="function"&&_r(new Uint8Array(e),new Uint8Array(t),r,n);var R=Db(e),S=Db(t);if(R!==S)return!1;if(R||S)return Gb(e)!==Gb(t)?!1:typeof Uint8Array=="function"&&_r(new Uint8Array(e),new Uint8Array(t),r,n);if(typeof e!=typeof t)return!1;var O=qb(e),N=qb(t);if(O.length!==N.length)return!1;for(O.sort(),N.sort(),a=O.length-1;a>=0;a--)if(O[a]!=N[a])return!1;for(a=O.length-1;a>=0;a--)if(o=O[a],!_r(e[o],t[o],r,n))return!1;var M=jb(e),H=jb(t);return M!==H?!1:M==="Set"||H==="Set"?b4(e,t,r,n):M==="Map"?E4(e,t,r,n):!0}var w4=function(t,r,n){return _r(t,r,n,y4())};Object.defineProperty(Dc,"__esModule",{value:!0});Dc.default=void 0;var T4=sm(w4),S4=sm(Ca),lS=sm(po);function sm(e){return e&&e.__esModule?e:{default:e}}function qd(e,t){return x4(e)||C4(e,t)||uS(e,t)||R4()}function R4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
133
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function x4(e){if(Array.isArray(e))return e}function O4(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=uS(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.
134
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function uS(e,t){if(e){if(typeof e=="string")return Qb(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 Qb(e,t)}}function Qb(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 An=[],Jb=lS.default.keys();for(var Fd=0;Fd<Jb.length;Fd++){var jd=Jb[Fd],Ud=lS.default.get(jd);if(Ud)for(var Zb=[].concat(Ud.baseConcepts,Ud.relatedConcepts),Hd=0;Hd<Zb.length;Hd++){var eE=Zb[Hd];if(eE.module==="HTML"){var Gd=eE.concept;Gd&&function(){var e=JSON.stringify(Gd),t=An.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]===jd){n=!1;break}n&&r.push(jd),An.push([Gd,r])}()}}}var nh={entries:function(){return An},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=O4(An),a;try{for(n.s();!(a=n.n()).done;){var o=qd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,An)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=An.find(function(n){return(0,T4.default)(t,n[0])});return r&&r[1]},has:function(t){return!!nh.get(t)},keys:function(){return An.map(function(t){var r=qd(t,1),n=r[0];return n})},values:function(){return An.map(function(t){var r=qd(t,2),n=r[1];return n})}},P4=(0,S4.default)(nh,nh.entries());Dc.default=P4;var Fc={};Object.defineProperty(Fc,"__esModule",{value:!0});Fc.default=void 0;var A4=fS(Ca),cS=fS(po);function fS(e){return e&&e.__esModule?e:{default:e}}function Wd(e,t){return M4(e)||N4(e,t)||dS(e,t)||I4()}function I4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
135
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function M4(e){if(Array.isArray(e))return e}function $4(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=dS(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.
136
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function dS(e,t){if(e){if(typeof e=="string")return tE(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 tE(e,t)}}function tE(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 In=[],pS=cS.default.keys(),k4=function(t){var r=pS[t],n=cS.default.get(r);if(n)for(var a=[].concat(n.baseConcepts,n.relatedConcepts),o=0;o<a.length;o++){var s=a[o];if(s.module==="HTML"){var i=s.concept;if(i){var l=In.find(function(c){return c[0]===r}),u=void 0;l?u=l[1]:u=[],u.push(i),In.push([r,u])}}}};for(var Vd=0;Vd<pS.length;Vd++)k4(Vd);var ah={entries:function(){return In},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=$4(In),a;try{for(n.s();!(a=n.n()).done;){var o=Wd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,In)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=In.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!ah.get(t)},keys:function(){return In.map(function(t){var r=Wd(t,1),n=r[0];return n})},values:function(){return In.map(function(t){var r=Wd(t,2),n=r[1];return n})}},L4=(0,A4.default)(ah,ah.entries());Fc.default=L4;Object.defineProperty(Er,"__esModule",{value:!0});var vr=Er.roles=mS=Er.roleElements=hS=Er.elementRoles=Er.dom=Er.aria=void 0,B4=wi(nl),D4=wi(ol),q4=wi(po),F4=wi(Dc),j4=wi(Fc);function wi(e){return e&&e.__esModule?e:{default:e}}var U4=B4.default;Er.aria=U4;var H4=D4.default;Er.dom=H4;var G4=q4.default;vr=Er.roles=G4;var W4=F4.default,hS=Er.elementRoles=W4,V4=j4.default,mS=Er.roleElements=V4,lm={exports:{}};lm.exports;(function(e){var t=function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function s(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 i={compressToBase64:function(l){if(l==null)return"";var u=i._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:i._decompress(l.length,32,function(u){return s(n,l.charAt(u))})},compressToUTF16:function(l){return l==null?"":i._compress(l,15,function(u){return r(u+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:i._decompress(l.length,16384,function(u){return l.charCodeAt(u)-32})},compressToUint8Array:function(l){for(var u=i.compress(l),c=new Uint8Array(u.length*2),d=0,p=u.length;d<p;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 i.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 p=[];return u.forEach(function(f){p.push(r(f))}),i.decompress(p.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":i._compress(l,6,function(u){return a.charAt(u)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),i._decompress(l.length,32,function(u){return s(a,l.charAt(u))}))},compress:function(l){return i._compress(l,16,function(u){return r(u)})},_compress:function(l,u,c){if(l==null)return"";var d,p,f={},h={},m="",w="",E="",y=2,T=3,R=2,S=[],O=0,N=0,M;for(M=0;M<l.length;M+=1)if(m=l.charAt(M),Object.prototype.hasOwnProperty.call(f,m)||(f[m]=T++,h[m]=!0),w=E+m,Object.prototype.hasOwnProperty.call(f,w))E=w;else{if(Object.prototype.hasOwnProperty.call(h,E)){if(E.charCodeAt(0)<256){for(d=0;d<R;d++)O=O<<1,N==u-1?(N=0,S.push(c(O)),O=0):N++;for(p=E.charCodeAt(0),d=0;d<8;d++)O=O<<1|p&1,N==u-1?(N=0,S.push(c(O)),O=0):N++,p=p>>1}else{for(p=1,d=0;d<R;d++)O=O<<1|p,N==u-1?(N=0,S.push(c(O)),O=0):N++,p=0;for(p=E.charCodeAt(0),d=0;d<16;d++)O=O<<1|p&1,N==u-1?(N=0,S.push(c(O)),O=0):N++,p=p>>1}y--,y==0&&(y=Math.pow(2,R),R++),delete h[E]}else for(p=f[E],d=0;d<R;d++)O=O<<1|p&1,N==u-1?(N=0,S.push(c(O)),O=0):N++,p=p>>1;y--,y==0&&(y=Math.pow(2,R),R++),f[w]=T++,E=String(m)}if(E!==""){if(Object.prototype.hasOwnProperty.call(h,E)){if(E.charCodeAt(0)<256){for(d=0;d<R;d++)O=O<<1,N==u-1?(N=0,S.push(c(O)),O=0):N++;for(p=E.charCodeAt(0),d=0;d<8;d++)O=O<<1|p&1,N==u-1?(N=0,S.push(c(O)),O=0):N++,p=p>>1}else{for(p=1,d=0;d<R;d++)O=O<<1|p,N==u-1?(N=0,S.push(c(O)),O=0):N++,p=0;for(p=E.charCodeAt(0),d=0;d<16;d++)O=O<<1|p&1,N==u-1?(N=0,S.push(c(O)),O=0):N++,p=p>>1}y--,y==0&&(y=Math.pow(2,R),R++),delete h[E]}else for(p=f[E],d=0;d<R;d++)O=O<<1|p&1,N==u-1?(N=0,S.push(c(O)),O=0):N++,p=p>>1;y--,y==0&&(y=Math.pow(2,R),R++)}for(p=2,d=0;d<R;d++)O=O<<1|p&1,N==u-1?(N=0,S.push(c(O)),O=0):N++,p=p>>1;for(;;)if(O=O<<1,N==u-1){S.push(c(O));break}else N++;return S.join("")},decompress:function(l){return l==null?"":l==""?null:i._decompress(l.length,32768,function(u){return l.charCodeAt(u)})},_decompress:function(l,u,c){var d=[],p=4,f=4,h=3,m="",w=[],E,y,T,R,S,O,N,M={val:c(0),position:u,index:1};for(E=0;E<3;E+=1)d[E]=E;for(T=0,S=Math.pow(2,2),O=1;O!=S;)R=M.val&M.position,M.position>>=1,M.position==0&&(M.position=u,M.val=c(M.index++)),T|=(R>0?1:0)*O,O<<=1;switch(T){case 0:for(T=0,S=Math.pow(2,8),O=1;O!=S;)R=M.val&M.position,M.position>>=1,M.position==0&&(M.position=u,M.val=c(M.index++)),T|=(R>0?1:0)*O,O<<=1;N=r(T);break;case 1:for(T=0,S=Math.pow(2,16),O=1;O!=S;)R=M.val&M.position,M.position>>=1,M.position==0&&(M.position=u,M.val=c(M.index++)),T|=(R>0?1:0)*O,O<<=1;N=r(T);break;case 2:return""}for(d[3]=N,y=N,w.push(N);;){if(M.index>l)return"";for(T=0,S=Math.pow(2,h),O=1;O!=S;)R=M.val&M.position,M.position>>=1,M.position==0&&(M.position=u,M.val=c(M.index++)),T|=(R>0?1:0)*O,O<<=1;switch(N=T){case 0:for(T=0,S=Math.pow(2,8),O=1;O!=S;)R=M.val&M.position,M.position>>=1,M.position==0&&(M.position=u,M.val=c(M.index++)),T|=(R>0?1:0)*O,O<<=1;d[f++]=r(T),N=f-1,p--;break;case 1:for(T=0,S=Math.pow(2,16),O=1;O!=S;)R=M.val&M.position,M.position>>=1,M.position==0&&(M.position=u,M.val=c(M.index++)),T|=(R>0?1:0)*O,O<<=1;d[f++]=r(T),N=f-1,p--;break;case 2:return w.join("")}if(p==0&&(p=Math.pow(2,h),h++),d[N])m=d[N];else if(N===f)m=y+y.charAt(0);else return null;w.push(m),d[f++]=y+m.charAt(0),p--,y=m,p==0&&(p=Math.pow(2,h),h++)}}};return i}();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(lm);var z4=lm.exports;const Y4=wr(z4);function yS(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}const K4=(e,t,r,n,a,o,s)=>{const i=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let d=s(c,r,i,a,o);return typeof c!="string"&&(d.indexOf(`
137
+ `)!==-1&&(d=r.spacingOuter+i+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},X4=3,Q4=(e,t,r,n,a,o)=>e.map(s=>{const i=typeof s=="string"?vS(s,t):o(s,t,r,n,a);return i===""&&typeof s=="object"&&s!==null&&s.nodeType!==X4?"":t.spacingOuter+r+i}).join(""),vS=(e,t)=>{const r=t.colors.content;return r.open+yS(e)+r.close},J4=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+yS(e)+"-->"+r.close},Z4=(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},eG=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},tG=1,gS=3,bS=8,ES=11,rG=/^((HTML|SVG)\w*)?Element$/,nG=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===tG&&(rG.test(t)||a)||r===gS&&t==="Text"||r===bS&&t==="Comment"||r===ES&&t==="DocumentFragment"};function aG(e){return e.nodeType===gS}function oG(e){return e.nodeType===bS}function zd(e){return e.nodeType===ES}function iG(e){return{test:t=>{var r;return(t==null||(r=t.constructor)==null?void 0:r.name)&&nG(t)},serialize:(t,r,n,a,o,s)=>{if(aG(t))return vS(t.data,r);if(oG(t))return J4(t.data,r);const i=zd(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?eG(i,r):Z4(i,K4(zd(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),zd(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,a,o,s),Q4(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,s),r,n)}}}let _S=null,um=null,cm=null;try{const e=module&&AN;um=e.call(module,"fs").readFileSync,cm=e.call(module,"@babel/code-frame").codeFrameColumns,_S=e.call(module,"chalk")}catch{}function sG(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,s,i]=[a[0],parseInt(a[1],10),parseInt(a[2],10)];let l="";try{l=um(o,"utf-8")}catch{return""}const u=cm(l,{start:{line:s,column:i}},{highlightCode:!0,linesBelow:0});return _S.dim(n)+`
138
138
  `+u+`
139
- `}function eG(){if(!nm||!am)return"";const t=new Error().stack.split(`
140
- `).slice(1).find(r=>!r.includes("node_modules/"));return Z4(t)}const dS=3;function Ud(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function om(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function pS(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 Pr(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 tG=()=>{let e;try{var t;e=JSON.parse((t=process)==null||(t=t.env)==null?void 0:t.COLORS)}catch{}return typeof e=="boolean"?e:typeof process<"u"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:rG}=Uw,nG=1,aG=8;function oG(e){return e.nodeType!==aG&&(e.nodeType!==nG||!e.matches(Be().defaultIgnore))}function _s(e,t,r){if(r===void 0&&(r={}),e||(e=om().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=oG,...o}=r,s=OM(e,{plugins:[J4(a),rG],printFunctionName:!1,highlight:tG(),...o});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}const Yb=function(){const e=eG();console.log(e?_s(...arguments)+`
139
+ `}function lG(){if(!um||!cm)return"";const t=new Error().stack.split(`
140
+ `).slice(1).find(r=>!r.includes("node_modules/"));return sG(t)}const wS=3;function Yd(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function fm(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function TS(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 fn(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 uG=()=>{let e;try{var t;e=JSON.parse((t=process)==null||(t=t.env)==null?void 0:t.COLORS)}catch{}return typeof e=="boolean"?e:typeof process<"u"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:cG}=Jw,fG=1,dG=8;function pG(e){return e.nodeType!==dG&&(e.nodeType!==fG||!e.matches(We().defaultIgnore))}function Ds(e,t,r){if(r===void 0&&(r={}),e||(e=fm().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=pG,...o}=r,s=kM(e,{plugins:[iG(a),cG],printFunctionName:!1,highlight:uG(),...o});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}const rE=function(){const e=lG();console.log(e?Ds(...arguments)+`
141
141
 
142
- `+e:_s(...arguments))};let On={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=_s(t),n=new Error([e,"Ignored nodes: comments, "+On.defaultIgnore+`
142
+ `+e:Ds(...arguments))};let ga={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=Ds(t),n=new Error([e,"Ignored nodes: comments, "+ga.defaultIgnore+`
143
143
  `+r].filter(Boolean).join(`
144
144
 
145
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function iG(e){try{return On._disableExpensiveErrorDiagnostics=!0,e()}finally{On._disableExpensiveErrorDiagnostics=!1}}function sG(e){typeof e=="function"&&(e=e(On)),On={...On,...e}}function Be(){return On}const lG=["button","meter","output","progress","select","textarea","input"];function hS(e){return lG.includes(e.nodeName.toLowerCase())?"":e.nodeType===dS?e.textContent:Array.from(e.childNodes).map(t=>hS(t)).join("")}function Zp(e){let t;return e.tagName.toLowerCase()==="label"?t=hS(e):t=e.value||e.textContent,t}function mS(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!uG(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function uG(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function yS(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(s=>{const i=e.querySelector('[id="'+s+'"]');return i?{content:Zp(i),formControl:null}:{content:"",formControl:null}}):Array.from(mS(t)).map(s=>{const i=Zp(s),l="button, input, meter, output, progress, select, textarea",u=Array.from(s.querySelectorAll(l)).filter(c=>c.matches(n))[0];return{content:i,formControl:u}})}function vS(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 Pa(e,t,r,n){if(typeof e!="string")return!1;vS(r);const a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):bS(r,a)}function Or(e,t,r,n){if(typeof e!="string")return!1;vS(r);const a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?bS(r,a):a===String(r)}function gS(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 Bn(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return gS({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 bS(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 Tc(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===dS&&!!t.textContent).map(t=>t.textContent).join("")}const cG=fG(aS);function ES(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function im(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=ES}=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 sm(e){for(const{match:t,roles:r}of cG)if(t(e))return[...r];return[]}function fG(e){function t(s){let{name:i,attributes:l}=s;return""+i+l.map(u=>{let{name:c,value:d,constraints:p=[]}=u;return p.indexOf("undefined")!==-1?":not(["+c+"])":d?"["+c+'="'+d+'"]':"["+c+"]"}).join("")}function r(s){let{attributes:i=[]}=s;return i.length}function n(s,i){let{specificity:l}=s,{specificity:u}=i;return u-l}function a(s){let{attributes:i=[]}=s;const l=i.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(i=[...i.slice(0,l),...i.slice(l+1)]);const u=t({...s,attributes:i});return c=>l>=0&&c.type!=="text"?!1:c.matches(u)}let o=[];for(const[s,i]of e.entries())o=[...o,{match:a(s),roles:Array.from(i),specificity:r(s)}];return o.sort(n)}function dG(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,s)=>[...o,...n(s)],[])]}return n(e).filter(a=>r===!1?im(a)===!1:!0).reduce((a,o)=>{let s=[];return o.hasAttribute("role")?s=o.getAttribute("role").split(" ").slice(0,1):s=sm(o),s.reduce((i,l)=>Array.isArray(i[l])?{...i,[l]:[...i[l],o]}:{...i,[l]:[o]},a)},{})}function pG(e,t){let{hidden:r,includeDescription:n}=t;const a=dG(e,{hidden:r});return Object.entries(a).filter(o=>{let[s]=o;return s!=="generic"}).map(o=>{let[s,i]=o;const l="-".repeat(50),u=i.map(c=>{const d='Name "'+Wh(c,{computedStyleSupportsPseudoElements:Be().computedStyleSupportsPseudoElements})+`":
146
- `,p=_s(c.cloneNode(!1));if(n){const f='Description "'+sT(c,{computedStyleSupportsPseudoElements:Be().computedStyleSupportsPseudoElements})+`":
145
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function hG(e){try{return ga._disableExpensiveErrorDiagnostics=!0,e()}finally{ga._disableExpensiveErrorDiagnostics=!1}}function mG(e){typeof e=="function"&&(e=e(ga)),ga={...ga,...e}}function We(){return ga}const yG=["button","meter","output","progress","select","textarea","input"];function SS(e){return yG.includes(e.nodeName.toLowerCase())?"":e.nodeType===wS?e.textContent:Array.from(e.childNodes).map(t=>SS(t)).join("")}function oh(e){let t;return e.tagName.toLowerCase()==="label"?t=SS(e):t=e.value||e.textContent,t}function RS(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!vG(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function vG(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function CS(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(s=>{const i=e.querySelector('[id="'+s+'"]');return i?{content:oh(i),formControl:null}:{content:"",formControl:null}}):Array.from(RS(t)).map(s=>{const i=oh(s),l="button, input, meter, output, progress, select, textarea",u=Array.from(s.querySelectorAll(l)).filter(c=>c.matches(n))[0];return{content:i,formControl:u}})}function xS(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 ho(e,t,r,n){if(typeof e!="string")return!1;xS(r);const a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):PS(r,a)}function ln(e,t,r,n){if(typeof e!="string")return!1;xS(r);const a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?PS(r,a):a===String(r)}function OS(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 Pa(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return OS({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 PS(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 jc(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===wS&&!!t.textContent).map(t=>t.textContent).join("")}const gG=bG(hS);function AS(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function dm(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=AS}=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 pm(e){for(const{match:t,roles:r}of gG)if(t(e))return[...r];return[]}function bG(e){function t(s){let{name:i,attributes:l}=s;return""+i+l.map(u=>{let{name:c,value:d,constraints:p=[]}=u;return p.indexOf("undefined")!==-1?":not(["+c+"])":d?"["+c+'="'+d+'"]':"["+c+"]"}).join("")}function r(s){let{attributes:i=[]}=s;return i.length}function n(s,i){let{specificity:l}=s,{specificity:u}=i;return u-l}function a(s){let{attributes:i=[]}=s;const l=i.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(i=[...i.slice(0,l),...i.slice(l+1)]);const u=t({...s,attributes:i});return c=>l>=0&&c.type!=="text"?!1:c.matches(u)}let o=[];for(const[s,i]of e.entries())o=[...o,{match:a(s),roles:Array.from(i),specificity:r(s)}];return o.sort(n)}function EG(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,s)=>[...o,...n(s)],[])]}return n(e).filter(a=>r===!1?dm(a)===!1:!0).reduce((a,o)=>{let s=[];return o.hasAttribute("role")?s=o.getAttribute("role").split(" ").slice(0,1):s=pm(o),s.reduce((i,l)=>Array.isArray(i[l])?{...i,[l]:[...i[l],o]}:{...i,[l]:[o]},a)},{})}function _G(e,t){let{hidden:r,includeDescription:n}=t;const a=EG(e,{hidden:r});return Object.entries(a).filter(o=>{let[s]=o;return s!=="generic"}).map(o=>{let[s,i]=o;const l="-".repeat(50),u=i.map(c=>{const d='Name "'+Qh(c,{computedStyleSupportsPseudoElements:We().computedStyleSupportsPseudoElements})+`":
146
+ `,p=Ds(c.cloneNode(!1));if(n){const f='Description "'+vT(c,{computedStyleSupportsPseudoElements:We().computedStyleSupportsPseudoElements})+`":
147
147
  `;return""+d+f+p}return""+d+p}).join(`
148
148
 
149
149
  `);return s+`:
@@ -151,19 +151,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
151
151
  `+u+`
152
152
 
153
153
  `+l}).join(`
154
- `)}function hG(e){return e.tagName==="OPTION"?e.selected:Xo(e,"aria-selected")}function mG(e){return e.getAttribute("aria-busy")==="true"}function yG(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Xo(e,"aria-checked")}function vG(e){return Xo(e,"aria-pressed")}function gG(e){var t,r;return(t=(r=Xo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function bG(e){return Xo(e,"aria-expanded")}function Xo(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function EG(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 _G(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function wG(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function TG(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function SG(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const Kb=gS();function RG(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Xb(e){return new RegExp(RG(e.toLowerCase()),"i")}function kr(e,t,r,n){let{variant:a,name:o}=n,s="";const i={},l=[["Role","TestId"].includes(e)?r:Xb(r)];o&&(i.name=Xb(o)),e==="Role"&&im(t)&&(i.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
154
+ `)}function wG(e){return e.tagName==="OPTION"?e.selected:Ti(e,"aria-selected")}function TG(e){return e.getAttribute("aria-busy")==="true"}function SG(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Ti(e,"aria-checked")}function RG(e){return Ti(e,"aria-pressed")}function CG(e){var t,r;return(t=(r=Ti(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function xG(e){return Ti(e,"aria-expanded")}function Ti(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function OG(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 PG(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function AG(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function IG(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function NG(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const nE=OS();function MG(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function aE(e){return new RegExp(MG(e.toLowerCase()),"i")}function Tn(e,t,r,n){let{variant:a,name:o}=n,s="";const i={},l=[["Role","TestId"].includes(e)?r:aE(r)];o&&(i.name=aE(o)),e==="Role"&&dm(t)&&(i.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
155
155
  If you are using the aria-hidden prop, make sure this is the right choice for your case.
156
- `),Object.keys(i).length>0&&l.push(i);const u=a+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:a,warning:s,toString(){s&&console.warn(s);let[c,d]=l;return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(p=>{let[f,h]=p;return f+": "+h}).join(", ")+" }":"",u+"("+c+d+")"}}}function Lr(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function eh(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(Be().defaultIgnore))return;const o=(n=e.getAttribute("role"))!=null?n:(a=sm(e))==null?void 0:a[0];if(o!=="generic"&&Lr("Role",r,o))return kr("Role",e,o,{variant:t,name:Wh(e,{computedStyleSupportsPseudoElements:Be().computedStyleSupportsPseudoElements})});const s=yS(document,e).map(p=>p.content).join(" ");if(Lr("LabelText",r,s))return kr("LabelText",e,s,{variant:t});const i=e.getAttribute("placeholder");if(Lr("PlaceholderText",r,i))return kr("PlaceholderText",e,i,{variant:t});const l=Kb(Tc(e));if(Lr("Text",r,l))return kr("Text",e,l,{variant:t});if(Lr("DisplayValue",r,e.value))return kr("DisplayValue",e,Kb(e.value),{variant:t});const u=e.getAttribute("alt");if(Lr("AltText",r,u))return kr("AltText",e,u,{variant:t});const c=e.getAttribute("title");if(Lr("Title",r,c))return kr("Title",e,c,{variant:t});const d=e.getAttribute(Be().testIdAttribute);if(Lr("TestId",r,d))return kr("TestId",e,d,{variant:t})}function Li(e,t){e.stack=t.stack.replace(t.message,e.message)}function CG(e,t){let{container:r=om(),timeout:n=Be().asyncUtilTimeout,showOriginalStackTrace:a=Be().showOriginalStackTrace,stackTraceError:o,interval:s=50,onTimeout:i=u=>(Object.defineProperty(u,"message",{value:Be().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,p,f,h=!1,m="idle";const _=setTimeout(T,n),b=Ud();if(b){const{unstable_advanceTimersWrapper:C}=Be();for(S();!h;){if(!Ud()){const I=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||Li(I,o),c(I);return}if(await C(async()=>{jest.advanceTimersByTime(s)}),S(),h)break}}else{try{Pr(r)}catch(I){c(I);return}p=setInterval(w,s);const{MutationObserver:C}=pS(r);f=new C(w),f.observe(r,l),S()}function v(C,I){h=!0,clearTimeout(_),b||(clearInterval(p),f.disconnect()),C?c(C):u(I)}function w(){if(Ud()){const C=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||Li(C,o),c(C)}else return S()}function S(){if(m!=="pending")try{const C=iG(e);typeof(C==null?void 0:C.then)=="function"?(m="pending",C.then(I=>{m="resolved",v(null,I)},I=>{m="rejected",d=I})):v(null,C)}catch(C){d=C}}function T(){let C;d?(C=d,!a&&C.name==="TestingLibraryElementError"&&Li(C,o)):(C=new Error("Timed out in waitFor."),a||Li(C,o)),v(i(C),null)}})}function OG(e,t){const r=new Error("STACK_TRACE_MESSAGE");return Be().asyncWrapper(()=>CG(e,{stackTraceError:r,...t}))}function _S(e,t){return Be().getElementError(e,t)}function xG(e,t){return _S(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Sc(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:s,normalizer:i}=n===void 0?{}:n;const l=a?Or:Pa,u=Bn({collapseWhitespace:o,trim:s,normalizer:i});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>l(c.getAttribute(e),c,r,u))}function ws(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 s=e(r,...a);if(s.length>1){const i=s.map(l=>_S(null,l).message).join(`
156
+ `),Object.keys(i).length>0&&l.push(i);const u=a+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:a,warning:s,toString(){s&&console.warn(s);let[c,d]=l;return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(p=>{let[f,h]=p;return f+": "+h}).join(", ")+" }":"",u+"("+c+d+")"}}}function Sn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function ih(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(We().defaultIgnore))return;const o=(n=e.getAttribute("role"))!=null?n:(a=pm(e))==null?void 0:a[0];if(o!=="generic"&&Sn("Role",r,o))return Tn("Role",e,o,{variant:t,name:Qh(e,{computedStyleSupportsPseudoElements:We().computedStyleSupportsPseudoElements})});const s=CS(document,e).map(p=>p.content).join(" ");if(Sn("LabelText",r,s))return Tn("LabelText",e,s,{variant:t});const i=e.getAttribute("placeholder");if(Sn("PlaceholderText",r,i))return Tn("PlaceholderText",e,i,{variant:t});const l=nE(jc(e));if(Sn("Text",r,l))return Tn("Text",e,l,{variant:t});if(Sn("DisplayValue",r,e.value))return Tn("DisplayValue",e,nE(e.value),{variant:t});const u=e.getAttribute("alt");if(Sn("AltText",r,u))return Tn("AltText",e,u,{variant:t});const c=e.getAttribute("title");if(Sn("Title",r,c))return Tn("Title",e,c,{variant:t});const d=e.getAttribute(We().testIdAttribute);if(Sn("TestId",r,d))return Tn("TestId",e,d,{variant:t})}function Zi(e,t){e.stack=t.stack.replace(t.message,e.message)}function $G(e,t){let{container:r=fm(),timeout:n=We().asyncUtilTimeout,showOriginalStackTrace:a=We().showOriginalStackTrace,stackTraceError:o,interval:s=50,onTimeout:i=u=>(Object.defineProperty(u,"message",{value:We().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,p,f,h=!1,m="idle";const w=setTimeout(S,n),E=Yd();if(E){const{unstable_advanceTimersWrapper:O}=We();for(R();!h;){if(!Yd()){const N=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||Zi(N,o),c(N);return}if(await O(async()=>{jest.advanceTimersByTime(s)}),R(),h)break}}else{try{fn(r)}catch(N){c(N);return}p=setInterval(T,s);const{MutationObserver:O}=TS(r);f=new O(T),f.observe(r,l),R()}function y(O,N){h=!0,clearTimeout(w),E||(clearInterval(p),f.disconnect()),O?c(O):u(N)}function T(){if(Yd()){const O=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||Zi(O,o),c(O)}else return R()}function R(){if(m!=="pending")try{const O=hG(e);typeof(O==null?void 0:O.then)=="function"?(m="pending",O.then(N=>{m="resolved",y(null,N)},N=>{m="rejected",d=N})):y(null,O)}catch(O){d=O}}function S(){let O;d?(O=d,!a&&O.name==="TestingLibraryElementError"&&Zi(O,o)):(O=new Error("Timed out in waitFor."),a||Zi(O,o)),y(i(O),null)}})}function kG(e,t){const r=new Error("STACK_TRACE_MESSAGE");return We().asyncWrapper(()=>$G(e,{stackTraceError:r,...t}))}function IS(e,t){return We().getElementError(e,t)}function LG(e,t){return IS(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Uc(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:s,normalizer:i}=n===void 0?{}:n;const l=a?ln:ho,u=Pa({collapseWhitespace:o,trim:s,normalizer:i});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>l(c.getAttribute(e),c,r,u))}function qs(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 s=e(r,...a);if(s.length>1){const i=s.map(l=>IS(null,l).message).join(`
157
157
 
158
- `);throw xG(t(r,...a)+`
158
+ `);throw LG(t(r,...a)+`
159
159
 
160
160
  Here are the matching elements:
161
161
 
162
- `+i,r)}return s[0]||null}}function wS(e,t){return Be().getElementError(`A better query is available, try this:
162
+ `+i,r)}return s[0]||null}}function NS(e,t){return We().getElementError(`A better query is available, try this:
163
163
  `+e.toString()+`
164
- `,t)}function PG(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 s=e(r,...a);if(!s.length)throw Be().getElementError(t(r,...a),r);return s}}function Ts(e){return(t,r,n,a)=>OG(()=>e(t,r,n),{container:t,...a})}const pa=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];const i=e(n,...o),[{suggest:l=Be().throwSuggestions}={}]=o.slice(-1);if(i&&l){const u=eh(i,r);if(u&&!t.endsWith(u.queryName))throw wS(u.toString(),n)}return i},Lt=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];const i=e(n,...o),[{suggest:l=Be().throwSuggestions}={}]=o.slice(-1);if(i.length&&l){const u=[...new Set(i.map(c=>{var d;return(d=eh(c,r))==null?void 0:d.toString()}))];if(u.length===1&&!t.endsWith(eh(i[0],r).queryName))throw wS(u[0],n)}return i};function qn(e,t,r){const n=pa(ws(e,t),e.name,"query"),a=PG(e,r),o=ws(a,t),s=pa(o,e.name,"get"),i=Lt(a,e.name.replace("query","get"),"getAll"),l=Ts(Lt(a,e.name,"findAll")),u=Ts(pa(o,e.name,"find"));return[n,i,s,l,u]}function AG(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Zp(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const IG=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:s}=r===void 0?{}:r;const i=n?Or:Pa,l=Bn({collapseWhitespace:o,trim:a,normalizer:s});return AG(e).filter(c=>{let{node:d,textToMatch:p}=c;return i(p,d,t,l)}).map(c=>{let{node:d}=c;return d})},Bo=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:s,normalizer:i}=r===void 0?{}:r;Pr(e);const l=a?Or:Pa,u=Bn({collapseWhitespace:o,trim:s,normalizer:i}),c=Array.from(e.querySelectorAll("*")).filter(d=>mS(d).length||d.hasAttribute("aria-labelledby")).reduce((d,p)=>{const f=yS(e,p,{selector:n});f.filter(m=>!!m.formControl).forEach(m=>{l(m.content,m.formControl,t,u)&&m.formControl&&d.push(m.formControl)});const h=f.filter(m=>!!m.content).map(m=>m.content);return l(h.join(" "),p,t,u)&&d.push(p),h.length>1&&h.forEach((m,_)=>{l(m,p,t,u)&&d.push(p);const b=[...h];b.splice(_,1),b.length>1&&l(b.join(" "),p,t,u)&&d.push(p)}),d},[]).concat(Sc("aria-label",e,t,{exact:a,normalizer:u}));return Array.from(new Set(c)).filter(d=>d.matches(n))},An=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=Bo(e,t,...n);if(!o.length){const s=IG(e,t,...n);if(s.length){const i=s.map(l=>NG(e,l)).filter(l=>!!l);throw i.length?Be().getElementError(i.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(`
164
+ `,t)}function BG(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 s=e(r,...a);if(!s.length)throw We().getElementError(t(r,...a),r);return s}}function Fs(e){return(t,r,n,a)=>kG(()=>e(t,r,n),{container:t,...a})}const Ja=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];const i=e(n,...o),[{suggest:l=We().throwSuggestions}={}]=o.slice(-1);if(i&&l){const u=ih(i,r);if(u&&!t.endsWith(u.queryName))throw NS(u.toString(),n)}return i},ar=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];const i=e(n,...o),[{suggest:l=We().throwSuggestions}={}]=o.slice(-1);if(i.length&&l){const u=[...new Set(i.map(c=>{var d;return(d=ih(c,r))==null?void 0:d.toString()}))];if(u.length===1&&!t.endsWith(ih(i[0],r).queryName))throw NS(u[0],n)}return i};function Aa(e,t,r){const n=Ja(qs(e,t),e.name,"query"),a=BG(e,r),o=qs(a,t),s=Ja(o,e.name,"get"),i=ar(a,e.name.replace("query","get"),"getAll"),l=Fs(ar(a,e.name,"findAll")),u=Fs(Ja(o,e.name,"find"));return[n,i,s,l,u]}function DG(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:oh(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const qG=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:s}=r===void 0?{}:r;const i=n?ln:ho,l=Pa({collapseWhitespace:o,trim:a,normalizer:s});return DG(e).filter(c=>{let{node:d,textToMatch:p}=c;return i(p,d,t,l)}).map(c=>{let{node:d}=c;return d})},ci=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:s,normalizer:i}=r===void 0?{}:r;fn(e);const l=a?ln:ho,u=Pa({collapseWhitespace:o,trim:s,normalizer:i}),c=Array.from(e.querySelectorAll("*")).filter(d=>RS(d).length||d.hasAttribute("aria-labelledby")).reduce((d,p)=>{const f=CS(e,p,{selector:n});f.filter(m=>!!m.formControl).forEach(m=>{l(m.content,m.formControl,t,u)&&m.formControl&&d.push(m.formControl)});const h=f.filter(m=>!!m.content).map(m=>m.content);return l(h.join(" "),p,t,u)&&d.push(p),h.length>1&&h.forEach((m,w)=>{l(m,p,t,u)&&d.push(p);const E=[...h];E.splice(w,1),E.length>1&&l(E.join(" "),p,t,u)&&d.push(p)}),d},[]).concat(Uc("aria-label",e,t,{exact:a,normalizer:u}));return Array.from(new Set(c)).filter(d=>d.matches(n))},_a=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=ci(e,t,...n);if(!o.length){const s=qG(e,t,...n);if(s.length){const i=s.map(l=>FG(e,l)).filter(l=>!!l);throw i.length?We().getElementError(i.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(`
165
165
 
166
- `),e):Be().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 Be().getElementError("Unable to find a label with the text of: "+t,e)}return o};function NG(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const TS=(e,t)=>"Found multiple elements with the text of: "+t,MG=pa(ws(Bo,TS),Bo.name,"query"),SS=ws(An,TS),$G=Ts(Lt(An,An.name,"findAll")),kG=Ts(pa(SS,An.name,"find")),LG=Lt(An,An.name,"getAll"),BG=pa(SS,An.name,"get"),qG=Lt(Bo,Bo.name,"queryAll"),th=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Pr(t[0]),Sc("placeholder",...t)},DG=(e,t)=>"Found multiple elements with the placeholder text of: "+t,FG=(e,t)=>"Unable to find an element with the placeholder text of: "+t,jG=Lt(th,th.name,"queryAll"),[UG,HG,GG,WG,VG]=qn(th,DG,FG),rh=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:s,ignore:i=Be().defaultIgnore,normalizer:l}=r===void 0?{}:r;Pr(e);const u=a?Or:Pa,c=Bn({collapseWhitespace:o,trim:s,normalizer:l});let d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(p=>!i||!p.matches(i)).filter(p=>u(Tc(p),p,t,c))},zG=(e,t)=>"Found multiple elements with the text: "+t,YG=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:a,normalizer:o,selector:s}=r,l=Bn({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=l!==t.toString(),c=(s??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+s+"'":"")+". 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."},KG=Lt(rh,rh.name,"queryAll"),[XG,QG,JG,ZG,e6]=qn(rh,zG,YG),nh=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:s}=r===void 0?{}:r;Pr(e);const i=n?Or:Pa,l=Bn({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(d=>d.selected).some(d=>i(Tc(d),d,t,l)):i(u.value,u,t,l))},t6=(e,t)=>"Found multiple elements with the display value: "+t+".",r6=(e,t)=>"Unable to find an element with the display value: "+t+".",n6=Lt(nh,nh.name,"queryAll"),[a6,o6,i6,s6,l6]=qn(nh,t6,r6),u6=/^(img|input|area|.+-.+)$/i,ah=function(e,t,r){return r===void 0&&(r={}),Pr(e),Sc("alt",e,t,r).filter(n=>u6.test(n.tagName))},c6=(e,t)=>"Found multiple elements with the alt text: "+t,f6=(e,t)=>"Unable to find an element with the alt text: "+t,d6=Lt(ah,ah.name,"queryAll"),[p6,h6,m6,y6,v6]=qn(ah,c6,f6),g6=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},oh=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:s}=r===void 0?{}:r;Pr(e);const i=n?Or:Pa,l=Bn({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>i(u.getAttribute("title"),u,t,l)||g6(u)&&i(Tc(u),u,t,l))},b6=(e,t)=>"Found multiple elements with the title: "+t+".",E6=(e,t)=>"Unable to find an element with the title: "+t+".",_6=Lt(oh,oh.name,"queryAll"),[w6,T6,S6,R6,C6]=qn(oh,b6,E6),ih=function(e,t,r){let{hidden:n=Be().defaultHidden,name:a,description:o,queryFallbacks:s=!1,selected:i,busy:l,checked:u,pressed:c,current:d,level:p,expanded:f,value:{now:h,min:m,max:_,text:b}={}}=r===void 0?{}:r;if(Pr(e),i!==void 0){var v;if(((v=Yt.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var w;if(((w=Yt.get(t))==null?void 0:w.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var S;if(((S=Yt.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 T;if(((T=Yt.get(t))==null?void 0:T.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var C;if(((C=Yt.get(t))==null?void 0:C.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(p!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(h!==void 0){var I;if(((I=Yt.get(t))==null?void 0:I.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(_!==void 0){var N;if(((N=Yt.get(t))==null?void 0:N.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(m!==void 0){var U;if(((U=Yt.get(t))==null?void 0:U.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var G;if(((G=Yt.get(t))==null?void 0:G.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var W;if(((W=Yt.get(t))==null?void 0:W.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const j=new WeakMap;function D(Q){return j.has(Q)||j.set(Q,ES(Q)),j.get(Q)}return Array.from(e.querySelectorAll(O6(t))).filter(Q=>{if(Q.hasAttribute("role")){const V=Q.getAttribute("role");if(s)return V.split(" ").filter(Boolean).some(ve=>ve===t);const[ee]=V.split(" ");return ee===t}return sm(Q).some(V=>V===t)}).filter(Q=>{if(i!==void 0)return i===hG(Q);if(l!==void 0)return l===mG(Q);if(u!==void 0)return u===yG(Q);if(c!==void 0)return c===vG(Q);if(d!==void 0)return d===gG(Q);if(f!==void 0)return f===bG(Q);if(p!==void 0)return p===EG(Q);if(h!==void 0||_!==void 0||m!==void 0||b!==void 0){let $=!0;if(h!==void 0&&$&&($=h===_G(Q)),_!==void 0&&$&&($=_===wG(Q)),m!==void 0&&$&&($=m===TG(Q)),b!==void 0){var J;$&&($=Or((J=SG(Q))!=null?J:null,Q,b,V=>V))}return $}return!0}).filter(Q=>a===void 0?!0:Or(Wh(Q,{computedStyleSupportsPseudoElements:Be().computedStyleSupportsPseudoElements}),Q,a,J=>J)).filter(Q=>o===void 0?!0:Or(sT(Q,{computedStyleSupportsPseudoElements:Be().computedStyleSupportsPseudoElements}),Q,o,J=>J)).filter(Q=>n===!1?im(Q,{isSubtreeInaccessible:D})===!1:!0)};function O6(e){var t;const r='*[role~="'+e+'"]',n=(t=oS.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:s}=o;return s}));return[r].concat(Array.from(a)).join(",")}const RS=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},x6=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+RS(n)},P6=function(e,t,r){let{hidden:n=Be().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(Be()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+RS(a);let s="";Array.from(e.children).forEach(c=>{s+=pG(c,{hidden:n,includeDescription:o!==void 0})});let i;s.length===0?n===!1?i="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":i="There are no available roles.":i=(`
166
+ `),e):We().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 We().getElementError("Unable to find a label with the text of: "+t,e)}return o};function FG(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const MS=(e,t)=>"Found multiple elements with the text of: "+t,jG=Ja(qs(ci,MS),ci.name,"query"),$S=qs(_a,MS),UG=Fs(ar(_a,_a.name,"findAll")),HG=Fs(Ja($S,_a.name,"find")),GG=ar(_a,_a.name,"getAll"),WG=Ja($S,_a.name,"get"),VG=ar(ci,ci.name,"queryAll"),sh=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return fn(t[0]),Uc("placeholder",...t)},zG=(e,t)=>"Found multiple elements with the placeholder text of: "+t,YG=(e,t)=>"Unable to find an element with the placeholder text of: "+t,KG=ar(sh,sh.name,"queryAll"),[XG,QG,JG,ZG,e6]=Aa(sh,zG,YG),lh=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:s,ignore:i=We().defaultIgnore,normalizer:l}=r===void 0?{}:r;fn(e);const u=a?ln:ho,c=Pa({collapseWhitespace:o,trim:s,normalizer:l});let d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(p=>!i||!p.matches(i)).filter(p=>u(jc(p),p,t,c))},t6=(e,t)=>"Found multiple elements with the text: "+t,r6=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:a,normalizer:o,selector:s}=r,l=Pa({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=l!==t.toString(),c=(s??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+s+"'":"")+". 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."},n6=ar(lh,lh.name,"queryAll"),[a6,o6,i6,s6,l6]=Aa(lh,t6,r6),uh=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:s}=r===void 0?{}:r;fn(e);const i=n?ln:ho,l=Pa({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(d=>d.selected).some(d=>i(jc(d),d,t,l)):i(u.value,u,t,l))},u6=(e,t)=>"Found multiple elements with the display value: "+t+".",c6=(e,t)=>"Unable to find an element with the display value: "+t+".",f6=ar(uh,uh.name,"queryAll"),[d6,p6,h6,m6,y6]=Aa(uh,u6,c6),v6=/^(img|input|area|.+-.+)$/i,ch=function(e,t,r){return r===void 0&&(r={}),fn(e),Uc("alt",e,t,r).filter(n=>v6.test(n.tagName))},g6=(e,t)=>"Found multiple elements with the alt text: "+t,b6=(e,t)=>"Unable to find an element with the alt text: "+t,E6=ar(ch,ch.name,"queryAll"),[_6,w6,T6,S6,R6]=Aa(ch,g6,b6),C6=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},fh=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:s}=r===void 0?{}:r;fn(e);const i=n?ln:ho,l=Pa({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>i(u.getAttribute("title"),u,t,l)||C6(u)&&i(jc(u),u,t,l))},x6=(e,t)=>"Found multiple elements with the title: "+t+".",O6=(e,t)=>"Unable to find an element with the title: "+t+".",P6=ar(fh,fh.name,"queryAll"),[A6,I6,N6,M6,$6]=Aa(fh,x6,O6),dh=function(e,t,r){let{hidden:n=We().defaultHidden,name:a,description:o,queryFallbacks:s=!1,selected:i,busy:l,checked:u,pressed:c,current:d,level:p,expanded:f,value:{now:h,min:m,max:w,text:E}={}}=r===void 0?{}:r;if(fn(e),i!==void 0){var y;if(((y=vr.get(t))==null?void 0:y.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var T;if(((T=vr.get(t))==null?void 0:T.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var R;if(((R=vr.get(t))==null?void 0:R.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var S;if(((S=vr.get(t))==null?void 0:S.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var O;if(((O=vr.get(t))==null?void 0:O.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(p!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(h!==void 0){var N;if(((N=vr.get(t))==null?void 0:N.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(w!==void 0){var M;if(((M=vr.get(t))==null?void 0:M.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(m!==void 0){var H;if(((H=vr.get(t))==null?void 0:H.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(E!==void 0){var G;if(((G=vr.get(t))==null?void 0:G.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var W;if(((W=vr.get(t))==null?void 0:W.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const U=new WeakMap;function j(Z){return U.has(Z)||U.set(Z,AS(Z)),U.get(Z)}return Array.from(e.querySelectorAll(k6(t))).filter(Z=>{if(Z.hasAttribute("role")){const K=Z.getAttribute("role");if(s)return K.split(" ").filter(Boolean).some(ge=>ge===t);const[re]=K.split(" ");return re===t}return pm(Z).some(K=>K===t)}).filter(Z=>{if(i!==void 0)return i===wG(Z);if(l!==void 0)return l===TG(Z);if(u!==void 0)return u===SG(Z);if(c!==void 0)return c===RG(Z);if(d!==void 0)return d===CG(Z);if(f!==void 0)return f===xG(Z);if(p!==void 0)return p===OG(Z);if(h!==void 0||w!==void 0||m!==void 0||E!==void 0){let L=!0;if(h!==void 0&&L&&(L=h===PG(Z)),w!==void 0&&L&&(L=w===AG(Z)),m!==void 0&&L&&(L=m===IG(Z)),E!==void 0){var ee;L&&(L=ln((ee=NG(Z))!=null?ee:null,Z,E,K=>K))}return L}return!0}).filter(Z=>a===void 0?!0:ln(Qh(Z,{computedStyleSupportsPseudoElements:We().computedStyleSupportsPseudoElements}),Z,a,ee=>ee)).filter(Z=>o===void 0?!0:ln(vT(Z,{computedStyleSupportsPseudoElements:We().computedStyleSupportsPseudoElements}),Z,o,ee=>ee)).filter(Z=>n===!1?dm(Z,{isSubtreeInaccessible:j})===!1:!0)};function k6(e){var t;const r='*[role~="'+e+'"]',n=(t=mS.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:s}=o;return s}));return[r].concat(Array.from(a)).join(",")}const kS=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},L6=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+kS(n)},B6=function(e,t,r){let{hidden:n=We().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(We()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+kS(a);let s="";Array.from(e.children).forEach(c=>{s+=_G(c,{hidden:n,includeDescription:o!==void 0})});let i;s.length===0?n===!1?i="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":i="There are no available roles.":i=(`
167
167
  Here are the `+(n===!1?"accessible":"available")+` roles:
168
168
 
169
169
  `+s.replace(/\n/g,`
@@ -173,22 +173,22 @@ Here are the `+(n===!1?"accessible":"available")+` roles:
173
173
  `).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+"`",(`
174
174
  Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+u+`
175
175
 
176
- `+i).trim()},A6=Lt(ih,ih.name,"queryAll"),[I6,N6,M6,$6,k6]=qn(ih,x6,P6),lm=()=>Be().testIdAttribute,sh=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Pr(t[0]),Sc(lm(),...t)},L6=(e,t)=>"Found multiple elements by: ["+lm()+'="'+t+'"]',B6=(e,t)=>"Unable to find an element by: ["+lm()+'="'+t+'"]',q6=Lt(sh,sh.name,"queryAll"),[D6,F6,j6,U6,H6]=qn(sh,L6,B6);var lh=Object.freeze({__proto__:null,queryAllByLabelText:qG,queryByLabelText:MG,getAllByLabelText:LG,getByLabelText:BG,findAllByLabelText:$G,findByLabelText:kG,queryByPlaceholderText:UG,queryAllByPlaceholderText:jG,getByPlaceholderText:GG,getAllByPlaceholderText:HG,findAllByPlaceholderText:WG,findByPlaceholderText:VG,queryByText:XG,queryAllByText:KG,getByText:JG,getAllByText:QG,findAllByText:ZG,findByText:e6,queryByDisplayValue:a6,queryAllByDisplayValue:n6,getByDisplayValue:i6,getAllByDisplayValue:o6,findAllByDisplayValue:s6,findByDisplayValue:l6,queryByAltText:p6,queryAllByAltText:d6,getByAltText:m6,getAllByAltText:h6,findAllByAltText:y6,findByAltText:v6,queryByTitle:w6,queryAllByTitle:_6,getByTitle:S6,getAllByTitle:T6,findAllByTitle:R6,findByTitle:C6,queryByRole:I6,queryAllByRole:A6,getAllByRole:N6,getByRole:M6,findAllByRole:$6,findByRole:k6,queryByTestId:D6,queryAllByTestId:q6,getByTestId:j6,getAllByTestId:F6,findAllByTestId:U6,findByTestId:H6});function G6(e,t,r){return t===void 0&&(t=lh),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{const o=t[a];return n[a]=o.bind(null,e),n},r)}const Qb={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}}},Jb={doubleClick:"dblClick"};function qo(e,t){return Be().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 Hd(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 s={...o,...r},{target:{value:i,files:l,...u}={}}=s;i!==void 0&&W6(t,i),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,u);const c=pS(t),d=c[a]||c.Event;let p;if(typeof d=="function")p=new d(e,s);else{p=c.document.createEvent(a);const{bubbles:h,cancelable:m,detail:_,...b}=s;p.initEvent(e,h,m,_),Object.keys(b).forEach(v=>{p[v]=b[v]})}return["dataTransfer","clipboardData"].forEach(h=>{const m=s[h];typeof m=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(p,h,{value:Object.getOwnPropertyNames(m).reduce((_,b)=>(Object.defineProperty(_,b,{value:m[b]}),_),new c.DataTransfer)}):Object.defineProperty(p,h,{value:m}))}),p}Object.keys(Qb).forEach(e=>{const{EventType:t,defaultInit:r}=Qb[e],n=e.toLowerCase();Hd[e]=(a,o)=>Hd(n,a,o,{EventType:t,defaultInit:r}),qo[e]=(a,o)=>qo(a,Hd[e](a,o))});function W6(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(Jb).forEach(e=>{const t=Jb[e];qo[e]=function(){return qo[t](...arguments)}});function V6(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
177
- `)}function z6(e){return F4.compressToEncodedURIComponent(V6(e))}function Y6(e){return"https://testing-playground.com/#markup="+z6(e)}const K6=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Yb(n,t,r)):Yb(e,t,r),X6=function(e){if(e===void 0&&(e=om().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=Y6(e.innerHTML);return console.log(`Open this URL in your browser
176
+ `+i).trim()},D6=ar(dh,dh.name,"queryAll"),[q6,F6,j6,U6,H6]=Aa(dh,L6,B6),hm=()=>We().testIdAttribute,ph=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return fn(t[0]),Uc(hm(),...t)},G6=(e,t)=>"Found multiple elements by: ["+hm()+'="'+t+'"]',W6=(e,t)=>"Unable to find an element by: ["+hm()+'="'+t+'"]',V6=ar(ph,ph.name,"queryAll"),[z6,Y6,K6,X6,Q6]=Aa(ph,G6,W6);var hh=Object.freeze({__proto__:null,queryAllByLabelText:VG,queryByLabelText:jG,getAllByLabelText:GG,getByLabelText:WG,findAllByLabelText:UG,findByLabelText:HG,queryByPlaceholderText:XG,queryAllByPlaceholderText:KG,getByPlaceholderText:JG,getAllByPlaceholderText:QG,findAllByPlaceholderText:ZG,findByPlaceholderText:e6,queryByText:a6,queryAllByText:n6,getByText:i6,getAllByText:o6,findAllByText:s6,findByText:l6,queryByDisplayValue:d6,queryAllByDisplayValue:f6,getByDisplayValue:h6,getAllByDisplayValue:p6,findAllByDisplayValue:m6,findByDisplayValue:y6,queryByAltText:_6,queryAllByAltText:E6,getByAltText:T6,getAllByAltText:w6,findAllByAltText:S6,findByAltText:R6,queryByTitle:A6,queryAllByTitle:P6,getByTitle:N6,getAllByTitle:I6,findAllByTitle:M6,findByTitle:$6,queryByRole:q6,queryAllByRole:D6,getAllByRole:F6,getByRole:j6,findAllByRole:U6,findByRole:H6,queryByTestId:z6,queryAllByTestId:V6,getByTestId:K6,getAllByTestId:Y6,findAllByTestId:X6,findByTestId:Q6});function J6(e,t,r){return t===void 0&&(t=hh),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{const o=t[a];return n[a]=o.bind(null,e),n},r)}const oE={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}}},iE={doubleClick:"dblClick"};function fi(e,t){return We().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 Kd(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 s={...o,...r},{target:{value:i,files:l,...u}={}}=s;i!==void 0&&Z6(t,i),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,u);const c=TS(t),d=c[a]||c.Event;let p;if(typeof d=="function")p=new d(e,s);else{p=c.document.createEvent(a);const{bubbles:h,cancelable:m,detail:w,...E}=s;p.initEvent(e,h,m,w),Object.keys(E).forEach(y=>{p[y]=E[y]})}return["dataTransfer","clipboardData"].forEach(h=>{const m=s[h];typeof m=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(p,h,{value:Object.getOwnPropertyNames(m).reduce((w,E)=>(Object.defineProperty(w,E,{value:m[E]}),w),new c.DataTransfer)}):Object.defineProperty(p,h,{value:m}))}),p}Object.keys(oE).forEach(e=>{const{EventType:t,defaultInit:r}=oE[e],n=e.toLowerCase();Kd[e]=(a,o)=>Kd(n,a,o,{EventType:t,defaultInit:r}),fi[e]=(a,o)=>fi(a,Kd[e](a,o))});function Z6(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(iE).forEach(e=>{const t=iE[e];fi[e]=function(){return fi[t](...arguments)}});function eW(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
177
+ `)}function tW(e){return Y4.compressToEncodedURIComponent(eW(e))}function rW(e){return"https://testing-playground.com/#markup="+tW(e)}const nW=(e,t,r)=>Array.isArray(e)?e.forEach(n=>rE(n,t,r)):rE(e,t,r),aW=function(e){if(e===void 0&&(e=fm().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=rW(e.innerHTML);return console.log(`Open this URL in your browser
178
178
 
179
- `+t),t},Zb={debug:K6,logTestingPlaygroundURL:X6};typeof document<"u"&&document.body?G6(document.body,lh,Zb):Object.keys(lh).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),Zb);const Q6=_N.act;function CS(){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 Sr(e){CS().IS_REACT_ACT_ENVIRONMENT=e}function Ss(){return CS().IS_REACT_ACT_ENVIRONMENT}function J6(e){return t=>{const r=Ss();Sr(!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:(s,i)=>{o.then(l=>{Sr(r),s(l)},l=>{Sr(r),i(l)})}}}else return Sr(r),a}catch(n){throw Sr(r),n}}}const uh=J6(Q6);Object.keys(qo).forEach(e=>{});function Z6(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}sG({unstable_advanceTimersWrapper:e=>uh(e),asyncWrapper:async e=>{const t=Ss();Sr(!1);try{const r=await e();return await new Promise(n=>{setTimeout(()=>{n()},0),Z6()&&jest.advanceTimersByTime(0)}),r}finally{Sr(t)}},eventWrapper:e=>{let t;return uh(()=>{t=e()}),t}});const eW=new Set,eE=[];function tE(){eE.forEach(e=>{let{root:t,container:r}=e;uh(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),eE.length=0,eW.clear()}var OE;if((typeof process>"u"||!((OE=process.env)!=null&&OE.RTL_SKIP_AUTO_CLEANUP))&&(typeof afterEach=="function"?afterEach(()=>{tE()}):typeof teardown=="function"&&teardown(()=>{tE()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let e=Ss();beforeAll(()=>{e=Ss(),Sr(!0)}),afterAll(()=>{Sr(e)})}var rE;(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"})(rE||(rE={}));var Dn={};Object.defineProperty(Dn,"__esModule",{value:!0});Dn.TEXT_NODE=void 0;Dn.checkContainerType=oW;Dn.getDocument=nW;Dn.getWindowFromNode=aW;Dn.jestFakeTimersAreEnabled=rW;const tW=3;Dn.TEXT_NODE=tW;function rW(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function nW(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function aW(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 oW(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 um=Symbol("Manage ClipboardSub");function OS(e){var t;return!!(!((t=e)===null||t===void 0)&&t[um])}function iW(e){OS(e.navigator.clipboard)&&e.navigator.clipboard[um].resetClipboardStub()}function sW(e){OS(e.navigator.clipboard)&&e.navigator.clipboard[um].detachClipboardStub()}typeof globalThis.afterEach=="function"&&globalThis.afterEach(()=>iW(globalThis.window));typeof globalThis.afterAll=="function"&&globalThis.afterAll(()=>sW(globalThis.window));var nE;(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"})(nE||(nE={}));var aE;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(aE||(aE={}));var oE;(function(e){e["{"]="}",e["["]="]"})(oE||(oE={}));var iE;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(iE||(iE={}));var ch;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(ch||(ch={}));var Do={};Object.defineProperty(Do,"__esModule",{value:!0});var xS=Do.eventMap=Do.eventAliasMap=void 0;const lW={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}}};xS=Do.eventMap=lW;const uW={doubleClick:"dblClick"};Do.eventAliasMap=uW;const cW={...xS,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(cW).map(e=>[e.toLowerCase(),e]));var kt;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(kt||(kt={}));const fW=[..."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:kt.LEFT},{code:"AltRight",key:"Alt",location:kt.RIGHT},{code:"ShiftLeft",key:"Shift",location:kt.LEFT},{code:"ShiftRight",key:"Shift",location:kt.RIGHT},{code:"ControlLeft",key:"Control",location:kt.LEFT},{code:"ControlRight",key:"Control",location:kt.RIGHT},{code:"MetaLeft",key:"Meta",location:kt.LEFT},{code:"MetaRight",key:"Meta",location:kt.RIGHT},{code:"OSLeft",key:"OS",location:kt.LEFT},{code:"OSRight",key:"OS",location:kt.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"}],dW=[{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,ch.EachApiCall;const pW=e=>e.replace(/\s+/g,"").length>0,Zt=({variant:e="primary",size:t="medium",styling:r={muted:!1,fullWidth:!1},icon:n=!1,href:a=!1,element:o="button",onClick:s=!1,className:i="",disabled:l=!1,screenreaderText:u=!1,children:c=!1,...d})=>{const f=Ms(typeof t=="object");if(typeof t=="object"&&typeof f=="number"){const _=Object.assign({},t),b=D0(Object.keys(_));t=F0(f,b,_)}const h=[];typeof t=="string"&&h.push(t),n&&(h.push("icon"),typeof n=="object"?(h.push(n.icon),n.position?h.push(n.position):h.push("left"),n.hover&&h.push(`hover_${n.hover}`),n.animate&&(h.push("animate"),typeof n.animate=="string"&&h.push(n.animate))):(h.push(n),!n.includes("right")&&!n.includes("left")&&h.push("left"))),r.muted&&h.push("muted"),r.fullWidth&&h.push("full-width");const m={...d,className:_e(e,i,h,{"no-text":!c,disabled:l,button:a}),onClick:_=>{(!a||a[0]==="#")&&s&&(_.preventDefault(),_.stopPropagation()),s&&s(_)},disabled:typeof l=="object"&&"isClickable"in l?!l.isClickable:l};return a&&(o="a",m.href=a),Z.createElement(o,m,c||(u?A.jsx(Pt,{showOnFocus:!1,children:u}):null))},Rc=({buttons:e,className:t="",...r})=>{const n=e.length>1?"ul":"p",a=e.map((o,s)=>n==="p"?A.jsx(Zt,{...o},s):A.jsx("li",{children:A.jsx(Zt,{...o})},s));return Z.createElement(n,{className:_e("button-wrapper",t),...r},a)},PS=({href:e,children:t,className:r="",onClick:n=()=>{},gtmContext:a,gtmType:o,...s})=>e?A.jsx("a",{href:e,className:_e("gtm-trackable",r),onClick:n,"data-gtm-event-context":a,"data-gtm-event-type":o,...s,children:t}):t,sE={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"}},hW=({aspect:e,range:t,sizes:r})=>{const{range:n,sizes:a}=e?sE[e]:sE.fallback;return{range:t&&t.length>0?t:n,sizes:r||a}},mW=({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},Gd=({format:e,range:t,url:r,query:n})=>t.map(({height:a,width:o})=>`${r}?${mW({format:e,height:a,query:n,width:o})} ${o}w`).join(", ");const AS=({image:e,className:t,testId:r})=>{const{description:n,height:a,type:o,query:s,url:i,width:l,loading:u,decoding:c,fetchPriority:d}=e,{range:p,sizes:f}=hW(e),h=Gd({format:"avif",query:s,range:p,url:i}),m=Gd({format:"webp",query:s,range:p,url:i}),_=Gd({format:"",query:s,range:p,url:i});return A.jsxs("picture",{className:t,children:[o!=="image/gif"&&A.jsx("source",{type:"image/avif",srcSet:h,sizes:f,"data-testid":"source"}),A.jsx("source",{type:"image/webp",srcSet:m,sizes:f,"data-testid":"source"}),A.jsx("img",{srcSet:_,sizes:f,src:i,alt:n,loading:u||"lazy",decoding:c||"async",fetchpriority:d||"auto",width:l,height:a,"data-testid":r||"image"})]})};const yW=["small","span","strong","em","p","h1","h2","h3","h4","h5","h6","blockquote","q"],vW=({content:e,image:t,variant:r="default",cta:n,children:a})=>{const o=["eyebrow","title","text"],s={eyebrow:"small",title:"h1",text:"p"},i={};return o.forEach(l=>{if(!e[l]){i[l]=!1;return}if(typeof e[l]=="object"){i[l]=e[l];const{text:u,element:c}=e[l];if(c&&yW.includes(c.toLowerCase()))return;i[l]={text:u,element:s[l]};return}i[l]={text:e[l],element:s[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"})}),A.jsxs("section",{className:_e("banner-section",r,{"has-image":t,"has-extra-spacing":i.eyebrow&&i.title}),children:[A.jsxs("div",{className:"content-wrapper",children:[o.map(l=>{if(i[l]&&typeof i[l]=="object"){const{text:u,element:c=""}=i[l];return Z.createElement(c.toLowerCase(),{key:l,className:l},u)}return null}),a,n&&n.text&&n.link&&A.jsx(Zt,{variant:t||r==="light"?"primary":"secondary",size:{mobile:"medium",768:"large"},href:n.link,...n.props,children:n.text})]}),t&&A.jsx(AS,{image:{...t,aspect:"banner"}})]})},gW=Z.memo(vW);const bW=({variant:e="primary",button:t=null,title:r,text:n,gtmContext:a})=>!r&&!n?null:A.jsxs("aside",{className:_e("marketing-block",e),children:[r&&A.jsx("p",{className:"title",children:r}),n&&A.jsx("p",{children:n}),t&&A.jsx(Zt,{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})]}),Rs="https://storage.googleapis.com/apolitical-assets/",EW="200,000+",Cc=Z.createContext(null),_W=({children:e,user:t})=>A.jsx(Cc.Provider,{value:t,children:e});function fh(){return fh=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},fh.apply(this,arguments)}function wW(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o<n.length;o++)a=n[o],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}var TW=Z.useLayoutEffect,SW=function(t){var r=Ae.useRef(t);return TW(function(){r.current=t}),r},lE=function(t,r){if(typeof t=="function"){t(r);return}t.current=r},RW=function(t,r){var n=Z.useRef();return Z.useCallback(function(a){t.current=a,n.current&&lE(n.current,null),n.current=r,r&&lE(r,a)},[r])},uE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},CW=function(t){Object.keys(uE).forEach(function(r){t.style.setProperty(r,uE[r],"important")})},cE=CW,wt=null,fE=function(t,r){var n=t.scrollHeight;return r.sizingStyle.boxSizing==="border-box"?n+r.borderSize:n-r.paddingSize};function OW(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),wt||(wt=document.createElement("textarea"),wt.setAttribute("tabindex","-1"),wt.setAttribute("aria-hidden","true"),cE(wt)),wt.parentNode===null&&document.body.appendChild(wt);var a=e.paddingSize,o=e.borderSize,s=e.sizingStyle,i=s.boxSizing;Object.keys(s).forEach(function(p){var f=p;wt.style[f]=s[f]}),cE(wt),wt.value=t;var l=fE(wt,e);wt.value=t,l=fE(wt,e),wt.value="x";var u=wt.scrollHeight-a,c=u*r;i==="border-box"&&(c=c+a+o),l=Math.max(c,l);var d=u*n;return i==="border-box"&&(d=d+a+o),l=Math.min(d,l),[l,u]}var dE=function(){},xW=function(t,r){return t.reduce(function(n,a){return n[a]=r[a],n},{})},PW=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],AW=!!document.documentElement.currentStyle,IW=function(t){var r=window.getComputedStyle(t);if(r===null)return null;var n=xW(PW,r),a=n.boxSizing;if(a==="")return null;AW&&a==="border-box"&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var o=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),s=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:o,borderSize:s}},NW=IW;function IS(e,t,r){var n=SW(r);Ae.useLayoutEffect(function(){var a=function(s){return n.current(s)};if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}var MW=function(t){IS(window,"resize",t)},$W=function(t){IS(document.fonts,"loadingdone",t)},kW=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],LW=function(t,r){var n=t.cacheMeasurements,a=t.maxRows,o=t.minRows,s=t.onChange,i=s===void 0?dE:s,l=t.onHeightChange,u=l===void 0?dE:l,c=wW(t,kW),d=c.value!==void 0,p=Ae.useRef(null),f=RW(p,r),h=Ae.useRef(0),m=Ae.useRef(),_=function(){var w=p.current,S=n&&m.current?m.current:NW(w);if(S){m.current=S;var T=OW(S,w.value||w.placeholder||"x",o,a),C=T[0],I=T[1];h.current!==C&&(h.current=C,w.style.setProperty("height",C+"px","important"),u(C,{rowHeight:I}))}},b=function(w){d||_(),i(w)};return Ae.useLayoutEffect(_),MW(_),$W(_),Ae.createElement("textarea",fh({},c,{onChange:b,ref:f}))},BW=Ae.forwardRef(LW);const dh=({element:e="p",children:t=null,className:r="",...n})=>Z.createElement(e,{...n,className:_e("alert",r),"aria-live":"assertive"},t);const qW=({label:e=!1,className:t="",children:r})=>{const n=Ze();return A.jsxs("details",{className:_e("collapsible-section",t),children:[A.jsx("summary",{children:e||n.formatMessage({id:"collapsibleSection_summary"})}),A.jsx("div",{className:"content",children:r})]})},DW=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(qW,{...t})});function Tn(){return Tn=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},Tn.apply(this,arguments)}const FW=["children","options"],pE=["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"}),hE={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},jW=["style","script"],UW=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,HW=/mailto:/i,GW=/\n{2,}$/,NS=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,WW=/^ *> ?/gm,VW=/^ {2,}\n/,zW=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,MS=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,$S=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,YW=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,KW=/^(?:\n *)*\n/,XW=/\r\n?/g,QW=/^\[\^([^\]]+)](:.*)\n/,JW=/^\[\^([^\]]+)]/,ZW=/\f/g,e8=/^\s*?\[(x|\s)\]/,kS=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,LS=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,BS=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,ph=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,t8=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,qS=/^<!--[\s\S]*?(?:-->)/,r8=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,hh=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,n8=/^\{.*\}$/,a8=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,o8=/^<([^ >]+@[^ >]+)>/,i8=/^<([^ >]+:\/[^ >]+)>/,s8=/-([a-z])?/gi,DS=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,l8=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,u8=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,c8=/^\[([^\]]*)\] ?\[([^\]]*)\]/,f8=/(\[|\])/g,d8=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,p8=/\t/g,h8=/^ *\| */,m8=/(^ *\||\| *$)/g,y8=/ *$/,v8=/^ *:-+: *$/,g8=/^ *:-+ *$/,b8=/^ *-+: *$/,E8=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,_8=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,w8=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,T8=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,S8=/^\\([^0-9A-Za-z\s])/,R8=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,C8=/^\n+/,O8=/^([ \t]*)/,x8=/\\([^\\])/g,mE=/ *\n+$/,P8=/(?:^|\n)( *)$/,cm="(?:\\d+\\.)",fm="(?:[*+-])";function FS(e){return"( *)("+(e===1?cm:fm)+") +"}const jS=FS(1),US=FS(2);function HS(e){return new RegExp("^"+(e===1?jS:US))}const A8=HS(1),I8=HS(2);function GS(e){return new RegExp("^"+(e===1?jS:US)+"[^\\n]*(?:\\n(?!\\1"+(e===1?cm:fm)+" )[^\\n]*)*(\\n|$)","gm")}const WS=GS(1),VS=GS(2);function zS(e){const t=e===1?cm:fm;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const YS=zS(1),KS=zS(2);function yE(e,t){const r=t===1,n=r?YS:KS,a=r?WS:VS,o=r?A8:I8;return{t(s,i,l){const u=P8.exec(l);return u&&(i.o||!i._&&!i.u)?n.exec(s=u[1]+s):null},i:Ce.HIGH,l(s,i,l){const u=r?+s[2]:void 0,c=s[0].replace(GW,`
180
- `).match(a);let d=!1;return{p:c.map(function(p,f){const h=o.exec(p)[0].length,m=new RegExp("^ {1,"+h+"}","gm"),_=p.replace(m,"").replace(o,""),b=f===c.length-1,v=_.indexOf(`
179
+ `+t),t},sE={debug:nW,logTestingPlaygroundURL:aW};typeof document<"u"&&document.body?J6(document.body,hh,sE):Object.keys(hh).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),sE);const oW=PN.act;function LS(){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 an(e){LS().IS_REACT_ACT_ENVIRONMENT=e}function js(){return LS().IS_REACT_ACT_ENVIRONMENT}function iW(e){return t=>{const r=js();an(!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:(s,i)=>{o.then(l=>{an(r),s(l)},l=>{an(r),i(l)})}}}else return an(r),a}catch(n){throw an(r),n}}}const mh=iW(oW);Object.keys(fi).forEach(e=>{});function sW(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}mG({unstable_advanceTimersWrapper:e=>mh(e),asyncWrapper:async e=>{const t=js();an(!1);try{const r=await e();return await new Promise(n=>{setTimeout(()=>{n()},0),sW()&&jest.advanceTimersByTime(0)}),r}finally{an(t)}},eventWrapper:e=>{let t;return mh(()=>{t=e()}),t}});const lW=new Set,lE=[];function uE(){lE.forEach(e=>{let{root:t,container:r}=e;mh(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),lE.length=0,lW.clear()}var BE;if((typeof process>"u"||!((BE=process.env)!=null&&BE.RTL_SKIP_AUTO_CLEANUP))&&(typeof afterEach=="function"?afterEach(()=>{uE()}):typeof teardown=="function"&&teardown(()=>{uE()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let e=js();beforeAll(()=>{e=js(),an(!0)}),afterAll(()=>{an(e)})}var cE;(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"})(cE||(cE={}));var Ia={};Object.defineProperty(Ia,"__esModule",{value:!0});Ia.TEXT_NODE=void 0;Ia.checkContainerType=pW;Ia.getDocument=fW;Ia.getWindowFromNode=dW;Ia.jestFakeTimersAreEnabled=cW;const uW=3;Ia.TEXT_NODE=uW;function cW(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function fW(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function dW(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 pW(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 mm=Symbol("Manage ClipboardSub");function BS(e){var t;return!!(!((t=e)===null||t===void 0)&&t[mm])}function hW(e){BS(e.navigator.clipboard)&&e.navigator.clipboard[mm].resetClipboardStub()}function mW(e){BS(e.navigator.clipboard)&&e.navigator.clipboard[mm].detachClipboardStub()}typeof globalThis.afterEach=="function"&&globalThis.afterEach(()=>hW(globalThis.window));typeof globalThis.afterAll=="function"&&globalThis.afterAll(()=>mW(globalThis.window));var fE;(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"})(fE||(fE={}));var dE;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(dE||(dE={}));var pE;(function(e){e["{"]="}",e["["]="]"})(pE||(pE={}));var hE;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(hE||(hE={}));var yh;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(yh||(yh={}));var di={};Object.defineProperty(di,"__esModule",{value:!0});var DS=di.eventMap=di.eventAliasMap=void 0;const yW={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}}};DS=di.eventMap=yW;const vW={doubleClick:"dblClick"};di.eventAliasMap=vW;const gW={...DS,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(gW).map(e=>[e.toLowerCase(),e]));var nr;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(nr||(nr={}));const bW=[..."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:nr.LEFT},{code:"AltRight",key:"Alt",location:nr.RIGHT},{code:"ShiftLeft",key:"Shift",location:nr.LEFT},{code:"ShiftRight",key:"Shift",location:nr.RIGHT},{code:"ControlLeft",key:"Control",location:nr.LEFT},{code:"ControlRight",key:"Control",location:nr.RIGHT},{code:"MetaLeft",key:"Meta",location:nr.LEFT},{code:"MetaRight",key:"Meta",location:nr.RIGHT},{code:"OSLeft",key:"OS",location:nr.LEFT},{code:"OSRight",key:"OS",location:nr.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"}],EW=[{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,yh.EachApiCall;const _W=e=>e.replace(/\s+/g,"").length>0,Qt=({variant:e="primary",size:t="medium",styling:r={muted:!1,fullWidth:!1},icon:n=!1,href:a=!1,element:o="button",onClick:s=!1,className:i="",disabled:l=!1,screenreaderText:u=!1,children:c=!1,...d})=>{const f=Qs(typeof t=="object");if(typeof t=="object"&&typeof f=="number"){const w=Object.assign({},t),E=K0(Object.keys(w));t=X0(f,E,w)}const h=[];typeof t=="string"&&h.push(t),n&&(h.push("icon"),typeof n=="object"?(h.push(n.icon),n.position?h.push(n.position):h.push("left"),n.hover&&h.push(`hover_${n.hover}`),n.animate&&(h.push("animate"),typeof n.animate=="string"&&h.push(n.animate))):(h.push(n),!n.includes("right")&&!n.includes("left")&&h.push("left"))),r.muted&&h.push("muted"),r.fullWidth&&h.push("full-width");const m={...d,className:Te(e,i,h,{"no-text":!c,disabled:l,button:a}),onClick:w=>{(!a||a[0]==="#")&&s&&(w.preventDefault(),w.stopPropagation()),s&&s(w)},disabled:typeof l=="object"&&"isClickable"in l?!l.isClickable:l};return a&&(o="a",m.href=a),Q.createElement(o,m,c||(u?A.jsx(Dt,{showOnFocus:!1,children:u}):null))},Hc=({buttons:e,className:t="",...r})=>{const n=e.length>1?"ul":"p",a=e.map((o,s)=>n==="p"?A.jsx(Qt,{...o},s):A.jsx("li",{children:A.jsx(Qt,{...o})},s));return Q.createElement(n,{className:Te("button-wrapper",t),...r},a)},qS=({href:e,children:t,className:r="",onClick:n=()=>{},gtmContext:a,gtmType:o,...s})=>e?A.jsx("a",{href:e,className:Te("gtm-trackable",r),onClick:n,"data-gtm-event-context":a,"data-gtm-event-type":o,...s,children:t}):t,mE={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"}},wW=({aspect:e,range:t,sizes:r})=>{const{range:n,sizes:a}=e?mE[e]:mE.fallback;return{range:t&&t.length>0?t:n,sizes:r||a}},TW=({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},Xd=({format:e,range:t,url:r,query:n})=>t.map(({height:a,width:o})=>`${r}?${TW({format:e,height:a,query:n,width:o})} ${o}w`).join(", ");const FS=({image:e,className:t,testId:r})=>{const{description:n,height:a,type:o,query:s,url:i,width:l,loading:u,decoding:c,fetchPriority:d}=e,{range:p,sizes:f}=wW(e),h=Xd({format:"avif",query:s,range:p,url:i}),m=Xd({format:"webp",query:s,range:p,url:i}),w=Xd({format:"",query:s,range:p,url:i});return A.jsxs("picture",{className:t,children:[o!=="image/gif"&&A.jsx("source",{type:"image/avif",srcSet:h,sizes:f,"data-testid":"source"}),A.jsx("source",{type:"image/webp",srcSet:m,sizes:f,"data-testid":"source"}),A.jsx("img",{srcSet:w,sizes:f,src:i,alt:n,loading:u||"lazy",decoding:c||"async",fetchpriority:d||"auto",width:l,height:a,"data-testid":r||"image"})]})};const SW=["small","span","strong","em","p","h1","h2","h3","h4","h5","h6","blockquote","q"],RW=({content:e,image:t,variant:r="default",cta:n,children:a})=>{const o=["eyebrow","title","text"],s={eyebrow:"small",title:"h1",text:"p"},i={};return o.forEach(l=>{if(!e[l]){i[l]=!1;return}if(typeof e[l]=="object"){i[l]=e[l];const{text:u,element:c}=e[l];if(c&&SW.includes(c.toLowerCase()))return;i[l]={text:u,element:s[l]};return}i[l]={text:e[l],element:s[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"})}),A.jsxs("section",{className:Te("banner-section",r,{"has-image":t,"has-extra-spacing":i.eyebrow&&i.title}),children:[A.jsxs("div",{className:"content-wrapper",children:[o.map(l=>{if(i[l]&&typeof i[l]=="object"){const{text:u,element:c=""}=i[l];return Q.createElement(c.toLowerCase(),{key:l,className:l},u)}return null}),a,n&&n.text&&n.link&&A.jsx(Qt,{variant:t||r==="light"?"primary":"secondary",size:{mobile:"medium",768:"large"},href:n.link,...n.props,children:n.text})]}),t&&A.jsx(FS,{image:{...t,aspect:"banner"}})]})},CW=Q.memo(RW);const xW=({variant:e="primary",button:t=null,title:r,text:n,gtmContext:a})=>!r&&!n?null:A.jsxs("aside",{className:Te("marketing-block",e),children:[r&&A.jsx("p",{className:"title",children:r}),n&&A.jsx("p",{children:n}),t&&A.jsx(Qt,{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})]}),Us="https://storage.googleapis.com/apolitical-assets/",OW="200,000+",Si=Q.createContext(null),PW=({children:e,user:t})=>A.jsx(Si.Provider,{value:t,children:e}),AW={showThread:!1,showForm:!1},ym=Q.createContext(AW),IW=({children:e})=>{const[t,r]=Q.useState({showThread:!1,showForm:!1});return A.jsx(ym.Provider,{value:{...t,updateConversation:r},children:e})};function vh(){return vh=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},vh.apply(this,arguments)}function NW(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o<n.length;o++)a=n[o],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}var MW=Q.useLayoutEffect,$W=function(t){var r=Be.useRef(t);return MW(function(){r.current=t}),r},yE=function(t,r){if(typeof t=="function"){t(r);return}t.current=r},kW=function(t,r){var n=Q.useRef();return Q.useCallback(function(a){t.current=a,n.current&&yE(n.current,null),n.current=r,r&&yE(r,a)},[r])},vE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},LW=function(t){Object.keys(vE).forEach(function(r){t.style.setProperty(r,vE[r],"important")})},gE=LW,Lt=null,bE=function(t,r){var n=t.scrollHeight;return r.sizingStyle.boxSizing==="border-box"?n+r.borderSize:n-r.paddingSize};function BW(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),Lt||(Lt=document.createElement("textarea"),Lt.setAttribute("tabindex","-1"),Lt.setAttribute("aria-hidden","true"),gE(Lt)),Lt.parentNode===null&&document.body.appendChild(Lt);var a=e.paddingSize,o=e.borderSize,s=e.sizingStyle,i=s.boxSizing;Object.keys(s).forEach(function(p){var f=p;Lt.style[f]=s[f]}),gE(Lt),Lt.value=t;var l=bE(Lt,e);Lt.value=t,l=bE(Lt,e),Lt.value="x";var u=Lt.scrollHeight-a,c=u*r;i==="border-box"&&(c=c+a+o),l=Math.max(c,l);var d=u*n;return i==="border-box"&&(d=d+a+o),l=Math.min(d,l),[l,u]}var EE=function(){},DW=function(t,r){return t.reduce(function(n,a){return n[a]=r[a],n},{})},qW=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],FW=!!document.documentElement.currentStyle,jW=function(t){var r=window.getComputedStyle(t);if(r===null)return null;var n=DW(qW,r),a=n.boxSizing;if(a==="")return null;FW&&a==="border-box"&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var o=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),s=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:o,borderSize:s}},UW=jW;function jS(e,t,r){var n=$W(r);Be.useLayoutEffect(function(){var a=function(s){return n.current(s)};if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}var HW=function(t){jS(window,"resize",t)},GW=function(t){jS(document.fonts,"loadingdone",t)},WW=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],VW=function(t,r){var n=t.cacheMeasurements,a=t.maxRows,o=t.minRows,s=t.onChange,i=s===void 0?EE:s,l=t.onHeightChange,u=l===void 0?EE:l,c=NW(t,WW),d=c.value!==void 0,p=Be.useRef(null),f=kW(p,r),h=Be.useRef(0),m=Be.useRef(),w=function(){var T=p.current,R=n&&m.current?m.current:UW(T);if(R){m.current=R;var S=BW(R,T.value||T.placeholder||"x",o,a),O=S[0],N=S[1];h.current!==O&&(h.current=O,T.style.setProperty("height",O+"px","important"),u(O,{rowHeight:N}))}},E=function(T){d||w(),i(T)};return Be.useLayoutEffect(w),HW(w),GW(w),Be.createElement("textarea",vh({},c,{onChange:E,ref:f}))},zW=Be.forwardRef(VW);const gh=({element:e="p",children:t=null,className:r="",...n})=>Q.createElement(e,{...n,className:Te("alert",r),"aria-live":"assertive"},t);const YW=({label:e=!1,className:t="",children:r})=>{const n=Ze();return A.jsxs("details",{className:Te("collapsible-section",t),children:[A.jsx("summary",{children:e||n.formatMessage({id:"collapsibleSection_summary"})}),A.jsx("div",{className:"content",children:r})]})},vm=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(YW,{...t})});function ha(){return ha=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},ha.apply(this,arguments)}const KW=["children","options"],_E=["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"}),wE={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},XW=["style","script"],QW=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,JW=/mailto:/i,ZW=/\n{2,}$/,US=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,e8=/^ *> ?/gm,t8=/^ {2,}\n/,r8=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,HS=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,GS=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,n8=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,a8=/^(?:\n *)*\n/,o8=/\r\n?/g,i8=/^\[\^([^\]]+)](:.*)\n/,s8=/^\[\^([^\]]+)]/,l8=/\f/g,u8=/^\s*?\[(x|\s)\]/,WS=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,VS=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,zS=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,bh=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,c8=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,YS=/^<!--[\s\S]*?(?:-->)/,f8=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Eh=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,d8=/^\{.*\}$/,p8=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,h8=/^<([^ >]+@[^ >]+)>/,m8=/^<([^ >]+:\/[^ >]+)>/,y8=/-([a-z])?/gi,KS=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,v8=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,g8=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,b8=/^\[([^\]]*)\] ?\[([^\]]*)\]/,E8=/(\[|\])/g,_8=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,w8=/\t/g,T8=/^ *\| */,S8=/(^ *\||\| *$)/g,R8=/ *$/,C8=/^ *:-+: *$/,x8=/^ *:-+ *$/,O8=/^ *-+: *$/,P8=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,A8=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,I8=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,N8=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,M8=/^\\([^0-9A-Za-z\s])/,$8=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,k8=/^\n+/,L8=/^([ \t]*)/,B8=/\\([^\\])/g,TE=/ *\n+$/,D8=/(?:^|\n)( *)$/,gm="(?:\\d+\\.)",bm="(?:[*+-])";function XS(e){return"( *)("+(e===1?gm:bm)+") +"}const QS=XS(1),JS=XS(2);function ZS(e){return new RegExp("^"+(e===1?QS:JS))}const q8=ZS(1),F8=ZS(2);function eR(e){return new RegExp("^"+(e===1?QS:JS)+"[^\\n]*(?:\\n(?!\\1"+(e===1?gm:bm)+" )[^\\n]*)*(\\n|$)","gm")}const tR=eR(1),rR=eR(2);function nR(e){const t=e===1?gm:bm;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const aR=nR(1),oR=nR(2);function SE(e,t){const r=t===1,n=r?aR:oR,a=r?tR:rR,o=r?q8:F8;return{t(s,i,l){const u=D8.exec(l);return u&&(i.o||!i._&&!i.u)?n.exec(s=u[1]+s):null},i:Ie.HIGH,l(s,i,l){const u=r?+s[2]:void 0,c=s[0].replace(ZW,`
180
+ `).match(a);let d=!1;return{p:c.map(function(p,f){const h=o.exec(p)[0].length,m=new RegExp("^ {1,"+h+"}","gm"),w=p.replace(m,"").replace(o,""),E=f===c.length-1,y=w.indexOf(`
181
181
 
182
- `)!==-1||b&&d;d=v;const w=l._,S=l.o;let T;l.o=!0,v?(l._=!1,T=_.replace(mE,`
182
+ `)!==-1||E&&d;d=y;const T=l._,R=l.o;let S;l.o=!0,y?(l._=!1,S=w.replace(TE,`
183
183
 
184
- `)):(l._=!0,T=_.replace(mE,""));const C=i(T,l);return l._=w,l.o=S,C}),m:r,g:u}},h:(s,i,l)=>e(s.m?"ol":"ul",{key:l.k,start:s.g},s.p.map(function(u,c){return e("li",{key:c},i(u,l))}))}}const N8=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,M8=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,XS=[NS,MS,$S,kS,BS,LS,qS,DS,WS,YS,VS,KS],$8=[...XS,/^[^\n]+(?: \n|\n{2,})/,ph,hh];function k8(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 L8(e){return b8.test(e)?"right":v8.test(e)?"center":g8.test(e)?"left":null}function vE(e,t,r){const n=r.$;r.$=!0;const a=t(e.trim(),r);r.$=n;let o=[[]];return a.forEach(function(s,i){s.type==="tableSeparator"?i!==0&&i!==a.length-1&&o.push([]):(s.type!=="text"||a[i+1]!=null&&a[i+1].type!=="tableSeparator"||(s.v=s.v.replace(y8,"")),o[o.length-1].push(s))}),o}function B8(e,t,r){r._=!0;const n=vE(e[1],t,r),a=e[2].replace(m8,"").split("|").map(L8),o=function(s,i,l){return s.trim().split(`
185
- `).map(function(u){return vE(u,i,l)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function gE(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function Br(e){return function(t,r){return r._?e.exec(t):null}}function qr(e){return function(t,r){return r._||r.u?e.exec(t):null}}function wr(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function To(e){return function(t){return e.exec(t)}}function q8(e,t,r){if(t._||t.u||r&&!r.endsWith(`
184
+ `)):(l._=!0,S=w.replace(TE,""));const O=i(S,l);return l._=T,l.o=R,O}),m:r,g:u}},h:(s,i,l)=>e(s.m?"ol":"ul",{key:l.k,start:s.g},s.p.map(function(u,c){return e("li",{key:c},i(u,l))}))}}const j8=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,U8=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,iR=[US,HS,GS,WS,zS,VS,YS,KS,tR,aR,rR,oR],H8=[...iR,/^[^\n]+(?: \n|\n{2,})/,bh,Eh];function G8(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 W8(e){return O8.test(e)?"right":C8.test(e)?"center":x8.test(e)?"left":null}function RE(e,t,r){const n=r.$;r.$=!0;const a=t(e.trim(),r);r.$=n;let o=[[]];return a.forEach(function(s,i){s.type==="tableSeparator"?i!==0&&i!==a.length-1&&o.push([]):(s.type!=="text"||a[i+1]!=null&&a[i+1].type!=="tableSeparator"||(s.v=s.v.replace(R8,"")),o[o.length-1].push(s))}),o}function V8(e,t,r){r._=!0;const n=RE(e[1],t,r),a=e[2].replace(S8,"").split("|").map(W8),o=function(s,i,l){return s.trim().split(`
185
+ `).map(function(u){return RE(u,i,l)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function CE(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function Rn(e){return function(t,r){return r._?e.exec(t):null}}function Cn(e){return function(t,r){return r._||r.u?e.exec(t):null}}function rn(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function Xo(e){return function(t){return e.exec(t)}}function z8(e,t,r){if(t._||t.u||r&&!r.endsWith(`
186
186
  `))return null;let n="";e.split(`
187
- `).every(o=>!XS.some(s=>s.test(o))&&(n+=o+`
188
- `,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function sa(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 bE(e){return e.replace(x8,"$1")}function Ji(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 D8(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 F8(e,t,r){return r._=!1,e(t,r)}const Wd=(e,t,r)=>({v:Ji(t,e[1],r)});function Vd(){return{}}function zd(){return null}function j8(...e){return e.filter(Boolean).join(" ")}function Yd(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 Ce;function U8(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||k8,t.namedCodesToUnicode=t.namedCodesToUnicode?Tn({},hE,t.namedCodesToUnicode):hE;const r=t.createElement||Ae.createElement;function n(f,h,...m){const _=Yd(t.overrides,`${f}.props`,{});return r(function(b,v){const w=Yd(v,b);return w?typeof w=="function"||typeof w=="object"&&"render"in w?w:Yd(v,`${b}.component`,b):b}(f,t.overrides),Tn({},h,_,{className:j8(h==null?void 0:h.className,_.className)||void 0}),...m)}function a(f){let h=!1;t.forceInline?h=!0:t.forceBlock||(h=d8.test(f)===!1);const m=c(u(h?f:`${f.trimEnd().replace(C8,"")}
187
+ `).every(o=>!iR.some(s=>s.test(o))&&(n+=o+`
188
+ `,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function Va(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 xE(e){return e.replace(B8,"$1")}function ms(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 Y8(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 K8(e,t,r){return r._=!1,e(t,r)}const Qd=(e,t,r)=>({v:ms(t,e[1],r)});function Jd(){return{}}function Zd(){return null}function X8(...e){return e.filter(Boolean).join(" ")}function ep(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 Ie;function Q8(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||G8,t.namedCodesToUnicode=t.namedCodesToUnicode?ha({},wE,t.namedCodesToUnicode):wE;const r=t.createElement||Be.createElement;function n(f,h,...m){const w=ep(t.overrides,`${f}.props`,{});return r(function(E,y){const T=ep(y,E);return T?typeof T=="function"||typeof T=="object"&&"render"in T?T:ep(y,`${E}.component`,E):E}(f,t.overrides),ha({},h,w,{className:X8(h==null?void 0:h.className,w.className)||void 0}),...m)}function a(f){let h=!1;t.forceInline?h=!0:t.forceBlock||(h=_8.test(f)===!1);const m=c(u(h?f:`${f.trimEnd().replace(k8,"")}
189
189
 
190
- `,{_:h}));for(;typeof m[m.length-1]=="string"&&!m[m.length-1].trim();)m.pop();if(t.wrapper===null)return m;const _=t.wrapper||(h?"span":"div");let b;if(m.length>1||t.forceWrapper)b=m;else{if(m.length===1)return b=m[0],typeof b=="string"?n("span",{key:"outer"},b):b;b=null}return Ae.createElement(_,{key:"outer"},b)}function o(f){const h=f.match(UW);return h?h.reduce(function(m,_,b){const v=_.indexOf("=");if(v!==-1){const w=function(I){return I.indexOf("-")!==-1&&I.match(r8)===null&&(I=I.replace(s8,function(N,U){return U.toUpperCase()})),I}(_.slice(0,v)).trim(),S=function(I){const N=I[0];return(N==='"'||N==="'")&&I.length>=2&&I[I.length-1]===N?I.slice(1,-1):I}(_.slice(v+1).trim()),T=pE[w]||w,C=m[T]=function(I,N){return I==="style"?N.split(/;\s?/).reduce(function(U,G){const W=G.slice(0,G.indexOf(":"));return U[W.replace(/(-[a-z])/g,j=>j[1].toUpperCase())]=G.slice(W.length+1).trim(),U},{}):I==="href"?sa(N):(N.match(n8)&&(N=N.slice(1,N.length-1)),N==="true"||N!=="false"&&N)}(w,S);typeof C=="string"&&(ph.test(C)||hh.test(C))&&(m[T]=Ae.cloneElement(a(C.trim()),{key:b}))}else _!=="style"&&(m[pE[_]||_]=!0);return m},{}):null}const s=[],i={},l={blockQuote:{t:wr(NS),i:Ce.HIGH,l:(f,h,m)=>({v:h(f[0].replace(WW,""),m)}),h:(f,h,m)=>n("blockquote",{key:m.k},h(f.v,m))},breakLine:{t:To(VW),i:Ce.HIGH,l:Vd,h:(f,h,m)=>n("br",{key:m.k})},breakThematic:{t:wr(zW),i:Ce.HIGH,l:Vd,h:(f,h,m)=>n("hr",{key:m.k})},codeBlock:{t:wr($S),i:Ce.MAX,l:f=>({v:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(f,h,m)=>n("pre",{key:m.k},n("code",Tn({},f.O,{className:f.M?`lang-${f.M}`:""}),f.v))},codeFenced:{t:wr(MS),i:Ce.MAX,l:f=>({O:o(f[3]||""),v:f[4],M:f[2]||void 0,type:"codeBlock"})},codeInline:{t:qr(YW),i:Ce.LOW,l:f=>({v:f[2]}),h:(f,h,m)=>n("code",{key:m.k},f.v)},footnote:{t:wr(QW),i:Ce.MAX,l:f=>(s.push({I:f[2],j:f[1]}),{}),h:zd},footnoteReference:{t:Br(JW),i:Ce.HIGH,l:f=>({v:f[1],B:`#${t.slugify(f[1])}`}),h:(f,h,m)=>n("a",{key:m.k,href:sa(f.B)},n("sup",{key:m.k},f.v))},gfmTask:{t:Br(e8),i:Ce.HIGH,l:f=>({R:f[1].toLowerCase()==="x"}),h:(f,h,m)=>n("input",{checked:f.R,key:m.k,readOnly:!0,type:"checkbox"})},heading:{t:wr(t.enforceAtxHeadings?LS:kS),i:Ce.HIGH,l:(f,h,m)=>({v:Ji(h,f[2],m),T:t.slugify(f[2]),C:f[1].length}),h:(f,h,m)=>n(`h${f.C}`,{id:f.T,key:m.k},h(f.v,m))},headingSetext:{t:wr(BS),i:Ce.MAX,l:(f,h,m)=>({v:Ji(h,f[1],m),C:f[2]==="="?1:2,type:"heading"})},htmlComment:{t:To(qS),i:Ce.HIGH,l:()=>({}),h:zd},image:{t:qr(M8),i:Ce.HIGH,l:f=>({D:f[1],B:bE(f[2]),F:f[3]}),h:(f,h,m)=>n("img",{key:m.k,alt:f.D||void 0,title:f.F||void 0,src:sa(f.B)})},link:{t:Br(N8),i:Ce.LOW,l:(f,h,m)=>({v:D8(h,f[1],m),B:bE(f[2]),F:f[3]}),h:(f,h,m)=>n("a",{key:m.k,href:sa(f.B),title:f.F},h(f.v,m))},linkAngleBraceStyleDetector:{t:Br(i8),i:Ce.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],type:"link"})},linkBareUrlDetector:{t:(f,h)=>h.N?null:Br(a8)(f,h),i:Ce.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],F:void 0,type:"link"})},linkMailtoDetector:{t:Br(o8),i:Ce.MAX,l(f){let h=f[1],m=f[1];return HW.test(m)||(m="mailto:"+m),{v:[{v:h.replace("mailto:",""),type:"text"}],B:m,type:"link"}}},orderedList:yE(n,1),unorderedList:yE(n,2),newlineCoalescer:{t:wr(KW),i:Ce.LOW,l:Vd,h:()=>`
191
- `},paragraph:{t:q8,i:Ce.LOW,l:Wd,h:(f,h,m)=>n("p",{key:m.k},h(f.v,m))},ref:{t:Br(l8),i:Ce.MAX,l:f=>(i[f[1]]={B:f[2],F:f[4]},{}),h:zd},refImage:{t:qr(u8),i:Ce.MAX,l:f=>({D:f[1]||void 0,P:f[2]}),h:(f,h,m)=>n("img",{key:m.k,alt:f.D,src:sa(i[f.P].B),title:i[f.P].F})},refLink:{t:Br(c8),i:Ce.MAX,l:(f,h,m)=>({v:h(f[1],m),Z:h(f[0].replace(f8,"\\$1"),m),P:f[2]}),h:(f,h,m)=>i[f.P]?n("a",{key:m.k,href:sa(i[f.P].B),title:i[f.P].F},h(f.v,m)):n("span",{key:m.k},h(f.Z,m))},table:{t:wr(DS),i:Ce.HIGH,l:B8,h:(f,h,m)=>n("table",{key:m.k},n("thead",null,n("tr",null,f.L.map(function(_,b){return n("th",{key:b,style:gE(f,b)},h(_,m))}))),n("tbody",null,f.A.map(function(_,b){return n("tr",{key:b},_.map(function(v,w){return n("td",{key:w,style:gE(f,w)},h(v,m))}))})))},tableSeparator:{t:function(f,h){return h.$?(h._=!0,h8.exec(f)):null},i:Ce.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:To(R8),i:Ce.MIN,l:f=>({v:f[0].replace(t8,(h,m)=>t.namedCodesToUnicode[m]?t.namedCodesToUnicode[m]:h)}),h:f=>f.v},textBolded:{t:qr(E8),i:Ce.MED,l:(f,h,m)=>({v:h(f[2],m)}),h:(f,h,m)=>n("strong",{key:m.k},h(f.v,m))},textEmphasized:{t:qr(_8),i:Ce.LOW,l:(f,h,m)=>({v:h(f[2],m)}),h:(f,h,m)=>n("em",{key:m.k},h(f.v,m))},textEscaped:{t:qr(S8),i:Ce.HIGH,l:f=>({v:f[1],type:"text"})},textMarked:{t:qr(w8),i:Ce.LOW,l:Wd,h:(f,h,m)=>n("mark",{key:m.k},h(f.v,m))},textStrikethroughed:{t:qr(T8),i:Ce.LOW,l:Wd,h:(f,h,m)=>n("del",{key:m.k},h(f.v,m))}};t.disableParsingRawHTML!==!0&&(l.htmlBlock={t:To(ph),i:Ce.HIGH,l(f,h,m){const[,_]=f[3].match(O8),b=new RegExp(`^${_}`,"gm"),v=f[3].replace(b,""),w=(S=v,$8.some(N=>N.test(S))?F8:Ji);var S;const T=f[1].toLowerCase(),C=jW.indexOf(T)!==-1;m.N=m.N||T==="a";const I=C?f[3]:w(h,v,m);return m.N=!1,{O:o(f[2]),v:I,G:C,H:C?T:f[1]}},h:(f,h,m)=>n(f.H,Tn({key:m.k},f.O),f.G?f.v:h(f.v,m))},l.htmlSelfClosing={t:To(hh),i:Ce.HIGH,l:f=>({O:o(f[2]||""),H:f[1]}),h:(f,h,m)=>n(f.H,Tn({},f.O,{key:m.k}))});const u=function(f){let h=Object.keys(f);function m(_,b){let v=[],w="";for(;_;){let S=0;for(;S<h.length;){const T=h[S],C=f[T],I=C.t(_,b,w);if(I){const N=I[0];_=_.substring(N.length);const U=C.l(I,m,b);U.type==null&&(U.type=T),v.push(U),w=N;break}S++}}return v}return h.sort(function(_,b){let v=f[_].i,w=f[b].i;return v!==w?v-w:_<b?-1:1}),function(_,b){return m(function(v){return v.replace(XW,`
192
- `).replace(ZW,"").replace(p8," ")}(_),b)}}(l),c=(d=function(f){return function(h,m,_){return f[h.type].h(h,m,_)}}(l),function f(h,m={}){if(Array.isArray(h)){const _=m.k,b=[];let v=!1;for(let w=0;w<h.length;w++){m.k=w;const S=f(h[w],m),T=typeof S=="string";T&&v?b[b.length-1]+=S:S!==null&&b.push(S),v=T}return m.k=_,b}return d(h,f,m)});var d;const p=a(e);return s.length?n("div",null,p,n("footer",{key:"footer"},s.map(function(f){return n("div",{id:t.slugify(f.j),key:f.j},f.j,c(u(f.I,{_:!0})))}))):p}(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"})(Ce||(Ce={}));const dm=e=>{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var s,i,l={},u=Object.keys(a);for(i=0;i<u.length;i++)o.indexOf(s=u[i])>=0||(l[s]=a[s]);return l}(e,FW);return Ae.cloneElement(U8(t,r),n)};const Oc=({variant:e="primary",className:t="",children:r,...n})=>A.jsx("div",{className:_e("highlighted-text-box",e,t),...n,children:r});const QS=({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,s=Ms(o);if(o&&typeof r=="object"&&typeof s=="number"){const i=Object.assign({},r.breakpoints),l=D0(Object.keys(i));a=F0(s,l,i)}return A.jsxs(Oc,{variant:"subtle",className:_e("empty-state-box",e,n),children:[t&&A.jsx(dm,{options:{forceBlock:!0},children:t}),a&&typeof r=="object"&&A.jsx(Zt,{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 mh=({children:e,...t})=>A.jsx("p",{...t,children:e}),JS={q:mh,blockquote:mh};for(let e=1;e<=6;e++)JS[`h${e}`]={component:mh,props:{className:"title"}};const ZS=({type:e="default",className:t="",heading:r=!1,children:n})=>A.jsxs("div",{className:_e("helper-text-box text-small",e,t),children:[r&&A.jsx("p",{className:"title",children:r}),typeof n=="string"?A.jsx(dm,{options:{wrapper:Z.Fragment,forceBlock:!0,overrides:JS},children:n}):A.jsx("p",{children:n})]});const H8=({className:e="",show:t=!1,hide:r=!1,text:n,children:a})=>{const o=Ze(),s=Z.useRef(null),[i,l]=Z.useState(""),[u,c]=Z.useState("closed");Z.useEffect(()=>{const f=s.current;if(f)return f.addEventListener("transitionend",d),()=>{f.removeEventListener("transitionend",d)}},[]),Z.useEffect(()=>{if(!n||typeof n!="string")return;const f=n.split(`
190
+ `,{_:h}));for(;typeof m[m.length-1]=="string"&&!m[m.length-1].trim();)m.pop();if(t.wrapper===null)return m;const w=t.wrapper||(h?"span":"div");let E;if(m.length>1||t.forceWrapper)E=m;else{if(m.length===1)return E=m[0],typeof E=="string"?n("span",{key:"outer"},E):E;E=null}return Be.createElement(w,{key:"outer"},E)}function o(f){const h=f.match(QW);return h?h.reduce(function(m,w,E){const y=w.indexOf("=");if(y!==-1){const T=function(N){return N.indexOf("-")!==-1&&N.match(f8)===null&&(N=N.replace(y8,function(M,H){return H.toUpperCase()})),N}(w.slice(0,y)).trim(),R=function(N){const M=N[0];return(M==='"'||M==="'")&&N.length>=2&&N[N.length-1]===M?N.slice(1,-1):N}(w.slice(y+1).trim()),S=_E[T]||T,O=m[S]=function(N,M){return N==="style"?M.split(/;\s?/).reduce(function(H,G){const W=G.slice(0,G.indexOf(":"));return H[W.replace(/(-[a-z])/g,U=>U[1].toUpperCase())]=G.slice(W.length+1).trim(),H},{}):N==="href"?Va(M):(M.match(d8)&&(M=M.slice(1,M.length-1)),M==="true"||M!=="false"&&M)}(T,R);typeof O=="string"&&(bh.test(O)||Eh.test(O))&&(m[S]=Be.cloneElement(a(O.trim()),{key:E}))}else w!=="style"&&(m[_E[w]||w]=!0);return m},{}):null}const s=[],i={},l={blockQuote:{t:rn(US),i:Ie.HIGH,l:(f,h,m)=>({v:h(f[0].replace(e8,""),m)}),h:(f,h,m)=>n("blockquote",{key:m.k},h(f.v,m))},breakLine:{t:Xo(t8),i:Ie.HIGH,l:Jd,h:(f,h,m)=>n("br",{key:m.k})},breakThematic:{t:rn(r8),i:Ie.HIGH,l:Jd,h:(f,h,m)=>n("hr",{key:m.k})},codeBlock:{t:rn(GS),i:Ie.MAX,l:f=>({v:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(f,h,m)=>n("pre",{key:m.k},n("code",ha({},f.O,{className:f.M?`lang-${f.M}`:""}),f.v))},codeFenced:{t:rn(HS),i:Ie.MAX,l:f=>({O:o(f[3]||""),v:f[4],M:f[2]||void 0,type:"codeBlock"})},codeInline:{t:Cn(n8),i:Ie.LOW,l:f=>({v:f[2]}),h:(f,h,m)=>n("code",{key:m.k},f.v)},footnote:{t:rn(i8),i:Ie.MAX,l:f=>(s.push({I:f[2],j:f[1]}),{}),h:Zd},footnoteReference:{t:Rn(s8),i:Ie.HIGH,l:f=>({v:f[1],B:`#${t.slugify(f[1])}`}),h:(f,h,m)=>n("a",{key:m.k,href:Va(f.B)},n("sup",{key:m.k},f.v))},gfmTask:{t:Rn(u8),i:Ie.HIGH,l:f=>({R:f[1].toLowerCase()==="x"}),h:(f,h,m)=>n("input",{checked:f.R,key:m.k,readOnly:!0,type:"checkbox"})},heading:{t:rn(t.enforceAtxHeadings?VS:WS),i:Ie.HIGH,l:(f,h,m)=>({v:ms(h,f[2],m),T:t.slugify(f[2]),C:f[1].length}),h:(f,h,m)=>n(`h${f.C}`,{id:f.T,key:m.k},h(f.v,m))},headingSetext:{t:rn(zS),i:Ie.MAX,l:(f,h,m)=>({v:ms(h,f[1],m),C:f[2]==="="?1:2,type:"heading"})},htmlComment:{t:Xo(YS),i:Ie.HIGH,l:()=>({}),h:Zd},image:{t:Cn(U8),i:Ie.HIGH,l:f=>({D:f[1],B:xE(f[2]),F:f[3]}),h:(f,h,m)=>n("img",{key:m.k,alt:f.D||void 0,title:f.F||void 0,src:Va(f.B)})},link:{t:Rn(j8),i:Ie.LOW,l:(f,h,m)=>({v:Y8(h,f[1],m),B:xE(f[2]),F:f[3]}),h:(f,h,m)=>n("a",{key:m.k,href:Va(f.B),title:f.F},h(f.v,m))},linkAngleBraceStyleDetector:{t:Rn(m8),i:Ie.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],type:"link"})},linkBareUrlDetector:{t:(f,h)=>h.N?null:Rn(p8)(f,h),i:Ie.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],F:void 0,type:"link"})},linkMailtoDetector:{t:Rn(h8),i:Ie.MAX,l(f){let h=f[1],m=f[1];return JW.test(m)||(m="mailto:"+m),{v:[{v:h.replace("mailto:",""),type:"text"}],B:m,type:"link"}}},orderedList:SE(n,1),unorderedList:SE(n,2),newlineCoalescer:{t:rn(a8),i:Ie.LOW,l:Jd,h:()=>`
191
+ `},paragraph:{t:z8,i:Ie.LOW,l:Qd,h:(f,h,m)=>n("p",{key:m.k},h(f.v,m))},ref:{t:Rn(v8),i:Ie.MAX,l:f=>(i[f[1]]={B:f[2],F:f[4]},{}),h:Zd},refImage:{t:Cn(g8),i:Ie.MAX,l:f=>({D:f[1]||void 0,P:f[2]}),h:(f,h,m)=>n("img",{key:m.k,alt:f.D,src:Va(i[f.P].B),title:i[f.P].F})},refLink:{t:Rn(b8),i:Ie.MAX,l:(f,h,m)=>({v:h(f[1],m),Z:h(f[0].replace(E8,"\\$1"),m),P:f[2]}),h:(f,h,m)=>i[f.P]?n("a",{key:m.k,href:Va(i[f.P].B),title:i[f.P].F},h(f.v,m)):n("span",{key:m.k},h(f.Z,m))},table:{t:rn(KS),i:Ie.HIGH,l:V8,h:(f,h,m)=>n("table",{key:m.k},n("thead",null,n("tr",null,f.L.map(function(w,E){return n("th",{key:E,style:CE(f,E)},h(w,m))}))),n("tbody",null,f.A.map(function(w,E){return n("tr",{key:E},w.map(function(y,T){return n("td",{key:T,style:CE(f,T)},h(y,m))}))})))},tableSeparator:{t:function(f,h){return h.$?(h._=!0,T8.exec(f)):null},i:Ie.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:Xo($8),i:Ie.MIN,l:f=>({v:f[0].replace(c8,(h,m)=>t.namedCodesToUnicode[m]?t.namedCodesToUnicode[m]:h)}),h:f=>f.v},textBolded:{t:Cn(P8),i:Ie.MED,l:(f,h,m)=>({v:h(f[2],m)}),h:(f,h,m)=>n("strong",{key:m.k},h(f.v,m))},textEmphasized:{t:Cn(A8),i:Ie.LOW,l:(f,h,m)=>({v:h(f[2],m)}),h:(f,h,m)=>n("em",{key:m.k},h(f.v,m))},textEscaped:{t:Cn(M8),i:Ie.HIGH,l:f=>({v:f[1],type:"text"})},textMarked:{t:Cn(I8),i:Ie.LOW,l:Qd,h:(f,h,m)=>n("mark",{key:m.k},h(f.v,m))},textStrikethroughed:{t:Cn(N8),i:Ie.LOW,l:Qd,h:(f,h,m)=>n("del",{key:m.k},h(f.v,m))}};t.disableParsingRawHTML!==!0&&(l.htmlBlock={t:Xo(bh),i:Ie.HIGH,l(f,h,m){const[,w]=f[3].match(L8),E=new RegExp(`^${w}`,"gm"),y=f[3].replace(E,""),T=(R=y,H8.some(M=>M.test(R))?K8:ms);var R;const S=f[1].toLowerCase(),O=XW.indexOf(S)!==-1;m.N=m.N||S==="a";const N=O?f[3]:T(h,y,m);return m.N=!1,{O:o(f[2]),v:N,G:O,H:O?S:f[1]}},h:(f,h,m)=>n(f.H,ha({key:m.k},f.O),f.G?f.v:h(f.v,m))},l.htmlSelfClosing={t:Xo(Eh),i:Ie.HIGH,l:f=>({O:o(f[2]||""),H:f[1]}),h:(f,h,m)=>n(f.H,ha({},f.O,{key:m.k}))});const u=function(f){let h=Object.keys(f);function m(w,E){let y=[],T="";for(;w;){let R=0;for(;R<h.length;){const S=h[R],O=f[S],N=O.t(w,E,T);if(N){const M=N[0];w=w.substring(M.length);const H=O.l(N,m,E);H.type==null&&(H.type=S),y.push(H),T=M;break}R++}}return y}return h.sort(function(w,E){let y=f[w].i,T=f[E].i;return y!==T?y-T:w<E?-1:1}),function(w,E){return m(function(y){return y.replace(o8,`
192
+ `).replace(l8,"").replace(w8," ")}(w),E)}}(l),c=(d=function(f){return function(h,m,w){return f[h.type].h(h,m,w)}}(l),function f(h,m={}){if(Array.isArray(h)){const w=m.k,E=[];let y=!1;for(let T=0;T<h.length;T++){m.k=T;const R=f(h[T],m),S=typeof R=="string";S&&y?E[E.length-1]+=R:R!==null&&E.push(R),y=S}return m.k=w,E}return d(h,f,m)});var d;const p=a(e);return s.length?n("div",null,p,n("footer",{key:"footer"},s.map(function(f){return n("div",{id:t.slugify(f.j),key:f.j},f.j,c(u(f.I,{_:!0})))}))):p}(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"})(Ie||(Ie={}));const Gc=e=>{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var s,i,l={},u=Object.keys(a);for(i=0;i<u.length;i++)o.indexOf(s=u[i])>=0||(l[s]=a[s]);return l}(e,KW);return Be.cloneElement(Q8(t,r),n)};const un=({variant:e="primary",className:t="",children:r,...n})=>A.jsx("div",{className:Te("highlighted-text-box",e,t),...n,children:r});const sR=({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,s=Qs(o);if(o&&typeof r=="object"&&typeof s=="number"){const i=Object.assign({},r.breakpoints),l=K0(Object.keys(i));a=X0(s,l,i)}return A.jsxs(un,{variant:"subtle",className:Te("empty-state-box",e,n),children:[t&&A.jsx(Gc,{options:{forceBlock:!0},children:t}),a&&typeof r=="object"&&A.jsx(Qt,{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 _h=({children:e,...t})=>A.jsx("p",{...t,children:e}),lR={q:_h,blockquote:_h};for(let e=1;e<=6;e++)lR[`h${e}`]={component:_h,props:{className:"title"}};const uR=({type:e="default",className:t="",heading:r=!1,children:n})=>A.jsxs("div",{className:Te("helper-text-box text-small",e,t),children:[r&&A.jsx("p",{className:"title",children:r}),typeof n=="string"?A.jsx(Gc,{options:{wrapper:Q.Fragment,forceBlock:!0,overrides:lR},children:n}):A.jsx("p",{children:n})]});const J8=({className:e="",show:t=!1,hide:r=!1,text:n,children:a})=>{const o=Ze(),s=Q.useRef(null),[i,l]=Q.useState(""),[u,c]=Q.useState("closed");Q.useEffect(()=>{const f=s.current;if(f)return f.addEventListener("transitionend",d),()=>{f.removeEventListener("transitionend",d)}},[]),Q.useEffect(()=>{if(!n||typeof n!="string")return;const f=n.split(`
193
193
  `);l(f.length<3?`${n.substring(0,400)}...`:f.slice(0,3).join(`
194
- `))},[n]),Z.useEffect(()=>{u==="ready-to-close"&&c("closing")},[u]);const d=({propertyName:f})=>{f==="max-height"&&c(h=>h==="opening"?"open":h==="closing"?"closed":h)};if(!n)return null;const p=["opening","open"].includes(u);return A.jsxs(Oc,{variant:"subtle",className:_e("hide-show-text-box",e),children:[A.jsxs("div",{ref:s,className:_e("content",u),children:[A.jsx(dm,{options:{forceBlock:!0},children:u==="closed"?i:n}),u!=="closed"&&a]}),A.jsx("p",{className:"cta",children:A.jsx(Zt,{variant:"tertiary",icon:{icon:"navigation_arrow",position:"left",animate:!0},styling:{muted:!0},className:_e({"rotate-180":p}),onClick:()=>{c(p?"ready-to-close":"opening")},children:p?r||o.formatMessage({id:"hideShowTextBox_hide"}):t||o.formatMessage({id:"hideShowTextBox_show"})})})]})},G8=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(H8,{...t})});const W8=({className:e="",children:t})=>A.jsx("span",{className:_e("pill",e),children:t});const V8=({progress:e=0,text:t=!1,className:r=""})=>{const n=Ze(),a=e>75?100:e>50?75:e>25?50:e>5?25:0,o={"--progress":`${e}%`};return A.jsx("span",{className:_e(`progress-bar section-${a}`,r),style:o,children:A.jsx(Pt,{children:t?`${e} ${t}`:n.formatMessage({id:"progressBar"},{number:e})})})},z8=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(V8,{...t})}),eR=Z.memo(z8);const Kd="loadingBlock_",Y8=({progress:e=0,steps:t=!1,className:r=""})=>{const n=Ze();t||(t={0:{text:n.formatMessage({id:`${Kd}loading`})},75:{text:n.formatMessage({id:`${Kd}almostDone`})},100:{text:n.formatMessage({id:`${Kd}complete`})}});let a=null;const o=Object.keys(t);for(let i=0;i<o.length&&!(e<parseInt(o[i]));i++)a=o[i];const s=a&&t[a].icon?{"--icon":`url(${Rs}icons/${t[a].icon}.svg)`}:{};return A.jsxs(Oc,{className:_e("loading-block",r,{"has-icon":a&&t[a].icon}),variant:"subtle",style:s,children:[a&&A.jsx("span",{className:"step",children:t[a].text}),A.jsx(eR,{progress:e})]})},K8=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(Y8,{...t})}),X8=Z.memo(K8);const _a=({element:e="div",className:t="",...r})=>A.jsx(gh,{element:e,className:_e("loading-placeholder",t),...r});const yh={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"]},tR=(e,t)=>e in yh?A.jsx("div",{className:e,children:yh[e].map((r,n)=>tR(r,n))},t):A.jsx(_a,{className:e},t),rR=({layout:e="overview-page"})=>A.jsx("div",{className:_e("loading-state",e),children:yh[e].map((t,r)=>tR(t,r))}),nR=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):""},Bi=["#5AB6A3","#A2D7AF","#806056","#3962B3"],Q8=e=>{const t=Math.ceil(26/Bi.length),r=nR(e).toLowerCase();if(r==="")return Bi[0];const n=r.charCodeAt(0)-96;for(let a=0;a<Bi.length;a++)if(n<=t*(a+1))return Bi[a]};const EE=256,pm=({className:e="",src:t="",name:r,alt:n,width:a=EE,height:o=EE,...s})=>{const[i,l]=Z.useState(!1),u=Z.useRef(null);return Z.useEffect(()=>{const c=u.current;if(!c)return;const d=c.getContext("2d");if(!d)return;const p=a,f=o;typeof window<"u"&&window.devicePixelRatio&&(c.width=p*window.devicePixelRatio,c.height=f*window.devicePixelRatio,d.scale(window.devicePixelRatio,window.devicePixelRatio)),d.fillStyle=Q8(r),d.fillRect(0,0,p,f),d.font=`${p/3}px Arial`,d.textAlign="center",d.fillStyle="white",d.fillText(nR(r),p/2,f/1.6)},[r]),A.jsxs("figure",{className:_e("profile-picture",e,{error:i}),...s,children:[t!==""&&!i&&A.jsx("img",{src:t,alt:n||r,onError:()=>{l(!0)},width:a,height:o}),(t===""||i)&&A.jsx("canvas",{ref:u})]})};var aR={exports:{}};(function(e){(function(t,r){var n="…",a=/(((ftp|https?):\/\/)[\-\w@:%_\+.~#?,&\/\/=]+)|((mailto:)?[_.\w-]{1,300}@(.{1,300}\.)[a-zA-Z]{2,3})/g;function o(i,l,u){return u.length===i.length||!l.ellipsis||(u+=l.ellipsis),u}function s(i,l,u){var c="",d=!0,p=l,f,h;if(u=u||{},u.ellipsis=typeof u.ellipsis>"u"?n:u.ellipsis,!i||i.length===0)return"";for(d=!0;d;){if(a.lastIndex=c.length,d=a.exec(i),!d||d.index-c.length>=p||a.lastIndex>=l+3e3)return c+=i.substring(c.length,l),o(i,u,c);if(f=d[0],h=d.index,c+=i.substring(c.length,h+f.length),p-=h+f.length,p<=0)break}return o(i,u,c)}e.exports?e.exports=s:t.truncate=s})(String)})(aR);var J8=aR.exports;const Z8=lr(J8),eV=e=>e==="apolitical"?{image:`${Rs}logos/member_apolitical.svg`}:e==="community"||typeof e=="object"&&!e.name?{image:`${Rs}logos/member_community.svg`}:{name:e.name,role:e.jobTitle||"",organisation:e.organization||"",country:e.location&&e.location.country||"",url:`/profiles/${e.id||e.slug}`,image:e.image&&e.image.thumbnail},tV=({role:e="",organisation:t="",country:r="",maximumCharacters:n=80})=>{const a=e!=="",o=t!=="",s=r!=="";if(!a&&!o&&!s)return"";const i=`${e}${a&&o?` — ${t}`:t}`;let l=`${i}${(a||o)&&s?`, ${r}`:r}`;return l.length>n&&(l=i),l.length>n&&(l=Z8(l,n)),l};const rV=({member:e="community",additionalContent:t=!1,gtmContext:r="member",gtmType:n="member-click",className:a=""})=>{const o=Ze(),s=eV(e);s.name||(s.name=o.formatMessage({id:`member_${typeof e=="string"?e:"community"}`}));const{name:i,url:l,image:u}=s,c=tV(s),d=t&&t.createdAt?z1(t.createdAt):!1;return A.jsx("div",{className:_e("member text-medium",a),children:A.jsxs(PS,{href:l,gtmType:n,gtmContext:r,children:[A.jsx(pm,{name:i,src:u}),A.jsxs("p",{className:"details",children:[A.jsx("strong",{children:i}),t&&A.jsxs("span",{className:"additional-content",children:[t.createdAt&&d&&A.jsx("span",{className:"date",title:ng(t&&t.createdAt),"aria-label":ng(t&&t.createdAt),children:o.formatMessage({id:`dates_${d.path}`},{number:d.number})}),t.didEdit&&A.jsx("em",{children:o.formatMessage({id:"discussion_edited"})})]}),c&&A.jsx("small",{children:c})]})]})})},oR=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(rV,{...t})});let qi=null;const It="discussion_form_",nV=({content:e={type:"response",slugs:{}},meta:t={isLoading:!1,isInWrapper:!1,isEditing:!1},inputRef:r,maxLength:n=5e4,minRows:a=4,forceShow:o={cancel:!1,error:!1},functions:s={create:()=>{},handleSaveEdit:()=>{},handleCancel:()=>{},callback:()=>{},props:{create:{projectNames:["questions-answers"]}}},gtmContext:i="DiscussionForm"})=>{var N,U;const l=Ze(),u=Z.useContext(Cc),[c,d]=Z.useState(t.isEditing&&t.isEditing.text||""),[p,f]=Z.useState(o.error||!1),[h,m]=Z.useState(!1),_=Z.useRef(null);if(r||(r=_),t.isLoading)return A.jsx(_a,{className:"discussion-card discussion-form","data-testid":"loading-placeholder"});const b=G=>{const W=G.target.value;d(W);let j;!u||!u.id?j=$r(l.formatMessage,`${It}error_loggedOut`,e.type,"action"):W.length>=n&&(j=`${It}error_tooLong`),j?f(j):p&&f(!1)};let v=`${e.type}-form`;if(e.type==="response"||e.type==="reply"){const G=e.type==="response"?((N=e.slugs)==null?void 0:N.question)||"":((U=e.slugs)==null?void 0:U.answer)||"";G&&(v=`${v}-${G.slice(-15)}`)}const w=async G=>{var j;if(G.preventDefault(),G.stopPropagation(),T)return;qi&&clearTimeout(qi),m("submitting");const W=window.location.pathname;try{let D;switch(e.type){case"question":D=await s.create({title:c,authorId:u&&u.id,...(j=s.props)==null?void 0:j.create});break;case"response":D=await s.create({question:e.slugs.question},{body:c,authorId:u&&u.id,contentPath:W});break;case"reply":D=await s.create({question:e.slugs.question,answer:e.slugs.answer},{body:c,authorId:u&&u.id,contentPath:W});break;default:break}await Y1(1e3),s.callback&&await s.callback(D),qi=setTimeout(()=>{d(""),m("submitted"),S()},500)}catch(D){const Q=D;let J=`${It}error`;Q.message.includes("entry already exists")&&(J=$r(l.formatMessage,`${It}error_alreadyExists`,e.type,"action")),Q.message.includes("429")?J=$r(l.formatMessage,`${It}error_tooMany`,e.type,"action"):Q.message.includes("400")&&(J=`${It}error`),f(J),S()}},S=()=>{qi=setTimeout(()=>{f(!1),m(!1)},5e3)},T=!c||!pW(c),C=h==="submitting",I=[];return(t.isEditing&&!C||o.cancel)&&I.push({variant:"secondary",size:{mobile:"small",600:"medium"},onClick:s.handleCancel,className:"gtm-trackable","data-gtm-event-context":i,"data-gtm-event-type":`cancel-${e.type}-click`,disabled:!o.cancel&&(!u||!u.id||!c),children:l.formatMessage({id:`${It}cancel`})}),I.push({variant:"primary",size:{mobile:"small",600:"medium"},onClick:G=>{if(t.isEditing){m("submitting"),s.handleSaveEdit&&s.handleSaveEdit();return}w(G)},className:"gtm-trackable","data-gtm-event-context":i,"data-gtm-event-type":`${t.isEditing?"save":"submit"}-${e.type}-click`,"data-testid":"save-button",disabled:!u||!u.id||T||C||t.isEditing&&c===t.isEditing.text,children:l.formatMessage({id:`${It}${C?t.isEditing?"saving":"posting":t.isEditing?"save":"post"}`})}),A.jsxs("form",{id:v,className:_e("discussion-card discussion-form",{"no-styling":t.isInWrapper&&t.isEditing}),"data-testid":`discussion-${e.type}-form`,children:[!t.isEditing&&["question"].includes(e.type)&&A.jsx("h2",{children:$r(l.formatMessage,`${It}title`,e.type,"action")}),A.jsx(oR,{member:u||"community",gtmContext:i,gtmType:"profile-click"}),A.jsx(Pt,{element:"label",showOnFocus:!1,htmlFor:`${v}-input`,children:$r(l.formatMessage,`${It}label`,e.type,"action")}),A.jsx(BW,{ref:r,id:`${v}-input`,name:e.type,placeholder:$r(l.formatMessage,`${It}placeholder`,e.type,"action"),onChange:b,value:c,maxLength:n,"aria-invalid":!!p,"aria-errormessage":"error-message",minRows:a,autoFocus:!!t.isEditing}),A.jsx("small",{children:$r(l.formatMessage,`${It}explainer`,e.type,"action",{a:G=>A.jsx("a",{href:"https://about.apolitical.co/q-and-a-community-guidelines",className:"gtm-trackable","data-gtm-event-context":i,"data-gtm-event-type":"community-guidelines-link",children:G})})}),h==="submitted"&&A.jsx(dh,{className:"success","data-testid":"success",children:$r(l.formatMessage,`${It}success`,e.type,"action")}),p&&A.jsx(dh,{id:"error-message",className:"error","data-testid":"error",children:o.error?o.error:typeof p=="string"?p.includes(" ")?p:l.formatMessage({id:p},{action:l.formatMessage({id:`discussion_action_${e.type}`}),maxLength:n}):p}),A.jsx(Rc,{buttons:I})]})},aV=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(nV,{...t})}),oV=({question:e,answer:t,reply:r})=>({...e&&{questionSlug:e},...t&&{answerSlug:t},...r&&{replySlug:r}});let Po=!1;const Xd=()=>{Po!==!1&&(clearTimeout(Po),Po=!1)},iV=({likes:e=0,userLiked:t=!1,content:r={type:"reply",slugs:{}},canLike:n=!0,createLike:a=()=>{},deleteLike:o=()=>{}})=>{const s=Ze();Z.useEffect(()=>{c(t)},[t]);const[i,l]=Z.useState(e),[u,c]=Z.useState(t),[d,p]=Z.useState(!1),f=window.location.pathname,h=_=>{if(_.preventDefault(),_.stopPropagation(),Po)return Xd(),!1;if(Xd(),d||!n)return!1;Po=setTimeout(m,350)},m=async()=>{if(Xd(),d||!n)return!1;let _=u?i-1:i+1;_<0&&(_=0),p(!0),l(_),c(!u);try{if(r&&r.slugs){const b=oV(r.slugs);u?await o(b):await a(b,{contentPath:f})}}catch{l(e),c(t)}finally{p(!1)}};return A.jsxs("div",{className:_e("action-wrapper likes-wrapper",{"show-spinner":d,"is-liked":u,disabled:!n}),onClick:h,children:[A.jsx(Zt,{variant:"tertiary",size:"medium",icon:{icon:u?"heart":"heart_empty",animate:"bounce"},className:_e({"do-animation":u&&!t}),screenreaderText:n?s.formatMessage({id:`discussion_${r.type}_likes_${u?"unlike":"like"}`}):!1,onClick:h,disabled:!n,"aria-hidden":!n,"data-gtm-event-context":"Likes","data-gtm-event-type":`like-${r.type}-click`}),A.jsx("span",{className:"number-of-likes","data-testid":"number-of-likes",children:i})]})},sV=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(iV,{...t})});const Di="emailHelperTextBox_",lV=({type:e,email:t,redirectPath:r,resendVerificationCode:n})=>{const a=Ze(),[o,s]=Z.useState({path:`${Di}default`,type:"default",link:{},mail:{},error:""}),[i,l]=Z.useState(!1),u=Z.useCallback(f=>{f.preventDefault(),f.stopPropagation();const h=m=>{s({path:`${Di}error_verificationFailedToSend`,type:"error",link:{"data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:_=>u(_),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:m})};if(typeof n!="function"){h(a.formatMessage({id:`${Di}error_noFunction`}));return}l(!0),n(t).then(()=>{localStorage.setItem("email",t),window.location.href=r||"/signup/verify-email"}).catch(m=>{h(m.message)}).finally(()=>{l(!1)})},[t,r,n]);Z.useEffect(()=>{let f=Di,h="default",m={},_={};switch(e){case"gov":f+="autoApproved",h="success";break;case"nonGov":f+="unrecognisedEmail",h="error",m={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",h="error",_={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",h="error",m={href:"#","data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:b=>u(b),"data-testid":"send-verify-email-click"};break;case"exists":f+="emailAlreadyExists",h="error",m={href:"/user-onboarding/login","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"login-click"},_={href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"email-concierge-click"};break;default:f+="default",m={href:"https://about.apolitical.co/who-can-join-the-community","data-gtm-event-context":"DefaultEmailHelperTextBox","data-gtm-event-type":"LearnMoreClick"};break}s({...o,path:f,type:h,link:m,mail:_})},[e]);const c={};return["link","mail"].forEach(f=>{c[f]=Object.keys(o[f]).length?h=>A.jsx("a",{...o[f],children:h}):h=>h}),A.jsx(ZS,{type:o.type,heading:i?!1:a.formatMessage({id:`${o.path}_title`}),children:i?A.jsxs(A.Fragment,{children:[A.jsx(_a,{element:"span"}),A.jsx(_a,{element:"span"})]}):a.formatMessage({id:`${o.path}_text`},{...c,strong:f=>A.jsx("strong",{children:f}),em:f=>A.jsx("em",{children:f}),br:A.jsxs(A.Fragment,{children:[A.jsx("br",{}),A.jsx("br",{})]}),error:o.error})})},uV=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(lV,{...t})});const Fi="passwordRules_",iR="isMoreThanEightCharacters",sR="includesNumberAndSymbol",lR="includesLowerAndUppercase",cV={[iR]:"8Characters",[sR]:"numberSymbol",[lR]:"lowercaseUppercase"},fV=({matchingRules:e={isMoreThanEightCharacters:!1,includesNumberAndSymbol:!1,includesLowerAndUppercase:!1},className:t=""})=>{const r=Ze();return A.jsxs("aside",{className:_e("password-rules",t),children:[A.jsx("small",{children:r.formatMessage({id:`${Fi}intro`})}),A.jsx("ul",{children:[iR,sR,lR].map(n=>A.jsxs("li",{className:_e({matches:e[n]}),children:[A.jsxs(Pt,{children:[r.formatMessage({id:`${Fi}rule_label`})," "]}),A.jsx("span",{children:r.formatMessage({id:`${Fi}rule_${cV[n]}`})}),!e[n]&&A.jsxs(Pt,{element:"strong",children:[" "," ",r.formatMessage({id:`${Fi}notMet`})]})]},`rule-${n}`))})]})},dV=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(fV,{...t})}),pV=Z.memo(dV);const hV=({text:e={},topRating:t=5,functions:{createRating:r=()=>null,updateRating:n=()=>{},reportError:a=()=>{}},className:o="",hasLoaded:s=!1})=>{const i=Ze(),[l,u]=Z.useState({setUp:!1,id:null,rating:null,disabled:!0}),c=async()=>{try{const b=await r();u(v=>({...v,setUp:!0,id:b&&b.id,disabled:!1}))}catch(b){u(v=>({...v,setUp:!0,disabled:!0})),a(b)}};if(Z.useEffect(()=>{s&&!l.setUp&&c()},[s]),!s)return A.jsx(_a,{className:"rating-placeholder"});const{id:d,rating:p,disabled:f}=l,h="ratings_",m={text:i.formatMessage({id:`${h}text`}),low:i.formatMessage({id:`${h}low`}),high:i.formatMessage({id:`${h}high`}),success:i.formatMessage({id:`${h}success`}),...e},_=async b=>{if(!(!d||f))try{u(v=>({...v,rating:b,disabled:!0})),await n({id:d,value:b})}catch(v){u(w=>({...w,rating:null})),a(v)}finally{u(v=>({...v,disabled:!1}))}};return A.jsxs("div",{className:_e("rating",o),children:[A.jsx("span",{className:"label",children:m[p?"success":"text"]}),A.jsx("ol",{children:Array.from(new Array(t).keys()).map(b=>{const v=b+1;return A.jsx("li",{className:_e({selected:p&&v<=p}),children:A.jsx(Zt,{variant:"tertiary",size:"small",icon:{icon:`star${!p||v>p?"_empty":""}`,position:"left",hover:"star"},screenreaderText:`${i.formatMessage({id:`${h}stars`},{number:v,total:t})}${v===1||v===t?` - ${m[v===1?"low":"high"]}`:""}`,onClick:w=>{w.preventDefault(),w.stopPropagation(),_(v)},disabled:f})},`rating-${v}`)})})]})},mV=({locale:e="en",...t})=>A.jsx(tt,{children:A.jsx(hV,{...t})});const yV=({id:e="search",className:t="",handleToggle:r=!1,defaultValue:n="",gtmContext:a="search-bar",gtmEvent:o="form-submission"})=>{const{searchIsOpen:s=!0,isDesktopVersion:i=!1}=r||{},l=Ze(),u=Z.useRef(null);Zi(()=>{!r||i||!s||u.current&&u.current.focus()},[s]);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 A.jsx("form",{onSubmit:c,className:_e("search-form gtm-trackable",t),"data-gtm-event-context":a,"data-gtm-event-type":o,children:A.jsx("fieldset",{id:`${e}-form`,hidden:r?!s:!1,role:"search",children:A.jsxs("p",{children:[A.jsx(Pt,{element:"label",htmlFor:e,children:l.formatMessage({id:"search_label"})}),A.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)}}),A.jsx("button",{className:"clear",onClick:d=>{d.preventDefault(),d.stopPropagation(),u.current&&u.current.value&&(u.current.value="")},children:A.jsx(Pt,{children:l.formatMessage({id:"search_clear"})})}),A.jsx("button",{className:"search",onClick:c,children:A.jsx(Pt,{children:l.formatMessage({id:"search_cta"})})})]})})})},uR=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(yV,{...t})});const vV=({text:e,buttons:t,className:r=""})=>{const n=[];return t.forEach(a=>{n.push({href:a.link,variant:"secondary",size:{mobile:"medium",1024:"large"},className:"gtm-trackable","data-gtm-event-type":"download-click","data-gtm-event-context":a.eventContext||"Download",target:"_blank",children:a.text})}),A.jsxs("section",{className:_e("download-section",r),children:[Z.createElement(typeof e=="string"?"h2":e.element,{className:"text"},typeof e=="string"?e:e.text),A.jsx(Rc,{buttons:n})]})};const gV=({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 A.jsxs("div",{className:_e("logos",r),children:[e&&Z.createElement(a.element,{className:"title"},a.text),A.jsx("ul",{className:_e({"two-col":n===2||n===4,"three-col":n===5||n<=10&&n%3===0}),children:t.map(({logo:o,nameOfBusiness:s,link:i=!1,description:l=!1},u)=>{if(!o||!o.url)return null;const c=A.jsx("img",{src:o.url,width:o.width||"auto",height:o.height||"auto",alt:s});return A.jsxs("li",{children:[A.jsx("p",{className:"img-wrapper",children:i?A.jsx("a",{href:i,target:"_blank",rel:"nofollow noreferrer noopener",children:c}):c}),l&&A.jsx("small",{children:l})]},window.btoa(`${o.url}_${u}`))})})]})};const Qd="cookieBanner_",Jd=["apol-cookie-banner","apolitical-performance-cookie-consent","functional-cookie-consent"],Zd=new Date(Date.now()+12*30*24*60*60*1e3),bV=()=>{const e=Ze(),[t,r,n]=$E(Jd),[a,o]=Z.useState(!t["apol-cookie-banner"]),s=()=>{Jd.forEach(c=>{r(c,!0,{path:"/",expires:Zd,domain:c==="apolitical-performance-cookie-consent"?".apolitical.co":void 0})}),o(!1),window.location.reload()},i=()=>{r("apol-cookie-banner",!0,{path:"/",expires:Zd}),Jd.forEach(c=>{if(c==="apol-cookie-banner"){r(c,!0,{path:"/",expires:Zd});return}n(c)}),o(!1)};if(!a)return null;const l=[{id:"settings",href:"/pages/cookie-policy",gtmType:"policy-page"},{id:"reject",onClick:i,gtmType:"reject-all"},{id:"accept",onClick:s,gtmType:"accepted-all"}],u=[];return l.forEach(c=>{u.push({variant:c.href?"tertiary":"primary",href:c.href,onClick:c.onClick,className:"gtm-trackable","data-gtm-event-context":"cookie-banner","data-gtm-event-type":`cookie-${c.gtmType}-click`,children:e.formatMessage({id:`${Qd}buttons_${c.id}`})})}),A.jsxs("aside",{id:"cookie-banner",className:"text-medium",children:[A.jsx("h6",{children:e.formatMessage({id:`${Qd}title`})}),A.jsx("p",{children:e.formatMessage({id:`${Qd}text`})}),A.jsx(Rc,{buttons:u})]})},cR=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(bV,{...t})});const EV=({options:e,allOption:t=!1,allowMultiple:r=!0,onChange:n=()=>{},className:a=""})=>{const o=Ze(),s=t?[{id:"all",text:typeof t!="boolean"&&t.text||o.formatMessage({id:"filters_all"})},...e]:e,[i,l]=Z.useState(t?["all"]:[]),u=(c,d)=>{let p=[];i.includes(c)?p=i.filter(f=>f!==c):c==="all"?p=["all"]:r?p=[...i.filter(f=>f!=="all"),c]:p=[c],l(f=>(n&&typeof n=="function"&&n({current:p,previous:f}),p)),d&&typeof d=="function"&&d()};return A.jsx("ul",{className:_e("filters",a),children:s.map(({id:c,text:d,disabled:p=!1,callback:f=()=>{}})=>{let h={};return p&&(h={disabled:!0,"aria-label":o.formatMessage({id:"filters_disabled"},{name:d})}),A.jsx("li",{children:A.jsx("button",{className:_e(c,{selected:i.includes(c)}),onClick:m=>{m.preventDefault(),m.stopPropagation(),u(c,f)},...h,children:d})},c)})})},_V=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(EV,{...t})});const ep=xp({locale:"en",messages:Bh}),wV=({page:e=1,length:t=0,limit:r=10,loadNextPage:n=()=>{},icon:a=!1,messages:o={button:ep.formatMessage({id:"loadMore_button"}),endOfFeed:ep.formatMessage({id:"loadMore_endOfFeed"}),error:ep.formatMessage({id:"loadMore_error"})},className:s="",gtmContext:i="LoadMore"})=>{const[l,u]=Z.useState(!1),[c,d]=Z.useState(!1);if(t<=0||t<r*e)return null;const p=async f=>{try{await n(f)}catch(h){h instanceof Error&&h.message&&h.message.includes("Cannot read items")?d(!0):u(!0)}};return A.jsxs("footer",{className:_e("load-more",s),children:[l&&A.jsx("p",{className:"error",children:o.error}),c?A.jsx("p",{children:o.endOfFeed}):A.jsx(Zt,{variant:"secondary",icon:a,onClick:p,"data-gtm-event-context":i,"data-gtm-event-type":"load-more-click",className:"gtm-trackable","data-testid":"load-more-button",children:o.button})]})},TV=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(wV,{...t})});const SV=({variant:e="default",version:t="default",className:r="",...n})=>A.jsx("p",{className:"logo-wrapper",children:A.jsx("a",{className:_e("logo",e,t,r),href:"/home/",...n,children:A.jsx(Pt,{children:A.jsx(Sn,{id:"apolitical"})})})}),hm=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(SV,{...t})}),_E={default:"tags_",headerTopics:"header_topics_topics_"},tp={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"},RV={getTagDetails:e=>{if(e.includes("topic_")){if(e=tp.topic[e.replace("topic_","")],e){const t=jo.topics.topics[e].href;return t?{id:e,href:t,text:`${_E.headerTopics}${e}`}:null}return null}return tp[e]?(e=tp[e],{id:e,text:`${_E.default}${e}`}):null}};const CV=({tags:e=[],color:t="default",forceOneLine:r=!1,canHaveLinks:n=!0,className:a="",gtmType:o="tag-click",gtmContext:s="tags"})=>{const i=Ze();if(!e||e.length<1)return null;const l=[];return e.forEach(u=>{if(!u)return;const c=RV.getTagDetails(u);c&&l.push(c)}),l.length<1?null:A.jsx("ul",{className:_e("tags text-small",t,a,{"one-line":r}),children:l.map(u=>{const c=i.formatMessage({id:u.text});return A.jsx("li",{children:u.href&&n?A.jsx("a",{href:u.href,className:"gtm-trackable","data-gtm-event-type":o,"data-gtm-event-context":s,children:c}):c},u.id)})})},OV=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(CV,{...t})}),Rr={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 fa="footer_",Cs="SiteFooter",wE=({group:e})=>{const t=Rr[e].order||[];let r=!1;return"text"in Rr[e]&&(r=Rr[e].text),A.jsxs(Z.Fragment,{children:[A.jsx("p",{className:"pre-title",children:A.jsx(Sn,{id:`${fa}${e}`})}),Array.isArray(t)&&t.length>0&&A.jsx("ul",{className:"text-medium",children:t.map(n=>{if(["order","child","text"].includes(n))return null;const{href:a,gtmType:o}=Rr[e][n],s={};return["legal"].includes(e)&&(s.target="_blank",s.rel="noopener"),A.jsx("li",{children:A.jsx("a",{href:a,className:"gtm-trackable","data-gtm-event-context":Cs,"data-gtm-event-type":o,...s,children:A.jsx(Sn,{id:`${fa}${e}_${n}`})})},`${e}_${n}`)})}),typeof r!="boolean"&&"order"in r&&Array.isArray(r.order)&&A.jsx("dl",{className:"text-medium",children:r.order.map(n=>A.jsxs(Z.Fragment,{children:[A.jsx("dt",{children:A.jsx(Sn,{id:`${fa}${e}_${n}`})}),A.jsxs("dd",{children:[typeof r!="boolean"&&r[n].address&&A.jsx("address",{children:A.jsx(Sn,{id:`${fa}${e}_${n}_address`,values:{br:A.jsx("br",{})}})}),typeof r!="boolean"&&r[n].email&&A.jsx("a",{href:`mailto:${r[n].email}`,className:"gtm-trackable","data-gtm-event-context":Cs,"data-gtm-event-type":r[n].gtmType,children:r[n].email})]})]},`dl-${e}-${n}`))})]},e)},xV=()=>A.jsx("div",{id:"footer",children:A.jsxs("div",{className:"wrapper",children:[A.jsx(gh,{element:"hr"}),A.jsx(hm,{variant:"inverted",version:"full",className:"gtm-trackable","data-gtm-event-context":Cs,"data-gtm-event-type":"logo-homepage-link"}),A.jsx("footer",{children:["platform","community","company","contact"].map(e=>A.jsxs("div",{className:"group",children:[A.jsx(wE,{group:e}),Object.keys(Rr[e]).includes("child")&&A.jsx(wE,{group:Rr[e].child})]},e))}),A.jsx("hr",{}),A.jsxs("div",{className:"sub-footer",children:[A.jsx("ul",{children:Array.isArray(Rr.social.order)&&Rr.social.order.map(e=>{const t=Rr.social[e];return A.jsx("li",{className:e,children:A.jsx("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"gtm-trackable","data-gtm-event-context":Cs,"data-gtm-event-type":"social-click",children:A.jsx("span",{className:"hidden",children:A.jsx(Sn,{id:`${fa}social_${e}`})})})},e)})}),A.jsx("small",{children:A.jsx(Sn,{id:`${fa}copyright`,values:{currentYear:new Date().getFullYear()}})})]})]})}),mm=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(xV,{...t})});var PV="Expected a function",fR="__lodash_hash_undefined__",dR=1/0,AV="[object Function]",IV="[object GeneratorFunction]",NV="[object Symbol]",MV=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$V=/^\w*$/,kV=/^\./,LV=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,BV=/[\\^$.*+?()[\]{}|]/g,qV=/\\(\\)?/g,DV=/^\[object .+?Constructor\]$/,FV=typeof be=="object"&&be&&be.Object===Object&&be,jV=typeof self=="object"&&self&&self.Object===Object&&self,ym=FV||jV||Function("return this")();function UV(e,t){return e==null?void 0:e[t]}function HV(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var GV=Array.prototype,WV=Function.prototype,pR=Object.prototype,rp=ym["__core-js_shared__"],TE=function(){var e=/[^.]+$/.exec(rp&&rp.keys&&rp.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),hR=WV.toString,vm=pR.hasOwnProperty,mR=pR.toString,VV=RegExp("^"+hR.call(vm).replace(BV,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),SE=ym.Symbol,zV=GV.splice,YV=yR(ym,"Map"),Fo=yR(Object,"create"),RE=SE?SE.prototype:void 0,CE=RE?RE.toString:void 0;function In(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 KV(){this.__data__=Fo?Fo(null):{}}function XV(e){return this.has(e)&&delete this.__data__[e]}function QV(e){var t=this.__data__;if(Fo){var r=t[e];return r===fR?void 0:r}return vm.call(t,e)?t[e]:void 0}function JV(e){var t=this.__data__;return Fo?t[e]!==void 0:vm.call(t,e)}function ZV(e,t){var r=this.__data__;return r[e]=Fo&&t===void 0?fR:t,this}In.prototype.clear=KV;In.prototype.delete=XV;In.prototype.get=QV;In.prototype.has=JV;In.prototype.set=ZV;function Aa(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 e5(){this.__data__=[]}function t5(e){var t=this.__data__,r=xc(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():zV.call(t,r,1),!0}function r5(e){var t=this.__data__,r=xc(t,e);return r<0?void 0:t[r][1]}function n5(e){return xc(this.__data__,e)>-1}function a5(e,t){var r=this.__data__,n=xc(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Aa.prototype.clear=e5;Aa.prototype.delete=t5;Aa.prototype.get=r5;Aa.prototype.has=n5;Aa.prototype.set=a5;function Fn(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 o5(){this.__data__={hash:new In,map:new(YV||Aa),string:new In}}function i5(e){return Pc(this,e).delete(e)}function s5(e){return Pc(this,e).get(e)}function l5(e){return Pc(this,e).has(e)}function u5(e,t){return Pc(this,e).set(e,t),this}Fn.prototype.clear=o5;Fn.prototype.delete=i5;Fn.prototype.get=s5;Fn.prototype.has=l5;Fn.prototype.set=u5;function xc(e,t){for(var r=e.length;r--;)if(E5(e[r][0],t))return r;return-1}function c5(e,t){t=h5(t,e)?[t]:p5(t);for(var r=0,n=t.length;e!=null&&r<n;)e=e[g5(t[r++])];return r&&r==n?e:void 0}function f5(e){if(!gR(e)||y5(e))return!1;var t=_5(e)||HV(e)?VV:DV;return t.test(b5(e))}function d5(e){if(typeof e=="string")return e;if(bm(e))return CE?CE.call(e):"";var t=e+"";return t=="0"&&1/e==-dR?"-0":t}function p5(e){return vR(e)?e:v5(e)}function Pc(e,t){var r=e.__data__;return m5(t)?r[typeof t=="string"?"string":"hash"]:r.map}function yR(e,t){var r=UV(e,t);return f5(r)?r:void 0}function h5(e,t){if(vR(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||bm(e)?!0:$V.test(e)||!MV.test(e)||t!=null&&e in Object(t)}function m5(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function y5(e){return!!TE&&TE in e}var v5=gm(function(e){e=T5(e);var t=[];return kV.test(e)&&t.push(""),e.replace(LV,function(r,n,a,o){t.push(a?o.replace(qV,"$1"):n||r)}),t});function g5(e){if(typeof e=="string"||bm(e))return e;var t=e+"";return t=="0"&&1/e==-dR?"-0":t}function b5(e){if(e!=null){try{return hR.call(e)}catch{}try{return e+""}catch{}}return""}function gm(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(PV);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 s=e.apply(this,n);return r.cache=o.set(a,s),s};return r.cache=new(gm.Cache||Fn),r}gm.Cache=Fn;function E5(e,t){return e===t||e!==e&&t!==t}var vR=Array.isArray;function _5(e){var t=gR(e)?mR.call(e):"";return t==AV||t==IV}function gR(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function w5(e){return!!e&&typeof e=="object"}function bm(e){return typeof e=="symbol"||w5(e)&&mR.call(e)==NV}function T5(e){return e==null?"":d5(e)}function S5(e,t,r){var n=e==null?void 0:c5(e,t);return n===void 0?r:n}var R5=S5;const bR=lr(R5),Le={timeouts:{},handlerCalled:{},getIsDesktopVersion:(e,t)=>{const r={navigation:{loggedIn:769,loggedOut:881},search:{loggedIn:961,loggedOut:1121}},n=o=>{const s=`logged${e?"In":"Out"}`;return t>=r[o][s]};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&&Le.handlerCalled[e]&&a-Le.handlerCalled[e]<500)return;Le.handlerCalled[e]=a;let o=[{type:`menus.${e}`,value:t}];t===!0&&Object.keys(r).forEach(s=>{s===e||r[s]===!1||o.push({type:`menus.${s}`,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=bR(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?Le.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 s,i;switch(e){case"navigation":if(r){const l=Le.findFirstChild(t.current.children,"attributes.aria-controls","navigation");s=Le.findFirstChild(l.children,"href")}else s=Le.findFirstChild(t.current.children,"href");s||(s=t.current);break;case"account":if(i=Le.findFirstChild(t.current.children,"className","account"),!i||!i.children)return;s=Le.findFirstChild(i.children,"href");break;default:return}s&&(a([{type:`focusElements.${e}.${o}`,value:s}]),s.focus())},events:{onClick:(e,{id:t,callback:r,isOpen:n})=>{e.target&&e.target.attributes&&e.target.attributes.href||(e.preventDefault(),e.stopPropagation(),clearTimeout(Le.timeouts[t]),r(t,!n))},onFocus:({id:e})=>{clearTimeout(Le.timeouts[e])},onMouseEnter:({id:e,callback:t})=>{clearTimeout(Le.timeouts[e]),t(e,!0)},onBlur:({id:e,callback:t})=>{Le.timeouts[e]=setTimeout(()=>{t(e,!1)},250)}}},jo={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"}}}},Os=({id:e,isLoggedIn:t=!1,isDesktopVersion:r=!1,menus:n={},callback:a=()=>{},doTrack:o=null})=>{const s=Ze(),i=bR(jo,e);if(!i||i.onlyShow&&(i.onlyShow==="logged-in"&&!t||i.onlyShow==="logged-out"&&t))return null;const l="doTrack"in i,u=o===null?l?i.doTrack:!0:o,c=e.includes("buttons.");let d=`header_${e.replaceAll(".","_")}`;i.hasVariantText&&(d+=`_logged${t?"In":"Out"}`);let p=!1;if(i.href){let v=i.gtmType||`${e}-click`;if(v.includes(".")){const w=v.split("."),S=w[w.length-2];v=`${S==="topics"?`${S}-`:""}${w[w.length-1]}`}p={href:i.href,role:"menuitem"},u&&(p={...p,className:"gtm-trackable","data-gtm-event-type":v,"data-gtm-event-context":"HeaderButtons"}),c&&(p={...p,variant:"secondary",size:{mobile:"small",881:"large"},...i.props||{}})}const f=i.order&&i.order[0]&&i[i.order[0]],h=f&&i[i.order[0]].order,m=p&&typeof window<"u"&&window.location&&window.location.pathname===i.href;let _={},b={};if(f){const v=i.menuId||e,w={onClick:S=>Le.events.onClick(S,{id:v,callback:a,isOpen:n[v]}),onFocus:()=>Le.events.onFocus({id:v}),onBlur:()=>Le.events.onBlur({id:v,callback:a}),onMouseLeave:()=>Le.events.onBlur({id:v,callback:a}),onMouseEnter:()=>Le.events.onMouseEnter({id:v,callback:a})};r&&(h&&(_={...w,onKeyPress:S=>{S.key==="Enter"&&Le.events.onClick(S,{id:v,callback:a,isOpen:n[v]})},tabIndex:"0","aria-haspopup":!0,"aria-expanded":n[v],"aria-controls":v}),b={hidden:v in n?!n[v]:!0}),h||(b={...b,...w})}return A.jsxs("li",{className:_e({[i.className]:i.className,"has-submenu":f,parent:h,active:m}),role:"none",..._,children:[p?Z.createElement(c?Zt:"a",p,s.formatMessage({id:d})):s.formatMessage({id:d}),i.order&&A.jsx("ul",{...b,children:i.order.map(v=>{if(!i[v])return null;const w={isLoggedIn:t,isDesktopVersion:r,menus:n,callback:a,doTrack:l?u:null};return i[v].order?A.jsxs("li",{className:_e({[i[v].className]:i[v].className}),children:[s.formatMessage({id:`${d}_${v}`}),A.jsx("ul",{children:i[v].order.map(S=>A.jsx(Os,{id:`${e}.${v}.${S}`,...w},S))})]},v):A.jsx(Os,{id:`${e}.${v}`,...w},v)})})]},e)};const C5={height:67,height_desktop:83},O5=()=>{const e=Ze(),t=Z.useContext(Cc),r=Ms(!0,!0),n=t&&typeof t.id=="string",a=Z.useMemo(()=>Le.getIsDesktopVersion(n,r),[n,r]),[o,s]=Z.useReducer(V1,{headerIsVisible:!0,menus:{navigation:!1,search:!1,account:!1},focusElements:{navigation:{desktop:!1,default:!1},account:{desktop:!1,default:!1}}}),{headerIsVisible:i,menus:l,focusElements:u}=o;A0({scrollPosition:C5[`height${a.navigation?"_desktop":""}`],callbacks:{scrollUp:()=>{!a&&l.navigation||Le.shouldChangeHeaderIsVisible(!0,l,s)},scrollDown:()=>{!a&&l.navigation||Le.shouldChangeHeaderIsVisible(!1,l,s)}}});const c=(p,f)=>{Le.handleMenus({id:p,value:f,menus:l,dispatch:s})},d=Z.useRef(null);return Zi(()=>{l.navigation&&Le.autoFocus({menu:"navigation",navigationRef:d,isDesktopVersion:a.navigation,focusElements:u,dispatch:s})},[l.navigation]),Zi(()=>{l.account&&Le.autoFocus({menu:"account",navigationRef:d,isDesktopVersion:a.navigation,focusElements:u,dispatch:s})},[l.account]),t&&t.isLoading?null:A.jsxs(A.Fragment,{children:[A.jsxs("nav",{id:"header",className:_e({"logged-in":n,"logged-out":!n,visible:i}),children:[A.jsx(Pt,{element:"a",href:"#content-of-page",children:e.formatMessage({id:"header_skip"})}),A.jsx(hm,{}),!a.navigation&&A.jsx("button",{className:"menu-button gtm-trackable",onClick:p=>{p.preventDefault(),p.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:A.jsx(Pt,{children:e.formatMessage({id:`header_menu_${l.navigation?"hide":"show"}`})})}),A.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:jo.order.map(p=>A.jsx(Os,{id:p,isLoggedIn:n,isDesktopVersion:a.navigation,menus:{navigation:l.navigation,account:l.account},callback:c},p))}),!a.search&&A.jsx("button",{className:"search toggle-search-button",onClick:p=>{p.preventDefault(),p.stopPropagation(),c("search",!l.search)},"aria-haspopup":"true","aria-expanded":l.search,"aria-controls":"search-form",children:A.jsx(Pt,{children:e.formatMessage({id:`header_search_${l.search?"hide":"show"}`})})}),A.jsx(uR,{id:"global-search",handleToggle:{searchIsOpen:l.search,isDesktopVersion:a.search},gtmContext:"search-bar-header",gtmEvent:"form-submission"}),n?A.jsxs("button",{className:"account-button",onClick:p=>Le.events.onClick(p,{id:"account",callback:c,isOpen:l.account}),onMouseEnter:()=>Le.events.onMouseEnter({id:"account",callback:c}),onMouseLeave:()=>Le.events.onBlur({id:"account",callback:c}),"aria-haspopup":"true","aria-expanded":l.account,"aria-controls":"navigation",children:[A.jsx(Pt,{children:e.formatMessage({id:`header_account_${l.account?"hide":"show"}`})}),A.jsx(pm,{name:t&&t.name||"",src:t&&t.image&&t.image.thumbnail||""})]}):A.jsx("ul",{className:"sign-in-buttons",children:jo.buttons.order.map(p=>A.jsx(Os,{id:`buttons.${p}`},p))})]}),A.jsx("hr",{id:"content-of-page"}),A.jsx("div",{className:_e("overlay",{open:l.navigation||l.account||!a.search&&l.search})})]})},Em=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(O5,{...t})}),x5=Z.createContext(null),np={didCatch:!1,error:null};class P5 extends Z.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=np}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:o,reason:"imperative-api"}),this.setState(np)}}componentDidCatch(t,r){var n,a;(n=(a=this.props).onError)===null||n===void 0||n.call(a,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:a}=this.props;if(n&&r.error!==null&&A5(t.resetKeys,a)){var o,s;(o=(s=this.props).onReset)===null||o===void 0||o.call(s,{next:a,prev:t.resetKeys,reason:"keys"}),this.setState(np)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:a}=this.props,{didCatch:o,error:s}=this.state;let i=t;if(o){const l={error:s,resetErrorBoundary:this.resetErrorBoundary};if(Z.isValidElement(a))i=a;else if(typeof r=="function")i=r(l);else if(n)i=Z.createElement(n,l);else throw s}return Z.createElement(x5.Provider,{value:{didCatch:o,error:s,resetErrorBoundary:this.resetErrorBoundary}},i)}}function A5(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}const I5=({locale:e})=>{const t=Ze();return A.jsxs(A.Fragment,{children:[A.jsx(Em,{locale:e}),A.jsx("div",{className:"content",children:A.jsx(QS,{variant:"error",text:t.formatMessage({id:"pageLayout_error"})})}),A.jsx(mm,{locale:e})]})},N5=({locale:e="en",...t})=>A.jsx(tt,{locale:e,children:A.jsx(I5,{locale:e,...t})}),M5=({children:e,reportError:t,showFooter:r=!0,background:n="default",className:a="",locale:o="en"})=>{const s=gN(e,{locale:o});return A.jsx(P5,{onError:t,fallback:A.jsx(N5,{locale:o}),children:A.jsx(Z.Suspense,{fallback:A.jsx(rR,{layout:"overview-page"}),children:A.jsx("div",{id:"wrapper",className:_e(a,{[n]:n!=="default"}),children:A.jsxs(VR,{children:[A.jsx(Em,{locale:o}),A.jsx("div",{className:"content",children:s}),r&&A.jsx(mm,{locale:o}),A.jsx(cR,{})]})})})})};exports.ASSETS_BUCKET=Rs;exports.Alert=dh;exports.BannerSection=gW;exports.Button=Zt;exports.ButtonWrapper=Rc;exports.CollapsibleSection=DW;exports.CookieBanner=cR;exports.DiscussionForm=aV;exports.DiscussionLikes=sV;exports.DownloadSection=vV;exports.EmailHelperTextBox=uV;exports.EmptyStateBox=QS;exports.Filters=_V;exports.Footer=mm;exports.Header=Em;exports.HelperTextBox=ZS;exports.HiddenFromScreenReaders=gh;exports.HideShowTextBox=G8;exports.HighlightedTextBox=Oc;exports.Link=PS;exports.LoadMore=TV;exports.LoadingBlock=X8;exports.LoadingPlaceholder=_a;exports.LoadingState=rR;exports.Logo=hm;exports.Logos=gV;exports.MarketingBox=bW;exports.Member=oR;exports.NUMBER_OF_USERS=EW;exports.PageLayout=M5;exports.PasswordRules=pV;exports.Pill=W8;exports.ProfilePicture=pm;exports.ProgressBar=eR;exports.Rating=mV;exports.ResponsiveImage=AS;exports.SearchForm=uR;exports.Tags=OV;exports.UserContext=Cc;exports.UserProvider=_W;exports.VisuallyHidden=Pt;exports.headerData=jo;exports.useEffectAfterMount=Zi;exports.useFeatureFlag=jA;exports.useScreenWidth=Ms;exports.useScrollListener=A0;
194
+ `))},[n]),Q.useEffect(()=>{u==="ready-to-close"&&c("closing")},[u]);const d=({propertyName:f})=>{f==="max-height"&&c(h=>h==="opening"?"open":h==="closing"?"closed":h)};if(!n)return null;const p=["opening","open"].includes(u);return A.jsxs(un,{variant:"subtle",className:Te("hide-show-text-box",e),children:[A.jsxs("div",{ref:s,className:Te("content",u),children:[A.jsx(Gc,{options:{forceBlock:!0},children:u==="closed"?i:n}),u!=="closed"&&a]}),A.jsx("p",{className:"cta",children:A.jsx(Qt,{variant:"tertiary",icon:{icon:"navigation_arrow",position:"left",animate:!0},styling:{muted:!0},className:Te({"rotate-180":p}),onClick:()=>{c(p?"ready-to-close":"opening")},children:p?r||o.formatMessage({id:"hideShowTextBox_hide"}):t||o.formatMessage({id:"hideShowTextBox_show"})})})]})},Z8=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(J8,{...t})}),eV=()=>Q.Fragment,tV=({children:e})=>A.jsx(un,{variant:"secondary",children:e}),rV=["span","strong","h1","h2","h3","h4","h5","h6","p"],nV=({children:e})=>{const t=Ze();if(!e)return null;let r=t.formatMessage({id:"markdown_collapsibleSection_summary"});const n=[];for(const o of Q.Children.toArray(e))if(!(!o||typeof o=="string"||typeof o=="number"))if(Q.isValidElement(o)&&o.type==="summary"){if(o.props&&o.props.children){for(const s of Q.Children.toArray(o.props.children))if(!(!s||typeof s=="string"||typeof s=="number")&&Q.isValidElement(s)){const i=s.type;if(rV.includes(i)){for(r=s.props.children;typeof r!="string"&&(Array.isArray(r)&&r[0].props&&r[0].props.children&&r[0].props.children[0]);)r=r[0].props.children[0];break}}}}else n.push(o);const a=r?r.toString():"";return A.jsx(vm,{label:a,className:["Sources","Resources"].includes(a)?"discrete-links":"",children:n.map(o=>o)})},aV=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(nV,{...t})}),oV=({children:e,...t})=>{if(t.class)switch(t.class){case"casestudy":return A.jsx(un,{variant:"secondary",children:e});case"general-textbox":case"highlight-box":return A.jsx(un,{variant:"primary",children:e});case"pink-textbox":return A.jsx(un,{variant:"tertiary",children:e});default:return A.jsx("div",{...t,children:e})}return A.jsx("div",{...t,children:e})},iV=e=>{const t=Ze(),r=Date.now().toString();let n="default";const a=e.src;return a.includes("youtube")||a.includes("vimeo")?n="video":a.includes("riddle")||a.includes("sli.do")?n="poll":a.includes("padlet")&&(n="padlet"),A.jsxs(A.Fragment,{children:[A.jsx(Dt,{children:A.jsx("a",{href:`#content-after-iframe-${r}`,children:t.formatMessage({id:`markdown_skip${n==="default"?"":`_${n}`}`})})}),A.jsx("iframe",{...e,title:t.formatMessage({id:`markdown_iframe${n==="default"?"":`_${n}`}`})}),A.jsx("span",{id:`content-after-iframe-${r}`,tabIndex:-1})]})},sV=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(iV,{...t})}),OE=e=>{let t="";return e&&typeof e!="string"&&typeof e!="number"&&typeof e!="boolean"&&"type"in e&&(t=e.type),t},lV=({children:e,...t})=>{let r={...t};t.href&&(t.href.includes("http:")||t.href.includes("https:"))&&!t.target&&(r.target="_blank");let n=e,a=!1;for(const o of Q.Children.toArray(e))if(!(!o||typeof o=="string"||typeof o=="number")&&Q.isValidElement(o)){const s=o.type;if(["button","center","span","strong"].includes(s)&&o.props&&o.props.children&&o.props.children[0])for((s==="button"||OE(o.props.children[0])==="button")&&(a=!0),n=o.props.children[0];n&&typeof n!="string"&&!(typeof n=="boolean"||typeof n=="number"||!Q.isValidElement(n));)if(n.props&&n.props.children&&n.props.children[0])n=n.props.children[0],n&&OE(n)==="button"&&(a=!0);else break}return a?(r={...r,className:"button primary medium"},A.jsx("p",{className:"center",children:A.jsx(Qt,{variant:"primary",size:"medium",...r,children:n})})):A.jsx("a",{...r,children:n})};const cR=({className:e="",options:t={},children:r})=>{r=r.replace(/^<br\/?>/,"");const n={wrapper:Q.Fragment,forceBlock:!0,overrides:{a:lV,CollapsibleSection:vm,TextBox:un,CaseStudy:tV,style:eV,details:aV,div:oV,iframe:sV}};return A.jsx("div",{className:Te("markdown-text",e),children:A.jsx(Gc,{options:{...n,...t},children:r})})};const uV=({className:e="",children:t})=>A.jsx("span",{className:Te("pill",e),children:t});const cV=({progress:e=0,text:t=!1,className:r=""})=>{const n=Ze(),a=e>75?100:e>50?75:e>25?50:e>5?25:0,o={"--progress":`${e}%`};return A.jsx("span",{className:Te(`progress-bar section-${a}`,r),style:o,children:A.jsx(Dt,{children:t?`${e} ${t}`:n.formatMessage({id:"progressBar"},{number:e})})})},fV=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(cV,{...t})}),fR=Q.memo(fV);const tp="loadingBlock_",dV=({progress:e=0,steps:t=!1,className:r=""})=>{const n=Ze();t||(t={0:{text:n.formatMessage({id:`${tp}loading`})},75:{text:n.formatMessage({id:`${tp}almostDone`})},100:{text:n.formatMessage({id:`${tp}complete`})}});let a=null;const o=Object.keys(t);for(let i=0;i<o.length&&!(e<parseInt(o[i]));i++)a=o[i];const s=a&&t[a].icon?{"--icon":`url(${Us}icons/${t[a].icon}.svg)`}:{};return A.jsxs(un,{className:Te("loading-block",r,{"has-icon":a&&t[a].icon}),variant:"subtle",style:s,children:[a&&A.jsx("span",{className:"step",children:t[a].text}),A.jsx(fR,{progress:e})]})},pV=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(dV,{...t})}),hV=Q.memo(pV);const wa=({element:e="div",className:t="",...r})=>A.jsx(Sh,{element:e,className:Te("loading-placeholder",t),...r});const wh={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"]},dR=(e,t)=>e in wh?A.jsx("div",{className:e,children:wh[e].map((r,n)=>dR(r,n))},t):A.jsx(wa,{className:e},t),pR=({layout:e="overview-page"})=>A.jsx("div",{className:Te("loading-state",e),children:wh[e].map((t,r)=>dR(t,r))}),hR=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):""},es=["#5AB6A3","#A2D7AF","#806056","#3962B3"],mV=e=>{const t=Math.ceil(26/es.length),r=hR(e).toLowerCase();if(r==="")return es[0];const n=r.charCodeAt(0)-96;for(let a=0;a<es.length;a++)if(n<=t*(a+1))return es[a]};const PE=256,Em=({className:e="",src:t="",name:r,alt:n,width:a=PE,height:o=PE,...s})=>{const[i,l]=Q.useState(!1),u=Q.useRef(null);return Q.useEffect(()=>{const c=u.current;if(!c)return;const d=c.getContext("2d");if(!d)return;const p=a,f=o;typeof window<"u"&&window.devicePixelRatio&&(c.width=p*window.devicePixelRatio,c.height=f*window.devicePixelRatio,d.scale(window.devicePixelRatio,window.devicePixelRatio)),d.fillStyle=mV(r),d.fillRect(0,0,p,f),d.font=`${p/3}px Arial`,d.textAlign="center",d.fillStyle="white",d.fillText(hR(r),p/2,f/1.6)},[r]),A.jsxs("figure",{className:Te("profile-picture",e,{error:i}),...s,children:[t!==""&&!i&&A.jsx("img",{src:t,alt:n||r,onError:()=>{l(!0)},width:a,height:o}),(t===""||i)&&A.jsx("canvas",{ref:u})]})};var mR={exports:{}};(function(e){(function(t,r){var n="…",a=/(((ftp|https?):\/\/)[\-\w@:%_\+.~#?,&\/\/=]+)|((mailto:)?[_.\w-]{1,300}@(.{1,300}\.)[a-zA-Z]{2,3})/g;function o(i,l,u){return u.length===i.length||!l.ellipsis||(u+=l.ellipsis),u}function s(i,l,u){var c="",d=!0,p=l,f,h;if(u=u||{},u.ellipsis=typeof u.ellipsis>"u"?n:u.ellipsis,!i||i.length===0)return"";for(d=!0;d;){if(a.lastIndex=c.length,d=a.exec(i),!d||d.index-c.length>=p||a.lastIndex>=l+3e3)return c+=i.substring(c.length,l),o(i,u,c);if(f=d[0],h=d.index,c+=i.substring(c.length,h+f.length),p-=h+f.length,p<=0)break}return o(i,u,c)}e.exports?e.exports=s:t.truncate=s})(String)})(mR);var yV=mR.exports;const vV=wr(yV),gV=e=>e==="apolitical"?{image:`${Us}logos/member_apolitical.svg`}:e==="community"||typeof e=="object"&&!e.name?{image:`${Us}logos/member_community.svg`}:{name:e.name,role:e.jobTitle||"",organisation:e.organization||"",country:e.location&&e.location.country||"",url:`/profiles/${e.id||e.slug}`,image:e.image&&e.image.thumbnail},bV=({role:e="",organisation:t="",country:r="",maximumCharacters:n=80})=>{const a=e!=="",o=t!=="",s=r!=="";if(!a&&!o&&!s)return"";const i=`${e}${a&&o?` — ${t}`:t}`;let l=`${i}${(a||o)&&s?`, ${r}`:r}`;return l.length>n&&(l=i),l.length>n&&(l=vV(l,n)),l};const EV=({member:e="community",additionalContent:t=!1,gtmContext:r="member",gtmType:n="member-click",className:a=""})=>{const o=Ze(),s=gV(e);s.name||(s.name=o.formatMessage({id:`member_${typeof e=="string"?e:"community"}`}));const{name:i,url:l,image:u}=s,c=bV(s),d=t&&t.createdAt?tI(t.createdAt):!1;return A.jsx("div",{className:Te("member text-medium",a),children:A.jsxs(qS,{href:l,gtmType:n,gtmContext:r,children:[A.jsx(Em,{name:i,src:u}),A.jsxs("p",{className:"details",children:[A.jsx("strong",{children:i}),t&&A.jsxs("span",{className:"additional-content",children:[t.createdAt&&d&&A.jsx("span",{className:"date",title:fg(t&&t.createdAt),"aria-label":fg(t&&t.createdAt),children:o.formatMessage({id:`dates_${d.path}`},{number:d.number})}),t.didEdit&&A.jsx("em",{children:o.formatMessage({id:"discussion_edited"})})]}),c&&A.jsx("small",{children:c})]})]})})},_m=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(EV,{...t})});let ts=null;const Xt="discussion_form_",_V=({content:e={type:"response",slugs:{}},meta:t={isLoading:!1,isInWrapper:!1,isEditing:!1},inputRef:r,maxLength:n=5e4,minRows:a=4,forceShow:o={cancel:!1,error:!1},functions:s={create:()=>{},handleSaveEdit:()=>{},handleCancel:()=>{},callback:()=>{},props:{create:{projectNames:["questions-answers"]}}},gtmContext:i="DiscussionForm"})=>{var M,H;const l=Ze(),u=Q.useContext(Si),[c,d]=Q.useState(t.isEditing&&t.isEditing.text||""),[p,f]=Q.useState(o.error||!1),[h,m]=Q.useState(!1),w=Q.useRef(null);if(r||(r=w),t.isLoading)return A.jsx(wa,{className:"discussion-card discussion-form","data-testid":"loading-placeholder"});const E=G=>{const W=G.target.value;d(W);let U;!u||!u.id?U=wn(l.formatMessage,`${Xt}error_loggedOut`,e.type,"action"):W.length>=n&&(U=`${Xt}error_tooLong`),U?f(U):p&&f(!1)};let y=`${e.type}-form`;if(e.type==="response"||e.type==="reply"){const G=e.type==="response"?((M=e.slugs)==null?void 0:M.question)||"":((H=e.slugs)==null?void 0:H.answer)||"";G&&(y=`${y}-${G.slice(-15)}`)}const T=async G=>{var U;if(G.preventDefault(),G.stopPropagation(),S)return;ts&&clearTimeout(ts),m("submitting");const W=window.location.pathname;try{let j;switch(e.type){case"question":j=await s.create({title:c,authorId:u&&u.id,...(U=s.props)==null?void 0:U.create});break;case"response":j=await s.create({question:e.slugs.question},{body:c,authorId:u&&u.id,contentPath:W});break;case"reply":j=await s.create({question:e.slugs.question,answer:e.slugs.answer},{body:c,authorId:u&&u.id,contentPath:W});break;default:break}await rI(1e3),s.callback&&await s.callback(j),ts=setTimeout(()=>{d(""),m("submitted"),R()},500)}catch(j){const Z=j;let ee=`${Xt}error`;Z.message.includes("entry already exists")&&(ee=wn(l.formatMessage,`${Xt}error_alreadyExists`,e.type,"action")),Z.message.includes("429")?ee=wn(l.formatMessage,`${Xt}error_tooMany`,e.type,"action"):Z.message.includes("400")&&(ee=`${Xt}error`),f(ee),R()}},R=()=>{ts=setTimeout(()=>{f(!1),m(!1)},5e3)},S=!c||!_W(c),O=h==="submitting",N=[];return(t.isEditing&&!O||o.cancel)&&N.push({variant:"secondary",size:{mobile:"small",600:"medium"},onClick:s.handleCancel,className:"gtm-trackable","data-gtm-event-context":i,"data-gtm-event-type":`cancel-${e.type}-click`,disabled:!o.cancel&&(!u||!u.id||!c),children:l.formatMessage({id:`${Xt}cancel`})}),N.push({variant:"primary",size:{mobile:"small",600:"medium"},onClick:G=>{if(t.isEditing){m("submitting"),s.handleSaveEdit&&s.handleSaveEdit(w.current&&"value"in w.current?w.current.value:"");return}T(G)},className:"gtm-trackable","data-gtm-event-context":i,"data-gtm-event-type":`${t.isEditing?"save":"submit"}-${e.type}-click`,"data-testid":"save-button",disabled:!u||!u.id||S||O||t.isEditing&&c===t.isEditing.text,children:l.formatMessage({id:`${Xt}${O?t.isEditing?"saving":"posting":t.isEditing?"save":"post"}`})}),A.jsxs("form",{id:y,className:Te("discussion-card discussion-form",{"no-styling":t.isInWrapper&&t.isEditing}),"data-testid":`discussion-${e.type}-form`,children:[!t.isEditing&&["question"].includes(e.type)&&A.jsx("h2",{children:wn(l.formatMessage,`${Xt}title`,e.type,"action")}),A.jsx(_m,{member:u||"community",gtmContext:i,gtmType:"profile-click"}),A.jsx(Dt,{element:"label",showOnFocus:!1,htmlFor:`${y}-input`,children:wn(l.formatMessage,`${Xt}label`,e.type,"action")}),A.jsx(zW,{ref:r,id:`${y}-input`,name:e.type,placeholder:wn(l.formatMessage,`${Xt}placeholder`,e.type,"action"),onChange:E,value:c,maxLength:n,"aria-invalid":!!p,"aria-errormessage":"error-message",minRows:a,autoFocus:!!t.isEditing}),A.jsx("small",{children:wn(l.formatMessage,`${Xt}explainer`,e.type,"action",{a:G=>A.jsx("a",{href:"https://about.apolitical.co/q-and-a-community-guidelines",className:"gtm-trackable","data-gtm-event-context":i,"data-gtm-event-type":"community-guidelines-link",children:G})})}),h==="submitted"&&A.jsx(gh,{className:"success","data-testid":"success",children:wn(l.formatMessage,`${Xt}success`,e.type,"action")}),p&&A.jsx(gh,{id:"error-message",className:"error","data-testid":"error",children:o.error?o.error:typeof p=="string"?p.includes(" ")?p:l.formatMessage({id:p},{action:l.formatMessage({id:`discussion_action_${e.type}`}),maxLength:n}):p}),A.jsx(Hc,{buttons:N})]})},yR=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(_V,{...t})}),wV=({question:e,answer:t,reply:r})=>({...e&&{questionSlug:e},...t&&{answerSlug:t},...r&&{replySlug:r}});let ri=!1;const rp=()=>{ri!==!1&&(clearTimeout(ri),ri=!1)},TV=({element:e="p",likes:t=0,isShort:r=!0,userLiked:n=!1,content:a={type:"reply",slugs:{}},canLike:o=!0,createLike:s=()=>{},deleteLike:i=()=>{}})=>{const l=Ze();Q.useEffect(()=>{p(n)},[n]);const[u,c]=Q.useState(t),[d,p]=Q.useState(n),[f,h]=Q.useState(!1),m=window.location.pathname,w=y=>{if(y.preventDefault(),y.stopPropagation(),ri)return rp(),!1;if(rp(),f||!o)return!1;ri=setTimeout(E,350)},E=async()=>{if(rp(),f||!o)return!1;let y=d?u-1:u+1;y<0&&(y=0),h(!0),c(y),p(!d);try{if(a&&a.slugs){const T=wV(a.slugs);d?await i(T):await s(T,{contentPath:m})}}catch{c(t),p(n)}finally{h(!1)}};return Q.createElement(e,{className:Te("likes-wrapper text-medium",{"show-spinner":f,"is-liked":d,disabled:!o}),onClick:w,children:A.jsxs(A.Fragment,{children:[A.jsx(Qt,{variant:"tertiary",size:"medium",icon:{icon:d?"heart":"heart_empty",animate:"bounce"},className:Te({"do-animation":d&&!n}),screenreaderText:o?l.formatMessage({id:`discussion_${a.type}_likes_${d?"unlike":"like"}`}):!1,onClick:w,disabled:!o,"aria-hidden":!o,"data-gtm-event-context":"Likes","data-gtm-event-type":`like-${a.type}-click`}),A.jsx("span",{className:"number-of-likes","data-testid":"number-of-likes",children:l.formatMessage({id:`discussion_likes${r?"_short":""}`},{number:u})})]})})},vR=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(TV,{...t})});var Hs={exports:{}};Hs.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",a=1,o=2,s=9007199254740991,i="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",d="[object Date]",p="[object Error]",f="[object Function]",h="[object GeneratorFunction]",m="[object Map]",w="[object Number]",E="[object Null]",y="[object Object]",T="[object Promise]",R="[object Proxy]",S="[object RegExp]",O="[object Set]",N="[object String]",M="[object Symbol]",H="[object Undefined]",G="[object WeakMap]",W="[object ArrayBuffer]",U="[object DataView]",j="[object Float32Array]",Z="[object Float64Array]",ee="[object Int8Array]",L="[object Int16Array]",K="[object Int32Array]",re="[object Uint8Array]",ge="[object Uint8ClampedArray]",ne="[object Uint16Array]",oe="[object Uint32Array]",ve=/[\\^$.*+?()[\]{}|]/g,Ee=/^\[object .+?Constructor\]$/,ze=/^(?:0|[1-9]\d*)$/,te={};te[j]=te[Z]=te[ee]=te[L]=te[K]=te[re]=te[ge]=te[ne]=te[oe]=!0,te[i]=te[l]=te[W]=te[c]=te[U]=te[d]=te[p]=te[f]=te[m]=te[w]=te[y]=te[S]=te[O]=te[N]=te[G]=!1;var ue=typeof be=="object"&&be&&be.Object===Object&&be,Me=typeof self=="object"&&self&&self.Object===Object&&self,xe=ue||Me||Function("return this")(),ft=t&&!t.nodeType&&t,pt=ft&&!0&&e&&!e.nodeType&&e,fe=pt&&pt.exports===ft,le=fe&&ue.process,Ge=function(){try{return le&&le.binding&&le.binding("util")}catch{}}(),$e=Ge&&Ge.isTypedArray;function gt(g,x){for(var k=-1,z=g==null?0:g.length,we=0,ye=[];++k<z;){var Ce=g[k];x(Ce,k,g)&&(ye[we++]=Ce)}return ye}function ht(g,x){for(var k=-1,z=x.length,we=g.length;++k<z;)g[we+k]=x[k];return g}function bt(g,x){for(var k=-1,z=g==null?0:g.length;++k<z;)if(x(g[k],k,g))return!0;return!1}function et(g,x){for(var k=-1,z=Array(g);++k<g;)z[k]=x(k);return z}function Ft(g){return function(x){return g(x)}}function At(g,x){return g.has(x)}function Ct(g,x){return g==null?void 0:g[x]}function Je(g){var x=-1,k=Array(g.size);return g.forEach(function(z,we){k[++x]=[we,z]}),k}function It(g,x){return function(k){return g(x(k))}}function dt(g){var x=-1,k=Array(g.size);return g.forEach(function(z){k[++x]=z}),k}var it=Array.prototype,Wt=Function.prototype,C=Object.prototype,v=xe["__core-js_shared__"],b=Wt.toString,_=C.hasOwnProperty,P=function(){var g=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||"");return g?"Symbol(src)_1."+g:""}(),I=C.toString,F=RegExp("^"+b.call(_).replace(ve,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ie=fe?xe.Buffer:void 0,de=xe.Symbol,ce=xe.Uint8Array,he=C.propertyIsEnumerable,_e=it.splice,Xe=de?de.toStringTag:void 0,Jt=Object.getOwnPropertySymbols,Ur=ie?ie.isBuffer:void 0,jt=It(Object.keys,Object),Hr=dr(xe,"DataView"),Vt=dr(xe,"Map"),Sr=dr(xe,"Promise"),Zt=dr(xe,"Set"),Rr=dr(xe,"WeakMap"),er=dr(Object,"create"),Gr=xt(Hr),zt=xt(Vt),dn=xt(Sr),Wn=xt(Zt),Vn=xt(Rr),pn=de?de.prototype:void 0,Cr=pn?pn.valueOf:void 0;function tt(g){var x=-1,k=g==null?0:g.length;for(this.clear();++x<k;){var z=g[x];this.set(z[0],z[1])}}function Wr(){this.__data__=er?er(null):{},this.size=0}function Vr(g){var x=this.has(g)&&delete this.__data__[g];return this.size-=x?1:0,x}function ur(g){var x=this.__data__;if(er){var k=x[g];return k===n?void 0:k}return _.call(x,g)?x[g]:void 0}function zr(g){var x=this.__data__;return er?x[g]!==void 0:_.call(x,g)}function zn(g,x){var k=this.__data__;return this.size+=this.has(g)?0:1,k[g]=er&&x===void 0?n:x,this}tt.prototype.clear=Wr,tt.prototype.delete=Vr,tt.prototype.get=ur,tt.prototype.has=zr,tt.prototype.set=zn;function st(g){var x=-1,k=g==null?0:g.length;for(this.clear();++x<k;){var z=g[x];this.set(z[0],z[1])}}function Yn(){this.__data__=[],this.size=0}function Kn(g){var x=this.__data__,k=tr(x,g);if(k<0)return!1;var z=x.length-1;return k==z?x.pop():_e.call(x,k,1),--this.size,!0}function Xn(g){var x=this.__data__,k=tr(x,g);return k<0?void 0:x[k][1]}function Qn(g){return tr(this.__data__,g)>-1}function Yr(g,x){var k=this.__data__,z=tr(k,g);return z<0?(++this.size,k.push([g,x])):k[z][1]=x,this}st.prototype.clear=Yn,st.prototype.delete=Kn,st.prototype.get=Xn,st.prototype.has=Qn,st.prototype.set=Yr;function mt(g){var x=-1,k=g==null?0:g.length;for(this.clear();++x<k;){var z=g[x];this.set(z[0],z[1])}}function Jn(){this.size=0,this.__data__={hash:new tt,map:new(Vt||st),string:new tt}}function Zn(g){var x=Gt(this,g).delete(g);return this.size-=x?1:0,x}function ea(g){return Gt(this,g).get(g)}function ta(g){return Gt(this,g).has(g)}function $(g,x){var k=Gt(this,g),z=k.size;return k.set(g,x),this.size+=k.size==z?0:1,this}mt.prototype.clear=Jn,mt.prototype.delete=Zn,mt.prototype.get=ea,mt.prototype.has=ta,mt.prototype.set=$;function Y(g){var x=-1,k=g==null?0:g.length;for(this.__data__=new mt;++x<k;)this.add(g[x])}function X(g){return this.__data__.set(g,n),this}function J(g){return this.__data__.has(g)}Y.prototype.add=Y.prototype.push=X,Y.prototype.has=J;function pe(g){var x=this.__data__=new st(g);this.size=x.size}function Se(){this.__data__=new st,this.size=0}function Fe(g){var x=this.__data__,k=x.delete(g);return this.size=x.size,k}function Et(g){return this.__data__.get(g)}function _t(g){return this.__data__.has(g)}function yt(g,x){var k=this.__data__;if(k instanceof st){var z=k.__data__;if(!Vt||z.length<r-1)return z.push([g,x]),this.size=++k.size,this;k=this.__data__=new mt(z)}return k.set(g,x),this.size=k.size,this}pe.prototype.clear=Se,pe.prototype.delete=Fe,pe.prototype.get=Et,pe.prototype.has=_t,pe.prototype.set=yt;function rt(g,x){var k=gn(g),z=!k&&ka(g),we=!k&&!z&&En(g),ye=!k&&!z&&!we&&na(g),Ce=k||z||we||ye,Oe=Ce?et(g.length,String):[],nt=Oe.length;for(var ke in g)(x||_.call(g,ke))&&!(Ce&&(ke=="length"||we&&(ke=="offset"||ke=="parent")||ye&&(ke=="buffer"||ke=="byteLength"||ke=="byteOffset")||Pr(ke,nt)))&&Oe.push(ke);return Oe}function tr(g,x){for(var k=g.length;k--;)if($a(g[k][0],x))return k;return-1}function xr(g,x,k){var z=x(g);return gn(g)?z:ht(z,k(g))}function cr(g){return g==null?g===void 0?H:E:Xe&&Xe in Object(g)?pr(g):Ma(g)}function Kr(g){return rr(g)&&cr(g)==i}function Xr(g,x,k,z,we){return g===x?!0:g==null||x==null||!rr(g)&&!rr(x)?g!==g&&x!==x:hn(g,x,k,z,Xr,we)}function hn(g,x,k,z,we,ye){var Ce=gn(g),Oe=gn(x),nt=Ce?l:Yt(g),ke=Oe?l:Yt(x);nt=nt==i?y:nt,ke=ke==i?y:ke;var wt=nt==y,Ot=ke==y,lt=nt==ke;if(lt&&En(g)){if(!En(x))return!1;Ce=!0,wt=!1}if(lt&&!wt)return ye||(ye=new pe),Ce||na(g)?Or(g,x,k,z,we,ye):vn(g,x,nt,k,z,we,ye);if(!(k&a)){var Tt=wt&&_.call(g,"__wrapped__"),vt=Ot&&_.call(x,"__wrapped__");if(Tt||vt){var Ar=Tt?g.value():g,hr=vt?x.value():x;return ye||(ye=new pe),we(Ar,hr,k,z,ye)}}return lt?(ye||(ye=new pe),fr(g,x,k,z,we,ye)):!1}function mn(g){if(!Ba(g)||go(g))return!1;var x=La(g)?F:Ee;return x.test(xt(g))}function Ut(g){return rr(g)&&ra(g.length)&&!!te[cr(g)]}function yn(g){if(!bo(g))return jt(g);var x=[];for(var k in Object(g))_.call(g,k)&&k!="constructor"&&x.push(k);return x}function Or(g,x,k,z,we,ye){var Ce=k&a,Oe=g.length,nt=x.length;if(Oe!=nt&&!(Ce&&nt>Oe))return!1;var ke=ye.get(g);if(ke&&ye.get(x))return ke==x;var wt=-1,Ot=!0,lt=k&o?new Y:void 0;for(ye.set(g,x),ye.set(x,g);++wt<Oe;){var Tt=g[wt],vt=x[wt];if(z)var Ar=Ce?z(vt,Tt,wt,x,g,ye):z(Tt,vt,wt,g,x,ye);if(Ar!==void 0){if(Ar)continue;Ot=!1;break}if(lt){if(!bt(x,function(hr,Qr){if(!At(lt,Qr)&&(Tt===hr||we(Tt,hr,k,z,ye)))return lt.push(Qr)})){Ot=!1;break}}else if(!(Tt===vt||we(Tt,vt,k,z,ye))){Ot=!1;break}}return ye.delete(g),ye.delete(x),Ot}function vn(g,x,k,z,we,ye,Ce){switch(k){case U:if(g.byteLength!=x.byteLength||g.byteOffset!=x.byteOffset)return!1;g=g.buffer,x=x.buffer;case W:return!(g.byteLength!=x.byteLength||!ye(new ce(g),new ce(x)));case c:case d:case w:return $a(+g,+x);case p:return g.name==x.name&&g.message==x.message;case S:case N:return g==x+"";case m:var Oe=Je;case O:var nt=z&a;if(Oe||(Oe=dt),g.size!=x.size&&!nt)return!1;var ke=Ce.get(g);if(ke)return ke==x;z|=o,Ce.set(g,x);var wt=Or(Oe(g),Oe(x),z,we,ye,Ce);return Ce.delete(g),wt;case M:if(Cr)return Cr.call(g)==Cr.call(x)}return!1}function fr(g,x,k,z,we,ye){var Ce=k&a,Oe=Ht(g),nt=Oe.length,ke=Ht(x),wt=ke.length;if(nt!=wt&&!Ce)return!1;for(var Ot=nt;Ot--;){var lt=Oe[Ot];if(!(Ce?lt in x:_.call(x,lt)))return!1}var Tt=ye.get(g);if(Tt&&ye.get(x))return Tt==x;var vt=!0;ye.set(g,x),ye.set(x,g);for(var Ar=Ce;++Ot<nt;){lt=Oe[Ot];var hr=g[lt],Qr=x[lt];if(z)var Ri=Ce?z(Qr,hr,lt,x,g,ye):z(hr,Qr,lt,g,x,ye);if(!(Ri===void 0?hr===Qr||we(hr,Qr,k,z,ye):Ri)){vt=!1;break}Ar||(Ar=lt=="constructor")}if(vt&&!Ar){var Ir=g.constructor,_n=x.constructor;Ir!=_n&&"constructor"in g&&"constructor"in x&&!(typeof Ir=="function"&&Ir instanceof Ir&&typeof _n=="function"&&_n instanceof _n)&&(vt=!1)}return ye.delete(g),ye.delete(x),vt}function Ht(g){return xr(g,Da,yo)}function Gt(g,x){var k=g.__data__;return vo(x)?k[typeof x=="string"?"string":"hash"]:k.map}function dr(g,x){var k=Ct(g,x);return mn(k)?k:void 0}function pr(g){var x=_.call(g,Xe),k=g[Xe];try{g[Xe]=void 0;var z=!0}catch{}var we=I.call(g);return z&&(x?g[Xe]=k:delete g[Xe]),we}var yo=Jt?function(g){return g==null?[]:(g=Object(g),gt(Jt(g),function(x){return he.call(g,x)}))}:qa,Yt=cr;(Hr&&Yt(new Hr(new ArrayBuffer(1)))!=U||Vt&&Yt(new Vt)!=m||Sr&&Yt(Sr.resolve())!=T||Zt&&Yt(new Zt)!=O||Rr&&Yt(new Rr)!=G)&&(Yt=function(g){var x=cr(g),k=x==y?g.constructor:void 0,z=k?xt(k):"";if(z)switch(z){case Gr:return U;case zt:return m;case dn:return T;case Wn:return O;case Vn:return G}return x});function Pr(g,x){return x=x??s,!!x&&(typeof g=="number"||ze.test(g))&&g>-1&&g%1==0&&g<x}function vo(g){var x=typeof g;return x=="string"||x=="number"||x=="symbol"||x=="boolean"?g!=="__proto__":g===null}function go(g){return!!P&&P in g}function bo(g){var x=g&&g.constructor,k=typeof x=="function"&&x.prototype||C;return g===k}function Ma(g){return I.call(g)}function xt(g){if(g!=null){try{return b.call(g)}catch{}try{return g+""}catch{}}return""}function $a(g,x){return g===x||g!==g&&x!==x}var ka=Kr(function(){return arguments}())?Kr:function(g){return rr(g)&&_.call(g,"callee")&&!he.call(g,"callee")},gn=Array.isArray;function bn(g){return g!=null&&ra(g.length)&&!La(g)}var En=Ur||_o;function Eo(g,x){return Xr(g,x)}function La(g){if(!Ba(g))return!1;var x=cr(g);return x==f||x==h||x==u||x==R}function ra(g){return typeof g=="number"&&g>-1&&g%1==0&&g<=s}function Ba(g){var x=typeof g;return g!=null&&(x=="object"||x=="function")}function rr(g){return g!=null&&typeof g=="object"}var na=$e?Ft($e):Ut;function Da(g){return bn(g)?rt(g):yn(g)}function qa(){return[]}function _o(){return!1}e.exports=Eo})(Hs,Hs.exports);var SV=Hs.exports;const RV=wr(SV),CV=e=>{const t={};return Object.keys(e).forEach(r=>{t[`${r}Slug`]=e[r]}),t},AE="discussion_",xV=({content:e,isLoading:t=!1,originalAuthorId:r,functions:{content:{createContent:n,deleteContent:a,updateContent:o},likes:{createLike:s,deleteLike:i}},className:l,gtmContext:u="DiscussionAnswer",locale:c="en",children:d})=>{const p=Ze(),f=Q.useContext(Si),h=Q.useContext(ym),[m,w]=Q.useState({body:e&&e.body||"",isEditing:!1,didEdit:e&&e.isEdited||!1}),[E,y]=Q.useState("");if(Q.useEffect(()=>{w({...m,body:e&&e.body||"",didEdit:e&&e.isEdited||!1})},[e.isEdited]),t||!e||e.type==="answer"&&(!e.slugs||!e.slugs.question))return A.jsx(wa,{className:"discussion-card discussion-post"});const{author:T,createdAt:R,likes:S=0,userLiked:O}=e,N=f&&f.id&&T.id&&T.id!==f.id,M=async G=>{G||(G=""),y("");try{RV(G,m.body)||await o(CV(e.slugs),{body:G}),w({body:G,isEditing:!1,didEdit:!0})}catch{y(`${AE}form_error`)}},H=()=>{h&&h.updateConversation&&h.updateConversation({showThread:!0,showForm:!0}),setTimeout(()=>{const W=`reply-form-${(e.type==="answer"?e.slug:e.slugs.answer||"").toLowerCase().slice(-15)}`,U=document.getElementById(W),j=document.getElementById(`${W}-input`);j&&j.focus(),U&&U.scrollIntoView({behavior:"smooth"})},0)};return A.jsxs("div",{className:Te("discussion-post",l),"data-testid":`discussion-${e.type}-thread`,children:[A.jsxs("div",{className:Te("discussion-card",e.type,{editing:m.isEditing}),children:[!m.isEditing&&A.jsx(_m,{member:T,additionalContent:{createdAt:R,didEdit:m.didEdit},className:T.id===r?"highlighted":"",gtmContext:u,gtmType:"profile-click"}),m.isEditing?A.jsx(yR,{content:{type:e.type,slugs:e.slugs},meta:{isLoading:t,isInWrapper:!0,isEditing:{text:m.body}},forceShow:{error:E!==""&&E!=="delete-error"?p.formatMessage({id:E},{action:p.formatMessage({id:`discussion_action_${e.type}`})}):!1},functions:{create:n,handleSaveEdit:M,handleCancel:()=>{y(""),w({...m,isEditing:!1})}},gtmContext:`${u}Form`}):A.jsx(cR,{children:m.body}),!m.isEditing&&A.jsxs("ul",{className:Te("actions",e.type),"data-testid":`${e.type}-actions`,children:[A.jsx(vR,{element:"li",likes:S,isShort:!1,userLiked:O,content:{type:e.type,slugs:e.slugs},canLike:N,createLike:s,deleteLike:i,locale:c}),(e.type==="answer"||e.type==="reply")&&A.jsx("li",{children:A.jsx(Qt,{variant:"tertiary",size:"medium",styling:{muted:!0},onClick:H,children:p.formatMessage({id:`${AE}thread_reply_button`})})})]})]}),d]})},OV=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(xV,{...t})});const rs="emailHelperTextBox_",PV=({type:e,email:t,redirectPath:r,resendVerificationCode:n})=>{const a=Ze(),[o,s]=Q.useState({path:`${rs}default`,type:"default",link:{},mail:{},error:""}),[i,l]=Q.useState(!1),u=Q.useCallback(f=>{f.preventDefault(),f.stopPropagation();const h=m=>{s({path:`${rs}error_verificationFailedToSend`,type:"error",link:{"data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:w=>u(w),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:m})};if(typeof n!="function"){h(a.formatMessage({id:`${rs}error_noFunction`}));return}l(!0),n(t).then(()=>{localStorage.setItem("email",t),window.location.href=r||"/signup/verify-email"}).catch(m=>{h(m.message)}).finally(()=>{l(!1)})},[t,r,n]);Q.useEffect(()=>{let f=rs,h="default",m={},w={};switch(e){case"gov":f+="autoApproved",h="success";break;case"nonGov":f+="unrecognisedEmail",h="error",m={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",h="error",w={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",h="error",m={href:"#","data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:E=>u(E),"data-testid":"send-verify-email-click"};break;case"exists":f+="emailAlreadyExists",h="error",m={href:"/user-onboarding/login","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"login-click"},w={href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"email-concierge-click"};break;default:f+="default",m={href:"https://about.apolitical.co/who-can-join-the-community","data-gtm-event-context":"DefaultEmailHelperTextBox","data-gtm-event-type":"LearnMoreClick"};break}s({...o,path:f,type:h,link:m,mail:w})},[e]);const c={};return["link","mail"].forEach(f=>{c[f]=Object.keys(o[f]).length?h=>A.jsx("a",{...o[f],children:h}):h=>h}),A.jsx(uR,{type:o.type,heading:i?!1:a.formatMessage({id:`${o.path}_title`}),children:i?A.jsxs(A.Fragment,{children:[A.jsx(wa,{element:"span"}),A.jsx(wa,{element:"span"})]}):a.formatMessage({id:`${o.path}_text`},{...c,strong:f=>A.jsx("strong",{children:f}),em:f=>A.jsx("em",{children:f}),br:A.jsxs(A.Fragment,{children:[A.jsx("br",{}),A.jsx("br",{})]}),error:o.error})})},AV=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(PV,{...t})});const ns="passwordRules_",gR="isMoreThanEightCharacters",bR="includesNumberAndSymbol",ER="includesLowerAndUppercase",IV={[gR]:"8Characters",[bR]:"numberSymbol",[ER]:"lowercaseUppercase"},NV=({matchingRules:e={isMoreThanEightCharacters:!1,includesNumberAndSymbol:!1,includesLowerAndUppercase:!1},className:t=""})=>{const r=Ze();return A.jsxs("aside",{className:Te("password-rules",t),children:[A.jsx("small",{children:r.formatMessage({id:`${ns}intro`})}),A.jsx("ul",{children:[gR,bR,ER].map(n=>A.jsxs("li",{className:Te({matches:e[n]}),children:[A.jsxs(Dt,{children:[r.formatMessage({id:`${ns}rule_label`})," "]}),A.jsx("span",{children:r.formatMessage({id:`${ns}rule_${IV[n]}`})}),!e[n]&&A.jsxs(Dt,{element:"strong",children:[" "," ",r.formatMessage({id:`${ns}notMet`})]})]},`rule-${n}`))})]})},MV=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(NV,{...t})}),$V=Q.memo(MV);const kV=({text:e={},topRating:t=5,functions:{createRating:r=()=>null,updateRating:n=()=>{},reportError:a=()=>{}},className:o="",hasLoaded:s=!1})=>{const i=Ze(),[l,u]=Q.useState({setUp:!1,id:null,rating:null,disabled:!0}),c=async()=>{try{const E=await r();u(y=>({...y,setUp:!0,id:E&&E.id,disabled:!1}))}catch(E){u(y=>({...y,setUp:!0,disabled:!0})),a(E)}};if(Q.useEffect(()=>{s&&!l.setUp&&c()},[s]),!s)return A.jsx(wa,{className:"rating-placeholder"});const{id:d,rating:p,disabled:f}=l,h="ratings_",m={text:i.formatMessage({id:`${h}text`}),low:i.formatMessage({id:`${h}low`}),high:i.formatMessage({id:`${h}high`}),success:i.formatMessage({id:`${h}success`}),...e},w=async E=>{if(!(!d||f))try{u(y=>({...y,rating:E,disabled:!0})),await n({id:d,value:E})}catch(y){u(T=>({...T,rating:null})),a(y)}finally{u(y=>({...y,disabled:!1}))}};return A.jsxs("div",{className:Te("rating",o),children:[A.jsx("span",{className:"label",children:m[p?"success":"text"]}),A.jsx("ol",{children:Array.from(new Array(t).keys()).map(E=>{const y=E+1;return A.jsx("li",{className:Te({selected:p&&y<=p}),children:A.jsx(Qt,{variant:"tertiary",size:"small",icon:{icon:`star${!p||y>p?"_empty":""}`,position:"left",hover:"star"},screenreaderText:`${i.formatMessage({id:`${h}stars`},{number:y,total:t})}${y===1||y===t?` - ${m[y===1?"low":"high"]}`:""}`,onClick:T=>{T.preventDefault(),T.stopPropagation(),w(y)},disabled:f})},`rating-${y}`)})})]})},LV=({locale:e="en",...t})=>A.jsx(ot,{children:A.jsx(kV,{...t})});const BV=({id:e="search",className:t="",handleToggle:r=!1,defaultValue:n="",gtmContext:a="search-bar",gtmEvent:o="form-submission"})=>{const{searchIsOpen:s=!0,isDesktopVersion:i=!1}=r||{},l=Ze(),u=Q.useRef(null);ys(()=>{!r||i||!s||u.current&&u.current.focus()},[s]);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=${encodeURIComponent(u.current.value)}`)};return A.jsx("form",{onSubmit:c,className:Te("search-form gtm-trackable",t),"data-gtm-event-context":a,"data-gtm-event-type":o,children:A.jsx("fieldset",{id:`${e}-form`,hidden:r?!s:!1,role:"search",children:A.jsxs("p",{children:[A.jsx(Dt,{element:"label",htmlFor:e,children:l.formatMessage({id:"search_label"})}),A.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)}}),A.jsx("button",{className:"clear",onClick:d=>{d.preventDefault(),d.stopPropagation(),u.current&&u.current.value&&(u.current.value="")},children:A.jsx(Dt,{children:l.formatMessage({id:"search_clear"})})}),A.jsx("button",{className:"search",onClick:c,children:A.jsx(Dt,{children:l.formatMessage({id:"search_cta"})})})]})})})},_R=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(BV,{...t})});const DV=({text:e,buttons:t,className:r=""})=>{const n=[];return t.forEach(a=>{n.push({href:a.link,variant:"secondary",size:{mobile:"medium",1024:"large"},className:"gtm-trackable","data-gtm-event-type":"download-click","data-gtm-event-context":a.eventContext||"Download",target:"_blank",children:a.text})}),A.jsxs("section",{className:Te("download-section",r),children:[Q.createElement(typeof e=="string"?"h2":e.element,{className:"text"},typeof e=="string"?e:e.text),A.jsx(Hc,{buttons:n})]})};const qV=({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 A.jsxs("div",{className:Te("logos",r),children:[e&&Q.createElement(a.element,{className:"title"},a.text),A.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:s,link:i=!1,description:l=!1},u)=>{if(!o||!o.url)return null;const c=A.jsx("img",{src:o.url,width:o.width||"auto",height:o.height||"auto",alt:s});return A.jsxs("li",{children:[A.jsx("p",{className:"img-wrapper",children:i?A.jsx("a",{href:i,target:"_blank",rel:"nofollow noreferrer noopener",children:c}):c}),l&&A.jsx("small",{children:l})]},window.btoa(`${o.url}_${u}`))})})]})};const np="cookieBanner_",ap=["apol-cookie-banner","apolitical-performance-cookie-consent","functional-cookie-consent"],op=new Date(Date.now()+12*30*24*60*60*1e3),FV=()=>{const e=Ze(),[t,r,n]=GE(ap),[a,o]=Q.useState(!t["apol-cookie-banner"]),s=()=>{ap.forEach(c=>{r(c,!0,{path:"/",expires:op,domain:c==="apolitical-performance-cookie-consent"?".apolitical.co":void 0})}),o(!1),window.location.reload()},i=()=>{r("apol-cookie-banner",!0,{path:"/",expires:op}),ap.forEach(c=>{if(c==="apol-cookie-banner"){r(c,!0,{path:"/",expires:op});return}n(c)}),o(!1)};if(!a)return null;const l=[{id:"settings",href:"/pages/cookie-policy",gtmType:"policy-page"},{id:"reject",onClick:i,gtmType:"reject-all"},{id:"accept",onClick:s,gtmType:"accepted-all"}],u=[];return l.forEach(c=>{u.push({variant:c.href?"tertiary":"primary",href:c.href,onClick:c.onClick,className:"gtm-trackable","data-gtm-event-context":"cookie-banner","data-gtm-event-type":`cookie-${c.gtmType}-click`,children:e.formatMessage({id:`${np}buttons_${c.id}`})})}),A.jsxs("aside",{id:"cookie-banner",className:"text-medium",children:[A.jsx("h6",{children:e.formatMessage({id:`${np}title`})}),A.jsx("p",{children:e.formatMessage({id:`${np}text`})}),A.jsx(Hc,{buttons:u})]})},wR=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(FV,{...t})});const jV=({options:e,allOption:t=!1,allowMultiple:r=!0,onChange:n=()=>{},className:a=""})=>{const o=Ze(),s=t?[{id:"all",text:typeof t!="boolean"&&t.text||o.formatMessage({id:"filters_all"})},...e]:e,[i,l]=Q.useState(t?["all"]:[]),u=(c,d)=>{let p=[];i.includes(c)?p=i.filter(f=>f!==c):c==="all"?p=["all"]:r?p=[...i.filter(f=>f!=="all"),c]:p=[c],l(f=>(n&&typeof n=="function"&&n({current:p,previous:f}),p)),d&&typeof d=="function"&&d()};return A.jsx("ul",{className:Te("filters",a),children:s.map(({id:c,text:d,disabled:p=!1,callback:f=()=>{}})=>{let h={};return p&&(h={disabled:!0,"aria-label":o.formatMessage({id:"filters_disabled"},{name:d})}),A.jsx("li",{children:A.jsx("button",{className:Te(c,{selected:i.includes(c)}),onClick:m=>{m.preventDefault(),m.stopPropagation(),u(c,f)},...h,children:d})},c)})})},UV=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(jV,{...t})});const ip=$p({locale:"en",messages:Hh}),HV=({page:e=1,length:t=0,limit:r=10,loadNextPage:n=()=>{},icon:a=!1,messages:o={button:ip.formatMessage({id:"loadMore_button"}),endOfFeed:ip.formatMessage({id:"loadMore_endOfFeed"}),error:ip.formatMessage({id:"loadMore_error"})},className:s="",gtmContext:i="LoadMore"})=>{const[l,u]=Q.useState(!1),[c,d]=Q.useState(!1);if(t<=0||t<r*e)return null;const p=async f=>{try{await n(f)}catch(h){h instanceof Error&&h.message&&h.message.includes("Cannot read items")?d(!0):u(!0)}};return A.jsxs("footer",{className:Te("load-more",s),children:[l&&A.jsx("p",{className:"error",children:o.error}),c?A.jsx("p",{children:o.endOfFeed}):A.jsx(Qt,{variant:"secondary",icon:a,onClick:p,"data-gtm-event-context":i,"data-gtm-event-type":"load-more-click",className:"gtm-trackable","data-testid":"load-more-button",children:o.button})]})},GV=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(HV,{...t})});const WV=({variant:e="default",version:t="default",className:r="",...n})=>A.jsx("p",{className:"logo-wrapper",children:A.jsx("a",{className:Te("logo",e,t,r),href:"/home/",...n,children:A.jsx(Dt,{children:A.jsx(ma,{id:"apolitical"})})})}),wm=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(WV,{...t})}),IE={default:"tags_",headerTopics:"header_topics_topics_"},sp={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"},VV={getTagDetails:e=>{if(e.includes("topic_")){if(e=sp.topic[e.replace("topic_","")],e){const t=hi.topics.topics[e].href;return t?{id:e,href:t,text:`${IE.headerTopics}${e}`}:null}return null}return sp[e]?(e=sp[e],{id:e,text:`${IE.default}${e}`}):null}};const zV=({tags:e=[],color:t="default",forceOneLine:r=!1,canHaveLinks:n=!0,className:a="",gtmType:o="tag-click",gtmContext:s="tags"})=>{const i=Ze();if(!e||e.length<1)return null;const l=[];return e.forEach(u=>{if(!u)return;const c=VV.getTagDetails(u);c&&l.push(c)}),l.length<1?null:A.jsx("ul",{className:Te("tags text-small",t,a,{"one-line":r}),children:l.map(u=>{const c=i.formatMessage({id:u.text});return A.jsx("li",{children:u.href&&n?A.jsx("a",{href:u.href,className:"gtm-trackable","data-gtm-event-type":o,"data-gtm-event-context":s,children:c}):c},u.id)})})},YV=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(zV,{...t})}),on={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 Xa="footer_",Gs="SiteFooter",NE=({group:e})=>{const t=on[e].order||[];let r=!1;return"text"in on[e]&&(r=on[e].text),A.jsxs(Q.Fragment,{children:[A.jsx("p",{className:"pre-title",children:A.jsx(ma,{id:`${Xa}${e}`})}),Array.isArray(t)&&t.length>0&&A.jsx("ul",{className:"text-medium",children:t.map(n=>{if(["order","child","text"].includes(n))return null;const{href:a,gtmType:o}=on[e][n],s={};return["legal"].includes(e)&&(s.target="_blank",s.rel="noopener"),A.jsx("li",{children:A.jsx("a",{href:a,className:"gtm-trackable","data-gtm-event-context":Gs,"data-gtm-event-type":o,...s,children:A.jsx(ma,{id:`${Xa}${e}_${n}`})})},`${e}_${n}`)})}),typeof r!="boolean"&&"order"in r&&Array.isArray(r.order)&&A.jsx("dl",{className:"text-medium",children:r.order.map(n=>A.jsxs(Q.Fragment,{children:[A.jsx("dt",{children:A.jsx(ma,{id:`${Xa}${e}_${n}`})}),A.jsxs("dd",{children:[typeof r!="boolean"&&r[n].address&&A.jsx("address",{children:A.jsx(ma,{id:`${Xa}${e}_${n}_address`,values:{br:A.jsx("br",{})}})}),typeof r!="boolean"&&r[n].email&&A.jsx("a",{href:`mailto:${r[n].email}`,className:"gtm-trackable","data-gtm-event-context":Gs,"data-gtm-event-type":r[n].gtmType,children:r[n].email})]})]},`dl-${e}-${n}`))})]},e)},KV=()=>A.jsx("div",{id:"footer",children:A.jsxs("div",{className:"wrapper",children:[A.jsx(Sh,{element:"hr"}),A.jsx(wm,{variant:"inverted",version:"full",className:"gtm-trackable","data-gtm-event-context":Gs,"data-gtm-event-type":"logo-homepage-link"}),A.jsx("footer",{children:["platform","community","company","contact"].map(e=>A.jsxs("div",{className:"group",children:[A.jsx(NE,{group:e}),Object.keys(on[e]).includes("child")&&A.jsx(NE,{group:on[e].child})]},e))}),A.jsx("hr",{}),A.jsxs("div",{className:"sub-footer",children:[A.jsx("ul",{children:Array.isArray(on.social.order)&&on.social.order.map(e=>{const t=on.social[e];return A.jsx("li",{className:e,children:A.jsx("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"gtm-trackable","data-gtm-event-context":Gs,"data-gtm-event-type":"social-click",children:A.jsx("span",{className:"hidden",children:A.jsx(ma,{id:`${Xa}social_${e}`})})})},e)})}),A.jsx("small",{children:A.jsx(ma,{id:`${Xa}copyright`,values:{currentYear:new Date().getFullYear()}})})]})]})}),Tm=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(KV,{...t})});var XV="Expected a function",TR="__lodash_hash_undefined__",SR=1/0,QV="[object Function]",JV="[object GeneratorFunction]",ZV="[object Symbol]",ez=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tz=/^\w*$/,rz=/^\./,nz=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,az=/[\\^$.*+?()[\]{}|]/g,oz=/\\(\\)?/g,iz=/^\[object .+?Constructor\]$/,sz=typeof be=="object"&&be&&be.Object===Object&&be,lz=typeof self=="object"&&self&&self.Object===Object&&self,Sm=sz||lz||Function("return this")();function uz(e,t){return e==null?void 0:e[t]}function cz(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var fz=Array.prototype,dz=Function.prototype,RR=Object.prototype,lp=Sm["__core-js_shared__"],ME=function(){var e=/[^.]+$/.exec(lp&&lp.keys&&lp.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),CR=dz.toString,Rm=RR.hasOwnProperty,xR=RR.toString,pz=RegExp("^"+CR.call(Rm).replace(az,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$E=Sm.Symbol,hz=fz.splice,mz=OR(Sm,"Map"),pi=OR(Object,"create"),kE=$E?$E.prototype:void 0,LE=kE?kE.toString:void 0;function Ta(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 yz(){this.__data__=pi?pi(null):{}}function vz(e){return this.has(e)&&delete this.__data__[e]}function gz(e){var t=this.__data__;if(pi){var r=t[e];return r===TR?void 0:r}return Rm.call(t,e)?t[e]:void 0}function bz(e){var t=this.__data__;return pi?t[e]!==void 0:Rm.call(t,e)}function Ez(e,t){var r=this.__data__;return r[e]=pi&&t===void 0?TR:t,this}Ta.prototype.clear=yz;Ta.prototype.delete=vz;Ta.prototype.get=gz;Ta.prototype.has=bz;Ta.prototype.set=Ez;function mo(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 _z(){this.__data__=[]}function wz(e){var t=this.__data__,r=Wc(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():hz.call(t,r,1),!0}function Tz(e){var t=this.__data__,r=Wc(t,e);return r<0?void 0:t[r][1]}function Sz(e){return Wc(this.__data__,e)>-1}function Rz(e,t){var r=this.__data__,n=Wc(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}mo.prototype.clear=_z;mo.prototype.delete=wz;mo.prototype.get=Tz;mo.prototype.has=Sz;mo.prototype.set=Rz;function Na(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 Cz(){this.__data__={hash:new Ta,map:new(mz||mo),string:new Ta}}function xz(e){return Vc(this,e).delete(e)}function Oz(e){return Vc(this,e).get(e)}function Pz(e){return Vc(this,e).has(e)}function Az(e,t){return Vc(this,e).set(e,t),this}Na.prototype.clear=Cz;Na.prototype.delete=xz;Na.prototype.get=Oz;Na.prototype.has=Pz;Na.prototype.set=Az;function Wc(e,t){for(var r=e.length;r--;)if(jz(e[r][0],t))return r;return-1}function Iz(e,t){t=kz(t,e)?[t]:$z(t);for(var r=0,n=t.length;e!=null&&r<n;)e=e[qz(t[r++])];return r&&r==n?e:void 0}function Nz(e){if(!AR(e)||Bz(e))return!1;var t=Uz(e)||cz(e)?pz:iz;return t.test(Fz(e))}function Mz(e){if(typeof e=="string")return e;if(xm(e))return LE?LE.call(e):"";var t=e+"";return t=="0"&&1/e==-SR?"-0":t}function $z(e){return PR(e)?e:Dz(e)}function Vc(e,t){var r=e.__data__;return Lz(t)?r[typeof t=="string"?"string":"hash"]:r.map}function OR(e,t){var r=uz(e,t);return Nz(r)?r:void 0}function kz(e,t){if(PR(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||xm(e)?!0:tz.test(e)||!ez.test(e)||t!=null&&e in Object(t)}function Lz(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Bz(e){return!!ME&&ME in e}var Dz=Cm(function(e){e=Gz(e);var t=[];return rz.test(e)&&t.push(""),e.replace(nz,function(r,n,a,o){t.push(a?o.replace(oz,"$1"):n||r)}),t});function qz(e){if(typeof e=="string"||xm(e))return e;var t=e+"";return t=="0"&&1/e==-SR?"-0":t}function Fz(e){if(e!=null){try{return CR.call(e)}catch{}try{return e+""}catch{}}return""}function Cm(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(XV);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 s=e.apply(this,n);return r.cache=o.set(a,s),s};return r.cache=new(Cm.Cache||Na),r}Cm.Cache=Na;function jz(e,t){return e===t||e!==e&&t!==t}var PR=Array.isArray;function Uz(e){var t=AR(e)?xR.call(e):"";return t==QV||t==JV}function AR(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Hz(e){return!!e&&typeof e=="object"}function xm(e){return typeof e=="symbol"||Hz(e)&&xR.call(e)==ZV}function Gz(e){return e==null?"":Mz(e)}function Wz(e,t,r){var n=e==null?void 0:Iz(e,t);return n===void 0?r:n}var Vz=Wz;const IR=wr(Vz),He={timeouts:{},handlerCalled:{},getIsDesktopVersion:(e,t)=>{const r={navigation:{loggedIn:769,loggedOut:881},search:{loggedIn:961,loggedOut:1121}},n=o=>{const s=`logged${e?"In":"Out"}`;return t>=r[o][s]};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&&He.handlerCalled[e]&&a-He.handlerCalled[e]<500)return;He.handlerCalled[e]=a;let o=[{type:`menus.${e}`,value:t}];t===!0&&Object.keys(r).forEach(s=>{s===e||r[s]===!1||o.push({type:`menus.${s}`,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=IR(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?He.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 s,i;switch(e){case"navigation":if(r){const l=He.findFirstChild(t.current.children,"attributes.aria-controls","navigation");s=He.findFirstChild(l.children,"href")}else s=He.findFirstChild(t.current.children,"href");s||(s=t.current);break;case"account":if(i=He.findFirstChild(t.current.children,"className","account"),!i||!i.children)return;s=He.findFirstChild(i.children,"href");break;default:return}s&&(a([{type:`focusElements.${e}.${o}`,value:s}]),s.focus())},events:{onClick:(e,{id:t,callback:r,isOpen:n})=>{e.target&&e.target.attributes&&e.target.attributes.href||(e.preventDefault(),e.stopPropagation(),clearTimeout(He.timeouts[t]),r(t,!n))},onFocus:({id:e})=>{clearTimeout(He.timeouts[e])},onMouseEnter:({id:e,callback:t})=>{clearTimeout(He.timeouts[e]),t(e,!0)},onBlur:({id:e,callback:t})=>{He.timeouts[e]=setTimeout(()=>{t(e,!1)},250)}}},hi={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"}}}},Ws=({id:e,isLoggedIn:t=!1,isDesktopVersion:r=!1,menus:n={},callback:a=()=>{},doTrack:o=null})=>{const s=Ze(),i=IR(hi,e);if(!i||i.onlyShow&&(i.onlyShow==="logged-in"&&!t||i.onlyShow==="logged-out"&&t))return null;const l="doTrack"in i,u=o===null?l?i.doTrack:!0:o,c=e.includes("buttons.");let d=`header_${e.replaceAll(".","_")}`;i.hasVariantText&&(d+=`_logged${t?"In":"Out"}`);let p=!1;if(i.href){let y=i.gtmType||`${e}-click`;if(y.includes(".")){const T=y.split("."),R=T[T.length-2];y=`${R==="topics"?`${R}-`:""}${T[T.length-1]}`}p={href:i.href,role:"menuitem"},u&&(p={...p,className:"gtm-trackable","data-gtm-event-type":y,"data-gtm-event-context":"HeaderButtons"}),c&&(p={...p,variant:"secondary",size:{mobile:"small",881:"large"},...i.props||{}})}const f=i.order&&i.order[0]&&i[i.order[0]],h=f&&i[i.order[0]].order,m=p&&typeof window<"u"&&window.location&&window.location.pathname===i.href;let w={},E={};if(f){const y=i.menuId||e,T={onClick:R=>He.events.onClick(R,{id:y,callback:a,isOpen:n[y]}),onFocus:()=>He.events.onFocus({id:y}),onBlur:()=>He.events.onBlur({id:y,callback:a}),onMouseLeave:()=>He.events.onBlur({id:y,callback:a}),onMouseEnter:()=>He.events.onMouseEnter({id:y,callback:a})};r&&(h&&(w={...T,onKeyPress:R=>{R.key==="Enter"&&He.events.onClick(R,{id:y,callback:a,isOpen:n[y]})},tabIndex:"0","aria-haspopup":!0,"aria-expanded":n[y],"aria-controls":y}),E={hidden:y in n?!n[y]:!0}),h||(E={...E,...T})}return A.jsxs("li",{className:Te({[i.className]:i.className,"has-submenu":f,parent:h,active:m}),role:"none",...w,children:[p?Q.createElement(c?Qt:"a",p,s.formatMessage({id:d})):s.formatMessage({id:d}),i.order&&A.jsx("ul",{...E,children:i.order.map(y=>{if(!i[y])return null;const T={isLoggedIn:t,isDesktopVersion:r,menus:n,callback:a,doTrack:l?u:null};return i[y].order?A.jsxs("li",{className:Te({[i[y].className]:i[y].className}),children:[s.formatMessage({id:`${d}_${y}`}),A.jsx("ul",{children:i[y].order.map(R=>A.jsx(Ws,{id:`${e}.${y}.${R}`,...T},R))})]},y):A.jsx(Ws,{id:`${e}.${y}`,...T},y)})})]},e)};const zz={height:67,height_desktop:83},Yz=()=>{const e=Ze(),t=Q.useContext(Si),r=Qs(!0,!0),n=t&&typeof t.id=="string",a=Q.useMemo(()=>He.getIsDesktopVersion(n,r),[n,r]),[o,s]=Q.useReducer(eI,{headerIsVisible:!0,menus:{navigation:!1,search:!1,account:!1},focusElements:{navigation:{desktop:!1,default:!1},account:{desktop:!1,default:!1}}}),{headerIsVisible:i,menus:l,focusElements:u}=o;F0({scrollPosition:zz[`height${a.navigation?"_desktop":""}`],callbacks:{scrollUp:()=>{!a&&l.navigation||He.shouldChangeHeaderIsVisible(!0,l,s)},scrollDown:()=>{!a&&l.navigation||He.shouldChangeHeaderIsVisible(!1,l,s)}}});const c=(p,f)=>{He.handleMenus({id:p,value:f,menus:l,dispatch:s})},d=Q.useRef(null);return ys(()=>{l.navigation&&He.autoFocus({menu:"navigation",navigationRef:d,isDesktopVersion:a.navigation,focusElements:u,dispatch:s})},[l.navigation]),ys(()=>{l.account&&He.autoFocus({menu:"account",navigationRef:d,isDesktopVersion:a.navigation,focusElements:u,dispatch:s})},[l.account]),t&&t.isLoading?null:A.jsxs(A.Fragment,{children:[A.jsxs("nav",{id:"header",className:Te({"logged-in":n,"logged-out":!n,visible:i}),children:[A.jsx(Dt,{element:"a",href:"#content-of-page",children:e.formatMessage({id:"header_skip"})}),A.jsx(wm,{}),!a.navigation&&A.jsx("button",{className:"menu-button gtm-trackable",onClick:p=>{p.preventDefault(),p.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:A.jsx(Dt,{children:e.formatMessage({id:`header_menu_${l.navigation?"hide":"show"}`})})}),A.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:hi.order.map(p=>A.jsx(Ws,{id:p,isLoggedIn:n,isDesktopVersion:a.navigation,menus:{navigation:l.navigation,account:l.account},callback:c},p))}),!a.search&&A.jsx("button",{className:"search toggle-search-button",onClick:p=>{p.preventDefault(),p.stopPropagation(),c("search",!l.search)},"aria-haspopup":"true","aria-expanded":l.search,"aria-controls":"search-form",children:A.jsx(Dt,{children:e.formatMessage({id:`header_search_${l.search?"hide":"show"}`})})}),A.jsx(_R,{id:"global-search",handleToggle:{searchIsOpen:l.search,isDesktopVersion:a.search},gtmContext:"search-bar-header",gtmEvent:"form-submission"}),n?A.jsxs("button",{className:"account-button",onClick:p=>He.events.onClick(p,{id:"account",callback:c,isOpen:l.account}),onMouseEnter:()=>He.events.onMouseEnter({id:"account",callback:c}),onMouseLeave:()=>He.events.onBlur({id:"account",callback:c}),"aria-haspopup":"true","aria-expanded":l.account,"aria-controls":"navigation",children:[A.jsx(Dt,{children:e.formatMessage({id:`header_account_${l.account?"hide":"show"}`})}),A.jsx(Em,{name:t&&t.name||"",src:t&&t.image&&t.image.thumbnail||""})]}):A.jsx("ul",{className:"sign-in-buttons",children:hi.buttons.order.map(p=>A.jsx(Ws,{id:`buttons.${p}`},p))})]}),A.jsx("hr",{id:"content-of-page"}),A.jsx("div",{className:Te("overlay",{open:l.navigation||l.account||!a.search&&l.search})})]})},Om=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(Yz,{...t})}),Kz=Q.createContext(null),up={didCatch:!1,error:null};class Xz extends Q.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=up}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:o,reason:"imperative-api"}),this.setState(up)}}componentDidCatch(t,r){var n,a;(n=(a=this.props).onError)===null||n===void 0||n.call(a,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:a}=this.props;if(n&&r.error!==null&&Qz(t.resetKeys,a)){var o,s;(o=(s=this.props).onReset)===null||o===void 0||o.call(s,{next:a,prev:t.resetKeys,reason:"keys"}),this.setState(up)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:a}=this.props,{didCatch:o,error:s}=this.state;let i=t;if(o){const l={error:s,resetErrorBoundary:this.resetErrorBoundary};if(Q.isValidElement(a))i=a;else if(typeof r=="function")i=r(l);else if(n)i=Q.createElement(n,l);else throw s}return Q.createElement(Kz.Provider,{value:{didCatch:o,error:s,resetErrorBoundary:this.resetErrorBoundary}},i)}}function Qz(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}const Jz=({locale:e})=>{const t=Ze();return A.jsxs(A.Fragment,{children:[A.jsx(Om,{locale:e}),A.jsx("div",{className:"content",children:A.jsx(sR,{variant:"error",text:t.formatMessage({id:"pageLayout_error"})})}),A.jsx(Tm,{locale:e})]})},Zz=({locale:e="en",...t})=>A.jsx(ot,{locale:e,children:A.jsx(Jz,{locale:e,...t})}),e5=({children:e,reportError:t,showFooter:r=!0,background:n="default",className:a="",locale:o="en"})=>{const s=CN(e,{locale:o});return A.jsx(Xz,{onError:t,fallback:A.jsx(Zz,{locale:o}),children:A.jsx(Q.Suspense,{fallback:A.jsx(pR,{layout:"overview-page"}),children:A.jsx("div",{id:"wrapper",className:Te(a,{[n]:n!=="default"}),children:A.jsxs(eC,{children:[A.jsx(Om,{locale:o}),A.jsx("div",{className:"content",children:s}),r&&A.jsx(Tm,{locale:o}),A.jsx(wR,{})]})})})})};exports.ASSETS_BUCKET=Us;exports.Alert=gh;exports.BannerSection=CW;exports.Button=Qt;exports.ButtonWrapper=Hc;exports.CollapsibleSection=vm;exports.ConversationContext=ym;exports.CookieBanner=wR;exports.DiscussionConversation=IW;exports.DiscussionForm=yR;exports.DiscussionLikes=vR;exports.DiscussionPost=OV;exports.DownloadSection=DV;exports.EmailHelperTextBox=AV;exports.EmptyStateBox=sR;exports.Filters=UV;exports.Footer=Tm;exports.Header=Om;exports.HelperTextBox=uR;exports.HiddenFromScreenReaders=Sh;exports.HideShowTextBox=Z8;exports.HighlightedTextBox=un;exports.Link=qS;exports.LoadMore=GV;exports.LoadingBlock=hV;exports.LoadingPlaceholder=wa;exports.LoadingState=pR;exports.Logo=wm;exports.Logos=qV;exports.MarkdownText=cR;exports.MarketingBox=xW;exports.Member=_m;exports.NUMBER_OF_USERS=OW;exports.PageLayout=e5;exports.PasswordRules=$V;exports.Pill=uV;exports.ProfilePicture=Em;exports.ProgressBar=fR;exports.Rating=LV;exports.ResponsiveImage=FS;exports.SearchForm=_R;exports.Tags=YV;exports.UserContext=Si;exports.UserProvider=PW;exports.VisuallyHidden=Dt;exports.headerData=hi;exports.useEffectAfterMount=ys;exports.useFeatureFlag=KA;exports.useScreenWidth=Qs;exports.useScrollListener=F0;